/* BNCR site preview. Blue and ink on white; tokens copied from site/css/site.css. */
:root {
  --bg: #ffffff; --surface-2: #f6f8fc;
  --ink: #0b1020; --ink-2: #394256; --ink-3: #636c80;
  --line: #e3e8f0; --line-2: #ccd4e2;
  --accent: #174bff; --accent-soft: #eef3ff; --accent-deep: #1236c9;
  --ok: #12a150; --ok-soft: #e9f7ef; --bad: #c4271b;
  --refuse: #1f5bd8; --refuse-soft: #edf3ff; --warn: #c2410c;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --maxw: 1200px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(23, 75, 255, .12); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
/* The header and the page fill at least the screen, so the footer starts just below it and is seen
   whole only at the bottom of the page (owner, 2026-11-16). lvh is the screen with the browser's
   bars tucked away, the tallest it gets, so the footer stays out of sight either way. */
.page { display: flex; flex-direction: column; min-height: 100vh; min-height: 100lvh; }
.page > main { flex: 1 0 auto; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
/* Graphics and logos stay on the page (owner, 2026-11-11): no drag ghost, no long-press save
   sheet, no selection. site.js stops the drag and the image menu as well. */
img, svg, canvas { -webkit-user-drag: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
a:has(img) { -webkit-user-drag: none; -webkit-touch-callout: none; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, .scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2 { margin: 0; font-weight: 600; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.06; }
h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.14; }
p { margin: 0; }
code { font-family: var(--mono); font-size: 0.9em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: max(clamp(16px, 3vw, 32px), env(safe-area-inset-left)); padding-right: max(clamp(16px, 3vw, 32px), env(safe-area-inset-right)); }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 60ch; }
.small { font-size: 14.5px; color: var(--ink-3); }
.stack { display: grid; gap: 18px; align-content: start; }
.stack > * { min-width: 0; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.more { margin-top: 26px; font-weight: 600; }
.statement { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.3; font-weight: 600; letter-spacing: -0.02em; max-width: 30em; }
.statement + .lead { margin-top: 18px; }

/* Header and footer */
.site-header .wrap { display: flex; align-items: center; gap: 10px 24px; padding-block: 16px; flex-wrap: wrap; }
.brand img { height: 36px; width: auto; }
.nav { flex: 1; display: flex; justify-content: center; align-items: center; gap: 4px clamp(14px, 2.2vw, 30px); flex-wrap: wrap; font-size: 15.5px; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: 0 2px 0 var(--accent); }
/* The home bar's strip lies below the footer, not inside it, so the footer stays 80px on every
   device. */
.site-footer { border-top: 1px solid var(--line); margin-bottom: env(safe-area-inset-bottom); }
.site-footer .wrap { padding-block: 26px 40px; display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap; font-size: 14.5px; color: var(--ink-2); }
.site-footer img { height: 30px; width: auto; margin-right: 8px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
/* 24px tap rows, the floor for a small target, at every width. */
.foot-nav a, .foot-meta a { display: inline-flex; align-items: center; min-height: 24px; }
.site-footer .push { margin-left: auto; }
/* The menu button and the footer's groups only take shape on a phone (the last block of this file). */
.nav-toggle { display: none; }
.foot-nav, .foot-meta { display: contents; }
/* The easter egg: a second line on the right, in the page's own white, so it shows only when the
   text is selected or a machine reads the page. */
.site-footer .egg { flex-basis: 100%; text-align: right; }
.site-footer .egg a, .site-footer .egg a:hover { color: #fff; text-decoration: none; }
.site-footer .egg a::selection { background: var(--accent); color: #fff; }
/* On a laptop the footer is 80px tall with its line (owner, 2026-11-16): one row, two where the
   links wrap, and the egg line in the bottom corner, out of the rows, so it adds no height. */
@media (min-width: 861px) {
  /* The 2px at the bottom lifts two rows clear of the egg line's 17px glyph box. */
  .site-footer .wrap { position: relative; height: 79px; padding-block: 0 2px; align-content: center; row-gap: 0; line-height: 1.4; }
  /* The logo overhangs its row by 2px each way, so a row stays 24px and two rows leave room for
     the egg line below the mail. */
  .site-footer img { height: 28px; margin-block: -2px; }
  /* The page links and the legal links each wrap as one group, so a narrow laptop gets the legal
     group whole on a second row, at the right. */
  .foot-nav, .foot-meta { display: flex; align-items: center; gap: 0 22px; }
  .foot-meta { margin-left: auto; }
  .site-footer .push { margin-left: 0; }
  .site-footer .egg { position: absolute; right: max(clamp(16px, 3vw, 32px), env(safe-area-inset-right)); bottom: 0; margin: 0; font-size: 13px; line-height: 16px; }
}

/* Buttons and pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; font: inherit; font-size: 17px; font-weight: 550; border: 1px solid transparent; white-space: nowrap; text-decoration: none; cursor: pointer; }
.btn svg { width: 14px; height: 14px; flex: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-quiet { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-quiet:hover { border-color: var(--ink); }
.btn-small { min-height: 42px; padding: 0 20px; font-size: 15.5px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.actions.centre { justify-content: center; }

/* Sections */
main > section { padding-block: clamp(52px, 7vw, 92px); }
main > section.tight { padding-top: 28px; }
/* The Problem page's last block: 50px more before the footer (owner, 2026-11-10). */
main > section.deep { padding-bottom: calc(clamp(52px, 7vw, 92px) + 50px); }
.sec-head { display: grid; gap: 14px; margin-bottom: 38px; }
.sec-head h2 { max-width: 24em; }
.page-head { padding-block: clamp(40px, 6vw, 72px) 8px; display: grid; gap: 16px; }
.band { background: var(--surface-2); }
/* Hero: the lab sits on the page to the right; the words and buttons sit on its open floor. */
main > .hero { position: relative; overflow: hidden; padding: 0; background: #dfe2e5; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #f6f8fc 0%, rgba(246, 248, 252, 0.92) 30%, rgba(246, 248, 252, 0) 58%); }
.hero-lab { position: absolute; top: 0; right: -6%; height: 100%; width: auto; max-width: none; }
.hero .wrap { position: relative; z-index: 1; min-height: clamp(560px, 46vw, 680px); display: grid; align-items: center; padding-block: 56px; }
.hero-copy { max-width: min(560px, 46vw); display: grid; gap: 22px; }
.hero h1 { font-size: clamp(36px, 4.5vw, 58px); line-height: 1.05; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.facts li { position: relative; padding-left: 16px; }
.facts li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
main > section.slim { padding-block: 40px; }
.ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.ask h2 { font-size: clamp(22px, 2.4vw, 30px); }
.close { text-align: center; }
.close .wrap { display: grid; gap: 24px; justify-items: center; }

/* Hero: the logo and one line in the middle, the approved task and the blocked request beside it */

/* Demo */
.demo { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.verdict { position: relative; padding-left: 20px; font-size: 18px; font-weight: 600; }
.verdict::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.verdict.bad { color: var(--bad); }
.verdict.ok { color: var(--ok); }
.poster { position: relative; display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #fff; }
.poster img { width: 100%; }
.poster .play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(23, 75, 255, 0.35); }
.poster .play svg { width: 30px; height: 30px; margin-left: 5px; }
dialog.player { border: 0; padding: 0; background: #000; width: min(1160px, 94vw, 160vh); width: min(1160px, 94vw, 160dvh); border-radius: 14px; overflow: hidden; }
dialog.player::backdrop { background: rgba(11, 16, 32, 0.72); }
dialog.player video { width: 100%; aspect-ratio: 16 / 9; background: #000; }

/* Motion between states (owner, 2026-11-11: "smooth the experience"). On a load or a reload the
   page fades in and the first block's text rises into place; the hero's four parts follow one
   another. A link to another page cross-fades where the browser can (Chrome, Safari), with the
   header held still; elsewhere the entrance alone plays. The pop-up player fades up. The fill is
   "backwards" so nothing stays transformed or stacked once an entrance is over. How it works is
   left out: the founders' entrance plays there. */
@keyframes fade-in { from { opacity: 0; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  /* On How it works the header stays part of the page, or it would show above the entrance's cover. */
  body:has(main > .how) .site-header { view-transition-name: none; }
  /* The page being left clears quickly, so its text is gone before the next page's has risen. */
  ::view-transition-old(root) { animation-duration: .14s; }
  main:not(:has(> .how)) { animation: fade-in .4s ease backwards; }
  main:not(:has(> .how)) > .page-head, main:not(:has(> .how)) > section:first-child:not(.hero) > .wrap { animation: rise-in .55s cubic-bezier(.2, .7, .2, 1) backwards; }
  .hero-copy > * { animation: rise-in .6s cubic-bezier(.2, .7, .2, 1) backwards; }
  .hero-copy > :nth-child(2) { animation-delay: .07s; }
  .hero-copy > :nth-child(3) { animation-delay: .14s; }
  .hero-copy > :nth-child(4) { animation-delay: .21s; }
  dialog.player[open] { animation: rise-in .24s cubic-bezier(.2, .7, .2, 1); }
  dialog.player[open]::backdrop { animation: fade-in .24s ease; }
}
.player-close { position: absolute; right: 12px; top: 12px; z-index: 2; font: inherit; font-size: 15px; font-weight: 550; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 16px; cursor: pointer; }

/* The path of a stolen login: the owner's two drawings, shown whole, the wide one on a laptop and
   the tall one on a phone. Their lettering is repeated as clear text laid over each line (placed
   by the page, scaled to the lettering by site.js), so the words can be selected and copied. A
   cover over the picture keeps it from being the thing a pointer lands on. The drawn logo is a
   likeness, so the approved logo sits over it on a patch of the disc's colour that fades out
   before the disc's rim, which leaves no edge to see. */
.chart-art { position: relative; container-type: inline-size; }
.chart-art.tall { display: none; max-width: 420px; margin-inline: auto; }
.chart-art > img { display: block; width: 100%; }
.chart-art::before { content: ""; position: absolute; inset: 0; }
.chart-logo { position: absolute; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgb(var(--fill)) var(--solid), rgb(var(--fill) / 0)); }
/* --size is the lettering's plain size as a share of the picture's width. */
.chart-art span { position: absolute; display: block; font-size: var(--size); line-height: 1.25; white-space: nowrap; color: transparent; transform-origin: 0 50%; cursor: text; }
.chart-art .b { font-weight: 700; }
.chart-art span::selection { background: rgba(23, 75, 255, .3); color: transparent; }
/* Below this width the wide drawing's smallest lettering falls under 13 px, so the tall one shows. */
@media (max-width: 959px) {
  .chart-art.wide { display: none; }
  .chart-art.tall { display: block; }
}
/* Three numbers, no boxes */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats p { padding: 4px 28px; border-left: 1px solid var(--line-2); display: grid; gap: 8px; align-content: start; color: var(--ink-2); }
.stats p:first-child { padding-left: 0; border-left: 0; }
.stats b { font-size: clamp(44px, 6vw, 78px); line-height: 1; font-weight: 650; letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stats span { font-size: 14.5px; color: var(--ink-3); }
.stats span a { color: inherit; }
.stats.bad b { color: var(--bad); }
.quote { margin: 44px 0 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); max-width: 44em; }
.quote p { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.35; font-weight: 600; letter-spacing: -0.015em; }
.quote footer { margin-top: 10px; font-size: 15.5px; color: var(--ink-2); }

/* RoboHarm */
.rh { display: grid; grid-template-columns: minmax(0, 342px) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.rh figure { margin: 0; display: grid; gap: 8px; }
.rh figure img { width: 100%; border-radius: 16px; }
.rh figcaption { font-size: 14px; color: var(--ink-3); }
.rh .num { color: var(--bad); }
.evil, .could { color: var(--bad); font-weight: 600; }
.should { color: var(--ok); font-weight: 600; }
.rh .num { font-size: clamp(52px, 7vw, 88px); line-height: 1; font-weight: 650; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }

/* Three rows only BNCR documents: one mark per product */
.g { width: 20px; height: 20px; display: inline-block; vertical-align: middle; }
.g.y { color: var(--ok); }
.g.n { color: var(--bad); }
.g.p { color: var(--ink-3); }

/* Sectors */
.sectors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.sectors figure { margin: 0; display: grid; gap: 12px; align-content: start; }
/* The four 3D renders (2026-11-18) fill their tile edge to edge; the tile keeps the rounded corner
   the owner's earlier pictures set, so the four cards share one shape. The radius pair is one
   length on a 4 to 3 box. */
.sectors .tile { position: relative; aspect-ratio: 4 / 3; overflow: hidden; isolation: isolate; border-radius: 5.8% / 7.73%; transition: transform .28s cubic-bezier(.2, .7, .2, 1); }
.sectors .tile img, .sectors .tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* A card's loop lies over its picture and shows only while it plays (site.js sets the classes):
   the card grows a little under the pointer, or under a tap where there is no pointer. */
.sectors .tile video { opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.sectors .tile.playing video { opacity: 1; }
.sectors .tile.on { transform: scale(1.05); z-index: 1; }
@media (hover: hover) { .sectors .tile:hover { transform: scale(1.05); z-index: 1; } }
@media (prefers-reduced-motion: reduce) { .sectors .tile, .sectors .tile video { transition: none; } }
.sectors figcaption { font-size: 17px; font-weight: 600; }
.sectors figcaption span { display: block; font-size: 14.5px; font-weight: 400; color: var(--ink-3); }

/* Problem: one command, four questions */
.ledger { max-width: 880px; }
.ledger .cmd { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-bottom: 14px; }
.ledger .cmd code { font-size: clamp(17px, 2.2vw, 23px); font-weight: 600; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; }
.ledger .cmd span { font-size: 15px; color: var(--ink-3); }
table { border-collapse: collapse; width: 100%; }
.ledger th, .ledger td { text-align: left; padding: 16px 14px; border-bottom: 1px solid var(--line); font-size: 17px; }
.ledger thead th { font-size: 14.5px; font-weight: 500; color: var(--ink-3); padding-block: 10px; }
.ledger tbody th { font-weight: 500; }
.ledger td { white-space: nowrap; }
.ledger td { position: relative; }
.ledger td img { display: inline-block; width: 30px; height: 30px; vertical-align: middle; margin-right: 8px; }
.ledger td img.logo { width: auto; height: 24px; margin-right: 0; }
/* Safari leaves an image out of a table cell's width when the image may shrink to fit it, then
   squeezes the sign or drops the gears onto their own line. These keep their size. */
.ledger td img { max-width: none; }
.ledger td img.stop-sign { width: 36px; height: 36px; margin: -9px 0 -7px 15px; }
/* The word and its sign stay on one line, also where the other cells wrap. */
.ledger td.no { white-space: nowrap; }
.ledger .yes { color: var(--ok); font-weight: 600; }
.ledger .no { color: var(--bad); font-weight: 700; }
.ledger .bncr th, .ledger .bncr td { background: var(--accent-soft); border-bottom: 0; font-weight: 650; }
.ledger .bncr th { border-radius: 12px 0 0 12px; }
.ledger .bncr td:last-child { border-radius: 0 12px 12px 0; }

/* How it works: the founders' 3D lab scene beside the list of its parts. The scene's rules come from
   site/proto/hero-lab.css, with this stylesheet's tokens. */
html { scrollbar-gutter: stable; }  /* the loader hides the scrollbar; the logo's landing place must not shift */
#intro { display: none; }
html[data-intro="playing"] { overflow: hidden; }
html[data-intro="playing"] #intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: 200; background: #fff; transition: opacity .4s ease; }
#intro.fading { opacity: 0; }
#intro figure { margin: 0; width: min(88vw, 880px); }
#intro svg { display: block; width: 100%; height: auto; overflow: hidden; }
main > section.how { padding-top: clamp(28px, 3.4vw, 44px); overflow-x: clip; }
@supports not (overflow-x: clip) { main > section.how { overflow-x: hidden; } }
.how-grid { display: grid; gap: 24px clamp(24px, 4vw, 56px); margin-bottom: 44px; }
.how-grid > * { min-width: 0; }
.parts { display: grid; gap: 20px; align-content: start; }
.how-head { display: grid; gap: 16px; }
.segmented { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.segmented button { border: 0; background: transparent; padding: 8px 16px; min-height: 44px; border-radius: 999px; cursor: pointer; font: inherit; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.segmented button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(11, 16, 32, .08), 0 0 0 1px var(--line); }
.hook { position: relative; display: grid; gap: 12px; align-content: start; }
.hook.fade-in { animation: lab-fade .35s ease both; }
@keyframes lab-fade { from { opacity: 0; } to { opacity: 1; } }
.hook-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.hook-line { font-size: 18px; font-weight: 520; }
.hook .hook-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* The stage runs to the page's edge padding and no further, so the right margin matches the left;
   the cell, which continues past the camera's frame, fades out over the stage's last strip. The
   waste bin ends at 95% of the stage's width, clear of the fade. */
.lab-stage { position: relative; aspect-ratio: 16 / 10; margin-right: calc(-1 * clamp(16px, 3vw, 32px)); }
.lab-stage canvas, .lab-still { -webkit-mask-image: linear-gradient(90deg, #000 93%, transparent 99.5%); mask-image: linear-gradient(90deg, #000 93%, transparent 99.5%); }
/* The still holds the stage until the scene draws, and stays if the browser has no WebGL. */
.lab-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.lab-stage canvas { position: relative; display: block; width: 100%; height: 100%; }
.lab-stage:not([data-ready="true"]) canvas { visibility: hidden; }
.lab-stage > .muted { position: absolute; left: 0; bottom: 0; font-size: 14px; color: var(--ink-3); }
/* Labels ride in a screen-space layer over the canvas, in fixed places, so they stay crisp. */
.lab-labels { position: absolute; inset: 0; pointer-events: none; }
.lab-labels > [hidden] { display: none; }
/* The open check's letter: a glowing wireframe over the 3D logo, placed each frame by /_/logo-tap.js. */
.lab-letter { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 1.5px rgba(23, 75, 255, .95)) drop-shadow(0 0 5px rgba(61, 109, 255, .75)); }
.lab-letter g { opacity: 0; }
.lab-letter path { fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.lab-letter path.back { stroke-width: 1; opacity: .6; }
.lab-agent { position: absolute; transform: translate(0, -50%); display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; border: 0; background: none; font: 500 13px/1.2 var(--font); color: var(--ink-2); white-space: nowrap; cursor: pointer; pointer-events: auto; }
.lab-dots { display: inline-flex; gap: 3px; }
.lab-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); opacity: .35; }
.lab-agent.is-busy .lab-dots i { animation: lab-dot .9s ease-in-out infinite; }
.lab-agent.is-busy .lab-dots i:nth-child(2) { animation-delay: .15s; }
.lab-agent.is-busy .lab-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes lab-dot { 0%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .lab-agent.is-busy .lab-dots i { animation: none; opacity: .8; } }
/* The parts of the scene a pointer can pick: the same parts as the list beside it. */
.lab-hot { position: absolute; padding: 0; border: 0; background: none; border-radius: 16px; cursor: pointer; pointer-events: auto; }
.lab-hot[data-spot="logo"] { transform: translate(-50%, -50%); border-radius: 50%; }
/* The camera and the stage's shape are fixed, so the console and the cell sit at fixed shares of it
   (measured from the scene; tools/check.mjs fails if the console leaves its hotspot). */
.lab-hot[data-spot="control"] { left: 29.5%; top: 33.5%; width: 10%; height: 38%; }
.lab-hot[data-spot="cell"] { left: 40.5%; top: 7%; width: 59.5%; height: 81%; }
/* The picked part is ringed. The cell is the whole right of the stage, so it carries no ring. */
.lab-agent.on { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 10px; }
.lab-hot[data-spot="logo"].on, .lab-hot[data-spot="control"].on { outline: 2px solid var(--accent); }
.lab-pill { position: absolute; transform: translate(-50%, -100%); padding: 3px 10px; border-radius: 999px; font: 600 13px/1.3 var(--font); white-space: nowrap; border: 1px solid; }
.lab-recorded { background: var(--accent-soft); color: var(--accent); border-color: #c9d7ff; }
.lab-mark { background: #fdeeec; color: var(--bad); border-color: #f2c4bf; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; }
.lab-off { position: absolute; transform: translate(-50%, 0); font: 600 13px/1.3 var(--font); color: var(--ink-3); white-space: nowrap; }
/* The stop mark: a short coral bar across the route at the logo's entrance. */
.lab-stop { position: absolute; width: 18px; height: 4px; border-radius: 2px; background: #d9735f; box-shadow: 0 0 0 3px rgba(217, 115, 95, .16); }
/* Three fixed readouts under the scene: the approved task, the request, the decision. */
.lab-readout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); }
.lab-readout dt { font-size: 14px; color: var(--ink-3); margin: 0 0 2px; }
.lab-readout dd { margin: 0; min-height: 2.8em; font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.lab-readout [data-tone="checking"], .lab-readout [data-tone="off"] { color: var(--ink-2); }
.lab-readout [data-tone="approved"] { color: var(--accent); }
.lab-readout [data-tone="running"], .lab-readout [data-tone="done"] { color: var(--ok); }
.lab-readout [data-tone="blocked"], .lab-readout [data-tone="executed"] { color: var(--bad); }
/* The parts, in the order a request meets them; one breakdown is open at a time. On a phone it opens
   under its part. On a wide screen every breakdown shares one panel under the list, so nothing moves
   while the pointer travels down it. */
.parts-list { list-style: none; margin: 0; padding: 0; display: grid; }
.parts-list li { border-left: 2px solid var(--line-2); }
.parts-list li:has(button[aria-pressed="true"]) { border-left-color: var(--accent); }
.parts-list button { width: 100%; min-height: 44px; padding: 8px 16px; border: 0; background: none; font: inherit; font-size: 17px; font-weight: 550; text-align: left; color: var(--ink-2); cursor: pointer; }
.parts-list .check button, .parts-list .check .part-detail { padding-left: 34px; }
.parts-list button b { color: var(--accent); font-weight: inherit; }
.parts-list button:hover { color: var(--ink); }
.parts-list button[aria-pressed="true"] { color: var(--ink); background: var(--accent-soft); }
.part-detail { display: none; gap: 6px; padding: 8px 16px 14px; }
.part-detail.on { display: grid; }
.part-detail h2 { display: none; font-size: 22px; }
.part-detail p { font-size: 16.5px; color: var(--ink-2); }
@media (min-width: 1000px) {
  .how-grid { grid-template-columns: minmax(0, 350px) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "head scene" "parts scene"; align-items: start; }
  .how-head { grid-area: head; }
  .hook { grid-area: scene; }
  .parts { grid-area: parts; }
  .parts-list { position: relative; padding-bottom: 10.5em; }
  .parts-list button { min-height: 40px; padding-block: 6px; }
  .parts-list .part-detail, .parts-list .check .part-detail { position: absolute; left: 0; right: 0; top: calc(100% - 9.5em); padding: 0; }
  .part-detail h2 { display: block; }
}
/* Without WebGL, or without scripts, the still stands in and the switch has nothing to drive. */
.hook:has(.lab-stage[data-ready="fallback"], .lab-stage[data-ready="error"]) .hook-top { display: none; }
@media (max-width: 640px) {
  .lab-readout { grid-template-columns: minmax(0, 1fr); }
  .lab-readout dd { min-height: 0; }
  /* The scene puts the label left of the route's start. A phone has no room there, so it sits under it. */
  .lab-agent { transform: translate(calc(50% + 6px), 35%); }
}

/* Incidents: one line of events in date order, alternating above and below it. Each shows its date
   and headline; the picture, the summary and the source open in a card under the headline. */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line-2); margin-left: 7px; }
.timeline li { position: relative; padding: 0 0 28px 26px; }
.timeline li > i { position: absolute; left: -9px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); }
.timeline li.hit > i { border-color: var(--bad); }
.timeline li.agent > i { border-color: var(--ink); }
.ev { position: relative; display: grid; gap: 3px; }
.ev time { font-size: 14.5px; color: var(--ink-3); }
.ev-name { padding: 0; border: 0; background: none; font: inherit; font-size: 18px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; text-align: inherit; color: var(--ink); cursor: pointer; }
.ev-name:hover, .ev-name[aria-expanded="true"] { color: var(--accent); }
.ev-card { display: none; gap: 10px; margin-top: 10px; max-width: 340px; padding-bottom: 14px; border: 1px solid var(--line-2); border-radius: 14px; background: #fff; overflow: hidden; text-align: left; }
.ev-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ev-card p, .ev-card a { margin-inline: 14px; font-size: 15px; line-height: 1.45; }
.ev-card p { color: var(--ink-2); }
.ev-card p:first-child { margin-top: 14px; }
.ev-card a { font-weight: 600; }
.ev-name[aria-expanded="true"] + .ev-card { display: grid; }
/* With a pointer the card opens on hover, and on focus for the keyboard; a click pins it. */
@media (hover: hover) { .ev:not([data-dismissed]):hover .ev-card, .ev:not([data-dismissed]):focus-within .ev-card { display: grid; } }
.key { margin-top: 30px; display: flex; gap: 8px 26px; flex-wrap: wrap; font-size: 14.5px; color: var(--ink-2); }
.key span { display: inline-flex; gap: 8px; align-items: center; }
.key i { width: 14px; height: 14px; border-radius: 50%; border: 4px solid var(--accent); }
.key .hit i { border-color: var(--bad); }
.key .agent i { border-color: var(--ink); }
@media (min-width: 1000px) {
  .timeline { position: relative; border: 0; margin: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); grid-template-rows: 1fr 30px 1fr; }
  .timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--line-2); }
  .timeline li { padding: 0; grid-row: 1 / span 3; display: grid; grid-template-rows: subgrid; justify-items: center; }
  .timeline li > i { position: relative; left: auto; top: auto; grid-row: 2; align-self: center; }
  /* Each event is wider than its column; neighbours sit on the other side of the line, so there is room. */
  .ev { grid-row: 1; align-self: end; width: 170%; text-align: center; padding-bottom: 20px; }
  /* Headlines hold to two lines down to the narrowest window that shows the row. */
  .ev-name { font-size: clamp(15px, 1.5vw, 18px); }
  .timeline li:nth-child(even) .ev { grid-row: 3; align-self: start; padding: 20px 0 0; }
  .timeline li:first-child .ev { justify-self: start; width: 150%; text-align: left; }
  .timeline li:last-child .ev { justify-self: end; width: 150%; text-align: right; }
  .timeline li::before { content: ""; grid-row: 1; grid-column: 1; align-self: end; width: 2px; height: 12px; background: var(--line-2); }
  .timeline li:nth-child(even)::before { grid-row: 3; align-self: start; }
  .ev, .timeline li > i { grid-column: 1; }
  .key { justify-content: center; }
  /* The card drops from the headline, over the line and whatever is below it. */
  .ev:hover, .ev:focus-within, .ev:has([aria-expanded="true"]) { z-index: 5; }
  .ev-card { position: absolute; top: calc(100% - 14px); left: 50%; width: 300px; margin: 0 0 0 -150px; box-shadow: 0 18px 44px rgba(11, 16, 32, .16); }
  .timeline li:nth-child(even) .ev-card { top: 100%; }
  /* Opened upward where the window has no room below (set by site.js). */
  .ev-card.up { top: auto; bottom: 100%; }
  .timeline li:nth-child(even) .ev-card.up { top: auto; bottom: calc(100% - 20px); }
  .timeline li:first-child .ev-card { left: 0; margin-left: 0; }
  .timeline li:last-child .ev-card { left: auto; right: 0; margin-left: 0; }
}

/* Comparison grid: static HTML so a crawler that runs no script reads every cell */
.legend { display: flex; gap: 8px 22px; flex-wrap: wrap; font-size: 14.5px; color: var(--ink-2); }
.legend span { display: inline-flex; gap: 6px; align-items: center; }
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; position: relative; }
.cmp { --lbl: 250px; min-width: 1060px; table-layout: fixed; font-size: 14.5px; }
.cmp col.c-lbl { width: var(--lbl); }
.cmp th, .cmp td { padding: 10px 4px; border-bottom: 1px solid var(--line); text-align: center; }
.cmp thead th { vertical-align: bottom; font-weight: 600; font-size: 13.5px; }
.cmp th:first-child { text-align: left; font-weight: 500; padding-right: 14px; }
.cmp .lg { height: 34px; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.cmp .lg img { max-width: 62px; max-height: 26px; width: auto; }
.cmp .nm { height: 136px; display: flex; align-items: flex-end; justify-content: center; }
.cmp .v { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; text-align: left; line-height: 1.3; }
.cmp .co { display: block; font-size: 13.5px; font-weight: 600; }
.cmp .pr { display: block; font-size: 13px; font-weight: 400; color: var(--ink-3); }
.cmp .grp th { text-align: left; font-size: 14.5px; font-weight: 600; background: var(--surface-2); padding: 9px 10px; }
.cmp .us { background: var(--accent-soft); }

/* Audit: four steps on one line */
.path { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 26px; }
.path li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 2px 18px; align-items: center; }
.path img { grid-row: 1 / span 2; width: 72px; height: 72px; padding: 12px; border-radius: 50%; background: #d9effc; }
.path h2 { font-size: 22px; align-self: end; }
.path p { color: var(--ink-2); align-self: start; }
@media (min-width: 800px) {
  .path { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
  .path::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 35px; height: 2px; background: var(--line-2); }
  .path li { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 10px; align-content: start; padding-inline: 14px; }
  .path h2, .path p { align-self: auto; }
  .path img { grid-row: auto; position: relative; }
}

/* Long text */
.prose { display: grid; gap: 14px; color: var(--ink-2); }
.prose > * { max-width: 72ch; }
.prose h2 { font-size: 22px; margin-top: 14px; color: var(--ink); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); }
/* The founder, the inbox and the intro call: the person a buyer reaches. */
.founder { display: flex; align-items: center; gap: 20px; margin-top: 6px; }
.founder img { flex: none; width: 116px; height: 116px; border-radius: 50%; object-fit: cover; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.founder p { margin: 0; }
.founder-name { font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.founder .founder-role { color: var(--ink-3); margin-bottom: 8px; }
/* A wound-up copy of the photo spinning on the footer's line (founder.js). */
/* The layer clips tops at the screen's sides, so a spin drawn in perspective never scrolls the page. */
.spin-layer { position: absolute; left: 0; top: 0; z-index: 5; width: 100%; overflow: hidden; overflow: clip; pointer-events: none; }
.spin-top { position: absolute; border-radius: 50%; pointer-events: auto; cursor: grab; touch-action: none; -webkit-tap-highlight-color: transparent; }
.spin-top.held { cursor: grabbing; }
.spin-top img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; transform-origin: 50% 100%; pointer-events: none; }
.form { display: grid; gap: 22px; }
.form fieldset { border: 0; margin: 0; padding: 0; }
.form legend, .form .fields span, .form [data-touch] span { display: block; padding: 0; margin-bottom: 8px; font-size: 15px; font-weight: 550; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-block; border: 1px solid var(--line-2); border-radius: 999px; padding: 11px 22px; font-size: 16px; font-weight: 500; background: #fff; }
.chips input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-deep); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.form input[type="text"], .form input[type="email"], .form textarea { -webkit-appearance: none; appearance: none; width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; }
.form textarea { min-height: 130px; resize: vertical; }
.form [hidden] { display: none; }
.form-note { font-size: 14.5px; color: var(--ink-3); }
.form-status { font-size: 15px; font-weight: 550; color: var(--refuse); }
.form-status:empty { display: none; }
/* A sent request: the fields give way to the confirmation. */
/* The form is a stretched grid item: without this the confirmation would be as tall as the column beside it. */
.form.sent { align-self: start; }
.form.sent > :not(.form-status) { display: none; }
.form.sent .form-status { font-size: 18px; font-weight: 450; color: var(--ink); background: var(--ok-soft); border-radius: 12px; padding: 24px 26px; outline: none; }
.form.sent .form-status strong { display: block; margin-bottom: 4px; font-size: 24px; font-weight: 650; letter-spacing: -0.01em; color: var(--ok); }

@media (max-width: 860px) {
  .demo, .rh, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .rh figure img { max-width: 342px; }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .stats p { padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--line-2); }
  .stats p:first-child { padding-top: 0; border-top: 0; }
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { order: 3; flex-basis: 100%; justify-content: flex-start; }
  .site-header .btn { margin-left: auto; }
  .site-footer .push { margin-left: 0; }
}
@media (max-width: 620px) {
  .ledger th, .ledger td { padding: 14px 8px; font-size: 15.5px; }
  .ledger td.no { padding-right: 14px; }
  .ledger td img:not(.logo, .stop-sign) { width: 22px; height: 22px; margin-right: 5px; }
}
@media (max-width: 1100px) {
  main > .hero { display: flex; flex-direction: column-reverse; background: var(--surface-2); }
  .hero::after { display: none; }
  .hero-lab { position: static; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 80% 50%; }
  .hero .wrap { width: 100%; min-height: 0; padding-block: 40px 28px; }
  .hero-copy { max-width: 640px; }
}

/* ---- Phones ---------------------------------------------------------------------------------
   The laptop layout above is the reference; these blocks only reshape it for a narrow touch screen.
   Below 860px the header folds into one row with a menu and the footer into groups, below 700px the
   comparison stacks, below 640px the rest. Every target a thumb is meant to hit is 44px or more. */
@media (hover: none) {
  /* A touch screen has no hover, so these would stay lit after a tap. */
  .btn-primary:hover { background: var(--accent); }
  .btn-quiet:hover { border-color: var(--line-2); }
  .ev-name:hover { color: var(--ink); }
  .ev-name[aria-expanded="true"] { color: var(--accent); }
  .parts-list button:hover { color: var(--ink-2); }
  .parts-list button[aria-pressed="true"] { color: var(--ink); }
  /* A press answers at once instead. */
  .btn, .nav-toggle { transition: transform .12s ease; }
  .btn:active, .nav-toggle:active { transform: scale(.97); }
  /* A text link on its own line gets a thumb-sized target without moving anything. */
  .more a { display: inline-block; padding-block: 11px; margin-block: -11px; }
}
@media (max-width: 860px) {
  .site-header { position: relative; z-index: 60; }
  .site-header .wrap { gap: 10px; padding-block: 12px; }
  .site-header .btn { order: 1; min-height: 44px; }
  .brand { display: flex; align-items: center; min-height: 44px; }
  .nav-toggle { order: 2; display: block; position: relative; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
  .nav-toggle::before, .nav-toggle::after { content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 2px; margin-top: -1px; border-radius: 1px; background: currentColor; transition: transform .18s ease; }
  .nav-toggle::before { transform: translateY(-4px); }
  .nav-toggle::after { transform: translateY(4px); }
  .nav-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"]::after { transform: rotate(-45deg); }
  /* Closed, the links leave the row. Open, they drop over the top of the page as a list. Without
     scripts a <noscript> rule in the page shows them as a second row instead. */
  .nav { display: none; }
  .site-header[data-open] .nav { display: grid; position: absolute; left: 0; right: 0; top: 100%; gap: 0; justify-content: stretch; padding: 2px max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 26px 40px -18px rgba(11, 16, 32, .22); font-size: 19px; animation: menu-in .16s ease both; }
  .site-header[data-open] .nav a { display: flex; align-items: center; min-height: 54px; padding: 0; font-weight: 550; color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: none; }
  .site-header[data-open] .nav a:last-child { border-bottom: 0; }
  .site-header[data-open] .nav a[aria-current="page"] { color: var(--accent); }

  /* The phone footer is 80px too (owner, 2026-11-16), in 13px type on 24px tap rows: the logo, the
     page links and the mail flow over two rows, the legal links take the third, and the egg line
     sits hidden at the right of that row, below the mail. */
  .site-footer .wrap { position: relative; height: 79px; padding-block: 0; align-content: center; gap: 0 14px; font-size: 13px; line-height: 1.4; }
  .site-footer img { height: 20px; margin: 0; }
  .foot-meta a[href^="mailto:"] { order: 1; }
  .foot-meta::after { content: ''; order: 1; flex-basis: 100%; }
  .foot-meta > :not([href^="mailto:"]) { order: 2; }
  /* On a phone under 400px the egg line runs under the copyright, which stays on top for taps. */
  .foot-meta span { position: relative; z-index: 1; color: var(--ink-3); }
  .site-footer .egg { position: absolute; right: max(clamp(16px, 3vw, 32px), env(safe-area-inset-right)); bottom: 3.5px; margin: 0; font-size: 13px; line-height: 24px; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }
/* A phone on its side is too short for six rows, so the menu takes two columns there. */
@media (max-width: 860px) and (max-height: 500px) {
  .site-header[data-open] .nav { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .site-header[data-open] .nav a:nth-last-child(2) { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header[data-open] .nav { animation: none; }
  .nav-toggle::before, .nav-toggle::after { transition: none; }
}
/* Incidents, while the events run down the page: each headline shows that it opens, and takes a tap
   anywhere from its date to just under its words. */
@media (max-width: 999px) {
  .ev-name { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 14px; width: 100%; }
  .ev-name::before { content: ""; position: absolute; inset: -28px 0 -10px; }
  .ev-name::after { content: ""; width: 9px; height: 9px; margin: 4px 5px 0 0; border: solid var(--ink-3); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .18s ease; }
  .ev-name[aria-expanded="true"]::after { margin-top: 9px; border-color: var(--accent); transform: rotate(225deg); }
}
/* Comparison where the eleven columns do not fit: the same table, with the row labels and the
   BNCR column staying put while the other ten products scroll sideways past them. Separate
   borders, because a pinned cell loses a collapsed one. */
@media (max-width: 1123px) {
  .cmp { border-collapse: separate; border-spacing: 0; }
  .cmp tr:not(.grp) > th:first-child, .cmp .us { position: sticky; z-index: 2; }
  .cmp tr:not(.grp) > th:first-child { left: 0; background: #fff; }
  .cmp .us { left: var(--lbl); box-shadow: 1px 0 0 var(--line-2); }
  .cmp .grp span { position: sticky; left: 10px; display: inline-block; }
}
/* On a phone its columns narrow, so BNCR and three others show at once. */
@media (max-width: 700px) {
  .cmp { --lbl: 138px; min-width: 0; width: calc(var(--lbl) + 11 * 48px); font-size: 14px; }
  .cmp .lg img { max-width: 40px; max-height: 24px; }
  .cmp th:first-child { padding-right: 10px; line-height: 1.4; }
}
@media (max-width: 640px) {
  /* Home: the lab rises out of the hero's ground instead of starting at a hard edge, and is cropped
     closer so the cell fills the screen's width. */
  .hero .wrap { padding-block: 32px 0; }
  .hero-lab { aspect-ratio: 5 / 4; object-position: 100% 50%; margin-top: -18px; -webkit-mask-image: linear-gradient(transparent, #000 30%); mask-image: linear-gradient(transparent, #000 30%); }
  .hero .actions .btn { flex: 1 1 auto; padding-inline: 18px; }
  .poster .play { width: 60px; height: 60px; }
  .poster .play svg { width: 22px; height: 22px; margin-left: 4px; }
  /* The player takes the screen's width, with Close on its own strip above the picture. */
  dialog.player { width: 100vw; max-width: 100vw; margin-inline: 0; padding-top: 54px; border-radius: 0; }
  .player-close { top: 8px; right: 12px; min-height: 38px; }
  .ev-card { max-width: none; }
  .form .actions .btn { width: 100%; }
  .hook-top { display: grid; gap: 12px; }
  .segmented { display: grid; grid-template-columns: 1fr 1fr; }
  .segmented button { min-height: 46px; font-size: 16px; }
  /* The scene's own label takes a tap a little way around its words. */
  .lab-agent::before { content: ""; position: absolute; inset: -9px -10px; }
  /* One line is kept free under the status, so a longer one does not push the list down mid-run. */
  .lab-readout #status-text { min-height: 2.8em; }
}
/* How it works on a phone held upright: the scene stays at the top of the screen while the list of
   its parts scrolls under it, so a tapped part is seen lighting up. The hook's boxes join the page's
   grid, which lets the stage stick for the whole length of the list. */
@media (max-width: 640px) and (orientation: portrait) {
  .how-grid { gap: 16px; }
  .hook { display: contents; }
  .hook-top { margin-top: 6px; }
  .lab-stage { position: sticky; top: 0; z-index: 5; background: #fff; box-shadow: 0 1px 0 var(--line); }
  .lab-readout { padding-top: 0; border-top: 0; }
  .hook.fade-in .lab-stage { animation: lab-fade .35s ease both; }
}
