/* ==========================================================================
   2SK Solutions — v4 home
   Tokens, primitives, then one block per section in journey order.
   Vanilla. No libraries. Inter Tight (display) + Inter (text).
   ========================================================================== */

:root {
  /* colour ------------------------------------------------------------- */
  --paper: #FAFAF8;
  --ink:   #0B0B0B;
  --accent:#E8442A;
  --support:#F2E3DC;                    /* band tint for quiet sections */
  --ink-62: rgba(11, 11, 11, .62);      /* 5.1:1 on paper — meta only */
  --ink-45: rgba(11, 11, 11, .45);      /* 3.4:1 — non-text rules/marks only */
  --paper-66: rgba(250, 250, 248, .66);
  --paper-40: rgba(250, 250, 248, .40);

  /* type --------------------------------------------------------------- */
  --f-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --f-text: "Inter", "Helvetica Neue", Arial, sans-serif;

  --t-hero: clamp(36px, min(6.1vw, 8.4vh), 92px);
  --t-h2: clamp(32px, 4.6vw, 68px);
  --t-h3: clamp(22px, 2.2vw, 34px);
  --t-statement: clamp(25px, 3.2vw, 48px);
  --t-lede: clamp(17px, 1.25vw, 21px);
  --t-body: clamp(16px, 1.05vw, 17.5px);
  --t-small: 14px;
  --t-micro: 11.5px;

  /* space -------------------------------------------------------------- */
  --pad: clamp(20px, 3.6vw, 56px);
  --sect: clamp(72px, 8.2vw, 124px);
  --nav-h: 72px;

  /* shell -------------------------------------------------------------- *
     ONE governing content width, the way apple.com does it: every section
     box is capped at --shell and centred, so at a viewport wider than 1440
     the page reads as a centred column with paper either side. --shell-w is
     that cap as rendered (never wider than the viewport), and --shell-pad is
     the inline padding that lands content on the shell's content edge —
     inside a capped section it resolves to --pad, inside a deliberately
     full-bleed element (band, contact slab, nav chrome) it resolves to the
     distance from the viewport edge to the shell edge plus --pad. */
  --shell: 1440px;
  --shell-w: min(100vw, var(--shell));
  --shell-pad: max(var(--pad), calc((100% - var(--shell)) / 2 + var(--pad)));

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-hero: cubic-bezier(.5, 1, .5, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  /* native, per-notch scrolling. A global smooth here made every wheel tick
     start an animation the next tick cancelled, so the page crawled until the
     user had scrolled several times. Smooth is applied to anchor clicks only. */
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: var(--t-body);
  line-height: 1.5;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .94;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.on-dark :focus-visible { outline-color: var(--paper); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: var(--t-small);
  font-weight: 600;
  translate: 0 -160%;
}
.skip:focus { translate: 0 0; }

.wrap {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* --- the shell --------------------------------------------------------- *
   Every content section is capped at the shell and centred, so nothing
   stretches past 1440 and the paper margins stay symmetrical at any width.
   The two sections that must paint edge to edge are handled explicitly
   further down: .band (a scrolling marquee — its tracks run the viewport)
   and .contact (the closing dark slab). .foot is the other half of that
   slab. Inside all three, content still uses --shell-pad, so it lands on
   the same left edge as every capped section. */
.hero,
.manifesto,
.services,
.cases,
.process,
.lanes,
.journal,
.faq {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
}

/* --- shared bits ------------------------------------------------------ */

.eyebrow {
  font-size: var(--t-small);
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--ink-62);
}

.shead {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  column-gap: clamp(24px, 5vw, 96px);
  row-gap: 18px;
  align-items: end;
  padding-inline: var(--shell-pad);
}
.shead__eyebrow { grid-column: 1 / -1; }
.shead h2 {
  font-size: var(--t-h2);
  margin: 0;
}
.shead__lede {
  font-size: var(--t-lede);
  line-height: 1.45;
  color: var(--ink);
  max-width: 42ch;
  padding-bottom: .35em;
}
@media (max-width: 900px) {
  .shead {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 14px;
    align-items: start;
  }
  .shead__lede { max-width: 46ch; padding-bottom: 0; }
}

/* --- the section marker: exactly one vermilion dot per section ----------
   The same 7px dot the Numbers plates use, set beside the eyebrow. Only the
   four sections whose single accent lives in the head carry it; Services,
   Cases, Process, Journal, FAQ and Contact put their one accent inside the
   content (LIVE dot, stage number, chip, open marker, submit) and therefore
   take no dot here — one accent per viewport, never two. */
.manifesto > .eyebrow::before,
.services .shead__eyebrow::before,
.lanes .shead__eyebrow::before,
.clients .shead__eyebrow::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 10px;
  vertical-align: .04em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  min-height: 50px;
  padding: 0 22px;
  background: var(--ink);
  color: var(--paper);
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: .01em;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: background 240ms var(--ease), color 240ms var(--ease), translate 240ms var(--ease);
}
.btn:active { translate: 0 1px; }
/* buttons keep an ink fill at every state — vermilion is reserved for the two
   primary CTAs, so a hover only deepens the ink */
.btn:hover { background: #242424; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  padding-inline: 0;
  min-height: 50px;
  align-items: center;
}
.btn--ghost .btn__line {
  position: relative;
}
.btn--ghost .btn__line::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 320ms var(--ease);
}
.btn--ghost:hover { background: transparent; color: var(--ink); }
.btn--ghost:hover .btn__line::after { transform: scaleX(0); background: var(--accent); }
.on-dark .btn--ghost:hover { color: var(--paper); }
.on-dark .btn--ghost { color: var(--paper); }
.on-dark .btn { background: var(--paper); color: var(--ink); }
.on-dark .btn:hover { background: rgba(250, 250, 248, .82); color: var(--ink); }

/* the two primary CTAs are the only accent fills on the page.
   ink on vermilion = 4.96:1, so the label clears AA at every size. */
.hero__actions .btn:not(.btn--ghost) { background: var(--accent); color: var(--ink); }
.hero__actions .btn:not(.btn--ghost):hover { background: var(--ink); color: var(--paper); }
.contact__submit .btn { background: var(--accent); color: var(--ink); }
.contact__submit .btn:hover { background: var(--paper); color: var(--ink); }

.arrow { font-family: var(--f-text); }

/* flags: PLACEHOLDER / VERIFY labels — must stay visible in the UI, but they
   are editorial labels, not actions: ink, never vermilion, so the accent keeps
   meaning "act on this" instead of "warning". */
.flag {
  display: inline-block;
  vertical-align: baseline;
  margin-left: .5em;
  padding: .28em .5em .3em;
  background: rgba(11, 11, 11, .07);
  color: var(--ink);
  border-left: 2px solid rgba(11, 11, 11, .45);
  font-family: var(--f-text);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.on-dark .flag {
  background: rgba(250, 250, 248, .12);
  color: var(--paper);
  border-left-color: rgba(250, 250, 248, .45);
}
.flag-note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-62);
  max-width: 62ch;
}
.on-dark .flag-note { color: var(--paper-66); }

.footnote {
  padding-inline: var(--shell-pad);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-62);
  max-width: 78ch;
}

.section-link {
  display: inline-flex;
  align-items: baseline;
  gap: .4em;
  font-size: var(--t-small);
  font-weight: 600;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  transition: color 220ms var(--ease), border-color 220ms var(--ease);
}
.section-link:hover,
.section-link:focus-visible { border-bottom-color: var(--accent); color: var(--ink); }
.on-dark .section-link:hover,
.on-dark .section-link:focus-visible { color: var(--paper); }

/* ==========================================================================
   NAV
   ========================================================================== */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  /* the bar's CONTENT is in the shell: the fixed box is capped and centred, so
     the wordmark, the links and the CTA land on the same left edge as the h1.
     The frosted surface behind it is chrome, not content, and keeps painting
     edge to edge — see .nav::before. */
  max-width: var(--shell);
  margin-inline: auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 40px);
  /* --pad, not --shell-pad: this box IS the shell, so a percentage padding would
     resolve against the viewport and push the wordmark inward twice. */
  padding-inline: var(--pad);
  color: var(--ink);
  transition: color 260ms var(--ease);
}
/* Never fully transparent: if the scroll state fails to apply (JS blocked, restored
   scroll position, in-page anchor), type would run straight through the nav.
   Fixed to the viewport on purpose, so the bar itself still spans the window
   while everything inside it respects the shell. */
.nav::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: -1;
  background: rgba(244, 242, 238, .82);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  transition: background-color 260ms var(--ease);
}
body[data-scrolled="true"] .nav::before { background: var(--paper); }
body[data-nav="dark"] .nav { color: var(--paper); }
body[data-nav="dark"] .nav::before { background: var(--ink); }   /* black at the top, not only once scrolled */

.nav__logo {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.05em;
  line-height: 1;
  margin-right: auto;
}
/* the wordmark full stop is brand punctuation, not a call to action: it stays
   in the ink/paper of whatever the nav is inverted over, so the accent in
   every viewport belongs to the section behind it */
.nav__logo span { color: inherit; }

.nav__links {
  display: flex;
  gap: clamp(14px, 1.9vw, 30px);
  font-size: var(--t-small);
  font-weight: 500;
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  opacity: .92;
  transition: opacity 200ms var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after,
.nav__links a:focus-visible::after { transform: scaleX(1); background: var(--accent); }

.nav__cta {
  font-size: var(--t-small);
  font-weight: 600;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  transition: background 220ms var(--ease), color 220ms var(--ease);
}
body[data-nav="dark"] .nav__cta { background: var(--paper); color: var(--ink); }
body .nav__cta:hover, body[data-nav="dark"] .nav__cta:hover { background: var(--accent); color: var(--paper); }
body[data-nav="dark"] .nav__cta:hover { background: var(--accent); color: var(--paper); }
.nav__lang {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 34px; margin-left: 10px; padding: 0 10px;
  border: 1px solid currentColor; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none; color: inherit;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.nav__lang:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }


.nav__burger {
  display: none;
  align-items: center;
  gap: .5em;
  background: none;
  border: 0;
  padding: 8px 0;
  font-size: var(--t-small);
  font-weight: 600;
  cursor: pointer;
}
.nav__burger i {
  display: block;
  width: 18px; height: 1px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor;
  transition: box-shadow 200ms var(--ease);
}

/* mobile menu ---------------------------------------------------------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--ink);
  color: var(--paper);
  padding: calc(var(--nav-h) + 8px) var(--pad) var(--pad);
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity 320ms var(--ease), visibility 0s linear 320ms;
}
.menu[data-open="true"] {
  visibility: visible;
  opacity: 1;
  transition: opacity 320ms var(--ease), visibility 0s;
}
.menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--t-small);
  color: var(--paper-66);
}
.menu__close {
  background: none;
  border: 0;
  color: inherit;
  font-size: var(--t-small);
  font-weight: 600;
  padding: 8px 0;
  cursor: pointer;
}
.menu__links { display: flex; flex-direction: column; gap: 2px; }
.menu__links a {
  font-family: var(--f-display);
  font-size: clamp(34px, 9vw, 48px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.12;
}
/* hover/focus reads as an accent rule under the word, never a colour change */
.menu__links a:hover,
.menu__links a:focus-visible {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: .08em;
}
.menu__foot {
  margin-top: auto;
  padding-top: 24px;
  font-size: 13px;
  color: var(--paper-66);
  display: grid;
  gap: 6px;
}

/* ==========================================================================
   1. HERO — bleeding wordmark + photo fan on one pivot
   ========================================================================== */

.hero {
  position: relative;
  background: var(--paper);
  min-height: 100svh;
  /* main is a flex column: a flex item's min-width is auto, so the mark's
     max-content width could push the section wider than the shell. */
  min-width: 0;
  padding: calc(var(--nav-h) + 16px) var(--pad) 0;
  overflow: clip;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  /* the wordmark is sized off the SHELL, not the viewport: the glyph run is
     1.8347em wide at this tracking, so dividing the shell's content width by it
     makes the mark end exactly on the shell's right edge — no bleed into the
     paper margin, no orphan gap in the gutter. */
  /* 1.9470em = the 2SK glyph run at this tracking PLUS the drawn full stop
     (.09em block + .045em gap); the mark's right edge must land on the shell
     edge, not past it. */
  /* 2.1032em = the full "2SK." run at -.035em tracking, measured — the mark's
     right edge must land on the shell edge with the period inside the frame. */
  /* 1.8347em = the 2SK glyph run at -.035em tracking, measured: the mark ends
     on the shell's right edge with no bleed into the paper margin. */
  /* 2.1500 = the mark at ~90% of the shell's content width: it reads as the
     wordmark rather than as a full-bleed poster, and keeps its photograph. */
  --mark-fs: calc((var(--shell-w) - var(--pad) * 2) / 2.1500);
}

.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  font-size: var(--t-small);
}
.hero__loc { color: var(--ink); }
.hero__clock {
  text-align: right;
  display: grid;
  gap: 2px;
  color: var(--ink-62);
  font-size: 12px;
  line-height: 1.35;
}
.hero__clock b {
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.hero__h1 {
  font-size: var(--t-hero);
  line-height: .92;
  letter-spacing: -.045em;
  margin-top: clamp(8px, 1.4vh, 18px);
  position: relative;
  z-index: 3;
  max-width: 15ch;
}
.hero__h1 span { display: block; }

.hero__sub {
  position: relative;
  z-index: 3;
  margin-top: .55em;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(16px, 1.5vw, 23px);
  letter-spacing: -.01em;
  max-width: 24ch;
}

.hero__actions {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  margin-top: clamp(14px, 2vh, 24px);
}
.hero__actions .btn--ghost { color: var(--ink); }

/* the mark: the shell's full measure, sitting on the baseline and aligned to
   the shell's left edge (the old -2.5% bleed into the viewport is gone — the
   paper margin is now the only thing left of it).
   The wordmark IS the mask — the photograph shows inside the letterforms and
   the page stays paper, so the mark reads as a window cut through the sheet.
   It stays in flow (margin-top: auto) so the hero grows instead of the mark
   colliding with the headline on a short window. */
.hero__mask {
  position: relative;
  margin-top: auto;
  /* the column is widest at 1440, so the mark needs air under the CTA there */
  padding-top: clamp(8px, 1.6vh, 22px);
  z-index: 1;
  width: max-content;
  max-width: 100%;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: var(--mark-fs);
  line-height: .74;           /* baseline == box bottom: the mark sits on the fold */
  letter-spacing: -.035em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* three copies of the same wordmark in the same place. Only the photograph
   inside them differs, so the cross-fade happens inside the letterforms. */
.hero__mask-layer {
  display: block;
  color: var(--ink);
  background-repeat: no-repeat;
  /* 180%: the window shows the left half of the photograph, because the right
     edge of it is near-black on some of the frames and a black region inside a
     letter reads as plain type, not as a photograph. */
  background-size: 180% auto;
  background-position: 4% 55%;
  transition: opacity 1400ms var(--ease);
}
.hero__mask-layer:not(:first-child) { position: absolute; inset: 0; opacity: 0; }
.hero__mask-layer:first-child { opacity: 1; }
/* once JS is driving the cycle it owns every layer's opacity */
.hero__mask[data-live="1"] .hero__mask-layer { opacity: 0; }
.hero__mask[data-live="1"] .hero__mask-layer.is-on { opacity: 1; }

/* the mark's one accent is the CTA above; the full stop in the wordmark is
   part of the same mask so it shows the same photograph */
.hero__mask-dot{
  /* a nested element does not inherit the parent's clipped background, so the
     period cannot be part of the photograph. Draw it as a block instead of a
     glyph: at 700px+ type the punctuation glyph gets squashed by the tight
     line-height, while a block keeps its proportions at every viewport. */
  /* inline, on the baseline, so it lands where typography puts it: right after
     the K, not floating at the corner. `line-height: 1` stops the mark's tight
     .74 leading from cropping it. Painted ink because a nested element cannot
     inherit the parent's clipped photograph — a photo-filled period would
     vanish wherever the frame is pale. */
  font-style: normal;
  font-size: .13em;
  line-height: 1;
  vertical-align: baseline;
  margin-left: .04em;
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
}

/* Safari needs the -webkit- pair for the text clip. Without it the element
   falls back to solid ink above, which still reads correctly — just printed
   instead of inhabited. The photograph is sized past the box and nudged by
   --bx/--by; at 180% that nudge tops out at 2.9% of the photograph's own
   width and 2.9% of its height. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__mask-layer {
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-image: var(--shot);
    /* at 180% the nudge tops out at 2.9% of the photograph's own width and
       2.9% of its height */
    background-position:
      calc(4% + var(--bx, 0) * 6.5%)
      calc(55% + var(--by, 0) * 3.5%);
  }
}


.hero__copy {
  position: absolute;
  right: var(--pad);
  /* the hero grows past 100svh when the full-measure mark needs the height, so
     the credit line is pinned to the FOLD rather than the hero's bottom — it
     stays whole on the first screen at every window size. */
  bottom: calc(14px + (100% - 100svh));
  z-index: 3;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  mix-blend-mode: difference;   /* ink over paper, paper over the mark */
}

@keyframes hero-in {
  from { opacity: .001; scale: 1.6; }
  to   { opacity: 1;    scale: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  /* no `both`: with fill-mode both the hero sat at the from-frame (scale 1.6)
     whenever the animation could not run — a throttled or background tab left the
     section 60% too wide and pushed the page into horizontal overflow. */
  html.js .hero { animation: hero-in 875ms var(--ease-hero) 180ms; }
}

/* --- hero, narrow: the mark in flow under the CTA ---------------------- */
@media (max-width: 900px) {
  .hero {
    min-height: 100svh;
    padding-bottom: 0;
  }
  .hero__h1 {
    font-size: clamp(38px, 11.4vw, 60px);
    max-width: 12ch;
  }
  .hero__sub { font-size: 17px; max-width: 30ch; }
  /* the fan is gone, so the mark drops to the fold: the air belongs between
     the CTA and the window, not under it */
  .hero__actions { margin-bottom: auto; }
  .hero__mask {
    margin-top: clamp(26px, 6vw, 48px);
  }
  .hero__copy {
    position: static;
    order: 5;
    padding: 6px 0 18px;
    color: var(--ink);
    mix-blend-mode: normal;
  }
  .hero__clock { display: none; }
}

/* --- nav, narrow: menu button; the links are a no-JS fallback ---------- */
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: inline-flex; }
  html:not(.js) .nav__links {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 14px;
    position: absolute;
    top: 100%;
    left: var(--pad);
    right: var(--pad);
    padding: 4px 0 10px;
    background: var(--paper);
    font-size: 13px;
  }
}

/* ==========================================================================
   2. MANIFESTO
   ========================================================================== */

.manifesto {
  padding: var(--sect) var(--pad);
  display: grid;
  gap: clamp(28px, 4vw, 56px);
}
.manifesto__claim {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(34px, 4.2vw, 66px);
  letter-spacing: -.042em;
  line-height: 1.02;
  max-width: 17ch;
  text-wrap: balance;
}
.manifesto__lede {
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.5;
  max-width: 52ch;
  color: var(--ink);
}
.manifesto__body {
  font-size: var(--t-body);
  line-height: 1.55;
  max-width: 52ch;
  color: var(--ink);
}

/* ==========================================================================
   3. KINETIC BAND — two rows, opposite directions, one photograph
   ========================================================================== */

.band {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(40px, 5.4vw, 80px) 0 clamp(48px, 7vw, 104px);
  overflow: clip;
}
/* the caption gives the band its job: it names the three disciplines
   the Numbers section then proves */
.band__cap {
  padding: 0 var(--shell-pad);
  margin-bottom: clamp(22px, 3.2vw, 44px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(244, 242, 238, .7);
}
.band__rows { display: grid; gap: clamp(4px, 1.1vw, 20px); }
.band__row {
  display: flex;
  width: max-content;
  will-change: transform;
}
.band__row--a { animation: band-a var(--dur, 40s) linear infinite; }
.band__row--b { animation: band-b calc(var(--dur, 40s) * 1.16) linear infinite; }
.band__grp { display: flex; align-items: center; }
.band__grp span {
  font-family: var(--f-display);
  font-size: clamp(38px, 7.4vw, 128px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: .95;
  white-space: pre;
}
.band__sep {
  flex: none;
  display: block;
  width: clamp(2px, .22vw, 4px);
  height: clamp(24px, 4vw, 70px);
  margin: 0 clamp(14px, 2.2vw, 40px);
  background: var(--accent);
}
.band__media {
  position: absolute;
  top: 50%;
  left: 58%;
  translate: 0 -50%;
  width: clamp(180px, 26vw, 380px);
  aspect-ratio: 16 / 9;
  margin: 0;
  z-index: 2;
  overflow: hidden;
  background: var(--ink);
}
.band__media img { width: 100%; height: 100%; object-fit: cover; }

@keyframes band-a { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@keyframes band-b { from { transform: translate3d(-50%,0,0); } to { transform: translate3d(0,0,0); } }

@media (max-width: 900px) {
  .band__media {
    position: relative;
    top: auto;
    left: auto;
    translate: none;
    width: min(78%, 380px);
    margin: clamp(24px, 6vw, 40px) auto 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .band__row { animation: none; }
  .band__row--b { transform: translate3d(-14%,0,0); }
}

/* ==========================================================================
   4. NUMBERS — one plate, one numeral. Reference: Möbius.

   The photograph-inside-the-glyph is one idea, not a filter chain:
   the numeral is pure black (#000) on a pure white plate, the photograph is
   laid over it at mix-blend-mode: lighten. Lighten keeps the lighter of the
   two pixels, so inside a black glyph the photograph survives and outside it
   the white plate wins — the photo exists only inside the letterforms.
   The blend needs its own stacking context, hence isolation on .nplate__art.

   ONE numeral, not four. The two digit strips are the union of every figure
   in the copy deck (25 / 12 / 10 / 37 are all two digits), and a change of
   content re-rolls those strips in place: the numeral is never replaced,
   never translated and never re-mounted, which is also why scrolling back up
   rolls it back. Nothing here is a one-shot.

   Resting state (no JS, or prefers-reduced-motion) is a static stack: the
   first copy whole with the plate behind it, the other three in plain type.
   JS adds [data-motion="on"], which turns the stack into a 400svh track with
   the plate pinned at the top — no timers, no autoplay.
   ========================================================================== */

.numbers {
  /* white on purpose: the figures are a `lighten` composite — the photograph
     shows only where the backdrop is darker than it, so the plate has to be
     pure white or bright frames leak as a rectangle across the ground. */
  --num-bg: #FFFFFF;
  background: var(--num-bg);
  /* The figure's size lives on the section, not on the numeral, because the
     copy has to clear the numeral on a phone and the numeral has to clear the
     copy on a desktop: one measure, two consumers.
     --nleft is the copy column's own right edge, so the numeral starts exactly
     where the words end and growth can never run into them. --avail is that
     remaining measure scaled by 0.8494, and --gw divides it: together they put
     the measured ink on the right edge of the plate at every width, with the
     widest digit pair ("10") still leaving 14px of paper. */
  --nleft: calc(var(--pad) + min(34vw, 26rem, calc(var(--shell) * 0.34)) - 8px);
  --avail: calc((var(--shell-w) - var(--nleft) - 8px) * 0.8494);
  --gw: 1.0935;            /* 1.24 → 1.0935 is +15% at 1440 (656 → 755px): the
                              value that leaves the widest pair ("10") 8px of
                              paper instead of one pixel */
  --nh: 88;                /* height cap; 76 clipped the new size on a 900 tall plate */
  --nfs: min(calc(var(--avail) / var(--gw)), calc(var(--nh) * 1svh));
}
.numbers__track {
  position: relative;
  /* the section's ground runs edge to edge, but the plate stays on the shell
     measure — every numeral calculation is shell-relative, so capping the panel
     (not the section) keeps the figure where it was and just widens the paint */
  max-width: var(--shell);
  margin-inline: auto;
}

/* the blend's world is the plate: one opaque white backdrop, shared by every
   layer. Isolation here (not on each layer) keeps the photograph from painting
   its own edge as a hairline seam across the plate. */
.numbers__panel {
  position: relative;
  background: #fff;
}

/* ---- the plate -------------------------------------------------------- */
.nplate {
  position: relative;
  background: #fff;
  overflow: clip;
}

/* the numeral and the photograph share one full-bleed canvas and one blend
   group. The isolation is load-bearing — a child can only blend against its
   own stacking context, so without it the photograph paints at full strength
   instead of through the glyphs. */
.nplate__art {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--num-bg, #EFEAE2);
  isolation: isolate;
  overflow: clip;
}

/* ONE numeral, permanently in this position. It sits in the measure left of
   the copy column and is sized to fill it, so a four-glyph figure and a
   two-glyph one both land on the same right edge as the reference. */
.nplate__num {
  position: absolute;
  left: var(--nleft);      /* the copy's right edge; ink starts one bearing later */
  bottom: 11%;
  display: flex;
  align-items: flex-start;
  white-space: nowrap;
  font-family: var(--f-display);
  font-weight: 900;
  letter-spacing: -.075em;   /* digits nearly touch, as in the reference */
  line-height: .82;
  /* solid ink. The photograph-in-glyph route needs a pure white plate: the
     `lighten` composite leaks wherever a frame is brighter than the plate, and a
     text clip cannot reach the rolling digit spans. On a tinted ground the figure
     is typography — the photographs live in the hero and the case cards. */
  color: var(--ink);
  font-size: var(--nfs);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  translate: .11em 0;      /* compensates the tighter digit gap: right edge stays put */
}

/* one digit = a window and a 21-row strip (two cycles plus the landing row) */
.nd {
  position: relative;
  display: block;
  flex: none;
  width: .6813em;        /* one digit's full advance in this face */
  height: 1em;           /* must exceed the glyph box: at .82em the ascender of the
                            row above bled into the window and sliced the digit */
  overflow: clip;
}
/* the window is the widest advance in the face, so a narrower digit leaves its
   own right-side bearing as a gap. Pull the second digit back over that bearing —
   it only eats empty space, so no stroke overlaps and the right edge stays whole. */
.nd + .nd { margin-left: -.165em; }

/* the strip. 21 rows of 0-9, so a digit can be reached at row d or at row d+10:
   that is what lets the two columns travel in opposite directions and still
   land on the same figure. --d is the row, written by JS. */
.nd__s {
  display: block;
  height: 2100%;                        /* 21 rows: two cycles plus the landing row */
  translate: 0 calc(var(--d, 0) * -4.7619%);
  transition: translate 1200ms cubic-bezier(.16, 1, .3, 1);
}
.nd__s span {
  display: block;
  height: calc(100% / 21);
  font-size: 1em;
  letter-spacing: 0;            /* tracking lives on the numeral, not inside the window */
  line-height: 1em;           /* row height == line box: the cap's optical centre sits on the row's */
  text-align: center;
}

/* the photograph — one line is the whole effect. Four plates stacked in the
   one window; a change of content cross-fades them, the blend never changes. */
.nplate__photo {
  position: absolute;
  inset: 0;
  /* lighten, NOT normal: the photo shows through where the backdrop is the dark
     ink of the glyphs and resolves to the white plate everywhere else, so only
     the digits carry the photograph */
  mix-blend-mode: lighten;
  pointer-events: none;
}
.nplate__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  will-change: opacity;
  /* keep the photograph DARKER than the plate tone: `lighten` shows the photo
     only where the backdrop is darker than it, so lifting the exposure makes
     bright frames leak as a visible rectangle across the tinted ground. */
  filter: brightness(var(--pf, .55)) contrast(1.12) saturate(1.05);
}
.nplate__photo img:first-child { opacity: 1; }

/* ---- the copy --------------------------------------------------------- */
/* one row per figure. In the resting stack a row is a full-width band, so the
   hairline between figures spans the page; in the pinned plate it is just a
   positioning frame. */
.nrow { position: relative; }

.nslide__copy {
  position: relative;
  z-index: 3;
  width: min(34%, 26rem);
  margin-left: var(--pad);
  padding-top: clamp(48px, 19svh, 190px);
  padding-bottom: clamp(40px, 8svh, 80px);
  display: grid;
  justify-items: start;
  gap: clamp(16px, 1.8vw, 24px);
}
/* the plate's one accent: the dot above the headline (rule 4, numerals).
   In the pinned plate only one copy is in view, so this is one dot per
   viewport by construction. */
.nslide__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}
.nslide__label {
  font-size: clamp(34px, 3.8vw, 56px);
  font-weight: 800;
  letter-spacing: -.042em;
  line-height: 1.04;
  text-wrap: balance;
}
.nslide__line {
  font-size: clamp(14.5px, 1.02vw, 16.5px);
  line-height: 1.55;
  color: rgba(11, 11, 11, .78);
  max-width: 40ch;
}

/* ---- the placeholder note, once, at the foot of the section ----------- */
.numbers__note {
  position: relative;
  z-index: 4;
  margin: 0;
  padding: 18px var(--pad) 22px;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .04em;
  color: rgba(11, 11, 11, .5);
  border-top: 1px solid rgba(11, 11, 11, .1);
}

/* ---- resting stack: the plate whole, the rest in plain type ----------- */
/* The plate in the resting stack has to be tall enough for the numeral it now
   carries: the numeral sits 11% off the bottom and is --nfs tall, so the plate
   is --nfs / .89. Without this the top of the figure is sliced by the plate's
   own overflow. */
.numbers:not([data-motion="on"]) .nplate__art {
  inset: 0 0 auto 0;
  height: min(calc(var(--nfs) / .89 + 16px), 100svh);
}
.numbers:not([data-motion="on"]) .nrow[data-slide="1"] { min-height: min(calc(var(--nfs) / .89 + 16px), 100svh); }
.numbers:not([data-motion="on"]) .nrow + .nrow { border-top: 1px solid rgba(11, 11, 11, .1); }
.numbers:not([data-motion="on"]) .nrow + .nrow .nslide__copy { padding-top: clamp(48px, 7vh, 72px); }

/* ==========================================================================
   the plate — one 400svh track, the plate pinned at 0, the copies cross-fading
   over it and the numeral rolling in place
   ========================================================================== */
.numbers[data-motion="on"] .numbers__track { height: 400svh; }
.numbers[data-motion="on"] .numbers__panel {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: clip;
}
.numbers[data-motion="on"] .nplate { position: absolute; inset: 0; }

.numbers[data-motion="on"] .nrow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.numbers[data-motion="on"] .nslide__copy {
  position: absolute;
  left: var(--pad);
  top: clamp(104px, 19.5svh, 210px);
  width: min(34vw, 26rem, calc(var(--shell) * 0.34));
  margin-left: 0;
  padding: 0;
  opacity: var(--o, 0);
  pointer-events: none;
}
.numbers[data-motion="on"] .nslide__copy.is-current { pointer-events: auto; }

.numbers[data-motion="on"] .numbers__note {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 18px;
  z-index: 5;
  padding: 0;
  border-top: 0;
  max-width: 58ch;
}

/* ---- phones and small tablets ----------------------------------------- */
@media (max-width: 900px) {
  /* number first, then the words. The numeral moves to the top of the plate
     and the copy is offset by the numeral's own height, so the order holds
     in the pinned plate and in the resting stack alike. */
  .numbers {
    --avail: calc(var(--shell-w) - var(--pad) * 2);
    --nh: 55;              /* numeral + copy + note must clear a 100svh plate */
    --gw: 1.23;            /* the numeral already fills its measure here: 1.07
                              would run the last digit off the right edge */
  }
  .nplate__num {
    top: 84px;
    bottom: auto;
    left: var(--pad);
  }

  .nslide__copy {
    width: auto;
    margin: 0;
    padding: calc(84px + var(--nfs) + 34px) var(--pad) 0;
  }
  .nslide__label { font-size: clamp(28px, 7.6vw, 40px); }
  .nslide__line { font-size: 14.5px; max-width: 38ch; }

  /* resting stack on a phone: the numeral owns the top of the plate, the copy
     follows it, and the plate still clears the fold */
  .numbers:not([data-motion="on"]) .nplate__art { height: min(88svh, 720px); }
  .numbers:not([data-motion="on"]) .nrow[data-slide="1"] {
    min-height: min(88svh, 720px);
  }
  .numbers:not([data-motion="on"]) .nrow + .nrow .nslide__copy {
    padding: 40px var(--pad) 36px;
  }

  .numbers[data-motion="on"] .nslide__copy {
    left: var(--pad);
    right: var(--pad);
    top: calc(84px + var(--nfs) + 34px);
    width: auto;
  }
  .numbers[data-motion="on"] .numbers__note { bottom: 14px; font-size: 10.5px; }
}

/* ==========================================================================
   5. SERVICES — four lettered blocks
   ========================================================================== */

.services { padding: var(--sect) 0; }
.services__head { padding-bottom: clamp(40px, 5vw, 76px); }
.services__panel { padding-inline: var(--shell-pad); }

/* one dark panel, 3 × 2, hairline dividers */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #111;
}
.cap {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(44px, 5.4vw, 88px);
  min-height: clamp(228px, 23vw, 296px);
  padding: clamp(22px, 2.3vw, 34px);
  color: var(--paper);
  border-right: 1px solid rgba(255, 255, 255, .14);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  transition: background-color 320ms var(--ease);
}
.cap:nth-child(3n) { border-right: 0; }
.cap:nth-child(n + 4) { border-bottom: 0; }
.cap:hover,
.cap:focus-visible { background: #161616; }
.cap:focus-visible { outline-offset: -4px; }

.cap__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.cap__cat {
  padding-top: 13px;            /* sits on the arrow's optical axis */
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(244, 242, 238, .64);
}
.cap__go {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .26);
  font-size: 15px;
  line-height: 1;
  transition: background-color 260ms var(--ease), border-color 260ms var(--ease),
              color 260ms var(--ease), transform 320ms var(--ease);
}
.cap:hover .cap__go,
.cap:focus-visible .cap__go {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
  transform: translate(3px, -3px);
}

.cap__foot { display: grid; gap: 10px; }
.cap__title {
  font-family: var(--f-display);
  min-height: 2.04em;      /* two lines: keeps every sub-line on one baseline */
  font-size: clamp(26px, 2.35vw, 34px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.02;
}
.cap__sub {
  font-size: 16px;
  line-height: 1.45;
  min-height: 2.9em;      /* reserve two lines so all six cells share one baseline */
  color: rgba(244, 242, 238, .72);
  max-width: 34ch;
}

@media (max-width: 900px) {
  .cap-grid { grid-template-columns: minmax(0, 1fr); }
  .cap {
    min-height: 0;
    border-right: 0;
    gap: clamp(30px, 7vw, 48px);
  }
  .cap:nth-child(n + 4) { border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .cap:last-child { border-bottom: 0; }
  .cap__sub { max-width: none; }
}

/* metric chips (cases, process) ---------------------------------------- */
.chip {
  display: inline-block;
  padding: 5px 10px;
  background: rgba(11, 11, 11, .06);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink);
  white-space: nowrap;
}
.chip--accent { border: 1px solid var(--accent); }
.on-dark .chip { background: rgba(244, 242, 238, .1); color: var(--paper); }

/* ==========================================================================
   6. CASES — sticky deck, staggered tops, scroll-linked shrink
   ========================================================================== */

.cases {
  padding: var(--sect) 0;
  --nav-h: 72px;
}
.cases__head { padding-bottom: clamp(32px, 4vw, 64px); }

.stack {
  display: grid;
  gap: 5vh;
  padding: 0 var(--shell-pad);
}
.stack-card {
  display: block;
  position: sticky;
  top: calc(var(--nav-h) + 34px + var(--i) * 16px);
  /* narrower than the shell measure, but aligned to its LEFT edge — a centred
     card would look unrelated to the headline above it. 1120px was Kevin's
     chosen width for the case cards; the shell must not widen it back out. */
  width: 100%;
  max-width: min(1120px, 100%);
  margin-inline: auto;
  height: min(72vh, 720px);
  color: var(--paper);
}
.stack-inner {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 2px;
  background: var(--ink);
  transform-origin: 50% 0;
  will-change: transform;
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .8);
}
.stack-inner > img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  transition: transform 1.4s var(--ease), filter 1.4s var(--ease);
  filter: saturate(.94) brightness(.92);
}
.stack-card:hover .stack-inner > img { transform: scale(1.03); filter: saturate(1.02) brightness(1); }

.stack-dim {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  z-index: 3;
  pointer-events: none;
}

/* the card's one accent is the dot on the badge; the border stays neutral */
.live-badge {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 6;
  padding: 8px 14px 8px 26px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #f5f5f7;
  background:
    radial-gradient(circle at 14px center, var(--accent) 0 3px, rgba(0,0,0,0) 3.6px),
    linear-gradient(rgba(30,30,32,.62), rgba(10,10,12,.55));
  backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, .14);
}

.stack-cap {
  position: absolute;
  left: 22px; bottom: 22px;
  z-index: 4;
  max-width: min(620px, 100% - 44px);
  padding: 22px 26px 24px;
  border-radius: 2px;
  background: linear-gradient(rgba(20,20,20,.72), rgba(10,10,12,.62));
  backdrop-filter: blur(18px) saturate(140%);
  color: #f5f5f7;
}
.stack-cap__meta {
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(245, 245, 247, .72);
}
.stack-cap h3 {
  margin: 8px 0 10px;
  font-size: clamp(26px, 3vw, 46px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: #f5f5f7;
}
.stack-cap__line {
  font-size: 15px;
  line-height: 1.45;
  color: rgba(245, 245, 247, .88);
  max-width: 46ch;
}
.stack-cap__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.stack-cap__metrics .chip {
  background: rgba(255, 255, 255, .1);
  color: #f5f5f7;
  border: 1px solid rgba(255, 255, 255, .14);
}
.stack-cap__tags {
  margin-top: 10px;
  font-size: 11.5px;
  letter-spacing: .04em;
  color: rgba(245, 245, 247, .62);
}

@media (max-width: 900px) {
  .cases { --nav-h: 60px; }
  .stack { gap: 3vh; }
  .stack-card {
    height: auto;
    top: calc(var(--nav-h) + 22px + var(--i) * 10px);
  }
  .stack-inner { height: auto; aspect-ratio: 350 / 460; }
  .stack-cap { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 16px 16px 18px; }
  .stack-cap h3 { font-size: 26px; }
  .stack-cap__line { font-size: 13px; }
  .stack-cap__tags { display: none; }
}

/* the caption stops floating over the picture on a phone: it sits under it */
@media (max-width: 640px) {
  .stack-inner {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
  }
  .stack-inner > img {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    flex: none;
  }
  .stack-cap {
    position: relative;
    left: auto; right: auto; bottom: auto;
    background: none;
    backdrop-filter: none;
    padding: 18px 18px 20px;
    max-width: none;
  }
  .live-badge { top: 12px; right: 12px; }
}

/* ==========================================================================
   7. PROCESS — five stages, sticky rail
   ========================================================================== */

.process { padding: var(--sect) 0; }
.process__head { padding-bottom: clamp(36px, 4.6vw, 72px); }
.process__body {
  padding-inline: var(--shell-pad);
  display: grid;
  grid-template-columns: minmax(140px, 22vw) minmax(0, 1fr);
  column-gap: clamp(16px, 4vw, 80px);
}
.process__rail {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
  align-self: start;
  height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.process__railnum {
  font-family: var(--f-display);
  font-size: clamp(72px, 11vw, 168px);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .8;
  font-variant-numeric: tabular-nums;
  /* the current stage is this section's one accent. At 72–168px it is large
     display type, so vermilion clears the 3:1 large-text floor; the stage
     numbers inside the list stay ink. */
  color: var(--accent);
}
.process__railtrack {
  display: grid;
  gap: 7px;
  width: min(180px, 100%);
}
.process__railtrack i {
  display: block;
  height: 2px;
  background: rgba(11, 11, 11, .16);
  transition: background 300ms var(--ease);
}
.process__railtrack i[data-on="true"] { background: var(--ink); }

.stage {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  column-gap: clamp(18px, 3vw, 56px);
  padding: clamp(30px, 4vw, 56px) 0;
  border-top: 1px solid rgba(11, 11, 11, .1);
}
.stage:first-child { border-top: 0; padding-top: 0; }
.stage:last-child { border-bottom: 1px solid rgba(11, 11, 11, .1); }
.stage__meta {
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-62);
  display: flex;
  gap: .6em;
  align-items: baseline;
}
.stage__meta b {
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stage h3 {
  font-size: clamp(24px, 2.8vw, 40px);
  margin: 10px 0 14px;
  letter-spacing: -.035em;
  max-width: 18ch;
}
.stage p {
  font-size: var(--t-body);
  line-height: 1.5;
  max-width: 46ch;
  color: var(--ink);
}
.stage__tool {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-62);
}
.stage__tool .chip { font-size: 11px; }
.stage__tool--none .chip { background: none; border: 1px solid rgba(11,11,11,.2); }

@media (max-width: 900px) {
  .process__body { grid-template-columns: 1fr; }
  .process__rail { display: none; }
  .stage { grid-template-columns: 1fr; gap: 6px; }
  .stage h3 { max-width: none; }
  /* the rail is gone on a phone, so the current stage is marked with the same
     6px dot the section heads use — never vermilion on 13px type, which
     would sit at 3.8:1 */
  .stage.is-current .stage__meta::before {
    content: "";
    flex: none;
    align-self: center;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
  }
}

/* ==========================================================================
   8. LANES — two full-width panels
   ========================================================================== */

.lanes { padding: var(--sect) 0; }
.lanes__head { padding-bottom: clamp(32px, 4vw, 64px); }
.lanes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.lane {
  padding: clamp(36px, 4.6vw, 76px) clamp(20px, 3.6vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 54vh;
}
.lane--sprint { background: var(--ink); color: var(--paper); }
.lane--bespoke { background: rgba(11, 11, 11, .05); color: var(--ink); }
.lane__tag {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .66;
}
.lane h3 {
  font-size: clamp(34px, 4.4vw, 72px);
  letter-spacing: -.045em;
}
.lane__promise {
  font-size: var(--t-lede);
  line-height: 1.4;
  max-width: 30ch;
  opacity: .9;
}
.lane ul {
  display: grid;
  gap: 10px;
  font-size: 15px;
  line-height: 1.42;
  margin-top: 6px;
}
.lane li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 8px;
}
.lane li::before { content: "→"; font-size: 12px; opacity: .55; }
.lane__cta { margin-top: auto; padding-top: 22px; }
.lane--sprint .btn { background: var(--paper); color: var(--ink); }
.lane--sprint .btn:hover { background: rgba(250, 250, 248, .82); color: var(--ink); }

.lanes__foot {
  padding: clamp(26px, 3.4vw, 48px) var(--shell-pad) 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: baseline;
}
.lanes__ask { font-size: var(--t-lede); max-width: 46ch; }
.lanes__ask a { border-bottom: 1px solid currentColor; transition: border-color 220ms var(--ease); }
.lanes__ask a:hover,
.lanes__ask a:focus-visible { border-bottom-color: var(--accent); }

@media (max-width: 900px) {
  .lanes__grid { grid-template-columns: 1fr; }
  .lane { min-height: 0; }
}

/* ==========================================================================
   9. CLIENTS
   ========================================================================== */

.clients { padding: var(--sect) 0; background: var(--support); }   /* the support tint earns its place: one quiet band */
.clients__head { padding-bottom: clamp(32px, 4vw, 60px); }

/* two rows, opposite directions, one hairline grid ---------------------- */
.wall {
  border-block: 1px solid rgba(11, 11, 11, .14);
  overflow: clip;
}
.wall:focus-visible { outline-offset: 4px; }
.wall__row {
  display: flex;
  width: max-content;
  will-change: transform;
}
.wall__row--a { animation: wall-a 58s linear infinite; }
.wall__row--b {
  animation: wall-b 74s linear infinite;
  border-top: 1px solid rgba(11, 11, 11, .14);
}
.wall__grp { display: flex; }
.wall__logo {
  display: grid;
  place-items: center;
  width: clamp(142px, 14.4vw, 220px);
  height: clamp(92px, 7.6vw, 118px);
  padding: 0 clamp(16px, 1.8vw, 30px);
  border-right: 1px solid rgba(11, 11, 11, .14);
}
/* heights are normalised per logo (--lh) because the seven marks have
   aspect ratios from 1.55 to 3.87 */
.wall__logo img {
  height: var(--lh, 24px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1) contrast(1.08);
  opacity: .9;
  transition: opacity 260ms var(--ease), filter 260ms var(--ease);
}
.wall:hover .wall__row,
.wall:focus .wall__row,
.wall:focus-within .wall__row { animation-play-state: paused; }
.wall:hover .wall__logo img { opacity: 1; filter: grayscale(0) contrast(1); }
.wall__note { padding-top: clamp(22px, 3vw, 32px); }

@keyframes wall-a { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@keyframes wall-b { from { transform: translate3d(-50%,0,0); } to { transform: translate3d(0,0,0); } }

@media (prefers-reduced-motion: reduce) {
  .wall__row { display: block; animation: none; width: auto; }
  .wall__row--b { display: none; }
  /* Static fallback: the seven unique marks as one wrapped grid. The marquee's
     duplicated copies are not painted, and the cells have no rules of their
     own — a ruled cell with nothing in it is what read as a hole under the
     logos. Each line is centred, so a short last line is deliberate rather
     than an empty band, and the break points land on 7 / 4+3 / 2+2+2+1 so the
     wall never renders a lone logo stranded beside five empty cells. */
  .wall__grp {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .wall__grp[aria-hidden="true"],
  .wall__logo[aria-hidden="true"] { display: none; }
  .wall__logo {
    flex: 0 0 14.2857%;   /* seven across */
    width: auto;
    border-right: 0;
    border-bottom: 0;
  }
}
@media (prefers-reduced-motion: reduce) and (max-width: 1000px) {
  .wall__logo { flex-basis: 25%; }        /* four, then three */
}
@media (prefers-reduced-motion: reduce) and (max-width: 560px) {
  .wall__logo { flex-basis: 50%; }        /* two, two, two, one */
}

/* ==========================================================================
   10. JOURNAL — one lead note with a 16:9 image, two with 4:3
   ========================================================================== */

.journal { padding: var(--sect) 0; }
.journal__head { padding-bottom: clamp(30px, 4vw, 56px); }
.journal__list {
  padding-inline: var(--shell-pad);
  display: grid;
  gap: clamp(30px, 3.6vw, 56px);
}

.note { display: grid; gap: clamp(16px, 2vw, 26px); }

/* the lead is a horizontal split: 16:9 picture, story beside it */
.note--lead {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(22px, 3.4vw, 64px);
  align-items: center;
}
.note--lead .note__body { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.note__media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(11, 11, 11, .06);
}
.note__media--wide { aspect-ratio: 16 / 9; }
.note__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1200ms var(--ease);
}
.note:hover .note__media img { transform: scale(1.025); }

.note__body {
  display: grid;
  grid-template-columns: minmax(88px, 11vw) minmax(0, 1fr);
  gap: clamp(12px, 2.4vw, 40px);
  align-items: start;
}
.note__cat { font-size: 12px; color: var(--ink-62); padding-top: 7px; }
/* journal's one accent: the lead note's category is boxed in vermilion. The
   two secondary notes keep their plain ink label. */
.note--lead .note__cat {
  display: inline-block;
  justify-self: start;
  margin-top: 2px;
  padding: 4px 9px 5px;
  border: 1px solid var(--accent);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.2;
}
.note h3 {
  font-size: clamp(22px, 2.3vw, 34px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.08;
  max-width: 26ch;
}
.note--lead h3 { font-size: clamp(27px, 2.9vw, 44px); max-width: 24ch; }
/* link emphasis is an accent underline, never a colour change on the words */
.note h3 a:hover,
.note h3 a:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}
.note__dek { margin-top: 10px; font-size: 15px; line-height: 1.45; max-width: 46ch; }

.journal__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3.4vw, 56px);
}

.journal__foot {
  padding: clamp(26px, 3.4vw, 44px) var(--shell-pad) 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: baseline;
}

@media (max-width: 900px) {
  .note--lead { grid-template-columns: minmax(0, 1fr); }
  .journal__pair { grid-template-columns: 1fr; }
  .note__body { grid-template-columns: 1fr; gap: 8px; }
  .note__cat { padding-top: 0; }
}

/* ==========================================================================
   12. FAQ — single-open accordion, no rules, no fills
   ========================================================================== */

.faq { padding: var(--sect) 0; }
.faq__head { padding-bottom: clamp(26px, 3.4vw, 48px); }
.faq__list { padding-inline: var(--shell-pad); }
.faq__item { border-top: 1px solid rgba(11, 11, 11, .1); }
.faq__item:last-child { border-bottom: 1px solid rgba(11, 11, 11, .1); }
.faq__item summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  padding: clamp(20px, 2.4vw, 32px) 0;
  font-family: var(--f-display);
  font-size: clamp(22px, 3vw, 46px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.06;
  cursor: pointer;
  list-style: none;
  transition: color 220ms var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
/* a question is a target, so hover reads as an accent rule under it */
.faq__item summary:hover,
.faq__item summary:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: .08em;
}
.faq__item summary::after {
  content: "+";
  font-family: var(--f-text);
  font-weight: 400;
  font-size: .62em;
  line-height: 1;
  padding-top: .16em;
  transition: rotate 320ms var(--ease);
}
/* the open item's marker is the section's one accent; the glyph also changes
   + → ×, so colour is never the only indicator of state */
.faq__item[open] summary::after { content: "×"; rotate: 0deg; color: var(--accent); }
.faq__a {
  padding: 0 clamp(0px, 18vw, 260px) clamp(26px, 3vw, 40px) 0;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.58;
  max-width: 70ch;
}
.faq__foot {
  padding: clamp(26px, 3.2vw, 44px) var(--shell-pad) 0;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: baseline;
  font-size: var(--t-body);
}

/* ==========================================================================
   13. CONTACT — one sentence, six fields, HKT clock
   ========================================================================== */

.contact {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(72px, 9vw, 140px) 0 clamp(56px, 7vw, 96px);
}
/* the dark slab stays full-bleed (deliberate exception); the copy, the form
   and the aside sit in the shell */
.contact__inner {
  max-width: var(--shell);
  margin-inline: auto;
  /* --pad: this box is already the shell, so the percentage form of
     --shell-pad would resolve against the full-bleed .contact instead. */
  padding-inline: var(--pad);
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 96px);
  margin-top: clamp(22px, 3vw, 40px);
  align-items: start;
}
.contact h2 {
  font-size: var(--t-h2);
  max-width: 16ch;
}
.contact .eyebrow { color: var(--paper-66); }

.sentence {
  margin-top: clamp(18px, 2.4vw, 32px);
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.62;
  letter-spacing: -.01em;
  display: grid;
  gap: .55em;
}
.sentence p { max-width: 34ch; }

.f {
  display: inline;
  position: relative;
  font-size: .8em;
  font-family: var(--f-text);
  color: var(--paper);
  background: rgba(244, 242, 238, .09);
  border: 0;
  border-radius: 0;
  padding: .1em .3em .14em;
  transition: background 200ms var(--ease), box-shadow 200ms var(--ease);
  min-width: 2ch;
}
.f:focus {
  outline: none;
  background: rgba(244, 242, 238, .16);
  box-shadow: 0 2px 0 0 var(--accent);
}
.f::placeholder { color: rgba(244, 242, 238, .56); opacity: 1; }
.f:hover { background: rgba(244, 242, 238, .13); }
.f--name { width: 11ch; }
.f--co { width: 13ch; }
.f--email { width: 17ch; }
.f--area {
  display: block;
  width: 100%;
  min-height: 148px;
  resize: vertical;
  padding: .5em .6em;
  margin: .45em 0 .2em;
  line-height: 1.45;
}
.sentence__block { max-width: none; }
/* a field and its full stop never break apart */
.keep { display: inline-block; white-space: nowrap; vertical-align: baseline; }
.sentence .keep .f { margin-left: .12em; margin-right: 0; }

.field-err {
  display: none;
  font-size: 13px;
  line-height: 1.4;
  color: var(--paper);
  background: rgba(232, 68, 42, .22);
  border-left: 2px solid var(--accent);
  padding: .35em .55em;
  margin-top: .35em;
  max-width: 40ch;
}
.field-err[data-show="true"] { display: block; }
.f[aria-invalid="true"] { box-shadow: 0 2px 0 0 var(--accent); }

.contact__submit {
  margin-top: clamp(22px, 3vw, 34px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
}
.contact__consent { font-size: 14px; color: var(--paper-66); max-width: 34ch; }
/* fill is set with the other primary CTA near the top of this sheet */
.contact__submit .btn[disabled] { opacity: .55; cursor: default; }

.form-summary {
  display: none;
  font-size: 14px;
  background: rgba(232, 68, 42, .2);
  border-left: 2px solid var(--accent);
  padding: .6em .8em;
  margin-top: 18px;
  max-width: 46ch;
}
.form-summary[data-show="true"] { display: block; }

.success { display: none; }
.success[data-show="true"] { display: block; }
.success h3 {
  font-size: clamp(30px, 3.6vw, 56px);
  letter-spacing: -.04em;
}
.success p { margin-top: 12px; font-size: var(--t-lede); max-width: 40ch; color: var(--paper-66); }
.success .btn { margin-top: 24px; background: var(--paper); color: var(--ink); }

.contact__aside {
  display: grid;
  gap: 18px;
  font-size: 14px;
  border-top: 1px solid rgba(244, 242, 238, .2);
  padding-top: 18px;
}
.contact__row { display: flex; justify-content: space-between; gap: 16px; }
.contact__row dt { color: var(--paper-66); }
.contact__row dd { margin: 0; text-align: right; }
.contact__row dd a { border-bottom: 1px solid rgba(244, 242, 238, .4); }
.contact__row dd a:hover,
.contact__row dd a:focus-visible { border-color: var(--accent); color: var(--paper); }
.contact__time {
  font-family: var(--f-display);
  font-size: clamp(30px, 3.4vw, 52px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.contact__astime { display: grid; gap: 6px; }

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
  .sentence { font-size: 19px; }
  .f--name, .f--co, .f--email { width: auto; min-width: 8ch; max-width: 100%; }
}

/* ==========================================================================
   14. FOOTER
   ========================================================================== */

.foot {
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(40px, 5vw, 70px);
  overflow: clip;
  position: relative;
  /* the wordmark is measured off the shell, like the hero mark: 2.4557em is the
     advance width of "2SK." at this tracking, so the stop lands on the shell's
     right edge instead of running past the viewport. */
  --foot-fs: calc((var(--shell-w) - var(--pad) * 2) / 2.4557);
}
.foot__word {
  font-family: var(--f-display);
  font-weight: 800;
  /* the mark used to run out of the viewport at 41vw; it now runs out of the
     SHELL — the paper margin is the only thing past it. */
  font-size: var(--foot-fs);
  line-height: .727;
  letter-spacing: .175em;
  white-space: nowrap;
  color: var(--paper);
  padding-inline: var(--shell-pad);
  margin-bottom: 0;
  pointer-events: none;
  user-select: none;
}
/* the footer's one accent: the full stop after the wordmark. `.foot__word`
   tracks at .175em, so the dot is pulled back to sit on the K. */
.foot__dot {
  font-style: normal;
  font-size: .15em;
  vertical-align: .55em;
  letter-spacing: 0;
  margin-left: -.24em;
  color: var(--accent);
}
.foot__micro {
  padding: 0 var(--shell-pad);
  font-size: 15px;
  line-height: 1.5;
  color: var(--paper-66);
  /* 42ch is the measure of the TEXT, and --shell-pad is inside the border box
     (box-sizing: border-box), so the two have to be added or the padding eats
     the whole measure and the paragraph wraps one letter per line. */
  max-width: calc(42ch + var(--shell-pad) * 2);
  margin-top: clamp(18px, 2.4vw, 30px);
}
.foot__cols {
  padding: clamp(28px, 3.6vw, 52px) var(--shell-pad) 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 40px);
}
.foot__col h3,
.foot__coltitle {
  font-family: var(--f-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--paper-66);
  margin-bottom: 14px;
}
.foot__col ul { display: grid; gap: 8px; font-size: 14.5px; grid-template-columns: minmax(0, 1fr); }
.foot__col a:hover,
.foot__col a:focus-visible { color: var(--paper); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.foot__col li { color: var(--paper); min-width: 0; overflow-wrap: anywhere; }
.foot__loc {
  padding: clamp(28px, 3.4vw, 48px) var(--shell-pad) 0;
  font-size: 13px;
  color: var(--paper-66);
  display: flex;
  gap: 8px 18px;
  flex-wrap: wrap;
  align-items: baseline;
}
.foot__loc b { color: var(--paper); font-weight: 500; font-variant-numeric: tabular-nums; }
.foot__bottom {
  margin-top: clamp(20px, 2.6vw, 34px);
  border-top: 1px solid rgba(244, 242, 238, .18);
  padding: 18px var(--shell-pad) calc(var(--pad) * .9);
  display: flex;
  gap: 12px 26px;
  flex-wrap: wrap;
  align-items: baseline;
  font-size: 12.5px;
  color: var(--paper-66);
}
.foot__bottom a:hover { color: var(--paper); }
.foot__top { margin-left: auto; }

@media (max-width: 900px) {
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__bottom { font-size: 12px; }
}

/* ==========================================================================
   REVEAL — only added by JS, so nothing is ever hidden without it
   ========================================================================== */

.rv {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  /* 620ms reads as arrival; 900ms reads as lag. Delay is capped so a long
     stagger can never leave a block waiting more than a beat. */
  transition:
    opacity 620ms var(--ease) min(var(--rv-d, 0ms), 220ms),
    transform 620ms var(--ease) min(var(--rv-d, 0ms), 220ms);
  will-change: opacity, transform;
}
.rv.is-in { opacity: 1; transform: none; will-change: auto; }

/* opacity-only variant: for elements whose own transform is already doing work
   (pinned case stack, client wall rows). A translate would fight them. */
.rv-fade {
  opacity: 0;
  transition: opacity 620ms var(--ease) min(var(--rv-d, 0ms), 220ms);
  will-change: opacity;
}
.rv-fade.is-in { opacity: 1; will-change: auto; }

/* rise variant: uses the independent `translate` property, so it can lift a card
   whose inner element is being scaled by scroll (transform would be overwritten) */
.rv-rise {
  opacity: 0;
  /* a card is 72vh tall: 16-32px of travel is 1% of the thing and reads as a
     pop. 72px over 900ms is the smallest move that registers at this size. */
  translate: 0 72px;
  transition:
    opacity 620ms var(--ease) min(var(--rv-d, 0ms), 220ms),
    translate 900ms var(--ease) min(var(--rv-d, 0ms), 220ms);
}
.rv-rise.is-in { opacity: 1; translate: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .rv.is-in { opacity: 1; transform: none; transition: none; }
  .nd__s { transition: none; }
  .stack-inner { transform: none !important; }
  /* the aperture resolves to one photograph, still, inside the letters */
  .hero__mask-layer {
    transition: none !important;
    background-position: 4% 55% !important;
  }
  .hero__mask-layer:not(:first-child) { opacity: 0 !important; }
  .hero__mask-layer:first-child { opacity: 1 !important; }
}

/* ==========================================================================
   JOURNAL — index and story (v2)
   Index: three columns, image-led, category filter.
   Story: dark chapter opener, cover overlapping the band, drop cap, contents
   strip, pull quotes. The point is contrast: chrome is dark and tight, the
   reading column is light and wide.
   ========================================================================== */

/* ---- index ------------------------------------------------------------- */
.jhead {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: calc(var(--nav-h) + clamp(44px, 6vw, 92px)) var(--pad) 0;
}
.jhead h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(40px, 6.2vw, 92px);
  line-height: .94;
  letter-spacing: -.03em;
  margin: 14px 0 0;
  max-width: 16ch;
}
.jhead__lede {
  margin-top: clamp(16px, 2.2vw, 26px);
  max-width: 54ch;
  font-size: var(--t-lede);
  line-height: 1.5;
  color: var(--ink-62);
}

.jfilters {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(26px, 3vw, 40px) var(--pad) 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.jfilters__btn {
  font: inherit;
  font-size: var(--t-micro);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-62);
  background: none;
  border: 1px solid rgba(11,11,11,.18);
  padding: 9px 14px;
  cursor: pointer;
  transition: color 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}
.jfilters__btn:hover { color: var(--ink); border-color: rgba(11,11,11,.45); }
.jfilters__btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.jfilters__count { margin-left: auto; font-size: var(--t-micro); color: var(--ink-45); letter-spacing: .04em; }

.jlist {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(26px, 3vw, 40px) var(--pad) 0;
  display: grid;
  gap: clamp(30px, 3.4vw, 46px) clamp(20px, 2.2vw, 34px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.jcard { display: grid; gap: 14px; align-content: start; }
.jcard[hidden] { display: none; }
.jcard__media {
  display: block;
  overflow: clip;
  aspect-ratio: 16 / 10;
  background: #EAE5DD;
}
.jcard__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 800ms var(--ease), filter 800ms var(--ease);
  filter: saturate(.96) contrast(1.02);
}
.jcard:hover .jcard__media img { transform: scale(1.035); filter: saturate(1.04) contrast(1.02); }
.jcard__meta {
  font-size: var(--t-micro);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-45);
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  align-items: center;
}
.jcard__meta span { color: var(--accent); }
.jcard__meta { gap: 0; }
.jcard__meta span::after,
.jcard__meta time::after {
  content: "·";
  margin: 0 6px 0 3px;
  color: rgba(11,11,11,.32);
}
.jcard__meta i { margin-left: 2px; }
.jcard__meta i { font-style: normal; }
.jcard__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(19px, 1.55vw, 25px);
  line-height: 1.2;
  letter-spacing: -.015em;
  margin-top: 2px;
  max-width: 30ch;
  text-wrap: balance;
}
.jcard__title a { text-decoration: none; }
/* A text-underline runs under EVERY line, so on a two-line CJK title the rule sat
   in the next line's ascenders — that was the "chopped off" look. The title now
   carries a single rule beneath the whole block instead. */
.jcard__title { border-bottom: 2px solid transparent; padding-bottom: 3px; display: inline-block; }
.jcard:hover .jcard__title { border-bottom-color: var(--ink); }
.jcard:hover .jcard__title a { text-decoration: none; }
.jcard__dek {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-62);
  max-width: 42ch;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
html[lang="zh-Hant"] .jcard__dek, html[lang="zh-Hans"] .jcard__dek { line-height: 1.75; -webkit-line-clamp: 4; }

.jload {
  width: 100%; max-width: var(--shell); margin-inline: auto;
  padding: clamp(28px, 3.4vw, 44px) var(--pad) 0;
  display: flex; justify-content: center;
}
.jload__note { font-size: var(--t-micro); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-45); }

.jcta {
  width: 100%; max-width: var(--shell); margin-inline: auto;
  margin-top: clamp(48px, 5vw, 80px);
  padding: clamp(26px, 2.6vw, 38px) var(--pad) clamp(48px, 5vw, 76px);
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px 48px;
}
/* the button was stretching to the full 1fr column: a 1,900px black bar */
.jcta > h2 { grid-column: 1; }
.jcta > p  { grid-column: 1; }
.jcta > .btn {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  justify-self: end;
  width: auto;
  max-width: max-content;
}
.jcta h2 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(24px, 2.6vw, 38px); letter-spacing: -.02em; margin: 0 0 8px;
}
.jcta p { color: var(--ink-62); max-width: 46ch; margin: 0; }
.jcta .btn { margin: 0; white-space: nowrap; }
@media (max-width: 760px) {
  .jcta { grid-template-columns: 1fr; align-items: start; }
  .jcta > .btn { grid-column: 1; grid-row: 3; justify-self: start; margin-top: 14px; }
}

.post__cta {
  width: 100%; max-width: none; margin-inline: auto;
  padding: clamp(52px, 6vw, 88px) var(--pad);
}
.post__cta h2 {
  font-family: var(--f-display); font-weight: 800;
  font-size: var(--t-h3); letter-spacing: -.02em; margin: 6px 0 10px;
}
.post__cta p { color: var(--paper-66); max-width: 46ch; }
.post__cta .btn { margin-top: 22px; }

/* ---- story ------------------------------------------------------------- */
.post {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 0 var(--pad) 0;
}
/* the opener is a full-bleed dark band: `margin-inline: calc(50% - 50vw)` escapes
   the capped column, then the inner padding re-aligns content to the shell edge */
.post__head {
  background: var(--ink);
  color: var(--paper);
  margin-inline: calc(50% - 50vw);
  padding: calc(var(--nav-h) + clamp(38px, 5vw, 74px)) max(var(--pad), calc(50vw - var(--shell) / 2 + var(--pad))) clamp(46px, 6vw, 84px);
}
.post__head .eyebrow { color: var(--paper-66); }
.post__head .eyebrow a { color: var(--paper); text-decoration: none; border-bottom: 1px solid rgba(250,250,248,.35); }
.post__head .eyebrow a:hover { border-color: var(--paper); }
.post__head h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(32px, 4.6vw, 68px);
  line-height: 1;
  letter-spacing: -.028em;
  margin: 18px 0 0;
  max-width: 19ch;
  color: var(--paper);
}
.post__dek {
  margin-top: clamp(16px, 2vw, 24px);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.5;
  color: var(--paper-66);
  max-width: 54ch;
}
.post__meta {
  margin-top: clamp(20px, 2.4vw, 30px);
  padding-top: 16px;
  border-top: 1px solid rgba(250,250,248,.18);
  font-size: var(--t-micro);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--paper-40);
  max-width: 54ch;
}
.post__meta time { color: var(--paper-66); }
.post__head .lang { margin-top: 20px; }
.post__head .lang__opt { color: var(--paper-66); border-color: rgba(250,250,248,.22); }
.post__head .lang__opt:hover { color: var(--paper); border-color: rgba(250,250,248,.5); }
.post__head .lang__opt[aria-current="page"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.post__cover {
  margin: calc(clamp(-60px, -4vw, -28px)) 0 0;
  aspect-ratio: 16 / 7;
  overflow: clip;
  background: #EAE5DD;
  position: relative;
  z-index: 2;
}
.post__cover img { width: 100%; height: 100%; object-fit: cover; }

.post__toc {
  max-width: 68ch;
  margin: clamp(26px, 3vw, 40px) auto 0;
  padding: 18px 0 4px;
  border-top: 1px solid rgba(11,11,11,.16);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  counter-reset: toc;
}
.post__toc__label {
  grid-column: 1 / -1;
  font-size: var(--t-micro); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-45); margin-bottom: 6px;
}
.post__toc a {
  display: flex;
  gap: 12px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--ink-62);
  text-decoration: none;
  padding: 11px 0;
  border-bottom: 1px solid rgba(11,11,11,.1);
}
.post__toc a::before {
  counter-increment: toc;
  content: counter(toc, decimal-leading-zero);
  color: var(--accent);
  font-size: 11px;
  letter-spacing: .04em;
  padding-top: 2px;
  flex: 0 0 auto;
}
.post__toc a:hover { color: var(--ink); }

.post__body {
  max-width: 68ch;
  margin: clamp(28px, 3.4vw, 46px) auto 0;
  font-size: clamp(17px, 1.15vw, 19px);
  line-height: 1.62;
}
.post__body > p { margin: 0 0 1.15em; }
.post__body > p:first-of-type { font-size: 1.16em; line-height: 1.5; color: var(--ink); }
/* drop cap on the opening paragraph — the only place the accent touches the body */
.post__body > p:first-of-type::first-letter {
  float: left;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 3.5em;
  line-height: .82;
  padding: .06em .1em 0 0;
  color: var(--ink);
}
.post__body h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(23px, 2.2vw, 32px);
  line-height: 1.14;
  letter-spacing: -.02em;
  margin: 2.1em 0 .6em;
  max-width: 30ch;
  padding-top: .5em;
  position: relative;
}
.post__body h2::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 34px; height: 2px;
  background: var(--accent);
}
.post__body h3 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(19px, 1.5vw, 23px);
  margin: 1.7em 0 .5em;
}
.post__body ul, .post__body ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.post__body ul { list-style: disc; }
.post__body ol { list-style: decimal; }
.post__body li { margin-bottom: .5em; }
.post__body li::marker { color: var(--accent); }
.post__body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.post__body a:hover { color: var(--accent); }
.post__body strong { font-weight: 600; }
.post__body blockquote {
  margin: 2em 0;
  padding: 0 0 0 26px;
  border-left: 3px solid var(--accent);
  font-family: var(--f-display);
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.35;
  letter-spacing: -.015em;
  color: var(--ink);
}
.post__body blockquote p { margin: 0 0 .6em; }
.post__body table {
  width: 100%; border-collapse: collapse;
  margin: 1.6em 0 2em; font-size: .86em; line-height: 1.45;
  display: block; overflow-x: auto;
}
.post__body th {
  text-align: left; font-weight: 600; font-size: .92em;
  text-transform: uppercase; letter-spacing: .04em;
  background: var(--support);
  border-bottom: 1px solid var(--ink);
  padding: 12px 16px 11px 12px; vertical-align: bottom;
}
.post__body td { border-bottom: 1px solid rgba(11,11,11,.12); padding: 12px 16px 12px 12px; vertical-align: top; }
.post__body tr:hover td { background: rgba(242,227,220,.35); }
.post__body hr { border: 0; border-top: 1px solid rgba(11,11,11,.14); margin: 2.6em 0; }

.post__faq {
  max-width: 68ch;
  margin: clamp(48px, 5.4vw, 88px) auto 0;
  padding-top: clamp(26px, 3vw, 40px);
  border-top: 2px solid var(--ink);
}
.post__faq h2 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(24px, 2.3vw, 34px); letter-spacing: -.02em;
  margin-bottom: 8px;
}
.qa { padding: 22px 0; border-bottom: 1px solid rgba(11,11,11,.14); }
.qa__q {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(18px, 1.4vw, 21px); line-height: 1.3;
  margin-bottom: 10px;
  display: flex; gap: 12px;
}
.qa__q::before { content: "Q"; color: var(--accent); font-size: .8em; letter-spacing: .04em; padding-top: .25em; }
.qa__a { font-size: var(--t-body); line-height: 1.6; color: var(--ink-62); max-width: 62ch; padding-left: 26px; }

.post__after {
  max-width: 68ch;
  margin: clamp(30px, 3.6vw, 50px) auto 0;
  font-size: var(--t-body);
  line-height: 1.62;
  padding: clamp(20px, 2.4vw, 28px) clamp(20px, 2.4vw, 28px);
  background: var(--support);
}
.post__after p { margin: 0 0 .9em; }
.post__after p:last-child { margin-bottom: 0; }
.post__after a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.post__after a:hover { color: var(--accent); }
.post__after strong { font-weight: 600; }

.post__rel {
  width: 100%; max-width: var(--shell);
  margin: clamp(54px, 6vw, 96px) auto 0;
  padding: 0 var(--pad);
}
.post__rel h2 {
  font-family: var(--f-display); font-weight: 800;
  font-size: var(--t-micro); letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-45); margin-bottom: 18px;
}
.post__rel ul {
  display: grid;
  gap: clamp(20px, 2.4vw, 32px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.post__rel li { border-top: 2px solid var(--ink); padding-top: 12px; }
.post__rel a { display: block; text-decoration: none; }
.post__rel img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; margin-bottom: 12px;
  transition: transform 700ms var(--ease);
}
.post__rel a:hover img { transform: scale(1.02); }
.post__rel span {
  display: block;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(16px, 1.35vw, 20px); line-height: 1.3;
  max-width: 26ch;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
html[lang="zh-Hant"] .post__rel span, html[lang="zh-Hans"] .post__rel span { line-height: 1.5; }
.post__rel a:hover span { border-bottom-color: var(--ink); }
.post__rel em {
  display: block; font-style: normal; font-size: var(--t-micro);
  letter-spacing: .05em; text-transform: uppercase; color: var(--ink-45); margin-top: 8px;
}

.post__cta {
  margin-top: clamp(48px, 5vw, 84px);
  background: var(--ink);
  color: var(--paper);
  max-width: none;
  padding-inline: max(var(--pad), calc(50vw - var(--shell) / 2 + var(--pad)));
}
.post__cta h2 { color: var(--paper); }
.post__cta .post__cta-k {
  font-size: var(--t-micro); letter-spacing: .12em; text-transform: uppercase; color: var(--paper-40);
}
.post__cta .btn--fill { background: var(--paper); color: var(--ink); }

@media (max-width: 1100px) {
  .jlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post__rel ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .jlist { grid-template-columns: 1fr; }
  .post__rel ul { grid-template-columns: 1fr; }
  .post__cover { aspect-ratio: 16 / 9; margin-top: -18px; }
  .post__body table { font-size: .8em; }
  .jfilters__count { display: none; }
}

/* ==========================================================================
   LANGUAGE SWITCH + CJK TYPOGRAPHY
   The display face is Inter Tight, which has no CJK glyphs: Chinese falls back
   to the system font, so the Latin tracking and line-height need resetting or
   the text reads cramped and over-spaced at the same time.
   ========================================================================== */

.lang {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin-top: 26px;
  font-size: var(--t-micro);
  letter-spacing: .02em;
}
.lang__opt {
  color: var(--ink-62);
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid rgba(11,11,11,.16);
  margin-right: 8px;
}
.lang__opt:hover { color: var(--ink); border-color: rgba(11,11,11,.4); }
.lang__opt[aria-current="page"] {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}
.post__head .lang { margin-top: 18px; }

html[lang="zh-Hant"] body,
html[lang="zh-Hans"] body {
  font-family: "PingFang HK", "PingFang SC", "Hiragino Sans GB", "Noto Sans TC",
               "Noto Sans SC", "Microsoft JhengHei", "Microsoft YaHei", var(--f-text);
}
html[lang="zh-Hant"] .hero__mask,
html[lang="zh-Hans"] .hero__mask,
html[lang="zh-Hant"] h1, html[lang="zh-Hant"] h2, html[lang="zh-Hant"] h3,
html[lang="zh-Hans"] h1, html[lang="zh-Hans"] h2, html[lang="zh-Hans"] h3,
html[lang="zh-Hant"] .jhead h1, html[lang="zh-Hant"] .post__head h1,
html[lang="zh-Hans"] .jhead h1, html[lang="zh-Hans"] .post__head h1 {
  font-family: "PingFang HK", "PingFang SC", "Noto Sans TC", "Noto Sans SC",
               "Microsoft JhengHei", "Microsoft YaHei", var(--f-display);
  letter-spacing: 0;
}
html[lang="zh-Hant"] .jhead h1, html[lang="zh-Hans"] .jhead h1 { line-height: 1.18; max-width: 24ch; }
html[lang="zh-Hant"] .post__head h1, html[lang="zh-Hans"] .post__head h1 { line-height: 1.22; max-width: 22ch; }
html[lang="zh-Hant"] .post__body, html[lang="zh-Hans"] .post__body { line-height: 1.9; font-size: clamp(17px, 1.1vw, 18.5px); }
html[lang="zh-Hant"] .post__body h2, html[lang="zh-Hans"] .post__body h2 { line-height: 1.35; max-width: 26ch; margin: 1.9em 0 .55em; }
html[lang="zh-Hant"] .post__body p, html[lang="zh-Hans"] .post__body p { margin: 0 0 1.25em; }
html[lang="zh-Hant"] .jcard__title, html[lang="zh-Hans"] .jcard__title { line-height: 1.5; max-width: 22ch; letter-spacing: 0; }
html[lang="zh-Hant"] .jcard--lead .jcard__title, html[lang="zh-Hans"] .jcard--lead .jcard__title { max-width: 20ch; }
html[lang="zh-Hant"] .qa__q, html[lang="zh-Hans"] .qa__q { line-height: 1.45; }
html[lang="zh-Hant"] .qa__a, html[lang="zh-Hans"] .qa__a { line-height: 1.8; }
html[lang="zh-Hant"] .post__after, html[lang="zh-Hans"] .post__after { line-height: 1.85; }
html[lang="zh-Hant"] .post__body table, html[lang="zh-Hans"] .post__body table { font-size: .82em; line-height: 1.5; }

/* CJK headlines: balance the lines and give them a little more measure, otherwise
   a Latin run like "WordPress" plus a long Chinese phrase breaks after two glyphs */
html[lang="zh-Hant"] .post__head h1,
html[lang="zh-Hans"] .post__head h1,
html[lang="zh-Hant"] .jhead h1,
html[lang="zh-Hans"] .jhead h1 { text-wrap: balance; }
html[lang="zh-Hant"] .post__head h1,
html[lang="zh-Hans"] .post__head h1 { max-width: 26ch; line-break: strict; }
html[lang="zh-Hant"] .jhead h1,
html[lang="zh-Hans"] .jhead h1 { max-width: 26ch; line-break: strict; }

/* Article H2s: the 30ch cap is a Latin measure. At CJK glyph widths it cut the
   column roughly 200px short of the paragraph below, so headings wrapped two
   words early. Let the heading use the text column, and balance the lines. */
html[lang="zh-Hant"] .post__body h2,
html[lang="zh-Hans"] .post__body h2 {
  max-width: 100%;
  line-height: 1.38;
  text-wrap: balance;
}
html[lang="zh-Hant"] .post__body h3,
html[lang="zh-Hans"] .post__body h3 {
  max-width: 100%;
  line-height: 1.45;
  text-wrap: balance;
}
/* same reasoning for the Latin side, but keep the tighter measure */
.post__body h2 { text-wrap: balance; }

/* The story H1 gets the same treatment: balance the lines so a Chinese headline
   breaks evenly instead of leaving a two-character orphan on the last line. */
html[lang="zh-Hant"] .post__head h1,
html[lang="zh-Hans"] .post__head h1 { text-wrap: balance; max-width: 30ch; }

/* Card titles were capped in ch units — 22ch at CJK glyph widths is ~240px inside a
   424px card, so every Chinese title wrapped early and left a third of the column
   empty. The card is the measure here; the title uses the whole of it. */
.jcard__title,
html[lang="zh-Hant"] .jcard__title,
html[lang="zh-Hans"] .jcard__title,
html[lang="zh-Hant"] .jcard--lead .jcard__title,
html[lang="zh-Hans"] .jcard--lead .jcard__title {
  max-width: 100%;
}

/* honeypot: off-canvas, never focusable, invisible to assistive tech */
.hp {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}
/* failure state of the brief form — must never look like success */
.success--error h3::after {
  content: ""; display: block; width: 46px; height: 3px;
  margin-top: 10px; background: var(--accent);
}

/* legal pages — formal instrument, so: one measure, real hanging structure,
   no display type above h1 */
.legal {
  max-width: 78ch; margin: 0 auto;
  padding: clamp(96px, 12vw, 150px) var(--pad) clamp(64px, 8vw, 104px);
}
.legal h1 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(30px, 4vw, 48px); letter-spacing: -.025em;
  margin: 10px 0 6px;
}
.legal__meta {
  font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-45); margin-bottom: clamp(28px, 4vw, 44px);
}
.legal h2 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(17px, 1.6vw, 21px); letter-spacing: -.01em;
  margin: clamp(30px, 3.4vw, 40px) 0 10px;
}
.legal p {
  font-size: 16px; line-height: 1.72; color: var(--ink-70);
  margin-bottom: 10px;
}
.legal strong { color: var(--ink); font-weight: 600; }


/* the confirmation is a panel, not a continuation of the section headline */
#success, #form-error { margin-top: clamp(24px, 3vw, 40px); }
#success h3, #form-error h3 { margin-top: 0; }
.contact__grid #success { max-width: 44ch; }


/* =========================================================== 1. OPENER
   Left: the label, bottom-aligned and sticky for the length of the section.
   Right: the poster at full height, then the argument scrolling up beneath it.
   The image leaves and the words arrive in the space it vacated. */
.opener {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  align-items: start;
  background: var(--ink);
  color: var(--paper);
}
.opener__left { position: relative; height: 100%; }
/* the inner box is what sticks, so the label holds for the whole section
   instead of leaving as soon as the first viewport's worth of scroll passes */
.opener__leftInner {
  position: sticky; top: 0;
  height: 100svh;
  padding: clamp(104px, 8.4vw, 132px) clamp(24px, 3.4vw, 52px) clamp(26px, 2.6vw, 40px);
  display: flex; flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
}
.opener__kicker {
  font-size: var(--t-micro); letter-spacing: .22em; text-transform: uppercase;
  color: rgba(244,242,238,.5);
}
.opener__base { margin-top: auto; display: grid; gap: clamp(16px, 1.9vw, 26px); justify-items: start; }
.opener__name {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(42px, 6vw, 104px);
  line-height: .9; letter-spacing: -.05em;
  margin: 0;
}
.opener__actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.opener__actions .btn:not(.btn--ghost) { background: var(--paper); color: var(--ink); }
.opener__actions .btn:not(.btn--ghost):hover { background: var(--accent); color: var(--paper); }
.opener__actions .btn--ghost { color: var(--paper); }
.opener__cue {
  position: absolute;
  right: clamp(22px, 2.6vw, 44px);
  bottom: clamp(28px, 2.6vw, 42px);
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--t-micro); letter-spacing: .2em; text-transform: uppercase;
  color: rgba(244,242,238,.38);
}
.opener__cue span {
  width: 1px; height: 24px; background: currentColor; display: block;
  transform-origin: top; animation: cueDrop 2.4s var(--ease) infinite;
}
@keyframes cueDrop {
  0% { transform: scaleY(.2); opacity: .2; }
  45% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

.opener__right { display: block; }
.opener__media {
  margin: 0; height: 100svh; overflow: clip;
}
.opener__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
  display: block;
}
.opener__manifesto {
  padding: clamp(48px, 8vw, 104px) clamp(28px, 4.2vw, 72px) clamp(88px, 11vw, 160px);
  display: grid; gap: clamp(16px, 1.6vw, 24px);
}
.opener__claim {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(26px, 2.9vw, 44px);
  line-height: 1.12; letter-spacing: -.03em;
  margin: 0;
}
.opener__lede, .opener__body {
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.55;
  color: rgba(244,242,238,.72);
  max-width: 46ch;
}
.opener__body { color: rgba(244,242,238,.55); }

@media (max-width: 900px) {
  .opener { grid-template-columns: 1fr; }
  .opener__left { order: 2; height: auto; }
  .opener__leftInner {
    position: static; height: auto;
    padding: 30px var(--pad) 40px; gap: 22px;
  }
  .opener__right { order: 1; }
  /* the 62px offset used to sit as a black bar above the photograph; the image now
   runs to the top edge behind the nav and keeps its height */
  .opener__media { height: calc(62svh + 62px); margin-top: 0; }
  .opener__manifesto { padding: 26px var(--pad) 34px; gap: 14px; }
  .opener__claim { font-size: clamp(22px, 6.4vw, 30px); }
  .opener__cue { display: none; }
  .opener__name { font-size: clamp(36px, 11vw, 56px); }
}

/* the bar waits for the argument: out of the way over the opener, back once the
   opener has cleared it — and always present for a keyboard or an open menu.
   The hidden state ships in the markup so the first paint never shows it. */
body[data-nav-hidden="true"] .nav {
  transform: translateY(-104%);
  opacity: 0;
  pointer-events: none;
}
body[data-nav-hidden="true"] .nav:focus-within,
body[data-nav-hidden="true"][data-menu="open"] .nav {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
.nav {
  transition: transform 420ms var(--ease), opacity 300ms var(--ease);
}

/* nav over the dark opener: ink bar, no frost */
html body[data-nav="dark"] header.nav::before {
  background-color: var(--ink);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}


/* the bar sits over the top of this plate, so the block was optically high:
   give the copy more headroom and drop the numeral with it. Desktop only — on
   narrow screens the numeral is pinned to the top edge instead. */
@media (min-width: 901px) {
  .nslide__copy {
    padding-top: clamp(64px, 22svh, 215px);
    translate: 0 1.75svh;   /* the row centres its cell, so padding alone does not move it */
  }
  .nplate__num  { bottom: 8%; }
}

/* ------------------------------------------------------------------ *
 * Stack — now a dialog, opened from the capabilities panel. A register,
 * not a logo wall: a function on the left, the platforms on the right,
 * one hairline between rows so it reads as a schedule.
 * ------------------------------------------------------------------ */
.stackcta {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  gap: clamp(10px, 1.6vw, 22px);
  width: 100%;
  padding: clamp(20px, 2.2vw, 30px) clamp(18px, 2.4vw, 34px);
  border: 0;
  border-top: 1px solid rgba(250, 250, 248, .22);
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.stackcta__label {
  font: 500 var(--t-body)/1.3 var(--f-text);
  color: #fff;
  flex: 1 1 auto;
}
.stackcta__meta {
  font-size: var(--t-small);
  color: var(--paper-66);
  flex: 0 1 auto;
}
.stackcta__arrow {
  font-size: var(--t-body);
  color: #fff;
  transform: translateX(0);
  transition: transform .28s cubic-bezier(.4, 0, .2, 1);
}
.stackcta:hover .stackcta__arrow,
.stackcta:focus-visible .stackcta__arrow { transform: translateX(6px); }
.stackcta:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.stackmodal {
  width: min(1040px, calc(100vw - 2 * var(--pad)));
  max-height: min(88vh, 900px);
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
  overscroll-behavior: contain;
}
.stackmodal::backdrop {
  background: rgba(11, 11, 11, .62);
  backdrop-filter: blur(2px);
}
.stackmodal__inner { padding: clamp(28px, 3.4vw, 52px) clamp(22px, 3.2vw, 48px) clamp(24px, 3vw, 40px); }
.stackmodal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(20px, 2.4vw, 32px);
}
.stackmodal__head h2 {
  margin: 8px 0 10px;
  font: 500 var(--t-h3)/1.1 var(--f-display);
  letter-spacing: -.01em;
}
.stackmodal__lede { margin: 0; max-width: 56ch; font-size: var(--t-body); line-height: 1.55; color: var(--ink-62); }
.stackmodal__close {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border: 1px solid rgba(11, 11, 11, .18);
  background: none;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.stackmodal__close:hover { background: rgba(11, 11, 11, .05); }
.stackmodal .stacklist { margin-inline: 0; }
.stackrow {
  display: grid;
  grid-template-columns: minmax(150px, 20%) minmax(0, 1fr);
  gap: clamp(12px, 3vw, 56px);
  align-items: baseline;
  padding: clamp(14px, 1.6vw, 20px) 0;
  border-bottom: 1px solid rgba(11, 11, 11, .14);
}
.stackrow__label {
  margin: 0;
  font: 500 var(--t-micro)/1.35 var(--f-text);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-62);
}
.stackrow__tools {
  margin: 0;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
  color: var(--ink);
  text-wrap: pretty;
}
@media (max-width: 720px) {
  .stackcta { flex-wrap: wrap; }
  .stackcta__meta { order: 3; flex-basis: 100%; }
  .stackmodal { width: calc(100vw - 2 * var(--pad)); max-height: 92vh; }
  .stackrow { grid-template-columns: 1fr; gap: 6px; }
}


/* ── 2026-11-22 · position panel, security capability, journal index ──────
   Three merges approved from the preview rounds:
     1. the studio's position, as a poster panel (no name, no photograph)
     2. a seventh capability, in the panel's own black treatment
     3. the journal as a three-row index instead of three picture cards
   Append-only: nothing above this line changes. */

/* 1 · position ------------------------------------------------------------ */
.position { padding: var(--sect) 0 0; padding-inline: var(--shell-pad); }
.position__panel {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 44px); align-items: end;
  background: #0B0B0B; color: var(--paper);
  padding: clamp(26px, 4vw, 60px);
}
.position__body { display: grid; gap: clamp(14px, 1.6vw, 20px); }
.position blockquote {
  margin: 0; max-width: 26ch;
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(23px, 3.1vw, 44px); line-height: 1.1; letter-spacing: -.033em;
}
.position blockquote em { font-style: normal; color: var(--accent); }
.position__label {
  margin: 0; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(250, 250, 248, .50);
}
.position__mark {
  margin: 0; font-family: var(--f-display); font-weight: 900;
  font-size: clamp(36px, 4.6vw, 68px); line-height: .88; letter-spacing: -.05em;
}
.position__mark::after { content: "."; color: var(--accent); }

/* 2 · capabilities: white cards on paper, one black card, black on hover ----
   Keeps the component Kevin picked (white/black, no orange) and gives the
   seventh line a double-width slot so a four-column row never has a hole. */
.cap-grid {
  background: transparent;
  border: 1px solid rgba(11, 11, 11, .14);
  border-bottom: 0;
}
.cap-grid .cap {
  color: var(--ink);
  background: var(--paper);
  border-right: 1px solid rgba(11, 11, 11, .14);
  border-bottom: 1px solid rgba(11, 11, 11, .14);
}
.cap-grid .cap:hover,
.cap-grid .cap:focus-visible { background: var(--ink); color: var(--paper); }
.cap-grid .cap:hover .cap__cat,
.cap-grid .cap:hover .cap__sub,
.cap-grid .cap:hover .cap__title { color: var(--paper); }
.cap-grid .cap:hover .cap__cat { color: rgba(250, 250, 248, .62); }
.cap-grid .cap .cap__go { color: var(--ink); border-color: rgba(11, 11, 11, .22); }
.cap-grid .cap:hover .cap__go,
.cap-grid .cap:focus-visible .cap__go { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.cap-grid .cap--security .cap__go { color: var(--paper); border-color: rgba(250, 250, 248, .30); }
.cap-grid .cap:nth-child(3n) { border-right: 1px solid rgba(11, 11, 11, .14); }
.cap-grid .cap__title { color: var(--ink); }
.cap-grid .cap__cat { color: var(--ink-45); }
.cap-grid .cap__sub { color: var(--ink-62); }
.cap-grid .cap:hover .cap__title { color: var(--paper); }
.cap-grid .cap:hover .cap__cat { color: rgba(250, 250, 248, .62); }
.cap-grid .cap:hover .cap__sub { color: rgba(250, 250, 248, .74); }

.cap-grid .cap--security,
.cap-grid .cap--security:hover,
.cap-grid .cap--security:focus-visible { background: var(--ink); color: var(--paper); }
.cap-grid .cap--security:hover,
.cap-grid .cap--security:focus-visible { background: #161616; }
.cap-grid .cap--security .cap__title { color: var(--paper); }
.cap-grid .cap--security .cap__cat { color: rgba(250, 250, 248, .62); }
.cap-grid .cap--security .cap__sub { color: rgba(250, 250, 248, .74); }
.cap-grid .cap--security .cap__go { color: var(--accent); }

/* the stack link sits under the grid: give it the light panel's ink */
.services__panel .stackcta { border-top: 1px solid rgba(11, 11, 11, .14); }
.services__panel .stackcta__label { color: var(--ink); }
.services__panel .stackcta__meta { color: var(--ink-62); }
.services__panel .stackcta__arrow { color: var(--accent); }
.services__panel .stackcta:hover { background: #fff; }

@media (min-width: 1200px) {
  .cap-grid:has(.cap--security) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cap-grid:has(.cap--security) .cap:nth-child(3n),
  .cap-grid:has(.cap--security) .cap:nth-child(4n) { border-right: 1px solid rgba(11, 11, 11, .14); }
  .cap-grid:has(.cap--security) .cap:nth-child(4n) { border-right: 0; }
  .cap-grid:has(.cap--security) .cap:nth-child(n + 5) { border-bottom: 0; }
  .cap-grid:has(.cap--security) .cap--security { grid-column: span 2; border-right: 0; }
}
@media (min-width: 721px) and (max-width: 1199px) {
  .cap-grid:has(.cap--security) .cap:nth-child(3n) { border-right: 1px solid rgba(11, 11, 11, .14); }
  .cap-grid:has(.cap--security) .cap:nth-child(2n) { border-right: 0; }
  .cap-grid:has(.cap--security) .cap:nth-child(n + 5) { border-bottom: 1px solid rgba(11, 11, 11, .14); }
  .cap-grid:has(.cap--security) .cap:nth-child(n + 6) { border-bottom: 0; }
}

/* 3 · journal index -------------------------------------------------------- */
.jindex { padding-inline: var(--shell-pad); border-top: 1px solid rgba(11, 11, 11, .22); }
.jindex__row {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto auto;
  gap: clamp(12px, 2vw, 26px); align-items: baseline;
  padding: 15px 0; border-bottom: 1px solid rgba(11, 11, 11, .12);
  text-decoration: none; color: inherit;
  transition: background-color .2s var(--ease), padding-left .2s var(--ease);
}
.jindex__row:hover { background: #fff; padding-left: 10px; }
.jindex__row:hover .jindex__t {
  text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.jindex__i { font-family: var(--f-display); font-weight: 800; font-size: 12px; letter-spacing: .08em; color: var(--accent); }
.jindex__t { font-family: var(--f-display); font-weight: 600; font-size: clamp(16px, 1.35vw, 20px); letter-spacing: -.02em; }
.jindex__cat { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-45); }
.jindex__min { font-size: 12.5px; color: var(--ink-45); white-space: nowrap; }

@media (max-width: 900px) {
  .position__panel { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .position__mark { font-size: 40px; }
  .jindex__row { grid-template-columns: 34px minmax(0, 1fr) auto; row-gap: 4px; }
  .jindex__cat { grid-column: 2; }
  .jindex__min { grid-column: 3; }
}


/* ── 2026-11-22 · review round 1 (UX + craft triage) ──────────────────────
   Only the findings that survived verification. Each is a defect, not a
   redesign: hairlines from a 1px gap so the grid is correct at any column
   count; the type floor that let a card outrank its section head; the
   internal claims-policy note that shipped as copy. */

/* capability grid: hairlines from the gap, so 4 / 2 / 1 columns all close */
.cap-grid {
  background: rgba(11, 11, 11, .14);
  gap: 1px;
  border: 0;
}
.cap-grid .cap,
.cap-grid .cap:nth-child(3n),
.cap-grid .cap:nth-child(4n),
.cap-grid .cap:nth-child(n + 4),
.cap-grid .cap:nth-child(n + 5) { border: 0; }

@media (min-width: 901px) {
  .cap-grid:has(.cap--security) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cap-grid:has(.cap--security) .cap--security { grid-column: span 2; }
}
@media (min-width: 721px) and (max-width: 900px) {
  .cap-grid:has(.cap--security) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap-grid:has(.cap--security) .cap--security { grid-column: span 2; }
}
@media (max-width: 720px) {
  .cap-grid:has(.cap--security) { grid-template-columns: minmax(0, 1fr); }
  .cap-grid:has(.cap--security) .cap--security { grid-column: auto; }
}

/* the position panel needs the same bottom rhythm as every other section */
.position { padding: var(--sect) var(--shell-pad); }

/* section heads must outrank their own cards — 32px floor let .lane h3 win */
:root { --t-h2: clamp(38px, 4.6vw, 68px); }

/* journal rows: hold the display scale, and stop using a rule colour as text */
.jindex__t { font-size: clamp(20px, 1.9vw, 27px); }
.jindex__row { padding: 19px 0; }
.jindex__cat, .jindex__min { color: var(--ink-62); }

/* the quiet lane takes the page's warm tint, not a cold ink wash */
.lane--bespoke { background: var(--support); }

/* the stack link sits on the grid's hairline wash once the grid uses gap rules */
.services__panel .stackcta { background: var(--paper); }
.services__panel .stackcta:hover { background: #fff; }

/* close the composition: gap hairlines handle the interior, this handles the edge */
.cap-grid { border: 1px solid rgba(11, 11, 11, .14); }


/* ── 2026-11-22 · casework mosaic (replaces the stack) ─────────────────────
   Two staggered columns of hairline panels, figures above the sentence, one
   row-flow reading order so the phone and the desktop read the same sequence.
   Append-only block: every selector is namespaced .cw so nothing above moves. */

.cw {
  display: grid;
  grid-template-columns: repeat(2, clamp(300px, 33vw, 480px));
  gap: 24px;
  justify-content: center;
  align-items: start;
  padding-inline: var(--shell-pad);
}
.cw__col { display: grid; gap: 24px; align-content: start; }
.cw__col--b { margin-top: clamp(0px, 15vw, 220px); }

.cw-card { display: block; align-self: start; }
.cw__body {
  border: 1px solid rgba(11, 11, 11, .20);
  padding: clamp(18px, 1.8vw, 26px);
  display: grid;
  gap: 12px;
  transition: border-color .25s var(--ease);
}
.cw-card:hover .cw__body { border-color: rgba(11, 11, 11, .45); }

.cw__meta {
  margin: 0;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-45);
}
.cw__title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(26px, 2.3vw, 32px);
  line-height: 1.08;
  letter-spacing: -.028em;
}
.cw-card:hover .cw__title,
.cw-card:focus-visible .cw__title {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* the figures are the proof, so they sit above the sentence */
.cw__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 6px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid rgba(11, 11, 11, .14);
}
.cw__stats li { display: grid; gap: 3px; min-width: 0; align-content: start; }
.cw__stats b {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(22px, 1.85vw, 26px);
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.cw__stats li.is-result b { color: var(--accent); }
.cw__stats span {
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-62);
  line-height: 1.3;
  min-height: 2.4em;
}
.cw__line { margin: 0; color: var(--ink-62); font-size: 15px; }

/* the copy-only engagement keeps the same ruled slot, carrying its scope */
.cw__scope {
  margin: 6px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(11, 11, 11, .14);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-62);
}

.cw__shot { overflow: clip; background: #EDEBE6; aspect-ratio: 8 / 5; }
.cw__shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.94);
  transition: transform .7s var(--ease);
}
.cw-card:hover .cw__shot img { transform: scale(1.025); }

@media (max-width: 900px) {
  .cw { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cw__col { display: contents; }   /* phone reads one sequence, not column by column */
  .cw__col--b { margin-top: 0; }
  .cw-card { order: var(--o); }
}

/* the case head uses the site's standard head: the centred version belonged to
   the mosaic, and a centred five-line lede on a phone is a hard rag to read */

/* three figures, not four: the track shortens with the copy so each figure
   still gets one viewport of scroll to itself */
.numbers[data-motion="on"] .numbers__track { height: 400svh; }

/* the footer wordmark is a logo, not a line of tracked type: same setting as
   .nav__logo, so 2SK reads as one word here too */
.foot__word { letter-spacing: -.045em; }
.foot__dot { margin-left: -.06em; }

/* journal: one featured note with its image, two rows beneath it */
.jfeat { padding-inline: var(--shell-pad); }
.jfeat__lead {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  padding-bottom: clamp(20px, 2.6vw, 32px);
  border-bottom: 1px solid rgba(11, 11, 11, .12);
}
.jfeat__media { margin: 0; overflow: clip; background: #EDEBE6; aspect-ratio: 16 / 9; }
.jfeat__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.94);
  transition: transform .7s var(--ease); }
.jfeat__lead:hover .jfeat__media img { transform: scale(1.02); }
.jfeat__body { display: grid; gap: 10px; }
.jfeat__meta { margin: 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-62); }
.jfeat__meta span { color: var(--accent); }
.jfeat__title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.08;
  letter-spacing: -.028em;
  max-width: 20ch;
}
.jfeat__lead:hover .jfeat__title { text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 2px; text-underline-offset: 4px; }
.jfeat__dek { margin: 0; color: var(--ink-62); font-size: 15.5px; max-width: 48ch; }
.jfeat__go { font-size: 13px; letter-spacing: .02em; color: var(--ink); border-bottom: 2px solid var(--accent);
  padding-bottom: 2px; justify-self: start; }

.jfeat__list { border-top: 0; }
.jfeat__row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto auto;
  gap: clamp(12px, 2vw, 26px);
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid rgba(11, 11, 11, .12);
  transition: background-color .2s var(--ease), padding-left .2s var(--ease);
}
.jfeat__row:hover { background: #fff; padding-left: 10px; }
.jfeat__row:hover .jfeat__t { text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 2px; text-underline-offset: 3px; }
/* 12px vermilion on paper is 3.80:1 — under AA for small text. The indices go
   ink (18.8:1); vermilion stays on the arrows, dots and the rule, where it is
   decoration rather than type. */
.jfeat__i { font-family: var(--f-display); font-weight: 800; font-size: 12px; letter-spacing: .08em; color: var(--ink); }
.jfeat__t { font-family: var(--f-display); font-weight: 600; font-size: clamp(17px, 1.5vw, 21px); letter-spacing: -.02em; }
.jfeat__cat { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-62); }
.jfeat__min { font-size: 12.5px; color: var(--ink-62); white-space: nowrap; }

@media (max-width: 900px) {
  .jfeat__lead { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .jfeat__row { grid-template-columns: 30px minmax(0, 1fr) auto; row-gap: 4px; }
  .jfeat__cat { grid-column: 2; }
  .jfeat__min { grid-column: 3; }
}

/* ── position: a wipe on the panel, then the lines settle ───────────────── */
.position__panel.rv {
  opacity: 1;
  transform: none;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1400ms var(--ease) 60ms;
}
.position__panel.rv.is-in { clip-path: inset(0 0 0 0); }

/* the quote arrives a beat after the panel has revealed enough to read */
.position__body > blockquote.rv { transition-duration: 1200ms; }
.position__mark.rv { transform: translate3d(-10px, 0, 0); }

@media (prefers-reduced-motion: reduce) {
  .position__panel.rv { clip-path: none; transition: none; }
  .position__mark.rv { transform: none; }
}

/* ── process dialog ─────────────────────────────────────────────────────── */
html.is-locked { overflow: hidden; }

.processmodal {
  width: min(1080px, 92vw);
  max-height: 88vh;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
  overscroll-behavior: contain;
}
.processmodal::backdrop {
  background: rgba(11, 11, 11, .62);
  backdrop-filter: blur(2px);
}
.processmodal__inner { padding: clamp(24px, 3.4vw, 48px) clamp(20px, 3.2vw, 48px) clamp(28px, 3.4vw, 48px); }
.processmodal__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-bottom: clamp(14px, 1.8vw, 22px);
}
.processmodal__bar .eyebrow { margin: 0; }
.processmodal__close {
  font: inherit; font-size: 13px; letter-spacing: .02em;
  background: none; border: 1px solid rgba(11, 11, 11, .22); color: var(--ink);
  border-radius: 999px; padding: 8px 16px; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.processmodal__close:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.processmodal__title {
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(28px, 3.4vw, 48px); line-height: 1.04; letter-spacing: -.03em;
}
/* the original component, one-to-one: big number rail on the left, stages
   scrolling on the right. The rail sticks to the dialog's own scroll port. */
.processmodal .process__body {
  padding-inline: 0;
  grid-template-columns: minmax(96px, 15vw) minmax(0, 1fr);
  column-gap: clamp(16px, 3vw, 44px);
  align-items: start;
}
.processmodal .process__rail {
  position: sticky;
  top: 0;
  height: auto;
  min-height: 320px;
  padding-bottom: 8px;
}
.processmodal .process__railnum { font-size: clamp(56px, 6.4vw, 108px); }

/* the process CTA belongs in the head, in the lede column: it answers the
   question a reader has *before* comparing the two lanes, and it stops
   floating in the gap between the cards and the closing note */
.lanes__process {
  grid-column: 2;
  margin: 14px 0 0;
  justify-self: start;
}
.lanes__process .btn { min-height: 0; padding: 0 0 4px; }
@media (max-width: 900px) {
  .lanes__process { grid-column: 1 / -1; margin-top: 4px; }
}

/* the case head is the site's standard head — no section override: an
   unconditional grid-template here re-broke it on a phone (heading and lede
   side by side, lede three words to a line) */

/* the dot is the full stop of the wordmark: on the baseline, just past the K */
/* margins on the dot are relative to ITS 0.15em size, not the mark's */
.foot__dot { vertical-align: .04em; margin-left: .47em; }

/* journal: the read-more link closes the section */
.jfeat__more { margin: clamp(20px, 2.4vw, 30px) 0 0; }

/* on a phone the copy sat high in a 100svh plate and left ~230px of empty
   paper at the end of the section — the "gap" before Our Position. Anchor the
   copy to the foot of the plate so the section ends on content. */
@media (max-width: 900px) {
  .numbers[data-motion="on"] .nslide__copy {
    top: auto;
    bottom: clamp(36px, 6vh, 64px);
  }
}

/* ── 2026-11-23 · phone fixes and the lanes slider ───────────────────────── */

/* Our position is held back for an About page; `hidden` must win over layout */
.position[hidden] { display: none; }

/* --- Ways to work: a two-card slider on a phone, no stacking ------------- */
@media (max-width: 900px) {
  .lanes__grid {
    display: grid;
    grid-template-columns: repeat(2, 86%);   /* the base 1fr 1fr forced two half-widths */
    grid-auto-flow: column;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--shell-pad);
    padding-inline: var(--shell-pad);
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .lanes__grid::-webkit-scrollbar { display: none; }
  .lane { scroll-snap-align: start; }
}

/* --- process dialog: one column on a phone, real space at the rail ------- */
@media (max-width: 900px) {
  .processmodal .process__body { grid-template-columns: minmax(0, 1fr); }
  .processmodal .process__rail { display: none; }   /* stages number themselves */
  .processmodal .stage { grid-template-columns: minmax(0, 1fr); row-gap: 10px; }
  .processmodal .stage h3 { max-width: none; }
  .processmodal__inner { padding: 22px 20px 28px; }
  .processmodal__title { font-size: clamp(26px, 7.4vw, 34px); margin-bottom: 16px; }
}

/* --- process dialog on desktop: the rail needs air at the top ------------ */
@media (min-width: 901px) {
  .processmodal .process__rail {
    top: clamp(16px, 2vw, 28px);
    justify-content: flex-start;
    gap: clamp(16px, 2vw, 26px);
    min-height: 0;
    padding-top: 4px;
  }
  .processmodal .stage h3 {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    max-width: 22ch;
  }
}

/* ==========================================================================
   FLOATING CONSULTATION CTA — see fab.js
   Fixed to the viewport, no document space, no layout shift.
   ========================================================================== */
.fab {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}
.fab[data-state="hidden"] { display: none; }
.fab > * { pointer-events: auto; }

.fab__card {
  width: min(320px, calc(100vw - 40px));
  padding: 20px 20px 18px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(11, 11, 11, .14);
  border-radius: 2px;
  box-shadow: 0 24px 60px -32px rgba(0, 0, 0, .45);
  position: relative;
  animation: fab-in 320ms var(--ease) both;
}
.fab[data-state="pill"] .fab__card { display: none; }

.fab__h {
  margin: 0 28px 8px 0;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -.01em;
}
.fab__s {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-62);
}
.fab__note {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: var(--ink-62);
}

.fab__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.fab__cta:hover { background: var(--accent); color: var(--paper); }

.fab__x {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink-62);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  border-radius: 999px;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.fab__x:hover { background: rgba(11, 11, 11, .07); color: var(--ink); }

.fab__pill {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: var(--paper);
  border: 1px solid rgba(11, 11, 11, .14);
  border-radius: 999px;
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .45);
  animation: fab-in 320ms var(--ease) both;
}
.fab[data-state="card"] .fab__pill { display: none; }
.fab__x--pill { position: static; width: 26px; height: 26px; font-size: 15px; }

@keyframes fab-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .fab__card, .fab__pill { animation: fab-fade 220ms var(--ease) both; }
@keyframes fab-fade { from { opacity: 0; } to { opacity: 1; } }
}

/* never fight the mobile menu or a modal */
body[data-menu="open"] .fab,
body[data-modal="open"] .fab { display: none; }
