/* HEY HEY LABS: "Asimov Cloud", a showcase of our platform (Fri 9 Oct 2026). One site with the design case study
   (../case-study/): the same tokens (variants/v3-r5/page.css, T2 Catalogue, U35; B64), header, buttons and close.
   Graphite ink on rice paper by day, Plasma on Graphite by night. Type: HHL Equator 300 for display, Newsreader for
   reading, Source Sans 3 for labels, buttons and captions only. Scale: 14, 15, 17, 18, 20, 22, 24, 28, 36, 44, 56,
   72, 104. Space: 4, 8, 12, 16, 24, 40, 64, 104, 160. Radius 2 px; the theme toggle is round. Buttons monochrome (B51).
   The base below (tokens to actions) is copied from case-study/case.css so the two pages read as one. */

:root {
  --ground: #15171A; --raised: #1D2024; --ink: #F3F2F0; --ink-2: #CFD0D2; --steel: #9BA1A8; --rule: #2E3237;
  --btn: #F3F2F0; --on-btn: #15171A; --btn-hover: #E3E8FF; --btn-press: #CDD5FA;
  --quiet-line: rgba(243, 242, 240, 0.42); --quiet-line-hi: rgba(243, 242, 240, 0.7);
  --veil: rgba(21, 23, 26, 0.72); --wash: rgba(243, 242, 240, 0.08); --wash-2: rgba(243, 242, 240, 0.14);
  --focus: #E3E8FF; --plate: #E7E5E1;
  --display: "HHL Equator", "Newsreader", Georgia, serif;
  --text: "Newsreader", Georgia, serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --m: 24px; --head: 64px; --chap: 104px;
  --t-h1: 46px; --t-h2: 36px; --t-h3: 24px; --t-body: 18px; --t-coda: 26px; --t-cap: 15px;
  --mark-src: url("../variants/v3-r5/mark.0c5527d1.svg");
  --ease: cubic-bezier(0.2, 0, 0, 1);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --ground: #E7E5E1; --raised: #F2F1ED; --ink: #15171A; --ink-2: #33373C; --steel: #5A5F66; --rule: #CFCCC6;
  --btn: #15171A; --on-btn: #F6F7F6; --btn-hover: #2E3237; --btn-press: #3A3F45;
  --quiet-line: rgba(21, 23, 26, 0.5); --quiet-line-hi: rgba(21, 23, 26, 0.78);
  --veil: rgba(231, 229, 225, 0.8); --wash: rgba(21, 23, 26, 0.06); --wash-2: rgba(21, 23, 26, 0.12);
  --focus: #15171A;
  color-scheme: light;
}
@media (min-width: 600px) { :root { --m: 40px; --head: 72px; --t-h1: 72px; --t-h2: 48px; --t-h3: 26px; --t-coda: 30px; --chap: 136px; } }
@media (min-width: 960px) { :root { --m: max(64px, calc((100vw - 1312px)/2)); --t-h1: 104px; --t-h2: 56px; --t-h3: 28px; --t-body: 20px; --t-coda: 34px; --chap: 176px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 16px); }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 var(--t-body)/1.55 var(--text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-variant-numeric: lining-nums; overflow-x: clip; }
/* the rice paper's grain by day, as on the landing page (faint, multiplied) */
/* the ground is flat in both themes, so the live canvases meet it with no visible edge */
main, .top { position: relative; z-index: 1; }
img, svg, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -60px; z-index: 20; padding: 15px 16px; background: var(--btn); color: var(--on-btn);
  font: 600 15px/1 var(--sans); text-decoration: none; border-radius: 2px; }
.skip:focus { top: 12px; }
.theme-night { display: none !important; }
:root[data-theme="dark"] .theme-night { display: block !important; }
:root[data-theme="dark"] .theme-day { display: none !important; }

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

/* ---------- type ---------- */
h1 { font: 300 var(--t-h1)/1.0 var(--display); letter-spacing: -0.012em; text-wrap: balance; }
h2 { font: 300 var(--t-h2)/1.06 var(--display); letter-spacing: -0.008em; text-wrap: balance; }
h3 { font: 300 var(--t-h3)/1.18 var(--display); text-wrap: balance; }
.prose p, .prose-p { color: var(--ink-2); text-wrap: pretty; max-width: 34em; }
.prose p + p, .prose p + figure, .prose figure + p { margin-top: 1em; }
.coda { font: italic 300 var(--t-coda)/1.25 var(--display); color: var(--ink); }
.prose .coda { color: var(--ink); margin-top: 40px; }
figcaption, .small { font: 400 var(--t-cap)/1.45 var(--sans); color: var(--steel); text-wrap: pretty; }
.inline { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
  text-decoration-color: var(--quiet-line); white-space: nowrap; transition: text-decoration-color 160ms ease; }
.inline:hover { text-decoration-color: var(--ink); }
.inline:active { color: var(--ink-2); }

/* ---------- the header: the lockup (t01 beside the Hairline name), the switch, one quiet action ---------- */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  height: var(--head); padding-inline: var(--m); background: color-mix(in srgb, var(--ground) 88%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
.top.scrolled { border-bottom-color: var(--rule); }
.brand { display: block; padding: 6px 0; color: var(--ink); text-decoration: none; border-radius: 2px; }
.lk, .lockup { display: flex; align-items: center; }
.mark { display: block; flex: none; background: currentColor;
  -webkit-mask: var(--mark-src) center / contain no-repeat; mask: var(--mark-src) center / contain no-repeat; }
svg.wm { flex: none; overflow: visible; color: inherit; }
.top .lk { gap: 10px; }
.top .mark { width: 32px; height: 32px; margin-left: -2px; }
.top .wm { height: 15px; width: auto; aspect-ratio: 1299.71 / 136; }
.top-end { display: flex; align-items: center; gap: 8px; margin-right: -10px; }
@media (max-width: 599.98px) { .top .talk { display: none; } }
@media (min-width: 600px) { .top-end { margin-right: 0; } }

.mode { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; margin: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer;
  transition: background-color 160ms ease, transform 160ms var(--ease); }
.mode svg { width: 22px; height: 22px; overflow: visible; }
.mode .core { fill: currentColor; r: 7.5px; transition: r 300ms var(--ease); }
.mode .bite { transition: cx 300ms var(--ease), cy 300ms var(--ease); }
.mode .rays path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.mode .rays { transform-origin: 12px 12px; opacity: 0; transform: rotate(-45deg) scale(0.6);
  transition: transform 300ms var(--ease), opacity 180ms ease; }
[data-theme="light"] .mode .core { r: 4.25px; }
[data-theme="light"] .mode .bite { cx: 27px; cy: -3px; }
[data-theme="light"] .mode .rays { opacity: 1; transform: none; }
.mode:hover { background: var(--wash); }
.mode:active { background: var(--wash-2); transform: scale(0.94); }
.mode:focus-visible { outline-offset: 0; border-radius: 50%; }

/* ---------- buttons: monochrome (B51), one primary per view ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px;
  font: 600 17px/1.2 var(--sans); text-decoration: none; text-align: center; border-radius: 2px; border: 1px solid transparent; cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease; }
.btn.primary { background: var(--btn); color: var(--on-btn); }
.btn.primary:hover { background: var(--btn-hover); }
.btn.primary:active { background: var(--btn-press); box-shadow: inset 0 2px 0 rgba(21, 23, 26, 0.2); }
.btn.quiet { background: transparent; color: var(--ink); border-color: var(--quiet-line); }
The base below (tokens to actions) is copied from case-study/case.css so the two pages read as one. */

:root {
  --ground: #15171A; --raised: #1D2024; --ink: #F3F2F0; --ink-2: #CFD0D2; --steel: #9BA1A8; --rule: #2E3237;
  --btn: #F3F2F0; --on-btn: #15171A; --btn-hover: #E3E8FF; --btn-press: #CDD5FA;
  --quiet-line: rgba(243, 242, 240, 0.42); --quiet-line-hi: rgba(243, 242, 240, 0.7);
  --veil: rgba(21, 23, 26, 0.72); --wash: rgba(243, 242, 240, 0.08); --wash-2: rgba(243, 242, 240, 0.14);
  --focus: #E3E8FF; --plate: #E7E5E1;
  --display: "HHL Equator", "Newsreader", Georgia, serif;
  --text: "Newsreader", Georgia, serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --m: 24px; --head: 64px; --chap: 104px;
  --t-h1: 46px; --t-h2: 36px; --t-h3: 24px; --t-body: 18px; --t-coda: 26px; --t-cap: 15px;
  --mark-src: url("../variants/v3-r5/mark.0c5527d1.svg");
  --ease: cubic-bezier(0.2, 0, 0, 1);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --ground: #E7E5E1; --raised: #F2F1ED; --ink: #15171A; --ink-2: #33373C; --steel: #5A5F66; --rule: #CFCCC6;
  --btn: #15171A; --on-btn: #F6F7F6; --btn-hover: #2E3237; --btn-press: #3A3F45;
  --quiet-line: rgba(21, 23, 26, 0.5); --quiet-line-hi: rgba(21, 23, 26, 0.78);
  --veil: rgba(231, 229, 225, 0.8); --wash: rgba(21, 23, 26, 0.06); --wash-2: rgba(21, 23, 26, 0.12);
  --focus: #15171A;
  color-scheme: light;
}
@media (min-width: 600px) { :root { --m: 40px; --head: 72px; --t-h1: 72px; --t-h2: 48px; --t-h3: 26px; --t-coda: 30px; --chap: 136px; } }
@media (min-width: 960px) { :root { --m: max(64px, calc((100vw - 1312px)/2)); --t-h1: 104px; --t-h2: 56px; --t-h3: 28px; --t-body: 20px; --t-coda: 34px; --chap: 176px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 16px); }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 var(--t-body)/1.55 var(--text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-variant-numeric: lining-nums; overflow-x: clip; }
/* the rice paper's grain by day, as on the landing page (faint, multiplied) */
/* the ground is flat in both themes, so the live canvases meet it with no visible edge */
main, .top { position: relative; z-index: 1; }
img, svg, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -60px; z-index: 20; padding: 15px 16px; background: var(--btn); color: var(--on-btn);
  font: 600 15px/1 var(--sans); text-decoration: none; border-radius: 2px; }
.skip:focus { top: 12px; }
.theme-night { display: none !important; }
:root[data-theme="dark"] .theme-night { display: block !important; }
:root[data-theme="dark"] .theme-day { display: none !important; }

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

/* ---------- type ---------- */
h1 { font: 300 var(--t-h1)/1.0 var(--display); letter-spacing: -0.012em; text-wrap: balance; }
h2 { font: 300 var(--t-h2)/1.06 var(--display); letter-spacing: -0.008em; text-wrap: balance; }
h3 { font: 300 var(--t-h3)/1.18 var(--display); text-wrap: balance; }
.prose p, .prose-p { color: var(--ink-2); text-wrap: pretty; max-width: 34em; }
.prose p + p, .prose p + figure, .prose figure + p { margin-top: 1em; }
.coda { font: italic 300 var(--t-coda)/1.25 var(--display); color: var(--ink); }
.prose .coda { color: var(--ink); margin-top: 40px; }
figcaption, .small { font: 400 var(--t-cap)/1.45 var(--sans); color: var(--steel); text-wrap: pretty; }
.inline { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
  text-decoration-color: var(--quiet-line); white-space: nowrap; transition: text-decoration-color 160ms ease; }
.inline:hover { text-decoration-color: var(--ink); }
.inline:active { color: var(--ink-2); }

/* ---------- the header: the lockup (t01 beside the Hairline name), the switch, one quiet action ---------- */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  height: var(--head); padding-inline: var(--m); background: color-mix(in srgb, var(--ground) 88%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
.top.scrolled { border-bottom-color: var(--rule); }
.brand { display: block; padding: 6px 0; color: var(--ink); text-decoration: none; border-radius: 2px; }
.lk, .lockup { display: flex; align-items: center; }
.mark { display: block; flex: none; background: currentColor;
  -webkit-mask: var(--mark-src) center / contain no-repeat; mask: var(--mark-src) center / contain no-repeat; }
svg.wm { flex: none; overflow: visible; color: inherit; }
.top .lk { gap: 10px; }
.top .mark { width: 32px; height: 32px; margin-left: -2px; }
.top .wm { height: 15px; width: auto; aspect-ratio: 1299.71 / 136; }
.top-end { display: flex; align-items: center; gap: 8px; margin-right: -10px; }
@media (max-width: 599.98px) { .top .talk { display: none; } }
@media (min-width: 600px) { .top-end { margin-right: 0; } }

.mode { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; margin: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer;
  transition: background-color 160ms ease, transform 160ms var(--ease); }
.mode svg { width: 22px; height: 22px; overflow: visible; }
.mode .core { fill: currentColor; r: 7.5px; transition: r 300ms var(--ease); }
.mode .bite { transition: cx 300ms var(--ease), cy 300ms var(--ease); }
.mode .rays path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.mode .rays { transform-origin: 12px 12px; opacity: 0; transform: rotate(-45deg) scale(0.6);
  transition: transform 300ms var(--ease), opacity 180ms ease; }
[data-theme="light"] .mode .core { r: 4.25px; }
[data-theme="light"] .mode .bite { cx: 27px; cy: -3px; }
[data-theme="light"] .mode .rays { opacity: 1; transform: none; }
.mode:hover { background: var(--wash); }
.mode:active { background: var(--wash-2); transform: scale(0.94); }
.mode:focus-visible { outline-offset: 0; border-radius: 50%; }

/* ---------- buttons: monochrome (B51), one primary per view ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px;
  font: 600 17px/1.2 var(--sans); text-decoration: none; text-align: center; border-radius: 2px; border: 1px solid transparent; cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease; }
.btn.primary { background: var(--btn); color: var(--on-btn); }
.btn.primary:hover { background: var(--btn-hover); }
.btn.primary:active { background: var(--btn-press); box-shadow: inset 0 2px 0 rgba(21, 23, 26, 0.2); }
.btn.quiet { background: transparent; color: var(--ink); border-color: var(--quiet-line); }
.btn.quiet:hover { border-color: var(--quiet-line-hi); background: var(--wash); }
.btn.quiet:active { background: var(--wash-2); border-color: var(--quiet-line-hi); }
.btn.small { min-height: 44px; padding: 0 16px; font-size: 15px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font: 600 17px/1.2 var(--sans); color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--quiet-line);
  border-radius: 2px; transition: text-decoration-color 160ms ease; }
.text-link:hover { text-decoration-color: var(--ink); }
.text-link:active { color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* ---------- chapters (as the case study) ---------- */
.chapter { padding-top: var(--chap); }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 960px) {
  .split { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
  .split > :first-child { grid-column: 1 / span 5; }
  .split > :last-child { grid-column: 7 / span 6; }
  .split h2 { padding-top: 4px; }
}

/* ---------- the live figures ---------- */
.stage-fig { position: relative; }
.stage { position: relative; aspect-ratio: 1 / 1; width: 100%; background: var(--ground) var(--poster, none) center / cover no-repeat; overflow: hidden; }
/* until the engine's first frame, a still of it holds its place; then the live canvas fades in over it */
.live-cv { opacity: 0; transition: opacity 700ms ease; }
.stage.live .live-cv { opacity: 1; }
.stage.live { background-image: none; }
/* P18 (B119 round 4): WebP posters (tools/webp.py), and on a phone under 2.5x a 780 px one; the head's script asks for the same one */
.open-fig .stage { --poster: url("assets/open-dark-desktop.2376ab72.webp"); }
:root[data-theme="light"] .open-fig .stage { --poster: url("assets/open-light-desktop.92ffa6d4.webp"); }
.loaded .stage-layers { --poster: url("assets/layers-dark-desktop.0963ad1a.webp"); }
:root.loaded[data-theme="light"] .stage-layers { --poster: url("assets/layers-light-desktop.50aa6b13.webp"); }
@media (max-width: 959.98px) {
  .open-fig .stage { --poster: url("assets/open-dark-phone.0a13b1ca.webp"); }
  :root[data-theme="light"] .open-fig .stage { --poster: url("assets/open-light-phone.121fe096.webp"); }
  .loaded .stage-layers { --poster: url("assets/layers-dark-phone.f40a677c.webp"); }
  :root.loaded[data-theme="light"] .stage-layers { --poster: url("assets/layers-light-phone.73cc7c39.webp"); }
}
@media (max-width: 959.98px) and (max-resolution: 2.49dppx) {
  .open-fig .stage { --poster: url("assets/open-dark-phone-2x.02f4f1a5.webp"); }
  :root[data-theme="light"] .open-fig .stage { --poster: url("assets/open-light-phone-2x.ab8b8418.webp"); }
}
.live-cv { position: absolute; inset: 0; width: 100%; height: 100%;
  /* the live art fades out over its last few percent on every side, so it never stops at a hard invisible edge */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
  mask-composite: intersect; }
.live-cap { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.live-state { font: 400 var(--t-cap)/1.45 var(--sans); color: var(--steel); }
.ctl { flex: none; min-height: 44px; min-width: 88px; padding: 0 16px; border: 1px solid var(--quiet-line); border-radius: 2px; background: transparent;
  color: var(--ink); font: 600 15px/1 var(--sans); cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease; }
.ctl:hover { background: var(--wash); border-color: var(--quiet-line-hi); }
.ctl:active { background: var(--wash-2); }
.ctl:disabled { opacity: 0.45; cursor: not-allowed; background: transparent; }
.no-gl .ctl, .reduced .ctl { display: none; }

/* ---------- the opening ---------- */
.opening { padding-top: 40px; }
.open-grid { display: grid; gap: 32px; }
.opening h1 { font-size: min(var(--t-h1), 13.4vw); }
.standfirst { margin-top: 24px; max-width: 26em; color: var(--ink-2); font-size: calc(var(--t-body) + 2px); line-height: 1.5; text-wrap: pretty; }
@media (max-width: 959.98px) {
  .open-fig { margin-inline: calc(-1 * var(--m)); }
  .open-fig .live-cap { padding-inline: var(--m); }
  .open-fig .stage { aspect-ratio: 1 / 0.92; }
}
@media (min-width: 960px) {
  .opening { padding-top: 24px; }
  .open-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: center;
    min-height: calc(100svh - var(--head) - 24px); }
  .open-words { grid-column: 1 / span 6; padding-bottom: 40px; }
  .open-fig { grid-column: 8 / span 5; }
  .open-fig .stage { max-height: calc(100svh - var(--head) - 120px); margin-left: auto; }
  .open-fig .live-cap { justify-content: flex-end; }
}

/* ---------- the layers: a sticky stage beside the list (no pin: the list scrolls at the reader's speed) ---------- */
.layer-grid { margin-top: 64px; display: grid; }
.layer-fig { position: sticky; top: var(--head); z-index: 2; background: var(--ground); margin-inline: calc(-1 * var(--m)); padding-inline: var(--m); }
.stage-layers { aspect-ratio: auto; height: min(46svh, 360px); }
.layer-fig { border-bottom: 1px solid var(--rule); }
/* the drawn layer over the live art: a tick where the spine crosses each band, and a hairline leader from the lit
   band's rim to its name */
.stage-ink { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.stage-ink path { fill: none; stroke: var(--ink); vector-effect: non-scaling-stroke; }
.stage-ink .ticks { stroke-width: 1.5; opacity: 0.7; }
.stage-ink .lead { stroke-width: 1; opacity: 0.6; }
.lead-name { position: absolute; left: 0; top: 0; font: 600 15px/1.2 var(--sans); color: var(--ink); white-space: nowrap; transform: translate(-9999px, 0);
  padding: 4px 0; }
.no-gl .stage-ink, .no-gl .lead-name { display: none; }
.bands-still { position: absolute; left: 50%; top: 50%; height: 78%; width: auto; transform: translate(-50%, -50%); display: none; color: var(--ink); }
.no-gl .bands-still { display: block; }
.bands-still rect { fill: currentColor; }
.bands-still .b { opacity: 0.18; transition: opacity 300ms ease; }
.bands-still .b.on { opacity: 1; }
.bands-still.spine .b { opacity: 1; }   /* B119: the code runs through every layer, so its row lights all ten bars */
.layer-list { display: grid; }
.layer { min-height: 46svh; padding-top: 40px; display: grid; align-content: start; gap: 12px; }
.layer:last-child { min-height: 40svh; padding-bottom: 24px; }
.layer h3 { font: 300 calc(var(--t-h3) + 4px)/1.15 var(--display); color: var(--ink); transition: color 300ms ease; }
.layer p { color: var(--ink-2); max-width: 30em; text-wrap: pretty; }
.js .layer:not(.on) h3 { color: var(--steel); }
@media (min-width: 960px) {
  .layer-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; margin-top: 40px; }
  .layer-fig { grid-column: 1 / span 6; grid-row: 1; align-self: start; top: calc(var(--head) + max(0px, (100svh - var(--head) - 660px)/2));
    margin-inline: 0; padding-inline: 0; background: transparent; }
  .stage-layers { height: min(calc(100svh - var(--head) - 120px), 600px); }
  .layer-fig { border-bottom: 0; }
  .layer-list { grid-column: 8 / span 5; grid-row: 1; padding-top: 14svh; padding-bottom: 18svh; }
  .layer { min-height: 50svh; padding-top: 0; }
  .layer:last-child { min-height: 0; }
}

/* ---------- how a change ships: the mark's spine laid on its side, five stations on it ---------- */
.path { margin-top: 64px; display: grid; position: relative; counter-reset: s; }
.path li { position: relative; counter-increment: s; padding: 0 0 40px 48px; }
.path li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 28px; text-align: center;
  font: 300 22px/1.2 var(--display); color: var(--ink); background: var(--ground); padding-bottom: 6px; z-index: 1; }
/* the line: one hairline through the numbers (the spine), drawn once as the path arrives */
.path::before { content: ""; position: absolute; left: 13.5px; top: 8px; bottom: 48px; width: 1px; background: var(--steel);
  transform-origin: top; transform: scaleY(var(--draw, 1)); transition: transform 1200ms var(--ease); }
.js .path:not(.drawn) { --draw: 0; }
.path h3 { margin-bottom: 8px; }
.path p { color: var(--ink-2); max-width: 26em; text-wrap: pretty; }
.path-coda { margin-top: 24px; max-width: 22em; }
/* round 6 (the gate's measure row): at 960 px and up the five stations were five columns of 28 to 35 characters; now
   each is one row on the page's 12 columns, its number and name on the left on the spine stood upright (the phone's own
   form), its words in the right column under the intro, about 60 characters wide. The spine is drawn as one segment
   between each pair of numbers, so no number needs a patch of ground behind it over the faint sphere. */
@media (min-width: 960px) {
  .path { margin-top: 88px; }
  .path li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; padding: 0 0 48px; }
  .path li:last-child { padding-bottom: 0; }
  .path li::before { top: 0; left: 0; width: 32px; padding: 0; background: none; font-size: 28px; line-height: 1.18; }
  .path::before { display: none; }
  .path li:not(:last-child)::after { content: ""; position: absolute; left: 15.5px; top: 46px; bottom: 10px; width: 1px;
    background: var(--steel); transform-origin: top; transform: scaleY(var(--draw, 1)); transition: transform 420ms var(--ease); }
  .path li:nth-child(2)::after { transition-delay: 160ms; }
  .path li:nth-child(3)::after { transition-delay: 320ms; }
  .path li:nth-child(4)::after { transition-delay: 480ms; }
  .path h3 { grid-column: 1 / span 5; margin: 0; padding-left: 56px; }
  .path p { grid-column: 7 / span 6; font-size: 18px; padding-top: 4px; }
  .path-coda { margin-top: 72px; }
}

/* ---------- durable work: three short facts under the prose ---------- */
.facts { margin-top: 40px; display: grid; }
.facts div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); }
.facts div:last-child { border-bottom: 1px solid var(--rule); }
.facts dt { font: 600 15px/1.5 var(--sans); color: var(--steel); padding-top: 3px; }
.facts dd { margin: 0; color: var(--ink); }

/* ---------- data and keys, watching it: three columns under one heading ---------- */
.pair-cols { margin-top: 56px; display: grid; gap: 40px; }
.col { border-top: 1px solid var(--rule); padding-top: 24px; }
.col h3 { margin-bottom: 12px; }
.col p { color: var(--ink-2); text-wrap: pretty; max-width: 30em; }
.col p + p { margin-top: 1em; }
.col .today { color: var(--ink); font-style: italic; }
@media (min-width: 960px) { .pair-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; margin-top: 72px; } .col p { font-size: 18px; } }

/* ---------- the stack (the module, unchanged; its own styles in ../stack/stack.css) ---------- */
.stack-intro .lead { max-width: 34em; color: var(--ink-2); text-wrap: pretty; }
#stack-host { position: relative; z-index: 1; min-height: 40vh; }
.stack-ready #stack-host { min-height: 0; }
/* B52: the landing's sphere, faint behind the stack module only (the module's own demo stills). Its strength is the
   module's veil (--stack-art: 0.22 while the module's content is on screen) times the still's own opacity, and it is
   off everywhere outside the module's band. */
.stack-art { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0; --art: 0.42;
  transition: opacity 400ms cubic-bezier(0, 0, 0.2, 1);
  background: center top / cover no-repeat; }
/* P18 (B119 round 4): the still is fetched after the page's load event (asimov.js adds .loaded), not with the first screen */
:root.loaded .stack-art { background-image: url("../stack/sphere/sphere-dark-phone.55109d7d.webp"); }
:root[data-theme="light"] .stack-art { --art: 0.5; }
:root.loaded[data-theme="light"] .stack-art { background-image: url("../stack/sphere/sphere-light-phone.962be75b.webp"); }
:root[data-stack-veil="on"] .stack-art, :root[data-stack-veil="deep"] .stack-art { opacity: calc(var(--art) * var(--stack-art, 1)); }
@media (min-width: 600px) {
  .stack-art { background-position: left center; }
  :root.loaded .stack-art { background-image: url("../stack/sphere/sphere-dark-desktop.5861ce7f.webp"); }
  :root.loaded[data-theme="light"] .stack-art { background-image: url("../stack/sphere/sphere-light-desktop.c28e3de8.webp"); }
}

/* ---------- what runs on it ---------- */
.runs-list { display: grid; gap: 40px; }
.runs-list li { border-top: 1px solid var(--rule); padding-top: 24px; display: grid; gap: 14px; }
.runs-list li > p:last-child { color: var(--ink-2); max-width: 30em; text-wrap: pretty; }
.runs-brand { display: flex; align-items: center; min-height: 32px; color: var(--ink); }
.runs-brand .lk { gap: 10px; }
.runs-brand .mark { width: 28px; height: 28px; }
.runs-brand .wm { height: 13px; width: auto; aspect-ratio: 1299.71 / 136; }
/* Hey Pharmacist's own lockup (C14, B59): black and white, its green period blinking as brand styling, no status claim */
.prod { gap: 10px; }
.prod .pm { display: block; width: 28px; height: 28px; flex: none; overflow: visible; }
.prod .pm .o { fill: #FFFFFF; }
.prod .pm .i { fill: #15171A; }
.pw { font: 600 15px/1 var(--sans); letter-spacing: 0.1em; white-space: nowrap; }
.pw .dot { display: inline-block; width: 6px; height: 6px; margin-left: 2px; background: #4BF097; animation: hb-blink 1.1s steps(1) infinite; }
@keyframes hb-blink { 50% { opacity: 0; } }
.prod .pm-hp { --lift: 3.84px; }
.prod .pm .d { animation: hb-dot 1.25s ease-in-out infinite; }
.prod .pm .d2 { animation-delay: .15s; }
.prod .pm .d3 { animation-delay: .3s; }
@keyframes hb-dot { 0%, 72%, 100% { transform: translateY(0); } 36% { transform: translateY(calc(-1 * var(--lift))); } }
:root[data-theme="light"] .prod .pm .o { fill: #15171A; }
:root[data-theme="light"] .prod .pm .i { fill: #FFFFFF; }
:root[data-theme="light"] .pw .dot { background: #12924F; }
.reduced .pw .dot, .reduced .prod .pm .d { animation: none; }

/* ---------- the close (as the case study) ---------- */
.close { padding-top: var(--chap); position: relative; z-index: 1; }
.close-in { display: grid; justify-items: center; text-align: center; gap: 32px; padding-top: 64px; padding-bottom: 104px; }
.lockup-close { color: var(--ink); flex-direction: column; gap: 24px; }
.lockup-close .mark { width: 64px; height: 64px; }
.lockup-close .wm { height: 28px; width: auto; aspect-ratio: 1354.71 / 141; }
.close-line { font-size: calc(var(--t-coda) + 6px); max-width: 16em; text-wrap: balance; }
.close .actions { justify-content: center; }
@media (min-width: 960px) {
  .lockup-close { flex-direction: row; gap: 40px; }
  .lockup-close .mark { width: 104px; height: 104px; }
  .lockup-close .wm { height: 48px; }
}
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 24px 40px; border-top: 1px solid var(--rule); }
.legal { font: 400 14px/1.4 var(--sans); color: var(--steel); }
.legal a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; margin-block: -12px; color: var(--steel); text-underline-offset: 4px; }
.legal a:hover { color: var(--ink); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
.reduced .path { --draw: 1 !important; }

/* ---------- round 2: the case study's Sources line (14 px Source Sans 3, 68ch) ---------- */
.page-src { margin-top: 24px; margin-bottom: 8px; }
.page-src .src { font: 400 14px/1.45 var(--sans); color: var(--steel); max-width: 68ch; text-wrap: pretty; }

/* ---------- round 2: the stack module's five claim paragraphs are hidden on this page only. The module stays
   unchanged (it is shared with the landing page); each claim repeats a section above, so this page keeps the
   module's heading, its two logo rows and the certifications. ---------- */
#stack-host .stack-claims { display: none; }

/* ---------- round 2: phones. The sticky art panel is 46svh and each layer fills the rest of the screen, its name
   and line top-aligned 24 px under the art, so no layer screen is half empty. The caption under the art holds only
   the screen reader's "Lit now" line, so it takes no room here. ---------- */
@media (max-width: 767.98px) {
  .stage-layers { height: 46svh; }
  .layer-fig .live-cap { position: absolute; margin: 0; min-height: 0; }
  .layer { min-height: calc(54svh - var(--head)); padding-top: 24px; }
  .layer:last-child { min-height: calc(54svh - var(--head)); padding-bottom: 24px; }
}

/* ---------- round 3: the stack module reads as this page's own section. Its heading and lede repeat the opening, so
   they are hidden on this page only; the page's own H2 ("What it is built from.") stands above it, and the module's
   section is labelled by that heading (asimov.js). ../stack/ is unchanged. ---------- */
#stack-host .stack-head { display: none; }
#stack-host .stack { padding-top: 0; }
#stack-host .stack-plate { margin-top: 48px; }
.stack-title { position: relative; z-index: 1; }

/* ---------- round 3: B52. The faint sphere behind the stack module also holds the run from "How a change ships."
   through "Watching it.", at the module's own ghost strength (0.22 of the still's opacity), so no run of screens is
   without art. asimov.js sets .ghost on <html> while any of those four sections is on screen. ---------- */
.ships, .data, .watch { position: relative; z-index: 1; }
:root.ghost:not([data-stack-veil="on"]):not([data-stack-veil="deep"]) .stack-art { opacity: calc(var(--art) * 0.22); }

/* ---------- round 3: phones. The art panel stays 46svh; under it the layers sit at half the remaining screen each,
   the lit one 24 px under the art and the next one, in steel, below it, so no layer screen or transition shows an
   empty half screen. ---------- */
@media (max-width: 767.98px) {
  .layer, .layer:last-child { min-height: calc((54svh - var(--head)) / 2); padding-bottom: 16px; }
}

/* ---------- round 4 (fixer, the top 3 from round 3's review) ---------- */
/* 1. No empty ruled band under the logo rows: the certifications start 48 px below the rule that closes them, with no
   second rule. (The band was the hidden claims' slot: the certifications' own top margin, padding and rule.) */
#stack-host .stack-certs { margin-top: 0; padding-top: 48px; border-top: 0; }
/* 2. B52: the faint sphere runs on through "What runs on it." and the close, at the same ghost strength; behind the
   close it centres on the lockup's axis (asimov.js sets .ghost-mid while the lockup is on screen). */
.runs { position: relative; z-index: 1; }
.stack-art { transition: opacity 400ms cubic-bezier(0, 0, 0.2, 1), background-position 700ms cubic-bezier(0.2, 0, 0, 1); }
@media (min-width: 600px) {   /* the desktop still draws the sphere about 17% in from the left: move it to the middle */
  :root.ghost-mid .stack-art { background-position: 33vw center; }
}
/* 3. No floating layer name over the desktop art (the phoenix flew through it): the right column's lit layer already
   names it. The ticks on the axis stay. Phones keep their leader, which sits clear of the art's middle. */
@media (min-width: 768px) {
  .lead-name, .stage-ink .lead { display: none; }
}

/* ---------- round 5 (fixer: the two Highs and the top 3 from round 4's review, nothing else) ---------- */
/* 0. The subtraction: the opening's caption is gone; its Pause control stands alone where it was, on the right. */
.open-fig .live-cap { justify-content: flex-end; }

/* 1. High 1: the layer art never meets an edge of its canvas. The canvas and its ink run the full width of the screen
   (the sphere stays on its stage, the left half on a desktop; the text column is unchanged and sits above the art), and
   asimov.js holds the bird inside the canvas, clear of its faded top and bottom and 48 px clear of the text column.
   The canvas's left and right ends are the screen's own edges, so it fades only at its top and bottom. */
.stage-layers { overflow: visible; }
.stage-wide { position: absolute; top: 0; bottom: 0; left: calc(-1 * var(--m)); width: 100vw; pointer-events: none; }
.stage-wide .live-cv { -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent); }
@media (min-width: 960px) { .layer-list { position: relative; z-index: 3; } }

/* 2. High 2: the faint sphere behind "How a change ships." to the close is live: the same engine, at the same faint
   strength (the rules above set .stack-art's opacity), 30 fps. Its still stays underneath as the poster until the
   first live frame, and is all there is under reduced motion or without WebGL. */
.ghost-cv { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 700ms ease; }
.stack-art.live .ghost-cv { opacity: 1; }
.reduced .ghost-cv, .no-gl .ghost-cv { display: none; }

/* 3. Top fix 3: at the close the faint sphere sits on the t01 mark's spine (asimov.js measures it into --ghost-x, the
   still's offset). The live sphere's line ends at the foot of the mark; the still, under reduced motion, has its line
   below the mark's foot masked out, so the art's line runs through the mark and never through the words under it. */
@media (min-width: 600px) {
  :root.ghost-mid .stack-art { background-position: var(--ghost-x, 33vw) center; }
  /* the still's line, masked from the mark's foot down, its ends feathered: by day a hairline of ink, masked to the foot
     of the screen; by night a glowing column, masked wider (its glow with it) to just under the buttons, so the base glow
     at the sphere's foot stays whole */
  :root.reduced.ghost-mid .stack-art, :root.no-gl.ghost-mid .stack-art {
    --hw: 6px; --hf: 14px; --hole-end: 200vh; --sx: var(--spine-x, -999px); --ft: var(--spine-foot, 200vh);
    -webkit-mask-image: linear-gradient(#000 var(--ft), transparent calc(var(--ft) + 32px)), linear-gradient(transparent var(--hole-end), #000 calc(var(--hole-end) + 40px)),
      linear-gradient(90deg, #000 calc(var(--sx) - var(--hf)), transparent calc(var(--sx) - var(--hw)), transparent calc(var(--sx) + var(--hw)), #000 calc(var(--sx) + var(--hf)));
    -webkit-mask-composite: source-over;
    mask-image: linear-gradient(#000 var(--ft), transparent calc(var(--ft) + 32px)), linear-gradient(transparent var(--hole-end), #000 calc(var(--hole-end) + 40px)),
      linear-gradient(90deg, #000 calc(var(--sx) - var(--hf)), transparent calc(var(--sx) - var(--hw)), transparent calc(var(--sx) + var(--hw)), #000 calc(var(--sx) + var(--hf)));
    mask-composite: add; }
  :root.reduced.ghost-mid:not([data-theme="light"]) .stack-art, :root.no-gl.ghost-mid:not([data-theme="light"]) .stack-art {
    --hw: 56px; --hf: 84px; --hole-end: var(--actions-end, 200vh); }
}

/* 4. Top fix 2: the sources note folded under one quiet summary, in the same place; the note itself is unchanged. */
.src-more summary { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 600 16px/1.3 var(--sans);
  color: var(--steel); cursor: pointer; list-style: none; border-radius: 2px; transition: color 160ms ease; }
.src-more summary::-webkit-details-marker { display: none; }
.src-more summary::after { content: ""; flex: none; width: 7px; height: 7px; margin-top: -4px; border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform 200ms var(--ease), margin-top 200ms var(--ease); }
.src-more[open] summary::after { margin-top: 3px; transform: rotate(225deg); }
.src-more summary:hover { color: var(--ink); }
.src-more summary:active { color: var(--ink-2); }
.src-more .src { margin-top: 4px; padding-bottom: 8px; }

/* ---------- round 6 (maker): the gate's two fails, and Asimov Chat (C24) ---------- */
/* 1. Contrast (gate row 2): by day the lines that cross the faint sphere's ink take a deeper steel. At the sphere's day
   strength (0.11) even pure ink leaves the ground no darker than L 0.614, where #4E535A still holds 4.9:1 (the old
   steel measured 4.31:1 there, round 5's gate). The art is unchanged; by night the steel is unchanged. */
:root { --steel-over: var(--steel); }
:root[data-theme="light"] { --steel-over: #4E535A; }
/* the gate named three lines in round 5 and a fourth in this round's first run (the stack's fine print, 4.39:1 in one
   frame): every steel line the faint sphere passes behind takes it, the durable facts' labels and the footer too */
.src-more summary, .page-src .src, #stack-host .stack-sub, #stack-host .stack-fine, .legal, .legal a {
  color: var(--steel-over); }

/* 2. Measure (gate row 5): lines of 75 characters or fewer at 1440 (round 5's gate: the durable paragraph 82, the note
   81; behind its ten-line list, the layers' intro 79 and the data intro 77). At 28em they break at 1440 as at 1280 */
.layers .split .prose p, .data .split .prose p, .ships .split .prose p { max-width: 28em; }
.page-src .src { max-width: 60ch; }

/* 3. Asimov Chat: the chat service built on the platform, in the page's split form, in the right column, clear of the
   faint sphere. Round 7: its figure is two outlined cells under one "Built once" (the round 7 block below). */
.chat { position: relative; z-index: 1; }
.chat .prose p { max-width: 29em; }
.chat-fig .nw { white-space: nowrap; }
.chat .facts dt { color: var(--steel-over); }

/* ---------- round 7 (fixer: round 6's panel; NINE.md) ---------- */

/* Type, ledger U52 (Tim, Sun 11 Oct 2026): nr2 "Heavier", as type/newsreader-through/round-1 sets it (variants/v4 does
   not carry nr2 yet). Newsreader only: the wordmark is Newsreader capitals 600 at 0.06 em (outlines, assets/wordmark,
   from that trial); headlines Newsreader 500 at optical size 72; labels and buttons in small capitals, Newsreader's own
   capitals at 0.74 of the text size, 0.08 em; captions italic. The page has no code, so no code face. The vendored
   Newsreader files carry the whole weight axis (200 to 800); fonts.css declares 300 to 500, so it is declared again. P18 (B119 round 4): from v4's two halves by unicode-range (variants/v4/fonts/split.py). */
@font-face { font-family: "Newsreader Var"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../fonts/Newsreader-normal-300-500-core.8b9db915.woff2) format("woff2");
  unicode-range: U+0020-007E, U+00A0, U+00B7, U+00D7, U+2009, U+200A, U+2010-2014, U+2018-201D, U+2026, U+202F, U+2122, U+2192, U+2212, U+FEFF; }
@font-face { font-family: "Newsreader Var"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../fonts/Newsreader-normal-300-500-ext.de0539eb.woff2) format("woff2");
  unicode-range: U+00A1-00B6, U+00B8-00D6, U+00D8-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-2008, U+200B-200F, U+2015-2017, U+201E-2025, U+2027-202E, U+2030-206F, U+20AC, U+2191, U+2193, U+2215, U+FFFD; }
@font-face { font-family: "Newsreader Var"; font-style: italic; font-weight: 200 800; font-display: swap; src: url(../fonts/Newsreader-italic-300-400-core.2f0f9265.woff2) format("woff2");
  unicode-range: U+0020-007E, U+00A0, U+00B7, U+00D7, U+2009, U+200A, U+2010-2014, U+2018-201D, U+2026, U+202F, U+2122, U+2192, U+2212, U+FEFF; }
@font-face { font-family: "Newsreader Var"; font-style: italic; font-weight: 200 800; font-display: swap; src: url(../fonts/Newsreader-italic-300-400-ext.df092a38.woff2) format("woff2");
  unicode-range: U+00A1-00B6, U+00B8-00D6, U+00D8-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-2008, U+200B-200F, U+2015-2017, U+201E-2025, U+2027-202E, U+2030-206F, U+20AC, U+2191, U+2193, U+2215, U+FFFD; }
:root {
  --display: "Newsreader Var", "Newsreader", Georgia, serif; --text: "Newsreader Var", "Newsreader", Georgia, serif;
  --sans: "Newsreader Var", "Newsreader", Georgia, serif;
  --lab-size: 12.6px; --lab-w: 500; --lab-track: 0.08em; --btn-size: 13.3px; --btn-sm: 12.6px; --btn-w: 520; --btn-track: 0.08em;
}
/* headlines: 500 at optical size 72 */
h1 { font-weight: 500; letter-spacing: -0.012em; font-variation-settings: "opsz" 72; }
h2:not(.coda), h3 { font-weight: 500; letter-spacing: -0.01em; font-variation-settings: "opsz" 72; }
.layer h3 { font-weight: 500; }
@media (min-width: 960px) { h1 { letter-spacing: -0.024em; } h2:not(.coda) { letter-spacing: -0.022em; } }
/* the station numbers: Newsreader's lining figures at the headline weight */
.path li::before { font-weight: 500; font-variation-settings: "opsz" 72; font-variant-numeric: tabular-nums lining-nums; }
/* the coda (the one recurring device, U35): italic, 400 */
.coda { font-style: italic; font-weight: 400; font-variation-settings: "opsz" 72; }
/* reading text: Newsreader 400 at the text's own optical size */
body, .standfirst, .prose p, .layer p, .path p, .col p, .facts dd, .runs-list li > p:last-child { font-variation-settings: normal; }
/* captions: italic */
figcaption, .small, .page-src .src { font-style: italic; font-weight: 400; letter-spacing: 0; }
.page-src .src { font-size: 15px; }
/* labels: small capitals */
.facts dt, .lead-name, .legal, .pw, .cells-src, .cell-name, .src-more summary {
  font-family: var(--text); font-style: normal; font-weight: var(--lab-w); font-size: var(--lab-size); letter-spacing: var(--lab-track);
  text-transform: uppercase; font-variation-settings: normal; line-height: 1.6; }
.facts dt { padding-top: 5px; }
.pw { font-size: max(12.5px, var(--lab-size)); line-height: 1; }
.src-more summary { line-height: 1.3; }
/* the footer's address stays an address: lowercase italic at a reading size */
.legal a { font-style: italic; font-weight: 400; font-size: 16px; letter-spacing: 0; text-transform: none; }
/* buttons and text links: small capitals, centred optically (the tracking after the last letter balanced before the first) */
.btn, .text-link { font-family: var(--text); font-style: normal; font-weight: var(--btn-w); font-size: var(--btn-size); letter-spacing: var(--btn-track);
  text-transform: uppercase; font-variation-settings: normal; line-height: 1.2; }
.btn { text-indent: var(--btn-track); }
.btn.small { font-size: var(--btn-sm); }
.text-link { text-underline-offset: 7px; }
/* the stack module (../stack/, unchanged) reads the page's families; its roles set here, as the trial set them */
#stack-host .stack-certs-h { font-weight: 500; letter-spacing: -0.01em; font-variation-settings: "opsz" 72; }
#stack-host .stack-label { font-family: var(--text); font-weight: var(--lab-w); font-size: var(--lab-size); letter-spacing: var(--lab-track);
  text-transform: uppercase; line-height: 1.35; }
#stack-host .stack-label .stack-sub { margin-top: 3px; }
#stack-host .stack-sub, #stack-host .stack-fine { font-family: var(--text); font-style: italic; font-weight: 400; font-size: 15px; letter-spacing: 0; text-transform: none; }
#stack-host .stack-name { font-family: var(--text); font-weight: 400; font-size: 15px; letter-spacing: 0; }
#stack-host .stack-certs a { font-family: var(--text); font-weight: var(--btn-w); font-size: var(--btn-sm); letter-spacing: var(--btn-track);
  text-transform: uppercase; line-height: 1.2; text-underline-offset: 6px; }
#stack-host .stack-list { font-weight: 400; font-variation-settings: normal; }
/* the lockups: the nr2 drawings' own proportions */
.top .wm, .runs-brand .wm { aspect-ratio: 1499.42 / 136; }
.lockup-close .wm { aspect-ratio: 1504.42 / 141; }

/* Item 3 (High, both critics' finding on phones): no line rests half cut under the layer art. Below 960 px the sticky
   figure ends in a 48 px fade, the ground at full strength at the canvas's bottom edge to none 48 px lower, so a line
   dissolves before it reaches the edge. The figure's own box takes the fade (a mask on its solid ground) and runs up
   under the header too (stuck at the top of the screen, the header's height as padding), so a line passing behind the
   art is behind one panel from the screen's top to the fade's foot. The list starts under the fade. */
@media (max-width: 959.98px) {
  .layer-grid { margin-top: max(64px, var(--head)); }
  .layer-fig { top: 0; margin-top: calc(-1 * var(--head)); padding-top: var(--head); padding-bottom: 48px; border-bottom: 0;
    -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 48px), transparent);
    mask-image: linear-gradient(180deg, #000 calc(100% - 48px), transparent); }
}

/* Item 6 (High): on a desktop the layer list sits on the page's right column (736 px at 1440, 656 at 1280), the line
   every other section's right column starts on, with the intro's measure */
@media (min-width: 960px) {
  .layer-list { grid-column: 7 / span 6; }
  .layer p { max-width: 28em; }
}

/* Item 5 (High): the chat figure as two outlined cells under one "Built once", joined to each by a line (round 6's ten
   4 px bands read as redaction). Each cell 300 px at 1440, 260 at 1280, 40 apart; lines 1.5 px Steel; no fill by day,
   Raised by night (B69); 2 px radius; the parts in Newsreader 16 px on 32 px rows. On phones the cells stack, joined
   by one line down their left side. */
.chat .chat-fig { margin-top: 40px; }
.chat .prose .cells-src, .chat .prose .cell-name { max-width: none; }
.cells-src { position: relative; display: flex; justify-content: center; height: 44px; margin: 0; color: var(--steel-over); line-height: 20px; }
.cells-src::before, .cells-src::after { content: ""; position: absolute; top: 9.25px; bottom: 0; border-top: 1.5px solid var(--steel); }
.cells-src::before { left: calc((100% - 40px)/4 - 0.75px); right: calc(50% + 64px); border-left: 1.5px solid var(--steel); }
.cells-src::after { right: calc((100% - 40px)/4 - 0.75px); left: calc(50% + 64px); border-right: 1.5px solid var(--steel); }
.cells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.cell { position: relative; border: 1.5px solid var(--steel); border-radius: 2px; padding: 12px 20px 8px; background: transparent; }
:root:not([data-theme="light"]) .cell { background: #1C1F23; }
.cell-name { color: var(--ink); margin-bottom: 4px; }
.cell ul { display: grid; }
.cell li { font: 400 16px/32px var(--text); color: var(--ink-2); white-space: nowrap; }
.chat-fig figcaption { margin-top: 16px; color: var(--steel-over); }
@media (max-width: 599.98px) {
  .cells-src { justify-content: flex-start; height: auto; margin-bottom: 12px; }
  .cells-src::before, .cells-src::after { display: none; }
  .cells { grid-template-columns: minmax(0, 1fr); row-gap: 16px; padding-left: 24px; }
  .cell::before { content: ""; position: absolute; left: -17.5px; top: -14px; height: 34.5px; width: 16px;
    border-left: 1.5px solid var(--steel); border-bottom: 1.5px solid var(--steel); }
  .cell + .cell::before { top: -17.5px; height: 38px; }
  .cell:first-child::after { content: ""; position: absolute; left: -17.5px; top: 20px; bottom: -17.5px; border-left: 1.5px solid var(--steel); }
}

/* Top fix 1 (both critics): Pause is a quiet 44 px icon in Steel, no border: two bars, a play triangle when paused */
.ctl { display: grid; place-items: center; width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; margin-right: -12px;
  border: 0; border-radius: 50%; background: transparent; color: var(--steel); }
.ctl svg { width: 20px; height: 20px; }
.ctl path { fill: currentColor; }
.ctl .i-play, .ctl[aria-pressed="true"] .i-pause { display: none; }
.ctl[aria-pressed="true"] .i-play { display: inline; }
.ctl:hover { background: var(--wash); color: var(--ink); border-color: transparent; }
.ctl:active { background: var(--wash-2); }
.ctl:focus-visible { outline-offset: 0; }

/* Top fix 3 (critic B): on phones a table's label takes its own line above its value, the value the full width */
@media (max-width: 599.98px) {
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 16px 0; }
  .facts dt { padding-top: 0; line-height: 1.3; }
}

/* Item 4 (High): the opening never blinks. The poster stays under the canvas until the engine's first shown frame (a
   whole sphere, live.js warmup), the canvas fades in over it in 400 ms, ease-out, and only then does the poster fade
   out under it (300 ms; it shows only at the canvas's feathered edges by then). The poster is its own layer (the
   stage's ::before), so neither fade repaints the stage */
.stage { background-image: none; }
.stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--poster, none) center / cover no-repeat;
  transition: opacity 300ms ease; }
.stage.posterless::before { opacity: 0; }
.stage .live-cv { transition: opacity 400ms cubic-bezier(0, 0, 0.2, 1); }

/* The type change's own fallout, from this round's first gate run (gate rows 1 and 5):
   - at 500 the opening's name is about 6.4 em wide, past its six columns; at 1280 it ended 25 px from the live art's
     canvas and the bird came within 34 px of it (the gate asks 48). It is sized to end at least 48 px short of the
     figure's column with room to spare (at 1440 it stays 104 px; at 1280 about 92)
   - the sources note in Newsreader italic fits about 87 characters into round 6's 60ch: 25em holds it to about 72 */
/* the name is 6.4 em wide and sits in six of the twelve columns (six columns and five gaps): size it to that width with a little to spare (the gate's edges row measured 26 px past at 1440) */
@media (min-width: 960px) { .opening h1 { font-size: min(var(--t-h1), calc(((100vw - 2*var(--m) - 352px)/2 + 160px)/6.6)); } }
.page-src .src { max-width: 25em; }
/* - and at 500 the name is about 6.6 em wide on a phone (its tracking there is lighter): round 6's 13.4vw ran it 9 px
     past a 320 px screen. 12.6vw fits it; from 365 px up the phone's own 46 px is the smaller, so 390 is unchanged */
@media (max-width: 959.98px) { .opening h1 { font-size: min(var(--t-h1), 12.6vw); } }
/* - the sources note while its drawer is closed: Chromium keeps the closed drawer's text laid out (its line boxes report
     where they would be, over the close's mark on a phone), and the gate read those unseen lines over the mark at
     2.36:1 in one frame. Closed, the note takes no boxes at all */
.src-more:not([open]) .src { display: none; }

/* ---------- round 8 (fixer: round 7b's panel, NINE.md; Tim's C33) ---------- */
/* High: one control for all the page's motion, in the header, left of the theme switch: 44 x 44, the opening's two
   2 x 12 px Steel bars, a play triangle while it is pressed (still). The figures hold in live.js; .still stops the CSS
   motion: the blinking period, Hey Pharmacist's dots, the path's draw and the faint still's glide at the close */
.motion { position: relative; display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; margin: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--steel); cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease; }
.motion svg { width: 20px; height: 20px; }
.motion path { fill: currentColor; }
.motion .i-play, .motion[aria-pressed="true"] .i-pause { display: none; }
.motion[aria-pressed="true"] .i-play { display: inline; }
.motion:hover { background: var(--wash); color: var(--ink); }
.motion:active { background: var(--wash-2); }
.motion:focus-visible { outline-offset: 0; border-radius: 50%; }
.still .pw .dot, .still .prod .pm .d { animation: none; }
.still .path::before { transition: none; }
.still .stack-art { transition: opacity 400ms cubic-bezier(0, 0, 0.2, 1); }

/* 1. By day the lit spine is one continuous 2 px Graphite line from pole to pole (asimov.js draws it and sets its
   strength); by night the engine's own axis lights */
.stage-ink .spine { stroke-width: 2; opacity: 0; }

/* 2. An unlit layer's paragraph takes its name's Steel; both return to full ink together when its band lights */
.layer p { transition: color 300ms ease; }
.js .layer:not(.on) p { color: var(--steel); }

/* 3. The sources sit in the chat's column (736 px at 1440, 656 at 1280), 40 px under its table's last rule */
.chat .page-src { margin: 40px 0 0; }
.chat .page-src .src { max-width: 25em; }

/* 4. Phones (and below 960 px). B119 round 4 (the round-3 panel's High: a line read at 1.4:1 inside the fade): the pinned
   figure ends on a hard edge with a hairline, its ground solid to the edge, so a line is either behind the figure or at
   its full ink (4.5:1 or more), never half lit in a fade, with or without reduced motion */
@media (max-width: 959.98px) {
  .layer-fig { padding-bottom: 16px; -webkit-mask-image: none; mask-image: none; border-bottom: 1px solid var(--rule); }
}
/* and each layer keeps 64 px under its last line (16 before; a three-line layer outgrows its 196 px minimum by 20 px),
   so when the next layer rests under the figure this one's last line is behind it, not dissolving in the fade (measured
   at each layer's rest, CHECKS.md) */
@media (max-width: 767.98px) { .layer, .layer:last-child { padding-bottom: 64px; } }

/* 5. Phones: the two chat cells side by side under the one "Built once" bracket, as on a desktop: two 165 px columns at
   390, 12 px apart, 12 px inner padding (the longest label, HEY PHARMACIST, is 137 px) */
@media (max-width: 599.98px) {
  .cells-src { justify-content: center; height: 44px; margin-bottom: 0; }
  .cells-src::before, .cells-src::after { display: block; }
  .cells-src::before { left: calc((100% - 12px)/4 - 0.75px); }
  .cells-src::after { right: calc((100% - 12px)/4 - 0.75px); }
  .cells { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; row-gap: 0; padding-left: 0; }
  .cell { padding: 12px 12px 8px; }
  .cell::before, .cell:first-child::after { content: none; }
  .cell-name { white-space: nowrap; }
}

/* 6. Section titles hold one line: 48 px from 960 to 1365 px wide ("How a change ships." and "The platform's layers."
   measure 421 and 450 px at 1280, in a 461 px column) and 35 px below 600 px (337 px in 342 at 390) */
@media (min-width: 960px) and (max-width: 1365.98px) { :root { --t-h2: 48px; } }
@media (max-width: 599.98px) { :root { --t-h2: 35px; } }

/* B119 round 4 (Decision HHL-BRAND B119-WEB-ARCHIVO): one name across the site. The header and the close set HEY HEY LABS
   in the landing's Archivo drawing (variants/v4/wordmark/ar4), at the landing's header size and gap; every other line
   keeps its Newsreader */
.top .wm { height: 13.6px; aspect-ratio: 1744.92 / 136; }
.top .lk { gap: 4.8px; }
@media (min-width: 960px) { .top .wm { height: 14.5px; } .top .lk { gap: 5.1px; } }
.lockup-close .wm { aspect-ratio: 1749.92 / 141; }
.runs-brand .wm { aspect-ratio: 1744.92 / 136; }
