/* Afara · production styles.
   World: a living cell seen through a microscope. Every surface is glass; every card is a slide or a label.
   Legibility rule: text never sits directly on the moving scene. It sits on a card at 93% opacity
   (measured >= 4.5:1 for small text in every state) or, for the hero only, behind a dense halo. */
:root {
  --dark: oklch(0.18 0.018 245); --dark-2: oklch(0.225 0.02 245); --void: oklch(0.13 0.016 245);
  --card: oklch(0.165 0.02 245 / 0.93); --card-2: oklch(0.2 0.022 245 / 0.95); --card-rim: oklch(0.95 0.012 95 / 0.13);
  --ink: oklch(0.96 0.01 95); --ink-2: oklch(0.84 0.016 95); --ink-3: oklch(0.72 0.018 95);
  --paper: oklch(0.955 0.02 92); --ink-p: oklch(0.22 0.02 245); --ink-p2: oklch(0.4 0.02 245);
  --bridge: oklch(0.89 0.20 128); --bridge-d: oklch(0.47 0.13 135);
  --target: oklch(0.70 0.19 28); --target-d: oklch(0.5 0.17 28);
  --crew: oklch(0.74 0.12 255); --crew-d: oklch(0.48 0.12 255);
  --tag: oklch(0.84 0.15 78); --tag-d: oklch(0.53 0.11 72);
  --bone: oklch(0.93 0.02 90);
  --display: 'forma-djr-display', 'Helvetica Neue', Arial, sans-serif;
  --banner: 'forma-djr-banner', 'Helvetica Neue', Arial, sans-serif;
  --text: 'forma-djr-text', 'Helvetica Neue', Arial, sans-serif;
  --data: 'coordinates', ui-monospace, Menlo, monospace;
  --t-label: 0.75rem; --t-small: 0.9375rem; --t-body: 1.0625rem; --t-lead: 1.25rem; --t-h3: 1.625rem;
  --t-h2: clamp(2.5rem, 1.6rem + 3vw, 4.25rem); --t-hero: clamp(3.25rem, 1.5rem + 6.2vw, 8.25rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1); --ease-ui: cubic-bezier(0.23, 1, 0.32, 1);
  --r: 2px; --r-card: 10px; --gutter: clamp(16px, 4vw, 64px);
  --nav-h: 76px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-padding-top: calc(var(--nav-h) + 16px); scroll-padding-bottom: 72px; background: var(--void); }
body { margin: 0; background: var(--void); color: var(--ink); font: 400 var(--t-body)/1.6 var(--text); letter-spacing: 0.004em; text-rendering: optimizeLegibility; }
::selection { background: oklch(0.89 0.2 128 / .35); color: var(--ink); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--bridge); outline-offset: 3px; border-radius: 2px; }
body.bright :focus-visible { outline-color: var(--bridge-d); }
section[tabindex="-1"]:focus, main:focus { outline: none; }
img { max-width: 100%; display: block; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 50; padding: 12px 18px; background: var(--bone); color: var(--void); border-radius: var(--r); font-weight: 500; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- stage ---------- */
#stage { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 0; display: block; }
.vign { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(130% 95% at 50% 45%, transparent 55%, oklch(0.1 0.014 245 / .78)); }
.grain { position: fixed; inset: 0; z-index: 4; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
main { position: relative; z-index: 2; overflow-x: clip; }
html, body { overflow-x: clip; }
/* the 3D stays invisible until its first frame is drawn, then fades in (app.js adds .gl-ready) */
html.gl #stage { opacity: 0; transition: opacity 1100ms var(--ease); }
html.gl.gl-ready #stage { opacity: 1; }
@media (prefers-reduced-motion: reduce) { html.gl #stage { transition-duration: 400ms; } }
.no-gl #stage, .no-gl .vign { display: none; }
.no-gl body { background: var(--void) url(../assets/img/zeiss-cells.jpg) center/cover fixed; }

/* ---------- type roles ---------- */
.label { font: 500 var(--t-label)/1.25 var(--data); letter-spacing: 0.14em; text-transform: uppercase; }
.h2 { font: 400 var(--t-h2)/1.02 var(--display); letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
.h3 { font: 400 var(--t-h3)/1.12 var(--display); letter-spacing: -0.008em; margin: 0; text-wrap: balance; }
.lead { font-size: var(--t-lead); line-height: 1.5; margin: 0; text-wrap: pretty; }
.body { margin: 0; text-wrap: pretty; max-width: 36em; }
.small { font-size: var(--t-small); line-height: 1.5; color: var(--ink-2); margin: 0; }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- nav: solid ground (iOS drops gradient pseudo grounds) ---------- */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 10; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter); background: oklch(0.13 0.016 245); /* fully opaque: no text can show through */
  box-shadow: inset 0 -1px 0 oklch(0.95 0.012 95 / .08); }
.bar-fade { position: fixed; left: 0; right: 0; top: var(--nav-h); height: 28px; z-index: 9; pointer-events: none; background: linear-gradient(oklch(0.13 0.016 245 / .55), transparent); }
.wm { position: relative; display: inline-block; font: 600 22px/1 var(--banner); letter-spacing: .16em; padding-top: 9px; color: var(--ink); text-decoration: none; }
.wm svg { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.wm svg path { fill: none; stroke: currentColor; stroke-linecap: round; }
.links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; font: 500 15px/1 var(--text); }
.links a { position: relative; display: inline-block; white-space: nowrap; padding: 14px 0 12px; text-decoration: none; color: var(--ink-2); transition: color 200ms var(--ease-ui); }
.links a svg { position: absolute; left: 0; top: 2px; width: 100%; height: 9px; overflow: visible; }
.links a svg path { fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 450ms var(--ease); stroke: var(--ink); }
.links a[aria-current] { color: var(--ink); } .links a[aria-current] svg path { stroke: var(--bridge); stroke-dashoffset: 0; }
@media (hover: hover) { .links a:hover { color: var(--ink); } .links a:hover svg path { stroke-dashoffset: 0; } }
.bar .right { display: flex; gap: 14px; align-items: center; }
.menu-btn { display: none; }
@media (max-width: 1180px) { .links { gap: 20px; } }
@media (max-width: 1040px) { .links, .bar .cta-hcp { display: none; } .menu-btn { display: inline-flex; } }

/* ---------- buttons: confocal scan line ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 26px;
  border-radius: var(--r); border: 0; cursor: pointer; text-decoration: none; font: 500 16px/1 var(--text); letter-spacing: .01em; white-space: nowrap;
  transition-property: transform, background-color, box-shadow, color; transition-duration: 200ms; transition-timing-function: var(--ease-ui); }
.btn { transform: translate(var(--bx, 0px), var(--by, 0px)); }
.btn:active { transform: translate(var(--bx, 0px), var(--by, 0px)) scale(0.97); }
.btn-1 { background: linear-gradient(180deg, oklch(0.97 0.018 92), var(--bone) 55%, oklch(0.88 0.022 92)); color: var(--void);
  box-shadow: inset 0 1px 0 oklch(1 0 0 / .7), inset 0 -1px 0 oklch(0.5 0.02 92 / .35), 0 10px 28px -12px oklch(0.89 0.2 128 / .55), 0 2px 6px -2px oklch(0 0 0 / .6); }
@media (hover: hover) { .btn-1:hover { box-shadow: inset 0 1px 0 oklch(1 0 0 / .7), inset 0 -1px 0 oklch(0.5 0.02 92 / .35), 0 14px 34px -10px oklch(0.89 0.2 128 / .8), 0 0 0 1px oklch(0.89 0.2 128 / .5); } }
.btn-1::before { content: ""; position: absolute; top: 0; bottom: 0; left: -4px; width: 2px; z-index: -1; background: var(--bridge-d); box-shadow: 0 0 12px 2px oklch(0.89 0.2 128 / .8); opacity: 0; }
.btn-1::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, transparent, oklch(0.89 0.2 128 / .34)); transform: scaleX(0); transform-origin: left; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn-1:hover::before { animation: scan 520ms var(--ease) forwards; }
  .btn-1:hover::after { transform: scaleX(1); transition: transform 520ms var(--ease); } }
@media (hover: hover) and (prefers-reduced-motion: reduce) { .btn-1:hover { background: oklch(0.985 0.012 95); } }
@keyframes scan { 0% { left: -4px; opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.btn-1[aria-busy="true"]::before { animation: scanloop 1.1s linear infinite; }
@keyframes scanloop { 0% { left: -4px; opacity: 1; } 100% { left: 100%; opacity: 1; } }
.btn-1[disabled] { background: oklch(0.36 0.012 245); color: oklch(0.8 0.01 245); cursor: not-allowed; }
.btn-1.done { background: var(--bridge); }
.btn-2 { background: linear-gradient(180deg, oklch(0.25 0.022 245 / .78), oklch(0.18 0.02 245 / .78)); color: var(--ink); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px oklch(0.95 0.012 95 / .45), inset 0 1px 0 oklch(1 0 0 / .14); }
/* reticle corners: the secondary button is framed like a field of view, and the frame closes in on hover */
.btn-2::before { content: ""; position: absolute; inset: 4px; pointer-events: none; opacity: .9; transition: inset 300ms var(--ease);
  --t: oklch(0.89 0.2 128 / .85);
  background: linear-gradient(var(--t), var(--t)) left top / 7px 1px no-repeat, linear-gradient(var(--t), var(--t)) left top / 1px 7px no-repeat,
    linear-gradient(var(--t), var(--t)) right top / 7px 1px no-repeat, linear-gradient(var(--t), var(--t)) right top / 1px 7px no-repeat,
    linear-gradient(var(--t), var(--t)) left bottom / 7px 1px no-repeat, linear-gradient(var(--t), var(--t)) left bottom / 1px 7px no-repeat,
    linear-gradient(var(--t), var(--t)) right bottom / 7px 1px no-repeat, linear-gradient(var(--t), var(--t)) right bottom / 1px 7px no-repeat; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .btn-2:hover::before { inset: 2px; } }
@media (hover: hover) { .btn-2:hover { background: oklch(0.26 0.022 245 / .85); box-shadow: inset 0 0 0 1px var(--ink), inset 0 1px 0 oklch(1 0 0 / .16); } }
.link-arc { position: relative; display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 500; padding-bottom: 6px; }
.link-arc svg { position: absolute; left: 0; bottom: 6px; width: 100%; height: 7px; overflow: visible; }
.link-arc svg path { fill: none; stroke: currentColor; stroke-width: 1.2; }
.ib { width: 48px; height: 48px; border-radius: 50%; display: inline-grid; place-items: center; border: 0; cursor: pointer; color: var(--ink); position: relative;
  background: oklch(0.2 0.02 245 / .7); box-shadow: inset 0 0 0 1px oklch(0.95 0.012 95 / .45); }
.ib::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: repeating-conic-gradient(oklch(0.95 0.012 95 / .45) 0 1.2deg, transparent 1.2deg 30deg);
  -webkit-mask: radial-gradient(circle, transparent 0 calc(50% - 3px), #000 calc(50% - 2px) 50%, transparent 50%); mask: radial-gradient(circle, transparent 0 calc(50% - 3px), #000 calc(50% - 2px) 50%, transparent 50%); }
.ib svg { width: 18px; height: 18px; } .ib svg path { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }

/* ---------- layout ---------- */
.ch { position: relative; min-height: 130vh; padding: calc(var(--nav-h) + 40px) var(--gutter) 80px; display: grid; align-content: center; }
.ch.tall { min-height: 160vh; }
/* the dimmed company chapters have no 3D moment of their own: no long empty stretches around them */
.ch[data-dim] { min-height: auto; padding-top: calc(var(--nav-h) + 7vh); padding-bottom: 7vh; } .ch.short { min-height: 100vh; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; }
.left { justify-self: start; } .right { justify-self: end; }

/* ---------- hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; align-content: end; padding-bottom: 14vh; }
.hero .halo { position: relative; max-width: 980px; }
.hero .halo::before { content: ""; position: absolute; inset: -14% -12% -18% -14%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, oklch(0.11 0.016 245 / .9), oklch(0.11 0.016 245 / .62) 58%, transparent); }
.hero h1 { font: 500 var(--t-hero)/0.95 var(--banner); letter-spacing: -0.01em; margin: 0; max-width: 11ch; text-wrap: balance; }
.hero .lead { max-width: 34em; margin: 28px 0 34px; color: var(--ink); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hud { position: fixed; z-index: 8; display: inline-flex; align-items: center; gap: 12px; padding: 9px 13px; border-radius: 4px; background: oklch(0.13 0.016 245 / .86);
  box-shadow: inset 0 0 0 1px oklch(0.95 0.012 95 / .1); font: 500 12px/1 var(--data); letter-spacing: .08em; color: var(--ink); }
.hud .bar-s { height: 3px; background: var(--ink); border-radius: 1px; }
.hud.scale { right: var(--gutter); bottom: 22px; transition: opacity 300ms var(--ease); }
body:not(.deep) .hud.scale, html.gl:not(.gl-ready) .hud.scale { opacity: 0; }
/* loading line: fine-focus ticks light up with the real progress; shown only if loading outlasts a moment */
.hud.focus { right: var(--gutter); bottom: 22px; gap: 10px; opacity: 0; transition: opacity 300ms var(--ease-ui); }
.hud.focus.on { opacity: 1; }
.hud.focus .ft { position: relative; width: 61px; height: 8px; flex: none;
  background: repeating-linear-gradient(90deg, oklch(0.95 0.012 95 / .32) 0 1px, transparent 1px 6px) bottom / 100% 6px no-repeat; }
.hud.focus .ft i { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--bridge) 0 1px, transparent 1px 6px) bottom / 100% 8px no-repeat;
  clip-path: inset(0 calc(100% - var(--p, 0) * 100%) 0 0); transition: clip-path 300ms var(--ease-ui); }
@media (prefers-reduced-motion: reduce) { .hud.focus .ft i { transition: none; } }
@media (forced-colors: active) { .hud.focus .ft { background: repeating-linear-gradient(90deg, CanvasText 0 1px, transparent 1px 6px) bottom / 100% 6px no-repeat; } .hud.focus .ft i { background: repeating-linear-gradient(90deg, Highlight 0 1px, transparent 1px 6px) bottom / 100% 8px no-repeat; } }
.hud.concept { left: var(--gutter); bottom: 22px; gap: 10px; font: 500 12.5px/1 var(--text); letter-spacing: 0; transition: opacity 300ms var(--ease-ui), visibility 300ms; }
/* the footer's own legal line says it is a concept, so the badge steps aside there */
.hud.concept.away { opacity: 0; visibility: hidden; }
.band { display: inline-block; width: 16px; height: 4px; border-radius: 2px; background: var(--c, var(--bridge)); box-shadow: 0 0 9px -1px var(--c, var(--bridge)); flex: none; }

/* ---------- specimen label: the reading card for every chapter ---------- */
.spec-card { --c: var(--bridge); position: relative; width: min(560px, 100%); border-radius: var(--r-card); background: var(--card); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--card-rim), inset 0 1px 0 oklch(1 0 0 / .1), 0 40px 100px -40px oklch(0 0 0 / .9);
  -webkit-backdrop-filter: blur(18px) saturate(1.1); backdrop-filter: blur(18px) saturate(1.1); }
.spec-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c); box-shadow: 0 0 18px 1px var(--c); }
.spec-card .strip { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 26px 14px 30px; background: oklch(0.95 0.012 95 / .055);
  box-shadow: inset 0 -1px 0 oklch(0.95 0.012 95 / .08); }
.spec-card .strip .label { color: var(--c); }
.spec-card .strip .ref { font: 500 12px/1 var(--data); letter-spacing: .08em; color: var(--ink-2); text-transform: uppercase; white-space: nowrap; }
.spec-card .inner { padding: 30px 32px 34px 34px; display: grid; gap: 18px; }
.spec-card .credit { display: flex; align-items: center; gap: 12px; margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.eye { --s: 40px; width: var(--s); height: var(--s); border-radius: 50%; flex: none; background: #0b1219 center/165% no-repeat;
  box-shadow: inset 0 0 0 1px oklch(0.95 0.012 95 / .32), 0 0 0 3px oklch(0.165 0.02 245), 0 0 0 4px oklch(0.95 0.012 95 / .12); }
.anno { position: fixed; left: 0; top: 0; z-index: 6; pointer-events: none; display: flex; align-items: center; gap: 10px; opacity: 0; transition: opacity 400ms var(--ease); will-change: transform; }
.anno .tagl { padding: 7px 11px; border-radius: 4px; background: oklch(0.13 0.016 245 / .9); box-shadow: inset 0 0 0 1px oklch(from var(--c) l c h / .55);
  font: 500 12px/1 var(--data); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.anno .pin { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--c); background: oklch(0.13 0.016 245); box-shadow: 0 0 10px var(--c); }
.anno.on { opacity: 1; }

/* brightfield chapter: the microscope switches to transmitted light; cards turn to paper */
.bright .spec-card { --card: oklch(0.97 0.012 92 / .95); --card-rim: oklch(0.22 0.02 245 / .14); color: var(--ink-p); }
.bright .spec-card .strip { background: oklch(0.22 0.02 245 / .05); box-shadow: inset 0 -1px 0 oklch(0.22 0.02 245 / .1); }
.bright .spec-card .strip .ref, .bright .spec-card .credit { color: var(--ink-p2); }
.bright .spec-card .strip .label { color: var(--ink-p); }

/* ---------- the live cycle ---------- */
.cycle { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; margin-top: 6px; padding: 18px; border-radius: 8px; background: oklch(1 0 0 / .035); box-shadow: inset 0 0 0 1px var(--card-rim); }
.odo { display: inline-flex; align-items: last baseline; gap: 12px; } /* the big number sits on the label's last line */
.odo .n { font: 400 56px/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--bridge); }
.odo .t { font-size: 15px; color: var(--ink-2); max-width: 12em; line-height: 1.35; }

/* ---------- spectral tabs ---------- */
.spt { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 8px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--card-rim); background: oklch(0.12 0.016 245 / .6); }
.spt [role="tab"] { all: unset; box-sizing: border-box; cursor: pointer; padding: 16px 18px 12px; display: grid; gap: 7px; color: var(--ink-2); position: relative; min-height: 44px; }
.spt [role="tab"] + [role="tab"] { box-shadow: inset 1px 0 0 var(--card-rim); }
.spt [role="tab"] b { font: 500 16px/1.15 var(--text); color: inherit; }
.spt [role="tab"] .nm { font: 500 12px/1 var(--data); letter-spacing: .1em; color: var(--ink-3); text-transform: uppercase; }
.spt [role="tab"] .nm .u { text-transform: none; } /* units keep their case: nm, not NM */
.spt [role="tab"] svg { width: 100%; height: 30px; display: block; }
.spt svg .ax { stroke: oklch(0.95 0.012 95 / .2); } .spt svg .cv { fill: none; stroke: var(--c); stroke-width: 1.5; opacity: .6; } .spt svg .fl { fill: var(--c); opacity: 0; }
.spt [role="tab"][aria-selected="true"] { color: var(--ink); background: oklch(from var(--c) 0.27 0.06 h / .7); }
.spt [role="tab"][aria-selected="true"] .nm { color: var(--ink); }
.spt [role="tab"][aria-selected="true"] .cv { opacity: 1; } .spt [role="tab"][aria-selected="true"] .fl { opacity: .3; }
.spt [role="tab"]:focus-visible { outline: 2px solid var(--bridge); outline-offset: -4px; }
.tabpanel { display: grid; gap: 12px; }

/* ---------- section head on a plate (dense chapters) ---------- */
.plate-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding: 30px 34px; border-radius: var(--r-card) var(--r-card) 0 0; background: var(--card); box-shadow: inset 0 0 0 1px var(--card-rim);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.plate-head .lead { max-width: 30em; font-size: 17px; color: var(--ink-2); }

/* ---------- pipeline gel ---------- */
.gel { position: relative; display: grid; grid-template-columns: 140px 1fr 340px; height: 420px; border-radius: 0 0 var(--r-card) var(--r-card); overflow: hidden;
  background: repeating-linear-gradient(90deg, oklch(1 0 0 / .014) 0 2px, transparent 2px 7px), linear-gradient(180deg, oklch(0.19 0.03 235 / .95), oklch(0.145 0.024 240 / .96));
  box-shadow: inset 0 0 0 1px var(--card-rim), inset 0 -40px 80px -30px oklch(0 0 0 / .6), 0 60px 120px -50px oklch(0 0 0 / .9); }
.gel::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.012 .9' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 .6  0 0 0 0 .8  0 0 0 0 .9  0 0 0 .06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.ladder { position: relative; box-shadow: inset -1px 0 0 oklch(1 0 0 / .07); }
.ladder span { position: absolute; left: 0; right: 0; top: var(--y); padding: 0 18px; display: grid; gap: 8px; font: 500 12px/1 var(--data); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); translate: 0 -2px; }
.ladder span::before { content: ""; height: 4px; width: 62%; border-radius: 2px; background: oklch(0.95 0.012 95 / .6); box-shadow: 0 0 10px oklch(0.95 0.012 95 / .4); }
.lanes { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); }
.lanes::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent calc(var(--y1) + 2px), oklch(1 0 0 / .05) calc(var(--y1) + 2px) calc(var(--y1) + 3px), transparent calc(var(--y1) + 3px) calc(var(--y2) + 2px), oklch(1 0 0 / .05) calc(var(--y2) + 2px) calc(var(--y2) + 3px), transparent calc(var(--y2) + 3px) calc(var(--y3) + 2px), oklch(1 0 0 / .05) calc(var(--y3) + 2px) calc(var(--y3) + 3px), transparent calc(var(--y3) + 3px) calc(var(--y4) + 2px), oklch(1 0 0 / .05) calc(var(--y4) + 2px) calc(var(--y4) + 3px), transparent calc(var(--y4) + 3px));
  --y1: 34%; --y2: 58%; --y3: 82%; --y4: 200%; } /* the same stops as the ladder and the bands */
.lane { all: unset; box-sizing: border-box; position: relative; display: block; height: 100%; cursor: pointer; transition: background-color 250ms var(--ease-ui); }
.lane:focus-visible { outline: 2px solid var(--bridge); outline-offset: -6px; border-radius: 8px; }
.lane .code { position: absolute; top: 20px; left: 0; right: 0; text-align: center; font: 500 13px/1 var(--data); letter-spacing: .05em; color: var(--ink); }
.lane .area { position: absolute; top: 40px; left: 6px; right: 6px; text-align: center; font: 400 13px/1.25 var(--text); color: var(--ink-2); }
.lane .well { position: absolute; top: 64px; left: 22%; right: 22%; height: 12px; border-radius: 2px; background: color-mix(in oklch, var(--c) 30%, oklch(0.1 0.012 245)); box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--c) 70%, transparent), inset 0 -3px 6px -2px var(--c), 0 0 14px -3px var(--c); }
/* where the programme is heading next: a faint, dashed band at Phase 2 */
/* no empty Phase 2 placeholders: an unfilled stage is just the line */
.lane::after { display: none; content: ""; position: absolute; top: 88%; left: 18%; right: 18%; height: 12px; margin-top: -6px; border-radius: 50% / 70%; outline: 1px dashed color-mix(in oklch, var(--c) 55%, transparent); outline-offset: -1px; opacity: .45; pointer-events: none; }
.lane .smear { position: absolute; top: 76px; left: 27%; right: 27%; height: calc(var(--y) - 76px); border-radius: 0 0 40% 40%; filter: blur(3px);
  background: linear-gradient(180deg, oklch(from var(--c) l c h / .02), oklch(from var(--c) l c h / .14) 70%, oklch(from var(--c) l c h / .3)); transition: opacity 300ms; }
.lane .bnd { position: absolute; top: var(--y); left: 18%; right: 18%; height: 14px; margin-top: -7px; border-radius: 50% / 70%; transform: perspective(200px) rotateX(-20deg);
  background: radial-gradient(60% 120% at 50% 40%, oklch(from var(--c) calc(l + 0.08) c h), var(--c) 55%, oklch(from var(--c) l c h / .2));
  box-shadow: 0 0 18px 3px oklch(from var(--c) l c h / .5), 0 0 56px 8px oklch(from var(--c) l c h / .2); transition: filter 300ms, opacity 300ms; }
.lanes:has(.lane[aria-pressed="true"]) .lane:not([aria-pressed="true"]) .bnd { opacity: .55; filter: saturate(.6); }
.lanes:has(.lane[aria-pressed="true"]) .lane:not([aria-pressed="true"]) .smear { opacity: .45; }
.lane[aria-pressed="true"] { background: linear-gradient(180deg, oklch(from var(--c) l c h / .1), transparent 88%); }
.lane[aria-pressed="true"] .code { color: var(--c); }
@media (hover: hover) { .lane:hover { background-color: oklch(1 0 0 / .03); } }
.readout { padding: 30px 28px; display: grid; align-content: start; gap: 14px; background: oklch(0.12 0.016 245 / .55); box-shadow: inset 1px 0 0 oklch(1 0 0 / .08); }
.readout .label { color: var(--c, var(--bridge)); }
.readout b { font: 400 30px/1.1 var(--display); letter-spacing: -.012em; }
.readout dl { margin: 4px 0; display: grid; grid-template-columns: auto 1fr; gap: 11px 16px; font-size: 15.5px; }
.readout dt { font: 500 12px/1.7 var(--data); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.readout dd { margin: 0; color: var(--ink); }
.gel-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 14px; }
.gel-table { margin-top: 16px; border-radius: var(--r-card); background: var(--card); padding: 18px 24px; box-shadow: inset 0 0 0 1px var(--card-rim); overflow-x: auto; }
.gel-table table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 640px; }
.gel-table th { text-align: left; font: 500 12px/1.3 var(--data); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); padding: 10px 12px; }
.gel-table td { padding: 14px 12px; box-shadow: inset 0 1px 0 oklch(1 0 0 / .08); }

/* ---------- study cards: glass slides ---------- */
.slides { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.gslide { --c: var(--bridge); position: relative; display: grid; grid-template-columns: 92px 200px 1fr; min-height: 300px; border-radius: var(--r-card); overflow: hidden; background: var(--card-2);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / .14), inset 0 1px 0 oklch(1 0 0 / .32), inset 0 -1px 0 oklch(0 0 0 / .5), 0 40px 90px -40px oklch(0 0 0 / .9); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.gslide::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 1;
  background: linear-gradient(135deg, oklch(from var(--c) l c h / .9), transparent 32%, transparent 70%, oklch(1 0 0 / .35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.frost { display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 24px 0;
  background: oklch(0.96 0.01 95 / .14) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='90' height='90'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.6' numOctaves='3'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .14 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  box-shadow: inset -1px 0 0 oklch(1 0 0 / .16); }
.frost span { writing-mode: vertical-rl; transform: rotate(180deg); font: 500 12px/1 var(--data); letter-spacing: .16em; color: var(--ink); }
.frost .etch { font: 600 13px/1 var(--banner); letter-spacing: .3em; color: var(--ink-2); }
.cover { position: relative; margin: 26px 0; border-radius: 3px; overflow: hidden; background: oklch(0.11 0.016 245); box-shadow: inset 0 0 0 1px oklch(1 0 0 / .22), inset 0 1px 0 oklch(1 0 0 / .38); }
.cover::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, transparent 30%, oklch(1 0 0 / .12) 42%, transparent 50%); }
.cover i { position: absolute; inset: -6%; background: center/120% no-repeat; -webkit-mask: radial-gradient(closest-side, #000 58%, transparent 100%); mask: radial-gradient(closest-side, #000 58%, transparent 100%); transition: transform 900ms var(--ease); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .gslide:hover .cover i { transform: scale(1.06) rotate(-2deg); } }
.gslide .txt { padding: 28px 30px; display: grid; gap: 11px; align-content: start; justify-items: start; } /* both trial cards start at the same line */
.gslide .txt .label { color: var(--c); }
.gslide .facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--ink); }
.gslide .facts li { padding: 7px 11px; border-radius: 3px; background: oklch(0.12 0.016 245 / .7); box-shadow: inset 0 0 0 1px oklch(0.95 0.012 95 / .16); line-height: 1.2; }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: start; margin-top: 64px; }
.faq .qhead { padding: 30px 32px; border-radius: var(--r-card); background: var(--card); box-shadow: inset 0 0 0 1px var(--card-rim); }
.acc { display: grid; gap: 8px; }
.acc details { border-radius: 8px; background: var(--card); box-shadow: inset 0 0 0 1px var(--card-rim); transition: background-color 250ms var(--ease-ui); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 21px 24px; font: 500 18px/1.35 var(--text); min-height: 44px; }
.acc summary::-webkit-details-marker { display: none; }
.acc .pm { width: 16px; height: 16px; position: relative; flex: none; }
.acc .pm::before, .acc .pm::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: currentColor; transition: transform 300ms var(--ease); }
.acc .pm::after { transform: rotate(90deg); } .acc details[open] .pm::after { transform: rotate(0); }
.acc details[open] { background: oklch(0.2 0.045 140 / .94); box-shadow: inset 0 0 0 1px oklch(0.89 0.2 128 / .35); }
.acc .ans { padding: 0 24px 24px; max-width: 54ch; color: var(--ink); }

/* ---------- four doors: each one is a lit specimen plate ---------- */
.doors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; perspective: 1400px; }
.door { --c: var(--bridge); position: relative; isolation: isolate; display: grid; grid-template-rows: 230px auto; padding: 8px; border-radius: var(--r-card); text-decoration: none; color: var(--ink);
  background: var(--card); box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--c) 32%, transparent), inset 0 1px 0 oklch(1 0 0 / .1), 0 30px 80px -40px oklch(0 0 0 / .85);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 500ms var(--ease), box-shadow 300ms var(--ease-ui); }
.door .dplate { grid-row: 1; grid-column: 1; position: relative; overflow: hidden; border-radius: 3px; background: oklch(0.1 0.014 245); }
.door .dplate i { position: absolute; inset: -8%; background: center/cover; transform: scale(1.06); transition: transform 900ms var(--ease), filter 900ms var(--ease); filter: saturate(1.1);
  -webkit-mask: radial-gradient(110% 95% at 50% 42%, #000 45%, transparent 100%); mask: radial-gradient(110% 95% at 50% 42%, #000 45%, transparent 100%); }
.door .dplate::before { content: ""; position: absolute; inset: 0; z-index: 1; background: color-mix(in oklch, var(--c) 24%, transparent); mix-blend-mode: soft-light; }
.door .dplate::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 40%, oklch(0.13 0.016 245 / .92)), radial-gradient(80% 70% at 50% 40%, transparent 40%, oklch(0.12 0.016 245 / .5)); }
.door .dno { position: absolute; z-index: 2; left: 14px; top: 14px; padding: 6px 9px; border-radius: 2px; background: oklch(0.12 0.016 245 / .86); font: 500 12px/1 var(--data); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.door .dno b { color: var(--c); font-weight: 500; }
.door h3 { grid-row: 1; grid-column: 1; align-self: end; position: relative; z-index: 2; margin: 0 14px 16px; font: 400 28px/1.04 var(--display); letter-spacing: -.014em; text-wrap: balance; }
.door .dtx { grid-row: 2; grid-column: 1; display: grid; gap: 16px; align-content: space-between; padding: 18px 14px 12px; }
.door p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.door .go { position: relative; display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--data); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); padding-bottom: 6px; justify-self: start; }
.door .go::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--c);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M1 7C25 1 75 1 99 7' fill='none' stroke='%23000' stroke-width='1.4' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M1 7C25 1 75 1 99 7' fill='none' stroke='%23000' stroke-width='1.4' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  opacity: .55; transition: opacity 300ms var(--ease-ui); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .door:hover { box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--c) 60%, transparent), 0 50px 100px -40px oklch(0 0 0 / .95), 0 0 60px -30px var(--c); }
  .door:hover .dplate i { transform: scale(1); filter: saturate(1.3) contrast(1.08); }
  .door:hover .sheen { opacity: 1; } .door:hover .go::after { opacity: 1; }
}
.door:focus-visible .go::after { opacity: 1; }

.inc { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 15.5px; line-height: 1.4; }
.inc li { position: relative; padding-left: 28px; text-wrap: pretty; }
.inc li::before { content: ""; position: absolute; left: 0; top: .12em; width: 17px; height: 17px; background: var(--c);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3 14C4.5 5 13.5 5 15 14' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='3' cy='14.6' r='2'/%3E%3Ccircle cx='15' cy='14.6' r='2'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3 14C4.5 5 13.5 5 15 14' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='3' cy='14.6' r='2'/%3E%3Ccircle cx='15' cy='14.6' r='2'/%3E%3C/svg%3E") center/contain no-repeat; }
/* glass sheen follows the pointer */
.sheen { position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 400ms var(--ease-ui);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), oklch(1 0 0 / .09), transparent 60%); }
@media (prefers-reduced-motion: reduce) { .foot-ep svg { animation: none; } .door { transform: none !important; } }
.plans-all { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin: 26px 0 0; padding: 18px 24px; border-radius: var(--r-card); background: var(--card); box-shadow: inset 0 0 0 1px var(--card-rim); font-size: 15.5px; }
.plans-all .label { color: var(--ink-2); margin-right: 6px; }
.plans-all span:not(.label) { position: relative; padding-left: 26px; }
.plans-all span:not(.label)::before { content: ""; position: absolute; left: 0; top: 50%; width: 15px; height: 15px; margin-top: -8px; background: var(--bridge);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3 14C4.5 5 13.5 5 15 14' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='3' cy='14.6' r='2'/%3E%3Ccircle cx='15' cy='14.6' r='2'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3 14C4.5 5 13.5 5 15 14' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='3' cy='14.6' r='2'/%3E%3Ccircle cx='15' cy='14.6' r='2'/%3E%3C/svg%3E") center/contain no-repeat; }
@media (max-width: 640px) { .plans-all { padding: 16px; } }
.bracket { position: absolute; inset: -9px; pointer-events: none; }
.bracket::before, .bracket::after { content: ""; position: absolute; width: 22px; height: 22px; border: 1.5px solid var(--bridge); }
.bracket::before { left: 0; top: 0; border-right: 0; border-bottom: 0; } .bracket::after { right: 0; bottom: 0; border-left: 0; border-top: 0; }

/* ---------- people: each leader seen through their own channel ---------- */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.person { --c: var(--bridge); position: relative; display: grid; justify-items: start; align-content: start; gap: 10px; padding: 26px 24px 24px; border-radius: var(--r-card); background: var(--card);
  box-shadow: inset 0 0 0 1px var(--card-rim), inset 0 3px 0 -1px color-mix(in oklch, var(--c) 70%, transparent); }
.person .ep { --s: 150px; margin-bottom: 8px; }
.person .ep::after { content: ""; position: absolute; inset: 12%; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--c), 0 0 34px -8px var(--c); pointer-events: none; }
.person b { font: 400 24px/1.12 var(--display); letter-spacing: -.01em; } .person .role { font: 500 12px/1.3 var(--data); letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.person p { margin: 4px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.person .fic { font: 500 12px/1 var(--data); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-top: 6px; }
.ep { --s: 128px; width: var(--s); height: var(--s); position: relative; flex: none; }
.ep .img { position: absolute; inset: 13%; border-radius: 50%; background: oklch(0.1 0.014 245) center/165% no-repeat; box-shadow: inset 0 0 18px 6px oklch(0.14 0.016 245 / .85); transition: background-size 900ms var(--ease); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .person:hover .ep .img { background-size: 200%; } .person:hover .ep svg { transform: rotate(30deg); } }
.ep svg { transition: transform 1200ms var(--ease); }
.ep svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ep .ini { position: absolute; inset: 0; display: grid; place-items: end center; padding-bottom: 22%; font: 600 15px/1 var(--banner); letter-spacing: .08em; color: var(--ink); text-shadow: 0 2px 8px oklch(0 0 0 / .9); }
.roles { margin-top: 18px; border-radius: var(--r-card); background: var(--card); box-shadow: inset 0 0 0 1px var(--card-rim); }
.roles a { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 150px; gap: 16px; align-items: center; padding: 20px 26px; text-decoration: none; color: var(--ink); box-shadow: inset 0 -1px 0 oklch(1 0 0 / .07); min-height: 44px; }
.roles a:last-child { box-shadow: none; }
.roles a b { font-weight: 500; } .roles a .label { justify-self: end; } .roles a span { color: var(--ink-2); font-size: 15px; }
@media (hover: hover) { .roles a:hover { background: oklch(1 0 0 / .03); } }

/* ---------- news + slide-box pager ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post { display: grid; grid-template-rows: 170px auto; border-radius: var(--r-card); overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 1px var(--card-rim); text-decoration: none; color: var(--ink); }
.post .ph { position: relative; background: oklch(0.11 0.016 245) center/cover; }
.post .ph i { position: absolute; inset: 0; background: center/130% no-repeat; -webkit-mask: radial-gradient(closest-side, #000 55%, transparent); mask: radial-gradient(closest-side, #000 55%, transparent); }
.post .tx { padding: 22px 24px 26px; display: grid; gap: 10px; }
.post .tx .label { color: var(--ink-2); }
.post h3 { margin: 0; font: 500 21px/1.25 var(--display); letter-spacing: -.004em; text-wrap: balance; }
.pager { display: flex; align-items: flex-end; justify-content: center; gap: 10px; margin-top: 26px; padding: 18px 26px; border-radius: var(--r-card); background: var(--card); box-shadow: inset 0 0 0 1px var(--card-rim); width: max-content; margin-inline: auto; }
.pager a { color: var(--ink); text-decoration: none; }
.pager .w { padding: 14px 10px; font-weight: 500; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; align-self: center; }
.pager .w[aria-disabled="true"] { color: var(--ink-3); text-decoration: none; pointer-events: none; }
.pager .s { display: grid; justify-items: center; gap: 9px; min-width: 44px; font: 500 13px/1 var(--data); color: var(--ink-2); }
.pager .s i { display: block; width: 28px; height: 52px; border-radius: 3px; background: oklch(1 0 0 / .08); box-shadow: inset 0 0 0 1px oklch(1 0 0 / .22), inset 0 11px 0 oklch(1 0 0 / .1); transition: transform 350ms var(--ease); }
.pager .s[aria-current="page"] { color: var(--ink); } .pager .s[aria-current="page"] i { transform: translateY(-12px); background: var(--bone); box-shadow: 0 10px 20px -8px oklch(0 0 0 / .6), inset 0 11px 0 var(--bridge-d); }
@media (hover: hover) { .pager .s:hover i { transform: translateY(-5px); } }

/* ---------- footer ---------- */
footer { position: relative; z-index: 2; padding: 64px var(--gutter) 32px; background: linear-gradient(180deg, transparent, oklch(0.12 0.016 245 / .96) 22%); }
.foot-wm { display: block; font: 600 clamp(72px, 11vw, 190px)/0.9 var(--banner); letter-spacing: .1em; color: var(--ink); text-decoration: none; padding-top: .3em; padding-bottom: .1em; position: relative; } /* clears the text box of the very large letters from the line beneath */
.foot-top { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.foot-ep { --s: clamp(160px, 18vw, 280px); position: relative; width: var(--s); height: var(--s); margin-bottom: 10px; }
.foot-ep .img { position: absolute; inset: 12%; border-radius: 50%; background: oklch(0.1 0.014 245) url(../assets/img/spec-complex.webp) center/150% no-repeat; box-shadow: inset 0 0 30px 10px oklch(0.12 0.016 245 / .9), 0 0 0 1.5px var(--bridge), 0 0 70px -20px var(--bridge); }
.foot-ep svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: sealturn 90s linear infinite; }
.foot-grid h2 { margin: 0 0 10px; font: 500 12px/1 var(--data); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; align-items: start; margin-top: 36px; padding-top: 28px; box-shadow: inset 0 1px 0 oklch(1 0 0 / .08); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-grid a { display: inline-flex; min-height: 40px; align-items: center; color: var(--ink); text-decoration: none; }
@media (hover: hover) { .foot-grid a:hover { text-decoration: underline; text-underline-offset: 5px; } }
.legal { margin-top: 28px; font-size: 14px; line-height: 1.6; color: var(--ink-2); max-width: 52ch; text-wrap: pretty; } /* this face is narrow: 52ch holds lines at 75 characters or fewer */
.safety { padding: 18px 22px; border-radius: 8px; background: oklch(0.2 0.05 28 / .5); box-shadow: inset 0 0 0 1px oklch(0.7 0.19 28 / .4); font-size: 15.5px; }

/* ---------- full menu ---------- */
.menu { position: fixed; inset: 0; z-index: 30; display: grid; grid-template-columns: 1.1fr 1fr; background: transparent; }
@media (max-width: 860px) { .menu { background: var(--void); } }
/* nothing of the page shows through an open menu */
html.menu-open main, html.menu-open .bar, html.menu-open .bar-fade, html.menu-open footer, html.menu-open .hud, html.menu-open .anno, html.menu-open .ladder-nav, html.menu-open .live { visibility: hidden; }
.menu .l { background: radial-gradient(120% 80% at 0% 100%, oklch(0.2 0.04 140 / .35), transparent 60%), var(--void); }
.menu .l { padding: 26px var(--gutter); display: grid; grid-template-rows: auto 1fr auto; }
.menu ul { list-style: none; margin: 40px 0 0; padding: 0; display: grid; align-content: start; }
.menu li a { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 12px; padding: 16px 0; color: var(--ink-2); text-decoration: none; box-shadow: inset 0 -1px 0 oklch(1 0 0 / .08); }
.menu li a b { font: 400 clamp(36px, 4.4vw, 60px)/1 var(--display); letter-spacing: -.02em; }
.menu li a span { font: 500 12px/1 var(--data); letter-spacing: .12em; text-transform: uppercase; }
.menu li a:hover, .menu li a:focus-visible { color: var(--ink); }
.menu .r { position: relative; background: oklch(0.1 0.014 245) center/cover no-repeat; transition: background-image 300ms; box-shadow: inset 1px 0 0 oklch(0.95 0.012 95 / .08); }
.menu .r::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 70% at 50% 50%, transparent 45%, oklch(0.1 0.014 245 / .85)); }
@media (max-width: 860px) { .menu { grid-template-columns: 1fr; } .menu .r { display: none; } }

/* ---------- zoom ladder: a fine-focus scale; shown only while we travel into the cell ---------- */
.ladder-nav { position: fixed; left: var(--gutter); top: 50%; z-index: 7; display: grid; gap: 0; padding: 16px 16px 16px 14px; border-radius: 10px;
  background: oklch(0.13 0.016 245 / .9); box-shadow: inset 0 0 0 1px oklch(1 0 0 / .1), 0 30px 70px -30px oklch(0 0 0 / .8);
  opacity: 0; visibility: hidden; transform: translate(-12px, -50%); transition: opacity 400ms var(--ease), transform 400ms var(--ease), visibility 0s 400ms; }
body.deep .ladder-nav { opacity: 1; visibility: visible; transform: translate(0, -50%); transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.ladder-nav::before { content: ""; position: absolute; left: 29px; top: 28px; bottom: 28px; width: 1px; background: repeating-linear-gradient(180deg, oklch(0.95 0.012 95 / .45) 0 1px, transparent 1px 6px); }
.ladder-nav a { position: relative; display: grid; grid-template-columns: 30px auto; align-items: center; gap: 12px; min-height: 44px; padding: 4px 10px 4px 0; border-radius: 4px; text-decoration: none; color: var(--ink-2); font: 500 13px/1.2 var(--text); }
.ladder-nav a .eye { --s: 30px; box-shadow: inset 0 0 0 1px oklch(0.95 0.012 95 / .32), 0 0 0 3px oklch(0.13 0.016 245); }
.ladder-nav a span:last-child { display: inline; }
.ladder-nav a[aria-current="step"] { color: var(--ink); }
.ladder-nav a[aria-current="step"] .eye { box-shadow: inset 0 0 0 1px oklch(0.95 0.012 95 / .5), 0 0 0 3px oklch(0.13 0.016 245), 0 0 0 5px var(--bridge); }
@media (hover: hover) { .ladder-nav a:hover { color: var(--ink); } }
body.bright .ladder-nav { background: oklch(0.97 0.012 92 / .94); box-shadow: inset 0 0 0 1px oklch(0.22 0.02 245 / .14); }
body.bright .ladder-nav a { color: var(--ink-p2); } body.bright .ladder-nav a[aria-current="step"] { color: var(--ink-p); }
body.bright .ladder-nav::before { background: repeating-linear-gradient(180deg, oklch(0.22 0.02 245 / .4) 0 1px, transparent 1px 6px); }
@media (max-width: 1799px) { .ladder-nav { display: none; } }


/* ---------- review round 2 ---------- */
/* display type: tight tracking, but words never run together */
.hero h1, .h2, .ph1, .step h2, .door h3, .menu li a b, .mini h2, .mini h3, .result h2, .gate h2, .spec-card h2 { word-spacing: .07em; }
/* every glass card catches light along its top edge so it never melts into the scene */
.plate-head, .spec-card, .gslide, .post, .roles, .acc details, .person, .door, .plans-all, .readout, .card, .tray, .head-plate {
  background-image: linear-gradient(90deg, transparent, oklch(1 0 0 / .16) 18%, oklch(1 0 0 / .16) 82%, transparent); background-size: 100% 1px; background-repeat: no-repeat; }
/* the concept label stays on screen on phones, inside the hero */
.concept-chip { display: none; align-items: center; gap: 10px; margin: 0 0 18px; padding: 8px 12px; border-radius: 4px; background: oklch(0.13 0.016 245 / .86); box-shadow: inset 0 0 0 1px oklch(0.95 0.012 95 / .12); font: 500 13px/1 var(--text); width: max-content; }
@media (max-width: 640px) { .concept-chip { display: inline-flex; } }
/* doors and people step down the page instead of standing in a flat row */
@media (min-width: 1101px) {
  .doors .door:nth-child(even) { margin-top: 48px; } .doors { align-items: start; padding-bottom: 8px; }
  .people .person:nth-child(even) { margin-top: 40px; } .people { align-items: start; }
}
.door .dplate .big { position: absolute; z-index: 2; right: 12px; top: 6px; font: 500 72px/1 var(--banner); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px color-mix(in oklch, var(--c) 70%, transparent); opacity: .55; }
/* news: one lead story, two beside it */
@media (min-width: 1101px) {
  .news { grid-template-columns: 1.55fr 1fr; grid-template-rows: auto auto; }
  .news .post:first-child { grid-row: 1 / span 2; grid-template-rows: 1fr auto; }
  .news .post:first-child .ph { min-height: 300px; }
  .news .post:first-child h3 { font-size: 30px; font-weight: 400; letter-spacing: -.012em; }
  .news .post:not(:first-child) { grid-template-columns: 170px 1fr; grid-template-rows: none; }
}
/* questions read like numbered entries in a lab notebook */
.acc { counter-reset: q; }
.acc details { counter-increment: q; }
.acc summary::before { content: "Q." counter(q, decimal-leading-zero); flex: none; font: 500 12px/1 var(--data); letter-spacing: .12em; color: var(--ink-2); width: 44px; }
.acc summary { justify-content: start; } .acc summary .pm { margin-left: auto; }
.acc .ans { padding-left: 84px; }
@media (max-width: 640px) { .acc .ans { padding-left: 24px; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  /* the stage column keeps its width and the gel keeps its height; the readout moves underneath */
  .gel { grid-template-columns: 124px 1fr; grid-template-rows: 400px auto; height: auto; } .gel .readout { grid-column: 1 / -1; box-shadow: inset 0 1px 0 oklch(1 0 0 / .08); }
  .ladder span { padding: 0 12px; letter-spacing: .06em; }
  .slides, .faq { grid-template-columns: 1fr; } .doors, .people { grid-template-columns: 1fr 1fr; } .roles a { grid-template-columns: 26px 1fr auto; } .roles a span:not(.label) { grid-column: 2; grid-row: 2; } .news { grid-template-columns: 1fr 1fr; }
  .plate-head { flex-direction: column; align-items: start; gap: 16px; }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .ch { min-height: auto; padding-top: calc(var(--nav-h) + 30vh); padding-bottom: 20vh; }
  .hero { padding-top: calc(var(--nav-h) + 20px); }
  .spec-card .inner { padding: 24px 22px 26px 26px; }
  .gslide { grid-template-columns: 64px 1fr; } .gslide .cover { display: none; }
  .doors, .people, .news { grid-template-columns: 1fr; }
  .spt { grid-template-columns: 1fr; } .spt [role="tab"] + [role="tab"] { box-shadow: inset 0 1px 0 var(--card-rim); }
  .gel { grid-template-columns: 1fr; } .gel .ladder { display: none; } .lanes { min-height: 460px; }
  .lane .area { top: 38px; left: 2px; right: 2px; font-size: 12px; line-height: 1.2; } .lane .well { top: 76px; } .lane .smear { top: 88px; height: calc(var(--y) - 88px); }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; } .foot-ep { --s: 150px; justify-self: start; order: -1; }
  .person .ep { --s: 130px; }
  .hud.concept { display: none; }
  .hud.scale { top: calc(var(--nav-h) + 10px); bottom: auto; right: 16px; opacity: 0; transition: opacity 300ms; }
  body.deep .hud.scale { opacity: 1; }
  .lane .code { font-size: 12px; letter-spacing: 0; }
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 12px; }
  .gslide .txt { padding: 22px 20px; } .gslide .txt .btn { width: 100%; }
  .bracket { inset: -6px; }
  .pager { width: 100%; gap: 4px; padding: 14px; } .pager .s:nth-of-type(n+4) { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
/* the pause control stops every looping animation on the page (WCAG 2.2.2) */
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation-play-state: paused !important; }
.motion-btn .pl { display: none; } .motion-btn[aria-pressed="true"] .pz { display: none; } .motion-btn[aria-pressed="true"] .pl { display: inline; fill: currentColor; stroke: none; }
.motion-btn { width: 44px; height: 44px; }
@media (forced-colors: active) {
  .btn, .spec-card, .gslide, .door, .person, .spanner, .apex, .plans-all, .acc details, .lane, .person, .post { border: 1px solid CanvasText; }
  .lane[aria-pressed="true"], .spt [role="tab"][aria-selected="true"], .pager .s[aria-current="page"] i { outline: 2px solid Highlight; }
  .band, .lane .bnd, .inc li::before { forced-color-adjust: none; }
}

/* ---------- review round 3 ---------- */
.gslide .cover .illus { position: absolute; left: 8px; bottom: 8px; z-index: 2; padding: 5px 7px; border-radius: 2px; background: oklch(0.12 0.016 245 / .86); font: 500 12px/1 var(--data); letter-spacing: .06em; color: var(--ink); }
.gslide .cover { position: relative; }
.pager { flex-wrap: wrap; max-width: 100%; box-sizing: border-box; } .news, .post { min-width: 0; }
@media (max-width: 400px) { .pager .pg-of { flex-basis: 100%; text-align: center; margin: 0 0 6px; } }
.pager .pg-of { font: 500 12px/1 var(--data); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-right: 10px; align-self: center; }
/* doors: the numeral sits behind the specimen, not on top of it */
.door .dplate i { z-index: 1; } .door .dplate .big { z-index: 0; opacity: .5; top: auto; bottom: 46px; right: 10px; }
.door .dplate::after { background: linear-gradient(180deg, transparent 30%, oklch(0.13 0.016 245 / .96) 92%), radial-gradient(80% 70% at 50% 40%, transparent 40%, oklch(0.12 0.016 245 / .5)); }
/* initials sit on their own dark pill so they read on any specimen */
.ep .ini { place-items: end center; padding-bottom: 14%; } .ep .ini { font-size: 13px; }
.ep .ini { text-shadow: none; } .ep .ini::before { content: none; }
.person .ep .ini { display: grid; } .person .ep .ini { color: var(--ink); }
.person .ep .ini { -webkit-text-stroke: 0; }
.ep .inip { padding: 5px 9px; border-radius: 999px; background: oklch(0.12 0.016 245 / .92); box-shadow: inset 0 0 0 1px oklch(0.95 0.012 95 / .2); }
/* jobs: a glass lift and a channel rule on hover */
.roles a { position: relative; transition: background-color 200ms var(--ease-ui), transform 200ms var(--ease-ui); }
.roles a::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 1px; background: var(--bridge); transform: scaleY(0); transition: transform 250ms var(--ease); }
@media (hover: hover) { .roles a:hover { background: oklch(1 0 0 / .045); } .roles a:hover::before, .roles a:focus-visible::before { transform: scaleY(1); } }
/* news pictures feather into their cards */
.post .ph { -webkit-mask: linear-gradient(180deg, #000 70%, transparent); mask: linear-gradient(180deg, #000 70%, transparent); }
@media (min-width: 1101px) { .news .post:not(:first-child) .ph { -webkit-mask: linear-gradient(90deg, #000 65%, transparent); mask: linear-gradient(90deg, #000 65%, transparent); } }
/* menu: quick links fill the lower corner; a specimen sits behind the list on phones */
.menu .quick { display: flex; flex-wrap: wrap; gap: 10px; align-self: end; margin-bottom: 18px; }
.menu .quick a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 15px; background: oklch(0.2 0.02 245 / .8); box-shadow: inset 0 0 0 1px oklch(0.95 0.012 95 / .3); }
@media (hover: hover) { .menu .quick a:hover { box-shadow: inset 0 0 0 1px var(--bridge); } }
.menu .l { grid-template-rows: auto auto 1fr auto; }
.menu .r { background-size: 78%; }
@media (max-width: 860px) { .menu .l { background: radial-gradient(60% 40% at 90% 85%, oklch(0.3 0.06 140 / .3), transparent), url(../assets/img/spec-complex.webp) right -60px bottom 40px / 300px no-repeat, var(--void); } }


/* ---------- partner: three bridges over one timeline (not cards) ---------- */
.span-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; }
.span-head .lead { max-width: 34em; }
.spanner { margin-top: 30px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--card-rim), inset 0 1px 0 oklch(1 0 0 / .12), 0 40px 100px -50px oklch(0 0 0 / .9); overflow: hidden; }
/* the plan chips sit in their own row above the chart, so they never cover an arc or each other; colour links each to its arc */
.instrument { position: relative; background:
    radial-gradient(70% 90% at 30% 100%, color-mix(in oklch, var(--c) 10%, transparent), transparent 70%); } /* W5: no vertical grid (its 90 px step did not match the 6-month ticks) */
.chart { position: relative; aspect-ratio: 1200 / 480; margin-bottom: 46px; } /* room below the axis for the milestone tags */
.apexes { display: flex; flex-wrap: wrap; gap: 14px; padding: 22px 24px 0; }
.arches { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.arches .axis { stroke: url(#deck); stroke-width: 2; }
.arches .ticks line { stroke: oklch(0.95 0.012 95 / .55); stroke-width: 1.4; } .arches .ticks .mi { stroke: oklch(0.95 0.012 95 / .2); stroke-width: 1; }
.arc .line { fill: none; stroke: var(--c); stroke-width: 2.4; opacity: .42; stroke-linecap: round; transition: opacity 300ms var(--ease-ui), stroke-width 300ms var(--ease-ui); }
.arc .glow { fill: none; stroke: var(--c); stroke-width: 14; opacity: 0; filter: blur(8px); transition: opacity 400ms var(--ease-ui); }
.arc .foot { fill: oklch(0.13 0.016 245); stroke: var(--c); stroke-width: 2; opacity: .6; }
.arc .bead { fill: var(--c); opacity: 0; filter: drop-shadow(0 0 6px var(--c)); }
.arc.on .line { opacity: 1; stroke-width: 3.2; } .arc.on .glow { opacity: .55; } .arc.on .foot { opacity: 1; fill: var(--c); } .arc.on .bead { opacity: 1; }
.arc.hot .line { opacity: .85; }
.apex { all: unset; box-sizing: border-box; position: relative; display: grid; justify-items: center; gap: 4px; padding: 10px 16px 12px; border-radius: 8px; cursor: pointer; text-align: center; white-space: nowrap;
  background: oklch(0.13 0.016 245 / .92); box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--c) 45%, transparent); transition: box-shadow 250ms var(--ease-ui), transform 300ms var(--ease); }
.apex { box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--c) 45%, transparent); } /* every chip carries its arc colour */
.apex .k { font: 500 12px/1 var(--data); letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.apex b { font: 500 22px/1.1 var(--display); letter-spacing: -.01em; color: var(--ink); }
.apex .pz { font: 400 15px/1.2 var(--text); color: var(--ink); font-variant-numeric: tabular-nums; } .apex .pz small { color: var(--ink-2); font-size: 13px; }
.apex .usual-t { margin-top: 4px; padding: 4px 8px; border-radius: 999px; background: color-mix(in oklch, var(--c) 22%, transparent); font: 500 12px/1 var(--text); color: var(--ink); }
.apex[aria-checked="true"] { box-shadow: inset 0 0 0 1.5px var(--c), 0 0 34px -10px var(--c); background: oklch(0.15 0.025 200 / .95); }
@media (hover: hover) { .apex:hover { box-shadow: inset 0 0 0 1.5px var(--c); } }
.apex:focus-visible { outline: 2px solid var(--c); outline-offset: 3px; }
.tlabels span, .mslabels span { position: absolute; left: var(--x); transform: translateX(-50%); font: 500 12px/1 var(--data); letter-spacing: .08em; color: var(--ink-2); white-space: nowrap; }
.tlabels span { top: calc(var(--base) + 18px); } .tlabels .unit { left: auto; right: 22px; transform: none; text-transform: uppercase; letter-spacing: .14em; }
.mslabels span { top: calc(var(--base) + 40px); padding: 5px 8px; border-radius: 3px; background: oklch(0.12 0.016 245 / .9); box-shadow: inset 0 0 0 1px oklch(0.95 0.012 95 / .14); color: var(--ink); text-transform: uppercase; letter-spacing: .1em; }
.mslabels span:last-child { transform: translateX(-50%); } /* W4: centred on the 36 tick, like the other two milestones */
.span-detail { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 0; box-shadow: inset 0 1px 0 oklch(1 0 0 / .08); }
.sd-col { display: grid; gap: 14px; align-content: start; padding: 28px 30px 30px; }
.sd-col + .sd-col { box-shadow: inset 1px 0 0 oklch(1 0 0 / .07); }
.sd-col h3 { margin: 0; font: 400 40px/1 var(--display); letter-spacing: -.016em; word-spacing: .07em; }
.terms2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 6px; }
.terms2 > div { display: grid; gap: 6px; } .terms2 b { font: 400 44px/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; } .terms2 small { font-size: 15px; color: var(--ink-2); line-height: 1.35; }
.sd-col .label { color: var(--ink-2); }
.sd-end .ends { margin: 0; font: 400 26px/1.15 var(--display); letter-spacing: -.01em; word-spacing: .06em; }
.sd-end .btn { justify-self: start; margin-top: 6px; }
.span-detail.swap .sd-col { animation: sdin 420ms var(--ease) both; } .span-detail.swap .sd-col:nth-child(2) { animation-delay: 50ms; } .span-detail.swap .sd-col:nth-child(3) { animation-delay: 100ms; }
@keyframes sdin { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 1100px) {
  .span-head { grid-template-columns: 1fr; gap: 16px; }
  .span-detail { grid-template-columns: 1fr 1fr; } .sd-price { grid-column: 1 / -1; } .sd-col:nth-child(2) { box-shadow: inset 0 1px 0 oklch(1 0 0 / .07); } .sd-col:nth-child(3) { box-shadow: inset 1px 0 0 oklch(1 0 0 / .07), inset 0 1px 0 oklch(1 0 0 / .07); }
}
/* under 900 px the chips stack under the chart, full width */
@media (max-width: 900px) {
  .instrument { display: grid; grid-template-columns: minmax(0, 1fr); padding: 0 0 8px; }
  .chart { order: -1; min-width: 0; } .apexes { min-width: 0; }
  .apexes { display: grid; gap: 8px; padding: 6px 14px 10px; }
  .apex { grid-template-columns: 1fr auto; justify-items: start; text-align: left; padding: 12px 14px; }
  .apex .k { grid-column: 1 / -1; } .apex .pz { display: block; grid-row: 2; grid-column: 2; align-self: center; } .apex .usual-t { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .tlabels, .mslabels { display: none; } .chart { margin-bottom: 0; }
  .span-detail { grid-template-columns: 1fr; } .sd-col + .sd-col { box-shadow: inset 0 1px 0 oklch(1 0 0 / .07); } .sd-col { padding: 22px 18px; }
  .terms2 b { font-size: 36px; } .sd-col h3 { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) { .span-detail.swap .sd-col { animation: none; } }

/* ---------- review round 4 ---------- */
/* Doors and News: the heading sits on the dimmed cell itself, no panel, so the second half stops repeating one template */
.plate-head.bare { background: none; box-shadow: none; padding: 0 0 6px; }
.plate-head.bare .h2, .plate-head.bare .lead, .plate-head.bare .label { text-shadow: 0 0 24px oklch(0.1 0.014 245), 0 0 8px oklch(0.1 0.014 245 / .9); }
.plate-head.bare .lead { color: var(--ink); }
/* light display weight only at large sizes; mid-size titles step up to a sturdier weight */
.person b, .door h3 { font-weight: 500; } /* titles everywhere else use the display face at its regular weight */
.news .post:first-child h3 { font-weight: 400; } /* T19: one story-title weight */
/* doors: same height, same image treatment */
.door { align-self: stretch; } .door .dplate i { background-size: contain; inset: 4%; }
/* the close button sits exactly where Menu was */
#menuClose { position: fixed; right: var(--gutter); top: calc((var(--nav-h) - 48px) / 2); z-index: 31; }
@media (max-width: 860px) {
  .menu .l { background: var(--void); position: relative; isolation: isolate; }
  .menu .l::before { content: ""; position: absolute; z-index: -1; right: -40px; bottom: 120px; width: 300px; height: 300px; background: url(../assets/img/spec-complex.webp) center/contain no-repeat; opacity: .45;
    -webkit-mask: radial-gradient(closest-side, #000 45%, transparent); mask: radial-gradient(closest-side, #000 45%, transparent); }
}


/* ---------- review round 5 ---------- */
/* the concept label lives in the header: always on screen, never over content */
.hud.concept, .concept-chip { display: none !important; }
.bar-concept { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; margin-left: 18px; padding: 6px 10px; border-radius: 4px; background: oklch(0.2 0.03 78 / .5); box-shadow: inset 0 0 0 1px oklch(0.84 0.15 78 / .35); font: 500 12.5px/1 var(--text); color: var(--ink); white-space: nowrap; }
.bar-concept .short { display: none; }
@media (max-width: 1280px) { .bar-concept .long { display: none; } .bar-concept .short { display: inline; } }
@media (max-width: 640px) { .bar-concept { margin-left: 10px; padding: 6px 8px; } }
/* menu: the right half is a window onto the live cell, with the hovered specimen named */
.menu .r { background: transparent !important; box-shadow: inset 1px 0 0 oklch(0.95 0.012 95 / .1); }
.menu .r::after { background: radial-gradient(70% 60% at 50% 50%, transparent 30%, oklch(0.1 0.014 245 / .6)), linear-gradient(90deg, var(--void), transparent 18%); }
.menu .r .spec { position: absolute; inset: 12% 14% 18%; z-index: 1; background: url(../assets/img/spec-complex.webp) center/contain no-repeat; transition: background-image 300ms;
  -webkit-mask: radial-gradient(closest-side, #000 55%, transparent); mask: radial-gradient(closest-side, #000 55%, transparent); }
.menu .r .cap { position: absolute; z-index: 2; left: 50%; bottom: 9%; transform: translateX(-50%); padding: 8px 12px; border-radius: 3px; background: oklch(0.12 0.016 245 / .9); box-shadow: inset 0 0 0 1px oklch(0.95 0.012 95 / .16); font: 500 12px/1 var(--data); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.menu .r::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: repeating-conic-gradient(from 0deg at 50% 46%, oklch(0.95 0.012 95 / .3) 0 .4deg, transparent .4deg 6deg);
  -webkit-mask: radial-gradient(circle at 50% 46%, transparent 0 calc(min(26vw, 36vh) - 2px), #000 calc(min(26vw, 36vh) - 1px) min(26vw, 36vh), transparent min(26vw, 36vh)); mask: radial-gradient(circle at 50% 46%, transparent 0 calc(min(26vw, 36vh) - 2px), #000 calc(min(26vw, 36vh) - 1px) min(26vw, 36vh), transparent min(26vw, 36vh)); }
html.menu-open #stage { visibility: visible; }
/* people stand along an arch, the bridge again, not the doors' step */
@media (min-width: 1101px) {
  .people .person:nth-child(even) { margin-top: 0; }
  .people .person:nth-child(1), .people .person:nth-child(4) { margin-top: 56px; }
}


/* ---------- review round 6 ---------- */
/* the pause control is an iris: open while the cell moves, closed when paused */
.motion-btn svg { width: 20px; height: 20px; } .motion-btn .ir-o { fill: none; stroke: currentColor; stroke-width: 1.3; } .motion-btn .ir-b path { stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; }
.motion-btn .ir-c { fill: var(--bridge); transition: r 300ms var(--ease); } .motion-btn .ir-b { transform-origin: 10px 10px; transition: transform 400ms var(--ease); }
.motion-btn[aria-pressed="true"] .ir-c { r: 6.5; fill: var(--ink-2); } .motion-btn[aria-pressed="true"] .ir-b { transform: rotate(40deg); }
.motion-btn::before { content: none; }
/* phones: the header never runs past the edge */
@media (max-width: 480px) { .bar { gap: 8px; padding-right: 16px; padding-left: 16px; } .bar-concept { margin-left: 8px; padding: 6px; } .bar-concept .short { display: none; } .bar .right { gap: 8px; } }
/* story: two chapters leave the glass card behind */
.spec-card.open-card { background: none; box-shadow: none; overflow: visible; }
.spec-card.open-card::before { display: none; } .spec-card.open-card .strip { background: none; box-shadow: inset 0 -1px 0 color-mix(in oklch, var(--c) 50%, transparent); padding-left: 0; }
.spec-card.open-card .inner { padding-left: 0; } .spec-card.open-card :is(h2, p) { text-shadow: 0 0 22px oklch(0.1 0.014 245), 0 0 6px oklch(0.1 0.014 245 / .95); }
.spec-card.open-card .body { color: var(--ink); }
/* a dark mist, not a panel: it keeps the words readable over the bright chain */
.spec-card.open-card { isolation: isolate; }
.spec-card.open-card::after { content: ""; position: absolute; z-index: -1; inset: -90px -120px -90px -140px; pointer-events: none;
  background: radial-gradient(closest-side, oklch(0.1 0.014 245 / .9) 55%, oklch(0.1 0.014 245 / .6) 75%, transparent); filter: blur(6px); }
@media (max-width: 760px) {
  .spec-card.open-card { background: var(--card); box-shadow: inset 0 0 0 1px var(--card-rim); overflow: hidden; }
  .spec-card.open-card::before { display: block; } .spec-card.open-card::after { display: none; }
  .spec-card.open-card .strip, .spec-card.open-card .inner { padding-left: 30px; } .spec-card.open-card .strip { background: oklch(0.95 0.012 95 / .055); }
}
@media (min-width: 1101px) {
  .spec-card.wide-card { width: min(880px, 100%); align-self: end; margin-top: 46vh; }
  .spec-card.wide-card .inner { grid-template-columns: 1fr 1fr; column-gap: 40px; align-items: start; }
  .spec-card.wide-card .inner > h2 { grid-row: 1 / span 3; }
}
/* platform: taller, clearer emission curves */
.spt [role="tab"] svg { height: 60px; } .spt svg .cv { vector-effect: non-scaling-stroke; stroke-width: 2; opacity: .4; } .spt svg .ax { vector-effect: non-scaling-stroke; }
.spt [role="tab"][aria-selected="true"] .fl { opacity: .45; }
/* doors: one frame, no tiling, titles level */
.door .dplate i { background-repeat: no-repeat; }
@media (min-width: 1101px) { .doors .door:nth-child(even) { margin-top: 0; } }
/* news: side stories carry their picture at full height */
@media (min-width: 1101px) { .news .post:not(:first-child) { grid-template-columns: 46% 1fr; } .news .post:not(:first-child) .ph { min-height: 100%; } }
/* jobs: a gel band in the field's colour */
@media (min-width: 1101px) { .roles a { grid-template-columns: 26px minmax(0, 1.4fr) minmax(0, 1fr) 150px; } }
.roles .jband { width: 22px; height: 10px; border-radius: 50% / 70%; background: radial-gradient(60% 120% at 50% 40%, color-mix(in oklch, var(--c) 80%, white), var(--c) 55%, color-mix(in oklch, var(--c) 30%, transparent)); box-shadow: 0 0 12px -2px var(--c); }
.roles a::before { background: var(--c, var(--bridge)); }
/* eyepiece scale bar replaces the text ring */
.ep svg .sbar { stroke: var(--c, var(--bridge)); stroke-width: 1.4; }
.legal { font-size: 15px; }


/* ---------- review round 7 ---------- */
/* tracking follows size: tight only for big display type, word spaces always open */
.step h2, .post h3, .mini h2, .mini h3, .door h3, .result h2, .gate h2, .sd-col h3, .sd-end .ends, .apex b, .person b, .ph1 { letter-spacing: -.006em; word-spacing: .1em; }
.news .post:first-child h3 { letter-spacing: -.01em; }
/* doors: proteins float in their own light, no dark tile, nothing cropped */
.door .dplate { background: radial-gradient(70% 60% at 50% 45%, color-mix(in oklch, var(--c) 16%, transparent), transparent 75%); }
.door .dplate i { inset: 9% 9% 14%; mix-blend-mode: screen; }
/* the menu's specimen drops its dark square */
.menu .r .spec { mix-blend-mode: screen; }
/* where you are: the healthcare professionals button marks its own pages */
.cta-hcp[aria-current="page"] { box-shadow: inset 0 0 0 1.5px var(--crew), 0 0 22px -8px var(--crew); }
/* phones keep the word "Concept" in the header */
@media (max-width: 480px) { .bar-concept .short { display: inline; } .bar-concept .band { display: none; } }

/* ---------- phone pipeline: one horizontal lane per programme, stages along the top ---------- */
@media (max-width: 640px) {
  .gel { grid-template-columns: 1fr; grid-template-rows: none; min-height: 0; }
  .gel .ladder { display: block; height: 58px; box-shadow: inset 0 -1px 0 oklch(1 0 0 / .08); }
  .gel .ladder span { top: 10px; left: var(--y); right: auto; padding: 0; transform: translateX(-50%); font-size: 12px; letter-spacing: .06em; justify-items: center; gap: 6px; white-space: nowrap; }
  .gel .ladder span:nth-child(even) { top: 32px; }
  .gel .ladder span::before { display: none; }
  .gel .ladder span::after { content: ""; position: absolute; left: 50%; top: -10px; width: 1px; height: 6px; background: oklch(0.95 0.012 95 / .5); }
  .lanes { grid-template-columns: 1fr; min-height: 0; }
  .lanes::before { display: none; }
  .lane { height: 78px; box-shadow: inset 0 -1px 0 oklch(1 0 0 / .06); }
  .lane .code { top: 12px; left: 14px; right: auto; text-align: left; font-size: 13px; letter-spacing: .04em; }
  .lane .area { top: 12px; left: 104px; right: auto; text-align: left; font-size: 13.5px; }
  .lane .well { top: 46px; left: 14px; right: auto; width: 14px; height: 18px; }
  .lane .smear { top: 50px; left: 30px; right: auto; height: 10px; width: calc(var(--y) - 30px); border-radius: 0 40% 40% 0; background: linear-gradient(90deg, oklch(from var(--c) l c h / .02), oklch(from var(--c) l c h / .14) 70%, oklch(from var(--c) l c h / .3)); }
  .lane .bnd { top: 55px; left: var(--y); right: auto; width: 24px; height: 20px; margin: -10px 0 0 -12px; transform: none; border-radius: 40% / 50%; }
  .lane::after { top: 55px; left: 88%; right: auto; width: 24px; height: 20px; margin: -10px 0 0 -12px; }
  .lane:focus-visible { outline-offset: -3px; }
}

/* pricing: says plainly that the bridges are choices and where their terms appear */
.span-hint { margin: 0; padding: 24px 26px 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.nw { white-space: nowrap; } /* keeps terms like cryo-EM on one line */

/* ---------- punch list 39-40: pictures feather at their edges, cards keep a whole border, the pager shows each story ---------- */
/* the source renders cut the complex off at the frame, so every protein picture fades out before its edge */
.door .dplate i { -webkit-mask: radial-gradient(closest-side, #000 62%, transparent 98%); mask: radial-gradient(closest-side, #000 62%, transparent 98%); }
.post .ph i { background-size: contain; background-position: center; -webkit-mask: radial-gradient(closest-side, #000 50%, transparent 96%); mask: radial-gradient(closest-side, #000 50%, transparent 96%); }
.post { position: relative; }
.post::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--card-rim); pointer-events: none; }
.pager { align-items: center; }
.pager .s i { width: 44px; height: 44px; border-radius: 50%; background: oklch(0.1 0.014 245) center/150% no-repeat; box-shadow: inset 0 0 0 1px oklch(0.95 0.012 95 / .3), 0 0 0 3px oklch(0.13 0.016 245); }
.pager .s[aria-current="page"] i { background-color: oklch(0.1 0.014 245); box-shadow: inset 0 0 0 1px oklch(0.95 0.012 95 / .5), 0 0 0 3px oklch(0.13 0.016 245), 0 0 0 5px var(--bridge); }

/* ---------- punch list 41-58 (shared) ---------- */
/* 41: a chapter tag that does not fit beside its label drops to its own line, never splits */
.spec-card .strip { flex-wrap: wrap; row-gap: 6px; }
/* 42: on phones the cycle and the table button stack; buttons never break their label */
@media (max-width: 640px) {
  .cycle { grid-template-columns: 1fr; gap: 14px; } .cycle .btn, #tableBtn { white-space: nowrap; justify-self: start; width: auto; }
  .odo .t { max-width: none; }
  .gel-foot { flex-direction: column; align-items: start; gap: 12px; }
}
/* 44: the footer emblem caption sits under the ring, readable */
.foot-ep { margin-bottom: 34px; }
.foot-cap { position: absolute; left: 0; right: 0; top: calc(100% + 8px); text-align: center; font: 500 12px/1 var(--data); letter-spacing: .1em; color: var(--ink-2); white-space: nowrap; }
/* 45: on tablets the side-effect box spans the footer above the two link columns */
@media (min-width: 641px) and (max-width: 1100px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid .safety { grid-column: 1 / -1; } }
/* 51: tablet news: one featured story, then two side by side; titles line up */
@media (min-width: 641px) and (max-width: 1100px) { .news .post:first-child { grid-column: 1 / -1; } .post .tx { align-content: start; } }
/* 52: room between the platform headline and its tabs */
.spec-card .spt { margin-top: 13px; }
/* 53: "Every bridge includes": the label on its own row, then three across (one column on phones) */
@media (max-width: 1100px) { .plans-all { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); } .plans-all .label { grid-column: 1 / -1; } }
@media (max-width: 640px) { .plans-all { grid-template-columns: 1fr; } }
/* 57: no single word left alone on a last line */
p, li, dd, .small, .credit, .lead, .body, .ans { text-wrap: pretty; }
/* 58: the scale bar's pill keeps one width in every chapter */
.hud.scale { width: 132px; box-sizing: border-box; }
.foot-cap::before { content: ""; display: inline-block; width: 22px; height: 2px; margin-right: 8px; vertical-align: middle; background: var(--bridge); } /* the scale bar, beside its caption */
/* the side-effect box's Yellow Card link reads as a link in the sentence, not a 40 px footer row */
.foot-grid .safety a { display: inline; min-height: 0; text-decoration: underline; text-underline-offset: 3px; }
/* 43: job rows: status top-aligned on every row; on phones it sits under the title */
@media (max-width: 1100px) { .roles a { align-items: start; } .roles a .label { align-self: start; } }
@media (max-width: 640px) { .roles a { grid-template-columns: 26px 1fr; } .roles a .label { grid-column: 2; grid-row: 2; justify-self: start; } .roles a span:not(.label) { grid-row: 3; } }
.roles a b .nw { color: inherit; font-size: inherit; } /* cryo-EM is part of the job title */
/* the fade follows the square picture, not the wide box around it */
.post .ph i { inset: auto; top: 50%; left: 50%; height: min(92%, 276px); width: auto; aspect-ratio: 1; translate: -50% -50%; }

/* ---------- punch list round 2 ---------- */
/* R9, R40: the scale chip never wraps; the bar has a fixed slot and the label a fixed place */
.hud.scale { width: auto; display: grid; grid-template-columns: var(--slot, 96px) max-content; gap: 12px; white-space: nowrap; }
.hud.scale .bar-s { justify-self: start; max-width: var(--slot, 96px); } /* --slot widens for the whole-proteasome bar (app.js) */ #stext { min-width: 5ch; font-variant-numeric: tabular-nums; }
/* R18: the footer disclaimer fills the width in two columns on wide screens */
@media (min-width: 1101px) { .legal { max-width: none; columns: 2; column-gap: 56px; } }
/* R19: the emblem caption ends at the ring's right edge, inside the content */
.foot-cap { left: auto; right: 0; text-align: right; }
/* R21: one line for the cycle caption */
.odo .t { max-width: none; white-space: nowrap; }
@media (max-width: 640px) { .odo .t { font-size: 13.5px; } }
/* R22: the investors link underline is as wide as its words, and straight */
.readout .link-arc { justify-self: start; } .readout .link-arc svg { display: none; }
.readout .link-arc { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
/* R24: the readout sits at the top of a shorter gel */
.readout { align-content: start; }
/* R25: plan boxes in three columns across the full width on wide screens; the hint centred in its band */
@media (min-width: 901px) { .apexes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); } .apex { width: 100%; } }
@media (min-width: 1101px) { .chart { margin-bottom: 8px; } }
.span-hint { padding: 18px 26px 18px; }
/* R28: both study cards line up: titles at the top, buttons at the bottom */
.gslide .txt { display: flex; flex-direction: column; align-items: flex-start; }
.gslide .txt .btn { margin-top: auto; }
/* R17: a chip never breaks its words; four facts sit two by two so none is left alone on a row */
.gslide .facts li { white-space: nowrap; }
@media (min-width: 641px) { .gslide .facts:has(li:nth-child(4)) { display: grid; grid-template-columns: repeat(2, max-content); } }
@media (max-width: 640px) { .gslide .txt { min-width: 0; } .gslide .facts { flex-direction: column; align-items: flex-start; } .gslide .facts li { white-space: normal; } } /* phones: one fact per row, nothing left alone */
/* R29: home news titles use the same face as the news page titles */
.post h3 { font-weight: 400; }
/* R30: no stray dot above a nav link while its arc draws */
.links a svg path { opacity: 0; transition: stroke-dashoffset 450ms var(--ease), opacity 150ms; }
.links a[aria-current] svg path, .links a:hover svg path, .links a:focus-visible svg path { opacity: 1; }
/* R30: the label pin shows its colour, never a dark dot on the protein */
.anno .pin { background: var(--c); }
/* R31: open roles get a heading like every other block */
.roles-head { margin: 120px 0 24px; } /* S8: the standard section gap and heading */
/* R32: one neutral dot (the colour no longer competes with the status), centred on the title */
/* S7: a small round dot in the status colour (open green, closing soon amber), level with the title */
.roles .jband { width: 10px; height: 10px; border-radius: 50%; justify-self: center; background: var(--s, var(--bridge)); box-shadow: 0 0 10px -1px var(--s, var(--bridge)); align-self: center; }
@media (max-width: 640px) { .roles a { padding: 14px 18px; row-gap: 2px; } .roles a .jband { align-self: start; margin-top: .45em; } }
/* R33: chapter labels and their PDB code stay on one line; phones drop the light name */
.spec-card .strip { flex-wrap: nowrap; } .spec-card .strip .label { min-width: 0; }
@media (max-width: 640px) { .spec-card .strip .lt { display: none; } }
/* R36: the stories pill sits left, with the blocks around it */
.pager { margin-inline: 0; } .pager .pg-of { text-align: left; }
/* R39: the pipeline card carries the same coloured edge and text inset as the chapter cards */
#pipeline .plate-head { position: relative; padding-left: 34px; }
#pipeline .plate-head::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--bridge); box-shadow: 0 0 18px 1px var(--bridge); border-radius: var(--r-card) 0 0 0; }
#pipeline .gel { border-left: 3px solid var(--bridge); }
/* R42: two portraits a row on phones */
@media (max-width: 640px) { .people { grid-template-columns: 1fr 1fr; gap: 10px; } .person .ep { --s: 104px; } .people .person:nth-child(even) { margin-top: 0; } }
@media (max-width: 640px) { .person .role { letter-spacing: .06em; } .person b { font-size: 20px; } } /* R42: two-up portraits keep their titles to two lines */

/* ---------- punch list round 3 ---------- */
/* S7: on phones the dot sits on the title line */
@media (max-width: 640px) { .roles a .jband { align-self: start; margin-top: .5em; } }
/* S11: the photo note matches its mono uppercase label */
.gslide .cover .illus { text-transform: uppercase; }
/* S14: "Fictional person" sits on each card's bottom line */
.person .fic { margin-top: auto; padding-top: 6px; }
/* S20: plan boxes start on one line */
.apexes { align-items: start; }
/* S22, S28: one story-title style on home and news: regular weight, slight tightening, normal word spaces */
.post h3, .story h2 { font-weight: 400; letter-spacing: -.01em; word-spacing: .04em; }
/* S26: leadership on narrow phones: one card a row, portrait left, words right */
@media (max-width: 560px) {
  .people { grid-template-columns: 1fr; gap: 12px; }
  .person { grid-template-columns: 96px 1fr; column-gap: 18px; align-items: start; }
  .person .ep { --s: 96px; grid-row: 1 / span 5; margin: 0; }
  .person > :not(.ep) { grid-column: 2; }
  .person .fic { margin-top: 2px; }
}
/* S29: the phone axis keeps its three stages on one row, short names where needed */
@media (max-width: 640px) {
  .gel .ladder span:nth-child(even) { top: 10px; }
  .gel .ladder span[data-abbr] { font-size: 0; letter-spacing: 0; }
  .gel .ladder span[data-abbr]::before { display: block; content: attr(data-abbr); height: auto; width: auto; background: none; box-shadow: none; border-radius: 0; font: 500 11px/1 var(--data); letter-spacing: 0; color: var(--ink-2); } /* U21: full words, tracking eased instead of cutting "Preclinical" */
}
/* S30: the pipeline card gets the chapter header strip, inset like the story cards */
.plate-strip { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 26px 14px 34px; border-radius: var(--r-card) var(--r-card) 0 0;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--card-rim); position: relative; }
.plate-strip::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: oklch(0.95 0.012 95 / .055); box-shadow: inset 0 -1px 0 oklch(0.95 0.012 95 / .1); pointer-events: none; }
.plate-strip .label { color: var(--bridge); } .plate-strip .ref { font: 500 12px/1 var(--data); letter-spacing: .08em; color: var(--ink-2); text-transform: uppercase; }
.plate-strip { border-left: 3px solid var(--bridge); }
#pipeline .plate-head { border-radius: 0; }
#pipeline .plate-head::before { border-radius: 0; }
/* S31: the stories pill uses the card inset; on home "All stories" sits under its label */
.pager { padding: 18px 34px; }
.news + .pager { flex-direction: column; align-items: flex-start; gap: 10px; }
.news + .pager .w { padding: 0; }
/* S35: the FAQ heading belongs to the FAQ group, not a card of its own */
.faq { grid-template-columns: 1fr; gap: 18px; }
.faq .qhead { padding: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.faq .qhead .h3, .faq .qhead .label { text-shadow: 0 0 24px oklch(0.1 0.014 245), 0 0 8px oklch(0.1 0.014 245 / .9); }
/* S38: on phones the emblem caption starts at the gutter, under the ring */
@media (max-width: 640px) { .foot-cap { left: 0; right: auto; text-align: left; } }
.plate-strip .ref { white-space: nowrap; } .plate-strip .label { min-width: 0; }
@media (max-width: 640px) { .plate-strip { padding-left: 26px; } .plate-strip .lt { display: none; } }
/* S14: on tablets each pair of leadership cards shares a height, so "Fictional person" lines up */
@media (min-width: 561px) and (max-width: 1100px) { .people { align-items: stretch; } }
.plate-strip .label { white-space: nowrap; } @media (max-width: 360px) { .plate-strip .label, .plate-strip .ref { letter-spacing: .07em; } .plate-strip { padding-right: 18px; } }
/* S9/S31: one card inset token for every page (inner pages read the same value) */
:root { --pad-card: 34px; } @media (max-width: 640px) { :root { --pad-card: 22px; } }
.pager { padding: 18px var(--pad-card); }
.news + .pager { display: grid; justify-items: start; justify-content: start; } .news + .pager .pg-of { text-align: left; margin: 0; flex-basis: auto; }
/* S10: at the standard card width the spectrum tab labels keep to one line */
.spt [role="tab"] .nm { white-space: nowrap; letter-spacing: .06em; }

/* ---------- punch list round 4 ---------- */
/* T2, T11: both study cards set their facts the same way: two equal columns from 641 px */
@media (min-width: 641px) { .gslide .facts, .gslide .facts:has(li:nth-child(4)) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } .gslide .facts li { white-space: normal; } }
/* T5: the "Every bridge includes" items spread evenly across the strip */
@media (min-width: 1101px) { .plans-all { justify-content: space-between; } }
/* T13: the door pictures keep clear of their two-line titles */
.door .dplate i { inset: 6% 14% 34%; }
/* T14: the arcs start closer under the plan boxes */
@media (min-width: 901px) { .chart { margin-top: -70px; } .apexes { position: relative; z-index: 2; } }
/* T20: on phones the pipeline header, lane codes and readout share one text edge (26 px inside the card) */
@media (max-width: 640px) {
  .plate-strip { padding-left: 23px; } #pipeline .plate-head { padding-left: 26px; padding-right: 22px; }
  .lane .code { left: 23px; } .lane .area { left: 113px; } .lane .well { left: 23px; } .lane .smear { left: 39px; width: calc(var(--y) - 39px); }
  .readout { padding-left: 23px; }
}
/* T21: the sample-data note sits inside the card, as its bottom strip */
.gel { border-radius: 0; }
.gel-foot { margin-top: 0; padding: 14px 26px 14px 34px; border-radius: 0 0 var(--r-card) var(--r-card); background: var(--card); box-shadow: inset 0 0 0 1px var(--card-rim); border-left: 3px solid var(--bridge); }
@media (max-width: 640px) { .gel-foot { padding: 14px 22px 16px 23px; } }
/* T28: no single word left alone in any lead or body copy */
.lead, .body, .plate-head .lead { text-wrap: pretty; }
/* T2: on desktop the study-card text column is narrow, so every chip takes the full width (still equal widths, both cards) */
@media (min-width: 1101px) { .gslide .facts, .gslide .facts:has(li:nth-child(4)) { grid-template-columns: 1fr; } }

/* ---------- punch list round 5 ---------- */
/* U3/U13: the footer bar is 5 nm at the picture's true scale. spec-complex.webp (1800 px, lookdev camera fov 32°,
   distance 1.95 x the 141 Å box diagonal) draws 11.42 px per Å; the ring's picture is 150% of a box 76% of --s wide,
   so it shows the 1800 px render at 1.14 --s: 50 Å = 571 px of 1800 = 0.3617 --s. Recompute if the still is re-rendered. */
.foot-cap::before { width: calc(var(--s) * .3617); }
/* U22: on phones the emblem and its caption are centred under the footer, not left with half the row empty */
@media (max-width: 640px) { .foot-top .foot-ep { justify-self: center; } .foot-top .foot-cap { left: 50%; right: auto; translate: -50% 0; text-align: center; } }
/* X6 (supersedes U10): both trial cards are the same height and their buttons sit on the same bottom line */
.gslide .txt .btn { margin-top: auto; }
/* U26: one chip width on both trial cards (fits "Manchester, Glasgow (sample)" on one line); the picture caption on one line */
@media (min-width: 641px) { .gslide .facts, .gslide .facts:has(li:nth-child(4)) { display: grid; grid-template-columns: 240px; } .gslide .facts li { white-space: nowrap; } }
.gslide .cover .illus { white-space: nowrap; letter-spacing: .01em; }
/* U16: on phones the platform card starts clear of the fixed scale chip above it */
@media (max-width: 760px) { #platform .spec-card { margin-top: 24px; } }
/* U30: the programme headline keeps open word gaps (the display face's tight tracking squeezed "First people dosed, 2026") */
.readout b { letter-spacing: 0; word-spacing: .06em; }

/* ---------- punch list round 6 ---------- */
/* V6: over the pale chapter the shade under the top bar is a light, short fade, not a dark band */
.bar-fade { transition: opacity 300ms var(--ease); }
body.bright .bar-fade { background: linear-gradient(oklch(0.13 0.016 245 / .16), transparent); height: 12px; }
/* V7: the small print is two paragraphs side by side on wide screens, so each column ends at a sentence */
.legal-g { margin-top: 28px; display: grid; gap: 12px; } .legal-g .legal { margin-top: 0; }
@media (min-width: 1101px) { .legal-g { grid-template-columns: 1.3fr 1fr 1fr; column-gap: 40px; } .legal-g .legal { columns: auto; max-width: 60ch; } .legal-g .legal + .legal { grid-column: 2 / -1; } } /* X7: the same columns as the footer links, so the credits start on a column edge */
/* V19: phones keep the months axis under the arcs (the word "months" moves under the numbers) */
@media (max-width: 760px) {
  .tlabels { display: block; } .tlabels span { font-size: 11px; letter-spacing: .02em; }
  .tlabels .unit { top: calc(var(--base) + 36px); right: 4.17%; } /* W18: ends at the axis end (x 1150 of 1200) */ .chart { margin-bottom: 30px; }
}
/* W17: one line under the spectra says what the colours mean */
.spt-key { margin: 10px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
/* W11: one rule for every heading-plus-intro block on home (wide screens): the intro column always starts at the same x
   (850 px at 1440, 510 px wide on the bare blocks, 476 inside the padded pipeline plate) and reads left-aligned */
@media (min-width: 1101px) {
  main .plate-head { display: grid; grid-template-columns: minmax(0, 1fr) 510px; column-gap: 40px; align-items: end; }
  main .plate-head:not(.bare) { grid-template-columns: minmax(0, 1fr) 476px; }
  main .plate-head > :last-child { justify-self: stretch; max-width: none; margin-left: 0; text-align: start; }
}
/* X6 (supersedes W15): the two trial cards share one height */
.slides { align-items: stretch; }

/* ---------- final sign-off ---------- */
/* X1: the floating scale pill is solid, like the top bar, so text never shows through it */
.hud.scale { background: oklch(0.13 0.016 245); }

/* ---------- sign-off round ---------- */
/* Y3: light headings under 48 px get a little more room between words (the display face's word space is narrow):
   about +0.06em at 26 px, fading to nothing at 48 px and up. Letter-spacing is unchanged (measured -0.006 to -0.016em). */
h1, h2, h3, .ph1, .h2, .h3 { word-spacing: max(0px, calc((48px - 1em) * .07)); }
/* Y4: on phones the pipeline header matches the shared card header: label 30 px in (27 px + the 3 px colour edge),
   and one standard 1 px divider under it (no extra ring) */
@media (max-width: 640px) { .plate-strip { padding-left: 27px; box-shadow: none; } .plate-strip::after { box-shadow: inset 0 -1px 0 oklch(0.95 0.012 95 / .08); } }
/* Y6: each well is tinted with its own lane colour. Mixing in oklch swung the hue through the dark blue (amber came out
   teal, red came out purple); oklab mixes without turning the hue */
.lane .well { background: color-mix(in oklab, var(--c) 34%, oklch(0.1 0.012 245)); }
/* Z4: both trial-card titles take the same two-line height, so the chip rows below them start on one line */
@media (min-width: 1101px) { .gslide .txt .h3 { min-height: 2.3em; } } /* only where the cards sit side by side */

/* ---------- closing round 2 ---------- */
/* Z14: on phones the release card sits low in its chapter, so the 3D above it has a tall clear band for the let-go */
@media (max-width: 760px) { #again .wrap { padding-top: 42vh; } }
/* Z7: on phones the scale chip stays at the top and fades out while card text passes under it (app.js sets .under) */
.hud.scale.under { opacity: 0 !important; }
/* Z16: the phone pricing chart keeps its three milestone labels (smaller) under the months axis */
@media (max-width: 760px) {
  .mslabels { display: block; } .mslabels span { top: calc(var(--base) + 46px); font-size: 9.5px; letter-spacing: .02em; padding: 3px 5px; }
  .mslabels span:last-child { left: auto; right: 13.17%; transform: none; } /* ends at the 36+ arc end (x 1042 of 1200) */
  .chart { margin-bottom: 62px; }
}
@media (max-width: 760px) { .tlabels .unit { display: none; } .tlabels span:nth-last-child(2)::after { content: " mo"; } } /* Z16: "36+ mo" on phones, the unit beside the number */

/* ---------- full audit, 22 Oct ---------- */
@media (max-width: 640px) { .gslide .facts { flex-direction: row; flex-wrap: wrap; } .gslide .facts li { white-space: nowrap; } }
/* hero buttons on phones: two equal halves that span the text column */
@media (max-width: 640px) { #top .ctas { display: flex; gap: 10px; } #top .ctas .btn { flex: 1 1 0; justify-content: center; text-align: center; } }
/* one inset per card: the header label starts on the same line as the heading and body below it */
.spec-card .strip { padding-left: 34px; }
@media (max-width: 640px) { .spec-card .strip { padding-left: 26px; } }
.plate-strip { padding-left: 31px; } /* + the 3 px colour edge = 34, the heading's inset */
@media (max-width: 640px) { .plate-strip { padding-left: 23px; } }
@media (min-width: 641px) and (max-width: 1100px) { .gel .readout { padding-left: 31px; } }
/* pricing card: chips, hint and terms share one inset (30 px, 18 px on phones) */
.apexes { padding-left: 30px; padding-right: 30px; } .span-hint { padding-left: 30px; padding-right: 30px; }
@media (max-width: 900px) { .apexes { padding-left: 30px; padding-right: 30px; } }
@media (max-width: 640px) { .apexes { padding-left: 18px; padding-right: 18px; } .span-hint { padding-left: 18px; padding-right: 18px; } }
/* the three bridge chips are one height: the "most partners" tag hangs on the chosen chip's lower edge */
@media (min-width: 901px) { .apex { position: relative; } .apex .usual-t { position: absolute; left: 50%; bottom: 0; translate: -50% 50%; margin: 0; white-space: nowrap; } }
/* R2, R3: the tag keeps the plan's own hue at every width (oklab mixing does not swing lime to teal), and the chosen chip
   leaves room above the hanging tag */
.apex .usual-t { background: color-mix(in oklab, var(--c) 30%, oklch(0.14 0.016 245)); }
@media (min-width: 901px) { .apexes .apex { padding-bottom: 22px; align-self: stretch; } } /* all three chips one height, room above the tag */
/* home news, wide screens: the two side stories give their titles the room (150 px picture, text beside it) */
@media (min-width: 1101px) { .news .post:not(:first-child) { grid-template-columns: 150px minmax(0, 1fr); } .news .post:not(:first-child) h3 { text-wrap: pretty; } .news .post:not(:first-child) .tx { padding-left: 8px; } }
/* trial cards: the vertical AFARA mark is legible (decorative, hidden from screen readers) */
.frost .etch { color: var(--ink); opacity: .78; }
/* leadership bios use the full width of their text column */
.person p { max-width: none; text-wrap: pretty; }
/* pipeline stage axis (tablet and desktop): each stage name sits just above its own rule line, so it can only be read
   with the row it labels */
@media (min-width: 641px) { .ladder span { translate: 0 calc(-100% + 4px); } .ladder span::before { order: 2; } }
/* phone: the stage header row is centred top to bottom (the names sat at the top with an empty band below) */
@media (max-width: 640px) { .gel .ladder { height: 40px; } .gel .ladder span, .gel .ladder span:nth-child(even) { top: 50%; transform: translate(-50%, -50%); translate: none; } }
/* the low bridge card keeps a clear margin under it when its chapter is centred (it nearly touched the screen edge) */
@media (min-width: 1101px) { .spec-card.wide-card { margin-top: min(calc(46vh - 80px), calc(100vh - 560px)); } }
/* stacked pricing (tablet, phone): the colour glow sits behind the arcs and fades out inside the box, no hard edge */
@media (max-width: 900px) { .instrument { background: radial-gradient(70% 45% at 40% 22%, color-mix(in oklch, var(--c) 10%, transparent), transparent 100%); } }
/* tablet home news: the featured story's picture fills a taller band (it floated small in a wide, short one) */
@media (min-width: 641px) and (max-width: 1100px) { .news .post:first-child { grid-template-rows: 260px auto; } .news .post:first-child .ph i { background-size: 150%; } }
/* R4: FAQ numbers sit on the question's first line, like the form numbers */
.acc summary { align-items: first baseline; } .acc summary .pm { align-self: center; }

/* click-through audit, 22 Oct: the HUD chips are aria-hidden labels; when faded out they still caught clicks
   (FAQ, roles, news, footer links under the chip). They never take the pointer. */
.hud { pointer-events: none; }

/* David, 22 Oct (preview 3): with Pause on, the pricing terms stayed invisible. The pause rule froze every animation,
   and one-shot entrances that fill "both" froze on their first frame (opacity 0). Pause should stop loops, not hide
   content: one-shot entrances jump to their end state instead. Higher specificity beats the universal !important rule. */
html[data-motion="off"] .span-detail.swap .sd-col,
html[data-motion="off"] .btn-1:hover::before,
html[data-motion="off"] .sent.go .arch path,
html[data-motion="off"] .sent.go .arch circle { animation-duration: 1ms !important; animation-delay: 0s !important; animation-play-state: running !important; }
