/* AMB Edge Fund — site styles
   Direction: the product performs. A rose-grey paper ground, brown-black ink, one green for the action.
   The desk's own tools appear as dark working fragments ([data-ui]); photographs are greyscale, printed onto the paper. */

@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("../fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("../fonts/schibsted-grotesk-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Schibsted Grotesk"; font-style: italic; font-weight: 400 900; font-display: swap; src: url("../fonts/schibsted-grotesk-latin-wght-italic.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  /* Aurora Glass: a night ground, three lights, glass on top */
  --bg: #060913;
  --bg-solid: #0c1222;
  --surface: rgba(255, 255, 255, 0.055);
  --ink: #f2f5ff;
  --muted: #a6b0cb;
  --accent: #3ee8b0;
  --accent-2: #49b8ff;
  --accent-3: #8b6cff;
  --accent-strong: #7ff5cf;
  --accent-ink: #04121a;
  --aurora: linear-gradient(100deg, #3ee8b0 0%, #49b8ff 50%, #8b6cff 100%);
  --glass: rgba(255, 255, 255, 0.055);
  --glass-hi: rgba(255, 255, 255, 0.1);
  --glass-line: rgba(255, 255, 255, 0.13);
  --glass-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 40px 80px -40px rgba(0, 0, 0, 0.75);
  --radius: 20px;

  /* the desk's interface: glass panels lit by the same three lights */
  --ui-ground: #0c1222;
  --ui-card: rgba(255, 255, 255, 0.055);
  --ui-solid: #0f1628;
  --ui-raised: rgba(255, 255, 255, 0.09);
  --ui-rule: rgba(255, 255, 255, 0.09);
  --ui-control: rgba(255, 255, 255, 0.3);
  --ui-text: #f2f5ff;
  --ui-muted: #a9b3cf;
  --ui-faint: #7d88a8;
  --ui-accent: #3ee8b0;
  --ui-negative: #ff6f91;

  --font: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-code: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; /* taste-skill-ignore: used only by real code in pre */

  /* five steps: small, body, lead, head, display */
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(1.75rem, 1.2rem + 1.7vw, 2.75rem);
  --step-display: clamp(3rem, 8vw, 8.25rem);

  --margin: clamp(1rem, 2.2vw, 2rem);
  --gutter: clamp(0.75rem, 2vw, 1.8rem);
  --section: clamp(5.5rem, 12vw, 12.5rem);
  --anchor: calc((100% - 11 * var(--gutter)) / 12 * 3 + 3 * var(--gutter));  /* the inner text line: column 4 */

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.45; letter-spacing: -0.01em; font-kerning: normal; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
table { border-collapse: collapse; }
:target { scroll-margin-top: 5rem; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[data-ui] :focus-visible, .field--dark :focus-visible { outline-color: var(--ui-accent); }
[hidden] { display: none !important; }

/* ---------- type ---------- */
h1, h2, h3 { font-weight: 800; text-wrap: balance; hyphens: none; }
.head { font-size: var(--step-head); line-height: 1; letter-spacing: -0.04em; }
.display { font-size: var(--step-display); line-height: 0.88; letter-spacing: -0.05em; font-weight: 800; }
.lead { font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.02em; max-width: 34ch; text-wrap: pretty; }
.small { font-size: var(--step-small); line-height: 1.45; letter-spacing: 0; }
.muted { color: var(--muted); }
.strong { font-weight: 600; }
p { max-width: 62ch; text-wrap: pretty; }
p + p { margin-top: 0.9em; }
.nums { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.link { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-color: currentColor; } }

/* ---------- frame ---------- */
.wrap { padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.sec { margin-top: var(--section); }
.axis { grid-column: 4 / span 6; }
.axis-wide { grid-column: 4 / -1; }

/* ---------- top: wordmark, links, one action ---------- */
.top { position: absolute; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.15rem var(--margin); font-size: var(--step-small); font-weight: 600; letter-spacing: 0; }
.top--flow { position: relative; }
.mark { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-weight: 800; font-size: var(--step-body); letter-spacing: -0.04em; white-space: nowrap; }
.mark svg { width: 26px; height: 26px; flex: none; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav a { position: relative; text-decoration: none; padding-block: 0.35rem; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 320ms var(--ease-out); }
.nav a[aria-current="page"]::after { transform: scaleX(1); background: var(--accent); }
@media (hover: hover) and (pointer: fine) { .nav a:hover::after { transform: scaleX(1); } }
.menu-btn { display: none; font-weight: 600; min-height: 44px; padding-inline: 0.25rem; }
.sheet { position: fixed; inset: 0; z-index: 60; background: var(--ink); color: var(--bg); display: flex; flex-direction: column; justify-content: space-between; padding: 1.15rem var(--margin) calc(var(--margin) + 1rem); transform: translateY(-101%); visibility: hidden; transition: transform 420ms var(--ease-in-out), visibility 0s 420ms; }
.sheet.is-open { transform: none; visibility: visible; transition: transform 420ms var(--ease-in-out); }
.sheet__head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: var(--step-small); }
.sheet__links { display: grid; gap: 0.15rem; }
.sheet__links a { font-size: clamp(2.2rem, 11vw, 3.4rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1.08; text-decoration: none; }
.sheet__foot { font-size: var(--step-small); color: color-mix(in srgb, var(--bg) 72%, transparent); max-width: 34ch; }
@media (max-width: 859px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
}

/* ---------- controls ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.1rem; padding: 0 1.5rem; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: var(--step-body); letter-spacing: -0.015em; text-decoration: none; white-space: nowrap; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.button:active { transform: scale(0.97); }
.button--paper { background: var(--bg); color: var(--ink); }
.button--ink { background: var(--ink); color: var(--bg); }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--accent-strong); }
  .button--paper:hover { background: #fff; }
  .button--ink:hover { background: #000; }
}
.textlink { font-weight: 600; text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 2px; text-decoration-color: var(--accent); transition: text-decoration-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .textlink:hover { text-decoration-color: currentColor; } }

/* ---------- pictures: greyscale, printed on the paper ---------- */
.pic { position: relative; margin: 0; overflow: clip; background: var(--bg); }
.pic img, .pic video { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.pic--surface { background: var(--surface); }
.cap { margin-top: 0.7rem; font-size: var(--step-small); line-height: 1.4; color: var(--muted); letter-spacing: 0; max-width: 44ch; }

/* =====================================================================
   The desk's interface fragments. Inside [data-ui] the product's own
   conventions apply: 13px text, 1px rules, 6px cards, pill controls.
   ===================================================================== */
[data-ui] { font-size: 13px; line-height: 1.45; letter-spacing: 0; color: var(--ui-text); text-align: left; }
[data-ui] .t { font-variant-numeric: tabular-nums; }
[data-ui].card, [data-ui] .card { background: var(--ui-card); border-radius: 6px; padding: 20px 22px; }
[data-ui] .card__title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
[data-ui] .card__meta { font-size: 12px; font-weight: 400; color: var(--ui-muted); white-space: nowrap; }
[data-ui] .kv { width: 100%; margin-top: 10px; }
[data-ui] .kv th, [data-ui] .kv td { padding: 9px 0; border-top: 1px solid var(--ui-rule); vertical-align: baseline; font-weight: 400; }
[data-ui] .kv tr:first-child th, [data-ui] .kv tr:first-child td { border-top: 0; }
[data-ui] .kv th { color: var(--ui-muted); text-align: left; padding-right: 16px; white-space: nowrap; }
[data-ui] .kv td { text-align: right; }
[data-ui] .tbl { width: 100%; margin-top: 8px; }
[data-ui] .tbl th, [data-ui] .tbl td { padding: 10px 0 10px 14px; border-top: 1px solid var(--ui-rule); text-align: right; font-weight: 400; vertical-align: baseline; }
[data-ui] .tbl thead th { border-top: 0; font-size: 12px; color: var(--ui-muted); padding-top: 4px; }
[data-ui] .tbl th:first-child, [data-ui] .tbl td:first-child { text-align: left; padding-left: 0; }
[data-ui] .tbl tbody th { color: var(--ui-muted); }
[data-ui] .tbl .key { color: var(--ui-text); font-weight: 600; }
[data-ui] .note { margin-top: 12px; font-size: 12px; color: var(--ui-faint); max-width: none; }
[data-ui] .dim { color: var(--ui-muted); }
[data-ui] .faint { color: var(--ui-faint); }
[data-ui] .pill { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; flex: none; background: var(--ui-raised); color: var(--ui-muted); }
[data-ui] .pill--no { background: #2c1a20; color: var(--ui-negative); }
[data-ui] .pill--yes { background: #1b2a22; color: var(--ui-accent); }
[data-ui] .sel { position: relative; }
[data-ui] .sel::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--ui-accent); transform: scaleX(0); transform-origin: left; transition: transform 260ms var(--ease-out); }
[data-ui] .is-sel .sel::after, [data-ui] .sel.is-sel::after { transform: scaleX(1); }
[data-ui] .ok { color: var(--ui-accent); }
[data-ui] .bad { color: var(--ui-negative); }

/* session board */
[data-ui].board { width: min(100%, 468px); background: var(--ui-card); border-radius: 6px; padding: 20px 22px 16px; }
[data-ui] .board__dial { position: relative; width: min(100%, 300px); aspect-ratio: 1; margin: 14px auto 10px; touch-action: none; cursor: grab; border-radius: 50%; }
[data-ui] .board__dial:active { cursor: grabbing; }
[data-ui] .board__dial svg { width: 100%; height: 100%; overflow: visible; }
[data-ui] .dial-tick { stroke: var(--ui-control); stroke-width: 1; }
[data-ui] .dial-tick--q { stroke: var(--ui-faint); }
[data-ui] .dial-num { fill: var(--ui-faint); font-size: 11px; text-anchor: middle; dominant-baseline: central; }
[data-ui] .dial-arc { fill: none; stroke: var(--ui-faint); stroke-width: 7; transition: stroke 300ms ease; }
[data-ui] .dial-arc.is-live { stroke: var(--ui-text); }
[data-ui] .dial-bell { stroke: var(--ui-accent); stroke-width: 1; }
[data-ui] .dial-hand { stroke: var(--ui-text); stroke-width: 1.5; stroke-linecap: round; }
[data-ui] .dial-hub { fill: var(--ui-text); }
[data-ui] .dial-handg { transform-origin: 160px 160px; transition: transform 500ms var(--ease-out); }
[data-ui] .is-drag .dial-handg { transition: none; }
[data-ui] .board__centre { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; padding: 0 29%; }
[data-ui] .board__state { font-size: 15px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
[data-ui] .board__sub { margin-top: 4px; font-size: 12px; line-height: 1.3; color: var(--ui-muted); text-wrap: balance; }
[data-ui] .board__rows { width: 100%; }
[data-ui] .board__rows th, [data-ui] .board__rows td { height: 40px; border-top: 1px solid var(--ui-rule); font-weight: 400; text-align: right; padding: 0 0 0 10px; white-space: nowrap; }
[data-ui] .board__rows thead th { height: 30px; border-top: 0; font-size: 12px; color: var(--ui-muted); }
[data-ui] .board__rows th:first-child { text-align: left; padding-left: 0; }
[data-ui] .board__rows tbody th button { font-weight: 600; min-height: 32px; }
[data-ui] .board__rows td.dim { color: var(--ui-muted); }
[data-ui] .board__foot { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--ui-rule); font-size: 12px; color: var(--ui-muted); max-width: none; }
[data-ui] .board__live { color: var(--ui-text); font-weight: 600; font-size: 12px; white-space: nowrap; min-height: 24px; }

/* slider */
[data-ui].ctl { width: min(100%, 400px); }
[data-ui] .ctl__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; }
[data-ui] .ctl__row output { font-weight: 600; font-size: 16px; }
[data-ui] .ctl__note { margin-top: 10px; font-size: 12px; color: var(--ui-muted); }
[data-ui] input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 4px 0 0; background: transparent; cursor: pointer; }
[data-ui] input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--ui-control); border-radius: 2px; }
[data-ui] input[type="range"]::-moz-range-track { height: 2px; background: var(--ui-control); border-radius: 2px; }
[data-ui] input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -12px; border-radius: 50%; background: var(--ui-text); border: 0; transition: transform var(--t-press) var(--ease-out); }
[data-ui] input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--ui-text); border: 0; }
[data-ui] input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }

/* small product fragments */
[data-ui] .squares { display: flex; gap: 4px; }
[data-ui] .squares i { width: 12px; height: 12px; border-radius: 2px; background: var(--ui-text); }
[data-ui] .squares i.l { background: transparent; box-shadow: inset 0 0 0 1px var(--ui-faint); }
[data-ui] .squares i.n { background: var(--ui-raised); }
[data-ui] .steps { display: flex; gap: 18px; margin-top: 12px; font-size: 13px; }
[data-ui] .steps span { color: var(--ui-muted); }
[data-ui] .steps .done { color: var(--ui-text); }
[data-ui] .tabs { display: flex; gap: 18px; font-size: 13px; color: var(--ui-muted); margin: 10px 0 2px; }
[data-ui] .tabs .is-sel { color: var(--ui-text); }
[data-ui] .rail { margin-top: 14px; }
[data-ui] .rail__bar { display: flex; height: 8px; gap: 2px; margin-top: 6px; }
[data-ui] .rail__bar i { display: block; background: var(--ui-text); border-radius: 1px; }
[data-ui] .rail__bar i + i { background: var(--ui-control); }
[data-ui] .msg { background: var(--ui-raised); border-radius: 6px; padding: 12px 14px; margin-top: 12px; }
[data-ui] .msg b { font-weight: 600; }
[data-ui] .msg p { max-width: none; }
[data-ui] .msg p + p { margin-top: 2px; }

/* code: the one place monospace belongs */
/* a chart: static lines from the build, a crosshair and readout from the script */
.chart { margin-block: 2.4rem; }
.chart .cap { max-width: 60ch; }
[data-ui] .chart__legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 12px 0 0; padding: 0; font-size: 12px; color: var(--ui-muted); max-width: none; }
[data-ui] .chart__legend li { margin: 0; }
[data-ui] .chart__legend i { display: inline-block; width: 16px; height: 2px; border-radius: 1px; background: var(--c); vertical-align: middle; margin-right: 8px; }
[data-ui] .chart__plot { position: relative; height: clamp(210px, 27vw, 330px); margin: 22px 132px 32px 28px; touch-action: pan-y; cursor: crosshair; }
[data-ui] .chart__plot:focus-visible { outline: 1px solid var(--ui-accent); outline-offset: 8px; }
[data-ui] .chart__plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
[data-ui] .chart__plot .g { stroke: var(--ui-rule); stroke-width: 1; }
[data-ui] .chart__plot .g0 { stroke: var(--ui-control); }
[data-ui] .chart__y, [data-ui] .chart__x, [data-ui] .chart__end { position: absolute; font-size: 12px; line-height: 1; white-space: nowrap; color: var(--ui-faint); font-variant-numeric: tabular-nums; }
[data-ui] .chart__y { right: 100%; margin-right: 9px; transform: translateY(-50%); }
[data-ui] .chart__x { top: 100%; margin-top: 11px; transform: translateX(-50%); }
[data-ui] .chart__x--first { transform: none; }
[data-ui] .chart__end { left: 100%; margin-left: 13px; transform: translateY(-50%); color: var(--ui-text); font-weight: 600; }
[data-ui] .chart__end em { font-style: normal; font-weight: 400; color: var(--ui-muted); margin-left: 7px; }
[data-ui] .chart__dot { position: absolute; left: 100%; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px var(--ui-solid); transform: translate(-50%, -50%); }
[data-ui] .chart__cross { position: absolute; top: 0; bottom: 0; width: 1px; margin-left: -0.5px; background: var(--ui-faint); pointer-events: none; }
[data-ui] .chart__mark { position: absolute; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px var(--ui-solid); transform: translate(-50%, -50%); }
[data-ui] .chart__tip { position: absolute; top: 6px; z-index: 3; min-width: 168px; padding: 10px 12px; border-radius: 4px; background: var(--ui-raised); font-size: 12px; pointer-events: none; white-space: nowrap; }
[data-ui] .chart__tip b { display: block; font-weight: 400; color: var(--ui-muted); margin-bottom: 6px; }
[data-ui] .chart__tip div { display: grid; grid-template-columns: 2.6em 16px auto; align-items: center; column-gap: 8px; padding: 2px 0; color: var(--ui-muted); }
[data-ui] .chart__tip strong { color: var(--ui-text); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
[data-ui] .chart__tip i { height: 2px; border-radius: 1px; background: var(--c); }
[data-ui] .chart__read { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 640px) {
  [data-ui] .chart__plot { margin-right: 40px; height: 230px; }
  [data-ui] .chart__end em { display: none; }
  [data-ui] .chart__x--alt { display: none; }
}
[data-ui].spark { display: block; background: var(--ui-card); border-radius: 6px; padding: 14px 14px 12px; }
[data-ui].spark svg { display: block; width: 100%; height: clamp(176px, 14vw, 208px); overflow: visible; }

pre { margin: 0; overflow-x: auto; }
pre code { font-family: var(--font-code); font-size: var(--step-small); line-height: 1.6; letter-spacing: 0; }
.code { background: var(--ui-card); color: var(--ui-text); border-radius: 6px; padding: 20px 22px; }
.code .c { color: var(--ui-faint); }
@media (max-width: 640px) { pre code { white-space: pre-wrap; overflow-wrap: anywhere; } }

/* =====================================================================
   Home
   ===================================================================== */

/* hero: two halves told apart by tone alone */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(640px, 100svh, 860px); }
.hero__text { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 1.35rem; padding: 7rem var(--margin) calc(var(--margin) + 3.2rem); }
.hero__h { font-size: clamp(1.9rem, 1rem + 2.6vw, 3.1rem); line-height: 0.98; letter-spacing: -0.045em; }
.hero__lead { max-width: 42ch; }
.hero__stage { background: var(--surface); display: grid; place-items: center; padding: 5.5rem var(--margin) var(--margin); }
@media (max-width: 859px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__stage { order: -1; min-height: 58svh; padding: 4.6rem var(--margin) 1.5rem; }
  .hero__text { padding: 1.75rem var(--margin) 0; gap: 1rem; }
  .hero__h { font-size: clamp(1.6rem, 6.6vw, 2.4rem); }
  [data-ui] .board__dial { width: min(100%, 236px); margin-block: 8px 6px; }
  [data-ui] .board__rows th, [data-ui] .board__rows td { height: 36px; }
}

/* section heading on the inner text line */
.sec__h { grid-column: 1 / span 3; grid-row: 1; align-self: start; position: sticky; top: 1.5rem; margin-top: -0.12em; }
.sec__body { grid-column: 4 / -1; grid-row: 1; min-width: 0; }
.sec__intro { max-width: 46ch; margin-bottom: clamp(2rem, 3.2vw, 3rem); }

/* how a rule gets in: call and response */
.cr { display: grid; row-gap: 5.5rem; }
.cr__x { display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 1fr); }
.cr__say { grid-column: 1; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; max-width: 26ch; }
.cr__call { grid-column: 1; margin-top: 1rem; background: var(--surface); padding: 1.2rem 1.25rem; }
.cr__call span { display: block; font-size: var(--step-small); color: var(--muted); margin-bottom: 0.3rem; letter-spacing: 0; }
.cr__back { grid-column: 1; margin: 1.1rem 0 0 56px; }
.cr__x--out .cr__back { grid-column: 1 / -1; }
.cr__x--mid .cr__back { grid-column: 1 / -1; max-width: 820px; }
@media (max-width: 859px) {
  .cr { row-gap: 4rem; }
  .cr__x { grid-template-columns: minmax(0, 1fr); }
  .cr__back { margin-left: 0; margin-top: 1.4rem; }
}
[data-ui] .verdict { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 28px; align-items: start; }
[data-ui] .verdict h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin-top: 12px; text-wrap: balance; }
[data-ui] .verdict p { font-size: 14px; line-height: 1.5; max-width: 52ch; }
@media (max-width: 640px) { [data-ui] .verdict { grid-template-columns: 1fr; gap: 16px; } }

/* ideas we rejected: two-ended rows on the text line, the weights beside them */
.sec__body--rej { grid-column: 4 / span 5; }
.rej__group { margin-top: 2.5rem; }
.rej__group:first-of-type { margin-top: 0; }
.rej__label { color: var(--muted); line-height: 2.2; }
.rej__row { display: flex; align-items: baseline; gap: 0.6rem; min-height: 2.5rem; line-height: 1.3; padding-block: 0.36rem; }
.rej__row svg { width: 16px; height: 16px; flex: none; align-self: center; }
.rej__row .pie-bg { fill: var(--surface); }
.rej__row .pie-fg { fill: none; stroke: var(--ink); stroke-width: 8; }
.rej__name { flex: 1; }
.rej__val { font-size: var(--step-small); color: var(--muted); white-space: nowrap; letter-spacing: 0; }
.rej__pic { grid-column: 10 / -1; grid-row: 1; align-self: start; position: sticky; top: 1.5rem; }
.rej__pic .pic { aspect-ratio: 4 / 5; }
.rej__pic .cap { max-width: none; }
@media (max-width: 859px) {
  .sec__body--rej { max-width: 560px; }
  .rej__row { min-height: 2.75rem; }
  .rej__pic { grid-column: 1 / -1; grid-row: auto; position: static; margin-top: 3rem; width: min(62%, 420px); margin-left: auto; }
}

/* the sizer: a figure set by a slider, on the ink field */
.sizer { background: var(--ink); color: var(--bg); min-height: min(84svh, 740px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); grid-template-rows: auto auto 1fr auto; padding: clamp(3rem, 6vw, 5.5rem) var(--margin) clamp(2rem, 3vw, 3rem); }
.sizer__q { grid-column: 1 / -1; }
.sizer__ctl { grid-column: 1 / span 5; margin-top: 1.75rem; }
.sizer__fig { grid-column: 1 / span 8; grid-row: 4; align-self: end; max-width: none; font-size: clamp(8.75rem, 19vw, 20rem); font-weight: 800; line-height: 0.8; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sizer__unit { font-size: var(--step-head); letter-spacing: -0.04em; margin-left: 0.5em; font-weight: 800; }
.sizer__how { grid-column: 9 / -1; grid-row: 4; align-self: end; justify-self: end; max-width: 31ch; color: color-mix(in srgb, var(--bg) 80%, transparent); padding-bottom: 0.3em; }
@media (max-width: 859px) {
  .sizer { min-height: min(84svh, 640px); grid-template-rows: auto auto 1fr auto auto; }
  .sizer__ctl { grid-column: 1 / -1; }
  .sizer__fig { grid-column: 1 / -1; grid-row: 4; font-size: 30vw; }
  .sizer__unit { display: block; font-size: var(--step-lead); letter-spacing: -0.03em; margin: 1.1rem 0 0; line-height: 1; }
  .sizer__how { grid-column: 1 / -1; grid-row: 5; margin-top: 1rem; max-width: none; justify-self: start; }
}

/* what we have built: a quiet ledger with a side preview */
.work { position: relative; display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 1fr); column-gap: 64px; }
.work__list { grid-column: 1; }
.work__group { margin-top: 1.75rem; }
.work__group:first-child { margin-top: 0; }
.work__row { display: grid; grid-template-columns: 43% 1fr auto; align-items: baseline; column-gap: 0.75rem; min-height: 2.75rem; padding-block: 0.45rem; text-decoration: none; transition: color var(--t-hover) ease; }
.work__kind { font-size: var(--step-small); color: var(--muted); letter-spacing: 0; }
.work__state { font-size: var(--step-small); color: var(--muted); letter-spacing: 0; white-space: nowrap; text-align: right; }
.work__frames { grid-column: 2; position: relative; min-height: 240px; }
.work__frame { position: absolute; top: 0; right: 0; width: min(100%, 330px); opacity: 0; visibility: hidden; transition: opacity 150ms ease, visibility 0s 150ms, transform 360ms var(--ease-out); }
.work__frame.is-on { opacity: 1; visibility: visible; transition: opacity 150ms ease, transform 360ms var(--ease-out); }
.work__thumb { display: none; }
@media (hover: hover) and (pointer: fine) {
  .work__list:has(.work__row:hover, .work__row:focus-visible) .work__row:not(:hover, :focus-visible) { color: var(--muted); }
}
@media (max-width: 1023px) { .work { column-gap: 28px; } .work__frame { width: 100%; } }
@media (max-width: 859px) {
  .work { grid-template-columns: minmax(0, 560px); }
  .work__frames { display: none; }
  .work__row { grid-template-columns: 1fr auto; min-height: 3.25rem; row-gap: 0.1rem; }
  .work__kind { grid-column: 1 / -1; grid-row: 2; font-size: var(--step-small); }
  .work__thumb { display: block; margin: 1.1rem 0 0.5rem; }
  .work__thumb:first-child { margin-top: 0; }
}

/* ask the desk: the headline is an input */
.ask { display: flex; flex-direction: column; padding-inline: var(--margin); }
.ask__label { color: var(--muted); margin-bottom: 0.9rem; }
.ask__line { position: relative; }
.ask__input { display: block; width: 100%; background: transparent; border: 0; border-radius: 0; padding: 0; margin: 0 0 0 -0.04em; font-size: var(--step-display); font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: var(--ink); caret-color: var(--accent); outline: 0; height: 1.08em; }
.ask__ghost { position: absolute; left: 0; top: 0; visibility: hidden; white-space: pre; font-size: var(--step-display); font-weight: 800; letter-spacing: -0.05em; line-height: 1; pointer-events: none; }
.ask__caret { position: absolute; top: 0.1em; left: 0; width: 0.08em; height: 0.8em; background: var(--accent); font-size: var(--step-display); pointer-events: none; }
.ask__line:focus-within .ask__caret { display: none; }
.ask__foot { margin-top: 3rem; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.ask__answer { grid-column: 1 / span 5; min-width: 0; }
.ask__more { grid-column: 9 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 0.1rem; color: var(--muted); max-width: none; }
.ask__more button { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.025em; color: var(--ink); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 2px; text-decoration-color: var(--accent); min-height: 44px; transition: text-decoration-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .ask__more button:hover { text-decoration-color: currentColor; } }
@media (max-width: 859px) {
  .ask__input, .ask__ghost, .ask__caret { font-size: 11vw; }
  .ask__foot { margin-top: 1.75rem; grid-template-columns: minmax(0, 1fr); }
  .ask__answer, .ask__more { grid-column: 1 / -1; }
  .ask__answer { max-width: 560px; }
  .ask__more { margin-top: 1.5rem; flex-direction: row; flex-wrap: wrap; gap: 0.5rem; }
  .ask__more span { flex-basis: 100%; }
  .ask__more button { font-size: var(--step-body); letter-spacing: -0.01em; background: var(--surface); padding: 0 1rem; text-decoration: none; }
}

/* the founder's letter: a paper sheet on the surface field, with a tear-off strip */
.letter { background: var(--surface); padding: clamp(3.5rem, 6vw, 5.5rem) var(--margin) clamp(4.5rem, 8vw, 7.5rem); }
.sec.letter { margin-top: clamp(4rem, 8vw, 7.5rem); }
.letter__sheet { width: min(100%, 640px); margin-inline: auto; background: var(--bg); padding: 52px 60px 0; }
.letter__mark { width: 44px; height: 44px; }
.letter__body { margin-top: 28px; line-height: 1.5; }
.letter__body p { max-width: none; }
.letter__body p + p { margin-top: 1.55em; }
.letter__sign { margin-top: 2.2rem; font-size: var(--step-lead); font-style: italic; font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }
.letter__role { margin-top: 0.2rem; font-size: var(--step-small); color: var(--muted); letter-spacing: 0; }
.letter__strip { margin: 44px -60px 0; padding: 0 60px; border-top: 5px dotted var(--surface); min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-weight: 600; }
.letter__strip a { overflow-wrap: anywhere; }
.letter__edge { display: block; width: 100%; height: 12px; margin-top: 0; }
.letter__edge path { fill: var(--bg); }
.letter__wrap { width: min(100%, 640px); margin-inline: auto; }
@media (max-width: 720px) {
  .letter { padding-inline: 0; }
  .letter__sheet { padding: 40px 24px 0; }
  .letter__strip { margin-inline: -24px; padding: 14px 24px; flex-direction: column; align-items: stretch; }
  .letter__strip .button { width: 100%; }
}

/* the close: one row of tiles, cropped from a longer one */
.cta { overflow: clip; margin-top: clamp(4rem, 7vw, 6.5rem); }
.cta__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); margin-inline: var(--margin); }
.tile { height: 360px; }
.tile--pic { grid-column: 1 / span 2; margin-left: calc(var(--margin) * -1 - 4vw); }
.tile--main { grid-column: 3 / span 8; background: var(--accent); color: var(--accent-ink); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 40px; gap: 1rem; }
.tile--main h2 { font-size: var(--step-head); line-height: 1; letter-spacing: -0.04em; }
.tile--main p { max-width: 46ch; }
.tile--main .button { margin-top: 0.6rem; }
.tile--ink { grid-column: 11 / span 2; background: var(--ink); margin-right: calc(var(--margin) * -1 - 4vw); }
.tile--sky { grid-column: 11 / span 2; margin-right: calc(var(--margin) * -1 - 4vw); }
.tile--pic .pic, .tile--sky .pic { height: 100%; }
@media (max-width: 859px) {
  .cta__row { grid-template-columns: 1fr 1fr; gap: 10px; margin-inline: 0; }
  .tile--main { grid-column: 1 / -1; order: -1; height: auto; min-height: 300px; padding: 2rem var(--margin); }
  .tile--pic, .tile--ink, .tile--sky { grid-column: auto; height: clamp(120px, 38vw, 220px); margin: 0; }
  .tile--main .button { width: 100%; }
}

/* footer: the notice, the credits, then one quiet line */
.foot { margin-top: clamp(5rem, 22svh, 14rem); padding: 0 var(--margin) 1.9rem; }
.foot__notice { grid-column: 4 / span 7; font-size: var(--step-small); line-height: 1.5; color: var(--muted); letter-spacing: 0; }
.foot__notice p { max-width: 60ch; }
.foot__line { margin-top: clamp(3rem, 12svh, 7rem); display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 1.5rem; font-size: var(--step-small); letter-spacing: 0; }
.foot__what { color: var(--muted); }
.foot__links { display: flex; gap: 24px; font-weight: 600; }
.foot__links a, .foot__legal a { text-decoration: none; }
.foot__legal { justify-self: end; color: var(--muted); display: flex; gap: 18px; }
.foot__legal a { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .foot__links a:hover, .foot__legal a:hover { text-decoration: underline; text-underline-offset: 0.2em; } }
@media (max-width: 859px) {
  .foot { margin-top: 20svh; }
  .foot__notice { grid-column: 1 / -1; }
  .foot__line { grid-template-columns: 1fr; gap: 8px; margin-top: 3rem; }
  .foot__links { flex-wrap: wrap; gap: 6px 18px; }
  .foot__legal { justify-self: start; }
}

/* =====================================================================
   Inner pages
   ===================================================================== */
.phead { padding: clamp(7.5rem, 15vw, 12rem) var(--margin) 0; }
.phead__h { grid-column: 4 / -1; font-size: var(--step-display); line-height: 0.9; letter-spacing: -0.05em; margin-left: -0.04em; }
.phead__lead { grid-column: 4 / span 6; margin-top: clamp(1.5rem, 2.6vw, 2.5rem); font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.02em; max-width: 36ch; }
.phead__meta { grid-column: 4 / span 6; margin-top: 1.25rem; color: var(--muted); }
.phead__act { grid-column: 4 / span 6; margin-top: clamp(1.4rem, 2.2vw, 2rem); }
@media (max-width: 859px) { .phead__h, .phead__lead, .phead__meta, .phead__act { grid-column: 1 / -1; } .phead__h { font-size: clamp(2.6rem, 12.5vw, 4.5rem); margin-left: 0; } }
@media (max-width: 640px) { .phead__act .button { width: 100%; } }

/* a row on the axis: the statement starts on column 4, its working fragment sits to the right */
.rows > .row + .row { margin-top: clamp(4rem, 7.5vw, 7.5rem); }
.row { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.row[id] { scroll-margin-top: 2rem; }
.row__say { grid-column: 1 / span 4; }
.row__say h3 { font-size: var(--step-head); line-height: 1; letter-spacing: -0.04em; margin-bottom: 1.1rem; text-wrap: balance; }
.row__say p { max-width: 40ch; }
.row__say p + p { margin-top: 0.9rem; }
.row__say .button { margin-top: 0.7rem; }
.row__say .textlink { display: inline-block; margin-top: 0.4rem; }
.row__frag { grid-column: 5 / -1; min-width: 0; }
.row__frag--narrow { grid-column: 6 / -1; }
.row__frag--inset { grid-column: 5 / span 4; }
.row--stack .row__say { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--gutter); }
.row--stack .row__say p { grid-column: span 4; margin-top: 0; }
.row--stack .row__frag { grid-column: 1 / -1; margin-top: clamp(1.75rem, 3vw, 2.75rem); }
.state { display: inline-block; margin-top: 1.1rem; font-size: var(--step-small); font-weight: 600; letter-spacing: 0; background: var(--surface); padding: 0.3rem 0.65rem; }
@media (max-width: 859px) {
  .row, .row--stack .row__say { grid-template-columns: minmax(0, 1fr); }
  .row__say, .row__frag, .row__frag--narrow, .row__frag--inset, .row--stack .row__say p { grid-column: 1 / -1; }
  .row--stack .row__say p + p { margin-top: 0.9rem; }
  .row__frag { margin-top: 1.75rem; }
}

/* three pictures at one ratio */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.trio .pic { aspect-ratio: 4 / 5; }
.trio figcaption { margin-top: 0.75rem; display: flex; justify-content: space-between; gap: 1rem; }
.trio figcaption b { font-weight: 600; }
.trio figcaption span { color: var(--muted); white-space: nowrap; }
@media (max-width: 859px) {
  .trio { grid-template-columns: 1fr 1fr; }
  .trio figure:first-child { grid-column: 1 / -1; }
  .trio figure:first-child .pic { aspect-ratio: 5 / 4; }
  .trio figcaption { flex-direction: column; gap: 0; }
  .trio figcaption span { white-space: normal; font-size: var(--step-small); letter-spacing: 0; }
}

/* a pinned fragment that four statements change */
.pin { align-items: start; }
.pin__says { grid-column: 4 / span 4; grid-row: 1; }
.pin__say { min-height: 44svh; display: flex; flex-direction: column; justify-content: center; opacity: 0.38; transition: opacity 300ms ease; }
.pin__say:first-child { min-height: 36svh; justify-content: flex-start; }
.pin__say:last-child { min-height: 30svh; }
.pin__say.is-on { opacity: 1; }
.pin__say h3 { font-size: var(--step-lead); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; }
.pin__say p { margin-top: 0.7rem; max-width: 38ch; }
.pin__stage { grid-column: 8 / -1; grid-row: 1; position: sticky; top: 22svh; align-self: start; }
.pin .sec__h { top: 22svh; }
@media (max-width: 859px) {
  .pin__says, .pin__stage { grid-column: 1 / -1; grid-row: auto; }
  .pin__stage { position: static; margin-bottom: 0.5rem; }
  .pin__say, .pin__say:first-child, .pin__say:last-child { min-height: 0; opacity: 1; margin-top: 2rem; }
}
[data-ui] .pipe li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 14px 0; border-top: 1px solid var(--ui-rule); color: var(--ui-muted); transition: color 260ms ease; }
[data-ui] .pipe li:first-child { border-top: 0; }
[data-ui] .pipe b { font-weight: 600; font-size: 15px; justify-self: start; }
[data-ui] .pipe span { grid-column: 1 / -1; font-size: 12px; }
[data-ui] .pipe em { font-style: normal; font-size: 12px; }
[data-ui] .pipe li.is-sel { color: var(--ui-text); }
[data-ui] .pipe li.is-sel span { color: var(--ui-muted); }

/* real tables on the page */
.table-wrap { overflow-x: auto; }
.table { width: 100%; line-height: 1.3; }
.table th, .table td { text-align: left; padding: 0.85rem 1.25rem 0.85rem 0; border-top: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); vertical-align: baseline; font-weight: 400; }
.table thead th { border-top: 0; font-size: var(--step-small); color: var(--muted); letter-spacing: 0; padding-bottom: 0.6rem; white-space: nowrap; }
.table tbody th { font-weight: 600; }
.table .num { text-align: right; padding-right: 0; padding-left: 1.25rem; white-space: nowrap; }
.table td.muted { color: var(--muted); }
@media (max-width: 720px) {
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .table, .table tbody { display: block; }
  .table tbody tr { display: block; padding-block: 0.85rem; border-top: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); }
  .table tbody th, .table tbody td { display: flex; justify-content: space-between; align-items: baseline; gap: 1.25rem; border: 0; padding: 0.14rem 0; text-align: right; }
  .table tbody th { text-align: left; padding-bottom: 0.3rem; }
  .table tbody td::before { content: attr(data-label); color: var(--muted); text-align: left; }
  .table tbody td:empty { display: none; }
  .table .num { padding-left: 0; white-space: normal; }
}

/* definition rows (facts, the reporting standard) */
.facts { grid-column: 4 / span 7; }
.facts > div { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: 0.25rem var(--gutter); padding-block: 0.95rem; }
.facts dt { color: var(--muted); }
.facts dd p + p { margin-top: 0.5em; }
@media (max-width: 859px) { .facts { grid-column: 1 / -1; } .facts > div { grid-template-columns: 1fr; } }

/* long reading */
.prose { grid-column: 4 / span 6; }
.prose h2 { font-size: var(--step-lead); line-height: 1.2; letter-spacing: -0.025em; margin-top: 2.6em; margin-bottom: 0.7em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { max-width: 64ch; }
.prose ul, .prose ol { padding-left: 1.2em; margin-top: 0.9em; }
.prose li + li { margin-top: 0.4em; }
.prose a { text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 0.07em; }
.prose .table-wrap { margin-block: 2rem; }
.prose figure { margin-block: 2.2rem; }
.prose .big { font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.02em; max-width: 30ch; margin-block: 1.6em; font-weight: 600; }
.aside { grid-column: 10 / -1; align-self: start; font-size: var(--step-small); line-height: 1.5; color: var(--muted); letter-spacing: 0; }
.aside b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 0.15rem; }
.aside div + div { margin-top: 1.4rem; }
@media (max-width: 859px) { .prose, .aside { grid-column: 1 / -1; } .aside { margin-top: 3rem; } }

/* index of notes: two-ended rows at reading size */
.notes { grid-column: 4 / -1; }
.note-row { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 27vw, 400px); grid-template-rows: auto auto 1fr; column-gap: clamp(1.5rem, 4vw, 4rem); align-items: start; padding-block: 1.6rem; text-decoration: none; }
.note-row h2, .note-row h3 { grid-column: 1; font-size: var(--step-head); line-height: 1; letter-spacing: -0.04em; max-width: 22ch; transition: transform 360ms var(--ease-out); }
.note-row p { grid-column: 1; margin-top: 0.7rem; max-width: 52ch; }
.note-row time { grid-column: 1; margin-top: 0.6rem; font-size: var(--step-small); color: var(--muted); letter-spacing: 0; white-space: nowrap; }
.note-row .spark { grid-column: 2; grid-row: 1 / -1; }
.note-row + .note-row { margin-top: clamp(1rem, 2.4vw, 2.2rem); }
@media (hover: hover) and (pointer: fine) { .note-row:hover h2, .note-row:hover h3 { transform: translateX(0.5rem); } }
@media (max-width: 859px) {
  .notes { grid-column: 1 / -1; }
  .note-row { grid-template-columns: minmax(0, 1fr); }
  .note-row .spark { grid-column: 1; grid-row: auto; margin-top: 1.1rem; }
}

/* forms */
.form { display: grid; gap: 1.1rem; }
.form label { display: block; font-size: var(--step-small); font-weight: 600; letter-spacing: 0; margin-bottom: 0.4rem; }
.field { width: 100%; min-height: 3.1rem; padding: 0.75rem 0.9rem; background: var(--surface); border: 0; border-radius: 0; font-size: max(1rem, var(--step-body)); }
textarea.field { min-height: 9.5rem; resize: vertical; line-height: 1.45; }
select.field { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23f2f5ff' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px 8px; padding-right: 2.6rem; }
.field:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.form__two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem var(--gutter); }
.form { position: relative; }
.form__hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form__status { font-weight: 600; max-width: 52ch; }
.form__status[data-kind="error"] { color: #ff8fa3; }
@media (max-width: 640px) { .form__two { grid-template-columns: 1fr; } .form .button { width: 100%; } }

/* a wide picture band */
.band { margin-top: var(--section); padding-inline: var(--margin); }
.band .pic { aspect-ratio: 16 / 9; }
.band--tall .pic { aspect-ratio: 3 / 2; }
@media (max-width: 859px) { .band .pic { aspect-ratio: 4 / 3; } }

/* split with a picture: the text always starts on the axis */
.split { align-items: start; }
.split__pic { grid-column: 1 / span 3; grid-row: 1; }
.split__pic .pic { aspect-ratio: 4 / 5; }
.split__text { grid-column: 4 / span 5; grid-row: 1; }
.split__text h2 { font-size: var(--step-head); line-height: 1; letter-spacing: -0.04em; max-width: 15ch; }
.split__text p { margin-top: 1.1rem; max-width: 46ch; }
.split--flip .split__pic { grid-column: 9 / -1; }
.split--flip .split__text { grid-column: 4 / span 4; }
@media (max-width: 859px) {
  .split__pic, .split__text, .split--flip .split__pic, .split--flip .split__text { grid-column: 1 / -1; grid-row: auto; }
  .split__text { order: 1; }
  .split__pic { order: 2; width: 72%; margin: 1.75rem 0 0; }
  .split--flip .split__pic { margin: 1.75rem 0 0 auto; }
}

/* syllabus */
.syl { counter-reset: w; }
[data-ui] .syl li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--ui-rule); }
[data-ui] .syl li:first-child { border-top: 0; }
[data-ui] .syl li span:first-child { color: var(--ui-muted); }

/* empty archive */
.empty { grid-column: 4 / span 7; background: var(--surface); padding: clamp(1.75rem, 4vw, 3rem); }
.empty h3 { font-size: var(--step-lead); letter-spacing: -0.025em; line-height: 1.2; }
.empty p { margin-top: 0.7rem; color: var(--muted); }
@media (max-width: 859px) { .empty { grid-column: 1 / -1; } }

.credits { grid-column: 4 / span 7; margin-top: 1.4rem; font-size: var(--step-small); line-height: 1.5; color: var(--muted); letter-spacing: 0; }
.credits a { color: var(--ink); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 0.07em; }
.credits p { max-width: 74ch; }
@media (max-width: 859px) { .credits { grid-column: 1 / -1; } }

/* a research note: the test record keeps to the margin, the argument runs on the axis */
.note { align-items: start; }
.note__side { grid-column: 1 / span 3; grid-row: 1; position: sticky; top: 1.5rem; }
.note__body { grid-column: 4 / -1; grid-row: 1; min-width: 0; }
.note__body .table-wrap { max-width: 64ch; }
.note__body .chart { max-width: none; }
.notes--in { grid-column: auto; }
@media (max-width: 859px) {
  .note__side, .note__body { grid-column: 1 / -1; grid-row: auto; }
  .note__side { position: static; margin-bottom: 2.5rem; }
}

/* contact: the form on the axis, the desk's clock beside it */
.ct__form { grid-column: 4 / span 5; grid-row: 1; }
.ct__desk { grid-column: 9 / -1; grid-row: 1; min-width: 0; }
.ct__desk .board { width: 100%; }
@media (max-width: 859px) { .ct__form, .ct__desk { grid-column: 1 / -1; grid-row: auto; } .ct__desk { margin-top: 3rem; } }

/* where we are: the old map wide, the gate and the sky beside it */
.where { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.where figure:nth-child(1) { grid-column: 1 / span 6; }
.where figure:nth-child(2) { grid-column: 7 / span 3; }
.where figure:nth-child(3) { grid-column: 10 / span 3; }
.where .pic { height: clamp(240px, 31vw, 460px); }
.where figure:nth-child(1) .pic img { object-position: 62% 60%; }
@media (max-width: 859px) {
  .where { row-gap: 1.5rem; }
  .where figure:nth-child(1) { grid-column: 1 / -1; }
  .where figure:nth-child(2) { grid-column: 1 / span 6; }
  .where figure:nth-child(3) { grid-column: 7 / span 6; }
  .where .pic { height: clamp(180px, 52vw, 320px); }
}

/* legal pages: an index in the margin */
.toc { grid-column: 1 / span 3; grid-row: 1; position: sticky; top: 1.5rem; align-self: start; display: flex; flex-direction: column; gap: 0.5rem; font-size: var(--step-small); line-height: 1.4; letter-spacing: 0; }
.toc b { font-weight: 600; margin-bottom: 0.3rem; }
.toc a { color: var(--muted); text-decoration: none; width: fit-content; transition: color var(--t-hover) ease; }
.toc a:hover, .toc a:focus-visible { color: var(--ink); }
.toc + .prose { grid-row: 1; }
.prose h2[id] { scroll-margin-top: 1.5rem; }
@media (max-width: 859px) { .toc { display: none; } }

/* on a phone the working fragments run edge to edge, so their text keeps the page's two margins */
@media (max-width: 859px) {
  .row__frag > [data-ui], .pin__stage > [data-ui], .chart > [data-ui], .note__side > [data-ui] { margin-inline: calc(var(--margin) * -1); border-radius: 0; padding-inline: var(--margin); }
  .row__frag > .code { margin-inline: calc(var(--margin) * -1); border-radius: 0; padding-inline: calc(var(--margin) + 4px); }
}

/* article headline: a sentence, so one size down from the page titles */
.phead__h--note { font-size: clamp(2.3rem, 5.6vw, 5.75rem); line-height: 0.94; letter-spacing: -0.045em; }
@media (max-width: 859px) { .phead__h--note { font-size: clamp(1.9rem, 8.4vw, 3.6rem); } }

/* the old map runs wide and low */
.band--map { margin-top: clamp(3rem, 6vw, 5.5rem); }
.band--map .pic { aspect-ratio: 2 / 1; }
.band--map .pic img { object-position: 50% 58%; }
@media (max-width: 859px) { .band--map .pic { aspect-ratio: 4 / 3; } }

/* what we hold to: four lines at heading size */
.holds { list-style: none; margin: 0; padding: 0; }
.holds li { font-size: var(--step-head); font-weight: 800; line-height: 1.05; letter-spacing: -0.04em; max-width: 24ch; text-wrap: balance; }
.holds li + li { margin-top: 0.6em; }

/* phone: section headings return to the margin */
@media (max-width: 859px) {
  .sec__h { grid-column: 1 / -1; grid-row: auto; position: static; margin: 0 0 clamp(1.5rem, 5vw, 2.25rem); }
  .sec__body, .sec__body--rej { grid-column: 1 / -1; grid-row: auto; }
  .axis, .axis-wide { grid-column: 1 / -1; }
}

/* =====================================================================
   Motion. Everything is in place without script; hidden states live
   only under .js and only when motion is welcome.
   ===================================================================== */
.lines .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.lines [data-line] { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] { transform: translateY(108%); animation: line-up 900ms var(--ease-expo) forwards; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
  .js [data-load] { opacity: 0; transform: translateY(12px); animation: rise 560ms var(--ease-out) forwards; animation-delay: var(--d, 460ms); }
  .js [data-open] { clip-path: inset(0 0 100% 0); animation: open 1000ms var(--ease-in-out) 180ms forwards; }
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 640ms var(--ease-out), transform 820ms var(--ease-out); transition-delay: calc(var(--i, 0) * 75ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-reveal="row"] { transform: translateY(10px); transition-duration: 420ms, 520ms; transition-delay: calc(var(--i, 0) * 38ms); }
  .js [data-reveal="wipe"] { opacity: 1; transform: none; }
  .js [data-reveal="wipe"] svg { clip-path: inset(-6px 100% -6px -6px); transition: clip-path 1200ms var(--ease-in-out) 100ms; }
  .js [data-reveal="wipe"].is-in svg { clip-path: inset(-6px -6px -6px -6px); }
  .js [data-reveal="wipe"] .chart__dot, .js [data-reveal="wipe"] .chart__end { opacity: 0; transition: opacity 380ms ease 1100ms; }
  .js [data-reveal="wipe"].is-in .chart__dot, .js [data-reveal="wipe"].is-in .chart__end { opacity: 1; }
  .js [data-reveal="shutter"] { opacity: 1; transform: none; }
  .js [data-reveal="shutter"]::after { content: ""; position: absolute; inset: -1px; z-index: 2; background: inherit; transform-origin: 50% 100%; transition: transform 1100ms var(--ease-in-out); }
  .js [data-reveal="shutter"]:not(.drift) img { transform: scale(1.1); transition: transform 1500ms var(--ease-soft); }
  .js [data-reveal="shutter"].is-in::after { transform: scaleY(0); }
  .js [data-reveal="shutter"].is-in:not(.drift) img { transform: none; }
  @supports (animation-timeline: view()) {
    .drift img { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  }
  .ask__caret { animation: blink 1.1s steps(1) infinite; }
  @view-transition { navigation: auto; }
}
@keyframes line-up { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes open { to { clip-path: inset(0); } }
@keyframes drift { from { transform: scale(1.14) translateY(-3%); } to { transform: scale(1.02) translateY(3%); } }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  [data-ui] .dial-handg { transition: none; }
}

/* the mark: a clock face with one hand */
:root { color-scheme: dark; }
.mark-d { fill: currentColor; }
.mark-h { stroke: var(--ui-accent); }
.mark-c { fill: var(--bg); }
.sheet .mark-h { stroke: var(--accent); }
.sheet .mark-c { fill: var(--ink); }
.letter__mark .mark-d { fill: var(--ink); }


/* =====================================================================
   AURORA GLASS
   A night sky with three slow lights (mint, sky, violet). Everything the
   firm shows sits on glass above it. This block restyles the components
   above; the layout and the words are unchanged.
   ===================================================================== */
html { background: var(--bg); }
body { background: transparent; }
body::before { content: ""; position: fixed; inset: -22vmax; z-index: -2; pointer-events: none;
  background:
    radial-gradient(44vmax 38vmax at 14% 22%, rgba(62, 232, 176, 0.34), transparent 62%),
    radial-gradient(50vmax 44vmax at 86% 16%, rgba(139, 108, 255, 0.40), transparent 64%),
    radial-gradient(52vmax 46vmax at 70% 80%, rgba(73, 184, 255, 0.28), transparent 66%),
    radial-gradient(40vmax 34vmax at 8% 88%, rgba(255, 96, 170, 0.16), transparent 60%),
    radial-gradient(30vmax 26vmax at 46% 50%, rgba(73, 184, 255, 0.10), transparent 70%); }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 0%, transparent 78%); mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 0%, transparent 78%); }
@media (prefers-reduced-motion: no-preference) {
  body::before { animation: aurora 28s ease-in-out infinite alternate; }
}
@keyframes aurora { 0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); } 50% { transform: translate3d(4vmax, -3vmax, 0) rotate(9deg) scale(1.07); } 100% { transform: translate3d(-4vmax, 3vmax, 0) rotate(-7deg) scale(1.12); } }

/* glass: one recipe for every panel */
[data-ui].card, [data-ui] .card, [data-ui].board, .code, [data-ui].spark, .empty, .letter__sheet, .sizer, .tile--main, .field {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--glass-line); border-radius: var(--radius);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  box-shadow: var(--glass-shadow); }
[data-ui] .card .card { box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
/* a soft light follows the pointer across a panel */
.lit { position: relative; isolation: isolate; }
.lit::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 320ms ease;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(126, 245, 207, 0.16), rgba(139, 108, 255, 0.08) 45%, transparent 70%); }
.lit:hover::before { opacity: 1; }

/* type */
h1, .display { text-wrap: balance; }
.hero__h [data-line], .phead__h [data-line], .phead__h:not(.lines) { background: linear-gradient(96deg, #ffffff 22%, #c9fff0 58%, #cfc4ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.08em; }
.hero__h { font-size: clamp(2.3rem, 1rem + 3.6vw, 4.3rem); line-height: 0.96; }
.hero__lead, .phead__lead { color: #d7dcf0; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* top: a floating glass bar */
.top { position: fixed; inset: 14px var(--margin) auto var(--margin); padding: 0.55rem 0.7rem 0.55rem 1.1rem; border-radius: 999px;
  background: rgba(10, 15, 30, 0.55); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 18px 40px -22px rgba(0, 0, 0, 0.8); }
.nav { gap: 0.2rem; }
.nav a { padding: 0.55rem 0.95rem; border-radius: 999px; color: #d5dbef; transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.nav a::after { display: none; }
.nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.11); color: #fff; }
@media (hover: hover) and (pointer: fine) { .nav a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; } }
.nav a:last-child { background: var(--aurora); color: var(--accent-ink); font-weight: 700; margin-left: 0.4rem; box-shadow: 0 8px 28px -10px rgba(62, 232, 176, 0.7); }
.nav a:last-child[aria-current="page"] { background: var(--aurora); color: var(--accent-ink); }
.menu-btn { padding-inline: 0.9rem; border-radius: 999px; background: rgba(255, 255, 255, 0.09); }
.mark svg { filter: drop-shadow(0 0 10px rgba(62, 232, 176, 0.65)); }
.mark-d { fill: var(--accent); }
.mark-h { stroke: #04121a; }
.mark-c, .sheet .mark-c { fill: #04121a; }
.sheet .mark-h { stroke: #04121a; }
.letter__mark .mark-d { fill: var(--accent); }
.sheet { background: rgba(6, 9, 19, 0.9); color: var(--ink); -webkit-backdrop-filter: blur(26px); backdrop-filter: blur(26px); }
.sheet__foot { color: var(--muted); }
.sheet__links a { background: linear-gradient(96deg, #fff 30%, #c9fff0 70%, #cfc4ff); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }

/* controls */
.button { border-radius: 999px; background: var(--aurora); color: var(--accent-ink); font-weight: 700; padding: 0 1.7rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22) inset, 0 14px 40px -12px rgba(62, 232, 176, 0.65), 0 6px 24px -10px rgba(139, 108, 255, 0.6);
  transition: transform var(--t-press) var(--ease-out), box-shadow 260ms ease, filter 260ms ease; }
.button--paper { background: #f4f7ff; color: #060913; box-shadow: 0 14px 40px -14px rgba(255, 255, 255, 0.55); }
.button--ink { background: rgba(255, 255, 255, 0.1); color: var(--ink); box-shadow: 0 0 0 1px var(--glass-line) inset; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--aurora); filter: brightness(1.1) saturate(1.1); transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3) inset, 0 22px 50px -12px rgba(62, 232, 176, 0.8), 0 10px 30px -10px rgba(139, 108, 255, 0.75); }
  .button--paper:hover { background: #fff; filter: none; }
  .button--ink:hover { background: rgba(255, 255, 255, 0.16); }
}
.textlink { text-decoration-color: var(--accent); }
.state { background: rgba(62, 232, 176, 0.12); color: #9ff7d8; border: 1px solid rgba(62, 232, 176, 0.28); border-radius: 999px; padding: 0.28rem 0.8rem; }
.field { border-radius: 14px; color: var(--ink); box-shadow: none; transition: border-color var(--t-hover) ease, box-shadow var(--t-hover) ease; }
.field:focus-visible { outline: 0; border-color: rgba(62, 232, 176, 0.7); box-shadow: 0 0 0 4px rgba(62, 232, 176, 0.16); }
select.field option { background: #0c1222; color: var(--ink); }

/* pictures: night prints, washed in the three lights */
.pic { border-radius: var(--radius); background: #0a0f1e; outline: 1px solid rgba(255, 255, 255, 0.11); outline-offset: -1px; box-shadow: 0 40px 80px -44px rgba(0, 0, 0, 0.9); }
.pic img, .pic video { mix-blend-mode: normal; filter: grayscale(1) contrast(1.08) brightness(0.9); }
.pic::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; mix-blend-mode: color;
  background: linear-gradient(145deg, rgba(62, 232, 176, 0.62), rgba(73, 184, 255, 0.42) 48%, rgba(139, 108, 255, 0.7)); }
.band--map .pic img, .where figure:first-child .pic img { filter: invert(1) grayscale(1) contrast(1.12) brightness(0.86); }
.tile--pic .pic, .tile--sky .pic { border-radius: var(--radius); }

/* fragments */
[data-ui] .card__title { font-weight: 700; }
[data-ui] .pill { background: rgba(255, 255, 255, 0.09); }
[data-ui] .pill--yes { background: rgba(62, 232, 176, 0.14); color: #8ff5d2; }
[data-ui] .pill--no { background: rgba(255, 111, 145, 0.14); color: #ff9db3; }
[data-ui] .sel::after { height: 2px; background: var(--aurora); box-shadow: 0 0 12px rgba(62, 232, 176, 0.8); }
[data-ui] .dial-arc { stroke: rgba(255, 255, 255, 0.2); }
[data-ui] .dial-arc.is-live { stroke: var(--ui-accent); filter: drop-shadow(0 0 7px rgba(62, 232, 176, 0.85)); }
[data-ui] .dial-bell { stroke: #b9a6ff; stroke-width: 1.5; }
[data-ui] .chart__plot svg path { filter: drop-shadow(0 0 6px color-mix(in srgb, currentColor 0%, transparent)); }
[data-ui] .chart__plot svg path[stroke="#3ee8b0"], [data-ui].spark svg path[stroke="#3ee8b0"] { filter: drop-shadow(0 0 7px rgba(62, 232, 176, 0.7)); }
[data-ui] .chart__tip { background: rgba(16, 23, 42, 0.92); border: 1px solid var(--glass-line); border-radius: 12px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.code { color: #dfe6ff; }
.code .c { color: #7d88a8; }

/* hero: the board floats over the brightest part of the sky */
.hero { position: relative; }
.hero__stage { background: transparent; position: relative; }
.hero__stage::before { content: ""; position: absolute; inset: 12% 6% 8%; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: 0.85;
  background: conic-gradient(from 210deg at 50% 50%, rgba(62, 232, 176, 0.55), rgba(73, 184, 255, 0.4), rgba(139, 108, 255, 0.6), rgba(255, 96, 170, 0.25), rgba(62, 232, 176, 0.55)); }
@media (prefers-reduced-motion: no-preference) { .hero__stage::before { animation: halo 18s linear infinite; } }
@keyframes halo { to { transform: rotate(360deg); } }
[data-ui].board { box-shadow: var(--glass-shadow), 0 0 0 1px rgba(255, 255, 255, 0.04), 0 60px 120px -50px rgba(73, 184, 255, 0.45); border-radius: 26px; }
.phead { position: relative; }
.phead::before { content: ""; position: absolute; left: 18%; top: 18%; width: 46vw; height: 30vw; z-index: -1; pointer-events: none; filter: blur(80px); opacity: 0.55;
  background: radial-gradient(closest-side, rgba(73, 184, 255, 0.5), rgba(139, 108, 255, 0.28) 55%, transparent); }

/* sections with their own field */
.sizer { margin-inline: var(--margin); color: var(--ink); border-radius: 30px; padding-inline: clamp(1.25rem, 3.4vw, 3.5rem); overflow: hidden; position: relative;
  background: linear-gradient(135deg, rgba(62, 232, 176, 0.13), rgba(73, 184, 255, 0.06) 40%, rgba(139, 108, 255, 0.16)), rgba(255, 255, 255, 0.035); }
.sizer__fig { background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 34px rgba(73, 184, 255, 0.35)); padding-bottom: 0.06em; }
.sizer__unit { color: var(--ink); -webkit-text-fill-color: var(--ink); }
.sizer__how { color: var(--muted); }
.letter { background: transparent; }
.letter__sheet { border-radius: 26px; padding-bottom: 8px; }
.letter__strip { border-top: 1px solid var(--glass-line); }
.letter__edge { display: none; }
.cta { overflow: visible; }
.tile { height: 380px; }
.tile--main { border-radius: 30px; color: var(--ink); position: relative; overflow: hidden;
  background: linear-gradient(125deg, rgba(62, 232, 176, 0.3), rgba(73, 184, 255, 0.16) 46%, rgba(139, 108, 255, 0.34)), rgba(255, 255, 255, 0.04); }
.tile--main::after { content: ""; position: absolute; right: -12%; top: -40%; width: 60%; height: 150%; z-index: -1; filter: blur(60px); opacity: 0.7; background: radial-gradient(closest-side, rgba(139, 108, 255, 0.7), transparent); }
.tile--main h2 { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.4rem); }
.tile--pic { margin-left: 0; }
.tile--sky { margin-right: 0; }
.empty { padding: clamp(1.75rem, 4vw, 3rem); }
.note-row { padding: 1.4rem; margin-inline: -1.4rem; border-radius: 26px; border: 1px solid transparent; transition: background-color 260ms ease, border-color 260ms ease; }
@media (hover: hover) and (pointer: fine) { .note-row:hover { background: rgba(255, 255, 255, 0.045); border-color: var(--glass-line); } }
.rej__row .pie-fg { stroke: var(--accent); }
.holds li { background: linear-gradient(96deg, #fff 20%, #c9fff0 60%, #cfc4ff); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.06em; }
.pin__say.is-on h3 { color: var(--accent-strong); }
.foot { position: relative; }
.foot__line { border-top: 1px solid var(--glass-line); padding-top: 1.4rem; }

/* the fixed bar needs room wherever something sticks or is jumped to */
.sec__h, .note__side, .toc { top: 6.2rem; }
.row[id], .prose h2[id] { scroll-margin-top: 6.5rem; }
.sr-only:focus { position: fixed; left: 1rem; top: 5rem; z-index: 80; width: auto; height: auto; clip-path: none; padding: 0.6rem 1rem; border-radius: 999px; background: #fff; color: #060913; }

@media (max-width: 859px) {
  .top { inset: 10px 10px auto 10px; padding: 0.35rem 0.4rem 0.35rem 0.9rem; }
  .hero__stage { padding-top: 5.4rem; }
  .sizer { margin-inline: 10px; border-radius: 22px; }
  .tile { height: auto; }
  .cta__row { margin-inline: var(--margin); }
  .tile--main { border-radius: 22px; }
  .row__frag > [data-ui], .pin__stage > [data-ui], .chart > [data-ui], .note__side > [data-ui], .row__frag > .code { border-inline: 0; }
  .note-row { margin-inline: 0; padding: 1.1rem 0; }
  .phead::before { width: 90vw; height: 60vw; left: 0; }
}

/* each section carries its own light, alternating sides, so no screen is plain night */
main > .sec:not(.sizer):not(.cta):not(.letter) { position: relative; }
main > .sec:not(.sizer):not(.cta):not(.letter)::before { content: ""; position: absolute; z-index: -1; pointer-events: none; top: 4%; width: min(52vw, 760px); aspect-ratio: 1; border-radius: 50%; filter: blur(30px); }
main > .sec:nth-of-type(odd):not(.sizer):not(.cta):not(.letter)::before { right: -14vw; background: radial-gradient(closest-side, rgba(139, 108, 255, 0.26), rgba(73, 184, 255, 0.10) 60%, transparent); }
main > .sec:nth-of-type(even):not(.sizer):not(.cta):not(.letter)::before { left: -16vw; background: radial-gradient(closest-side, rgba(62, 232, 176, 0.20), rgba(73, 184, 255, 0.08) 60%, transparent); }

/* section headings carry a short bar of the three lights */
.sec__h::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 4px; margin-bottom: 1rem; background: var(--aurora); box-shadow: 0 0 18px rgba(62, 232, 176, 0.7); }

/* the remaining plain boxes become glass */
.cr__call { background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)); border: 1px solid var(--glass-line); border-radius: 16px; }
.work__row { border-radius: 12px; transition: background-color 220ms ease; }
.ask__more button { text-decoration-color: var(--accent); }
[data-ui].board, .tile--main, .sizer { position: relative; }
[data-ui].board::after, .tile--main::before, .sizer::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(62, 232, 176, 0.9), rgba(73, 184, 255, 0.25) 35%, rgba(255, 255, 255, 0.06) 55%, rgba(139, 108, 255, 0.85));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }

/* hero: the words stand beside the board, with three plain facts on glass chips */
.hero__text { justify-content: center; padding-top: 8rem; padding-bottom: 4rem; }
.hero__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.9rem 0 0; padding: 0; }
.hero__chips li { display: inline-flex; align-items: baseline; gap: 0.5rem; padding: 0.55rem 1rem; border-radius: 999px; font-size: var(--step-small); letter-spacing: 0; color: #d7dcf0;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hero__chips b { font-size: var(--step-body); font-weight: 800; letter-spacing: -0.02em; background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 859px) { .hero__text { padding-top: 1.75rem; padding-bottom: 0; } }

/* the section lights reach past the page edge; they must never widen it */
html, main { overflow-x: clip; }

/* =====================================================================
   LAYOUT, SPACING AND EDGES: ONE SYSTEM
   One centred column 1200px wide. One section gap. Three corner sizes
   (panel 24, card 18, control 12). One hairline for every edge.
   Everything lines up on the column's two sides, on every screen.
   ===================================================================== */
:root {
  --margin: max(clamp(1.125rem, 3.2vw, 2.5rem), calc((100vw - 1200px) / 2));
  --gutter: clamp(1rem, 2vw, 1.5rem);
  --section: clamp(4.5rem, 9vw, 8.5rem);
  --step-display: clamp(3rem, 8vw, 7.2rem);
  --r-panel: 24px; --r-card: 18px; --r-ctl: 12px; --radius: 18px;
  --line: rgba(255, 255, 255, 0.12);
  --gap-block: clamp(1rem, 1.8vw, 1.5rem);
}

/* edges: the same hairline and the same corners everywhere */
[data-ui].card, [data-ui] .card, .code, [data-ui].spark, .cr__call, .empty { border: 1px solid var(--line); border-radius: var(--r-card); }
[data-ui] .card .card { border-radius: var(--r-ctl); }
[data-ui].board, .sizer, .tile--main, .letter__sheet, .pic, .tile--pic .pic, .tile--sky .pic { border-radius: var(--r-panel); }
.sizer, .tile--main, .letter__sheet, [data-ui].board { border: 1px solid var(--line); }
.sizer::after { display: none; }
.field { border-radius: var(--r-ctl); border: 1px solid var(--line); }
.note-row { border-radius: var(--r-panel); }
.phead__h--note { font-size: clamp(2.3rem, 5.6vw, 5.2rem); }
.sec__h { font-size: clamp(1.6rem, 1.1rem + 1.5vw, 2.4rem); line-height: 1.02; }
.sec__h::before { margin-bottom: 0.9rem; }

/* hero: words on the column's left edge, the board on its right edge */
.hero__text { padding: 8rem 1.5rem 4rem var(--margin); }
.hero__stage { padding: 6.5rem var(--margin) 3rem 0; justify-items: end; }
.hero__stage::before { inset: 14% 0 10% 8%; }

/* how a rule gets in: the same two columns three times */
.cr { row-gap: clamp(2.5rem, 4.5vw, 4rem); }
.cr__x, .cr__x--mid, .cr__x--out { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--gutter); align-items: start; }
.cr__say { grid-column: 1; grid-row: 1; max-width: none; }
.cr__call { grid-column: 1; grid-row: 2; align-self: start; padding: 1.1rem 1.25rem; }
.cr__back, .cr__x--mid .cr__back, .cr__x--out .cr__back { grid-column: 2; grid-row: 1 / span 2; margin: 0; max-width: none; }

/* lists: every row closed by the hairline */
.rej__row { border-bottom: 1px solid rgba(255, 255, 255, 0.07); padding-block: 0.55rem; }
.rej__label { margin-bottom: 0.2rem; line-height: 1.6; }
.rej__group { margin-top: 2rem; }
.rej__pic { top: 6.2rem; }
.work { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--gutter); }
.work__row { border-bottom: 1px solid rgba(255, 255, 255, 0.07); border-radius: 0; padding-block: 0.6rem; }
.work__group { margin-top: 2rem; }
.work__frame { width: 100%; }
.facts > div { border-bottom: 1px solid rgba(255, 255, 255, 0.07); }

/* the sizer: a compact panel, not a tall field */
.sizer { min-height: 0; grid-template-rows: auto auto auto; row-gap: clamp(1.25rem, 2.6vw, 2.25rem); padding-block: clamp(1.75rem, 4vw, 3.25rem); }
.sizer__ctl { margin-top: 0; }
.sizer__fig, .sizer__how { grid-row: 3; }
.sizer__fig { font-size: clamp(5.5rem, 13vw, 12rem); line-height: 0.86; }

/* the letter, the closing tiles and the footer keep the section gap */
.letter { padding: 0 var(--margin); }
.letter__sheet, .letter__wrap { width: min(100%, 760px); }
.letter__sheet { padding: clamp(1.5rem, 4vw, 3.25rem) clamp(1.25rem, 4.5vw, 3.75rem) 0.5rem; }
.letter__strip { margin: 2.25rem calc(clamp(1.25rem, 4.5vw, 3.75rem) * -1) 0; padding-inline: clamp(1.25rem, 4.5vw, 3.75rem); }
.cta { margin-top: var(--section); }
.tile { height: 360px; }
.tile--main { padding: clamp(1.5rem, 3.4vw, 2.75rem); }
.foot { margin-top: var(--section); }
.foot__line { margin-top: 2.5rem; }
.ask__foot { margin-top: 2rem; }
.band .pic, .trio .pic, .where .pic, .split__pic .pic { border-radius: var(--r-panel); }

@media (max-width: 859px) {
  .top { inset: 10px 12px auto 12px; }
  /* words first, then the board, both on the same two margins */
  .hero__text { order: 1; padding: 6.25rem var(--margin) 0; gap: 0.9rem; }
  .hero__stage { order: 2; min-height: 0; padding: 2.25rem var(--margin) 0; justify-items: stretch; }
  .hero__stage::before { inset: 6% 0; }
  .hero__h { font-size: clamp(2rem, 8.4vw, 3rem); }
  [data-ui].board { width: 100%; }
  .hero__chips { margin-top: 0.4rem; }

  .sec__h { margin-bottom: 1.4rem; }
  .cr__x, .cr__x--mid, .cr__x--out { grid-template-columns: minmax(0, 1fr); }
  .cr__say, .cr__call, .cr__back, .cr__x--mid .cr__back, .cr__x--out .cr__back { grid-column: 1; grid-row: auto; }
  .cr__back, .cr__x--mid .cr__back, .cr__x--out .cr__back { margin-top: var(--gap-block); }

  /* fragments sit inside the margins with the same corners as every other card */
  .row__frag > [data-ui], .pin__stage > [data-ui], .chart > [data-ui], .note__side > [data-ui], .row__frag > .code { margin-inline: 0; border-radius: var(--r-card); padding-inline: 18px; border: 1px solid var(--line); }
  .rows > .row + .row { margin-top: 3.25rem; }

  .rej__pic { width: 100%; margin: 2rem 0 0; }
  .rej__pic .pic { aspect-ratio: 16 / 10; }
  .sec__body--rej { max-width: none; }

  .sizer { margin-inline: var(--margin); border-radius: var(--r-panel); grid-template-rows: auto auto auto auto; }
  .sizer__fig { grid-row: 3; font-size: 26vw; }
  .sizer__how { grid-row: 4; margin-top: 0; }

  .work { grid-template-columns: minmax(0, 1fr); }
  .work__thumb { display: none; }

  .ask__more { gap: 0.6rem; }
  .ask__more button { border-radius: 999px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line); min-height: 44px; padding: 0 1.15rem; }

  .cta__row { gap: var(--gap-block); margin-inline: var(--margin); }
  .tile--main { border-radius: var(--r-panel); min-height: 0; padding: 1.75rem 1.4rem; }
  .tile--pic, .tile--sky { height: clamp(130px, 40vw, 230px); }
  .foot { margin-top: 4.5rem; }
  .note-row { border-radius: 0; }
}
.hero__h { font-size: clamp(2rem, 0.8rem + 3vw, 3.5rem); }
@media (max-width: 859px) { .hero__h { font-size: clamp(2rem, 8.4vw, 3rem); } }

/* =====================================================================
   FEWER PANELS, CALMER DATA
   Steps, bars, tiles and plain cards replace most of the tables. The
   tables and charts that remain get more room and larger type.
   ===================================================================== */
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem var(--gutter); }
.two p { max-width: 46ch; }

/* one card recipe for steps, tiles, group cards, product cards and the outcome line */
.steps li, .tiles li, .gcard, .pcard, .outcome, .table-wrap {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line); border-radius: var(--r-card);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  box-shadow: var(--glass-shadow); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-block); }
.steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.steps li { padding: 1.5rem; }
.steps__n { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: rgba(62, 232, 176, 0.14); border: 1px solid rgba(62, 232, 176, 0.38); color: #9ff7d8; font-weight: 800; font-size: var(--step-small); letter-spacing: 0; }
.steps h3 { margin-top: 1.1rem; font-size: 1.25rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.steps p { margin-top: 0.55rem; font-size: 1rem; line-height: 1.5; color: #c9d0e6; max-width: none; }
.outcome { margin-top: var(--gap-block); padding: 1.3rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap;
  background: linear-gradient(110deg, rgba(62, 232, 176, 0.16), rgba(73, 184, 255, 0.07) 50%, rgba(139, 108, 255, 0.18)), rgba(255, 255, 255, 0.03); }
.outcome__say { max-width: 58ch; font-weight: 600; line-height: 1.4; }

.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.15rem; }
.bars__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem 1rem; align-items: baseline; }
.bars__name { font-weight: 600; line-height: 1.3; }
.bars__val { font-size: var(--step-small); color: var(--muted); white-space: nowrap; letter-spacing: 0; }
.bars__track { grid-column: 1 / -1; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.bars__track i { display: block; height: 100%; border-radius: inherit; background: var(--aurora); }
.bars__row--flat { padding-bottom: 0.95rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.bars__group + .bars__group { margin-top: 2.6rem; }
.bars__label { font-size: var(--step-small); font-weight: 600; color: var(--muted); letter-spacing: 0; margin-bottom: 1.1rem; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal="row"] .bars__track i { transform: scaleX(0); transform-origin: 0 50%; transition: transform 900ms var(--ease-out) 160ms; }
  .js [data-reveal="row"].is-in .bars__track i { transform: none; }
}

.gcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-block); }
.gcard { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; text-decoration: none; transition: transform 280ms var(--ease-out), border-color 280ms ease; }
.gcard__n { font-size: 2.75rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.gcard h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.gcard p { font-size: 1rem; line-height: 1.5; color: #c9d0e6; }
.gcard ul { list-style: none; margin: 0.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.gcard li { font-size: var(--step-small); letter-spacing: 0; padding: 0.25rem 0.7rem; border-radius: 999px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line); }
.gcard__go { margin-top: auto; padding-top: 1rem; font-size: var(--step-small); font-weight: 600; letter-spacing: 0; color: var(--accent-strong); }
@media (hover: hover) and (pointer: fine) { .gcard:hover { transform: translateY(-4px); border-color: rgba(62, 232, 176, 0.5); } }

.tiles { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-block); }
.tiles li { padding: 1.4rem 1.3rem; display: flex; flex-direction: column; gap: 0.6rem; }
.tiles b { font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.tiles span { font-size: var(--step-small); line-height: 1.4; letter-spacing: 0; color: #c9d0e6; }

.pcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-block); }
.pcard { padding: 1.5rem; scroll-margin-top: 6.5rem; }
.pcard__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.pcard__kind { font-size: var(--step-small); color: var(--muted); letter-spacing: 0; }
.pcard .state { margin-top: 0; }
.pcard h3 { margin-top: 1.1rem; font-size: 1.45rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
.pcard p { margin-top: 0.6rem; font-size: 1rem; line-height: 1.5; color: #c9d0e6; }

/* the tables that remain: one card, larger type, numbers on the right */
.table-wrap { padding: 0.35rem 1.5rem; overflow-x: auto; }
.table { width: 100%; min-width: 0; border-collapse: collapse; font-size: 1rem; }
.table th, .table td { padding: 1.05rem 1rem 1.05rem 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); text-align: left; vertical-align: baseline; line-height: 1.35; }
.table thead th { font-size: var(--step-small); font-weight: 600; color: var(--muted); letter-spacing: 0; border-bottom-color: rgba(255, 255, 255, 0.18); }
.table tbody th { font-weight: 600; }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table th:last-child, .table td:last-child { padding-right: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.note__body .table-wrap { max-width: none; margin-block: 1.75rem; }

/* the chart: more room, larger labels */
.chart > [data-ui].card { padding: 1.6rem 1.75rem 1.4rem; }
.chart [data-ui] .card__title, .chart[data-ui] .card__title { font-size: 1.15rem; }
[data-ui] .chart__legend { font-size: 13px; gap: 8px 22px; margin-top: 14px; }
[data-ui] .chart__y, [data-ui] .chart__x, [data-ui] .chart__end { font-size: 13px; }
[data-ui] .chart__plot { height: clamp(240px, 30vw, 380px); margin-top: 28px; }

@media (max-width: 859px) {
  .two, .steps, .steps--4, .gcards, .pcards { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.5rem; }
  .steps li, .gcard, .pcard { padding: 1.25rem; }
  .table-wrap { padding: 0.2rem 1.1rem; }
  .chart > [data-ui].card { padding: 1.2rem 1.1rem 1.1rem; }
  [data-ui] .chart__plot { height: 230px; }
}
@media (max-width: 720px) {
  .table tbody tr { border-top: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding-block: 0.9rem; }
  .table tbody tr:last-child { border-bottom: 0; }
  .table tbody th, .table tbody td { border: 0; padding: 0.16rem 0; }
}

/* =====================================================================
   PRESENTATION v2 (15 Nov 2026)
   Two-tier header with a market clock, numbered sections on hairlines,
   a title row over full-width content, one data-table style, KPI bars,
   and a four-column footer.
   ===================================================================== */
:root { --maxw: 1320px; --hair: rgba(255, 255, 255, 0.1); --hair-strong: rgba(255, 255, 255, 0.18); --section: clamp(4.5rem, 9vw, 8.5rem); }

/* ---------- header ---------- */
.top.top--v2 { position: fixed; inset: 0 0 auto 0; display: block; padding: 0; border-radius: 0; border: 0; border-bottom: 1px solid var(--glass-line);
  background: rgba(6, 9, 19, 0.72); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 0.9); transition: background-color 300ms ease; }
.top--v2.is-scrolled { background: rgba(6, 9, 19, 0.9); }
.tk { border-bottom: 1px solid var(--hair); font-size: 12px; letter-spacing: 0.02em; color: var(--muted); font-weight: 500; overflow: hidden; max-height: 34px; transition: max-height 320ms var(--ease-out), opacity 240ms ease; }
.top--v2.is-scrolled .tk { max-height: 0; opacity: 0; border-bottom-color: transparent; }
.tk__in { max-width: var(--maxw); margin-inline: auto; padding: 0 var(--margin); height: 34px; display: flex; align-items: center; gap: 1.75rem; }
.tk__k { display: inline-flex; gap: 0.55rem; align-items: baseline; white-space: nowrap; }
.tk__lbl { text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px; }
.tk__k b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.tk__mk { display: flex; gap: 1.5rem; flex: 1; }
.tk__m { display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap; }
.tk__m i { width: 7px; height: 7px; border-radius: 50%; background: #5d6787; }
.tk__m.is-open i { background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: tkpulse 2s ease-in-out infinite; }
.tk__m.is-open .tk__s { color: var(--accent-strong); }
.tk__n { color: var(--ink); font-weight: 600; }
.tk__s { font-variant-numeric: tabular-nums; }
.tk__r { text-decoration: none; color: var(--muted); white-space: nowrap; }
.tk__r:hover { color: var(--ink); }
@keyframes tkpulse { 50% { opacity: 0.45; } }
.top__bar { max-width: var(--maxw); margin-inline: auto; padding: 0 var(--margin); height: 68px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; }
.top--v2 .mark { gap: 0.75rem; }
.top--v2 .mark svg { width: 32px; height: 32px; }
.mark__t { display: flex; flex-direction: column; line-height: 1.05; }
.mark__t span { font-size: 1.12rem; font-weight: 800; letter-spacing: -0.035em; }
.mark__t small { font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.top--v2 .nav { justify-self: center; gap: 0.25rem; font-size: 14px; }
.top--v2 .nav a { padding: 0.55rem 0.85rem; border-radius: 8px; color: #c9d0e6; background: none; box-shadow: none; margin: 0; font-weight: 600; }
.top--v2 .nav a::after { display: block; left: 0.85rem; right: 0.85rem; bottom: 2px; height: 2px; border-radius: 2px; background: var(--aurora); }
.top--v2 .nav a[aria-current="page"] { color: #fff; background: none; }
.top--v2 .nav a:last-child { background: none; color: #c9d0e6; font-weight: 600; margin-left: 0; box-shadow: none; }
.top--v2 .nav a:last-child[aria-current="page"] { color: #fff; background: none; }
@media (hover: hover) and (pointer: fine) { .top--v2 .nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); } }
.top__act { display: flex; align-items: center; gap: 0.6rem; }
.button--sm { min-height: 2.5rem; padding: 0 1.1rem; font-size: 14px; font-weight: 700; border-radius: 10px; }
.top--v2 .menu-btn { min-height: 40px; border-radius: 10px; }
main { padding-top: 102px; }
.hero, .phead { margin-top: -102px; }
.sec__h, .note__side, .toc, .rej__pic { top: 7.5rem; }
:target, .row[id], .prose h2[id], .pcard { scroll-margin-top: 8rem; }
@media (max-width: 1080px) { .tk__r { display: none; } .top--v2 .nav a { padding-inline: 0.6rem; } .top--v2 .nav a::after { left: 0.6rem; right: 0.6rem; } }
@media (max-width: 859px) {
  .top.top--v2 { inset: 0 0 auto 0; padding: 0; }
  .tk__in { gap: 1rem; } .tk__k { display: none; } .tk__mk { gap: 1rem; justify-content: space-between; }
  .top__bar { height: 60px; grid-template-columns: 1fr auto; gap: 1rem; }
  .mark__t small { display: none; }
  .top__act .button--sm { display: none; }
  main { padding-top: 94px; } .hero, .phead { margin-top: -94px; }
}
@media (max-width: 420px) { .tk__s { display: none; } }

/* ---------- sections: numbered, on a hairline, title row then content ---------- */
main { counter-reset: sec; }
main > .sec.wrap, main > .kpibar.wrap { max-width: var(--maxw); margin-inline: auto; }
main > .sec.wrap > .grid { border-top: 1px solid var(--hair); padding-top: clamp(1.4rem, 2.2vw, 2rem); row-gap: clamp(1.75rem, 3vw, 2.75rem); }
.sec__h { grid-column: 1 / span 6; grid-row: 1; position: static; align-self: end; margin-top: 0; font-size: clamp(2rem, 1.3rem + 2.2vw, 3.25rem); }
.sec__h::before { counter-increment: sec; content: counter(sec, decimal-leading-zero) "\2002\2014\2002" attr(data-eyebrow); display: block; width: auto; height: auto; border-radius: 0; background: none; box-shadow: none;
  margin-bottom: 1.1rem; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-strong); line-height: 1; }
.sec__intro--top { grid-column: 8 / -1; grid-row: 1; align-self: end; margin: 0; max-width: 48ch; color: #c9d0e6; font-size: 1.05rem; line-height: 1.55; }
.sec__body, .sec__body--rej, .facts.sec__body { grid-column: 1 / -1; grid-row: 2; }
.sec__body--rej { grid-column: 1 / span 9; }
.rej__pic { grid-column: 10 / -1; grid-row: 2; position: static; }
main > .sec > .grid > .empty { grid-column: 1 / -1; }
.sec__body > .facts, .sec__body.facts { max-width: none; }
@media (max-width: 859px) {
  .sec__h, .sec__intro--top, .sec__body, .sec__body--rej, .rej__pic { grid-column: 1 / -1; grid-row: auto; }
  .sec__intro--top { margin-top: -0.75rem; }
  .rej__pic { margin-top: 0; }
}

/* ---------- KPI bar ---------- */
.kpi { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); border: 1px solid var(--glass-line); border-radius: var(--r-card, 18px); overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.kpi li { padding: 1.5rem 1.6rem 1.4rem; display: flex; flex-direction: column; gap: 0.55rem; min-width: 0; }
.kpi li + li { border-left: 1px solid var(--hair); }
.kpi b { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); font-weight: 800; line-height: 1; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.kpi span { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }
.kpi--hero { --n: 4; }
.kpibar { position: relative; z-index: 2; margin-top: clamp(-4.5rem, -5vw, -2rem); padding-inline: var(--margin); }
@media (max-width: 859px) {
  .kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi li:nth-child(odd) { border-left: 0; }
  .kpi li:nth-child(n+3) { border-top: 1px solid var(--hair); }
  .kpi li { padding: 1.1rem 1.1rem; }
  .kpibar { margin-top: 2rem; }
}

/* ---------- hero: bigger headline ---------- */
.p-home .hero { min-height: clamp(680px, 100svh, 900px); }
.p-home .hero__h { font-size: clamp(2.6rem, 1rem + 4.6vw, 5.4rem); line-height: 0.94; letter-spacing: -0.05em; }
.p-home .hero__lead { font-size: var(--step-lead); line-height: 1.35; max-width: 34ch; }
.p-home .hero__text { padding-bottom: calc(var(--margin) + 6rem); }

/* ---------- one data-table style ---------- */
.dt-wrap, .table-wrap.dt-wrap { padding: 0; overflow-x: auto; border: 1px solid var(--glass-line); border-radius: var(--r-card, 18px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); box-shadow: var(--glass-shadow); }
.table.dt { width: 100%; font-size: 15px; border-collapse: separate; border-spacing: 0; }
.table.dt thead th { position: sticky; top: 0; z-index: 1; background: rgba(12, 18, 34, 0.94); font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  padding: 0.95rem 1.25rem; border-bottom: 1px solid var(--hair-strong); white-space: nowrap; }
.table.dt th, .table.dt td { padding: 0.95rem 1.25rem; border-bottom: 1px solid var(--hair); vertical-align: middle; line-height: 1.4; }
.table.dt th:first-child, .table.dt td:first-child { padding-left: 1.5rem; }
.table.dt th:last-child, .table.dt td:last-child { padding-right: 1.5rem; }
.table.dt tbody th { font-weight: 600; color: var(--ink); }
.table.dt tbody td { color: #c9d0e6; }
.table.dt tbody tr:last-child > * { border-bottom: 0; }
.table.dt tbody tr { transition: background-color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .table.dt tbody tr:hover { background: rgba(255, 255, 255, 0.04); } }
.table.dt .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table.dt td.num b, .table.dt td.num { color: var(--ink); font-weight: 700; }
.dt__base { background: rgba(62, 232, 176, 0.07); }
.dt__base th, .dt__base td.num b { color: var(--accent-strong) !important; }
.dt__gstart:not(:first-child) > * { border-top: 1px solid var(--hair-strong); }
.dt__grp { font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.dt__idx { width: 3.5rem; color: var(--muted) !important; font-variant-numeric: tabular-nums; font-weight: 700; font-size: 13px; }
.dt__barh { width: 34%; }
.dt__bar { width: 34%; }
.mbar { display: block; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.mbar i { display: block; height: 100%; border-radius: inherit; background: var(--aurora); }
.mbar--na { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 6px, transparent 6px 12px); }
.dt__link { text-decoration: none; background-image: linear-gradient(var(--accent), var(--accent)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size 260ms var(--ease-out); }
.dt__link:hover { background-size: 100% 2px; }
.dt--plain td:not(.num):not(.dt__idx) { max-width: 60ch; }
.note__body .dt-wrap, .note__body .table-wrap.dt-wrap { max-width: none; margin-block: 1.75rem; }
@media (prefers-reduced-motion: no-preference) {
  .js .dt-wrap[data-reveal] .mbar i { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1000ms var(--ease-out) 200ms; }
  .js .dt-wrap[data-reveal].is-in .mbar i { transform: none; }
}
/* badges */
.badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.22rem 0.65rem; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; border: 1px solid; line-height: 1.3; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--pos { color: #8ff5d2; background: rgba(62, 232, 176, 0.1); border-color: rgba(62, 232, 176, 0.32); }
.badge--neg { color: #ff9fb6; background: rgba(255, 111, 145, 0.1); border-color: rgba(255, 111, 145, 0.32); }
.badge--warn { color: #ffd38a; background: rgba(255, 196, 92, 0.1); border-color: rgba(255, 196, 92, 0.3); }
.badge--info { color: #a9d8ff; background: rgba(73, 184, 255, 0.1); border-color: rgba(73, 184, 255, 0.3); }
/* phones: rows become labelled cards */
@media (max-width: 720px) {
  .table.dt thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .table.dt, .table.dt tbody { display: block; }
  .table.dt tbody tr { display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 1rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--hair); }
  .table.dt tbody th, .table.dt tbody td { display: block; padding: 0 !important; border: 0 !important; text-align: left; }
  .table.dt tbody th { grid-column: 1 / -1; order: -1; }
  .table.dt tbody td::before { content: none; }
  .table.dt tbody td.num { text-align: right; }
  .table.dt .dt__bar { grid-column: 1 / -1; width: auto; }
  .table.dt td:has(> .dt__grp:only-child) { grid-column: 1 / -1; }
  .table.dt td:empty { display: none; }
  .dt__idx { display: none !important; }
  .dt--plain tbody td:not(.num) { grid-column: 1 / -1; }
}

/* ---------- facts lists become ruled rows in a panel ---------- */
.facts { border: 1px solid var(--glass-line); border-radius: var(--r-card, 18px); background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)); padding: 0.4rem 1.5rem; }
.facts > div { grid-template-columns: minmax(0, 0.32fr) minmax(0, 1fr); padding-block: 1rem; border-bottom: 1px solid var(--hair); border-top: 0; }
.facts > div:last-child { border-bottom: 0; }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-top: 0.2em; }
.facts dd { color: var(--ink); }
@media (max-width: 859px) { .facts { padding: 0.2rem 1.1rem; } }

/* ---------- footer ---------- */
.foot.foot--v2 { max-width: var(--maxw); margin: clamp(5rem, 12vw, 9rem) auto 0; padding: 0 var(--margin) 1.6rem; }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 3rem; padding-top: 2.75rem; border-top: 1px solid var(--glass-line); }
.foot__brand p { margin-top: 1rem; color: var(--muted); font-size: 15px; max-width: 36ch; }
.foot__brand .mark span { font-size: 1.1rem; }
.foot__mail { display: inline-block; margin-top: 1.1rem; font-weight: 700; text-decoration: none; background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.fcol h3 { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.fcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.fcol a { text-decoration: none; font-weight: 600; font-size: 15px; color: #dfe4f5; }
.fcol a:hover { color: var(--accent-strong); }
.foot__notice--v2 { grid-column: auto; margin-top: 2.75rem; padding: 1.1rem 1.3rem; border: 1px solid var(--hair); border-radius: 14px; background: rgba(255, 255, 255, 0.03); display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.foot__notice--v2 p { max-width: none; font-size: 13px; line-height: 1.55; }
.foot__tag { font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #ffd38a; border: 1px solid rgba(255, 196, 92, 0.35); border-radius: 6px; padding: 0.25rem 0.5rem; margin-top: 0.1rem; }
.foot--v2 .credits { margin-top: 1rem; font-size: 12px; color: var(--muted); }
.foot--v2 .credits p { max-width: none; }
.foot--v2 .foot__line { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.75rem; padding-top: 1.2rem; border-top: 1px solid var(--hair); font-size: 13px; }
.foot--v2 .foot__legal { display: flex; gap: 1.25rem; }
@media (max-width: 859px) {
  .foot__top { grid-template-columns: 1fr; gap: 2.25rem; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; }
  .foot__notice--v2 { grid-template-columns: 1fr; gap: 0.6rem; }
  .foot--v2 .foot__line { flex-direction: column; align-items: flex-start; }
}
/* v2 fixes */
.dt__sub th { background: rgba(255, 255, 255, 0.035); padding-block: 0.6rem !important; font-size: 11.5px; font-weight: 700 !important; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted) !important; border-top: 1px solid var(--hair-strong); }
.dt__sub th span { margin-left: 0.8rem; letter-spacing: 0.04em; text-transform: none; font-weight: 600; color: #6f7a99; }
.dt--ledger tbody th { min-width: 14rem; }
.dt--ledger .dt__bar, .dt--ledger .dt__barh { width: 26%; }
.sec__body > * + .kpi, .sec__body > .kpi + * { margin-top: 2rem; }
.phead { max-width: var(--maxw); margin-inline: auto; }
.phead__h, .phead__lead, .phead__meta, .phead__act { grid-column: 1 / span 9; }
.phead__lead { max-width: 40ch; }
.phead__h::before { content: attr(data-eyebrow); display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 1.4rem; line-height: 1; -webkit-text-fill-color: var(--accent-strong); }
.cta__row { max-width: calc(var(--maxw) - 2 * var(--margin)); margin-inline: auto; }
@media (max-width: 859px) { .dt__sub th { display: block; } .table.dt tbody tr.dt__sub { display: block; padding: 0; } .dt__sub th { padding: 0.6rem 1.1rem !important; } .dt--ledger tbody th { min-width: 0; } .phead__h, .phead__lead, .phead__meta, .phead__act { grid-column: 1 / -1; } }
.ct__form { grid-column: 1 / span 7; grid-row: 2; }
.ct__desk { grid-column: 9 / -1; grid-row: 2; }
.ct__form .form__two { gap: 1rem var(--gutter); }
main > .band, main > .where, main > section.band { max-width: var(--maxw); margin-inline: auto; }
@media (max-width: 859px) { .ct__form, .ct__desk { grid-row: auto; } }
.notes { grid-column: 1 / -1; }
.note > .note__body:not(:only-child) { grid-column: 4 / -1; }
.note > .note__body:only-child { grid-column: 1 / span 8; }
@media (max-width: 859px) {
  .p-home .hero { margin-top: 0; }
  .p-home .hero__text { padding-top: 2.25rem; }
  .table.dt.dt--ledger tbody tr:not(.dt__sub) { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 0.55rem 0.9rem; }
  .dt--ledger .dt__bar { grid-column: auto; order: 1; }
  .dt--ledger td.num:not(:last-child) { order: 2; min-width: 2ch; }
  .dt--ledger td.num:last-child { order: 3; }
  .table.dt tbody tr.dt__sub th { padding: 0.6rem 1.1rem !important; border-top: 1px solid var(--hair-strong) !important; }
  .note > .note__body:only-child { grid-column: 1 / -1; }
}
.note > .note__body:only-child { grid-column: 1 / -1; }
.note__body > p, .note__body > h2, .note__body > ul, .note__body > ol { max-width: 68ch; }
.note__body .table.dt tbody th { min-width: 11rem; }
.row__frag--narrow { grid-column: 5 / -1; }

/* =====================================================================
   AURORA, DISCIPLINED (15 Nov 2026)
   One 1200px column for everything. A plain night ground with one aurora
   light behind the hero. Flat panels on hairlines, solid numbers, one
   solid mint button, true black-and-white photographs, one spacing rhythm.
   ===================================================================== */
:root { --maxw: 100%; --section: clamp(4.5rem, 8.5vw, 7.5rem); --r-panel: 12px; --r-card: 10px; --r-ctl: 8px; --radius: 10px;
  --panel: #0a1020; --panel-2: #0d1426; --line: rgba(255, 255, 255, 0.1); }
.cta__row { max-width: none; }

/* ground: one light, top of the page only; no grid, no drifting blobs */
body { position: relative; }
body::before { position: absolute; inset: 0 0 auto 0; height: 1100px; animation: none !important; transform: none;
  background: radial-gradient(55% 75% at 78% 8%, rgba(73, 184, 255, 0.16), transparent 70%), radial-gradient(45% 60% at 12% 0%, rgba(62, 232, 176, 0.12), transparent 70%), radial-gradient(40% 55% at 95% 40%, rgba(139, 108, 255, 0.12), transparent 70%); }
body:not(.p-home)::before { height: 720px; opacity: 0.8; }
body::after { display: none; }
main > .sec::before, .phead::before, .tile--main::after { display: none !important; }
.hero__stage::before { opacity: 0.32; filter: blur(90px); animation: none !important; }

/* panels: flat, hairline, small corners */
[data-ui].card, [data-ui] .card, [data-ui].board, .code, [data-ui].spark, .empty, .letter__sheet, .sizer, .tile--main, .field,
.steps li, .tiles li, .gcard, .pcard, .outcome, .facts {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card);
  -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
[data-ui].board { border-radius: var(--r-panel); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9); background: rgba(10, 16, 32, 0.92); }
.outcome { background: var(--panel); border-left: 2px solid var(--accent); }
.lit::before { display: none; }
.field { background: rgba(255, 255, 255, 0.03); border-radius: var(--r-ctl); }
@media (hover: hover) and (pointer: fine) { .gcard:hover { transform: none; border-color: rgba(62, 232, 176, 0.45); } }

/* tables: ruled rows, no card */
.dt-wrap, .table-wrap.dt-wrap { background: none; border: 0; border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  border-top: 1px solid rgba(255, 255, 255, 0.28); border-bottom: 1px solid var(--line); }
.table.dt thead th { background: var(--bg); position: static; }
.table.dt th:first-child, .table.dt td:first-child { padding-left: 0.25rem; }
.table.dt th:last-child, .table.dt td:last-child { padding-right: 0.25rem; }
.dt__base { background: rgba(62, 232, 176, 0.05); }
.dt__sub th { background: rgba(255, 255, 255, 0.025); }
.badge { border-radius: 6px; }
@media (max-width: 720px) { .table.dt tbody tr { padding-inline: 0.25rem; } .table.dt tbody tr.dt__sub th { padding-inline: 0.25rem !important; } }

/* numbers: solid white, on rules; no gradient text outside the hero headline */
.kpi { background: none; border: 0; border-radius: 0; border-top: 1px solid rgba(255, 255, 255, 0.28); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; }
.kpi li { padding: 1.4rem 1.5rem 1.3rem; }
.kpi li:first-child { padding-left: 0.25rem; }
.kpi b, .gcard__n, .tiles b, .foot__mail, .sizer__fig, .holds li, .sheet__links a, .phead__h [data-line], .phead__h:not(.lines) {
  background: none !important; -webkit-background-clip: border-box; background-clip: border-box; color: var(--ink); -webkit-text-fill-color: currentColor; filter: none; }
.foot__mail { color: var(--accent-strong); }
.gcard__n { color: var(--accent-strong); }
.sec__h::before { color: var(--accent); }

/* buttons: one solid mint, one quiet outline */
.button { background: var(--accent); color: var(--accent-ink); border-radius: var(--r-ctl); box-shadow: none; font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .button:hover { background: var(--accent-strong); box-shadow: none; } }
.button--paper { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.button--ink { background: transparent; color: var(--ink); box-shadow: 0 0 0 1px var(--line) inset; }
.top--v2 .button--sm { border-radius: var(--r-ctl); }

/* photographs: true black and white, near-square corners */
.pic, .tile--pic .pic, .tile--sky .pic, .band .pic, .trio .pic, .where .pic, .split__pic .pic { border-radius: 4px; box-shadow: none; outline-color: rgba(255, 255, 255, 0.08); }
.pic::before { display: none !important; }
.pic img, .pic video { filter: grayscale(1) contrast(1.06) brightness(0.88); }
.band--map .pic img, .where figure:first-child .pic img { filter: invert(1) grayscale(1) contrast(1.1) brightness(0.82); }
.cap { color: var(--muted); font-size: 13px; margin-top: 0.7rem; }

/* sections: hairline with a short aurora mark; one rhythm */
main > .sec.wrap > .grid { background: linear-gradient(100deg, #3ee8b0, #49b8ff 55%, #8b6cff) 0 0 / 56px 2px no-repeat; border-top-color: var(--line); row-gap: 3rem; }
.sec { margin-top: var(--section); }
.sec__body > p:last-child:has(.textlink), .sec__body > p:last-child:has(.link) { margin-top: 1.5rem !important; }

/* closing panel: flat, a single aurora line on top */
.tile { height: 320px; }
.tile--main { background: var(--panel); border-top: 2px solid transparent; border-image: linear-gradient(100deg, #3ee8b0, #49b8ff, #8b6cff) 1; border-image-slice: 1 0 0 0; }
.tile--main h2 { font-size: clamp(1.9rem, 1.1rem + 2vw, 3rem); }

/* the letter keeps to the column */
.letter__wrap, .letter__sheet { width: 100%; }
.letter__sheet { padding: clamp(1.75rem, 4vw, 3.25rem); display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(1.5rem, 4vw, 3.5rem); }
.letter__sheet > * { grid-column: 2; }
.letter__mark { grid-column: 1; grid-row: 1 / span 3; width: 44px; height: 44px; }
.letter__body p { max-width: 64ch; }
.letter__strip { grid-column: 1 / -1; margin: 2rem calc(clamp(1.75rem, 4vw, 3.25rem) * -1) 0; padding: 1.2rem clamp(1.75rem, 4vw, 3.25rem) 0; }
@media (max-width: 859px) { .letter__sheet { grid-template-columns: 1fr; } .letter__sheet > *, .letter__mark { grid-column: 1; grid-row: auto; } .letter__mark { margin-bottom: 1.25rem; } }

/* hero: words and board on the column's two edges, numbers locked beneath */
.p-home .hero { min-height: 0; }
.p-home .hero__text { padding-top: 10.5rem; padding-bottom: 5rem; }
.p-home .hero__stage { padding-top: 9rem; padding-bottom: 5rem; }
.kpibar { margin-top: 0; }
.kpibar .kpi { border-top-color: var(--line); }
@media (max-width: 859px) { .p-home .hero__text { padding-top: 2.25rem; padding-bottom: 0; } .p-home .hero__stage { padding-top: 2rem; padding-bottom: 2rem; } }

/* header & footer sit on the same column */
.top--v2 { background: rgba(6, 9, 19, 0.86); box-shadow: none; }
.foot__notice--v2 { border-radius: var(--r-card); }
.cta__row { margin-inline: var(--margin); }
.two > p + p, .two > * + * { margin-top: 0; }
.two { align-items: start; }
@media (min-width: 860px) {
  .p-home .hero { align-items: center; }
  .p-home .hero__text { padding-top: 9.5rem; padding-bottom: 4.5rem; justify-content: center; }
  .p-home .hero__stage { padding-top: 9.5rem; padding-bottom: 4.5rem; }
}
@media (max-width: 859px) {
  .kpi li { padding: 1.1rem 0.25rem; }
  .kpi li:nth-child(even) { padding-left: 1.1rem; }
}
/* v3: spam check, longer menu */
.form__check { display: grid; gap: 0.5rem; max-width: 26rem; }
.form__check label b { color: var(--accent-strong); font-variant-numeric: tabular-nums; }
.form__checkrow { display: flex; gap: 0.6rem; }
.form__checkrow .field { width: 7rem; text-align: center; font-weight: 700; font-size: 1.1rem; }
.form__new { padding: 0 1rem; border-radius: var(--r-ctl); border: 1px solid var(--line); background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.form__new:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.3); }
.form__hint { font-size: 13px; color: var(--muted); }
.top--v2 .nav { gap: 0; font-size: 13.5px; }
.top--v2 .nav a { padding-inline: 0.7rem; white-space: nowrap; }
.top--v2 .nav a::after { left: 0.7rem; right: 0.7rem; }
@media (max-width: 1240px) { .mark__t small { display: none; } .top--v2 .nav a { padding-inline: 0.5rem; } .top--v2 .nav a::after { left: 0.5rem; right: 0.5rem; } }
@media (max-width: 1060px) { .top__act .button--sm { display: none; } }
.p-goals .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .p-goals .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .p-goals .steps { grid-template-columns: 1fr; } }
@media (max-width: 1320px) { .top--v2 .nav { font-size: 13px; } .top--v2 .nav a { padding-inline: 0.5rem; } .top--v2 .nav a::after { left: 0.5rem; right: 0.5rem; } .mark__t small { display: none; } }
@media (max-width: 1180px) { .top__act .button--sm { display: none; } }
/* v4 (15 Nov 2026): explainer video in the hero; session board in its own section */
.vid { margin: 0; width: 100%; }
.vid__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-panel); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14); background: #060913; box-shadow: 0 40px 100px -45px rgba(0, 0, 0, 0.95); }
.vid__frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vid__sound { position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.6rem 1rem 0.6rem 0.7rem; border: 0; border-radius: var(--r-ctl);
  background: var(--accent); color: var(--accent-ink); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8); transition: opacity 200ms ease, transform 200ms ease; }
.vid__sound:hover { background: var(--accent-strong); }
.vid__ico { width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; background: rgba(4, 32, 26, 0.16); font-size: 11px; padding-left: 2px; }
.vid__live { position: absolute; right: 1rem; top: 1rem; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.3rem 0.65rem; border-radius: 6px; background: rgba(4, 7, 15, 0.7); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #c9d0e6; }
.vid__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: tkpulse 2s ease-in-out infinite; }
.vid.is-sound .vid__sound, .vid.is-sound .vid__live { opacity: 0; pointer-events: none; transform: translateY(6px); }
.vid.is-paused .vid__live { display: none; }
.vid__cap { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.85rem; font-size: 14px; color: var(--muted); }
.vid__cap b { color: var(--ink); font-weight: 700; }
.vid__dur { font-variant-numeric: tabular-nums; font-weight: 700; }
@media (min-width: 860px) {
  .p-home .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); column-gap: clamp(2rem, 4vw, 4rem); }
  .p-home .hero__stage { align-self: center; }
  .p-home .hero__stage > div { width: 100%; max-width: none; }
  .p-home .hero__h { font-size: clamp(2.6rem, 0.8rem + 4vw, 5rem); }
}
.sec__body--board { display: flex; justify-content: flex-start; }
.sec__body--board > div { width: min(100%, 560px); }
@media (min-width: 1100px) { .sec__body--board { justify-content: flex-end; } #opens-h + .sec__intro--top { grid-row: 1; } }
/* v4 fixes: board section as a split; sound button clear of captions */
@media (min-width: 1000px) {
  section[aria-labelledby="opens-h"] > .grid { grid-template-rows: auto auto 1fr; }
  #opens-h { grid-column: 1 / span 6; grid-row: 1; align-self: end; }
  #opens-h + .sec__intro--top { grid-column: 1 / span 5; grid-row: 2; align-self: start; }
  section[aria-labelledby="opens-h"] .sec__body--board { grid-column: 7 / -1; grid-row: 1 / span 3; justify-content: flex-end; }
  section[aria-labelledby="opens-h"] .sec__body--board > div { width: 100%; max-width: 560px; }
}
.vid__sound { top: 1rem; bottom: auto; }
@media (max-width: 859px) {
  .vid__live { display: none; }
  .vid__sound { top: 0.6rem; left: 0.6rem; padding: 0.4rem 0.75rem 0.4rem 0.45rem; font-size: 12.5px; gap: 0.45rem; }
  .vid__ico { width: 1.3rem; height: 1.3rem; font-size: 9px; }
}
section[aria-labelledby="opens-h"] .sec__body--board > div { margin-left: auto; }
/* v5 (21 Nov 2026): edge fund — gates, Edge Book, market cards, ten-link menu */
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .steps--4 { grid-template-columns: 1fr; } }
.hero__acts { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.gtrack { display: inline-flex; gap: 5px; vertical-align: middle; }
.gtrack i { width: 26px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); }
.gtrack i.on { background: linear-gradient(100deg, #3ee8b0, #49b8ff); }
.dt__sub2 { display: block; margin-top: 0.2rem; font-size: 13px; font-weight: 500; color: var(--muted); }
.dt--book td:nth-child(3) { color: #c9d0e6; }
.ecards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
.ecard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(1.4rem, 2.5vw, 2rem); scroll-margin-top: 8rem; }
.ecard:target { border-color: rgba(62, 232, 176, 0.55); }
.ecard__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.ecard__mk { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ecard h3 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); font-weight: 800; letter-spacing: -0.035em; margin: 1rem 0 0.8rem; }
.ecard dl { margin-top: 1.25rem; display: grid; gap: 1rem; }
.ecard dl > div { border-top: 1px solid var(--line); padding-top: 0.9rem; }
.ecard dt { font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.35rem; }
.ecard dd { margin: 0; color: #dfe4f5; line-height: 1.5; }
@media (max-width: 859px) { .ecards { grid-template-columns: 1fr; } }
.mk__form { grid-column: 1 / span 8; grid-row: 2; }
@media (max-width: 859px) { .mk__form { grid-column: 1 / -1; grid-row: auto; } }
.dt--gates td { vertical-align: top; }
/* ten-link menu */
.top--v2 .nav a { padding-inline: 0.55rem; font-size: 13.5px; }
.top--v2 .nav a::after { left: 0.55rem; right: 0.55rem; }
@media (max-width: 1400px) { .top__act .button--sm { display: none; } }
@media (max-width: 1240px) { .top--v2 .nav a { padding-inline: 0.42rem; font-size: 13px; } .top--v2 .nav a::after { left: 0.42rem; right: 0.42rem; } }
@media (max-width: 1100px) { .top--v2 .nav { display: none; } .top--v2 .menu-btn { display: inline-flex; } }
.mk__next { grid-column: 9 / -1; grid-row: 2; align-self: start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.6rem 1.5rem; }
.mk__next h3 { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.1rem; }
.mk__next ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: nx; }
.mk__next li { counter-increment: nx; display: grid; grid-template-columns: 2rem 1fr; gap: 0.2rem 0.6rem; color: #c9d0e6; font-size: 15px; line-height: 1.5; }
.mk__next li::before { content: counter(nx, decimal-leading-zero); grid-row: span 2; font-weight: 800; color: var(--muted); font-size: 13px; padding-top: 0.15rem; }
.mk__next li b { color: var(--ink); }
.mk__next p { margin-top: 1.4rem; }
@media (max-width: 859px) { .mk__next { grid-column: 1 / -1; grid-row: auto; } }
/* v6 (21 Nov 2026): tidy hero — two-line headline, short intro, buttons in a row, status strip, video on the text's edges */
@media (min-width: 860px) {
  .p-home .hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(2.5rem, 4.5vw, 4.5rem); align-items: center; }
  .p-home .hero__text, .p-home .hero__stage { padding-top: 9rem; padding-bottom: 4.5rem; }
  .p-home .hero__text { justify-content: center; }
  .p-home .hero__h { font-size: clamp(2.6rem, 0.9rem + 3.4vw, 4.4rem); line-height: 0.98; letter-spacing: -0.05em; }
  .p-home .hero__h .line { white-space: nowrap; }
}
.p-home .hero__lead { max-width: 30ch; margin-top: 1.4rem; font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.35rem); line-height: 1.45; color: #c9d0e6; }
.p-home .hero__acts { margin-top: 2rem; display: flex; flex-wrap: nowrap; gap: 0.75rem; }
.p-home .hero__acts .button { white-space: nowrap; }
.hero__status { list-style: none; margin: 1.75rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--line); display: grid; gap: 0.65rem; font-size: 14px; }
.hero__status li { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.9rem; }
.hero__status a { color: #dfe4f5; text-decoration: none; font-weight: 600; }
.hero__status a:hover { color: var(--accent-strong); }
.hero__status a + a::before { content: "·"; color: var(--muted); margin-right: 0.9rem; }
.hs { display: inline-flex; align-items: center; gap: 0.45rem; width: 5.6rem; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.hs::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hs--live { color: var(--accent); }
.hs--live::before { box-shadow: 0 0 10px var(--accent); animation: tkpulse 2s ease-in-out infinite; }
.hs--test { color: #a9d8ff; }
@media (max-width: 480px) { .p-home .hero__acts { flex-wrap: wrap; } }
.p-home .hero__lead { margin-top: 1.1rem; }
.p-home .hero__text > * { max-width: none; }
.hero__status { width: 100%; max-width: 31rem; }
@media (max-width: 480px) { .hero__status a + a::before { display: none; } .hero__status li { gap: 0.35rem 1rem; } .hs { width: 100%; } }
@media (min-width: 481px) { .p-home .hero__acts { width: 100%; max-width: 31rem; } .p-home .hero__acts .button { flex: 1 1 0; justify-content: center; } }
@media (min-width: 481px) {
  .p-home .hero__acts { width: 100%; max-width: 30rem; }
  .p-home .hero__acts .button { flex: 1 1 0; min-width: 0; padding-inline: 0.9rem; font-size: clamp(14.5px, 0.85rem + 0.2vw, 16.5px); }
  .hero__status { max-width: 30rem; }
}
/* v7: closed pages */
.closed { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--panel); padding: clamp(1.75rem, 4vw, 3rem); position: relative; overflow: hidden; }
.closed::after { content: "CLOSED"; position: absolute; right: -0.5rem; top: 50%; transform: translateY(-50%) rotate(-8deg); font-size: clamp(4rem, 10vw, 8.5rem); font-weight: 900; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.035); pointer-events: none; }
.closed__big { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; max-width: 22ch; }
.closed__small { margin-top: 1.1rem; max-width: 58ch; color: #c9d0e6; line-height: 1.6; }
.closed__tag { margin-top: 1.4rem; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
/* v8: eight-link menu leaves room for the header button again */
@media (min-width: 1181px) { .top__act .button--sm { display: inline-flex; } }
