/* Layout: a fixed, light stage stays put; white panels scroll up over it, with open
   "windows" between them that show the stage. Navy carries the text; one emerald accent. */
:root {
  --stage: #eef1f5;          /* fixed background */
  --surface: #ffffff;        /* panels, cards */
  --surface-2: #f6f8fa;      /* inner cards, fields */
  --text: #0b1f33;           /* navy: headings, body */
  --text-2: #4b5b6b;         /* secondary text */
  --accent: #0e7c66;         /* emerald: marks, links, focus */
  --dark: #0b1f33;           /* navy surfaces */
  --on-dark: #f2f5f8;
  --on-dark-2: #a9b8c7;
  --accent-on-dark: #5fd0b2;
  --line: rgb(11 31 51 / .1);
  --line-2: rgb(11 31 51 / .2);
  --line-dark: rgb(242 245 248 / .14);
  --error: #b42318;
  /* Chart series: validated pair (lightness band, chroma floor, CVD and contrast checks pass) */
  --chart-1: #0b9a74;
  --chart-2: #3f6fd0;
  --grid: #e4e9ef;

  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --radius: clamp(14px, 1.6vw, 22px);
  --gutter: clamp(16px, 4vw, 48px);
  --edge: clamp(6px, 1.2vw, 16px);
  --maxw: 1240px;
  --nav-h: 80px;
  --shadow: 0 1px 0 var(--line), 0 30px 80px -40px rgb(11 31 51 / .28);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--stage);
  color: var(--text);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .footer :focus-visible { outline-color: var(--accent-on-dark); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

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

/* ---------- Type ---------- */
.display { font-size: clamp(2.9rem, 6.4vw, 6.4rem); letter-spacing: -.03em; line-height: 1; }
.display--page { font-size: clamp(2.5rem, 5.4vw, 4.75rem); max-width: 19ch; line-height: 1.04; }
.h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); letter-spacing: -.015em; line-height: 1.2; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.6; }
.muted { color: var(--text-2); }
.on-dark .muted, .footer .muted { color: var(--on-dark-2); }

.eyebrow {
  display: flex; align-items: center; gap: .7em;
  font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2);
}
.eyebrow::before { content: ""; width: .55em; height: .55em; flex: none; background: var(--accent); border-radius: 1px; }
.on-dark .eyebrow { color: var(--on-dark-2); }
.on-dark .eyebrow::before { background: var(--accent-on-dark); }

.chip {
  display: inline-flex; align-items: center; width: fit-content;
  padding: .35em .85em; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2);
}
.on-dark .chip { border-color: var(--line-dark); color: var(--accent-on-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: .45em .95em; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: .85rem; font-weight: 500; }

.ticks { display: grid; border-top: 1px solid var(--line); }
.on-dark .ticks { border-color: var(--line-dark); }
.ticks li { display: flex; gap: 14px; align-items: baseline; padding-block: 11px; border-bottom: 1px solid var(--line); }
.on-dark .ticks li { border-color: var(--line-dark); }
.ticks li::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 1px; background: var(--accent); transform: translateY(-2px); }
.on-dark .ticks li::before { background: var(--accent-on-dark); }

.skip {
  position: fixed; left: 16px; top: 16px; z-index: 100; padding: 10px 16px; border-radius: 999px;
  background: var(--dark); color: var(--on-dark); font-weight: 600; text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .9em; width: fit-content;
  min-height: 52px; padding: 7px 7px 7px 1.35em; border: 0; border-radius: 999px;
  font-size: .95rem; font-weight: 600; text-decoration: none;
  cursor: pointer; transition: background-color .25s, color .25s, box-shadow .25s, transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn__icon {
  width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%;
  transition: transform .45s var(--ease);
}
.btn__icon svg, .link-arrow svg, .ind__link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .btn__icon { transform: rotate(-45deg); }
.btn--primary { background: var(--dark); color: var(--on-dark); }
.btn--primary:hover { background: #163556; }
.btn--primary .btn__icon { background: var(--surface); color: var(--dark); }
.btn--ghost { color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--text); }
.btn--ghost .btn__icon { background: var(--dark); color: var(--on-dark); }
.btn--light { background: var(--surface); color: var(--dark); }
.btn--light:hover { background: #e3eaf1; }
.btn--light .btn__icon { background: var(--dark); color: var(--on-dark); }
.btn--sm { min-height: 44px; padding: 0 1.2em; font-size: .88rem; }
.btn[disabled] { opacity: .55; cursor: progress; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6em; width: fit-content;
  font-weight: 600; text-decoration: none; padding-block: 6px; color: var(--accent);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .45s var(--ease);
}
.on-dark .link-arrow { color: var(--accent-on-dark); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow svg { transition: transform .45s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Stage (fixed background) ---------- */
.stage { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--stage); }
.stage__grid {
  position: absolute; inset: -160px 0;
  background-image:
    linear-gradient(to right, rgb(11 31 51 / .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(11 31 51 / .045) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 55% 45%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 55% 45%, #000 20%, transparent 75%);
  transform: translate3d(0, calc(var(--scroll, 0) * -160px), 0);
}
.stage__glow { position: absolute; border-radius: 50%; will-change: transform; }
.stage__glow--a {
  width: 70vmax; height: 70vmax; right: -26vmax; top: -32vmax;
  background: radial-gradient(closest-side, rgb(14 124 102 / .1), transparent);
  animation: drift-a 26s ease-in-out infinite alternate;
}
.stage__glow--b {
  width: 80vmax; height: 80vmax; left: -36vmax; bottom: -46vmax;
  background: radial-gradient(closest-side, rgb(46 92 150 / .12), transparent);
  animation: drift-b 32s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate3d(-10vw, 8vh, 0) scale(1.12); } }
@keyframes drift-b { to { transform: translate3d(12vw, -10vh, 0) scale(1.08); } }
.stage__trail { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stage__trail path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.trail-ghost { stroke: rgb(11 31 51 / .08); stroke-width: 1; }
.trail { stroke: var(--accent); stroke-width: 1.5; opacity: .55; stroke-dasharray: 1; stroke-dashoffset: 1; }
.stage__dot {
  position: absolute; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px;
  background: var(--accent); border-radius: 2px; transform: translate3d(-40px, 90vh, 0);
  box-shadow: 0 0 0 6px rgb(14 124 102 / .12), 0 0 24px 4px rgb(14 124 102 / .25);
}

/* ---------- Header ---------- */
.nav {
  position: fixed; left: 0; right: 0; z-index: 50;
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  padding-inline: var(--edge);
  pointer-events: none;
}
.nav__bar {
  position: relative; pointer-events: auto;
  max-width: 1320px; margin-inline: auto;
  display: flex; align-items: center; gap: 10px;
  padding: 7px 7px 7px 20px; border-radius: 999px;
  background: rgb(255 255 255 / .72); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  transition: background-color .35s, box-shadow .35s;
}
.is-scrolled .nav__bar, .nav.is-open .nav__bar { background: rgb(255 255 255 / .93); box-shadow: 0 12px 40px -20px rgb(11 31 51 / .35); }
.brand { display: inline-flex; align-items: center; gap: .65em; text-decoration: none; min-height: 44px; }
.brand__mark { width: 11px; height: 11px; flex: none; background: var(--accent); border-radius: 2px; }
.brand__lockup { display: grid; gap: 4px; line-height: 1.15; }
.brand__name { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; font-size: 1.1rem; white-space: nowrap; }
.brand__name span { font-weight: 400; }
.brand__tag { font-size: .56rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; }
.footer .brand__tag { color: var(--on-dark-2); }
.footer .brand__mark { background: var(--accent-on-dark); }
.nav__links { display: flex; gap: 2px; margin-inline: auto; }
.nav__links a {
  position: relative; padding: 10px 13px; border-radius: 999px;
  color: var(--text-2); font-size: .92rem; font-weight: 500; text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav__links a:hover { color: var(--text); background: rgb(11 31 51 / .05); }
.nav__links a[aria-current] { color: var(--text); }
.nav__links a[aria-current]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px;
  background: var(--accent); border-radius: 1px;
}
.nav__links .nav__menu-cta { display: none; }
.lang { display: flex; padding: 3px; border-radius: 999px; background: rgb(11 31 51 / .05); }
.lang button {
  min-width: 40px; min-height: 38px; padding: 0 8px; border: 0; border-radius: 999px; background: none;
  color: var(--text-2); font-size: .78rem; font-weight: 700; letter-spacing: .06em; cursor: pointer;
  transition: background-color .25s, color .25s;
}
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { background: var(--surface); box-shadow: 0 0 0 1.5px var(--dark); }
.lang svg { width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px var(--line); }
.lang button { display: grid; place-items: center; }
.lang button:not([aria-pressed="true"]) svg { opacity: .55; filter: saturate(.6); transition: opacity .2s; }
.lang button:hover svg { opacity: 1; filter: none; }
.nav__menu {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--dark); place-content: center; gap: 5px;
}
.nav__menu span { display: block; width: 18px; height: 1.6px; background: var(--on-dark); transition: transform .35s var(--ease); }
.nav.is-open .nav__menu span:first-child { transform: translateY(3.3px) rotate(45deg); }
.nav.is-open .nav__menu span:last-child { transform: translateY(-3.3px) rotate(-45deg); }

/* ---------- Home hero ---------- */
.hero {
  --x: clamp(0, (var(--p, .5) - .5) * 2, 1);
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto;
  padding-top: calc(var(--nav-h) + 40px);
}
.hero__inner { align-self: end; display: grid; padding-bottom: clamp(28px, 5vh, 56px); }
.hero__copy { display: grid; gap: clamp(20px, 2.6vw, 32px); }
.hero__title { max-width: 12ch; }
.hero__row { display: grid; gap: 28px; justify-items: start; }
.hero__lead { max-width: 48ch; color: var(--text-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-block: 18px 22px; border-top: 1px solid var(--line-2);
  color: var(--text-2); font-size: .85rem;
}
/* Photo: right of the page only, ending before the middle, with a long fade into the stage */
.hero__bg {
  position: absolute; inset: 0 0 0 auto; width: 46%; z-index: -1; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgb(0 0 0 / .18) 22%, rgb(0 0 0 / .7) 55%, #000 82%);
          mask-image: linear-gradient(to right, transparent 0%, rgb(0 0 0 / .18) 22%, rgb(0 0 0 / .7) 55%, #000 82%);
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 34%; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.scroll-cue i { position: relative; width: 1px; height: 34px; background: var(--line-2); overflow: hidden; }
.scroll-cue i::after {
  content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 12px; background: var(--accent);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { from { transform: translateY(-14px); } to { transform: translateY(36px); } }

/* ---------- Inner page hero ---------- */
.page-hero { padding: calc(var(--nav-h) + clamp(56px, 9vw, 120px)) 0 clamp(56px, 8vw, 100px); }
.page-hero .wrap { display: grid; gap: 22px; justify-items: start; }
.page-hero__lead { max-width: 56ch; color: var(--text-2); }
.crumbs { display: flex; flex-wrap: wrap; gap: .55em; font-size: .82rem; color: var(--text-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; }

/* Split words (hero title, statement) */
.w { display: inline-block; vertical-align: top; }
.hero__title .w { overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; }

/* ---------- Surfaces ---------- */
.panel {
  position: relative; z-index: 1;
  margin-inline: var(--edge);
  padding-block: clamp(72px, 10vw, 140px);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform-origin: 50% 0;
}
.panel + .panel { margin-top: var(--edge); }
.window { position: relative; padding-block: clamp(96px, 12vw, 180px); }
.sec-head { display: grid; gap: 20px; max-width: 820px; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head--split { max-width: none; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; gap: 24px 64px; }
.sec-head--split > div { display: grid; gap: 20px; }
.sec-head--split > p { max-width: 44ch; }

/* ---------- Facts (stat tiles) ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.fact { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 12px; padding: 30px 28px 6px 0; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line); }
.fact__num { font-family: var(--sans); font-weight: 300; font-size: clamp(2.4rem, 4.4vw, 3.8rem); letter-spacing: -.04em; line-height: 1; }
.fact__label { color: var(--text-2); font-size: .95rem; max-width: 24ch; }
.note { margin-top: 28px; font-size: .82rem; color: var(--text-2); }

/* ---------- Statement (pinned) ---------- */
.statement {
  --f: clamp(0, var(--s, 1) * 1.3 - .08, 1);
  height: 230vh; height: 230svh;
}
.statement__pin {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: grid; align-content: center;
}
.statement .wrap { display: grid; gap: 28px; }
.statement__text { font-size: clamp(1.9rem, 4.2vw, 3.7rem); line-height: 1.16; letter-spacing: -.02em; max-width: 23ch; text-wrap: pretty; }
.statement__text .w > span { opacity: clamp(.14, var(--f) * var(--n, 1) - var(--i, 0), 1); transition: opacity .25s linear; }

/* ---------- Practices ---------- */
.practices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.practice {
  display: flex; flex-direction: column; gap: 18px; min-width: 0;
  padding: clamp(28px, 3.6vw, 52px); border-radius: calc(var(--radius) - 4px);
  background: var(--surface-2); border: 1px solid var(--line);
}
.practice.on-dark { background: var(--dark); color: var(--on-dark); border-color: transparent; }
.practice__title { font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
.practice__q { font-size: 1.08rem; color: var(--text-2); }
.practice.on-dark .practice__q { color: var(--on-dark-2); }
.practice .link-arrow { margin-top: auto; padding-top: 14px; }

/* ---------- Exhibits (charts & diagrams) ---------- */
.exhibit {
  padding: clamp(22px, 3.2vw, 40px); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow); color: var(--text);
}
.exhibit__head { display: grid; gap: 6px; margin-bottom: 22px; }
.exhibit__label { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.exhibit__title { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -.015em; line-height: 1.2; }
.exhibit__note { margin-top: 18px; font-size: .82rem; color: var(--text-2); max-width: 80ch; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 18px; font-size: .88rem; color: var(--text-2); }
.legend__item { display: inline-flex; align-items: center; gap: 8px; }
.key { width: 18px; height: 2px; border-radius: 2px; background: var(--chart-1); }
.key--2 { background: var(--chart-2); }

/* Line chart: SVG lines stretch with the plot; dots, labels and axes are HTML so text never scales */
.chart { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 12px; }
.chart__y { display: grid; align-content: space-between; height: var(--plot-h); font-size: .75rem; color: var(--text-2); text-align: right; font-variant-numeric: tabular-nums; transform: translateY(-.5em); }
.chart__plot { position: relative; height: var(--plot-h); --plot-h: clamp(220px, 30vw, 320px); }
.chart { --plot-h: clamp(220px, 30vw, 320px); }
.chart__plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart__grid line { stroke: var(--grid); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart__gate { stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart__line { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.chart__line--1 { stroke: var(--chart-1); }
.chart__line--2 { stroke: var(--chart-2); }
.chart__area { fill: var(--chart-1); opacity: .08; }
.chart__dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--chart-1); box-shadow: 0 0 0 2px var(--surface); }
.chart__dot--2 { background: var(--chart-2); }
.chart__label { position: absolute; font-size: .8rem; font-weight: 600; color: var(--text); white-space: nowrap; background: rgb(255 255 255 / .85); padding: 1px 6px; border-radius: 4px; }
.chart__gatelabel {
  position: absolute; top: -10px; transform: translateX(-50%);
  padding: 2px 8px; border-radius: 999px; background: var(--dark); color: var(--on-dark);
  font-size: .68rem; font-weight: 700; letter-spacing: .08em;
}
.chart__x { grid-column: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 10px; font-size: .8rem; font-weight: 600; color: var(--text-2); text-align: center; }
.chart__zones { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.chart__zones > div { cursor: crosshair; }
.chart__zones > div:hover, .chart__zones > div:focus-visible { background: rgb(11 31 51 / .035); outline-offset: -2px; }
.tip {
  position: absolute; z-index: 3; pointer-events: none; min-width: 180px;
  padding: 10px 12px; border-radius: 10px; background: var(--dark); color: var(--on-dark);
  font-size: .8rem; line-height: 1.45; box-shadow: 0 12px 30px -12px rgb(11 31 51 / .5);
  opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s;
}
.tip.is-on { opacity: 1; transform: none; }
.tip b { display: block; margin-bottom: 2px; }
.tip i { display: inline-block; width: 10px; height: 2px; margin-right: 6px; vertical-align: middle; background: var(--chart-1); }
.tip i.k2 { background: var(--chart-2); }
.twin { margin-top: 14px; font-size: .85rem; }
.twin summary { cursor: pointer; color: var(--text-2); font-weight: 600; width: fit-content; }
.twin table { margin-top: 10px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.twin th, .twin td { padding: 6px 14px 6px 0; text-align: left; border-bottom: 1px solid var(--line); }
.twin-wrap { overflow-x: auto; }

/* Outcomes row under the home exhibit */
.outcomes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(32px, 4vw, 48px); }
.outcome { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 2px solid var(--accent); }
.outcome h3 { font-size: 1.25rem; }
.outcome p { color: var(--text-2); font-size: .95rem; }
.after-exhibit { margin-top: clamp(32px, 4vw, 48px); }

/* ---------- Industries grid (layout after the consulting-site grid; dense flow drops panels under their row) ---------- */
.ind-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense;
  border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2);
}
.ind {
  display: flex; flex-direction: column; gap: 14px; min-width: 0;
  padding: clamp(24px, 3vw, 40px); background: var(--surface);
  border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
  transition: background-color .3s;
}
.ind.is-open { background: var(--surface-2); }
.ind__n { font-size: .72rem; font-weight: 700; letter-spacing: .16em; color: var(--accent); font-variant-numeric: tabular-nums; }
.ind__name { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.ind__sum { color: var(--text-2); }
.ind__link, .ind__toggle {
  margin-top: auto; padding: 10px 0 0; display: inline-flex; align-items: center; gap: .7em; width: fit-content;
  border: 0; background: none; cursor: pointer; text-decoration: none; min-height: 44px; text-align: left;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text);
}
.ind__link svg { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.ind__link:hover svg { transform: translateX(4px); }
.ind__toggle i { position: relative; width: 14px; height: 14px; flex: none; }
.ind__toggle i::before, .ind__toggle i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--accent); transition: transform .4s var(--ease); }
.ind__toggle i::after { transform: rotate(90deg); }
.ind__toggle[aria-expanded="true"] i::after { transform: rotate(0deg); }
.ind__toggle:hover span { text-decoration: underline; text-underline-offset: 4px; }
.ind.on-dark { background: var(--dark); color: var(--on-dark); }
.ind.on-dark .ind__sum { color: var(--on-dark-2); }
.ind.on-dark .ind__link { color: var(--on-dark); }
.ind-panel {
  grid-column: 1 / -1; background: var(--surface-2);
  border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
  padding: clamp(28px, 4vw, 56px);
}
.ind-panel__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); }
.ind-panel__main { display: grid; gap: 20px; align-content: start; justify-items: start; }
.ind-panel__focus { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.ind-panel__focus li { display: grid; gap: 4px; padding-block: 16px; border-bottom: 1px solid var(--line-2); }
.ind-panel__focus h4 { font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: -.005em; }
.ind-panel__focus p { color: var(--text-2); font-size: .95rem; }
.ind-panel__fine { font-size: .8rem; color: var(--text-2); }
@keyframes panel-in { from { opacity: 0; transform: translate3d(0, -8px, 0); } }

/* ---------- Founder & portrait ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.founder__body { display: grid; gap: 22px; justify-items: start; }
.portrait { display: grid; gap: 18px; justify-items: start; }
/* Corporate headshot: clean rectangle, soft shadow, caption below with an accent rule */
.portrait img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%;
  border-radius: calc(var(--radius) - 6px);
  box-shadow: 0 1px 0 var(--line), 0 28px 60px -28px rgb(11 31 51 / .4);
}
.portrait figcaption { display: grid; gap: 2px; padding-left: 14px; border-left: 2px solid var(--accent); font-size: .9rem; color: var(--text-2); }
.portrait figcaption strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--text); }

/* ---------- Services ---------- */
.svc-list { border-top: 1px solid var(--line-2); }
.svc {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px clamp(32px, 5vw, 80px);
  padding-block: clamp(32px, 4vw, 52px); border-bottom: 1px solid var(--line-2);
}
.svc__main { display: grid; gap: 12px; align-content: start; justify-items: start; }
.svc__n { font-size: .72rem; font-weight: 700; letter-spacing: .16em; color: var(--accent); font-variant-numeric: tabular-nums; }
.svc__name { font-family: var(--sans); font-size: 1.1rem; font-weight: 700; letter-spacing: -.005em; }
.svc__q { font-family: var(--serif); font-size: clamp(1.45rem, 2.4vw, 2rem); letter-spacing: -.02em; line-height: 1.2; }
.svc__main .btn { margin-top: 10px; }
.svc__bullets { align-self: start; }

/* Partner hub diagram */
.hub { position: relative; width: min(100%, 640px); aspect-ratio: 1; margin-inline: auto; container-type: inline-size; }
.hub__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub__lines line { stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hub__core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40%; aspect-ratio: 1;
  display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; padding: 16px;
  border-radius: 50%; background: var(--dark); color: var(--on-dark); box-shadow: 0 0 0 10px rgb(11 31 51 / .06);
}
.hub__core strong { font-family: var(--serif); font-size: clamp(1rem, 1.8vw, 1.25rem); font-weight: 600; line-height: 1.15; }
.hub__core span:last-child { font-size: .78rem; color: var(--on-dark-2); }
.hub__core .brand__mark { background: var(--accent-on-dark); }
.hub__nodes li {
  position: absolute; left: 50%; top: 50%; width: 28%;
  transform: translate(-50%, -50%) rotate(calc(var(--a) * 45deg - 90deg)) translate(38cqw, 0) rotate(calc(var(--a) * -45deg + 90deg));
  padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2);
  text-align: center; font-size: .85rem; font-weight: 600; line-height: 1.3;
}

/* CTA band */
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; }
.cta-band__inner > div { display: grid; gap: 14px; max-width: 46ch; }

/* ---------- Approach ---------- */
.assume { display: grid; border-top: 1px solid var(--line-2); }
.assume__row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px 32px; padding-block: 18px; border-bottom: 1px solid var(--line-2); }
.assume__row--head { padding-block: 0 12px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.assume__cell { display: grid; gap: 4px; min-width: 0; }
.assume__cell > .k { display: none; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.assume__claim { font-family: var(--serif); font-size: 1.15rem; line-height: 1.3; }
.assume__claim::before { content: "\201C"; }
.assume__claim::after { content: "\201D"; }
.assume__check { color: var(--text-2); }
.assume__decides { font-weight: 600; }

.arch { display: grid; gap: 14px; }
.arch__practices, .arch__phases { display: grid; grid-template-columns: 1fr 34px 1fr 34px 1fr 34px 1fr; }
.arch__bracket {
  padding-bottom: 10px; border-bottom: 2px solid var(--accent);
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2);
}
.arch__bracket--1 { grid-column: 1 / 4; }
.arch__bracket--2 { grid-column: 5 / 8; border-color: var(--chart-2); }
.phase { display: grid; gap: 10px; align-content: start; padding: 22px 20px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); min-width: 0; }
.phase__n { font-family: var(--serif); font-size: .95rem; color: var(--accent); }
.phase h3 { font-size: 1.45rem; }
.phase dt { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); margin-top: 6px; }
.phase dd { margin: 0; font-size: .92rem; line-height: 1.5; }
.gate { display: grid; place-items: center; }
.gate span { display: grid; place-items: center; width: 26px; height: 26px; transform: rotate(45deg); border-radius: 4px; background: var(--dark); }
.gate b { transform: rotate(-45deg); font-size: .58rem; font-weight: 700; color: var(--on-dark); }
.arch__gates { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 8px; font-size: .85rem; color: var(--text-2); }
.arch__gates b { color: var(--text); margin-right: 4px; }

.score { position: relative; display: grid; gap: 14px; }
.score__axis, .score__row { display: grid; grid-template-columns: minmax(120px, 13rem) minmax(0, 1fr) 4.5rem; gap: 14px; align-items: center; }
.score__axis { font-size: .72rem; color: var(--text-2); font-variant-numeric: tabular-nums; }
.score__ticks { display: flex; justify-content: space-between; border-bottom: 1px solid var(--grid); padding-bottom: 4px; }
.score__label { font-size: .92rem; font-weight: 600; }
.score__track { position: relative; height: 14px; }
.score__track::before { content: ""; position: absolute; inset: 6px 0; background: var(--grid); border-radius: 2px; }
.score__bar {
  position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v) * 1%);
  background: var(--chart-1); border-radius: 0 4px 4px 0; transform-origin: left center;
}
.score__threshold { position: absolute; top: -6px; bottom: -6px; left: 60%; width: 0; border-left: 1.5px dashed var(--text); }
.score__val { font-size: .9rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.score__val small { display: block; font-size: .7rem; font-weight: 600; color: var(--text-2); letter-spacing: .04em; text-transform: uppercase; }
.score__row { border-radius: 8px; transition: background-color .2s; outline-offset: 4px; }
.score__row:hover, .score__row:focus-visible { background: rgb(11 31 51 / .035); }
.score__legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .82rem; color: var(--text-2); }
.score__legend i { display: inline-block; width: 0; height: 14px; margin-right: 8px; border-left: 1.5px dashed var(--text); vertical-align: middle; }
.callout { margin-top: 22px; padding: 18px 20px; border-radius: 12px; background: var(--surface-2); border-left: 3px solid var(--accent); }

.verdicts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.verdict { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); }
.verdict h3 { font-size: 1.4rem; }
.verdict p { color: var(--text-2); font-size: .95rem; }

.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card { display: grid; gap: 10px; align-content: start; padding: clamp(22px, 2.6vw, 32px); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.card svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.3rem; }
.card p { color: var(--text-2); font-size: .95rem; }
.pairs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(48px, 6vw, 72px); }
.pair { display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.pair h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.pair p { color: var(--text-2); font-size: .95rem; }

/* ---------- About ---------- */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.story .portrait { position: sticky; top: calc(var(--nav-h) + 32px); }
.story__body { display: grid; gap: 20px; }
.story__body p { font-size: 1.08rem; line-height: 1.7; max-width: 62ch; }
.story__body p:first-of-type::first-letter { font-family: var(--serif); float: left; font-size: 3.6em; line-height: .9; padding: 4px 10px 0 0; color: var(--accent); }
.signature { display: grid; gap: 2px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.signature strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.signature span { color: var(--text-2); font-size: .9rem; }
.highlights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 28px; }
.highlight { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.highlight__num { font-family: var(--sans); font-weight: 300; font-size: clamp(2rem, 3.4vw, 2.9rem); letter-spacing: -.04em; line-height: 1; }
.highlight p { color: var(--text-2); font-size: .92rem; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact__intro { display: grid; gap: 24px; position: sticky; top: calc(var(--nav-h) + 40px); }
.contact__lines { display: grid; gap: 18px; margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.contact__lines dt { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.contact__lines dd { font-size: 1.02rem; }
.contact__lines a { text-decoration: none; display: inline-block; }
.contact__lines a:hover { text-decoration: underline; text-underline-offset: 4px; }
.expect { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.expect li { display: flex; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--line-2); }
.expect li::before { content: ""; width: 6px; height: 6px; flex: none; margin-top: .65em; border-radius: 1px; background: var(--accent); }

.form {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
  padding: clamp(22px, 3.6vw, 44px); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow);
}
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field--full, .form__foot, .form__status { grid-column: 1 / -1; }
.field label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 132px; resize: vertical; }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1f33' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--text-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; background-color: var(--surface); border-color: var(--accent); box-shadow: 0 0 0 4px rgb(14 124 102 / .18);
}
.field :user-invalid { border-color: var(--error); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 6px; }
.form__note { font-size: .85rem; color: var(--text-2); max-width: 34ch; }
.form__status { font-size: .95rem; font-weight: 600; color: var(--accent); }
.form__status:empty { display: none; }
.form__status.is-error { color: var(--error); }

/* ---------- Footer (navy band) ---------- */
.footer {
  position: relative; overflow: hidden;
  margin: var(--edge) var(--edge) 0; border-radius: var(--radius) var(--radius) 0 0;
  padding-top: clamp(72px, 9vw, 120px);
  background: var(--dark); color: var(--on-dark);
}
.footer__cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; padding-bottom: clamp(48px, 7vw, 80px); }
.footer__cta .h2 { font-family: var(--serif); max-width: 18ch; }
.footer__cols {
  display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 36px;
  padding-block: 44px; border-top: 1px solid var(--line-dark);
}
.footer__brand { display: grid; gap: 14px; align-content: start; }
.footer__brand p { max-width: 36ch; font-size: .92rem; }
.footer__h { margin-bottom: 14px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.footer ul { display: grid; gap: 4px; }
.footer ul a { display: inline-block; padding-block: 5px; text-decoration: none; font-size: .95rem; color: var(--on-dark); opacity: .88; transition: opacity .2s; }
.footer ul a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer ul li.muted { font-size: .92rem; padding-block: 5px; }
.footer__legal { max-width: 84ch; padding-block: 24px; border-top: 1px solid var(--line-dark); font-size: .82rem; color: var(--on-dark-2); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-bottom: 12px; font-size: .82rem; color: var(--on-dark-2); }
.footer__bottom a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.footer__bottom a:hover { color: var(--on-dark); }
.footer__word {
  width: calc(100% - 2 * var(--gutter)); margin: 8px auto 0; overflow: visible;
  font-family: var(--serif); font-weight: 400; font-size: 120px; letter-spacing: -.02em;
  transform: translate3d(0, calc((1 - min(1, var(--e, 1) * 1.15)) * 40%), 0);
}

/* ---------- Motion (only when allowed and JS is running) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .js .hero__title .w > span { transform: translate3d(0, 110%, 0); transition: transform 1.15s var(--ease) calc(var(--i) * 70ms); }
  .js.is-loaded .hero__title .w > span { transform: none; }
  /* Hero copy stays visible from the first paint (fast LCP); it only glides into place */
  .js .hero .eyebrow, .js .hero__row, .js .hero__foot { transform: translate3d(0, 14px, 0); transition: transform .9s var(--ease) .2s; }
  .js.is-loaded .hero .eyebrow, .js.is-loaded .hero__row, .js.is-loaded .hero__foot { transform: none; }
  .js.is-loaded .hero__inner { opacity: calc(1 - var(--x) * 1.25); transform: translate3d(0, calc(var(--x) * -9vh), 0); }
  .js .hero__bg img { transform: scale(1.08); transition: transform 2.4s var(--ease); }
  .js.is-loaded .hero__bg img { transform: translate3d(0, calc(var(--x) * 8%), 0) scale(1.04); }

  .js .page-hero .wrap > * { opacity: 0; transform: translate3d(0, 20px, 0); transition: opacity .9s var(--ease), transform 1s var(--ease); }
  .js .page-hero .wrap > :nth-child(2) { transition-delay: .08s; }
  .js .page-hero .wrap > :nth-child(3) { transition-delay: .16s; }
  .js .page-hero .wrap > :nth-child(4) { transition-delay: .24s; }
  .js .page-hero .wrap > :nth-child(5) { transition-delay: .32s; }
  .js.is-loaded .page-hero .wrap > * { opacity: 1; transform: none; }

  .js .panel { transform: scale(calc(.95 + .05 * var(--e, 1))); }

  .js [data-reveal] {
    opacity: 0; transform: translate3d(0, 28px, 0);
    transition: opacity .9s var(--ease), transform 1.1s var(--ease);
    transition-delay: calc(var(--d, 0) * 90ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  /* Charts draw in when their exhibit enters */
  .js .chart__line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) .3s; }
  .js .chart__line--2 { transition-delay: .6s; }
  .js .is-in .chart__line { stroke-dashoffset: 0; }
  .js .chart__dot, .js .chart__label { opacity: 0; transition: opacity .6s 1.6s; }
  .js .is-in .chart__dot, .js .is-in .chart__label { opacity: 1; }
  .js .score__bar { transform: scaleX(0); transition: transform 1.2s var(--ease) calc(.25s + var(--r, 0) * 90ms); }
  .js .is-in .score__bar { transform: none; }
  .ind-panel:not([hidden]) { animation: panel-in .6s var(--ease); }

  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
}

@media (prefers-reduced-motion: reduce) {
  .stage__glow, .scroll-cue i::after { animation: none; }
  .stage__grid, .footer__word { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  :root { --nav-h: 72px; }
  .nav__bar { padding-left: 16px; }
  .nav__links, .nav__cta { display: none; }
  .nav__menu { display: grid; }
  .lang { margin-left: auto; }
  .nav.is-open .nav__links {
    display: grid; gap: 2px; position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    padding: 10px; border-radius: 24px;
    background: rgb(255 255 255 / .97); border: 1px solid var(--line);
    box-shadow: 0 24px 60px -24px rgb(11 31 51 / .35);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  }
  .nav.is-open .nav__links a { padding: 14px 16px; font-size: 1.05rem; color: var(--text); }
  .nav.is-open .nav__links .nav__menu-cta { display: block; margin-top: 6px; background: var(--dark); color: var(--on-dark); text-align: center; font-weight: 600; }
  .nav.is-open .nav__links a[aria-current]::after { left: 8px; top: 50%; bottom: auto; margin: -2px 0 0; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .outcomes, .verdicts, .pairs, .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .sec-head--split, .practices, .founder, .contact, .story, .svc, .ind-panel__inner { grid-template-columns: minmax(0, 1fr); }
  .contact__intro, .story .portrait { position: static; }
  .portrait { max-width: 420px; }
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-3 { grid-template-columns: minmax(0, 1fr); }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  /* Phone: photo fills the top, fades out behind the text at the bottom */
  .hero { padding-top: 32svh; }
  .hero__bg {
    width: 100%; height: 40svh;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
  }
  .hero__bg img { object-position: 62% 36%; }

  .arch__practices { display: none; }
  .arch__phases { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .gate { justify-items: start; padding-left: 22px; }
  .assume__row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .assume__row--head { display: none; }
  .assume__cell > .k { display: block; }
  .score__axis, .score__row { grid-template-columns: minmax(0, 1fr) 4.2rem; }
  .score__label { grid-column: 1 / -1; margin-bottom: -8px; }
  .score__axis > span:first-child { display: none; }

  .hub { aspect-ratio: auto; display: grid; gap: 10px; }
  .hub__lines { display: none; }
  .hub__core { position: static; transform: none; width: 100%; aspect-ratio: auto; border-radius: 16px; padding: 22px; }
  .hub__nodes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hub__nodes li { position: static; transform: none; width: auto; }
}

@media (max-width: 640px) {
  .form, .facts, .outcomes, .verdicts, .pairs, .highlights, .ind-grid { grid-template-columns: minmax(0, 1fr); }
  .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .hero__ctas, .hero__ctas .btn { width: 100%; }
  .hero__ctas .btn { justify-content: space-between; }
  .hero__foot p { max-width: 26ch; }
  .footer__cols { grid-template-columns: minmax(0, 1fr); }
  .brand__name { font-size: 1rem; }
  .brand__tag { font-size: .5rem; letter-spacing: .16em; }
  .lang button { min-width: 34px; padding: 0 5px; }
  .chart__x { font-size: .7rem; }
}

@media (pointer: coarse) {
  .lang button { min-height: 44px; }
}
