/* O'Content — design tokens
   Light editorial base + black cinematic sections, logo crimson accent. */
:root {
  --paper: #f4f5f7;
  --white: #ffffff;
  --ink: #0b0b0c;
  --ink-2: #151517;
  --ink-3: #1d1d20;
  --grey-1: #e6e8ec;
  --grey-2: #c9ced5;
  --grey-text: #565b63;
  --red: #ec2245;      /* logo crimson: shapes, large type, dark surfaces */
  --red-ink: #d4143a;  /* text-bearing fills (white text 5.3:1) */
  --red-text: #ff5a76; /* small red text on dark surfaces (4.7:1+) */
  --on-dark: #f4f5f7;
  --on-dark-2: #a9aeb6;

  --serif: "Newsreader", "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;

  --rail: 72px;
  --gut: clamp(20px, 5vw, 72px);
  --sec: clamp(88px, 12vw, 168px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --r: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
  cursor: url("../assets/img/cursor-logo.png") 6 6, auto;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 8px; transition: top .2s; }
.skip:focus { top: 12px; }
main, .foot { margin-left: var(--rail); }

/* ── Type ─────────────────────────────────────── */
.display {
  font-family: var(--serif); font-weight: 500; letter-spacing: -.022em;
  line-height: 1; font-size: clamp(2.6rem, 6.4vw, 6.25rem);
  font-variation-settings: "opsz" 72; text-wrap: balance;
}
.display em { font-style: italic; font-weight: 400; }
.dot { color: var(--red); font-weight: 600; }
.eyebrow { display: flex; align-items: center; gap: 18px; font: 500 .75rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.eyebrow i { width: 44px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--on-dark); }

/* ── Buttons ──────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px;
  font: 500 .875rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--red-ink); }
.btn--line { border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--red { background: var(--red-ink); color: #fff; }
.btn--red:hover { background: #fff; color: var(--ink); }

/* ── Rail / header ────────────────────────────── */
.rail {
  position: fixed; inset: 0 auto 0 0; width: var(--rail); z-index: 100;
  background: var(--ink); display: flex; flex-direction: column; align-items: center;
  padding: 22px 0; gap: 26px;
}
.rail__logo { width: 42px; display: block; }
.rail__logo:hover { opacity: .85; }
.rail__menu {
  width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px;
}
.rail__menu span { display: block; width: 22px; height: 2px; background: #fff; transition: transform .35s var(--ease), width .3s; }
.rail__menu span:last-child { width: 14px; align-self: center; }
.rail__menu:hover span:last-child { width: 22px; }
.rail__menu[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.rail__menu[aria-expanded="true"] span:last-child { width: 22px; transform: translateY(-4.5px) rotate(-45deg); }
.rail__talk {
  position: fixed; top: 20px; right: 24px; z-index: 100; min-height: 44px; display: inline-flex; align-items: center;
  padding: 0 24px; background: var(--red-ink); color: #fff; border-radius: 999px;
  font: 500 .8125rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; transition: background .25s;
}
.rail__talk:hover { background: var(--ink); }
.rail__year {
  margin-top: auto; writing-mode: vertical-rl; transform: rotate(180deg);
  font: 500 .6875rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-2);
}
.rail__tab {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font: 500 .6875rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-2);
  padding: 2px 0; transition: color .2s;
}
.rail__tab:hover { color: var(--red-text); }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--on-dark);
  padding: 120px var(--gut) 48px calc(var(--rail) + var(--gut));
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--ease), visibility 0s .7s;
}
.menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
.menu__list { display: grid; gap: clamp(4px, 1.4vh, 14px); }
.menu__list a {
  display: flex; align-items: baseline; gap: 22px; font: 500 clamp(2rem, min(7vw, 8.4vh), 5.5rem)/1.08 var(--serif);
  letter-spacing: -.02em; padding: 4px 0; transition: color .25s, transform .4s var(--ease);
}
.menu__list a span { font: 500 .75rem/1 var(--sans); letter-spacing: .2em; color: var(--red-text); min-width: 2ch; }
.menu__list a:hover { color: var(--red); transform: translateX(12px); }
.menu__foot { font-size: .9375rem; color: var(--on-dark-2); }

/* ── 1 · Hero (three slides, crossfade) ───────── */
.hero { position: relative; background: var(--white); overflow: hidden; }
.hero__stage { --stage-h: max(680px, calc(100svh - 150px)); position: relative; display: grid; min-height: var(--stage-h); overflow: hidden; background: var(--white); touch-action: pan-y; }
/* the outgoing slide stays fully opaque underneath while the incoming one fades in, so there is never a white dip */
.slide { grid-area: 1 / 1; position: relative; z-index: 1; overflow: hidden; visibility: hidden; opacity: 0; transition: opacity 0s .95s, visibility 0s .95s; }
.slide.is-leaving { z-index: 2; }
.slide.is-active { z-index: 3; visibility: visible; opacity: 1; transition: opacity .95s var(--ease), visibility 0s; }

.line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line > span { display: inline-block; }
.slide__title { margin: 26px 0 24px; font-size: clamp(2.9rem, 5.2vw, 5.6rem); }
.slide__lede { max-width: 30rem; color: var(--grey-text); font-size: 1.125rem; }
.slide__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* slide 1 · Hero-1 execution reference: split panels, video centre */
/* the video panel is sized to the portraits (about 0.9 wide : 1 tall) so there is almost no empty grey around them */
.slide--split { display: grid; grid-template-columns: minmax(0, 1fr) calc(var(--stage-h) * .9); padding-right: 92px; background: var(--white); }
.sp__left { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(96px, 14vh, 140px) 30px 36px var(--gut); }
.sp__title { margin: 22px 0 16px; font: 500 clamp(2.5rem, 3.8vw, 4.4rem)/1.02 var(--serif); letter-spacing: -.026em; font-variation-settings: "opsz" 72; }
.sp__lede { max-width: 22rem; color: var(--grey-text); font-size: 1rem; }
.sp__rows { margin-top: auto; padding-top: 22px; width: 100%; }
.sp__rows li + li { margin-top: 0; }
.sp__rows a { display: flex; flex-direction: column; gap: 4px; padding: 11px 0 12px; border-top: 2px solid var(--ink); transition: border-color .25s; }
.sp__rows a:hover { border-color: var(--red-ink); }
.sp__rows b { font: 600 .8125rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.sp__rows span { font-size: .9375rem; line-height: 1.4; color: var(--grey-text); }
.sp__media { position: relative; margin: 0; overflow: hidden; background: #dcdcdc; }
/* in the source the portraits sit at roughly 53-93% across the frame; this window frames them with an even margin */
.sp__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 96% 50%; }
.sp__count { position: absolute; z-index: 2; left: 24px; top: clamp(96px, 14vh, 130px); display: flex; align-items: center; gap: 12px; color: #fff; mix-blend-mode: difference; font: 300 clamp(1.6rem, 2.2vw, 2.4rem)/1 var(--sans); letter-spacing: .02em; }
.sp__count i { width: 46px; height: 1px; background: currentColor; }
.sp__play { position: absolute; z-index: 3; right: 16px; bottom: 78px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; box-shadow: 0 6px 20px rgba(11, 11, 12, .25); transition: transform .25s var(--ease), background .2s; }
.sp__play:hover { transform: scale(1.08); background: var(--grey-1); }
.sp__play .i-play { display: none; }
.sp__play[data-playing="false"] .i-pause { display: none; }
.sp__play[data-playing="false"] .i-play { display: block; }
.sp__bar { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; }
.sp__bar a { display: flex; flex-direction: column; gap: 3px; padding: 16px 18px; color: #fff; font: 400 .8125rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; transition: filter .25s; }
.sp__bar a:hover { filter: brightness(1.15); }
.sp__bar a:first-child { background: #2b2b30; }
.sp__bar a:last-child { background: var(--red-ink); }
.sp__bar span { font-weight: 600; letter-spacing: .14em; }

/* slide 2 · Hero-2 execution reference: white editorial, photo right, no overlays */
.slide--edit { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); background: var(--white); }
.slide--edit::before { content: ""; position: absolute; inset: 0 0 0 52.5%; background: linear-gradient(90deg, #fff 0%, #eef0f2 40%, #e3e6ea 100%); }
.ed__copy { position: relative; z-index: 2; align-self: center; padding: clamp(96px, 14vh, 150px) var(--gut) 72px; }
.ed__photo { position: relative; margin: 0; overflow: hidden; }
.ed__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 30%; filter: grayscale(1) contrast(1.06); mix-blend-mode: multiply; }

/* slide 3 · poster style: full-bleed runner photo, text over the mist */
.slide--poster { background: #dedede; color: var(--ink); }
.po__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.slide--poster::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(228,228,228,.9) 0%, rgba(228,228,228,0) 48%), linear-gradient(0deg, rgba(11,11,12,.78) 0%, rgba(11,11,12,0) 40%); }
.po__copy { position: relative; z-index: 2; max-width: 30rem; padding: clamp(96px, 14vh, 140px) 0 clamp(56px, 9vh, 100px) var(--gut); }
.po__title { margin: 22px 0 16px; font: 500 clamp(1.9rem, 3vw, 3.2rem)/1.08 var(--serif); letter-spacing: -.022em; text-wrap: balance; }
.po__lede { margin: 0 0 24px; max-width: 27rem; color: var(--grey-text); font-size: 1.0625rem; line-height: 1.6; }
.po__link { display: inline-flex; align-items: center; min-height: 44px; font: 500 .9375rem/1.3 var(--sans); border-bottom: 2px solid var(--red-ink); padding-bottom: 2px; }
.po__link::after { content: "\2192"; margin-left: 10px; transition: transform .3s var(--ease); }
.po__link:hover::after { transform: translateX(6px); }

/* entrance choreography — restarts each time a slide becomes active */
.js .slide .line > span { transform: translateY(105%); }
.js .slide.is-active .line > span { animation: rise .95s var(--ease) .3s forwards; }
.js .slide.is-active .line:nth-child(2) > span { animation-delay: .4s; }
.js .slide.is-active .line:nth-child(3) > span { animation-delay: .5s; }
.js .slide .rv { opacity: 0; transform: translateY(22px); }
.js .slide.is-active .rv { animation: rv .8s var(--ease) calc(.5s + var(--d, 0s)) forwards; }
.js .slide .ed__photo img, .js .slide .po__img, .js .slide .sp__video { opacity: 0; transform: scale(1.07); }
.js .slide.is-active .ed__photo img, .js .slide.is-active .po__img, .js .slide.is-active .sp__video { animation: imgin 1.5s var(--ease) .15s forwards; }
.js .slide .sp__bar, .js .slide .sp__count { opacity: 0; }
.js .slide.is-active .sp__bar, .js .slide.is-active .sp__count { animation: rv .8s var(--ease) .8s forwards; }
/* the leaving slide holds its finished look while it is covered */
.js .slide.is-leaving .line > span, .js .slide.is-leaving .rv, .js .slide.is-leaving .sp__bar, .js .slide.is-leaving .sp__count,
.js .slide.is-leaving .ed__photo img, .js .slide.is-leaving .po__img, .js .slide.is-leaving .sp__video { opacity: 1; transform: none; animation: none; }
/* outgoing text clears quickly so it never muddies the incoming headline */
.js .slide.is-leaving .rv, .js .slide.is-leaving .line > span { opacity: 0; transition: opacity .4s ease; }
@keyframes rise { to { transform: none; } }
@keyframes rv { to { opacity: 1; transform: none; } }
@keyframes imgin { to { opacity: 1; transform: none; } }

/* controls */
.hero__ui {
  position: absolute; z-index: 6; right: 20px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 6px;
  background: #fff; color: var(--ink); border-radius: 999px; box-shadow: 0 10px 34px rgba(11, 11, 12, .22);
}
.ui-btn, .hero__dot { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; }
.ui-btn:hover { background: var(--grey-1); }
.hero__dot { position: relative; font: 500 .75rem/1 var(--sans); letter-spacing: .1em; color: var(--grey-text); }
.hero__dot::before, .hero__dot::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 7px; height: 2px; border-radius: 2px; }
.hero__dot::before { background: var(--grey-1); }
.hero__dot.is-active { color: var(--ink); }
.hero__dot.is-active::after { background: var(--red-ink); transform-origin: left; animation: prog 7s linear forwards; }
.hero.is-held .hero__dot.is-active::after { animation-play-state: paused; }
@keyframes prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__pause .i-play { display: none; }
.hero__pause[data-paused="true"] .i-pause { display: none; }
.hero__pause[data-paused="true"] .i-play { display: block; }
.hero__ui .ui-btn:focus-visible, .hero__dot:focus-visible { outline-offset: -2px; }

/* the reference's three-tile strip */
/* ── Video card (Clients, Showreel) ───────────── */
.vid { position: relative; overflow: hidden; border-radius: var(--r); background: #1c1c1c; isolation: isolate; }
.vid video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vid__play { position: absolute; z-index: 2; right: 16px; bottom: 16px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; box-shadow: 0 6px 20px rgba(11, 11, 12, .25); transition: transform .25s var(--ease), background .2s; }
.vid__play:hover { transform: scale(1.08); background: var(--grey-1); }
.vid__play .i-play { display: none; }
.vid__play[data-playing="false"] .i-pause { display: none; }
.vid__play[data-playing="false"] .i-play { display: block; }

/* ── 1b · Clients ──────────────────────────────── */
.clients { background: var(--paper); }
.clients__head { max-width: 44rem; margin: 0 auto; padding: clamp(48px, 7vw, 88px) var(--gut) clamp(32px, 5vw, 48px); text-align: center; }
.clients__head .eyebrow { justify-content: center; }
.clients__head .display { margin: 22px 0 16px; font-size: clamp(2.2rem, 4.6vw, 4.2rem); }
.clients__p { color: var(--grey-text); font-size: 1.0625rem; }
#clients-title em { color: var(--red-ink); }
/* the backdrop's own height is fixed by its own aspect-ratio (independent of the video's width), so shrinking
   the video just makes the logos read smaller against an unchanged backdrop -- both share the same #323232
   fill so the smaller video reads as part of one continuous band, not a separate inset card. Crop verified
   against extracted source frames (scratchpad/clients_native_8s.png + crop_sim_1.png) */
.clients__reel { background: #323232; aspect-ratio: 4.7; display: flex; align-items: center; justify-content: center; }
.vid--clients { max-width: 78%; width: 78%; margin: 0 auto; aspect-ratio: 4.7; background: #323232; border-radius: 0; box-shadow: none; }
/* the source clip has a "Clients" title burned in near the top of every frame, plus dead black margin above and
   below the logo rows; this crop keeps just the two logo rows, tightly trimmed, dropping the title and the
   empty margin that made the band feel too tall */
.vid--clients video { object-position: 50% 64%; }

/* ── 4 · Watch the work (portfolio showreel) ──── */
.watch { background: var(--paper); padding: clamp(48px, 7vw, 88px) var(--gut); text-align: center; }
.watch .eyebrow { justify-content: center; }
.watch__title { margin: 22px 0 clamp(28px, 4vw, 48px); }
.reel-wrap { max-width: 960px; margin: 0 auto; }
.vid--reel { aspect-ratio: 16 / 9; cursor: pointer; }
.vid__ytlink { position: absolute; z-index: 2; left: 16px; bottom: 16px; padding: 8px 16px; border-radius: 999px; background: rgba(11,11,12,.55); color: #fff; font: 500 .75rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: opacity .25s var(--ease), transform .25s var(--ease); pointer-events: none; }
.vid--reel:hover .vid__ytlink, .vid--reel:focus-visible .vid__ytlink { opacity: 1; transform: translateY(0); }

/* ── Proof numbers (now embedded inside the Why section) ─ */
.proof__list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.proof__list li { padding: 28px 24px 0 0; display: flex; flex-direction: column; gap: 6px; }
.proof__list li + li { padding-left: 24px; border-left: 1px solid var(--grey-2); }
.num { font: 500 clamp(2.8rem, 6vw, 5.5rem)/1 var(--serif); letter-spacing: -.03em; font-variant-numeric: tabular-nums lining-nums; }
.proof__list span { color: var(--grey-text); font-size: .9375rem; }

/* ── Section heads ────────────────────────────── */
.sec-head { padding: var(--sec) var(--gut) clamp(48px, 6vw, 88px); max-width: 1180px; }
.sec-head .display { margin: 28px 0 24px; }
.sec-head__p { max-width: 36rem; color: var(--grey-text); font-size: 1.125rem; }
.sec-head--dark { color: var(--on-dark); }
.sec-head--dark .sec-head__p { color: var(--on-dark-2); }
#svc-title em { color: var(--red-ink); }

/* ── 3 · Case studies (scroll-scrubbed) ───────── */
.cases { background: var(--ink); color: var(--on-dark); position: relative; }
#cases-title em { color: var(--red-text); }
.case { position: relative; --e: 1; --t: 1; }
.case__pin { position: relative; min-height: 100svh; display: block; overflow: hidden; }
.case__media { position: absolute; inset: 0; overflow: hidden; background: var(--ink-3); }
.case__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); }
.case__tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,12,.15) 0%, rgba(11,11,12,.25) 40%, rgba(11,11,12,.88) 100%); }
.case__text { position: relative; z-index: 2; min-height: 100svh; padding: 0 var(--gut) clamp(40px, 8vh, 96px); display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; max-width: 980px; }
.case__meta { font: 500 .75rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-2); }
.case__meta span { color: var(--red-text); margin-right: 14px; }
.case__name { font: 500 clamp(1.4rem, 2.4vw, 2rem)/1.1 var(--serif); letter-spacing: -.01em; }
.case__metric { font: 400 clamp(1.4rem, 3vw, 2.4rem)/1.15 var(--serif); font-style: italic; color: var(--on-dark); }
.case__metric b { display: block; font: 500 clamp(4rem, 12vw, 11rem)/.92 var(--serif); font-style: normal; letter-spacing: -.045em; color: #fff; margin-bottom: 4px; }
.case__insight { max-width: 34rem; color: var(--on-dark-2); font-size: 1.0625rem; }
/* designed panels for cases without a usable photo */
.case--panel .case__media { background: var(--ink-3); }
.case--red .case__media { background: var(--red-ink); }
.case__ghost { position: absolute; right: -2vw; top: 6vh; font: 500 clamp(8rem, 24vw, 26rem)/1 var(--serif); font-style: italic; letter-spacing: -.05em; color: rgba(255,255,255,.07); white-space: nowrap; }
.case--red .case__ghost { color: rgba(255,255,255,.16); }
.case--red .case__meta, .case--red .case__insight { color: #fff; }
.case--red .case__meta span { color: #fff; }
.cases__note { padding: 40px var(--gut) 56px; max-width: 46rem; font-size: .875rem; color: var(--on-dark-2); }

/* scrub mode (JS + motion allowed) */
.js-motion .case { height: 235svh; }
.js-motion .case__pin { position: sticky; top: 0; height: 100svh; min-height: 0; }
.js-motion .case__media {
  clip-path: inset(calc((1 - var(--e)) * 14%) calc((1 - var(--e)) * 28%) calc((1 - var(--e)) * 14%) calc((1 - var(--e)) * 28%) round calc((1 - var(--e)) * 22px));
  will-change: clip-path;
}
.js-motion .case__media img { transform: scale(calc(1.32 - .32 * var(--e))); will-change: transform; }
.js-motion .case__ghost { transform: translateX(calc((1 - var(--e)) * 14vw)); }
.js-motion .case__tint { opacity: var(--t); }
.js-motion .case__text { height: 100svh; opacity: var(--t); transform: translateY(calc((1 - var(--t)) * 36px)); }

/* ── 4 · Services (sticky stack) ──────────────── */
.services { background: var(--paper); padding-bottom: var(--sec); }
.stack { padding: 0 var(--gut); }
.svc {
  position: sticky; top: calc(88px + var(--i) * 30px);
  display: grid; grid-template-columns: 90px minmax(0, 1.2fr) minmax(0, 1fr); grid-template-areas: "n t p" "n t tags";
  column-gap: clamp(20px, 4vw, 64px); row-gap: 18px; align-content: center;
  min-height: min(64vh, 520px); margin-bottom: 26px; padding: clamp(28px, 4vw, 56px);
  background: var(--ink-2); color: var(--on-dark); border-radius: var(--r); box-shadow: 0 -18px 40px rgba(11,11,12,.22);
}
.svc:nth-child(2) { background: var(--ink-3); }
.svc:nth-child(3) { background: #232327; }
.svc:nth-child(4) { background: #2a2a2f; }
.svc--red { background: var(--red-ink) !important; }
.svc__n { grid-area: n; font: 500 .8125rem/1 var(--sans); letter-spacing: .2em; color: var(--red-text); padding-top: .8em; }
.svc--red .svc__n { color: #fff; }
.svc__t { grid-area: t; font: 600 clamp(2.4rem, 5.2vw, 5rem)/1 var(--serif); letter-spacing: -.028em; align-self: start; }
.svc__t span { display: block; font-weight: 400; font-style: italic; color: var(--on-dark-2); }
.svc--red .svc__t span { color: rgba(255,255,255,.78); }
.svc__p { grid-area: p; font-size: 1.125rem; align-self: end; max-width: 30rem; }
.svc__tags { grid-area: tags; display: flex; flex-wrap: wrap; gap: 8px; }
.svc__tags li { padding: 7px 14px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; font: 500 .8125rem/1.2 var(--sans); letter-spacing: .04em; }
.svc--red .svc__p { color: #fff; }
.svc--red .svc__tags li { border-color: rgba(255,255,255,.6); }


/* ── 6 · Why ──────────────────────────────────── */
.why { background: var(--paper); padding: var(--sec) var(--gut); }
.why__inner { max-width: 1240px; }
.why__title { margin: 30px 0 28px; max-width: 16ch; font-size: clamp(2.4rem, 5.6vw, 5.4rem); }
.why__p { max-width: 36rem; color: var(--grey-text); font-size: 1.125rem; }
.why__inner .proof__list { margin-top: clamp(40px, 6vw, 64px); }
.method { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--ink); }
.method li { padding: 26px 22px 0 0; }
.method li + li { padding-left: 22px; border-left: 1px solid var(--grey-2); }
.method span { font: 500 .75rem/1 var(--sans); letter-spacing: .2em; color: var(--red-ink); }
.method h3 { font: 500 1.6rem/1.15 var(--serif); margin: 14px 0 10px; letter-spacing: -.01em; }
.method p { color: var(--grey-text); font-size: 1rem; }
.why__quote { margin-top: clamp(56px, 8vw, 110px); font: 400 clamp(1.8rem, 4vw, 3.4rem)/1.15 var(--serif); font-style: italic; letter-spacing: -.015em; padding-left: 28px; border-left: 4px solid var(--red); max-width: 22ch; }

/* ── 7 · Contact ──────────────────────────────── */
.contact { background: var(--ink); color: var(--on-dark); padding: var(--sec) var(--gut); }
.contact__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); max-width: 1320px; }
.contact .display { margin: 28px 0 24px; font-size: clamp(2.4rem, 5vw, 4.8rem); }
.contact__p { color: var(--on-dark-2); font-size: 1.125rem; max-width: 30rem; }
.contact__details { margin-top: 44px; display: grid; gap: 22px; }
.contact__details dt { font: 500 .6875rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--red-text); margin-bottom: 8px; }
.contact__details dd { color: var(--on-dark); max-width: 26rem; }
.contact__details dd > a { border-bottom: 1px solid rgba(255,255,255,.35); }
.contact__details dd > a:hover { border-color: var(--red); color: var(--red); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--wide, .form__foot { grid-column: 1 / -1; }
.field label { font: 500 .8125rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.opt { text-transform: none; letter-spacing: 0; color: var(--on-dark-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; background: var(--ink-2); color: var(--on-dark);
  border: 1px solid rgba(255,255,255,.22); border-radius: 8px; transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255,255,255,.5); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: var(--ink-3); box-shadow: 0 0 0 3px rgba(236,34,69,.35); }
.field [aria-invalid="true"] { border-color: var(--red); }
.err { min-height: 0; font-size: .875rem; color: #ff8fa3; }
.form__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.form__status { font-size: .9375rem; color: var(--on-dark-2); max-width: 28rem; }
.form__status.is-ok { color: #9be3b0; }
.form__status.is-err { color: #ff8fa3; }


/* ── 6b · Client voices ───────────────────────── */
.voices { background: var(--ink); color: var(--on-dark); padding-bottom: var(--sec); }
.voices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0 var(--gut); background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.16); }
.voice { margin: 0; background: var(--ink); padding: clamp(28px, 3.4vw, 52px); min-height: 340px; display: flex; flex-direction: column; justify-content: space-between; gap: 56px; transition: background .3s; }
.voice:hover { background: var(--ink-2); }
.voice__t { margin: 0; font: 500 clamp(1.7rem, 2.6vw, 2.7rem)/1.12 var(--serif); letter-spacing: -.02em; }
.voice__t em { font-style: italic; font-weight: 400; color: var(--red-text); }
.voice__by { display: flex; flex-direction: column; gap: 5px; }
.voice__tag { align-self: flex-start; padding: 5px 10px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font: 500 .6875rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 8px; }
.voice__by b { font: 600 .9375rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.voice__by small { font-size: .9375rem; color: var(--on-dark-2); }

/* misc */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--red-ink); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); color: #fff; transition: background .25s, border-color .25s, transform .3s var(--ease); }
.social a:hover, .social a:focus-visible { transform: translateY(-3px); border-color: transparent; color: #fff; }
.social .s-yt:hover, .social .s-yt:focus-visible { background: #e00000; }
.social .s-li:hover, .social .s-li:focus-visible { background: #0a66c2; }
.social .s-fb:hover, .social .s-fb:focus-visible { background: #1877f2; }
.social .s-wa:hover, .social .s-wa:focus-visible { background: #128c7e; }
.social .s-ig:hover, .social .s-ig:focus-visible { background: #d6249f; }
.cases__more { padding: 8px var(--gut) 0; }

/* ── Footer ───────────────────────────────────── */
.foot { background: var(--ink); color: var(--on-dark); border-top: 1px solid rgba(255,255,255,.14); }
.foot__inner { padding: clamp(48px, 6vw, 88px) var(--gut) 36px; display: grid; grid-template-columns: 150px 1fr auto; gap: 24px 56px; align-items: start; }
.foot__logo { width: 120px; height: auto; }
.foot__line { font: 400 1.5rem/1.3 var(--serif); font-style: italic; max-width: 26rem; }
.foot__nav { display: grid; gap: 10px; font: 500 .8125rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.foot__nav a:hover { color: var(--red); }
.foot__social { grid-column: 2 / -1; }
.foot__social .social { gap: 4px 22px; }
.foot__copy { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); font-size: .875rem; color: var(--on-dark-2); }

/* ── Reveal on scroll ─────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.proof__list li:nth-child(2), .method li:nth-child(2) { transition-delay: .08s; }
.proof__list li:nth-child(3), .method li:nth-child(3) { transition-delay: .16s; }
.proof__list li:nth-child(4), .method li:nth-child(4) { transition-delay: .24s; }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 1100px) {
  .slide--split { grid-template-columns: 1fr; padding-right: 0; }
  .sp__left { padding-right: var(--gut); padding-bottom: 28px; }
  .sp__rows { margin-top: 24px; }
  .sp__media { justify-self: start; width: min(calc(100% - var(--gut) * 2), 440px); aspect-ratio: .9 / 1; margin: 0 var(--gut); }
  .slide--edit { grid-template-columns: 1fr; }
  .slide--edit::before { inset: 56% 0 0 0; }
  .ed__copy { padding-bottom: 8px; }
  .ed__photo { height: 420px; }
  .slide--poster { min-height: 640px; }
  .hero__ui { top: auto; bottom: 16px; right: auto; left: 50%; transform: translateX(-50%); flex-direction: row; padding: 5px 8px; }
  .voices__grid { grid-template-columns: 1fr; }
  .voice { min-height: 0; gap: 36px; }
  .svc { grid-template-columns: 56px 1fr; grid-template-areas: "n t" "n p" "n tags"; top: calc(76px + var(--i) * 22px); min-height: 0; }
  .svc__p { align-self: start; }
  .contact__inner { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  :root { --rail: 0px; }
  html { scroll-padding-top: 60px; }
  .rail { inset: 0 0 auto 0; width: 100%; height: 60px; flex-direction: row; padding: 0 16px; gap: 6px; }
  .rail__logo { width: 36px; }
  .rail__menu { margin-left: auto; }
  .rail__talk { top: 8px; right: 68px; padding: 0 16px; }
  .rail__year { display: none; }
  .rail__tab { display: none; }
  main, .foot { margin-left: 0; }
  .menu { padding: 100px var(--gut) 40px; }
  .proof__list, .method { grid-template-columns: 1fr 1fr; }
  .proof__list li:nth-child(3), .method li:nth-child(3) { padding-left: 0; border-left: 0; }
  .proof__list li:nth-child(n+3), .method li:nth-child(n+3) { margin-top: 28px; }
  .foot__inner { grid-template-columns: 1fr; }
  .foot__social { grid-column: auto; }
  .form { grid-template-columns: 1fr; }
  .slide__title { font-size: clamp(2.6rem, 12vw, 4.6rem); }
  .sp__title { font-size: clamp(2.6rem, 12vw, 4.4rem); }
  .ed__copy { padding-top: 88px; }
  .sp__left { padding-top: 88px; }
  .sp__bar a { padding: 12px 14px; }
  .sp__count { top: 20px; }
  .slide--poster { min-height: 760px; }
  .po__copy { padding-top: 88px; padding-right: var(--gut); }
  .po__img { object-position: 50% 62%; }
  .slide__cta { margin-top: 26px; }
  .slide__lede { font-size: 1rem; }
  .js-motion .case { height: 200svh; }
}
@media (max-width: 520px) {
  .svc { padding: 24px 20px; grid-template-columns: 1fr; grid-template-areas: "n" "t" "p" "tags"; }
  .svc__n { padding: 0; }
  .proof__list, .method { grid-template-columns: 1fr; }
  .proof__list li + li, .method li + li { padding-left: 0; border-left: 0; margin-top: 28px; }
  .rail__talk { display: none; }
}

/* ── Inner pages: Results + Blog ──────────────── */
.crow[hidden], .post[hidden] { display: none !important; }
.page main { background: var(--paper); }

/* results hero — copy-only, no photos (typographic panels, like the homepage's panel case cards) */
.rhero { background: var(--white); }
.rhero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, .72fr); grid-template-rows: minmax(300px, 1fr) minmax(280px, 1fr); grid-template-areas: "tile title title" "tile feature next"; min-height: min(92svh, 820px); }
.rhero__tile { grid-area: tile; margin: 0; background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 3.4vw, 44px); }
.rhero__tile b { display: block; font: 500 clamp(5rem, 11vw, 9rem)/.85 var(--serif); letter-spacing: -.04em; }
.rhero__tile p { margin-top: 16px; font: 500 .8125rem/1.5 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-2); max-width: 15rem; }
.rhero__title { grid-area: title; display: flex; flex-direction: column; justify-content: center; padding: clamp(96px, 14vh, 140px) calc(var(--gut) + 24px) 32px clamp(28px, 4vw, 64px); }
.rhero__title .display { margin: 22px 0 18px; font-size: clamp(3.6rem, 9vw, 9rem); }
.rhero__sub { max-width: 28rem; font-size: 1.125rem; color: var(--grey-text); }
.rhero__sub em { font-style: italic; color: var(--ink); }
.rhero__feature { grid-area: feature; position: relative; display: flex; flex-direction: column; justify-content: center; background: var(--red-ink); color: #fff; padding: 28px clamp(24px, 3vw, 48px); }
.rhero__feature b { display: block; font: 500 clamp(3rem, 6vw, 6rem)/.95 var(--serif); letter-spacing: -.04em; }
.rhero__feature p { margin: 10px 0 18px; font-size: .9375rem; max-width: 22rem; }
.rhero__more { font: 500 .75rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; display: inline-flex; gap: 10px; align-items: center; }
.rhero__more::after { content: ""; width: 26px; height: 1px; background: currentColor; transition: width .35s var(--ease); }
.rhero__feature:hover .rhero__more::after { width: 46px; }
.rhero__next { grid-area: next; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 26px clamp(18px, 2vw, 32px); background: var(--white); border-left: 1px solid var(--grey-1); }
.rhero__kicker { font: 500 .75rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--grey-text); margin-bottom: 10px; }
.rhero__next b { font: 600 .9375rem/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.rhero__next span { font-size: .9375rem; color: var(--grey-text); }

/* results index */
.index { background: var(--paper); padding: var(--sec) var(--gut); }
.index__head .display { margin: 26px 0 36px; font-size: clamp(2.4rem, 5vw, 4.8rem); max-width: 18ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 48px); }
.chip { min-height: 44px; padding: 0 20px; border: 1.5px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: 500 .8125rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; }
.chip:hover { background: var(--grey-1); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
#case-list { border-bottom: 1px solid var(--ink); }
.crow { border-top: 1px solid var(--ink); scroll-margin-top: 24px; }
.crow summary { display: grid; grid-template-columns: 48px minmax(0, 1.35fr) minmax(0, 1.1fr) minmax(0, 1.1fr) 44px; gap: 20px; align-items: center; padding: 26px 0; cursor: pointer; list-style: none; }
.crow summary::-webkit-details-marker { display: none; }
.crow__n { font: 500 .8125rem/1 var(--sans); letter-spacing: .14em; color: var(--red-ink); }
.crow__name { font: 500 clamp(1.4rem, 2.6vw, 2.6rem)/1.1 var(--serif); letter-spacing: -.02em; transition: color .25s; }
.crow summary:hover .crow__name { color: var(--red-ink); }
.crow__cat { font: 500 .75rem/1.45 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--grey-text); }
.crow__metric { font: italic 400 clamp(1.1rem, 1.6vw, 1.5rem)/1.2 var(--serif); }
.crow__plus { position: relative; width: 44px; height: 44px; border: 1.5px solid var(--ink); border-radius: 50%; transition: background .25s, transform .4s var(--ease); }
.crow__plus::before, .crow__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--ink); transition: transform .3s var(--ease), background .25s; }
.crow__plus::after { transform: rotate(90deg); }
.crow[open] .crow__plus { background: var(--ink); }
.crow[open] .crow__plus::before, .crow[open] .crow__plus::after { background: #fff; }
.crow[open] .crow__plus::after { transform: rotate(0); }
.crow summary:focus-visible { outline-offset: 4px; }
.crow__body { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr); gap: clamp(24px, 4vw, 64px); padding: 4px 0 56px 68px; }
.crow__media { margin: 0; align-self: start; position: sticky; top: 24px; overflow: hidden; background: var(--ink); aspect-ratio: 4 / 5; }
.crow__media > img { width: 100%; height: 100%; object-fit: cover; }
.crow__media--logo { display: grid; place-items: center; background: var(--white); aspect-ratio: 4 / 3; padding: 8%; }
.crow__media--logo > img { object-fit: contain; }
.crow__media--navy { background: #14163a; }
.crow__media--type { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 28px; background: var(--red-ink); color: #fff; aspect-ratio: 4 / 3; }
.crow__media--type b { font: 500 clamp(3.4rem, 6vw, 6rem)/.95 var(--serif); letter-spacing: -.04em; }
.crow__media--type span { font-size: .9375rem; max-width: 18rem; }
.crow__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; aspect-ratio: auto; background: transparent; }
.crow__gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.crow__text section + section { margin-top: 28px; }
.crow__text h3 { margin-bottom: 10px; font: 500 .75rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--red-ink); }
.crow__text p { max-width: 40rem; font-size: 1.0625rem; }
.crow__text ul { display: grid; gap: 10px; max-width: 40rem; }
.crow__text li { position: relative; padding-left: 22px; font-size: 1.0625rem; }
.crow__text li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--red); }
.crow__results ul { gap: 14px; }
.crow__results li { font: 500 1.3rem/1.35 var(--serif); letter-spacing: -.005em; }
.index__note { margin-top: 28px; max-width: 46rem; font-size: .875rem; color: var(--grey-text); }

/* call-to-action band (both pages) */
.ctaband { background: var(--ink); color: var(--on-dark); padding: var(--sec) var(--gut); }
.ctaband .display { margin: 26px 0 20px; font-size: clamp(2.4rem, 5.4vw, 5.4rem); max-width: 16ch; }
.ctaband p:not(.eyebrow) { max-width: 28rem; margin-bottom: 30px; color: var(--on-dark-2); font-size: 1.125rem; }

/* blog */
.bhero { background: var(--paper); padding: clamp(120px, 18vh, 190px) var(--gut) clamp(40px, 6vw, 72px); }
.bhero .display { margin: 26px 0 22px; font-size: clamp(2.8rem, 7vw, 7rem); max-width: 14ch; }
.bhero__sub { max-width: 30rem; font-size: 1.125rem; color: var(--grey-text); }
.bhero--empty { padding-bottom: clamp(96px, 16vh, 170px); }
#post-list { border-bottom: 1px solid var(--ink); }

@media (max-width: 1100px) {
  .rhero__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; grid-template-areas: "title title" "tile tile" "feature next"; min-height: 0; }
  .rhero__tile { min-height: 220px; }
  .rhero__title { padding: 104px var(--gut) 28px; }
  .rhero__feature { min-height: 260px; }
  .rhero__next { min-height: 260px; }
  .crow summary { grid-template-columns: 40px minmax(0, 1fr) 44px; gap: 8px 16px; }
  .crow__name { grid-column: 2; grid-row: 1; }
  .crow__plus { grid-column: 3; grid-row: 1; }
  .crow__cat { grid-column: 2 / 4; grid-row: 2; }
  .crow__metric { grid-column: 2 / 4; grid-row: 3; }
  .crow__body { grid-template-columns: 1fr; padding-left: 0; }
  .crow__media { position: static; max-width: 34rem; }
}
@media (max-width: 520px) {
  .rhero__grid { grid-template-columns: 1fr; grid-template-areas: "title" "tile" "feature" "next"; }
}

/* ── Reduced motion ───────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .slide .line > span, .js .slide .rv, .js .slide .sp__bar, .js .slide .sp__count,
  .js .slide .ed__photo img, .js .slide .po__img, .js .slide .sp__video { opacity: 1 !important; transform: none !important; }
  .hero__dot.is-active::after { transform: none; }
}
