/* monzurulhaque.com · "The bench" (2026-11-27, after Fable's design review).
   Flat and quiet, so the exhibits are the only colourful things on the page. Colour has one meaning each:
   orange = Inkling 2 Mini, blue = Qwen3.8-27B, mint = you can press this, amber = read this caveat.
   Fonts (all SIL OFL, self-hosted): Bricolage Grotesque for headings, Geist for text, Geist Mono for numbers and labels. */
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #07090C; --surface: #0D1116; --surface-2: #141A22;
  --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.18);
  --text: #ECEFF4; --text-2: #B4BDC9; --muted: #8B96A5;
  --accent: #74EBCF; --accent-ink: #04110D; --amber: #FCC062;
  --inkling: #F59E0B; --qwen: #6AA8FF; --fail: #F0857D; --paper: #F3F2EE;
  --display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2,.7,.2,1); --fast: 150ms;
  --wrap: 1200px;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text-2); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--text); margin: 0; font-family: var(--display); }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #A6F3E2; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 60; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 6px; font-weight: 600; }
.skip:focus { left: 12px; }
.label { font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.label a { color: var(--muted); text-decoration: none; }
.label a:hover { color: var(--accent); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.5; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
@media (max-width: 480px) { .wrap { padding: 0 20px; } body { font-size: 16px; } }

/* ---------- header ---------- */
header.site { position: sticky; top: 0; z-index: 40; background: rgba(7,9,12,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); view-transition-name: site-header; }
.bar { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 600 16px/1 var(--display); letter-spacing: -.01em; }
.brand:hover { color: var(--text); }
.brand img { width: 28px; height: 28px; }
.navs { display: flex; align-items: center; }
nav.main { display: flex; align-items: center; }
nav.main a { position: relative; display: inline-flex; align-items: center; height: 44px; padding: 0 10px; color: var(--text-2); text-decoration: none; font-weight: 500; font-size: 15px; transition: color var(--fast) ease-out; }
nav.main a:hover, nav.main a[aria-current] { color: var(--text); }
.navmark { position: absolute; left: 10px; right: 10px; bottom: 6px; height: 2px; border-radius: 1px; background: var(--accent); view-transition-name: nav-mark; }
.icons { display: flex; margin-left: 6px; padding-left: 6px; border-left: 1px solid var(--line); }
.icons a { width: 44px; height: 44px; display: grid; place-items: center; color: var(--text-2); }
.icons a:hover { color: var(--text); }
.icons svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 720px) { .icons { display: none; } nav.main a { font-size: 14px; padding: 0 7px; } .navmark { left: 7px; right: 7px; } }
@media (max-width: 480px) { header.site .brand span { display: none; } }

/* ---------- buttons, links ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 6px; font: 600 15px/1 var(--sans); text-decoration: none; transition: background var(--fast) ease-out, border-color var(--fast) ease-out; }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: #8FF0DA; color: var(--accent-ink); }
.btn.secondary { border: 1px solid var(--line-2); background: transparent; color: var(--text); }
button.btn { cursor: pointer; border: 0; }
button.btn.secondary { border: 1px solid var(--line-2); }
.btn.secondary:hover { border-color: var(--accent); color: var(--text); }
.arr { display: inline-block; transition: transform var(--fast) ease-out; }
a:hover .arr, a:focus-visible .arr { transform: translateX(3px); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.more { font-weight: 600; text-decoration: none; }

/* ---------- page and section heads: full width (the owner's rule) ---------- */
.page-head { padding: 56px 0 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.page-head .label { display: block; margin-bottom: 12px; color: var(--accent); }
.page-head .label a { color: var(--accent); }
.page-head .label a:hover { color: #A6F3E2; }
.page-head h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.06; letter-spacing: -.025em; word-spacing: .03em; font-weight: 700; }
.page-head .lead { margin: 16px 0 0; font-size: 20px; line-height: 1.6; }
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin-bottom: 12px; }
.label-row .label { margin: 0; }
.section { padding-top: 96px; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "h link" "p p"; column-gap: 24px; align-items: end; margin-bottom: 28px; }
.section-head h2 { grid-area: h; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.12; letter-spacing: -.02em; font-weight: 650; }
.section-head .side { display: contents; }
.section-head .side p { grid-area: p; margin: 10px 0 0; font-size: 18px; }
.section-head .side .more { grid-area: link; padding-bottom: 5px; white-space: nowrap; }
@media (max-width: 899px) {
  .page-head { padding-top: 36px; }
  .page-head .lead { font-size: 17px; }
  .section { padding-top: 64px; }
  .section-head .side p { font-size: 17px; }
}

/* ---------- home hero: the model's page, framed and live ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; padding: 64px 0 8px; }
.hero h1 { font-size: clamp(38px, 4.8vw, 64px); line-height: 1.02; letter-spacing: -.03em; word-spacing: .03em; font-weight: 700; margin: 14px 0 18px; }
.hero .lead { font-size: 19px; line-height: 1.55; margin: 0 0 28px; }
@media (max-width: 899px) { .hero { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 36px; } .hero .lead { font-size: 17px; } }

.frame { border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); overflow: hidden; }
.topbar { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 8px 0 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.topbar .who { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; white-space: nowrap; }
.topbar .what { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; }
.topbar a, .topbar button, .toggle { flex: none; display: inline-flex; align-items: center; height: 32px; padding: 0 10px; border-radius: 6px; font: 600 13px/1 var(--sans); white-space: nowrap; }
.topbar a { text-decoration: none; }
.topbar button, .toggle { border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; }
.topbar button:hover, .toggle:hover { border-color: var(--accent); }
.screen { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.screen > img, .screen iframe, .poster, .poster img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.screen > img, .poster img { object-fit: cover; }
.live { margin: 0; }
.live .screen { aspect-ratio: 16 / 10; }
.live iframe { pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .live iframe { pointer-events: auto; } }
.toggle { margin-left: auto; user-select: none; }
.toggle .t-play { display: none; }
.live:has(#hero-pause:focus-visible) .toggle { outline: 2px solid var(--accent); outline-offset: 2px; }
.live:has(#hero-pause:checked) iframe { display: none; }
.live:has(#hero-pause:checked) .t-pause { display: none; }
.live:has(#hero-pause:checked) .t-play { display: inline; }
.figrow { display: grid; grid-template-columns: auto auto 1fr; border-top: 1px solid var(--line); }
.figrow > div { padding: 12px 18px; border-right: 1px solid var(--line); }
.figrow > div:last-child { border-right: 0; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.figrow b { display: block; font: 600 22px/1.1 var(--mono); color: var(--text); font-variant-numeric: tabular-nums; }
.figrow span.c { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }
.live figcaption { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); }
@media (max-width: 480px) { .figrow { grid-template-columns: 1fr 1fr; } .figrow > div:nth-child(2) { border-right: 0; } .figrow > div:last-child { grid-column: 1 / -1; justify-content: flex-start; border-top: 1px solid var(--line); } }

/* ---------- tries strip: one pip per try ---------- */
.tries { display: inline-flex; align-items: center; gap: 7px; vertical-align: middle; }
.pip { display: inline-block; width: 14px; height: 14px; border-radius: 3px; flex: none; }
.pip.shown { outline: 2px solid var(--text); outline-offset: 2px; }
.pip.bad { border: 1.5px solid var(--fail); background: linear-gradient(to top right, transparent calc(50% - .9px), var(--fail) calc(50% - .9px), var(--fail) calc(50% + .9px), transparent calc(50% + .9px)); }
.count { font: 500 13px/1 var(--mono); color: var(--text-2); white-space: nowrap; }

/* ---------- badges: posted wording only ---------- */
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 8px; border: 1px solid var(--line-2); border-radius: 6px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; }
.badge.low { border-color: rgba(252,192,98,.55); color: var(--amber); }

/* ---------- demo cards: both models side by side ---------- */
.demos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 899px) { .demos { grid-template-columns: 1fr; gap: 16px; } }
.dcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: inherit; text-decoration: none; overflow: hidden; transition: border-color var(--fast) ease-out; }
.dcard:hover, .dcard:focus-visible { border-color: var(--line-2); color: inherit; }
.stills { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.still { position: relative; aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.still img { width: 100%; height: 100%; object-fit: cover; background: var(--surface-2); }
.still::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 1; }
.none { display: grid; place-items: center; padding: 8px; text-align: center; color: var(--muted); font-size: 14px; background: repeating-linear-gradient(135deg, #0D1116 0 10px, #12171E 10px 20px); }
.dcard .body { display: grid; gap: 9px; padding: 14px 16px 16px; }
.dcard .meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; min-height: 26px; }
.dcard h3 { font-size: 19px; line-height: 1.25; letter-spacing: -.01em; font-weight: 600; transition: color var(--fast) ease-out; }
.dcard:hover h3, .dcard:focus-visible h3 { color: var(--accent); }
.mrow { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.mrow .mname { min-width: 5.2em; color: var(--text); font-weight: 500; }
.mrow .score { margin-left: auto; font: 500 13px/1 var(--mono); color: var(--text); }
.mrow .score.no { color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; margin: -8px 0 24px; font-size: 14px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 9px; }

/* ---------- findings ---------- */
.frows { border-top: 1px solid var(--line); }
.frow { display: grid; grid-template-columns: 130px minmax(0, 1fr) 200px; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; align-items: start; }
.frow:hover, .frow:focus-visible { color: inherit; }
.frow:hover h3, .frow:focus-visible h3 { color: var(--accent); }
.frow .fmeta { padding-top: 5px; }
.frow .fmeta span { display: block; }
.frow h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.015em; font-weight: 600; transition: color var(--fast) ease-out; }
.frow p { margin: 6px 0 14px; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.key { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.key .kv { display: inline-flex; align-items: center; gap: 9px; }
.key b { font: 600 28px/1.1 var(--mono); color: var(--text); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.key .kcap { flex-basis: 100%; font-size: 14px; color: var(--muted); }
.paper { background: var(--paper); border-radius: 10px; padding: 10px; }
.paper img { width: 100%; height: auto; background: var(--paper); }
.frow .fthumb { padding: 6px; display: flex; justify-content: center; }
.frow .fthumb img { width: auto; max-width: 100%; max-height: 138px; }
@media (max-width: 899px) { .frow { grid-template-columns: minmax(0, 1fr) 150px; row-gap: 10px; } .frow .fmeta { grid-column: 1 / -1; padding: 0; } .frow .fmeta span { display: inline; } .frow .fmeta span + span::before { content: " · "; } }
@media (max-width: 599px) { .frow { grid-template-columns: 1fr; } .frow .fthumb { display: none; } .key b { font-size: 24px; } }

.finding { display: grid; grid-template-columns: minmax(0, 1fr) 440px; column-gap: 56px; grid-template-areas: "lead fig" "rest fig"; align-items: start; }
.finding .f-lead { grid-area: lead; }
.finding .f-rest { grid-area: rest; }
.finding .figure { grid-area: fig; margin: 0; }
.f-lead p, .f-rest > p { font-size: 18px; line-height: 1.7; }
.figure figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.xlinks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 4px 0 26px; font-weight: 600; }
.xlinks a { text-decoration: none; }
@media (max-width: 999px) { .finding { grid-template-columns: 1fr; grid-template-areas: "lead" "fig" "rest"; } .finding .figure { margin: 6px 0 30px; max-width: 520px; } }

/* ---------- tables ---------- */
table.t { width: 100%; border-collapse: collapse; margin: 4px 0 26px; font-size: 15px; }
table.t caption { caption-side: top; text-align: left; padding: 0 0 10px; }
table.t th, table.t td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
table.t th:first-child, table.t td:first-child { padding-left: 0; }
table.t td:last-child, table.t th:last-child { padding-right: 0; }
table.t thead th { font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; border-bottom-color: var(--line-2); }
table.t thead th.c, table.t td.v { text-align: right; }
table.t thead th .dot { margin-right: 8px; vertical-align: 1px; }
table.t th[scope=row] { color: var(--text-2); font-weight: 400; }
table.t td.v { font: 500 17px/1.3 var(--mono); color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
table.t td.v.lg { font-size: 28px; font-weight: 600; letter-spacing: -.02em; }
table.t td.v .n { color: var(--muted); font-size: 13px; }
table.t td.v .tries { margin-right: 10px; }
table.t tr.extra td { color: var(--text-2); font-size: 15px; }
table.t.single td.v { text-align: left; width: 10.5rem; }
table.t.round { margin-top: 40px; }
table.t.best { margin-bottom: 30px; }
.cbar { display: block; height: 4px; border-radius: 2px; margin: 9px 0 0 auto; }
@media (max-width: 480px) { table.t th, table.t td { padding: 11px 6px; font-size: 14px; } table.t td.v { font-size: 15px; } table.t td.v.lg { font-size: 22px; } table.t.single td.v { width: 7.5rem; } }

.note { margin: 6px 0 22px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 15px; line-height: 1.6; }
.note .label { display: block; margin-bottom: 6px; }
.note strong { color: var(--text); }
.note.caveat { border-left: 3px solid var(--amber); }
.note.caveat .label { color: var(--amber); }

/* ---------- duel pages ---------- */
.prompt { margin-top: 22px; padding-left: 16px; border-left: 2px solid var(--line-2); }
.prompt p { margin: 6px 0 0; font: 400 15px/1.6 var(--mono); color: var(--text-2); }
.cap { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.duel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 12px; }
@media (max-width: 979px) { .duel { grid-template-columns: minmax(0, 1fr); } }
.duel .frame { border-top-width: 3px; }
.poster { display: block; }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 6px; background: rgba(7,9,12,.84); color: var(--text); font: 600 14px/1 var(--sans); white-space: nowrap; transition: border-color var(--fast) ease-out; }
.play::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--accent); }
.poster:hover .play, .poster:focus-visible .play { border-color: var(--accent); }
.frame .stop { display: none; }
.frame.running .stop { display: inline-flex; }
.frame.running .poster { visibility: hidden; }
.frame.loading .screen::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 28%; background: var(--accent); z-index: 2; }
.trylist { list-style: none; margin: 0; padding: 12px 16px 14px; display: grid; gap: 6px; font-size: 14px; border-top: 1px solid var(--line); }
.trylist li { display: flex; align-items: center; gap: 10px; }
.trylist li.shown { color: var(--text); }
.trylist .fail { color: var(--fail); }
.screen.none span { max-width: 22em; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.pager a { display: block; min-width: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; transition: border-color var(--fast) ease-out; }
.pager a:hover { border-color: var(--line-2); color: var(--text); }
.pager .t { display: block; margin-top: 3px; font-size: 14px; font-weight: 400; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pager .next { text-align: right; grid-column: 2; }

/* ---------- home: method and about strip ---------- */
/* ---------- about page ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) 320px; grid-template-areas: "text side"; gap: 56px; align-items: start; }
.about .prose { grid-area: text; }
.about aside { grid-area: side; position: sticky; top: 84px; }
.prose h2 { margin: 34px 0 10px; font-size: 24px; line-height: 1.25; letter-spacing: -.015em; font-weight: 650; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 18px; line-height: 1.7; }
.portrait { margin: 0; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.linkrows { display: grid; gap: 8px; margin-top: 16px; }
.linkrows a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; transition: border-color var(--fast) ease-out; }
.linkrows a:hover { border-color: var(--line-2); color: var(--text); }
.linkrows a span { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 899px) {
  .about { grid-template-columns: 1fr; grid-template-areas: none; gap: 28px; }
  .about aside { display: contents; }
  .about .portrait { order: -1; max-width: 336px; }
  .about .prose { grid-area: auto; }
  .about .linkrows { order: 2; margin-top: 0; }
}

/* ---------- footer ---------- */
footer.site { margin-top: 96px; padding: 32px 0 40px; border-top: 1px solid var(--line); }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.foot-fine { display: flex; justify-content: space-between; gap: 6px 24px; flex-wrap: wrap; margin-top: 14px; font-size: 14px; color: var(--muted); }
@media (max-width: 640px) { .foot-row { flex-direction: column; align-items: flex-start; } footer.site { margin-top: 64px; } }

/* ---------- motion: each item explains or connects something ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* a demo card's stills grow into the duel page's frames; a finding's card grows into its page (names written by build.py) */
  @view-transition { navigation: auto; }
  ::view-transition-group(*) { animation-duration: 320ms; animation-timing-function: var(--ease); }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 180ms; }
  ::view-transition-group(nav-mark) { animation-duration: 220ms; }
  /* one cue for where to start reading */
  .hero .intro { animation: intro 400ms var(--ease) both; }
  @keyframes intro { from { opacity: 0; transform: translateY(8px); } }
  /* a running page loads: an indeterminate line */
  .frame.loading .screen::after { animation: load 1.2s linear infinite; }
  @keyframes load { from { transform: translateX(-100%); } to { transform: translateX(360%); } }
  /* comparison bars and the method line draw as they scroll into view */
  @supports (animation-timeline: view()) {
    .cbar { transform-origin: left; animation: grow linear both; animation-timeline: view(); animation-range: entry 10% cover 30%; }
    @keyframes grow { from { transform: scaleX(0); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  a:hover .arr, a:focus-visible .arr { transform: none; }
  /* the hero page doesn't start by itself; "Play" starts it */
  .live iframe { display: none; }
  .live:has(#hero-pause:checked) iframe { display: block; }
  .toggle .t-pause { display: none; }
  .toggle .t-play { display: inline; }
  .live:has(#hero-pause:checked) .t-pause { display: inline; }
  .live:has(#hero-pause:checked) .t-play { display: none; }
  .frame.loading .screen::after { content: "Loading…"; width: auto; height: auto; left: 12px; bottom: 10px; padding: 4px 8px; border-radius: 4px; background: rgba(7,9,12,.85); color: var(--text); font-size: 13px; }
}

/* =================== home v3: the stage, the blind pick, the bento (2026-11-27) =================== */
body { background-image: radial-gradient(900px 520px at 88% -8%, rgba(116,235,207,.07), transparent 60%),
  linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px; }
/* on the home page the header floats over the stage and turns solid as you scroll */
header.site.over { position: fixed; left: 0; right: 0; background: linear-gradient(180deg, rgba(7,9,12,.7), rgba(7,9,12,0)); border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
@supports (animation-timeline: scroll()) {
  header.site.over { animation: hdr linear both; animation-timeline: scroll(root); animation-range: 0 260px; }
  @keyframes hdr { to { background: rgba(7,9,12,.94); border-bottom-color: var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); } }
}
@supports not (animation-timeline: scroll()) { header.site.over { position: absolute; } }

.stage { position: relative; min-height: min(88vh, 860px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); background: #000; }
.stage-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.stage-media .still { position: absolute; z-index: 0; top: -190px; left: 0; width: 136%; height: calc(100% + 190px); object-fit: cover; transition: opacity .5s var(--ease); }
.stage-media iframe { position: absolute; z-index: 1; top: -190px; left: 0; width: 68%; height: calc(50% + 95px); border: 0; transform: scale(2); transform-origin: 0 0; pointer-events: none; }
.stage-media.cover .still { z-index: 2; opacity: 1; }
.stage-media.cover.reveal .still { opacity: 0; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  linear-gradient(0deg, var(--bg) 0%, rgba(7,9,12,.82) 22%, rgba(7,9,12,.35) 44%, rgba(7,9,12,0) 62%),
  linear-gradient(90deg, rgba(7,9,12,.72) 0%, rgba(7,9,12,.38) 38%, rgba(7,9,12,0) 66%),
  linear-gradient(180deg, rgba(7,9,12,.72) 0%, rgba(7,9,12,0) 16%); }
.stage-inner { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: end; padding: 160px 24px 118px; }
.stage .intro .label { color: var(--accent); }
.stage h1 { margin: 16px 0 22px; font-size: clamp(42px, 6vw, 88px); line-height: .98; letter-spacing: -.04em; word-spacing: .02em; font-weight: 700; max-width: 12em; text-wrap: balance; }
.stage h1 span { color: var(--accent); }
.stage .lead { max-width: 33em; margin: 0 0 30px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--text-2); }
.now { padding: 14px 16px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(10,13,17,.74); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.now-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.now-head .label { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.now-ctrl { display: none; gap: 6px; }
.now.armed .now-ctrl { display: inline-flex; }
.now-ctrl button { height: 36px; min-width: 36px; padding: 0 9px; border: 1px solid var(--line-2); border-radius: 6px; background: transparent; color: var(--text); font: 600 13px/1 var(--sans); cursor: pointer; }
.now-ctrl button:hover { border-color: var(--accent); }
.now-who { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; }
.now-who [data-f="pips"] { margin-left: auto; display: inline-flex; }
.now-what { margin: 2px 0 10px; font: 600 19px/1.25 var(--display); color: var(--text); letter-spacing: -.01em; }
.now-figs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.now-figs b { font: 600 16px/1 var(--mono); color: var(--text); margin-right: 4px; }
.now .more { display: inline-block; margin-top: 10px; font-size: 14px; }
@media (prefers-reduced-motion: no-preference) { .live-dot { animation: breathe 2.4s ease-in-out infinite; } @keyframes breathe { 50% { opacity: .35; } } }
@media (prefers-reduced-motion: reduce) { .stage-media:not(.user-play) iframe { display: none; } }
@media (max-width: 1060px) { .stage-inner { grid-template-columns: minmax(0, 1fr); } .now { max-width: 520px; } }
@media (max-width: 860px) {
  .stage { display: block; min-height: 0; }
  .stage-media { bottom: auto; height: 62vh; }
  .stage-media iframe, .stage-media .still { top: -110px; left: -16%; width: 132%; height: calc(100% + 110px); transform: none; }
  .stage::before { background: linear-gradient(180deg, rgba(7,9,12,.6) 0, rgba(7,9,12,.05) 12vh, rgba(7,9,12,.35) 36vh, var(--bg) 56vh); }
  .stage-inner { padding: 46vh 20px 48px; }
  .stage .intro .label .nm { display: none; }
}

/* =================== inner pages, in harmony with the home page (2026-11-27) =================== */
/* finding pages: the headline number, big, in the page head (like the home tiles) */
.page-head .key { margin-top: 24px; }
.page-head .key b { font-size: clamp(34px, 4.4vw, 58px); }
.page-head .key .kcap { font-size: 15px; }
/* demos: filter by round without a script */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.filters label { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text-2); font: 500 14px/1 var(--sans); cursor: pointer; user-select: none; transition: border-color var(--fast) ease-out, color var(--fast) ease-out, background var(--fast) ease-out; }
.filters label:hover { border-color: var(--accent); color: var(--text); }
.filters input:checked + label { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.filters input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 3px; }
.legend { margin: 0 0 18px; }
/* duel pages: the pages first, then the numbers */
.duel { margin-top: 4px; }
.after-duel { margin-top: 36px; }

/* =================== home sections, redone (2026-11-27) =================== */
/* ---------- you be the judge: a blind pick (nothing you pick is stored or sent) ---------- */
.arena { border: 1px solid var(--line-2); border-radius: 16px; background: var(--surface); overflow: hidden; }
.arena-bar { display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; min-height: 60px; padding: 10px 14px 10px 20px; border-bottom: 1px solid var(--line); }
.arena-bar .label { color: var(--text-2); }
.arena-count { font: 500 13px/1 var(--mono); color: var(--muted); }
.arena-next { margin-left: auto; display: none; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 8px; background: transparent; color: var(--text); font: 600 14px/1 var(--sans); cursor: pointer; transition: border-color var(--fast) ease-out; }
.arena.armed .arena-next { display: inline-flex; }
.arena-next:hover { border-color: var(--accent); }
.arena-prompt { padding: 24px 24px 4px; }
.arena-prompt .label { display: block; margin-bottom: 10px; }
.arena-prompt p { margin: 0; font: 500 clamp(18px, 1.7vw, 22px)/1.45 var(--display); letter-spacing: -.008em; color: var(--text); }
.arena-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 20px 24px 24px; }
.contender { display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface-2); overflow: hidden; transition: border-color var(--fast) ease-out; }
.c-img { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.c-img > img, .c-img iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.c-img > img { object-fit: cover; }
.c-img iframe { z-index: 1; }
.c-you { position: absolute; z-index: 2; right: 12px; top: 12px; display: none; align-items: center; height: 30px; padding: 0 10px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font: 600 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.arena.revealed .contender.chosen { border-color: var(--accent); }
.arena.revealed .contender.chosen .c-you { display: inline-flex; }
/* play and stop: shown where the pages don't start by themselves (touch screens, smaller screens, reduced motion) */
.c-play, .c-stop { position: absolute; z-index: 2; display: none; align-items: center; gap: 9px; border: 1px solid var(--line-2); background: rgba(7,9,12,.86); color: var(--text); font: 600 14px/1 var(--sans); cursor: pointer; transition: border-color var(--fast) ease-out; }
.c-play { left: 50%; top: 50%; transform: translate(-50%, -50%); height: 44px; padding: 0 18px; border-radius: 10px; }
.c-play::before { content: ""; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--accent); }
.c-stop { right: 12px; bottom: 12px; height: 32px; padding: 0 12px; border-radius: 8px; font-size: 13px; }
.c-play:hover, .c-stop:hover { border-color: var(--accent); }
.arena.manual .contender:not(.playing):not(.loading) .c-play { display: inline-flex; }
.arena.manual .contender.playing .c-stop { display: inline-flex; }
.contender.loading .c-img::after { content: ""; position: absolute; z-index: 3; left: 0; bottom: 0; height: 2px; width: 28%; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) { .contender.loading .c-img::after { animation: load 1.2s linear infinite; } }
/* the footer of each page: who made it (hidden until you pick) on the left, the pick button (then the score) on the right */
.c-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 16px; min-height: 78px; padding: 14px 16px; border-top: 1px solid var(--line); transition: background var(--fast) ease-out; }
.c-id { display: grid; gap: 5px; min-width: 0; }
.c-who { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.c-who b { font: 600 16px/1.2 var(--display); letter-spacing: -.005em; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dot.unknown { width: 10px; height: 10px; background: transparent; border: 1.5px dashed var(--muted); }
.c-sub { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.3; color: var(--muted); }
.c-act { display: flex; align-items: center; justify-content: flex-end; }
.c-pick { display: none; align-items: center; gap: 9px; height: 44px; padding: 0 20px 0 16px; border: 0; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font: 700 15px/1 var(--sans); cursor: pointer; transition: background var(--fast) ease-out, box-shadow var(--fast) ease-out; }
.c-pick svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.c-pick:hover { background: #A6F3E2; }
.c-pick:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.arena.armed:not(.revealed) .contender:hover .c-pick { box-shadow: 0 0 0 4px rgba(116,235,207,.16); }
.c-score { display: grid; justify-items: end; gap: 4px; white-space: nowrap; }
.c-score .v { color: var(--text); }
.c-score .v b { font: 600 30px/1 var(--mono); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.c-score .v small { margin-left: 2px; font: 500 15px/1 var(--mono); color: var(--muted); }
.c-score em { font-style: normal; font-size: 12.5px; color: var(--muted); }
/* states: no script shows everything; armed hides who made it; picking reveals it */
.c-hidden, .c-pick { display: none; }
.arena.armed:not(.revealed) .c-hidden { display: inline-flex; }
.arena.armed:not(.revealed) .c-pick { display: inline-flex; }
.arena.armed:not(.revealed) .c-real, .arena.armed:not(.revealed) .c-score { display: none; }
.arena.revealed .contender.chosen .c-foot { background: rgba(116,235,207,.07); }
@media (prefers-reduced-motion: no-preference) { .arena.revealed .c-real, .arena.revealed .c-score { animation: intro 320ms var(--ease) both; } }
@media (max-width: 420px) { .c-pick { padding: 0 14px 0 12px; } .c-score .v b { font-size: 26px; } }
.arena-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; min-height: 64px; padding: 12px 24px; border-top: 1px solid var(--line); }
.verdict { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; font-size: 16px; line-height: 1.5; color: var(--text-2); }
.verdict b { color: var(--text); font-weight: 600; }
@media (max-width: 760px) { .arena-pair { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 16px; } .arena-prompt { padding: 20px 16px 0; } .arena-bar { padding-left: 16px; } .arena-foot { padding: 12px 16px; } .c-score b { font-size: 28px; } }

/* ---------- latest findings: one feature, then a list ---------- */
.fgrid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.feature { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: inherit; text-decoration: none; overflow: hidden; transition: border-color var(--fast) ease-out; }
.feature:hover, .feature:focus-visible { border-color: var(--line-2); color: inherit; }
.feature:hover .feature-title, .feature:focus-visible .feature-title { color: var(--accent); }
.feature-img { display: flex; align-items: center; justify-content: center; padding: 22px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.feature-img img { height: 290px; width: auto; max-width: 100%; object-fit: contain; border-radius: 8px; background: var(--surface); }
@media (max-width: 520px) { .feature-img img { height: 230px; } }
.feature-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.feature-title { font: 600 clamp(22px, 2vw, 26px)/1.22 var(--display); letter-spacing: -.015em; color: var(--text); transition: color var(--fast) ease-out; }
.feature-sum { font-size: 16px; line-height: 1.55; color: var(--text-2); }
.stats-label { margin-top: auto; padding-top: 14px; }
.stats { display: flex; flex-wrap: wrap; gap: 10px 32px; padding-top: 10px; }
.st { display: flex; flex-direction: column; gap: 6px; }
.st b { display: inline-flex; align-items: center; gap: 10px; font: 600 clamp(30px, 3vw, 40px)/1 var(--mono); letter-spacing: -.03em; color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.st small { font-size: 13px; color: var(--muted); }
.feature .kc { font-size: 13px; color: var(--muted); }
.flist { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-rows: 1fr; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.flist li + li { border-top: 1px solid var(--line); }
.flist a { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "meta meta" "title stat"; gap: 8px 20px; align-items: center; height: 100%; padding: 18px 22px; color: inherit; text-decoration: none; transition: background var(--fast) ease-out; }
.flist a:hover, .flist a:focus-visible { background: var(--surface-2); color: inherit; }
.flist a:hover .fl-title, .flist a:focus-visible .fl-title { color: var(--accent); }
.fl-meta { grid-area: meta; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-title { grid-area: title; font: 600 17px/1.3 var(--display); letter-spacing: -.01em; color: var(--text); transition: color var(--fast) ease-out; }
.fl-stat { grid-area: stat; text-align: right; }
.fl-stat b { display: flex; align-items: center; justify-content: flex-end; gap: 8px; font: 600 20px/1.1 var(--mono); letter-spacing: -.01em; color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fl-stat .sep { width: 8px; }
.fl-stat small { display: block; margin-top: 5px; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
@media (max-width: 960px) { .fgrid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .flist a { grid-template-columns: minmax(0, 1fr); grid-template-areas: "meta" "title" "stat"; } .fl-stat { text-align: left; } .fl-stat b { justify-content: flex-start; } }

/* ---------- how I test: four steps, each with the same anatomy (illustration band, then title and text) ---------- */
.pipeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.step { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); container-type: inline-size; }
.viz { position: relative; height: 168px; display: grid; place-items: center; padding: 48px 18px 18px; border-bottom: 1px solid var(--line); border-radius: 15px 15px 0 0;
  background: radial-gradient(120% 100% at 50% 0%, rgba(116,235,207,.07), transparent 62%), var(--bg); }
.viz > * { width: 100%; }
.step-n { position: absolute; left: 14px; top: 13px; width: auto; padding: 5px 7px; border: 1px solid rgba(116,235,207,.38); border-radius: 6px; font: 600 12px/1 var(--mono); letter-spacing: .06em; color: var(--accent); }
.step-body { padding: 18px 20px 22px; }
/* every step title on one line: the size follows the card's width (6.4% of it, at most 19px) */
.step h3 { margin: 0 0 8px; font: 600 min(19px, 6.4cqi)/1.25 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.step p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-2); }
/* the four illustrations */
.bubble { display: grid; gap: 6px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 12px 12px 12px 3px; background: var(--surface); }
.bubble .label { font-size: 11.5px; }
.bubble code { font: 400 12.5px/1.5 var(--mono); color: var(--text); }
.v-tries { display: grid; gap: 10px; }
.v-tries .row { display: grid; grid-template-columns: auto 4.6em auto 1fr; align-items: center; gap: 9px; font-size: 14px; color: var(--text-2); }
.v-tries .row .count { justify-self: end; }
.v-tries .cap { font-size: 12.5px; color: var(--muted); }
.v-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.v-checks span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); white-space: nowrap; }
.v-checks svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.v-checks .eye svg { stroke: var(--text-2); stroke-width: 1.8; }
.v-gpu { display: grid; justify-items: center; gap: 12px; }
.v-gpu .chip { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 11px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); font: 600 12.5px/1 var(--mono); letter-spacing: .04em; color: var(--text); }
.v-gpu .chip i { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.v-gpu .ms { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.v-gpu .ms span { padding: 4px 8px; border: 1px solid var(--line); border-radius: 6px; font: 500 12px/1 var(--mono); color: var(--text-2); }
@media (max-width: 1060px) { .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .pipeline { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

/* ---------- about card ---------- */
.me { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; margin-top: 96px; padding: 28px 30px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(135deg, var(--surface-2), var(--surface) 60%); }
.me-photo { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; border: 2px solid var(--line-2); box-shadow: 0 0 0 6px rgba(116,235,207,.07); }
.me-photo img { width: 100%; height: 100%; object-fit: cover; }
.me .label { color: var(--accent); }
.me-name { margin: 8px 0 8px; font: 650 clamp(26px, 2.6vw, 32px)/1.12 var(--display); letter-spacing: -.02em; }
.me-line { margin: 0 0 18px; font-size: 17px; line-height: 1.6; color: var(--text-2); }
.me .cta .btn svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 899px) { .me { margin-top: 64px; } }
@media (max-width: 640px) { .me { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 22px 20px; } .me-photo { width: 92px; height: 92px; } }

/* =================== the home page's level, on every page (2026-11-27) =================== */
/* inner-page hero: the home stage's eyebrow, headline and lead; .media puts a scene's still behind it */
.phero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); }
.phero-bg { position: absolute; inset: 0; z-index: -2; background: #000; }
/* the still is drawn 110px taller and moved up, so the page's own title band stays out of view */
.phero-bg img { position: absolute; left: 0; top: -110px; width: 100%; height: calc(100% + 110px); object-fit: cover; object-position: center 35%; }
.phero.media::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  linear-gradient(0deg, var(--bg) 0%, rgba(7,9,12,.84) 26%, rgba(7,9,12,.4) 56%, rgba(7,9,12,.22) 100%),
  linear-gradient(90deg, rgba(7,9,12,.7) 0%, rgba(7,9,12,.3) 48%, rgba(7,9,12,0) 78%),
  linear-gradient(180deg, rgba(7,9,12,.7) 0%, rgba(7,9,12,0) 18%); }
.phero-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 40px; align-items: end; padding: 132px 24px 48px; }
.phero.media .phero-inner { padding-top: 260px; }
.phero .label { color: var(--accent); }
.phero .label a { color: var(--accent); text-decoration: none; }
.phero .label a:hover { color: #A6F3E2; }
.phero h1 { margin: 14px 0 16px; font: 700 clamp(36px, 5vw, 66px)/1.02 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.phero h1 span { color: var(--accent); }
.phero .lead { margin: 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--text-2); }
.phero .quote { margin: 0; font: 500 clamp(17px, 1.5vw, 21px)/1.45 var(--display); letter-spacing: -.008em; color: var(--text); }
.phero .quote-label { display: block; margin-bottom: 8px; color: var(--text-2); }
.phero .cta { margin-top: 24px; }
.phero-side { width: 340px; }
@media (max-width: 960px) { .phero-inner { grid-template-columns: minmax(0, 1fr); } .phero-side { width: auto; max-width: 520px; } }
@media (max-width: 600px) { .phero-inner { padding: 104px 20px 36px; } .phero.media .phero-inner { padding-top: 52vw; } }
/* a panel inside a hero, like the home page's now-playing panel */
.hpanel { padding: 14px 16px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(10,13,17,.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hpanel > .label { display: block; margin-bottom: 12px; color: var(--text-2); }
.hpanel .hp-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hpanel .hp-nav { display: flex; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.hpanel .legend-rows { display: grid; gap: 9px; font-size: 14px; color: var(--text-2); }
.hpanel .legend-rows span { display: inline-flex; align-items: center; gap: 10px; }
.hpanel .more { display: inline-block; margin-top: 14px; font-size: 14px; }
/* framed panels, like the judge panel */
.panel { border: 1px solid var(--line-2); border-radius: 16px; background: var(--surface); overflow: hidden; }
.panel-bar { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; min-height: 54px; padding: 9px 12px 9px 20px; border-bottom: 1px solid var(--line); }
.panel-bar .label { color: var(--text-2); }
.panel-bar .end { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
.panel-body { padding: 14px 22px 8px; }
.panel-body table.t { margin: 0; }
.panel-body table.t tr:last-child th, .panel-body table.t tr:last-child td { border-bottom: 0; }
.panel-media { display: flex; justify-content: center; padding: 18px; background: radial-gradient(120% 90% at 50% 0%, rgba(116,235,207,.06), transparent 62%), var(--bg); }
.panel-media img { width: 100%; height: auto; border-radius: 8px; }
.tbtn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 13px; border: 1px solid var(--line-2); border-radius: 8px; background: transparent; color: var(--text); font: 600 14px/1 var(--sans); text-decoration: none; white-space: nowrap; transition: border-color var(--fast) ease-out; }
.tbtn:hover { border-color: var(--accent); color: var(--text); }
.statrow { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.statrow .st b { font-size: clamp(28px, 2.6vw, 36px); }
.pager a { border-radius: 14px; }

/* findings list: the newest as a wide card, the rest two by two; each card = the posted picture, then the words and numbers */
.fcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-top: 40px; }
.fcard2 { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: inherit; text-decoration: none; overflow: hidden; transition: border-color var(--fast) ease-out; }
.fcard2:hover, .fcard2:focus-visible { border-color: var(--line-2); color: inherit; }
.fcard2:hover .fc-title, .fcard2:focus-visible .fc-title { color: var(--accent); }
.fc-media { display: flex; align-items: center; justify-content: center; height: 260px; padding: 22px; border-bottom: 1px solid var(--line); background: radial-gradient(120% 90% at 50% 0%, rgba(116,235,207,.06), transparent 62%), var(--bg); }
.fc-media img { height: 100%; width: auto; max-width: 100%; object-fit: contain; border-radius: 8px; }
.fc-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.fc-title { font: 600 clamp(20px, 1.8vw, 23px)/1.25 var(--display); letter-spacing: -.012em; color: var(--text); transition: color var(--fast) ease-out; }
.fc-sum { font-size: 15.5px; line-height: 1.55; color: var(--text-2); }
.fcard2.wide { grid-column: 1 / -1; flex-direction: row; }
.fcard2.wide .fc-media { width: 44%; height: auto; min-height: 340px; border-bottom: 0; border-right: 1px solid var(--line); }
.fcard2.wide .fc-media img { height: auto; max-height: 300px; }
.fcard2.wide .fc-body { justify-content: center; padding: 28px 30px; }
.fcard2.wide .fc-title { font-size: clamp(24px, 2.4vw, 30px); }
@media (max-width: 860px) { .fcards { grid-template-columns: minmax(0, 1fr); } .fcard2.wide { flex-direction: column; } .fcard2.wide .fc-media { width: auto; min-height: 0; height: 260px; border-right: 0; border-bottom: 1px solid var(--line); } .fcard2.wide .fc-media img { height: 100%; } }

/* a finding: the text and its panels on the left, the posted card in a panel on the right */
.fpage { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 28px 40px; align-items: start; padding-top: 40px; }
.fpage-main > p { font-size: 17px; line-height: 1.7; }
.fpage-main .fp-lead { margin: 0 0 24px; font-size: 19px; line-height: 1.65; color: var(--text); }
.fpage-main .panel { margin: 0 0 26px; }
.fpage-side { position: sticky; top: 84px; }
.fpage .cta { margin-top: 4px; }
@media (max-width: 1000px) { .fpage { grid-template-columns: minmax(0, 1fr); } .fpage-side { position: static; order: -1; max-width: 560px; } }

/* demos list: the filters and the legend in one toolbar */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 32px 0 22px; }
.toolbar .filters { margin: 0; }
.dcard { border-radius: 16px; }

/* a scene: the two pages like the judge cards; each footer says who made it, its score, time and every try */
.duel-wrap { padding-top: 36px; }
.duel .frame { border: 1px solid var(--line-2); border-top-width: 1px; border-radius: 16px; background: var(--surface-2); }
.duel .frame .screen { border-radius: 15px 15px 0 0; }
.duel .frame .screen.none { display: grid; place-items: center; padding: 20px; color: var(--muted); font-size: 14.5px; text-align: center; background: repeating-linear-gradient(135deg, #0D1116 0 12px, #12171E 12px 24px); }
.f-actions .tbtn { height: 32px; padding: 0 10px; font-size: 13px; }
.frame .stop { display: none; }
.frame.running .stop { display: inline-flex; }
.f-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px 16px; padding: 14px 16px; border-top: 1px solid var(--line); }
.f-id { display: grid; gap: 5px; min-width: 0; }
.f-who { display: inline-flex; align-items: center; gap: 9px; }
.f-who b { font: 600 16px/1.2 var(--display); color: var(--text); }
.f-sub { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 13px; color: var(--muted); }
.f-score { display: grid; justify-items: end; gap: 4px; white-space: nowrap; }
.f-score .v b { font: 600 30px/1 var(--mono); letter-spacing: -.03em; color: var(--text); font-variant-numeric: tabular-nums; }
.f-score .v small { margin-left: 2px; font: 500 15px/1 var(--mono); color: var(--muted); }
.f-score em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.f-low { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; padding: 12px 14px 14px 16px; border-top: 1px solid var(--line); }
.frame .f-low .trylist { padding: 0; border: 0; }
.f-actions { display: flex; gap: 6px; }
.duel-tables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 30px 0 22px; }
@media (max-width: 1000px) { .duel-tables { grid-template-columns: minmax(0, 1fr); } }

/* about */
.portrait-panel { margin: 0; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface-2); box-shadow: 0 0 0 6px rgba(116,235,207,.05); }
.portrait-panel img { width: 100%; height: 100%; object-fit: cover; }
.about-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-top: 40px; }
.acard { padding: 24px 24px 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.acard .label { color: var(--accent); }
.acard h2 { margin: 10px 0 10px; font: 650 22px/1.25 var(--display); letter-spacing: -.015em; }
.acard p { margin: 0 0 .8em; font-size: 16px; line-height: 1.65; color: var(--text-2); }
.acard p:last-child { margin-bottom: 0; }
.touch { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; margin-top: 20px; padding: 24px 26px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(135deg, var(--surface-2), var(--surface) 60%); }
.touch .label { color: var(--accent); }
.touch h2 { margin: 6px 0 6px; font: 650 24px/1.2 var(--display); letter-spacing: -.015em; }
.touch p { margin: 0; color: var(--text-2); }
.touch .btn svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 760px) { .about-cards { grid-template-columns: minmax(0, 1fr); } }
.fc-body .stat-label { margin-top: auto; padding-top: 6px; }
.btn svg { width: 16px; height: 16px; flex: none; fill: currentColor; }

/* ---------- small charts on the findings cards (posted numbers only) ---------- */
.fc-media.chart-media { padding: 24px 28px; }
.chart { display: block; width: 100%; height: 100%; overflow: visible; }
.ch-lab { fill: var(--muted); font: 500 10.5px var(--mono); letter-spacing: .08em; }
.ch-txt { fill: var(--text-2); font: 500 12.5px var(--sans); }
.ch-txt.sm { font-size: 11px; fill: var(--muted); }
.ch-val { fill: var(--text); font: 600 13px var(--mono); }
.ch-val.sm { font-size: 11.5px; }
.ch-track { fill: rgba(255,255,255,.05); }
.ch-base { stroke: var(--line-2); stroke-width: 1; }
.ch-muted { fill: #4A5361; }

/* ---------- a finding, restructured: the exhibit (posted card + posted numbers), then the story with its notes beside it ---------- */
.fpage2 { padding-top: 40px; }
.exhibit-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.exhibit-media { display: flex; align-items: center; justify-content: center; padding: 26px; border-right: 1px solid var(--line);
  background: radial-gradient(120% 90% at 50% 0%, rgba(116,235,207,.06), transparent 62%), var(--bg); }
.exhibit-media img { width: auto; max-width: 100%; max-height: 520px; border-radius: 8px; }
.exhibit-data { display: flex; flex-direction: column; justify-content: center; padding: 20px 26px 16px; }
.exhibit-data > .label { display: block; margin-bottom: 4px; }
.exhibit-data table.t { margin: 0; }
.exhibit-data table.t tr:last-child th, .exhibit-data table.t tr:last-child td { border-bottom: 0; }
table.t tr.extra td { padding-left: 0; }
.fbody { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px 48px; align-items: start; margin-top: 36px; }
.fbody-text p { font-size: 17px; line-height: 1.7; }
.fbody-text .fp-lead { margin: 0 0 1em; font-size: 19px; line-height: 1.65; color: var(--text); }
.fbody-side { display: grid; gap: 14px; }
.fbody-side .note { margin: 0; }
.fside-links { display: grid; gap: 10px; }
.fside-links .btn { justify-content: space-between; }
@media (max-width: 960px) {
  .exhibit-grid { grid-template-columns: minmax(0, 1fr); }
  .exhibit-media { border-right: 0; border-bottom: 1px solid var(--line); }
  .exhibit-media img { max-height: 420px; }
  .fbody { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- spacing pass (2026-11-27): one looser rhythm on every inner page ---------- */
.phero-inner { padding-bottom: 60px; }
.fpage2 { padding-top: 64px; }
.exhibit-media { padding: 34px; }
.exhibit-data { padding: 30px 34px 24px; }
.exhibit-data > .label { margin-bottom: 10px; }
.fbody { gap: 32px 72px; margin-top: 72px; }
.fbody-text p { margin-bottom: 1.15em; }
.fbody-text .fp-lead { margin-bottom: 1.1em; }
.fbody-side { gap: 18px; }
.fside-links { gap: 12px; }
.pager { margin-top: 80px; gap: 20px; }
.fcards { padding-top: 64px; gap: 28px; }
.toolbar { padding: 52px 0 30px; }
.demos { gap: 28px; }
.duel-wrap { padding-top: 64px; }
.duel { gap: 28px; }
.duel-tables { gap: 28px; margin: 56px 0 40px; }
.duel-wrap .note { margin-bottom: 24px; }
.about-cards { padding-top: 64px; gap: 28px; }
.touch { margin-top: 28px; }
@media (max-width: 960px) { .fbody { gap: 28px; margin-top: 48px; } .pager { margin-top: 56px; } }
@media (max-width: 600px) { .fpage2, .fcards, .duel-wrap, .about-cards { padding-top: 40px; } .exhibit-media { padding: 22px; } .exhibit-data { padding: 22px 20px 18px; } .toolbar { padding-top: 36px; } }

/* ---------- demos v2 (2026-11-27): the posted scenes by round; each scene one row, Inkling | the scene | Qwen ---------- */
.rgroup { padding-top: 56px; scroll-margin-top: 72px; }
.toolbar + .rgroup { padding-top: 8px; }
.rhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; padding-bottom: 22px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.rh-l h2 { margin-top: 10px; font-size: clamp(30px, 3vw, 40px); line-height: 1.02; letter-spacing: -.03em; font-weight: 700; }
.rh-sub { margin: 10px 0 0; font-size: 15px; color: var(--muted); }
.rh-stat { display: grid; gap: 10px; justify-items: end; }
.rh-stat .vals { display: flex; gap: 22px; }
.rh-stat .kv { display: inline-flex; align-items: center; gap: 9px; }
.rh-stat .kv b { font: 600 26px/1 var(--mono); letter-spacing: -.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.vlist { display: grid; gap: 20px; }
.vrow { display: grid; grid-template-columns: minmax(0, 1fr) 300px minmax(0, 1fr); grid-template-areas: "ink mid qwen"; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; color: inherit; text-decoration: none; transition: border-color var(--fast) ease-out; }
.vrow:hover, .vrow:focus-visible { border-color: var(--line-2); color: inherit; }
.vrow .still { aspect-ratio: 16 / 9; }
.vrow .still.inkling { grid-area: ink; }
.vrow .still.qwen { grid-area: qwen; }
.vrow .still img { transition: transform .7s var(--ease); }
.vrow:hover .still img, .vrow:focus-visible .still img { transform: scale(1.035); }
.vrow .tag { position: absolute; bottom: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 999px; background: rgba(7,9,12,.76); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 500 12.5px/1 var(--sans); color: var(--text); white-space: nowrap; }
.vrow .still.inkling .tag { left: 12px; }
.vrow .still.qwen .tag { right: 12px; }
.vmid { grid-area: mid; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 22px 22px; text-align: center; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.vmid h3 { font-size: 19px; line-height: 1.25; letter-spacing: -.012em; font-weight: 600; text-wrap: balance; transition: color var(--fast) ease-out; }
.vrow:hover h3, .vrow:focus-visible h3 { color: var(--accent); }
.vs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; width: 100%; }
.vs-side { display: grid; gap: 9px; align-content: start; }
.vs-side.inkling { justify-items: start; text-align: left; }
.vs-side.qwen { justify-items: end; text-align: right; }
.vs-score { font: 600 27px/1 var(--mono); letter-spacing: -.03em; color: var(--text); font-variant-numeric: tabular-nums; }
.vs-score small { margin-left: 2px; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.vs-score.no { font: 500 14px/27px var(--mono); letter-spacing: 0; color: var(--muted); }
.vs-tries { display: inline-flex; align-items: center; gap: 8px; }
.vs-tries .count { font-size: 12px; color: var(--muted); }
@media (max-width: 899px) {
  .vrow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "ink qwen" "mid mid"; }
  .vmid { border: 0; border-top: 1px solid var(--line); padding: 18px 18px 20px; gap: 14px; }
  .rh-stat { justify-items: start; }
}
@media (max-width: 520px) {
  .vrow .tag { bottom: 8px; padding: 5px 8px; font-size: 11px; gap: 6px; }
  .vrow .still.inkling .tag { left: 8px; }
  .vrow .still.qwen .tag { right: 8px; }
  .vs-score { font-size: 23px; }
  .rgroup { padding-top: 44px; }
}
@media (prefers-reduced-motion: reduce) { .vrow .still img { transition: none; } .vrow:hover .still img { transform: none; } }

/* a hero running a posted page behind its title: the page sits under the still, which fades out once the page has drawn */
.phero-bg iframe { position: absolute; left: 0; top: -110px; width: 100%; height: calc(100% + 110px); border: 0; pointer-events: none; }
.phero-bg img { z-index: 1; transition: opacity .9s var(--ease); }
.phero-bg.reveal img { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .phero-bg img { transition: none; } }

/* ---------- about v2 (2026-11-27): the hero centred on the photo; the work as a wide card, three even cards under it ---------- */
.phero.about-hero .phero-inner { align-items: center; }
.about-hero .phero-side { position: relative; }
.about-hero .phero-side::before { content: ""; position: absolute; inset: -60px -52px; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(116,235,207,.14), rgba(116,235,207,0)); }
.about-hero .portrait-panel { box-shadow: 0 28px 64px -28px rgba(0,0,0,.75), 0 0 0 6px rgba(116,235,207,.06); }
.about-hero .lead { max-width: 34em; }
.about-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.acard.wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 14px 56px; align-items: start; padding: 34px 36px; background: linear-gradient(135deg, var(--surface-2), var(--surface) 55%); }
.acard.wide h2 { margin-bottom: 0; font-size: clamp(26px, 2.3vw, 32px); line-height: 1.12; letter-spacing: -.025em; }
.acard.wide .ab p { font-size: 17px; line-height: 1.7; }
.acard.wide .ab p:first-child { color: var(--text); }
@media (max-width: 980px) { .about-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .acard.wide { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .about-cards { grid-template-columns: minmax(0, 1fr); } .acard.wide { padding: 26px 24px; } .about-hero .phero-side::before { inset: -30px; } }
/* about on tablets and phones: a smaller photo above the name, like a profile header */
@media (max-width: 960px) {
  .about-hero .phero-side { order: -1; width: 184px; max-width: none; }
  .phero.about-hero .phero-inner { gap: 26px; }
}
@media (max-width: 600px) {
  .about-hero .phero-side { width: 128px; }
  .about-hero .portrait-panel { border-radius: 14px; box-shadow: 0 0 0 4px rgba(116,235,207,.07); }
}

/* about v3: an icon on each card; two posted findings ("From the bench") before the contact panel */
.aicon { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; background: rgba(116,235,207,.07); border: 1px solid rgba(116,235,207,.2); color: var(--accent); }
.aicon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.acard .label { display: block; }
.about-work { padding-top: 72px; }
.aw-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 24px; }
.aw-head h2 { margin-top: 10px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.08; letter-spacing: -.025em; font-weight: 700; }
.aw-head .more { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; text-decoration: none; }
.aw-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.about-work + .touch, .wrap > .touch { margin-top: 56px; }
@media (max-width: 760px) { .aw-cards { grid-template-columns: minmax(0, 1fr); gap: 20px; } .about-work { padding-top: 56px; } }
.about-work .aw-head .label { color: var(--accent); }
.aicon svg { width: 23px; height: 23px; }

/* ---------- the light (2026-11-27): a small lamp follows the mouse over the page's grid; cards glow inside and along their edges as it
   passes; text heroes get a slow glow in the site's colours and a field of grid dots; every hero's text drifts up and fades as it scrolls
   away. lab.js drives it on wide screens with a mouse; nothing moves under reduced motion. ---------- */
.lamp { position: fixed; left: 0; top: 0; z-index: -1; width: 720px; height: 720px; pointer-events: none; opacity: 0; contain: strict; will-change: transform;
  transform: translate3d(var(--lx, -2000px), var(--ly, -2000px), 0);
  background: radial-gradient(closest-side, rgba(116,235,207,.08), rgba(116,235,207,0)),
    linear-gradient(rgba(116,235,207,.2) 1px, transparent 1px) var(--gx, 0px) var(--gy, 0px) / 56px 56px,
    linear-gradient(90deg, rgba(116,235,207,.2) 1px, transparent 1px) var(--gx, 0px) var(--gy, 0px) / 56px 56px;
  -webkit-mask-image: radial-gradient(closest-side, #000, rgba(0,0,0,.55) 38%, rgba(0,0,0,0));
  mask-image: radial-gradient(closest-side, #000, rgba(0,0,0,.55) 38%, rgba(0,0,0,0)); }
/* cards: the glow sits on top of the card's own background; the border is drawn by a border-box gradient, bright near the pointer */
.spot { --x: -999px; --y: -999px; --spot-rgb: 116,235,207; --spot-line: var(--line); --spot-bg: linear-gradient(var(--surface), var(--surface));
  border-color: transparent !important;
  background: radial-gradient(440px circle at var(--x) var(--y), rgba(var(--spot-rgb), .07), rgba(var(--spot-rgb), 0) 55%) padding-box,
    var(--spot-bg) padding-box,
    radial-gradient(340px circle at var(--x) var(--y), rgba(var(--spot-rgb), .82), var(--spot-line) 80%) border-box !important; }
.spot.panel, .spot.contender { --spot-line: var(--line-2); }
.spot.contender { --spot-bg: linear-gradient(var(--surface-2), var(--surface-2)); }
.spot.acard.wide { --spot-bg: linear-gradient(135deg, var(--surface-2), var(--surface) 55%); }
.spot.touch, .spot.me { --spot-bg: linear-gradient(135deg, var(--surface-2), var(--surface) 60%); }
.spot:focus-visible { --spot-line: var(--accent); }
.arena.revealed .spot.contender.chosen { --spot-line: var(--accent); }
/* over a model's page, the light takes that model's colour */
/* cards you can open: on hover the whole border lights up as a thin ring in the light's colour (no glow underneath) */
.spot.vrow, .spot.fcard2, .spot.feature, .pager a.spot { transition: box-shadow .35s var(--ease); }
.spot.vrow:hover, .spot.fcard2:hover, .spot.feature:hover, .pager a.spot:hover { box-shadow: 0 0 0 1px rgba(var(--spot-rgb), .18); }
/* text heroes: one slow mint glow at the top right, and the dot field */
.phero-fx { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.phero-fx canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.phero-fx .blob { position: absolute; border-radius: 50%; will-change: transform; }
.phero-fx .b1 { width: 820px; height: 820px; right: -180px; top: -420px; background: radial-gradient(closest-side, rgba(116,235,207,.17), rgba(116,235,207,0)); animation: drift-a 28s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(-140px, 120px) scale(1.12); } }
.about-hero .portrait-panel { position: relative; transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.about-hero .portrait-panel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: var(--glare, 0);
  background: radial-gradient(380px circle at var(--gx, 30%) var(--gy, 20%), rgba(255,255,255,.22), rgba(255,255,255,0) 60%); mix-blend-mode: soft-light; }
@media (prefers-reduced-motion: reduce) { .phero-fx .blob { animation: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* the inset is 0 so the page's scroll padding doesn't count: the text is fully there until the hero starts to leave */
    .phero { view-timeline: --phero block; view-timeline-inset: 0px 0px; }
    .phero-inner { animation: phero-exit linear both; animation-timeline: --phero; animation-range: exit 0% exit 100%; }
    @keyframes phero-exit { to { opacity: .08; transform: translateY(-56px); } }
  }
}

/* ---------- the grid's signals (2026-11-27): short lights that run along the grid lines now and then (lab.js); they sit under the cards ---------- */
body { position: relative; }
.bus { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sig { --c: 116,235,207; position: absolute; display: block; opacity: 0; will-change: transform, opacity; }
.sig.h { height: 1px; background: linear-gradient(90deg, rgba(var(--c), 0), rgba(var(--c), .85) 78%, rgba(var(--c), 0)); box-shadow: 0 0 7px 0 rgba(var(--c), .32); }
.sig.v { width: 1px; background: linear-gradient(180deg, rgba(var(--c), 0), rgba(var(--c), .85) 78%, rgba(var(--c), 0)); box-shadow: 0 0 7px 0 rgba(var(--c), .32); }
.sig.h.back { background: linear-gradient(270deg, rgba(var(--c), 0), rgba(var(--c), .85) 78%, rgba(var(--c), 0)); }
.sig.v.back { background: linear-gradient(0deg, rgba(var(--c), 0), rgba(var(--c), .85) 78%, rgba(var(--c), 0)); }


/* ---------- home: head to head (2026-11-27): a board for any number of models. Rounds are row groups, models are rows, the measures are columns
   (the number and a thin bar in the model's colour, generated from MODEL_COLOR). Models keep a fixed order; nothing is ranked. ---------- */
.lb { padding: 4px 30px 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.lb-t { width: 100%; border-collapse: collapse; table-layout: fixed; }
.lb-t th, .lb-t td { padding: 0; text-align: left; font-weight: 400; }
.lb-t thead th { padding: 20px 22px 16px 0; vertical-align: bottom; border-bottom: 1px solid var(--line-2); }
.lb-t thead th:last-child, .lb-t td:last-child { padding-right: 0; }
.lb-t .lb-m { width: 25%; }
.lbh { display: block; font: 500 11.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.lbu { display: block; margin-top: 5px; font: 400 11.5px/1.3 var(--mono); letter-spacing: .03em; color: var(--muted); }
.lb-round th { padding: 22px 0 6px; border-top: 1px solid var(--line); }
.lb-t tbody .lb-round:first-child th { border-top: 0; }
.lb-round .label { color: var(--text-2); }
.lb-round .low { margin-left: 14px; font: 500 10.5px/1 var(--mono); font-style: normal; letter-spacing: .07em; text-transform: uppercase; color: var(--amber); }
.lb-t tbody tr:not(.lb-round) > * { padding: 10px 22px 10px 0; vertical-align: middle; }
.lb-t tbody tr:not(.lb-round) > :last-child { padding-right: 0; }
.lbn { display: inline-flex; align-items: center; gap: 10px; font: 500 15.5px/1.3 var(--sans); color: var(--text); white-space: nowrap; }
.lbn .dot { width: 9px; height: 9px; }
.lb .short { display: none; }
.lbc { display: flex; align-items: center; gap: 14px; }
.lbv { flex: none; width: 3.1em; font: 600 17px/1 var(--mono); letter-spacing: -.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.lb .bar { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,.05); overflow: hidden; }
.lb .bar.bare { background: none; }
.lb .bar i { display: block; height: 100%; border-radius: 3px; }
.board-note { margin: 20px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
@media (max-width: 760px) {
  .lb { padding: 2px 16px 10px; }
  .lb-t .lb-m { width: 24%; }
  .lb-t thead th { padding: 16px 10px 12px 0; }
  .lbh, .lbu { font-size: 9.5px; letter-spacing: .04em; }
  .lb .full { display: none; } .lb .short { display: inline; }
  .lbn { font-size: 13.5px; gap: 7px; }
  .lb-t tbody tr:not(.lb-round) > * { padding: 9px 10px 9px 0; }
  .lbc { flex-direction: column; align-items: stretch; gap: 6px; }
  .lbv { width: auto; font-size: 15px; }
  .lb .bar { flex: none; height: 5px; }
  .lb-round .low { display: block; margin: 6px 0 0; }
}
/* the Demos hero's "Now playing" link, under the side panel; lab.js keeps it in step with the page behind the hero */
.hero-now { display: grid; gap: 6px; margin-top: 12px; padding: 11px 16px 12px; border: 1px solid var(--line-2); border-radius: 14px;
  background: rgba(10,13,17,.78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--text); text-decoration: none; transition: border-color var(--fast) ease-out; }
.hero-now:hover, .hero-now:focus-visible { border-color: var(--accent); color: var(--text); }
.hero-now .hn { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; }
.hero-now .hn b { font-weight: 600; white-space: nowrap; }
.hero-now .hn [data-f="title"] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.hero-now .hn [data-f="title"]::before { content: "·"; margin-right: 8px; color: var(--muted); }

/* ---------- loading, softly (2026-11-27): an empty picture box shows a slow shimmer and the picture fades in (lab.js); a live page that is
   loading shows a short light running along the bottom of its box, as on the scene pages ---------- */
.ld { background-color: var(--surface-2) !important; background-image: linear-gradient(100deg, rgba(255,255,255,0) 30%, rgba(116,235,207,.07) 50%, rgba(255,255,255,0) 70%) !important;
  background-size: 220% 100% !important; }
img.ldi { opacity: 0 !important; }
.still img, .fc-media img, .feature-img img, .portrait-panel img, .c-img img, .screen img, .exhibit-media img, .me-photo img { transition: opacity .5s var(--ease); }
.stage-media.loading::after, .phero-bg.loading::after { content: ""; position: absolute; left: 0; bottom: 0; z-index: 5; width: 28%; height: 2px;
  background: linear-gradient(90deg, rgba(116,235,207,0), var(--accent) 65%, rgba(116,235,207,0)); box-shadow: 0 0 10px rgba(116,235,207,.5); }
@media (prefers-reduced-motion: no-preference) {
  .ld { animation: ld-shimmer 1.6s ease-in-out infinite; }
  .stage-media.loading::after, .phero-bg.loading::after { animation: load 1.2s linear infinite; }
}
@keyframes ld-shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) { .still img, .fc-media img, .feature-img img, .portrait-panel img, .c-img img, .screen img, .exhibit-media img, .me-photo img { transition: none; } }

/* ---------- phones and tap targets (2026-11-27) ---------- */
.stage-media .still { max-width: none; }   /* the hero still is shifted left on phones; the global 100% cap left a dark strip on its right */
.brand { min-height: 40px; }
.more { display: inline-flex; align-items: center; min-height: 40px; }
.phero .label a { display: inline-block; padding: 12px 0; margin: -12px 0; }
.foot-links { gap: 0 8px; margin: 0 -6px; }
.foot-links a { padding: 0 6px; }
.lb-round .low { font-size: 11px; }
.hero-now { display: none; }
.hero-now.on { display: grid; }
.f-grp { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 760px) { .lbh, .lbu { font-size: 11px; letter-spacing: .03em; } }
@media (max-width: 600px) {
  .cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .cta > .btn { grid-column: 1 / -1; justify-content: center; }
  .cta > .btn.secondary:has(+ .btn.secondary), .cta > .btn.secondary + .btn.secondary { grid-column: auto; }
  .arena-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 5px; padding: 12px 12px 12px 16px; }
  .arena-bar .label { grid-column: 1; grid-row: 1; }
  .arena-count { grid-column: 1; grid-row: 2; }
  .arena-next { grid-column: 2; grid-row: 1 / span 2; margin-left: 0; }
  .panel-bar { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 16px; }
  .panel-bar .end { margin-left: 0; }
  table.t:not(.single) { table-layout: fixed; font-size: 14px; }
  table.t:not(.single) th[scope=row], table.t:not(.single) thead th:first-child { width: 40%; }
  table.t:not(.single) th, table.t:not(.single) td { padding: 11px 8px; }
  table.t:not(.single) thead th { white-space: normal; font-size: 11px; letter-spacing: .04em; }
  table.t:not(.single) td.v { font-size: 15px; white-space: normal; }
  table.t:not(.single) td.v.lg { font-size: 22px; }
}
.brand { min-width: 40px; }
.foot-links a { min-width: 34px; justify-content: center; }
.more { gap: .38em; }
table.t .short { display: none; }
@media (max-width: 600px) { table.t .full { display: none; } table.t .short { display: inline; } }
table.t td.v .n { white-space: nowrap; }
table.t td.v .n.nt { white-space: normal; }
/* About on phones: the photo beside the name, like a profile header; the intro and buttons full width below */
@media (max-width: 600px) {
  .phero.about-hero .phero-inner { grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "photo label" "photo name" "lead lead" "cta cta";
    column-gap: 18px; row-gap: 0; align-items: end; }
  .about-hero .phero-inner > div:first-child { display: contents; }
  .about-hero .phero-side { grid-area: photo; width: 96px; align-self: end; }
  .about-hero .phero-inner .label { grid-area: label; align-self: end; }
  .about-hero h1 { grid-area: name; margin: 8px 0 0; font-size: 36px; line-height: 1.02; }
  .about-hero .lead { grid-area: lead; margin-top: 24px; }
  .about-hero .cta { grid-area: cta; margin-top: 24px; }
}
.nw { white-space: nowrap; }

/* generated by build.py */
.w-5 { width: 5%; }
.w-10 { width: 10%; }
.w-15 { width: 15%; }
.w-20 { width: 20%; }
.w-25 { width: 25%; }
.w-30 { width: 30%; }
.w-35 { width: 35%; }
.w-40 { width: 40%; }
.w-45 { width: 45%; }
.w-50 { width: 50%; }
.w-55 { width: 55%; }
.w-60 { width: 60%; }
.w-65 { width: 65%; }
.w-70 { width: 70%; }
.w-75 { width: 75%; }
.w-80 { width: 80%; }
.w-85 { width: 85%; }
.w-90 { width: 90%; }
.w-95 { width: 95%; }
.w-100 { width: 100%; }
.vrow[data-id="steam-train"] .still.inkling, .duel[data-id="steam-train"] .frame.inkling .screen { view-transition-name: d-steam-train-inkling; }
.vrow[data-id="steam-train"] .still.qwen, .duel[data-id="steam-train"] .frame.qwen .screen { view-transition-name: d-steam-train-qwen; }
.vrow[data-id="excavator"] .still.inkling, .duel[data-id="excavator"] .frame.inkling .screen { view-transition-name: d-excavator-inkling; }
.vrow[data-id="excavator"] .still.qwen, .duel[data-id="excavator"] .frame.qwen .screen { view-transition-name: d-excavator-qwen; }
.vrow[data-id="motorcycle"] .still.inkling, .duel[data-id="motorcycle"] .frame.inkling .screen { view-transition-name: d-motorcycle-inkling; }
.vrow[data-id="motorcycle"] .still.qwen, .duel[data-id="motorcycle"] .frame.qwen .screen { view-transition-name: d-motorcycle-qwen; }
.vrow[data-id="tram"] .still.inkling, .duel[data-id="tram"] .frame.inkling .screen { view-transition-name: d-tram-inkling; }
.vrow[data-id="tram"] .still.qwen, .duel[data-id="tram"] .frame.qwen .screen { view-transition-name: d-tram-qwen; }
.vrow[data-id="harvester"] .still.inkling, .duel[data-id="harvester"] .frame.inkling .screen { view-transition-name: d-harvester-inkling; }
.vrow[data-id="harvester"] .still.qwen, .duel[data-id="harvester"] .frame.qwen .screen { view-transition-name: d-harvester-qwen; }
.vrow[data-id="camper-van"] .still.inkling, .duel[data-id="camper-van"] .frame.inkling .screen { view-transition-name: d-camper-van-inkling; }
.vrow[data-id="camper-van"] .still.qwen, .duel[data-id="camper-van"] .frame.qwen .screen { view-transition-name: d-camper-van-qwen; }
.vrow[data-id="submarine"] .still.inkling, .duel[data-id="submarine"] .frame.inkling .screen { view-transition-name: d-submarine-inkling; }
.vrow[data-id="submarine"] .still.qwen, .duel[data-id="submarine"] .frame.qwen .screen { view-transition-name: d-submarine-qwen; }
.vrow[data-id="rowing-boat"] .still.inkling, .duel[data-id="rowing-boat"] .frame.inkling .screen { view-transition-name: d-rowing-boat-inkling; }
.vrow[data-id="rowing-boat"] .still.qwen, .duel[data-id="rowing-boat"] .frame.qwen .screen { view-transition-name: d-rowing-boat-qwen; }
.vrow[data-id="seaplane"] .still.inkling, .duel[data-id="seaplane"] .frame.inkling .screen { view-transition-name: d-seaplane-inkling; }
.vrow[data-id="seaplane"] .still.qwen, .duel[data-id="seaplane"] .frame.qwen .screen { view-transition-name: d-seaplane-qwen; }
.vrow[data-id="helicopter"] .still.inkling, .duel[data-id="helicopter"] .frame.inkling .screen { view-transition-name: d-helicopter-inkling; }
.vrow[data-id="helicopter"] .still.qwen, .duel[data-id="helicopter"] .frame.qwen .screen { view-transition-name: d-helicopter-qwen; }
.vrow[data-id="lunar-lander"] .still.inkling, .duel[data-id="lunar-lander"] .frame.inkling .screen { view-transition-name: d-lunar-lander-inkling; }
.vrow[data-id="lunar-lander"] .still.qwen, .duel[data-id="lunar-lander"] .frame.qwen .screen { view-transition-name: d-lunar-lander-qwen; }
main:has(#r-vehicles:checked) .rgroup:not([data-round="vehicles"]) { display: none; }
main:has(#r-boats:checked) .rgroup:not([data-round="boats"]) { display: none; }
main:has(#r-aircraft:checked) .rgroup:not([data-round="aircraft"]) { display: none; }
.bw-366 { width: 36.6%; }
.bw-389 { width: 38.9%; }
.bw-451 { width: 45.1%; }
.bw-462 { width: 46.2%; }
.bw-556 { width: 55.6%; }
.bw-640 { width: 64%; }
.bw-667 { width: 66.7%; }
.bw-698 { width: 69.8%; }
.bw-715 { width: 71.5%; }
.bw-750 { width: 75%; }
.bw-770 { width: 77%; }
.bw-778 { width: 77.8%; }
.bw-780 { width: 78%; }
.bw-805 { width: 80.5%; }
.bw-889 { width: 88.9%; }
.bw-900 { width: 90%; }
.bw-983 { width: 98.3%; }
.bw-1000 { width: 100%; }
:root { --inkling: #F59E0B; }
.dot.inkling { background: var(--inkling); }
.inkling .pip.ok, .pip.ok.inkling { background: var(--inkling); }
.still.inkling::before { background: var(--inkling); }
.cbar.inkling { background: var(--inkling); }
.duel .frame.inkling { border-top-color: var(--inkling); }
.ch-inkling { fill: var(--inkling); }
.spot.vrow:has(.still.inkling:hover) { --spot-rgb: 245,158,11; }
.lb .bar i.inkling { background: var(--inkling); }
:root { --qwen: #6AA8FF; }
.dot.qwen { background: var(--qwen); }
.qwen .pip.ok, .pip.ok.qwen { background: var(--qwen); }
.still.qwen::before { background: var(--qwen); }
.cbar.qwen { background: var(--qwen); }
.duel .frame.qwen { border-top-color: var(--qwen); }
.ch-qwen { fill: var(--qwen); }
.spot.vrow:has(.still.qwen:hover) { --spot-rgb: 106,168,255; }
.lb .bar i.qwen { background: var(--qwen); }
.fcard2[data-slug="boats-round"] .fc-media img, .fpage2[data-slug="boats-round"] .exhibit-media img { view-transition-name: f-boats-round; }
.fcard2[data-slug="unsloth-update"] .fc-media img, .fpage2[data-slug="unsloth-update"] .exhibit-media img { view-transition-name: f-unsloth-update; }
.fcard2[data-slug="aircraft-round"] .fc-media img, .fpage2[data-slug="aircraft-round"] .exhibit-media img { view-transition-name: f-aircraft-round; }
.fcard2[data-slug="smaller-gpu"] .fc-media img, .fpage2[data-slug="smaller-gpu"] .exhibit-media img { view-transition-name: f-smaller-gpu; }
.fcard2[data-slug="drafters"] .fc-media img, .fpage2[data-slug="drafters"] .exhibit-media img { view-transition-name: f-drafters; }
