/* ==========================================================
   SAYSO — Visual system
   Editorial storytelling × creator culture × measurable results
   ========================================================== */

:root {
  /* Core palette (drawn from deck p.2) */
  --cream:      #F4F1E8;  /* primary background            */
  --grey:       #E8E5DE;  /* "Silver Lining" — alt surface  */
  --plum:       #281822;  /* "Rich Plum" — type + contrast  */
  --plum-soft:  #4A3040;  /* secondary text on light        */
  --powder:     #A9BFD0;  /* "Powder Blue" — primary accent */
  --icy:        #CFE2EF;  /* "Icy Blue" — light accent      */
  --blush:      #E8D9D2;  /* "Powder Bubble Gum"            */
  --blush-deep: #D8B8AC;  /* blush for blocks / hover       */
  --gold:       #CEC59F;  /* "Golden Sun" — highlight       */
  --gold-deep:  #B9A867;
  --lilac:      #DCD0E4;  /* soft nod to "Amethyst Smoke"   */

  /* Tag colors — one per service category */
  --tag-branding:  #EBCFC4;
  --tag-community: #E3DAAE;
  --tag-strategy:  #CFE2EF;
  --tag-ugc:       #DCD0E4;
  --tag-paid:      #B7CADB;
  --tag-creator:   #D9E1CF;

  /* Type */
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans:  "DM Sans", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.78rem, 0.76rem + 0.1vw, 0.84rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2:  clamp(1.6rem, 1.35rem + 1.2vw, 2.3rem);
  --step-3:  clamp(2.2rem, 1.7rem + 2.5vw, 3.8rem);
  --step-4:  clamp(3rem, 2rem + 5vw, 6.6rem);
  --step-5:  clamp(3.4rem, 1.8rem + 8vw, 9.5rem);

  /* Shape + motion */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;
  --ease: cubic-bezier(.22,.8,.26,1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--plum);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type primitives ---------- */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.02; }
.serif em, .italic { font-style: italic; }
.eyebrow {
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.lede { font-size: var(--step-1); line-height: 1.45; max-width: 36ch; }
.muted { color: var(--plum-soft); }

/* ---------- Logo ---------- */
.logo {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1;
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.logo .say { font-style: italic; font-weight: 700; }
.logo .so  { font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.5em;
  border-radius: var(--r-pill);
  border: 1px solid var(--plum);
  background: var(--plum);
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); background: var(--plum-soft); }
.btn--ghost { background: transparent; color: var(--plum); }
.btn--ghost:hover { background: var(--plum); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--plum); border-color: var(--cream); }
.btn--light:hover { background: var(--blush); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.circle-btn {
  width: 44px; height: 44px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 0;
  background: var(--cream);
  color: var(--plum);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(40,24,34,.08);
  transition: transform .45s var(--ease), background .3s;
}
.circle-btn svg { width: 16px; height: 16px; }
.circle-btn:hover { background: var(--plum); color: var(--cream); }

/* ---------- Tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.tag {
  display: inline-block;
  padding: .32em .7em;
  border-radius: 6px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--plum);
  background: var(--grey);
}
.tag--branding, .tag--brand { background: var(--tag-branding); }
.tag--community { background: var(--tag-community); }
.tag--strategy  { background: var(--tag-strategy); }
.tag--ugc       { background: var(--tag-ugc); }
.tag--paid      { background: var(--tag-paid); }
.tag--creator   { background: var(--tag-creator); }

/* ---------- Placeholder media (swap for real campaign photography / reels) ---------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--powder);
}
.media::after { /* subtle paper grain so flat blocks read as "photo slot" */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
.media__label {
  position: absolute; left: 12px; bottom: 12px; z-index: 1;
  font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  background: rgba(244,241,232,.85); padding: .35em .6em; border-radius: 6px;
}
.media__play {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(244,241,232,.85); display: grid; place-items: center;
}
.media__play svg { width: 11px; height: 11px; margin-left: 2px; }

/* ==========================================================
   NAV
   ========================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-color: rgba(40,24,34,.08); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__links { display: none; gap: 2rem; list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.nav__links a { text-decoration: none; position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: currentColor;
  transition: right .35s var(--ease);
}
.nav__links a:hover::after { right: 0; }
.nav .btn { padding: .7em 1.15em; font-size: .85rem; }
.nav__cta { display: none; }
.nav__toggle {
  border: 0; background: none; cursor: pointer; padding: 8px; display: grid; gap: 5px;
}
.nav__toggle span { width: 22px; height: 1.5px; background: var(--plum); display: block; transition: transform .3s var(--ease); }
.nav.is-open .nav__toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child  { transform: translateY(-3.25px) rotate(-45deg); }
.nav__drawer {
  display: grid; gap: 4px; padding: 8px var(--gutter) 24px;
  border-top: 1px solid rgba(40,24,34,.08);
}
.nav__drawer[hidden] { display: none; }
.nav__drawer a { font-family: var(--serif); font-size: 2rem; text-decoration: none; padding: 4px 0; }
.nav__drawer .btn { justify-self: start; margin-top: 12px; font-family: var(--sans); font-size: .95rem; }

@media (min-width: 900px) {
  .nav__links, .nav__cta { display: flex; }
  .nav__toggle, .nav__drawer { display: none !important; }
}

/* ==========================================================
   HERO
   ========================================================== */
.hero { padding: clamp(32px, 6vw, 80px) 0 clamp(56px, 8vw, 110px); }
.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero__title { font-size: var(--step-5); margin: .2em 0 .25em; }
.hero__title em { font-weight: 400; }
.hero__copy .lede { margin: 0 0 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.hero__actions .link { font-size: .92rem; text-underline-offset: 4px; }

.hero__stage { position: relative; min-height: 470px; display: grid; place-items: center; }
.hero__block {
  position: absolute; inset: 6% 4% 6% 14%;
  background: var(--powder);
  border-radius: var(--r-lg);
}
.hero__block--two {
  inset: auto auto 0 0; width: 42%; height: 46%;
  background: var(--blush);
  border-radius: var(--r-lg);
}

/* Phone / reel preview */
.phone {
  position: relative; z-index: 2;
  width: min(250px, 62vw); aspect-ratio: 9 / 18.5;
  border-radius: 38px;
  background: var(--plum);
  padding: 9px;
  box-shadow: 0 30px 60px -20px rgba(40,24,34,.45);
}
.phone__screen {
  position: relative; height: 100%; border-radius: 30px; overflow: hidden;
  background: linear-gradient(180deg, #C9B3AA 0%, #B79A92 100%);
  color: var(--cream);
}
.phone__screen .figure { /* abstract creator silhouette */
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 78%; aspect-ratio: 1 / 1.25;
}
.phone__top { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; font-size: .66rem; letter-spacing: .04em; font-weight: 600; z-index: 2; }
.phone__rail { position: absolute; right: 10px; bottom: 70px; display: grid; gap: 14px; z-index: 2; justify-items: center; }
.phone__rail span { width: 26px; height: 26px; border-radius: 50%; background: rgba(244,241,232,.22); display: grid; place-items: center; }
.phone__rail svg { width: 13px; height: 13px; }
.phone__caption { position: absolute; left: 14px; right: 46px; bottom: 18px; font-size: .68rem; line-height: 1.35; z-index: 2; }
.phone__caption strong { display: block; font-size: .72rem; margin-bottom: 2px; }
.phone__progress { position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2px; background: rgba(244,241,232,.3); border-radius: 2px; overflow: hidden; z-index: 2; }
.phone__progress i { display: block; height: 100%; width: 40%; background: var(--cream); animation: progress 6s linear infinite; }
@keyframes progress { from { width: 0; } to { width: 100%; } }

/* Floating UI chips */
.chip {
  position: absolute; z-index: 3;
  background: var(--cream);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 14px 30px -12px rgba(40,24,34,.28);
  font-size: .74rem;
  line-height: 1.3;
  animation: float 7s ease-in-out infinite;
}
.chip--stat { top: 6%; left: 0; display: grid; gap: 2px; background: var(--gold); min-width: 118px; }
.chip__num { font-family: var(--serif); font-size: 1.9rem; line-height: 1; letter-spacing: -0.01em; }
.chip__num--sm { font-size: 1.35rem; }
.chip--comment { bottom: 16%; left: 2%; max-width: 170px; animation-delay: -2s; }
.chip--comment .who { font-weight: 600; display: block; margin-bottom: 2px; }
.chip--graph { top: 18%; right: 0; width: 140px; display: grid; gap: 2px; animation-delay: -4s; }
.chip--graph .bars { display: flex; align-items: flex-end; gap: 4px; height: 38px; margin-top: 8px; }
.chip--graph .bars i { flex: 1; background: var(--powder); border-radius: 3px 3px 1px 1px; }
.chip--graph .bars i:last-child { background: var(--plum); }
.chip--social { bottom: 4%; right: 6%; display: flex; gap: 8px; align-items: center; background: var(--plum); color: var(--cream); animation-delay: -1s; }
.chip--social svg { width: 14px; height: 14px; }
.chip .k { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; opacity: .75; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.15fr 1fr; gap: 40px; }
  .hero__stage { min-height: 580px; }
  .phone { width: 270px; }
}

/* ==========================================================
   MARQUEE
   ========================================================== */
.marquee { background: var(--plum); color: var(--cream); padding: clamp(20px, 3vw, 32px) 0 clamp(22px, 3.4vw, 36px); }
.marquee__label { color: var(--gold); margin: 0 0 clamp(14px, 2vw, 20px); }
.marquee__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(2.5rem, 5vw, 4.5rem); width: max-content; padding-right: clamp(2.5rem, 5vw, 4.5rem); animation: marquee 40s linear infinite; }
.marquee__viewport:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { white-space: nowrap; }
.marquee__track .wordmark { font-size: clamp(1.15rem, 1rem + 1vw, 1.75rem); color: var(--cream); opacity: .9; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__viewport { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { width: auto; flex-wrap: wrap; justify-content: center; row-gap: 1rem; padding-inline: 16px; }
  .marquee__track li[aria-hidden] { display: none; }
}

/* ==========================================================
   SECTIONS (color-blocked rhythm)
   ========================================================== */
section { position: relative; }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.bg-cream  { background: var(--cream); }
.bg-grey   { background: var(--grey); }
.bg-powder { background: var(--powder); }
.bg-icy    { background: var(--icy); }
.bg-blush  { background: var(--blush); }
.bg-gold   { background: var(--gold); }
.bg-plum   { background: var(--plum); color: var(--cream); }

.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2, .section-head h1 { font-size: var(--step-4); margin: 0; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1fr 1fr; align-items: end; }
  .section-head--split > p { justify-self: end; max-width: 40ch; margin: 0; }
}

/* ---------- Intro (founders) ---------- */
.intro__grid { display: grid; gap: 48px; }
.intro__statement { font-size: var(--step-3); margin: 0; }
.intro__statement em { font-style: italic; }
.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid rgba(40,24,34,.2); }
.principles li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid rgba(40,24,34,.2); }
.principles .num { font-family: var(--serif); font-style: italic; font-size: 1.2rem; }
.principles h3 { font-family: var(--serif); font-size: var(--step-2); font-weight: 400; margin: 0 0 6px; letter-spacing: -0.01em; line-height: 1.1; }
.principles p { margin: 0; max-width: 46ch; }
@media (min-width: 900px) { .intro__grid { grid-template-columns: 1fr 1fr; gap: 80px; } }

/* ---------- Services ---------- */
.services__list { display: grid; gap: 16px; }
.service {
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 48px);
  display: grid; gap: 28px;
  transition: transform .5s var(--ease);
}
.service:nth-child(1) { background: var(--blush); }
.service:nth-child(2) { background: var(--icy); }
.service:nth-child(3) { background: var(--gold); }
.service:nth-child(4) { background: var(--plum); color: var(--cream); }
.service__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.service__num { font-family: var(--serif); font-style: italic; font-size: var(--step-2); }
.service h3 { font-family: var(--serif); font-weight: 400; font-size: var(--step-3); line-height: 1.02; margin: 10px 0 14px; letter-spacing: -0.02em; }
.service p { margin: 0; max-width: 46ch; }
.service__more {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 0; padding: 0; cursor: pointer; font-weight: 500; font-size: .92rem;
}
.service__more .circle-btn { width: 36px; height: 36px; }
.service__more[aria-expanded="true"] .circle-btn { transform: rotate(45deg); }
.service:nth-child(4) .service__more .circle-btn { background: var(--cream); color: var(--plum); }
.service__steps {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease);
}
.service__steps.is-open { grid-template-rows: 1fr; }
.service__steps > div { overflow: hidden; }
.service__steps ol { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 8px; }
.service__steps li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; font-size: .93rem; }
.service__steps li::before { content: counter(s, decimal-leading-zero); font-size: .7rem; font-weight: 600; letter-spacing: .08em; padding-top: .3em; opacity: .7; }
.service__media { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.service__media .media { aspect-ratio: 4 / 5; }
.service__media .media:nth-child(2) { margin-top: 36px; }
.service:nth-child(1) .media { background: #C99F94; }
.service:nth-child(1) .media:nth-child(2) { background: var(--gold); }
.service:nth-child(2) .media { background: var(--powder); }
.service:nth-child(2) .media:nth-child(2) { background: var(--blush-deep); }
.service:nth-child(3) .media { background: var(--gold-deep); }
.service:nth-child(3) .media:nth-child(2) { background: var(--icy); }
.service:nth-child(4) .media { background: var(--plum-soft); }
.service:nth-child(4) .media:nth-child(2) { background: var(--powder); }
.service:nth-child(4) .media__label, .service:nth-child(4) .media__play { color: var(--plum); }
@media (min-width: 900px) {
  .service { grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
  .service:nth-child(even) .service__media { order: -1; }
  .service__media .media:nth-child(2) { margin-top: 64px; }
}

/* ---------- Collaborations ---------- */
.logos {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(40,24,34,.15);
  border-left: 1px solid rgba(40,24,34,.15);
}
.logos li {
  list-style: none;
  border-right: 1px solid rgba(40,24,34,.15);
  border-bottom: 1px solid rgba(40,24,34,.15);
  aspect-ratio: 16 / 9;
  display: grid; place-items: center; text-align: center;
  padding: 12px;
  transition: background .4s var(--ease);
}
.logos li:hover { background: var(--blush); }
.logos .wordmark { font-size: clamp(1rem, .9rem + .8vw, 1.5rem); opacity: .82; transition: opacity .3s; }
.logos li:hover .wordmark { opacity: 1; }
.wm-serif  { font-family: var(--serif); font-style: italic; }
.wm-sans   { font-family: var(--sans); font-weight: 700; letter-spacing: -0.02em; }
.wm-spaced { font-family: var(--sans); font-weight: 400; letter-spacing: .32em; text-transform: uppercase; font-size: .9em !important; }
.logos-note { margin-top: 18px; font-size: .8rem; }
@media (min-width: 700px) { .logos { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .logos { grid-template-columns: repeat(5, 1fr); } }
.logos { padding: 0; margin: 0; }

/* ---------- Case studies ---------- */
.work__panel {
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: clamp(20px, 4vw, 56px);
}
.work__filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.filter {
  border: 1px solid rgba(40,24,34,.2); background: transparent; border-radius: var(--r-pill);
  padding: .5em 1em; font-size: .8rem; cursor: pointer; transition: all .3s var(--ease);
}
.filter:hover { border-color: var(--plum); }
.filter[aria-pressed="true"] { background: var(--plum); color: var(--cream); border-color: var(--plum); }

/* Case studies sit in one row: swipeable on phones, three across from 640px */
.cases {
  display: grid; gap: 28px 20px;
  grid-auto-flow: column; grid-auto-columns: minmax(240px, 80%);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  align-items: start;
}
.cases::-webkit-scrollbar { display: none; }
.cases .case { scroll-snap-align: start; }
@media (min-width: 640px) {
  .cases { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
}
.cases__more { display: flex; width: fit-content; margin: clamp(28px, 4vw, 44px) auto 0; }
.cases__more[hidden] { display: none; }

.case { position: relative; transition: opacity .4s var(--ease); }
.case.is-hidden { display: none; }
.case__media { aspect-ratio: 4 / 5; transition: transform .6s var(--ease), border-radius .6s var(--ease); }
.case__frame { position: relative; }
.case__frame .circle-btn { position: absolute; right: 12px; bottom: 12px; z-index: 2; }
.case:hover .case__media { transform: scale(.985); }
.case:hover .circle-btn { transform: rotate(-45deg); }
.case h3 { font-family: var(--serif); font-weight: 400; font-size: var(--step-2); margin: 16px 0 6px; letter-spacing: -0.01em; line-height: 1.1; }
.case > p { margin: 0 0 12px; font-size: .93rem; color: var(--plum-soft); max-width: 40ch; }

/* Expanded case — overlay panel, works by tap or click; Esc / close collapses */
.case-panel {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: end center;
  background: rgba(40,24,34,.45);
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease);
}
.case-panel.is-open { opacity: 1; pointer-events: auto; }
.case-panel__sheet {
  position: relative;
  width: 100%; max-width: 1100px; max-height: 92vh; overflow-y: auto;
  background: var(--cream);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  transform: translateY(40px);
  transition: transform .55s var(--ease);
  overscroll-behavior: contain;
}
.case-panel.is-open .case-panel__sheet { transform: none; }
@media (min-width: 900px) {
  .case-panel { place-items: center; padding: 32px; }
  .case-panel__sheet { border-radius: var(--r-lg); }
}
.case-panel__close {
  position: sticky; top: 14px; float: right; margin: 14px 14px 0 0; z-index: 3;
  background: var(--plum); color: var(--cream);
}
.case-panel__close:hover { background: var(--plum-soft); }
.cp-hero { padding: 28px clamp(20px, 4vw, 48px) 28px; }
.cp-hero h2 { font-size: var(--step-4); margin: 10px 0 8px; }
.cp-hero .cp-title { font-family: var(--serif); font-style: italic; font-size: var(--step-2); margin: 0 0 18px; }
.cp-body { padding: 0 clamp(20px, 4vw, 48px) clamp(28px, 4vw, 48px); display: grid; gap: 28px; }
.cp-media { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; }
.cp-media .media { height: clamp(220px, 34vw, 360px); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(40,24,34,.2); border-bottom: 1px solid rgba(40,24,34,.2); }
.kpi { padding: 20px 12px 20px 0; }
.kpi + .kpi { padding-left: 16px; border-left: 1px solid rgba(40,24,34,.2); }
.kpi__value { font-family: var(--serif); font-size: var(--step-3); line-height: 1; display: block; }
.kpi__value.is-pending { color: rgba(40,24,34,.4); }
.kpi__label { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-top: 8px; display: block; }
.cp-sections { display: grid; gap: 22px; }
@media (min-width: 800px) { .cp-sections { grid-template-columns: 1fr 1fr; gap: 28px 48px; } }
.cp-sections h4 { margin: 0 0 6px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.cp-sections p { margin: 0; color: var(--plum-soft); }
.cp-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; background: var(--blush); border-radius: var(--r-md); padding: 22px 24px; }
.cp-cta p { margin: 0; font-family: var(--serif); font-size: var(--step-2); }
.cp-related h4 { margin: 0 0 12px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.cp-related ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.cp-related button { border: 1px solid rgba(40,24,34,.2); background: none; border-radius: var(--r-pill); padding: .55em 1em; cursor: pointer; font-size: .85rem; }
.cp-related button:hover { background: var(--plum); color: var(--cream); }

/* ---------- Results strip (measurable, verified-only) ---------- */
.results__grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .results__grid { grid-template-columns: 1.1fr 1fr 1fr; } }
.rcard { border-radius: var(--r-lg); padding: 26px; background: var(--cream); display: grid; gap: 14px; align-content: start; }
.rcard--plum { background: var(--plum); color: var(--cream); }
.rcard--gold { background: var(--gold); }
.rcard h3 { font-family: var(--serif); font-weight: 400; font-size: var(--step-2); margin: 0; line-height: 1.1; }
.rcard p { margin: 0; font-size: .93rem; }
.spark { width: 100%; height: 70px; }
.rcard .pending { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }

/* ---------- Final CTA ---------- */
.cta { text-align: center; }
.cta h2 { font-size: var(--step-5); margin: 0 0 .2em; }
.cta p { margin: 0 auto 2rem; max-width: 42ch; }

/* ---------- Footer ---------- */
.footer { background: var(--plum); color: var(--cream); padding: 64px 0 32px; }
.footer__grid { display: grid; gap: 40px; }
.footer .logo { font-size: 3rem; }
.footer__tag { font-family: var(--serif); font-style: italic; font-size: 1.2rem; margin: 10px 0 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.footer a { text-decoration: none; opacity: .85; }
.footer a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer__base { margin-top: 56px; padding-top: 20px; border-top: 1px solid rgba(244,241,232,.15); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .78rem; opacity: .7; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   SERVICE PAGES
   ========================================================== */
.svc-hero { padding: clamp(28px, 5vw, 64px) 0 clamp(64px, 9vw, 120px); }
.svc-hero--gifting  { background: var(--blush); }
.svc-hero--paid     { background: var(--icy); }
.svc-hero--whitelisting { background: var(--gold); }
.svc-hero--programs { background: var(--plum); color: var(--cream); }
.crumbs { display: flex; gap: 8px; font-size: .82rem; margin: 0 0 clamp(28px, 5vw, 56px); padding: 0; list-style: none; }
.crumbs a { text-decoration: none; opacity: .7; }
.crumbs a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.svc-hero__grid { display: grid; gap: 48px; align-items: end; }
.svc-hero__num { font-family: var(--serif); font-style: italic; font-size: var(--step-3); line-height: 1; display: block; margin-bottom: 18px; }
.svc-hero h1 { font-size: var(--step-5); margin: .15em 0 .3em; }
.svc-hero .lede { margin: 0 0 2rem; }
.svc-hero--programs .btn { background: var(--cream); color: var(--plum); border-color: var(--cream); }
.svc-hero--programs .btn:hover { background: var(--blush); }
@media (min-width: 960px) { .svc-hero__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* Asymmetric photo collage */
.collage { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 70px; gap: 10px; }
.collage .media { grid-column: span 3; grid-row: span 4; }
.collage .media:nth-child(1) { grid-column: 1 / 4; grid-row: 1 / 5; }
.collage .media:nth-child(2) { grid-column: 4 / 7; grid-row: 2 / 6; }
.collage .media:nth-child(3) { grid-column: 1 / 3; grid-row: 5 / 8; }
.collage .media:nth-child(4) { grid-column: 3 / 7; grid-row: 6 / 9; }
@media (min-width: 960px) { .collage { grid-auto-rows: 64px; } }

/* "What we handle" — editorial numbered list */
.handle { display: grid; gap: 40px; }
.handle__head h2 { font-size: var(--step-4); margin: 0 0 16px; }
.handle__head p { max-width: 36ch; margin: 0; }
.handle__list { list-style: none; margin: 0; padding: 0; counter-reset: h; border-top: 1px solid rgba(40,24,34,.18); }
.handle__list li {
  counter-increment: h;
  display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid rgba(40,24,34,.18);
  font-size: var(--step-1); line-height: 1.35;
  transition: padding-left .45s var(--ease), background .45s var(--ease);
}
.handle__list li::before { content: counter(h, decimal-leading-zero); font-family: var(--serif); font-style: italic; font-size: var(--step-2); line-height: 1; }
.handle__list li:hover { padding-left: 10px; }
@media (min-width: 960px) {
  .handle { grid-template-columns: 1fr 1.4fr; gap: 80px; }
  .handle__head { position: sticky; top: 110px; align-self: start; }
}

/* Signature module wrapper */
.sig { display: grid; gap: 40px; align-items: center; }
.sig h2 { font-size: var(--step-3); margin: 0 0 14px; }
.sig p { margin: 0; max-width: 40ch; }
@media (min-width: 960px) { .sig { grid-template-columns: 1fr 1.3fr; gap: 72px; } }
.panel { background: var(--cream); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px); box-shadow: 0 24px 50px -30px rgba(40,24,34,.35); }
.panel__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: .8rem; }
.panel__bar .dots { display: flex; gap: 5px; }
.panel__bar .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--grey); }

/* Gifting pipeline */
.pipeline { display: grid; gap: 8px; }
.prow { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #fff8; border: 1px solid rgba(40,24,34,.07); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--powder); }
.prow strong { display: block; font-size: .88rem; }
.prow span.sub { font-size: .76rem; color: var(--plum-soft); }
.status { font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: .35em .7em; border-radius: var(--r-pill); border: 0; cursor: pointer; color: var(--plum); transition: background .3s; }
.status[data-s="0"] { background: var(--grey); }
.status[data-s="1"] { background: var(--tag-strategy); }
.status[data-s="2"] { background: var(--tag-community); }
.status[data-s="3"] { background: var(--tag-branding); }
.status[data-s="4"] { background: var(--plum); color: var(--cream); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; font-size: .74rem; color: var(--plum-soft); }

/* Paid: brief + approval cards */
.stack { position: relative; min-height: 420px; }
.stack .panel { position: absolute; }
.brief { inset: 0 18% auto 0; }
.brief dl { display: grid; grid-template-columns: 96px 1fr; gap: 10px 14px; margin: 0; font-size: .86rem; }
.brief dt { font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--plum-soft); padding-top: .2em; }
.brief dd { margin: 0; }
.approve { right: 0; bottom: 0; width: min(260px, 70%); background: var(--plum); color: var(--cream); }
.approve .media { aspect-ratio: 4/5; margin-bottom: 12px; background: var(--blush-deep); }
.approve .row { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; }
.approve .ok { background: var(--tag-creator); color: var(--plum); border-radius: var(--r-pill); padding: .3em .7em; font-size: .7rem; font-weight: 600; }

/* Whitelisting: ad previews */
.ads { display: flex; gap: 14px; justify-content: center; align-items: flex-end; }
.ad { width: min(220px, 46%); aspect-ratio: 9/17; border-radius: 30px; background: var(--plum); padding: 7px; box-shadow: 0 24px 50px -24px rgba(40,24,34,.5); }
.ad:nth-child(2) { transform: translateY(-36px); }
.ad__screen { position: relative; height: 100%; border-radius: 24px; overflow: hidden; background: var(--blush-deep); color: var(--cream); }
.ad:nth-child(2) .ad__screen { background: var(--powder); }
.ad__top { position: absolute; top: 12px; left: 12px; right: 12px; font-size: .62rem; font-weight: 600; }
.ad__bottom { position: absolute; left: 10px; right: 10px; bottom: 10px; display: grid; gap: 6px; font-size: .64rem; line-height: 1.3; }
.ad__sponsor { opacity: .85; }
.ad__cta { background: var(--cream); color: var(--plum); border-radius: 8px; padding: .55em .7em; font-weight: 600; display: flex; justify-content: space-between; }
.rights { margin-top: 18px; display: grid; gap: 8px; }
.rights div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--cream); font-size: .84rem; }
.rights span:last-child { color: var(--plum-soft); }

/* Programs: calendar */
.cal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 560px) { .cal { grid-template-columns: repeat(4, 1fr); } }
.month { border-radius: 12px; padding: 10px; background: #fff8; border: 1px solid rgba(40,24,34,.07); min-height: 86px; display: grid; align-content: start; gap: 5px; }
.month b { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.month .tag { font-size: .58rem; padding: .25em .5em; justify-self: start; }

/* Other services */
.others { display: grid; gap: 12px; }
@media (min-width: 760px) { .others { grid-template-columns: repeat(3, 1fr); } }
.other { display: grid; gap: 30px; padding: 24px; border-radius: var(--r-lg); text-decoration: none; transition: transform .45s var(--ease); min-height: 220px; align-content: space-between; }
.other:hover { transform: translateY(-4px); }
.other h3 { font-family: var(--serif); font-weight: 400; font-size: var(--step-2); margin: 6px 0 0; line-height: 1.1; }
.other .row { display: flex; justify-content: space-between; align-items: center; }
.other:hover .circle-btn { transform: rotate(-45deg); }
.other--gifting { background: var(--blush); }
.other--paid { background: var(--icy); }
.other--whitelisting { background: var(--gold); }
.other--programs { background: var(--plum); color: var(--cream); }

/* Homepage: link from service card to its page */
.service__link { display: inline-flex; gap: 8px; align-items: center; margin-left: 18px; font-size: .92rem; font-weight: 500; text-underline-offset: 4px; }
.media__label, .media__play { color: var(--plum); }
.ad__screen { background: #8E6A62; }
.ad:nth-child(2) .ad__screen { background: #5F7486; }

/* ==========================================================
   CASE STUDY PAGE
   ========================================================== */
.cs-hero { padding: clamp(28px, 5vw, 56px) 0 clamp(28px, 4vw, 48px); }
.cs-back { display: inline-block; font-size: .88rem; text-decoration: none; margin-bottom: clamp(28px, 5vw, 56px); opacity: .75; }
.cs-back:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.cs-hero__grid { display: grid; gap: 28px; align-items: end; }
.cs-hero h1 { font-size: var(--step-5); margin: .1em 0 .1em; }
.cs-hero__title { font-family: var(--serif); font-style: italic; font-size: var(--step-2); margin: 0; }
.cs-meta { margin: 0; display: grid; gap: 18px; padding-top: 18px; border-top: 1px solid rgba(40,24,34,.18); }
.cs-meta dt { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.cs-meta dd { margin: 0; }
@media (min-width: 960px) { .cs-hero__grid { grid-template-columns: 1.6fr 1fr; gap: 64px; } }

.cs-video { padding-bottom: clamp(40px, 6vw, 80px); }
.cs-video__grid { position: relative; }
.cs-video__main { aspect-ratio: 16 / 9; border-radius: var(--r-lg); }
.cs-video__reel { display: none; }
@media (min-width: 760px) {
  .cs-video__grid { padding-right: 12%; }
  .cs-video__reel { display: block; position: absolute; right: var(--gutter); bottom: -40px; width: 22%; aspect-ratio: 9 / 16; border-radius: var(--r-md); border: 6px solid var(--cream); box-shadow: 0 24px 50px -24px rgba(40,24,34,.45); }
}

.cs-kpis { padding: clamp(36px, 5vw, 64px) 0; }
.kpis--hero { border-color: rgba(244,241,232,.25); }
.kpis--hero .kpi + .kpi { border-color: rgba(244,241,232,.25); }
.kpis--hero .kpi__value { font-size: var(--step-4); }
.kpis--hero .kpi__value.is-pending { color: rgba(244,241,232,.4); }
.cs-note { margin: 14px 0 0; font-size: .8rem; opacity: .7; }

.cs-intro { max-width: 1000px; }
.cs-intro__text { font-size: var(--step-3); line-height: 1.12; margin: 0; }

.cs-split { display: grid; gap: 36px; align-items: center; }
.cs-split h2 { font-size: var(--step-4); margin: 0 0 18px; }
.cs-split__media { aspect-ratio: 4 / 5; }
@media (min-width: 960px) { .cs-split { grid-template-columns: 1fr 1.1fr; gap: 80px; } }

.cs-challenge { max-width: 1050px; }
.cs-pull { font-size: var(--step-3); line-height: 1.12; margin: 0; padding-left: clamp(18px, 3vw, 36px); border-left: 2px solid var(--plum); }

.cs-solution { display: grid; gap: 36px; }
.cs-solution .handle__list { max-width: 60ch; }

.cs-results { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(40,24,34,.25); }
.cs-results .kpi { padding: 24px 12px 24px 0; border-bottom: 1px solid rgba(40,24,34,.25); border-left: 0 !important; }
.cs-results .kpi + .kpi { padding-left: 0; }
.cs-results .kpi__value { font-size: var(--step-4); }
@media (min-width: 900px) { .cs-results { grid-template-columns: repeat(3, 1fr); } }

.cs-gallery {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px var(--gutter) 20px; scrollbar-width: thin;
  max-width: calc(var(--max)); margin: 0 auto;
}
.cs-reel { flex: 0 0 min(220px, 62vw); margin: 0; scroll-snap-align: start; }
.cs-reel .media { aspect-ratio: 9 / 16; transition: transform .5s var(--ease); }
.cs-reel:hover .media { transform: translateY(-4px); }
.cs-reel figcaption { margin-top: 10px; font-size: .88rem; font-weight: 500; }

.cs-takeaway p.serif { font-size: var(--step-4); font-style: italic; line-height: 1.05; margin: 0; max-width: 20ch; }

/* Pending KPI — a visible slot rather than a number, until a verified figure is supplied */
.kpi__value.is-pending,
.kpis--hero .kpi__value.is-pending,
.cs-results .kpi__value.is-pending {
  display: inline-block;
  font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  line-height: 1; padding: 1.1em 1.2em;
  border: 1px dashed currentColor; border-radius: 10px;
  color: inherit; opacity: .55;
}
.cs-reel__note { display: block; font-weight: 400; color: var(--plum-soft); font-size: .82rem; margin-top: 2px; }
.rcard--stat { text-decoration: none; transition: transform .45s var(--ease); }
.rcard--stat:hover { transform: translateY(-4px); }
.rcard__num { font-family: var(--serif); font-size: var(--step-4); line-height: 1; letter-spacing: -0.02em; }
.rcard__link { font-size: .88rem; font-weight: 500; margin-top: 4px; }

/* ---------- How we work (homepage): three step cards ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: none; }
.step {
  --accent: var(--blush-deep);
  position: relative; display: flex; flex-direction: column;
  padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg);
  border: 1px solid rgba(244,241,232,.18); background: rgba(244,241,232,.03);
  transition: transform .5s var(--ease), background .5s var(--ease), border-color .5s var(--ease);
}
.step--powder { --accent: var(--powder); }
.step--gold   { --accent: var(--gold); }
.step::before { /* accent bar that grows across the top on hover */
  content: ""; position: absolute; top: -1px; left: 28px; right: 28px; height: 2px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.step:hover { transform: translateY(-6px); background: rgba(244,241,232,.06); border-color: rgba(244,241,232,.3); }
.step:hover::before { transform: scaleX(1); }
.step__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: clamp(36px, 5vw, 64px); }
.step__icon {
  display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
  background: var(--accent); color: var(--plum);
  transition: transform .6s var(--ease);
}
.step__icon svg { transition: transform .6s var(--ease); }
.step:hover .step__icon { transform: scale(1.06); }
.step:hover .step__icon svg { transform: rotate(-12deg); }
.step__title { font-family: var(--serif); font-weight: 400; font-size: var(--step-3); line-height: 1; margin: 0 0 10px; letter-spacing: -0.01em; }
.step__parts { margin: 0 0 14px; font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.step p:last-child { margin: 0; opacity: .82; max-width: 36ch; }
/* Always one row: swipeable on small phones, three across from 600px */
.steps { grid-auto-flow: column; grid-auto-columns: minmax(260px, 82%); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-top: 8px; margin-top: -8px; }
.steps::-webkit-scrollbar { display: none; }
.step { scroll-snap-align: start; }
@media (min-width: 600px) { .steps { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; gap: clamp(12px, 2vw, 28px); } }
@media (min-width: 600px) and (max-width: 899px) { .step { padding: 22px; } .step__icon { width: 56px; height: 56px; } .step__title { font-size: var(--step-2); } .step p:last-child { font-size: .9rem; } }

.capabilities { margin-top: clamp(40px, 6vw, 64px); }
.capabilities ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.capabilities li {
  font-size: .82rem; padding: .5em .95em; border-radius: var(--r-pill);
  border: 1px solid rgba(244,241,232,.3);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.capabilities li:hover { background: var(--cream); color: var(--plum); }

/* What we stand for — three values inside How we work (plum) */
.values { list-style: none; margin: 0 0 clamp(40px, 6vw, 64px); padding: 0; display: grid; gap: 0; border-top: 1px solid rgba(244,241,232,.2); }
.values li { display: grid; grid-template-columns: 1fr; padding: 20px 0; border-bottom: 1px solid rgba(244,241,232,.2); }
.values .num { grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--gold); }
.values h3 { font-family: var(--serif); font-weight: 400; font-size: var(--step-2); line-height: 1.1; margin: 0 0 6px; }
.values p { margin: 0; font-size: .95rem; opacity: .8; max-width: 40ch; }
@media (min-width: 800px) {
  .values { grid-template-columns: repeat(3, 1fr); column-gap: clamp(24px, 4vw, 56px); border-bottom: 1px solid rgba(244,241,232,.2); }
  .values li { border-bottom: 0; padding: 28px 0; }
}

/* What we stand for — slim band above the closing CTA (light background) */
.stand { padding: clamp(40px, 6vw, 72px) 0; }
.stand .eyebrow { margin: 0 0 clamp(16px, 2vw, 24px); }
.values--light { margin: 0; border-color: rgba(40,24,34,.18); }
.values--light li { border-color: rgba(40,24,34,.18); }
.values--light .num { color: var(--plum-soft); }
@media (min-width: 800px) { .values--light { border-bottom-color: rgba(40,24,34,.18); } }

/* ---------- Hero live results (clickable phone + chips) ---------- */
.hero__stage a { color: var(--plum); text-decoration: none; }
.hero__stage .phone, .hero__stage .chip--social { color: var(--cream); }
.hero__stage .phone, .hero__stage .chip { cursor: pointer; }
.hero__stage .chip { transition: box-shadow .3s var(--ease), outline-color .3s; }
.hero__stage .chip:hover { box-shadow: 0 18px 36px -12px rgba(40,24,34,.45); }
.hero__stage a:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
.chip--social .arrow { transition: transform .3s var(--ease); }
.chip--social:hover .arrow { transform: translateX(3px); }
.phone__screen { transition: background .8s var(--ease); }
.phone__caption span { display: block; opacity: .9; }
/* content fades while it swaps to the next campaign */
[data-f] { transition: opacity .35s var(--ease); }
.hero__stage.is-swapping [data-f] { opacity: 0; }
.phone__progress i { width: 0; animation: none; }
.hero__stage.is-playing .phone__progress i { animation: progress var(--slide, 6s) linear forwards; }
.hero__stage.is-paused .phone__progress i { animation-play-state: paused; }
.hero__tabs { position: absolute; z-index: 4; left: 50%; bottom: -36px; transform: translateX(-50%); display: flex; gap: 6px; white-space: nowrap; }
.hero__tabs button {
  font: inherit; font-size: .72rem; font-weight: 500; letter-spacing: .02em;
  padding: .45em .9em; border-radius: var(--r-pill); border: 1px solid rgba(40,24,34,.25);
  background: var(--cream); color: var(--plum); cursor: pointer; transition: background .3s, color .3s;
}
.hero__tabs button[aria-selected="true"] { background: var(--plum); color: var(--cream); border-color: var(--plum); }
.hero__tabs button:hover { border-color: var(--plum); }
.hero { padding-bottom: clamp(88px, 10vw, 140px); }
/* soft shade top and bottom so the phone's text stays readable on light campaign colours */
.phone__screen::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(40,24,34,.35) 0%, transparent 18%, transparent 62%, rgba(40,24,34,.7) 100%); }
@media (max-width: 899px) { .chip--social { bottom: -14px; right: 4%; } .hero__tabs { bottom: -64px; } .hero__stage { margin-bottom: 28px; } }

/* ==========================================================
   ABOUT PAGE
   ========================================================== */
.about-hero { padding: clamp(32px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); }
.about-hero h1 { font-size: var(--step-5); margin: .2em 0 .35em; }
.about-hero__body { display: grid; gap: 20px; justify-items: start; max-width: 60ch; }
.about-hero__body .lede { margin: 0; }
@media (min-width: 900px) {
  .about-hero__body { grid-template-columns: 1fr auto; align-items: end; max-width: none; gap: 64px; }
  .about-hero__body .lede { max-width: 52ch; }
}

.founder { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.founder__photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--plum-soft); }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.founder__copy h2 { font-size: var(--step-4); margin: 0 0 12px; }
.founder__role { margin: 0 0 clamp(24px, 3vw, 36px); font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.founder__line { font-size: var(--step-2); line-height: 1.2; margin: 0 0 clamp(24px, 3vw, 36px); max-width: 26ch; }
.founder__skills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.founder__skills li { font-size: .82rem; padding: .5em .95em; border-radius: var(--r-pill); border: 1px solid rgba(244,241,232,.3); }
.founder__brands { margin-top: clamp(28px, 4vw, 44px); padding-top: 20px; border-top: 1px solid rgba(244,241,232,.2); }
.founder__brands .eyebrow { margin: 0 0 8px; }
.founder__brands p:last-child { margin: 0; opacity: .85; }
@media (min-width: 900px) { .founder { grid-template-columns: 5fr 6fr; } }

.svc-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.svc-mini a {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 16px;
  padding: clamp(20px, 2.6vw, 28px); border-radius: var(--r-md);
  background: var(--cream); color: var(--plum); text-decoration: none; height: 100%;
  transition: transform .4s var(--ease), background .4s var(--ease);
}
.svc-mini .eyebrow { grid-column: 1 / -1; margin: 0; }
.svc-mini__title { font-size: var(--step-2); line-height: 1.1; }
.svc-mini .arrow { font-size: 1.2rem; transition: transform .3s var(--ease); }
.svc-mini a:hover { transform: translateY(-4px); background: #fff; }
.svc-mini a:hover .arrow { transform: translateX(4px); }
@media (min-width: 640px) { .svc-mini { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .svc-mini { grid-template-columns: repeat(4, 1fr); } }
.nav__links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }

/* ---------- Real media in placeholder slots ---------- */
.media__fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.media:has(.media__fill)::after { display: none; } /* no paper grain over real photos */
.phone__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.phone__screen.has-video .figure { display: none; }
/* full campaign video: vertical films sit centred in the wide slot rather than being cropped */
.media__fill--contain { object-fit: contain; }
@media (max-width: 899px) { .cs-video__main.is-vertical { aspect-ratio: 4 / 5; } }
/* credit link back to the creator's original post */
.media__credit { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: .66rem; font-weight: 600; letter-spacing: .04em;
  padding: .4em .7em; border-radius: var(--r-pill); background: rgba(244,241,232,.9); color: var(--plum); text-decoration: none; }
.media__credit:hover { background: var(--cream); }
.media__credit:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }
.media__credit { white-space: nowrap; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; }
.cp-media--two { grid-template-columns: 1.4fr 1fr; }
/* three-tile collage (e.g. Paid Campaigns): staggered pair on top, wide tile below */
.collage--three .media:nth-child(1) { grid-column: 1 / 4; grid-row: 2 / 6; }
.collage--three .media:nth-child(2) { grid-column: 4 / 7; grid-row: 1 / 6; }
.collage--three .media:nth-child(3) { grid-column: 2 / 7; grid-row: 6 / 9; }

/* Case study page body copy matches the quick-view pop-up: DM Sans, one reading size */
.cs-body { font-family: var(--sans); font-size: var(--step-1); font-weight: 400; font-style: normal; line-height: 1.5; letter-spacing: 0; margin: 0; max-width: 62ch; }
.cs-intro__text.cs-body, .cs-pull.cs-body { font-size: var(--step-1); line-height: 1.5; }

/* No photography: service blocks and service page headers are type-only */
@media (min-width: 900px) { .service { grid-template-columns: 1fr; } }
.service p { max-width: 60ch; }
@media (min-width: 960px) { .svc-hero__grid { grid-template-columns: 1fr; } }
.svc-hero .lede { max-width: 52ch; }

/* Service names stand out above the taglines: larger, bolder, underlined */
.service__meta .eyebrow {
  font-size: clamp(.86rem, .8rem + .25vw, 1rem); font-weight: 600; letter-spacing: .12em; opacity: 1;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 7px;
}

/* Client logos in the marquee: one cream tone, optically matched heights */
.marquee__logo { display: block; height: 28px; width: auto; filter: brightness(0) invert(95%) sepia(6%) saturate(300%); opacity: .9; }
.marquee__logo--creme-of-nature { height: 18px; }
.marquee__logo--diageo, .marquee__logo--final-say { height: 22px; }
.marquee__logo--google, .marquee__logo--kulfi, .marquee__logo--mi-and-my { height: 30px; }
@media (min-width: 900px) {
  .marquee__logo { height: 34px; }
  .marquee__logo--creme-of-nature { height: 22px; }
  .marquee__logo--diageo, .marquee__logo--final-say { height: 27px; }
  .marquee__logo--google, .marquee__logo--kulfi, .marquee__logo--mi-and-my { height: 36px; }
}

/* ---------- Case study top videos: swipe slider with arrows on phones ---------- */
.cs-video__shell { position: relative; }
.cs-video__nav { display: none; }
@media (min-width: 760px) {
  .cs-video__reel { right: 0; } /* grid now sits inside the padded shell */
}
@media (max-width: 759px) {
  .has-slides .cs-video__grid {
    display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
    border-radius: var(--r-lg);
  }
  .has-slides .cs-video__grid::-webkit-scrollbar { display: none; }
  .has-slides .cs-video__main, .has-slides .cs-video__reel {
    display: block; position: relative; scroll-snap-align: center; aspect-ratio: 4 / 5; width: auto; border: 0; box-shadow: none; border-radius: var(--r-lg);
  }
  .has-slides .cs-video__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 14px; }
  .cs-video__arrow {
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--plum); background: var(--cream); color: var(--plum);
    font: inherit; font-size: 1.1rem; cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s, opacity .2s;
  }
  .cs-video__arrow:hover:not(:disabled) { background: var(--plum); color: var(--cream); }
  .cs-video__arrow:disabled { opacity: .3; cursor: default; }
  .cs-video__arrow:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
  .cs-video__count { font-size: .8rem; font-weight: 600; letter-spacing: .08em; min-width: 3.5em; text-align: center; }
}

/* ---------- YouTube Shorts (autoplay, muted): three across on laptops, slider on phones ---------- */
.media iframe.media__fill { border: 0; }
.cs-video__grid--yt { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 24px); max-width: 960px; margin-inline: auto; }
.cs-video__yt { aspect-ratio: 9 / 16; border-radius: var(--r-lg); }
@media (min-width: 760px) { .cs-video__grid.cs-video__grid--yt { padding-right: 0; } }
@media (max-width: 759px) {
  .has-slides .cs-video__grid--yt { grid-template-columns: none; }
  .has-slides .cs-video__yt { display: block; position: relative; scroll-snap-align: center; justify-self: center; aspect-ratio: 9 / 16; height: auto; width: min(100%, calc(min(80svh, 680px) * 9 / 16)); border-radius: var(--r-lg); } /* always phone-shaped */
}

/* Hero film (YouTube, 16:9) above the creator videos */
.cs-video__film { aspect-ratio: 16 / 9; border-radius: var(--r-lg); }
.cs-video__sub { margin: clamp(28px, 4vw, 48px) 0 16px; text-align: center; }
/* two creator videos: two columns, kept phone-sized */
@media (min-width: 760px) { .cs-video__grid--yt[data-n="2"] { grid-template-columns: repeat(2, 1fr); max-width: 660px; } }


/* ---------- Case study cards: wide, full-width row (homepage preview + case studies page) ---------- */
.work__panel { background: none; border-radius: 0; padding: 0; }
.cases { gap: 36px clamp(20px, 2.6vw, 40px); }
.case__media { aspect-ratio: 1 / 1; border-radius: var(--r-lg); }
.case h3 { font-size: var(--step-3); margin: 20px 0 8px; }
.case > p { font-size: 1.02rem; line-height: 1.45; color: var(--plum); max-width: none; }
/* Case Studies page on phones: cards stacked one under another (the homepage preview keeps its swipe row) */
@media (max-width: 639px) {
  .cases:not([data-limit]) { grid-auto-flow: row; grid-template-columns: 1fr; overflow: visible; gap: 44px; }
}

/* Homepage services preview: name + tagline + link, 2 × 2 on wider screens (full details on services.html) */
.services__list--preview .service { display: block; padding: clamp(24px, 3vw, 40px); }
.services__list--preview .service h3 { font-size: var(--step-2); margin: 10px 0 18px; }
@media (min-width: 760px) { .services__list--preview { grid-template-columns: repeat(2, 1fr); } }

/* Case studies without a campaign video: the campaign photo fills the top spot (no overlapping reel) */
.cs-video__shell:not(.has-slides) .cs-video__grid:has(.cs-video__photo) { padding-right: 0; }
.cp-site { display: inline-block; margin-top: 14px; font-size: .9rem; }
.cp-site + .cp-site { margin-left: 18px; }
.cs-meta__links { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.tag--gifting      { background: var(--gold); }
.tag--whitelisting { background: var(--powder); }
/* one creator video (e.g. an Instagram reel): a single phone-sized card, centred */
.cs-video__grid--yt[data-n="1"] { grid-template-columns: 1fr; max-width: 380px; }
/* Phones: stats stack one under another so words like "Unlimited" never get squeezed */
@media (max-width: 599px) {
  .kpis { grid-template-columns: 1fr !important; }
  .kpi { padding: 16px 0; }
  .kpi + .kpi { padding-left: 0; border-left: 0; border-top: 1px solid rgba(40,24,34,.2); }
  .kpis--hero .kpi + .kpi { border-top-color: rgba(244,241,232,.25); }
  .cs-results .kpi__value { font-size: min(var(--step-4), 9vw); }
}

/* Instagram reel shown as just the video: Instagram's player is scaled so the 9:16 video fills the
   card's height, and its header, side bars and like/comment footer are cropped away.
   (Instagram's player: 54px header, then a 4:5 media box with the 9:16 video centred in it.) */
.ig-crop { position: absolute; inset: 0; overflow: hidden; container-type: size; background: var(--plum); }
.ig-crop iframe {
  position: absolute; border: 0;
  top: -54px; left: calc(50% - 40cqh);
  width: 80cqh; height: calc(100cqh + 54px + 400px);
}

/* Clean YouTube Shorts: the player can't be clicked into, so YouTube's title bar and buttons stay hidden */
.yt-clean { pointer-events: none; border: 0; }
/* zoomed in a little so the Shorts overlay YouTube keeps on some videos (name, title, likes, share) falls outside the frame */
.media .yt-clean { inset: auto; left: -17.5%; top: -17.5%; width: 135%; height: 135%; }
.yt-sound {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(244,241,232,.9); color: var(--plum); display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.yt-sound:hover { background: var(--cream); transform: scale(1.06); }
.yt-sound:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }
.yt-sound svg { width: 20px; height: 20px; }
.yt-sound .yt-sound__on { display: none; }
.yt-sound[aria-pressed="true"] .yt-sound__on { display: inline; }
.yt-sound[aria-pressed="true"] .yt-sound__off { display: none; }
