/* Dealbirdie artwork and copy slots in the archived homepage. */
header .logo-svg img,
.footer-svg-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.navbar-logo {
  width: 10em;
}

.dealbirdie-hero-copy {
  z-index: 2;
  position: relative;
  max-width: 43ch;
  margin: 1em 1em 0;
  color: var(--brand-black);
  font-family: var(--font-secondary);
  font-size: 1.2em;
  line-height: 1.22;
  text-align: center;
  text-wrap: balance;
}

.hero-video-bg.dealbirdie-hero-art {
  display: grid;
  align-items: end;
  justify-items: center;
  overflow: visible;
}

.dealbirdie-hero-art img {
  display: block;
  width: min(96%, 96em);
  height: 100%;
  max-height: inherit;
  object-fit: contain;
  object-position: center bottom;
  animation: dealbirdie-crew-sway 3.6s ease-in-out infinite;
}

@keyframes dealbirdie-crew-sway {
  0%, 100% { transform: translateY(0) rotate(-.25deg); }
  50% { transform: translateY(-.42em) rotate(.25deg); }
}

.service-svg svg {
  display: block;
  width: 100%;
  height: auto;
}

.cat-svg img {
  width: 100%;
  max-height: 45svh;
  object-fit: contain;
}

.faq-logo-svg img {
  width: 70%;
}

.question-block[role="button"]:focus-visible,
.project-card:focus-visible,
.dbd-close:focus-visible {
  outline: 2px solid var(--brand-black);
  outline-offset: 4px;
}

.footer-svg-logo {
  width: 100%;
}
.footer-svg-logo img {
  aspect-ratio: 3058 / 639;
}

/* Sample campaign popup ("the verdict"). The dialog is a full-screen layer;
   .dbd-scrim is the animated backdrop and .dbd-card the panel. */
#dealbirdie-campaign.dbd {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: clamp(1rem, 3vw, 2.5rem);
  box-sizing: border-box;
  border: 0;
  background: transparent;
  overflow: auto;
  overscroll-behavior: contain;
  color: var(--brand-black);
  font-family: var(--font-secondary);
}
#dealbirdie-campaign.dbd[open] { display: grid; place-items: center; }
#dealbirdie-campaign.dbd::backdrop { background: transparent; }
.dbd-scrim {
  position: fixed;
  inset: 0;
  background: #17120fb3;
}
.dbd-card {
  position: relative;
  width: min(100%, 62rem);
  display: grid;
  grid-template-columns: minmax(0, 23.5rem) minmax(0, 1fr);
  background: var(--brand-white);
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: 0 .9rem 0 #a4331b2b, 0 1.5rem 4rem #17120f40;
  will-change: transform;
}
.dbd-media {
  position: relative;
  margin: 0;
  min-height: 100%;
  background: var(--brand-black);
  overflow: hidden;
}
.dbd-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dbd-media::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, #17120fcc);
  pointer-events: none;
}
.dbd-caption {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .6rem;
  color: var(--brand-white);
}
.dbd-tag {
  background: #fdf8f5eb;
  color: var(--brand-black);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .4em .75em;
  border-radius: 10rem;
}
.dbd-name {
  margin: 0;
  font-family: var(--font-primary-dark);
  font-weight: 400;
  font-size: clamp(3rem, 5.2vw, 4.75rem);
  line-height: .86;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.dbd-cat { margin: 0; font-size: 1rem; }

.dbd-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
  padding: 2.4rem 2.6rem 2.2rem;
}
.dbd-kicker {
  margin: 0;
  padding-right: 3rem;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #85402e;
}
.dbd-fee-row { display: flex; align-items: flex-end; flex-wrap: wrap; gap: .6rem 1.3rem; }
.dbd-fee {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(4.2rem, 7.6vw, 6.5rem);
  line-height: .8;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
.dbd-fee-side { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; padding-bottom: .3rem; }
.dbd-pill {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  background: var(--brand-primary);
  color: #fff;
  font-weight: 500;
  font-size: .95rem;
  padding: .45em .8em;
  border-radius: 10rem;
  transform: rotate(-3deg);
}
.dbd-for { font-size: .9rem; color: #6b4f45; }

.dbd-track { display: flex; flex-direction: column; gap: .6rem; }
.dbd-rail { position: relative; height: .6rem; margin-top: .45rem; border-radius: 10rem; background: #efe1da; }
.dbd-band {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--floor);
  width: calc(var(--fee) - var(--floor));
  background: #f7b996;
  border-radius: 10rem;
  transform-origin: left center;
}
.dbd-floor {
  position: absolute;
  left: var(--floor);
  top: -.4rem;
  width: 2px;
  height: 1.4rem;
  margin-left: -1px;
  background: var(--brand-black);
  transform-origin: center bottom;
}
.dbd-dot {
  position: absolute;
  left: var(--fee);
  top: 50%;
  width: 1.5rem;
  height: 1.5rem;
  margin: -.75rem 0 0 -.75rem;
  border-radius: 50%;
  background: var(--brand-primary);
  border: 3px solid var(--brand-white);
  box-sizing: border-box;
  box-shadow: 0 0 0 1px var(--brand-black);
}
.dbd-scale { position: relative; height: 1.1rem; font-size: .8rem; color: #6b4f45; }
.dbd-min { position: absolute; left: 0; }
.dbd-max { position: absolute; right: 0; }
.dbd-floor-label {
  position: absolute;
  left: var(--floor);
  transform: translateX(-50%);
  white-space: nowrap;
  color: var(--brand-black);
  font-weight: 500;
}
.dbd-range { margin: .1rem 0 0; font-size: .85rem; color: #6b4f45; }

.about-pill .hero-pill-text { color: #fff; -webkit-text-stroke-color: currentColor; }

.dbd-quote {
  margin: 0;
  border: 0;
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  background: var(--brand-accent);
  border-radius: 1.1rem;
  padding: 1.05rem 1.2rem;
}
.dbd-quote-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  padding-top: .35rem;
  box-sizing: border-box;
}
.dbd-fit { margin: 0; font-size: 1.05rem; line-height: 1.4; }

.dbd-terms { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.dbd-terms > div { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.dbd-terms dt { font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: #6b4f45; }
.dbd-terms dd { margin: 0; font-size: .95rem; font-weight: 500; line-height: 1.25; }

.dbd-foot { margin-top: auto; padding-top: .3rem; }
.dbd-cta {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  min-height: 3.5rem;
  padding: .45rem .45rem .45rem 1.5rem;
  box-sizing: border-box;
  border-radius: 10rem;
  background: var(--brand-black);
  color: var(--brand-white);
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
}
.dbd-cta-arrow {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--brand-primary);
  color: var(--brand-black);
  transition: transform .3s cubic-bezier(.22,.7,.29,1);
}
.dbd-cta:hover .dbd-cta-arrow, .dbd-cta:focus-visible .dbd-cta-arrow { transform: rotate(45deg) scale(1.06); }

.dbd-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: #f3e7e1;
  color: var(--brand-black);
  cursor: pointer;
  transition: transform .3s cubic-bezier(.22,.7,.29,1), background .2s;
}
.dbd-close:hover { transform: rotate(90deg); background: var(--brand-accent); }
.dbd :is(a, button):focus-visible { outline: 2px solid var(--brand-black); outline-offset: 3px; }

@media (max-width: 860px) {
  .dbd-terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dbd-card { grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); }
  .dbd-body { padding: 2rem; }
}
/* Phones: a bottom sheet with the photo on top. */
@media (max-width: 640px) {
  #dealbirdie-campaign.dbd { padding: 0; overflow: hidden; }
  #dealbirdie-campaign.dbd[open] { place-items: end stretch; }
  .dbd-card {
    width: 100%;
    max-height: 92svh;
    grid-template-columns: minmax(0, 1fr);
    border-radius: 1.6rem 1.6rem 0 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 -1rem 3rem #17120f40;
  }
  .dbd-media { min-height: 0; height: 13.5rem; flex: none; }
  .dbd-caption { left: 1.25rem; right: 1.25rem; bottom: 1.1rem; }
  .dbd-name { font-size: 3.1rem; }
  .dbd-body { padding: 1.4rem 1.25rem 1.5rem; gap: 1.2rem; }
  .dbd-kicker { padding-right: 0; }
  .dbd-fee { font-size: 4.2rem; }
  .dbd-fit { font-size: .98rem; }
  .dbd-cta { width: 100%; justify-content: space-between; }
  .dbd-foot {
    position: sticky;
    bottom: 0;
    z-index: 1;
    margin: 0 -1.25rem -1.5rem;
    padding: 1.4rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
    background: linear-gradient(#fdf8f500, var(--brand-white) 38%);
  }
  .dbd-close { background: #fdf8f5eb; }
}
@media (prefers-reduced-motion: reduce) {
  .dbd-cta-arrow, .dbd-close { transition: none; }
}

@media (max-width: 767px) {
  .navbar-logo { width: 7.6em; }
  .dealbirdie-hero-copy { font-size: 1.04em; max-width: 29ch; }
  .hero-text:has(+ .dealbirdie-hero-copy) { margin-bottom: .85em; }
  .hero-video-bg.dealbirdie-hero-art {
    min-height: 0;
    max-height: none;
    height: auto;
    margin-top: 1.25em;
    transform: none;
  }
  .dealbirdie-hero-art img { height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .dealbirdie-hero-art img { animation: none; }
}

.dealbirdie-mobile-cta {
  display: none;
}
@media (max-width: 767px) {
  .dealbirdie-mobile-cta {
    z-index: 2;
    display: inline-flex;
    gap: .45em;
    margin-block: .9em .2em;
  }
  .dealbirdie-mobile-cta .cta-btn-arrow svg {
    display: block;
    width: .95em;
    height: .95em;
  }
  .dealbirdie-mobile-cta .cta-btn-arrow {
    width: 2.1em;
    height: 2.1em;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--brand-primary);
    color: var(--brand-white);
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .footer-top-right {
    max-width: 49%;
  }
  .footer-top-right-top,
  .footer-top-right-btm {
    gap: 1.75em;
    flex-wrap: wrap;
  }
}

/* Illustrated workflow stickers. Each scene has a distinct moving detail. */
.service-svg .dealbirdie-step-art {
  --icon-ink: #241611;
  --icon-peach: #ffb997;
  --icon-cream: #fff3e7;
  --icon-orange: #ff641e;
  aspect-ratio: 1;
  stroke: var(--icon-ink);
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-svg { position: relative; z-index: 1; }
.service-block-para-wrapper { z-index: 2; }
.db-icon-shadow { fill: #fbd0b8; stroke: none; }
.db-icon-paper { fill: var(--icon-cream); }
.db-icon-light { fill: var(--icon-peach); }
.db-icon-orange { fill: var(--icon-orange); }
.db-icon-ink, .db-icon-dot { fill: var(--icon-ink); }
.db-icon-detail, .db-icon-signature { fill: none; stroke-width: 2.1; }
.db-icon-check { fill: none; stroke: var(--icon-cream); stroke-width: 3.2; }
.db-icon-spark { fill: none; stroke: var(--icon-ink); stroke-width: 2.3; }
.db-icon-lens, .db-icon-coin, .db-icon-stamp, .db-icon-pencil, .db-icon-reply,
.db-icon-seal, .db-icon-gleam, .db-icon-rock, .db-icon-dot {
  transform-box: fill-box;
  transform-origin: center;
}
.db-icon-lens { animation: db-scout 2.7s cubic-bezier(.45,.01,.3,1) infinite; }
.db-icon-coin { animation: db-coin 2.75s cubic-bezier(.28,.74,.31,1) infinite; }
.db-icon-rock { animation: db-rock 2.75s ease-in-out infinite; }
.db-icon-gleam { animation: db-gleam 2.75s ease-in-out infinite; }
.db-icon-stamp { animation: db-stamp 2.75s ease-in-out infinite; }
.db-icon-letter { animation: db-letter 2.8s ease-in-out infinite; }
.db-icon-pencil { animation: db-pencil 2.8s ease-in-out infinite; }
.db-icon-reply { animation: db-reply 2.6s ease-in-out infinite; }
.db-icon-dot { animation: db-dot 1.3s ease-in-out infinite; }
.db-icon-dot:nth-of-type(2) { animation-delay: .13s; }
.db-icon-dot:nth-of-type(3) { animation-delay: .26s; }
.db-icon-signature { animation: db-sign 3.1s ease-in-out infinite; stroke-dasharray: 1; }
.db-icon-seal { animation: db-stamp 3.1s ease-in-out infinite; }
.db-icon-receipt { animation: db-receipt 2.75s ease-in-out infinite; }

.dealbirdie-step-art:not(.is-playing) * { animation-play-state: paused; }

@keyframes db-scout {
  0%, 100% { transform: translate(-3px, 2px) rotate(3deg); }
  35% { transform: translate(4px, -10px) rotate(-8deg); }
  68% { transform: translate(-11px, -5px) rotate(-11deg); }
}
@keyframes db-coin {
  0%, 20%, 100% { transform: translate(-7px, -5px) rotate(-13deg); }
  36% { transform: translate(-4px, -22px) rotate(11deg) scaleX(.72); }
  56% { transform: translate(5px, -2px) rotate(9deg); }
  66% { transform: translate(4px, -5px) rotate(4deg); }
  77%, 88% { transform: translate(4px, -2px) rotate(4deg); }
}
@keyframes db-rock {
  0%, 50%, 71%, 100% { transform: rotate(0); }
  57% { transform: rotate(-3deg); }
  64% { transform: rotate(1deg); }
}
@keyframes db-gleam {
  0%, 26%, 70%, 100% { opacity: .3; transform: scale(.62); }
  43%, 53% { opacity: 1; transform: scale(1.12); }
}
@keyframes db-stamp {
  0%, 100% { transform: translate(0, -5px) rotate(11deg) scale(.9); }
  23% { transform: translate(-3px, -14px) rotate(-10deg) scale(.86); }
  42% { transform: translate(-1px, 3px) rotate(-2deg) scale(1.1,.88); }
  53%, 84% { transform: translate(0, 0) rotate(0) scale(1); }
}
@keyframes db-letter {
  0%, 100% { transform: translateY(4px); }
  30%, 66% { transform: translateY(-12px); }
}
@keyframes db-pencil {
  0%, 100% { transform: translate(1px, 6px) rotate(-5deg); }
  36% { transform: translate(-15px, -2px) rotate(9deg); }
  64% { transform: translate(-5px, -3px) rotate(0); }
}
@keyframes db-reply {
  0%, 100% { transform: translate(0, 2px) rotate(-3deg); }
  43%, 71% { transform: translate(3px,-4px) rotate(2deg); }
}
@keyframes db-dot {
  0%, 100% { transform: translateY(1px); opacity: .73; }
  38% { transform: translateY(-3px); opacity: 1; }
}
@keyframes db-sign {
  0%, 15% { stroke-dashoffset: 1; }
  55%, 86% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -1; }
}
@keyframes db-receipt {
  0%, 100% { transform: translateY(3px); }
  35%, 64% { transform: translateY(-14px); }
}

/* The card stack uses the archived deck physics and visible controls. */
#example .testimonial-card {
  min-height: 22.5em;
  justify-content: flex-start;
  align-items: stretch;
  gap: 1.5em;
  border-color: #ff8247;
  box-shadow: 0 .6em 1.7em #721f0e12;
}
.dealbirdie-story-stage {
  display: flex;
  gap: .5em;
  align-items: center;
  color: #9b350d;
  font: 600 .93em/1 var(--font-secondary);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.dealbirdie-story-stage span {
  border: 1px solid #eeaa8d;
  border-radius: 50%;
  width: 2em;
  height: 2em;
  display: inline-grid;
  place-items: center;
}
#example .testimonial-heading {
  font-size: 3.55em;
  line-height: .95;
  margin-bottom: .15em;
}
#example .testimonial-card-btm { gap: 2.2em; align-items: center; }
#example .testimonial-card-pfp { flex: none; width: 10em; }
#example .testimonial-pfp-designation { color: #9b350d; line-height: 1.2; }
#example .testimonial-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
#example .testimonial-card-para {
  max-width: none;
  color: #552b1d;
  font-size: 1.65em;
  line-height: 1.26;
}
.dealbirdie-story-nav {
  position: absolute;
  left: 50%;
  bottom: 1.15em;
  z-index: 20;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .25rem;
  border-radius: 100vw;
  background: var(--brand-white);
  color: var(--brand-black);
}
.dealbirdie-story-nav button {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: #f8ded1;
  color: var(--brand-black);
  font-size: 1.2rem;
  cursor: pointer;
}
.dealbirdie-story-nav button:hover { background: var(--brand-black); color: var(--brand-white); }
.dealbirdie-story-count { min-width: 3rem; text-align: center; font: 600 .82rem/1 var(--font-secondary); }

/* Full-viewport invitation with its own signed-off artwork and wayfinding. */
#dealbirdie-early-access.is-active {
  align-items: flex-start;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  padding: 0;
  isolation: isolate;
}
#dealbirdie-early-access .contact-transition { position: fixed; }
#dealbirdie-early-access .contact-navbar {
  padding: clamp(.8rem, 2.1vw, 2rem) clamp(1rem, 3.15vw, 3.65rem);
  position: absolute;
}
#dealbirdie-early-access .navbar-logo-contact { width: clamp(7rem, 11vw, 11rem); }
#dealbirdie-early-access .navbar-logo-contact img { display: block; width: 100%; height: auto; }
#dealbirdie-early-access .close-btn {
  border: 0;
  background: var(--brand-white);
  color: var(--brand-black);
  cursor: pointer;
}

#dealbirdie-early-access .contact-content {
  box-sizing: border-box;
  width: min(100%, 100rem);
  min-height: 100svh;
  padding: clamp(6rem, 15vh, 10rem) clamp(1.2rem, 8.5vw, 9rem) clamp(11rem, 27vh, 22rem);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .77fr);
  align-content: center;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 8rem);
}
#dealbirdie-early-access .contact-left,
#dealbirdie-early-access .contact-right {
  position: relative;
  z-index: 2;
  width: auto;
  min-width: 0;
  align-items: flex-start;
}
#dealbirdie-early-access .contact-heading {
  font-size: clamp(4rem, min(10.5vw, 17vh), 10.75rem);
  line-height: .82;
  letter-spacing: -.015em;
  color: var(--brand-white);
}
#dealbirdie-early-access .contact-heading > span { display: block; white-space: nowrap; }
#dealbirdie-early-access .contact-heading > span + span { margin-inline-start: .13em; }
#dealbirdie-early-access .contact-para {
  font-family: var(--font-secondary);
  font-weight: 500;
  color: var(--brand-white);
  line-height: 1.25;
}
#dealbirdie-early-access .dealbirdie-contact-kicker {
  margin-bottom: 1.45em;
  text-transform: uppercase;
  font-size: clamp(.86rem, 1.25vw, 1.2rem);
  letter-spacing: .065em;
}
#dealbirdie-early-access .dealbirdie-contact-note {
  margin-top: 1.35rem;
  font-size: clamp(1.1rem, 1.8vw, 1.85rem);
}
@media (min-width: 768px) {
  #dealbirdie-early-access .dealbirdie-contact-note {
    max-inline-size: 38ch;
    text-wrap: balance;
  }
}
.dealbirdie-invite-card {
  width: min(100%, 27.5rem);
  border-radius: 1.35rem;
  border: 1px solid #fff7f4;
  background: var(--brand-white);
  color: var(--brand-black);
  padding: clamp(1.2rem, 3.6vw, 2.75rem);
  font-family: var(--font-secondary);
  box-shadow: 0 .8em 0 #a4331b2b;
}
.dealbirdie-invite-card .contact-email-wrap { align-items: stretch; gap: 1.1rem; }
.dealbirdie-invite-card .contact-email-wrap p {
  margin: 0;
  font-size: clamp(1.18rem, 2.2vw, 1.9rem);
  line-height: 1.13;
  letter-spacing: -.025em;
}
.dealbirdie-invite-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .7em;
  min-height: 3rem;
  padding: .32em .42em .32em .95em;
  border-radius: 10rem;
  background: var(--brand-black);
  color: var(--brand-white);
  font-size: clamp(1rem, 1.55vw, 1.3rem);
  text-decoration: none;
}
.dealbirdie-invite-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  background: #ff6a2c;
  color: var(--brand-black);
  transition: transform .24s cubic-bezier(.22,.7,.29,1);
}
.dealbirdie-invite-cta:hover .dealbirdie-invite-arrow { transform: rotate(15deg); }
.dealbirdie-invite-email {
  display: inline-block;
  font-size: .91rem;
  margin-top: 1.05rem;
  color: #85402e;
  text-underline-offset: .19em;
}
#dealbirdie-early-access :is(button, a):focus-visible,
.dealbirdie-story-nav button:focus-visible {
  outline: 2px solid #211510;
  outline-offset: 4px;
}
.dealbirdie-contact-scene {
  position: absolute;
  z-index: 1;
  right: clamp(3%, 11vw, 11rem);
  bottom: clamp(.3rem, 1.3vh, 1rem);
  width: clamp(16rem, 36vw, 32rem);
  aspect-ratio: 1.56;
  pointer-events: none;
}
.dealbirdie-mailer {
  position: absolute;
  width: 76%;
  left: 0;
  bottom: 6%;
  transform: rotate(-8deg);
}
.dealbirdie-contact-bird {
  position: absolute;
  inset: auto 0 0 auto;
  width: 74%;
  height: auto;
  transform: rotate(2deg);
}

@media (max-width: 767px) {
  #example .testimonial-item { width: min(81vw, 31rem); min-width: 0; max-width: none; font-size: .7rem; }
  #example .testimonial-card { min-height: 23em; padding: 1.55em; gap: .9em; }
  #example .testimonial-heading { font-size: 2.56em; }
  #example .testimonial-card-btm { align-items: stretch; flex-direction: column-reverse; gap: 1.05em; }
  #example .testimonial-card-pfp { width: 100%; gap: .75em; }
  #example .testimonial-img-wrap { width: 3.3em; height: 3.3em; flex: none; }
  #example .testimonial-pfp-name { font-size: 1.22em; }
  #example .testimonial-card-para { font-size: 1.24em; }
  #example .section-testimonials-body { height: min(32rem, 83svh); min-height: 24rem; }
  .dealbirdie-story-nav { bottom: .7em; }
  #dealbirdie-early-access .contact-content {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 36rem);
    align-content: start;
    gap: 1.5rem;
    padding: 5.2rem clamp(1.2rem, 7vw, 3rem) 1.25rem;
  }
  #dealbirdie-early-access .contact-heading { font-size: clamp(3.55rem, 15vw, 6rem); }
  #dealbirdie-early-access .dealbirdie-contact-kicker { margin-bottom: 1em; }
  #dealbirdie-early-access .dealbirdie-contact-note { margin-top: .85rem; }
  .dealbirdie-contact-scene {
    position: relative;
    right: auto;
    bottom: auto;
    justify-self: end;
    width: min(78vw, 18rem);
    margin-top: -.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dealbirdie-step-art *, .dealbirdie-invite-arrow { animation: none; transition: none; }
}

.dbd-word { display: inline-block; white-space: nowrap; }

/* "Your normal posts. Paid." strip: two rows of pin-style cards drifting in
   opposite directions, each with a PAID chip, a tilted fee sticker and a doodle. */
.dbp {
  position: relative;
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(5.5rem, 11vw, 10rem);
  overflow: hidden;
  background: transparent;
  color: var(--brand-black);
  font-family: var(--font-secondary);
}
.dbp-head {
  width: min(100% - 2.5rem, 46rem);
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.dbp-kicker {
  margin: 0;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #85402e;
}
.dbp-title {
  margin: 0;
  font-family: var(--font-primary-dark);
  font-weight: 400;
  font-size: clamp(3.4rem, 9vw, 8rem);
  line-height: .84;
  text-transform: uppercase;
}
.dbp-title span {
  display: inline-block;
  color: var(--brand-primary);
  transform: rotate(-3deg);
}
.dbp-sub { margin: 0; max-width: 30ch; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.3; text-wrap: balance; }

.dbp-row {
  display: flex;
  width: max-content;
  padding: 1.4rem 0;
}
.dbp-row + .dbp-row { margin-top: -.4rem; }
.dbp-track {
  display: flex;
  gap: clamp(2rem, 3.2vw, 2.75rem);
  margin: 0;
  padding: 0 clamp(1rem, 1.6vw, 1.375rem);
  list-style: none;
  animation: dbp-scroll 55s linear infinite;
  animation-play-state: paused;
}
.dbp.is-playing .dbp-track { animation-play-state: running; }
.dbp-right .dbp-track { animation-direction: reverse; animation-duration: 62s; }
.dbp-row:hover .dbp-track { animation-play-state: paused; }
@keyframes dbp-scroll { to { transform: translateX(-100%); } }

.dbp-card {
  position: relative;
  flex: none;
  width: clamp(13rem, 19vw, 17rem);
  box-sizing: border-box;
  padding: .7rem .7rem 1.1rem;
  border-radius: 1.4rem;
  background: #f6ddd5;
  border: 2px solid var(--brand-black);
  box-shadow: 0 .45rem 0 var(--brand-black);
  transform: rotate(var(--tilt));
  transition: transform .45s cubic-bezier(.22,.7,.29,1.4);
}
.dbp-card:hover { transform: rotate(0deg) translateY(-.4rem) scale(1.03); }
.dbp-right .dbp-card { width: clamp(11.5rem, 16vw, 14.5rem); }
.dbp-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 1rem;
  overflow: hidden;
  border: 2px solid var(--brand-black);
  background: var(--brand-accent);
}
.dbp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dbp-chip {
  position: absolute;
  top: .6rem;
  left: .6rem;
  display: inline-flex;
  align-items: center;
  gap: .35em;
  padding: .3em .65em;
  border-radius: 10rem;
  background: var(--brand-black);
  color: var(--brand-white);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.dbp-chip i { width: .45em; height: .45em; border-radius: 50%; background: #3ddc84; animation: dbp-blink 1.6s ease-in-out infinite; }
@keyframes dbp-blink { 50% { opacity: .35; } }
.dbp-niche {
  margin: .75rem .2rem 0;
  font-size: .9rem;
  font-weight: 500;
  color: var(--brand-black);
}
.dbp-sticker {
  position: absolute;
  right: -.9rem;
  bottom: 2.3rem;
  z-index: 2;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: .5rem .8rem .55rem;
  border-radius: .9rem;
  background: var(--brand-white);
  border: 2px solid var(--brand-black);
  box-shadow: .25rem .3rem 0 var(--brand-black);
  transform: rotate(-6deg) scale(0);
  transform-origin: 70% 70%;
  transition: transform .6s cubic-bezier(.3,1.7,.5,1);
  transition-delay: calc(var(--i) * 70ms + 150ms);
}
.dbp-sticker b { font-family: var(--font-primary); font-weight: 700; font-size: 1.9rem; line-height: .9; }
.dbp-sticker span { font-size: .75rem; color: #6b4f45; white-space: nowrap; }
.dbp.is-in .dbp-sticker { transform: rotate(-6deg) scale(1); }
.dbp-card:nth-child(even) .dbp-sticker { right: auto; left: -.9rem; }
.dbp.is-in .dbp-card:nth-child(even) .dbp-sticker { transform: rotate(5deg) scale(1); }
.dbp-card:nth-child(even) .dbp-sticker { transform: rotate(5deg) scale(0); }

.dbp-doodle { position: absolute; z-index: 3; width: 3.4rem; pointer-events: none; animation: dbp-bob 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.45s); }
.dbp-doodle svg { display: block; width: 100%; height: auto; }
.dbp-doodle-tr { top: -1.2rem; right: -1rem; }
.dbp-doodle-tl { top: -1.2rem; left: -1rem; }
.dbp-squiggle { width: 4.6rem; }
@keyframes dbp-bob { 50% { transform: translateY(-.35rem) rotate(8deg); } }

@media (max-width: 767px) {
  .dbp-card { width: 11.5rem; }
  .dbp-right .dbp-card { width: 10.5rem; }
  .dbp-sticker b { font-size: 1.55rem; }
  .dbp-doodle { width: 2.7rem; }
  .dbp-squiggle { width: 3.6rem; }
  .dbp-track { animation-duration: 40s; }
  .dbp-right .dbp-track { animation-duration: 46s; }
}
@media (prefers-reduced-motion: reduce) {
  .dbp-track, .dbp-doodle, .dbp-chip i { animation: none; }
  .dbp-row { width: auto; overflow-x: auto; }
  .dbp-track[aria-hidden="true"] { display: none; }
  .dbp-sticker, .dbp-card:nth-child(even) .dbp-sticker { transition: none; }
}
.dbp-right .dbp-track { animation-delay: -21s; }

/* Performance: the template pins will-change on hundreds of split letters, which
   keeps a GPU layer per letter alive forever. GSAP sets it while a tween runs. */
.about-char, .footer-link-char, .contact-heading-char, .hero-pill-text, .hero-pill-text-mask, .hero-line { will-change: auto !important; }

/* Header tag: two lines with a drawn heart. */
.navbar-timing { max-width: none; white-space: nowrap; line-height: 1.25; }
.navbar-heart {
  display: inline-block;
  width: 1.05em;
  height: auto;
  margin-left: .1em;
  vertical-align: -.15em;
  transform-origin: 50% 60%;
  animation: navbar-heartbeat 2.4s ease-in-out infinite;
}
@keyframes navbar-heartbeat { 0%, 60%, 100% { transform: scale(1); } 70% { transform: scale(1.18); } 80% { transform: scale(.96); } 90% { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .navbar-heart { animation: none; } }

/* Footer bar: tagline and "Early-access preview" share one baseline. */
.footer-top-right-btm { align-items: baseline; gap: 1.5em; }
.footer-tagline {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: 1.125em;
  font-weight: 500;
  line-height: 140%;
  color: var(--brand-white);
  max-width: 17em;
  text-wrap: balance;
}

/* Hero headline: two deliberate lines on desktop, natural wrap on phones. */
.section-hero .hero-text:has(.dealbirdie-hero-h1) { width: min(94vw, 76rem); max-width: none; margin-top: clamp(1.5rem, 5vh, 3.5rem); }
.dealbirdie-hero-h1 { font-size: min(7.2em, 7vw); line-height: .84; text-wrap: balance; }
.section-hero .hero-text:has(.dealbirdie-hero-h1) .hero-pill.two { top: -6%; right: 16%; left: auto; }
.section-hero .hero-text:has(.dealbirdie-hero-h1) .hero-pill.one { top: 44%; left: 0; }
.section-hero .hero-text:has(.dealbirdie-hero-h1) .hero-pill.three { bottom: -20%; right: 6%; }
@media (max-width: 767px) {
  .dealbirdie-hero-br { display: none; }
  .dealbirdie-hero-h1 { font-size: 13.5vw; line-height: .86; }
  .section-hero .hero-text:has(.dealbirdie-hero-h1) { width: 100%; margin-top: 0; }
  .section-hero .hero-text:has(.dealbirdie-hero-h1) .hero-pill.two { top: 14%; right: 4%; }
  .section-hero .hero-text:has(.dealbirdie-hero-h1) .hero-pill.one { top: 50%; left: 2%; }
  .section-hero .hero-text:has(.dealbirdie-hero-h1) .hero-pill.three { bottom: -12%; right: 4%; }
}

/* Phones: calmer heading scale. */
@media (max-width: 767px) {
  .dealbirdie-hero-h1 { font-size: 13vw; width: 100%; overflow-wrap: normal; }
  .section-hero .hero-text:has(.dealbirdie-hero-h1) { padding: 2.4rem 0 2.6rem; margin-bottom: .2rem; }
  .section-hero .hero-text:has(.dealbirdie-hero-h1) .hero-pill.two { top: 0; bottom: auto; right: 8%; left: auto; }
  .section-hero .hero-text:has(.dealbirdie-hero-h1) .hero-pill.one { top: auto; bottom: .2rem; left: 4%; right: auto; }
  .section-hero .hero-text:has(.dealbirdie-hero-h1) .hero-pill.three { top: auto; bottom: .1rem; right: 4%; left: auto; }
  .section-heading, .section-heading.left-align, .section-heading.right-align { font-size: 2.35rem; line-height: .9; }
  .dbp-title { font-size: 2.6rem; }
  .about-para { font-size: 1.85rem; line-height: 1.08; }
  .footer-heading { font-size: 2.1rem; }
  #dealbirdie-early-access .contact-heading { font-size: clamp(2.9rem, 13vw, 4.2rem); }
}

/* Phones: sample campaigns as a two-column grid of compact cards. */
@media (max-width: 767px) {
  .projects-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem .8rem; }
  .project-item, .project-card { min-width: 0; height: auto; min-height: 0; }
  .project-detail { min-height: 0; }
  .project-card-img-wrapper { aspect-ratio: 4 / 5; height: auto; min-height: 0; border-radius: .9rem; }
  .project-detail { gap: .5rem; padding-top: .6rem; align-items: flex-start; }
  .project-logo { display: none; }
  .project-detail-header { min-width: 0; gap: .15rem; }
  .project-name-text { font-size: 1.15rem; line-height: 1; overflow-wrap: anywhere; }
  .project-detail-text { font-size: .66rem; line-height: 1.25; }
  .projects-arrow { flex: none; transform: scale(.72); transform-origin: top right; }
}

/* Desktop display type follows the approved 2560 × 1300 composition.
   The shorter viewport axis sets the scale. The tablet bridge tapers the
   existing 768px sizes into the fluid layout by 1024px. */
@media (width > 768px) {
  :root {
    --ref-w: 2560;
    --ref-h: 1300;
    --u: min(calc(100vw / var(--ref-w)), calc(100svh / var(--ref-h)), 1.15px);
    --tablet-bridge: clamp(0px, calc((1024px - 100vw) / 256), 1px);
  }

  .section-hero .hero-text:has(.dealbirdie-hero-h1) {
    width: min(94vw, max(calc(1216 * var(--u)), calc(650px + 71.92 * var(--tablet-bridge))));
  }
  .dealbirdie-hero-h1 {
    font-size: max(60px, calc(162 * var(--u)), calc(60px + 26.4 * var(--tablet-bridge)));
    width: calc(933 / 162 * 1em);
    max-width: none;
    margin-inline: auto;
  }
  .dealbirdie-hero-copy {
    font-size: max(16px, calc(25.6 * var(--u)), calc(16px + 1.681 * var(--tablet-bridge)));
    width: min(calc(799 / 25.6 * 1em), calc(426.24px + (100vw - 768px) / 3.5));
    max-width: none;
  }
  .section-hero .hero-text .hero-pill {
    font-size: max(12px, calc(21.3333 * var(--u)), calc(12px + 2.7338 * var(--tablet-bridge)));
  }
  .section-hero .hero-text:has(.dealbirdie-hero-h1) .hero-pill.two {
    top: min(-6%, calc(-36px + 32 * var(--u) + 20 * var(--tablet-bridge)));
  }
  .about-para {
    font-size: max(46px, calc(118 * var(--u)), calc(46px + 16.976 * var(--tablet-bridge)));
    width: min(92vw, calc(1700 / 118 * 1em));
    max-width: none;
    margin-inline: auto;
  }
  .section-about .about-text {
    font-size: max(16px, calc(31 * var(--u)), calc(16px + .512 * var(--tablet-bridge)));
  }
  #sample-campaigns .section-heading {
    width: calc(751 / 149 * 1em);
    max-width: none;
  }
  .projects-end-para {
    font-size: max(42px, calc(114 * var(--u)), calc(42px + 18.826 * var(--tablet-bridge)));
    width: calc(904 / 114 * 1em);
    max-width: none;
    margin-inline: auto;
  }
  #example .testimonial-heading {
    font-size: max(28px, calc(68 * var(--u)), calc(28px + 8.2496 * var(--tablet-bridge)));
    width: min(100%, calc(1001 / 68 * 1em));
  }
  .footer-heading {
    font-size: max(35px, calc(80 * var(--u)), calc(35px + 20.2518 * var(--tablet-bridge)));
    max-width: calc(472 / 80 * 1em);
  }
  .dbp-title {
    font-size: max(48px, calc(128 * var(--u)), calc(48px + 21.12 * var(--tablet-bridge)));
    width: min(100%, max(calc(736 / 128 * 1em), calc(355px + 333 * var(--tablet-bridge))));
  }
  #sample-campaigns .dfy-sub, .dbp-sub {
    font-size: max(1.05rem, calc(20.8 * var(--u)));
  }
  #dealbirdie-early-access .contact-heading {
    font-size: max(58px, calc(172 * var(--u)), calc(58px + 22.64 * var(--tablet-bridge)));
  }
  .dbd-name {
    font-size: max(40px, calc(76 * var(--u)), calc(40px + 8 * var(--tablet-bridge)));
    max-width: calc(328 / 76 * 1em);
  }
  .dbd-fee {
    font-size: max(52px, calc(104 * var(--u)), calc(52px + 15.2 * var(--tablet-bridge)));
  }
}

/* Keep the existing layout at the exact 768px tablet breakpoint. */
@media (width: 768px) {
  .dealbirdie-hero-h1 { font-size: 11.25vw; width: 64.8vw; max-width: none; margin-inline: auto; }
  .dealbirdie-hero-copy { width: 55.5vw; max-width: none; }
  .about-para { font-size: 8.2vw; width: 92vw; max-width: none; margin-inline: auto; }
  .section-about .about-text { font-size: 2.15vw; }
  #sample-campaigns .section-heading { width: 52.2vw; max-width: none; }
  .projects-end-para { font-size: 7.92vw; width: 62.8vw; max-width: none; margin-inline: auto; }
  #example .testimonial-heading { font-size: 4.72vw; }
}

/* Birdie waving hello inside "Meet Dealbirdie" in the hero subhead. */
.db-meet-bird {
  display: inline-block;
  width: 1.8em;
  height: 1.8em;
  margin: 0 .02em 0 .18em;
  vertical-align: -.58em;
  animation: db-meet-hop 4.8s ease-in-out infinite;
}
.db-meet-bird svg { display: block; width: 100%; height: 100%; overflow: visible; }
.db-meet-wing { transform-box: view-box; transform-origin: 28px 47px; animation: db-meet-wave 4.8s ease-in-out infinite; }
.db-meet-bird:hover .db-meet-wing { animation: db-meet-wave-fast .5s ease-in-out infinite; }
@keyframes db-meet-wave {
  0%, 52%, 100% { transform: rotate(0deg); }
  58% { transform: rotate(-22deg); }
  64% { transform: rotate(10deg); }
  70% { transform: rotate(-22deg); }
  76% { transform: rotate(10deg); }
  82% { transform: rotate(0deg); }
}
@keyframes db-meet-wave-fast { 50% { transform: rotate(-24deg); } }
@keyframes db-meet-hop {
  0%, 50%, 86%, 100% { transform: translateY(0) rotate(0); }
  56% { transform: translateY(-.14em) rotate(-4deg); }
  62% { transform: translateY(0) rotate(0); }
}
@media (prefers-reduced-motion: reduce) {
  .db-meet-bird, .db-meet-wing, .db-meet-bird:hover .db-meet-wing { animation: none; }
}

/* Header: centre the wordmark on the page, not between unequal side groups. */
@media (min-width: 992px) {
  .navbar-wrap { position: relative; }
  .navbar-wrap > .navbar-logo { position: absolute; left: 50%; top: 50%; margin: 0; translate: -50% -50%; }
}

/* "Deals that fit your feed." sub line + Ask Birdie button */
.dfy-sub { margin: 1.1rem auto 0; max-width: 32ch; text-align: center; font-family: var(--font-secondary); font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.3; color: var(--brand-black); text-wrap: balance; }

/* Campaign cards: two rows drifting sideways in opposite directions. */
.projects-list.dfy-marquee {
  display: flex !important;
  flex-direction: column;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}
.dfy-row { display: flex; width: max-content; }
.dfy-track {
  display: flex;
  gap: clamp(.9rem, 1.6vw, 1.4rem);
  padding-right: clamp(.9rem, 1.6vw, 1.4rem);
  animation: dfy-scroll 70s linear infinite;
}
.dfy-rev .dfy-track { animation-direction: reverse; animation-duration: 78s; animation-delay: -26s; }
.dfy-row:hover .dfy-track, .dfy-row:focus-within .dfy-track { animation-play-state: paused; }
@keyframes dfy-scroll { to { transform: translateX(-100%); } }
.dfy-marquee .project-item { flex: none; width: clamp(15rem, 21vw, 21rem); min-width: 0; }
.dfy-marquee .project-card { height: auto !important; min-height: 0; }
.dfy-marquee .project-card-img-wrapper { aspect-ratio: 4 / 5; height: auto !important; min-height: 0; }
.dfy-marquee .project-detail { min-height: 0; }
.dfy-marquee .project-name-text { font-size: clamp(1.25rem, 1.9vw, 1.75rem); line-height: 1; }
.dfy-marquee .project-detail-text { font-size: clamp(.68rem, .85vw, .82rem); }
@media (max-width: 767px) {
  .dfy-marquee .project-item { width: 46vw; }
  .dfy-track { animation-duration: 21s; }
  .dfy-rev .dfy-track { animation-duration: 23.6s; }
}
@media (prefers-reduced-motion: reduce) {
  .dfy-track { animation: none; }
  .dfy-row { width: auto; overflow-x: auto; }
  .dfy-track[aria-hidden="true"] { display: none; }
}
#sample-campaigns .section-heading-wrapper:has(.dfy-sub) { flex-direction: column; align-items: center; }

/* Hero: always exactly two lines ("Never pitch a / brand again."). */
.dealbirdie-hero-h1 { white-space: nowrap; }

/* How it works: each description sits centred under its step, plain and level. */
.service-block-para-wrapper {
  display: block !important;
  position: absolute;
  top: calc(100% + 1.1rem);
  bottom: auto;
  left: 0;
  right: 0;
  margin: 0 auto;
  translate: none !important;
  transform: none !important;
  width: fit-content;
  max-width: 21rem;
  z-index: 30;
  padding: .45rem .8rem;
  border: 0;
  border-radius: .8rem;
  background: var(--brand-secondary);
  text-align: center;
}
.service-block-para {
  color: var(--brand-black);
  opacity: .72;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.35;
  text-wrap: balance;
}
@media (max-width: 767px) {
  .service-block-para-wrapper { top: calc(100% + .7rem); max-width: 15.5rem; }
  .service-block-para { font-size: .82rem; }
}

/* Campaigns: breathing room before it, heading + line, cards, then one row of actions. */
#sample-campaigns { padding-top: clamp(9rem, 32vh, 20rem); }
#sample-campaigns .section-heading-wrapper:has(.dfy-sub) { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.dfy-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 1.25rem;
  margin: clamp(2.5rem, 5vw, 4rem) auto clamp(5rem, 10vw, 8rem);
  padding: 0 1rem;
}
.section-projects .dfy-actions .project-btn { opacity: 1 !important; transform: none; }
.dfy-actions .dbq-entry { margin: 0; }
@media (max-width: 767px) {
  #sample-campaigns { padding-top: clamp(6rem, 20vh, 10rem); }
  .dfy-actions { flex-direction: column; }
}
.dfy-actions .project-btn { font-size: 1.15rem; min-height: 3.1rem; }
@media (max-width: 767px) { .dfy-actions .project-btn { font-size: 1rem; } }

/* Performance: the template pins will-change on every card's hover mask. Inside the
   moving rows that is 120 permanent GPU layers; let GSAP add them only while animating. */
.dfy-marquee * { will-change: auto !important; }
/* While a popup is open, pause the page's looping motion so only the popup animates. */
html.db-modal-open .dfy-track,
html.db-modal-open .dbp-track,
html.db-modal-open .db-meet-bird,
html.db-modal-open .db-meet-wing { animation-play-state: paused !important; }

/* How it works: tinted backing so step descriptions read against the page. */
.service-block-para-wrapper { background: color-mix(in srgb, var(--brand-primary) 9%, var(--brand-secondary)) !important; }

/* "Deals that fit your feed." centred so neither line ends in empty space. */
#sample-campaigns .section-heading { text-align: center; text-wrap: balance; }

/* "Sound familiar?" now closes the paragraph instead of labelling it. */
.section-about .about-text { display: none; }

/* Phone polish */
#how-it-works { padding-bottom: clamp(4rem, 8vw, 6rem); }
@media (max-width: 767px) {
  #sample-campaigns .section-heading { max-width: none !important; width: auto !important; }
  .dfy-actions .dbq-entry { font-size: 14px; white-space: nowrap; max-width: 100%; }
}
#example .section-heading { text-align: center; text-wrap: balance; margin-left: auto; margin-right: auto; }
#example .section-heading-wrapper { justify-content: center; }

/* Phone sheet: no blur, a single compositor layer while it slides. */
@media (max-width: 640px) {
  .dbd-card { will-change: transform; contain: layout paint; }
  .dbd-img { transform: none !important; }
}

/* "Your busiest months…" on phones: no pin, no letter scrub. Four short stanzas
   that fade up as they arrive, then the three pills as a row of stickers. */
@media (max-width: 767px) {
  .section-about, .section-about-wrapper, .about-pinned {
    height: auto !important;
    min-height: 0 !important;
    transform: none !important;
    position: relative !important;
  }
  .section-about { padding: 6.5rem 1.5rem 5rem !important; }
  .about-pinned {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100% !important;
  }
  .section-about .about-para {
    margin: 0;
    max-width: 21rem;
    font-size: 2.05rem !important;
    line-height: 1.04;
    text-align: center;
    color: var(--brand-black) !important;
  }
  .about-para .ab-s {
    display: block;
    margin-bottom: .75em;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .7s cubic-bezier(.22,.7,.29,1);
  }
  .about-para .ab-s.is-in { opacity: 1; transform: none; }
  .about-para .ab-q { margin-bottom: 0; }
  .section-about .about-pill {
    position: static !important;
    display: inline-flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    translate: none !important;
    margin: 0 .2rem;
    font-size: .9rem;
  }
  .about-pinned { flex-flow: row wrap; justify-content: center; row-gap: 1.6rem; }
  .about-pinned > .about-para { flex: 0 0 100%; display: flex; flex-direction: column; align-items: center; }
  .section-about .about-pill.first { transform: rotate(-6deg) !important; order: 2; }
  .section-about .about-pill.second { transform: rotate(4deg) !important; order: 3; }
  .section-about .about-pill.third { transform: rotate(-3deg) !important; order: 4; background: var(--brand-primary); }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .about-para .ab-s { opacity: 1; transform: none; transition: none; }
}

/* Deal popup on phones: everything fits on one screen, no scrolling. */
@media (max-width: 640px) {
  .dbd-card { max-height: calc(100svh - 10px); overflow-y: auto; }
  .dbd-media { height: clamp(5.5rem, 15svh, 8rem); }
  .dbd-caption { bottom: .75rem; gap: .35rem; }
  .dbd-tag { font-size: .6rem; }
  .dbd-name { font-size: 2.2rem; }
  .dbd-cat { font-size: .85rem; }
  .dbd-body { padding: .95rem 1.1rem 1rem; gap: .75rem; }
  .dbd-kicker, .dbd-range { display: none; }
  .dbd-fee-row { flex-wrap: nowrap; align-items: center; gap: .75rem; }
  .dbd-fee { font-size: 3rem; }
  .dbd-fee-side { padding-bottom: 0; gap: .25rem; }
  .dbd-pill { font-size: .78rem; }
  .dbd-for { font-size: .76rem; }
  .dbd-track { gap: .4rem; }
  .dbd-rail { margin-top: .3rem; }
  .dbd-scale { font-size: .68rem; }
  .dbd-quote { padding: .7rem .85rem; gap: .6rem; border-radius: .9rem; }
  .dbd-quote-mark { width: 1.6rem; height: 1.6rem; font-size: 1.15rem; }
  .dbd-fit { font-size: .86rem; line-height: 1.32; }
  .dbd-terms { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
  .dbd-terms dt { font-size: .58rem; }
  .dbd-terms dd { font-size: .74rem; }
  .dbd-foot { position: static; margin: 0; padding: 0; background: none; }
  .dbd-cta { min-height: 3rem; font-size: 1rem; }
  .dbd-close { width: 2.4rem; height: 2.4rem; top: .7rem; right: .7rem; }
}

/* Fixed header fades away over the orange footer. */
.header { transition: opacity .3s ease, visibility .3s; }
.header.is-over-footer { opacity: 0; visibility: hidden; pointer-events: none; }
/* Frosted backing once the page scrolls: content never shows through the logo. */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(248, 238, 232, .84);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(23, 18, 15, .07);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.header.is-scrolled::before { opacity: 1; }
.header .navbar-wrap { z-index: 1; }


/* Extra campaign-track copies only fill larger viewports. */
.dfy-marquee .dfy-clone-2, .dfy-marquee .dfy-clone-3 { display: none; }
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .dfy-marquee .dfy-clone-2 { display: flex; }
}
@media (min-width: 2600px) and (prefers-reduced-motion: no-preference) {
  .dfy-marquee .dfy-clone-3 { display: flex; }
}
.dfy-marquee [data-campaign="poppi"] :is(.project-img, .project-img-hover) {
  object-position: center 24%;
}

@media (min-width: 768px) {
  .dealbirdie-invite-heading .footer-heading-line-mask { display: inline-block !important; }
}
@media (max-width: 767px) {
  .dealbirdie-invite-phrase::first-letter { text-transform: uppercase; }
}

/* Phones: tap targets at least 44px tall (buttons and footer links). */
@media (max-width: 767px) {
  .cta-btn { height: max(2.25em, 44px); }
  .footer-link { display: inline-block; padding-block: .6em; }
  .footer-links-block, .footer-links-block.socials { row-gap: 0; justify-content: flex-start; }
}

/* Balance the scroll reveal and each sentence in the mobile presentation. */
.section-about .about-para,
.section-about .ab-s {
  text-wrap: balance;
}

.section-about .ab-q {
  display: block;
  margin-top: .24em;
  color: var(--brand-primary);
  font-size: 1.15em;
  line-height: 1.05;
}

/* Keep each pose attached to the closing phrase at every viewport width. */
.heading-with-birdie-end {
  display: inline-flex;
  align-items: center;
  gap: .12em;
  white-space: nowrap;
}

.heading-birdie {
  width: 1.08em;
  height: auto;
  flex: none;
}

#how-it-works .section-heading,
#example .section-heading,
#faq .section-heading {
  width: auto;
  max-width: 100%;
}

#how-it-works .section-heading {
  text-align: center;
}

#how-it-works .heading-birdie,
#example .heading-birdie,
#faq .heading-birdie {
  width: 1.24em;
}


#sample-campaigns .section-heading,
#how-it-works .section-heading,
#example .section-heading,
#faq .section-heading {
  font-size: clamp(48px, 6.8vw, 104px);
}

/* Keep the two-line headings and their illustrations inside compact phones. */
@media (max-width: 374px) {
  #sample-campaigns .section-heading,
  #how-it-works .section-heading,
  #example .section-heading,
  #faq .section-heading {
    font-size: clamp(40px, 13vw, 48px);
  }
}

/* Phone deal sheet: the slide is a CSS transition (compositor thread), not JavaScript.
   The sheet rests off-screen; JS adds .dbd-in a frame after the dialog opens. */
@media (max-width: 640px) {
  #dealbirdie-campaign.dbd .dbd-card {
    transform: translate3d(0, 105%, 0);
    transition: transform .34s cubic-bezier(.4, 0, .9, .6);
    box-shadow: 0 -4px 14px #17120f26;
    backface-visibility: hidden;
  }
  #dealbirdie-campaign.dbd .dbd-scrim { opacity: 0; transition: opacity .28s ease; }
  #dealbirdie-campaign.dbd.dbd-in .dbd-card {
    transform: translate3d(0, 0, 0);
    transition: transform .46s cubic-bezier(.16, .84, .24, 1);
  }
  #dealbirdie-campaign.dbd.dbd-in .dbd-scrim { opacity: 1; }
  #dealbirdie-campaign.dbd.dbd-in .dbd-pill { animation: dbd-pill-pop .4s cubic-bezier(.3, 1.7, .5, 1) .44s both; }
}
@keyframes dbd-pill-pop {
  from { opacity: 0; transform: rotate(-3deg) scale(.6); }
  to { opacity: 1; transform: rotate(-3deg) scale(1); }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  #dealbirdie-campaign.dbd .dbd-card, #dealbirdie-campaign.dbd .dbd-scrim { transition: none; }
  #dealbirdie-campaign.dbd.dbd-in .dbd-pill { animation: none; }
}

/* Phone sheet: the dialog must never scroll. A sheet parked below the screen still adds
   scrollable area, and the browser scrolls to reveal whatever it auto-focuses, which
   made the sheet flash at the top of the screen before sliding down. */
@media (max-width: 640px) {
  #dealbirdie-campaign.dbd { overflow: hidden; overflow: clip; overscroll-behavior: none; }
}
#dealbirdie-campaign.dbd:focus { outline: none; }

/* Deal popup header on phones: solid black with white text instead of a photo. It is
   taller now (11rem) and shrinks only when the screen is short, so the sheet always
   fits without inner scrolling. Desktop keeps the photo. */
@media (max-width: 640px) {
  .dbd-card { display: flex; flex-direction: column; }
  .dbd-media { flex: 0 1 11rem; height: auto; min-height: 7rem; background: var(--brand-black); }
  .dbd-body { flex: 0 0 auto; }
  .dbd-img, .dbd-media::after { display: none !important; }
}

/* Instagram link in the popup header (phones): bottom-right of the black header. */
.dbd-ig { display: none; }
@media (max-width: 640px) {
  .dbd-ig {
    position: absolute;
    right: 1.25rem;
    bottom: .75rem;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1.5px solid #fdf8f58c;
    border-radius: 50%;
    color: var(--brand-white);
    -webkit-tap-highlight-color: transparent;
    transition: background .2s, transform .2s, border-color .2s;
  }
  .dbd-ig[hidden] { display: none; }
  .dbd-ig svg { width: 1.4rem; height: 1.4rem; display: block; }
  .dbd-ig:active { background: #fdf8f526; transform: scale(.94); border-color: var(--brand-white); }
  .dbd-ig:focus-visible { outline: 2px solid var(--brand-white); outline-offset: 3px; }
  /* Keep long brand names clear of the icon. */
  .dbd-media:has(.dbd-ig:not([hidden])) .dbd-caption { right: 4.9rem; }
}

/* Phone: story progress dots; keep the last "How it works" step from being clipped */
@media (max-width: 767px) {
  .dealbirdie-story-count { font-size: 0 !important; min-width: 0 !important; width: 0; overflow: hidden; }
  .dealbirdie-story-dots { display: flex; align-items: center; gap: .4rem; padding: 0 .9rem; }
  .dealbirdie-story-dots i { width: .45rem; height: .45rem; border-radius: 50%; background: rgba(23,18,15,.25); transition: width .25s ease, background .25s ease; }
  .dealbirdie-story-dots i.on { width: 1.3rem; border-radius: 100px; background: var(--brand-black, #17120f); }
  .section-services-body { padding-bottom: 7rem; box-sizing: content-box; }
}

/* Early-access popup on phones: everything fits one screen, no scrolling.
   Step 1 shows the headline, card and sleeping Birdie (which shrinks to fill
   whatever room is left). Later steps drop the headline so the card has the
   screen to itself. */
@media (max-width: 767px) {
  #dealbirdie-early-access .contact-content {
    display: flex;
    flex-direction: column;
    height: 100svh;
    min-height: min-content;
    padding: calc(4.2rem + env(safe-area-inset-top, 0px)) clamp(1.1rem, 6vw, 3rem) max(.8rem, env(safe-area-inset-bottom, 0px));
    gap: clamp(.75rem, 2.2svh, 1.4rem);
  }
  #dealbirdie-early-access .contact-heading { font-size: clamp(2.7rem, min(14vw, 7.4svh), 6rem); }
  #dealbirdie-early-access .dealbirdie-contact-note { margin-top: .55rem; font-size: clamp(.98rem, 2.15svh, 1.15rem); }
  #dealbirdie-early-access .dealbirdie-contact-scene {
    flex: 1 1 0;
    min-height: 0;
    width: auto;
    max-width: min(72vw, 17rem);
    aspect-ratio: 1.56;
    align-self: flex-end;
    margin: -.4rem 0 0;
  }
  #dealbirdie-early-access:has(.dbs-step:not([data-step="0"])) :is(.contact-left, .dealbirdie-contact-scene) { display: none; }
  #dealbirdie-early-access:has(.dbs-step:not([data-step="0"])) .contact-content { justify-content: center; }

  #dealbirdie-early-access .dealbirdie-invite-card { padding: 1.05rem 1.1rem 1.1rem; }
  #dealbirdie-early-access .dbs { gap: .7rem; }
  #dealbirdie-early-access .dbs-step { gap: .8rem; }
  #dealbirdie-early-access .dbs-q { gap: .4rem; }
  #dealbirdie-early-access .dbs-title { font-size: 1.2rem; }
  #dealbirdie-early-access .dbs-chips { gap: .35rem; }
  #dealbirdie-early-access .dbs-chip { font-size: .88rem; padding: .4rem .72rem; }
  #dealbirdie-early-access .dbs-field input { padding: .58rem 0; }
  #dealbirdie-early-access .dbs-go { min-height: 2.95rem; }
  #dealbirdie-early-access .dbs-offer { padding: .7rem .85rem; gap: .65rem; }
  #dealbirdie-early-access .dealbirdie-invite-email { margin-top: .7rem; }
}
/* Shorter phones (SE, or Safari with both bars showing). */
@media (max-width: 767px) and (max-height: 760px) {
  #dealbirdie-early-access .contact-content { padding-top: calc(3.9rem + env(safe-area-inset-top, 0px)); }
  #dealbirdie-early-access .dealbirdie-invite-card { padding: .85rem .95rem .9rem; }
  #dealbirdie-early-access .dbs { gap: .5rem; }
  #dealbirdie-early-access .dbs-step { gap: .6rem; }
  #dealbirdie-early-access .dbs-q { gap: .3rem; }
  #dealbirdie-early-access .dbs-birdie .db-bird { width: 2.5rem; height: 2.5rem; }
  #dealbirdie-early-access .dbs-say { font-size: .82rem; }
  #dealbirdie-early-access .dbs-title { font-size: 1.1rem; }
  #dealbirdie-early-access .dbs-label { font-size: .72rem; }
  #dealbirdie-early-access .dbs-chip { font-size: .84rem; padding: .32rem .64rem; }
  #dealbirdie-early-access .dbs-go { min-height: 2.7rem; }
  #dealbirdie-early-access .dbs-offer { padding: .55rem .75rem; }
  #dealbirdie-early-access .dbs-offer small { font-size: .78rem; }
  #dealbirdie-early-access .dbs-fine { font-size: .74rem; }
  #dealbirdie-early-access:has(.dbs-step:not([data-step="0"])) .dealbirdie-invite-email { display: none; }
}

/* Footer: "invite list." stays lowercase; section labels in ink so they're
   readable on the orange (cream at 60% was ~2:1 contrast). */
.footer-heading-line.dealbirdie-invite-phrase::first-letter { text-transform: none; }
.footer-link-header { opacity: 1 !important; color: #1a0e08 !important; }

/* Phones: FAQ shares the 16px page gutter used by every other section. */
@media (max-width: 767px) {
  .section-faq-wrapper { padding-inline: .5rem; box-sizing: border-box; }
}
