/* ==========================================================
   Stay 8th Day — brand tokens
   ========================================================== */
:root {
  --bg: #F7F2E7;          /* ivory */
  --surface: #EFE7D6;     /* warm sand */
  --forest: #23463F;      /* forest green */
  --deep: #16302B;        /* deep forest */
  --text: #2B2B2B;        /* charcoal */
  --muted: #6B6A63;
  --accent: #C6A565;      /* muted gold */
  --accent-rgb: 198, 165, 101;
  --accent-ink: #9C7C3C;  /* gold dark enough for text on ivory */
  --line: #DCD2BE;
  --ivory-rgb: 247, 242, 231;
  --font: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --tshadow: 0 1px 2px rgba(5,12,10,.9), 0 3px 12px rgba(5,12,10,.65), 0 10px 44px rgba(5,12,10,.6);
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --sec: clamp(88px, 12vw, 168px);
  --ease: cubic-bezier(.22,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html, body { overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--deep);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.005em; }
h1, h2, h3, .statement__text, .stat__nums, .cmp__val, .ring__val, .reach__big, .reel__views, .step__num, .svc__num, .story__quote, .changed__item .big { font-variant-numeric: lining-nums; }
h2 { font-size: clamp(36px, 5.2vw, 64px); }
h3 { font-size: clamp(24px, 2.4vw, 30px); }
em { font-style: italic; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.gold { color: var(--accent); }

/* ---------- small type ---------- */
.eyebrow {
  font-size: 12.5px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500;
  color: var(--accent-ink); margin-bottom: 20px; display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .8; }
.eyebrow--light { color: rgba(var(--ivory-rgb), .88); }
.eyebrow--light::before { background: var(--accent); opacity: 1; }
.eyebrow--gold { color: var(--accent); }
.fineprint { font-size: 13px; color: var(--muted); line-height: 1.55; }
.fineprint--light { color: rgba(var(--ivory-rgb), .62); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font: 500 14px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, color .35s, border-color .35s;
  cursor: pointer; border: 1px solid transparent; text-shadow: none;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 72%, #fff 28%));
  color: var(--deep);
  box-shadow: 0 10px 30px rgba(var(--accent-rgb), .28);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(var(--accent-rgb), .4); }
.btn--ghost { border-color: rgba(var(--ivory-rgb), .55); color: var(--bg); background: rgba(10,20,18,.18); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 12.5px; }
.btn--full { width: 100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--forest); font-weight: 500; text-decoration: none; letter-spacing: .02em;
  border-bottom: 1px solid var(--accent); padding-bottom: 2px;
}
.link-arrow span { transition: transform .35s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ==========================================================
   Signature: the gold figure 8
   ========================================================== */
.eight { display: block; overflow: visible; }
.eight path { fill: none; stroke: var(--accent); stroke-width: 3.2; stroke-linecap: round; }
.eight--mark { width: 18px; height: 29px; }
.eight--mark path { stroke-width: 6.5; }
.eight--lg { width: 30px; height: 48px; margin-bottom: 18px; }
.eight--ghost {
  position: absolute; right: -4vw; top: 6%; width: clamp(260px, 34vw, 520px); height: auto; pointer-events: none;
}
.eight--ghost path { stroke-width: .9; stroke: rgba(var(--accent-rgb), .55); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 3.2s var(--ease); }
.results.in-view .eight--ghost path { stroke-dashoffset: 0; }
.eight--draw { width: 46px; height: 75px; }
.eight--draw path { stroke-width: 2.4; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease) .2s; }
.in .eight--draw path, .eight--draw.in path, html:not(.js) .eight--draw path { stroke-dashoffset: 0; }
.eight--sm { width: 34px; height: 56px; margin-bottom: 18px; }

/* ==========================================================
   Background video layers (home only)
   ========================================================== */
.bg-video { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; will-change: transform; }
.mobile-poster {
  position: fixed; inset: 0; z-index: 0; background: #1a2a33 center / cover no-repeat;
  opacity: 1; transition: opacity .6s ease;
}
body.video-ready .mobile-poster { opacity: 0; }
body.video-failed .bg-video { display: none; }
body.video-failed .mobile-poster { opacity: 1; }
.bg-tint {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,18,16,.72) 0%, rgba(8,18,16,.38) 45%, rgba(8,18,16,.05) 75%),
    linear-gradient(180deg, rgba(8,18,16,.45) 0%, rgba(8,18,16,0) 22%, rgba(8,18,16,0) 70%, rgba(8,18,16,.55) 100%);
}
#page { position: relative; z-index: 10; }
@media (max-width: 768px), (hover: none), (prefers-reduced-motion: reduce) {
  .bg-video { display: none; }
  body.video-ready .mobile-poster { opacity: 1; }
}

/* ==========================================================
   Nav
   ========================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  color: var(--bg);
  transition: background .5s, color .5s, padding .5s, box-shadow .5s;
}
.nav.is-solid {
  background: rgba(var(--ivory-rgb), .92); color: var(--text);
  backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1);
  padding-top: 12px; padding-bottom: 12px; box-shadow: 0 1px 0 var(--line);
}
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.nav__word { font: 500 14px/1 var(--font); letter-spacing: .3em; text-transform: uppercase; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) {
  font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; opacity: .88;
  position: relative; padding: 12px 0;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav__toggle { display: none; }

@media (max-width: 900px) {
  .nav__toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 7px;
    width: 46px; height: 46px; padding: 0 11px; background: none; border: 0; color: inherit; cursor: pointer; position: relative; z-index: 2;
  }
  .nav__toggle span { display: block; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 8px;
    background: var(--deep); color: var(--bg);
    opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  }
  .nav__links a:not(.btn) { font-family: var(--font-head); font-size: 34px; letter-spacing: 0; text-transform: none; padding: 8px 0; }
  .nav__links .btn { margin-top: 24px; }
  .nav.is-open { color: var(--bg); }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav.is-open.is-solid { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px var(--gutter) 110px;
  color: var(--bg);
  position: relative;
}
.hero__copy {
  max-width: 640px; position: relative; text-shadow: var(--tshadow);
  margin-left: max(0px, calc((100vw - var(--wrap)) / 2));
}
.hero__copy::before {
  content: ""; position: absolute; inset: -14% -18% -14% -30%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 70% 62% at 40% 50%, rgba(6,14,12,.6) 0%, rgba(6,14,12,.36) 48%, rgba(6,14,12,0) 78%);
}
.hero__title { font-size: clamp(46px, 7.2vw, 96px); line-height: .98; margin-bottom: 26px; font-weight: 500; }
.hero__title em { color: var(--accent); }
.hero__lede { font-size: clamp(17px, 1.6vw, 20px); max-width: 520px; color: rgba(var(--ivory-rgb), .92); margin-bottom: 38px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  width: 44px; height: 44px; display: grid; place-items: center;
}
.hero__scroll span { width: 1px; height: 40px; background: linear-gradient(var(--accent), transparent); animation: drip 2.8s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 0; } 30% { opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* hero entrance */
.js .hero__copy > * { opacity: 0; transform: translateY(22px); }
.js body.is-loaded .hero__copy > *, .js .is-loaded .hero__copy > * { opacity: 1; transform: none; transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.is-loaded .hero__copy > :nth-child(2) { transition-delay: .12s; }
.is-loaded .hero__copy > :nth-child(3) { transition-delay: .26s; }
.is-loaded .hero__copy > :nth-child(4) { transition-delay: .4s; }

/* ==========================================================
   Pinned statement (sticky, word by word)
   ========================================================== */
.statement { height: 240vh; position: relative; color: var(--bg); }
.statement__inner {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: 0 var(--gutter); text-shadow: var(--tshadow);
}
.statement__inner::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: min(1100px, 110vw); height: 70vh; transform: translate(-50%, -50%); z-index: -1;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(6,14,12,.55), rgba(6,14,12,0) 75%); pointer-events: none;
}
.statement__text { font-family: var(--font-head); font-size: clamp(40px, 6.6vw, 92px); line-height: 1.06; max-width: 15ch; font-weight: 500; }
.statement__text .w { opacity: .14; transition: opacity .25s linear; }
.statement__text .w.on { opacity: 1; }
.statement__note { margin-top: 30px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: rgba(var(--ivory-rgb), .78); }

/* ==========================================================
   Trust line (slow marquee)
   ========================================================== */
.trust { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.trust__track { display: flex; }
.trust__row {
  display: flex; align-items: center; gap: 36px; padding: 26px 18px; white-space: nowrap; flex-shrink: 0;
  font-family: var(--font-head); font-size: clamp(22px, 2.4vw, 30px); color: var(--forest);
  animation: marquee 60s linear infinite;
}
.trust__row i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================
   Generic sections
   ========================================================== */
.section { padding: var(--sec) 0; position: relative; }
.section--ivory { background: var(--bg); }
.section--sand { background: var(--surface); }
.section--forest { background: var(--forest); color: var(--bg); }
.section--deep { background: var(--deep); color: var(--bg); }
.section__head { max-width: 720px; margin-bottom: clamp(48px, 6vw, 80px); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__head--center .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .8; }
.section__lede { margin-top: 22px; font-size: 18px; color: var(--muted); max-width: 560px; }
.section--forest .section__lede, .section--deep .section__lede { color: rgba(var(--ivory-rgb), .75); }

/* entrances */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ==========================================================
   Results
   ========================================================== */
.results { overflow: hidden; }
.results .wrap { position: relative; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  background: #FBF8F1; border: 1px solid var(--line); border-radius: 20px;
  padding: 30px 26px 26px; display: flex; flex-direction: column; gap: 18px;
}
.stat__label { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.stat__bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; border-bottom: 1px solid var(--line); }
.bar { width: 34px; height: 100%; border-radius: 8px 8px 2px 2px; transform-origin: bottom; transform: scaleY(var(--h)); transition: transform 1.6s var(--ease); }
.bar--before { background: var(--forest); opacity: .85; }
.bar--after { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 70%, #fff 30%), var(--accent)); transition-delay: .25s; }
.js .stat:not(.in) .bar { transform: scaleY(0.02); }
.stat__nums { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.stat__before { font-family: var(--font-head); font-size: 26px; color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(107,106,99,.45); text-decoration-thickness: 1px; }
.stat__arrow { color: var(--accent); }
.stat__after { font-family: var(--font-head); font-size: clamp(44px, 4.4vw, 58px); line-height: 1; color: var(--forest); font-weight: 600; }
.stat__chip {
  align-self: flex-start; margin-top: auto;
  background: var(--deep); color: var(--accent); border-radius: 999px; padding: 7px 14px;
  font-size: 13px; font-weight: 500; letter-spacing: .04em;
}
.stat--feature { background: var(--deep); border-color: var(--deep); color: var(--bg); position: relative; overflow: hidden; }
.stat--feature::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -80px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .28), transparent 70%);
  animation: glow 7s ease-in-out infinite; animation-delay: -3s; pointer-events: none;
}
@keyframes glow { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }
.stat--feature .stat__label { color: rgba(var(--ivory-rgb), .7); }
.stat--feature .stat__bars { border-color: rgba(var(--ivory-rgb), .18); }
.stat--feature .bar--before { background: rgba(var(--ivory-rgb), .35); }
.stat--feature .stat__before { color: rgba(var(--ivory-rgb), .6); }
.stat--feature .stat__after { color: var(--accent); }
.stat--feature .stat__chip { background: var(--accent); color: var(--deep); }
.stats .stat:nth-child(2) { transition-delay: .1s; }
.stats .stat:nth-child(3) { transition-delay: .2s; }
.stats .stat:nth-child(4) { transition-delay: .3s; }
.results__foot { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.results__foot .fineprint { max-width: 520px; }

/* ==========================================================
   Services
   ========================================================== */
.services__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.services__media { position: sticky; top: 110px; }
.services__media img { border-radius: 22px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; height: auto; box-shadow: 0 40px 90px rgba(0,0,0,.35); }
.services__caption { margin-top: 16px; font-size: 13px; color: rgba(var(--ivory-rgb), .6); letter-spacing: .04em; }
.services .section__head { margin-bottom: 40px; }
.svc { list-style: none; margin: 0; padding: 0; }
.svc__item {
  display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 30px 0;
  border-top: 1px solid rgba(var(--ivory-rgb), .16);
}
.svc__item:last-child { border-bottom: 1px solid rgba(var(--ivory-rgb), .16); }
.svc__num { font-family: var(--font-head); font-size: 22px; color: var(--accent); line-height: 1.4; }
.svc__item h3 { margin-bottom: 10px; }
.svc__item p { color: rgba(var(--ivory-rgb), .76); max-width: 480px; }
.svc__item { transition: padding-left .5s var(--ease), opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.svc__item:hover { padding-left: 8px; }

/* ==========================================================
   Reach (window onto the video's final frame)
   ========================================================== */
.reach { padding: clamp(120px, 18vw, 240px) 0; color: var(--bg); }
.glass {
  position: relative; overflow: hidden;
  background: rgba(12,26,23,.52);
  border: 1px solid rgba(var(--accent-rgb), .25);
  backdrop-filter: blur(22px) saturate(1.15); -webkit-backdrop-filter: blur(22px) saturate(1.15);
  box-shadow: 0 30px 90px rgba(0,0,0,.35); border-radius: 28px;
}
.glass::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, rgba(255,255,255,.07), transparent 40%, rgba(var(--accent-rgb), .06)); }
.glass > * { position: relative; z-index: 2; }
.reach__panel { max-width: 900px; margin: 0 auto; padding: clamp(36px, 6vw, 72px); text-align: center; }
.reach__panel .eyebrow { justify-content: center; }
.reach__panel h2 em { color: var(--accent); }
.reach__lede { margin: 22px auto 0; max-width: 580px; color: rgba(var(--ivory-rgb), .82); }
.reach__nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 48px 0 32px; }
.reach__nums > div { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 22px; border-top: 1px solid rgba(var(--accent-rgb), .35); }
.reach__big { font-family: var(--font-head); font-size: clamp(36px, 4.6vw, 58px); line-height: 1; color: var(--bg); font-variant-numeric: lining-nums; }
.reach__lbl { font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }

/* ==========================================================
   How it works
   ========================================================== */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); position: relative; }
.steps::before {
  content: ""; position: absolute; top: 31px; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 12%, var(--accent) 88%, transparent);
  transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease) .3s;
}
.steps.in-view::before, html:not(.js) .steps::before { transform: scaleX(1); }
.step { text-align: center; position: relative; }
.step__num {
  width: 62px; height: 62px; margin: 0 auto 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--bg); border: 1px solid var(--accent);
  font-family: var(--font-head); font-size: 26px; color: var(--forest); position: relative;
}
.step h3 { margin-bottom: 12px; }
.step p { color: var(--muted); max-width: 320px; margin: 0 auto; }
.steps .step:nth-child(2) { transition-delay: .15s; }
.steps .step:nth-child(3) { transition-delay: .3s; }

/* ==========================================================
   Properties
   ========================================================== */
.props { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; }
.prop {
  text-decoration: none; color: inherit; border-radius: 24px; overflow: hidden; background: var(--bg);
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), opacity 1.1s var(--ease);
}
.prop:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(22,48,43,.16); }
.prop__img { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.prop__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.prop:hover .prop__img img { transform: scale(1.04); }
.prop__tag {
  position: absolute; left: 18px; top: 18px; padding: 8px 14px; border-radius: 10px;
  background: rgba(8,18,16,.58); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--accent); font-size: 13px; font-weight: 500; letter-spacing: .04em;
}
.prop__body { padding: 26px 28px 28px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.prop__body p { color: var(--muted); margin-top: 6px; }
.prop__go { color: var(--forest); font-weight: 500; font-size: 15px; white-space: nowrap; border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.prop--next {
  background: var(--forest); border-color: var(--forest); color: var(--bg);
  padding: clamp(32px, 4vw, 48px); justify-content: flex-end; gap: 14px; min-height: 360px;
}
.prop--next .eight--draw { margin-bottom: auto; }
.prop--next p { color: rgba(var(--ivory-rgb), .75); }
.prop--next .prop__go { color: var(--accent); align-self: flex-start; margin-top: 10px; }

/* ==========================================================
   Who we work with
   ========================================================== */
.who__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(var(--ivory-rgb), .14); border: 1px solid rgba(var(--ivory-rgb), .14); border-radius: 24px; overflow: hidden; }
.who__card { background: var(--deep); padding: clamp(32px, 4vw, 52px); transition: background .6s, opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.who__card:hover { background: #1b3832; }
.who__card h3 { color: var(--accent); margin-bottom: 14px; }
.who__card p { color: rgba(var(--ivory-rgb), .76); }
.who__grid .who__card:nth-child(2) { transition-delay: .12s; }
.who__grid .who__card:nth-child(3) { transition-delay: .24s; }

/* ==========================================================
   Contact
   ========================================================== */
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__facts { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 16px; }
.contact__facts li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.contact__facts span { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact__facts a { color: var(--forest); font-weight: 500; text-decoration-color: var(--accent); text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; margin-top: -10px; }
.contact__img { margin-top: 40px; border-radius: 22px; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 70%; width: 100%; height: auto; }
.contact__panel { background: #FBF8F1; border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 4vw, 48px); box-shadow: 0 30px 80px rgba(22,48,43,.08); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.form small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.form input, .form select, .form textarea {
  font: 400 16px/1.4 var(--font); color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; min-height: 50px; width: 100%; transition: border-color .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239C7C3C' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .18); }
.form .is-invalid { border-color: #A6503C; }
.form__error { color: #A6503C; font-size: 14px; }
.form__note { font-size: 13px; color: var(--muted); text-align: center; }
.form__note a { color: var(--forest); }
.form__success { text-align: center; padding: 40px 10px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.form__success[hidden] { display: none; }
.form__success h3 { font-size: 40px; color: var(--forest); }
.form__success p { color: var(--muted); max-width: 400px; }

/* ==========================================================
   Footer
   ========================================================== */
.footer { background: var(--deep); color: rgba(var(--ivory-rgb), .78); padding: 96px 0 40px; position: relative; z-index: 10; border-top: 1px solid rgba(var(--accent-rgb), .25); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__word { font: 500 16px/1 var(--font); letter-spacing: .32em; text-transform: uppercase; color: var(--accent); }
.footer__slogan { margin-top: 14px; font-family: var(--font-head); font-style: italic; font-size: 24px; color: var(--bg); }
.footer__h { font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.footer__col { display: flex; flex-direction: column; gap: 4px; }
.footer__col a { text-decoration: none; min-height: 36px; display: inline-flex; align-items: center; transition: color .3s; }
.footer__col a:hover { color: var(--accent); }
.footer__legal { margin-top: 70px; padding-top: 24px; border-top: 1px solid rgba(var(--ivory-rgb), .12); font-size: 13px; color: rgba(var(--ivory-rgb), .5); }

/* ==========================================================
   Case-study page
   ========================================================== */
.page-case { background: var(--bg); }
.page-case .nav:not(.is-solid) { color: var(--bg); }
.case-hero {
  position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: flex-end;
  padding: 140px var(--gutter) clamp(60px, 9vw, 110px); color: var(--bg); overflow: hidden; background: var(--deep);
}
.case-hero__img { position: absolute; inset: 0; z-index: 0; }
.case-hero__img img { width: 100%; height: 100%; object-fit: cover; animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.06); } }
.case-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,18,16,.5) 0%, rgba(8,18,16,.05) 35%, rgba(8,18,16,.25) 60%, rgba(8,18,16,.82) 100%);
}
.case-hero__copy { position: relative; z-index: 2; max-width: var(--wrap); width: 100%; margin: 0 auto; text-shadow: var(--tshadow); }
.case-hero__copy h1 { font-size: clamp(52px, 8.4vw, 116px); line-height: .95; margin-bottom: 20px; }
.case-hero__copy p.lede { font-size: clamp(17px, 1.6vw, 21px); max-width: 560px; color: rgba(var(--ivory-rgb), .9); }
.case-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip {
  padding: 9px 16px; border-radius: 999px; font-size: 13px; letter-spacing: .06em; text-shadow: none;
  background: rgba(8,18,16,.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(var(--accent-rgb), .35); color: var(--bg);
}

.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.story__text p + p { margin-top: 18px; }
.story__text p { color: var(--muted); font-size: 18px; }
.story__quote { font-family: var(--font-head); font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; color: var(--forest); }
.story__quote span { color: var(--accent-ink); }

.compare { display: grid; gap: 22px; }
.cmp { display: grid; grid-template-columns: 220px 1fr; gap: clamp(20px, 4vw, 60px); align-items: center; padding: 34px 0; border-top: 1px solid var(--line); }
.cmp:last-child { border-bottom: 1px solid var(--line); }
.cmp__head h3 { color: var(--forest); }
.cmp__head p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.cmp__rows { display: grid; gap: 14px; }
.cmp__row { display: grid; grid-template-columns: 110px 1fr 110px; gap: 18px; align-items: center; }
.cmp__when { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.cmp__row--after .cmp__when { color: var(--accent-ink); }
.cmp__track { height: 14px; border-radius: 999px; background: var(--surface); overflow: hidden; }
.cmp__fill { height: 100%; width: 100%; border-radius: 999px; transform-origin: left; transform: scaleX(var(--w)); transition: transform 1.8s var(--ease); background: var(--forest); }
.cmp__row--after .cmp__fill { background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #fff 30%)); transition-delay: .25s; }
.js .cmp:not(.in) .cmp__fill { transform: scaleX(0.01); }
.cmp__val { font-family: var(--font-head); font-size: 30px; line-height: 1; color: var(--forest); text-align: right; }
.cmp__row--after .cmp__val { color: var(--accent-ink); font-weight: 600; }
.cmp__delta { grid-column: 2 / -1; justify-self: start; }

.rings { display: flex; gap: clamp(24px, 5vw, 70px); justify-content: center; }
.ring { text-align: center; }
.ring svg { width: clamp(130px, 16vw, 180px); height: auto; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3.2; }
.ring .ring__bg { stroke: var(--surface); }
.ring .ring__fg { stroke: var(--forest); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p)); transition: stroke-dashoffset 2s var(--ease); }
.ring--after .ring__fg { stroke: var(--accent); transition-delay: .3s; }
.js .rings:not(.in) .ring__fg { stroke-dashoffset: 100; }
.ring__val { font-family: var(--font-head); font-size: 40px; color: var(--forest); margin-top: -2px; line-height: 1; }
.ring--after .ring__val { color: var(--accent-ink); font-weight: 600; }
.ring__cap { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

.changed { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.changed__item { border: 1px solid rgba(var(--ivory-rgb), .16); border-radius: 22px; padding: clamp(28px, 3.4vw, 40px); background: rgba(255,255,255,.02); }
.changed__item h3 { color: var(--accent); margin-bottom: 12px; }
.changed__item p { color: rgba(var(--ivory-rgb), .78); }
.changed__item .big { font-family: var(--font-head); font-size: 34px; color: var(--bg); margin-top: 16px; line-height: 1.1; }

.reels { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reel { border-top: 1px solid rgba(var(--accent-rgb), .4); padding-top: 18px; }
.reel__src { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.reel__views { font-family: var(--font-head); font-size: 44px; color: var(--bg); line-height: 1.1; margin: 6px 0 10px; }
.reel__meta { color: rgba(var(--ivory-rgb), .7); font-size: 15px; }

.gallery { columns: 3 300px; column-gap: 16px; }
.gallery button { display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 16px; overflow: hidden; break-inside: avoid; }
.gallery img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.gallery button:hover img { transform: scale(1.03); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,18,16,.94); display: grid; place-items: center; padding: 60px 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1400px, 100%); max-height: 86vh; border-radius: 12px; }
.lightbox__close { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(var(--accent-rgb), .5); background: transparent; color: var(--bg); font-size: 26px; cursor: pointer; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(var(--accent-rgb), .5); background: rgba(8,18,16,.4); color: var(--bg); font-size: 22px; cursor: pointer; }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }

.cta-band { background: var(--deep); color: var(--bg); text-align: center; padding: var(--sec) var(--gutter); position: relative; overflow: hidden; }
.cta-band h2 { max-width: 16ch; margin: 0 auto 22px; }
.cta-band p { color: rgba(var(--ivory-rgb), .76); max-width: 520px; margin: 0 auto 36px; }
.cta-band .eight--draw { margin: 0 auto 30px; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .reach__nums { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
}
@media (max-width: 900px) {
  .services__grid, .contact__grid, .story { grid-template-columns: 1fr; }
  .services__media { position: relative; top: 0; }
  .contact__img { display: none; }
  .services__media img { aspect-ratio: 4 / 3; }
  .props { grid-template-columns: 1fr; }
  .prop--next { min-height: 0; }
  .who__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .steps::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .changed, .reels { grid-template-columns: 1fr; }
  .cmp { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 768px), (hover: none), (prefers-reduced-motion: reduce) {
  .statement { height: auto; }
  .statement__inner { position: relative; height: auto; min-height: 80vh; min-height: 80svh; padding-top: 80px; padding-bottom: 80px; }
  .statement__text .w { opacity: 1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { align-items: flex-end; padding-bottom: 96px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .stats { grid-template-columns: 1fr; }
  .stat__bars { height: 80px; }
  .form__row { grid-template-columns: 1fr; }
  .cmp__row { grid-template-columns: 74px 1fr 84px; gap: 12px; }
  .cmp__val { font-size: 24px; }
  .rings { gap: 18px; }
  .ring__val { font-size: 32px; }
  .footer__grid { grid-template-columns: 1fr; }
  .eight--ghost { opacity: .5; }
  .lightbox__nav { top: auto; bottom: 16px; transform: none; }
}

/* ==========================================================
   Reduced motion: final states, no movement
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .hero__copy > * { opacity: 1 !important; transform: none !important; }
  .js .stat:not(.in) .bar { transform: scaleY(var(--h)); }
  .js .cmp:not(.in) .cmp__fill { transform: scaleX(var(--w)); }
  .js .rings:not(.in) .ring__fg { stroke-dashoffset: calc(100 - var(--p)); }
  .eight--ghost path, .eight--draw path { stroke-dashoffset: 0; }
  .steps::before { transform: scaleX(1); }
}

.changed__item--wide { grid-column: 1 / -1; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }
