/* Generated by `bun run tokens:css` from packages/studio_ui/lib/theme/tokens.dart,
   form_factor.dart and motion.dart. Do not edit: change the token and regenerate. */
:root {
  /* palette */
  --palette-background: #131313;
  --palette-surface: #1c1c1c;
  --palette-surface-alt: #171717;
  --palette-border: #363737;
  --palette-text-primary: #e2e0e1;
  --palette-text-secondary: #9fa2a2;
  --palette-text-muted: #8b8d8d;
  --palette-heading: #f2f2f0;
  --palette-accent: #f05f1b;
  --palette-alert-tint: #31231c;
  --palette-comparison: #e2e0e1;
  --palette-selection: #f05f1b26;
  --palette-hover: #e2e0e112;
  --palette-literal: #f2f2f0;
  --palette-delta-up: #f2f2f0;
  --palette-delta-down: #9fa2a2;

  /* print: ReportPalette.print, the paper a printed page is */
  --print-paper: #ffffff;
  --print-text: #1f1f1f;
  --print-muted: #888888;
  --print-rule: #d9d9d9;
  --print-accent: #e8541e;

  /* fonts */
  --font-sans: "Arimo", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  --font-mono: "Cousine", "Courier New", "Courier", monospace;
  --font-display: "URWGothic", "Arimo", "Century Gothic", "Futura", sans-serif;

  /* space */
  --space-xxs: 2px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-xxl: 32px;
  --space-gutter: 10px;

  /* radius */
  --radius-card: 2px;
  --radius-menu: 2px;
  --radius-control: 4px;
  --radius-round: 999px;

  /* stroke */
  --stroke-hairline: 1px;
  --stroke-emphasis: 2px;
  --stroke-spinner: 1.5px;

  /* tracking */
  --tracking-section-label: 1.6px;
  --tracking-chip: 0.6px;

  /* sizes */
  --size-page-measure: 960px;
  --size-print-measure: 720px;
  --size-top-bar-height: 56px;
  --size-touch-target: 44px;
  --size-control-height: 36px;
  --size-chip-height-compact: 28px;
  --size-kpi-card-width: 264px;
  --size-icon: 16px;
  --size-phone-breakpoint: 600px;

  /* type */
  --type-display-family: var(--font-display);
  --type-display-size: 44px;
  --type-display-weight: 400;
  --type-display-height: 1.05;
  --type-display-tracking: normal;
  --type-display-color: var(--palette-heading);
  --type-heading-family: var(--font-display);
  --type-heading-size: 28px;
  --type-heading-weight: 400;
  --type-heading-height: 1.5;
  --type-heading-tracking: normal;
  --type-heading-color: var(--palette-heading);
  --type-subheading-family: var(--font-display);
  --type-subheading-size: 20px;
  --type-subheading-weight: 400;
  --type-subheading-height: 1.3;
  --type-subheading-tracking: normal;
  --type-subheading-color: var(--palette-heading);
  --type-title-family: var(--font-display);
  --type-title-size: 16px;
  --type-title-weight: 700;
  --type-title-height: 1.5;
  --type-title-tracking: normal;
  --type-title-color: var(--palette-heading);
  --type-lead-family: var(--font-sans);
  --type-lead-size: 16px;
  --type-lead-weight: 400;
  --type-lead-height: 1.5;
  --type-lead-tracking: normal;
  --type-lead-color: var(--palette-text-secondary);
  --type-body-family: var(--font-sans);
  --type-body-size: 14px;
  --type-body-weight: 400;
  --type-body-height: 1.5;
  --type-body-tracking: normal;
  --type-body-color: var(--palette-text-primary);
  --type-body-strong-family: var(--font-sans);
  --type-body-strong-size: 14px;
  --type-body-strong-weight: 700;
  --type-body-strong-height: 1.5;
  --type-body-strong-tracking: normal;
  --type-body-strong-color: var(--palette-text-primary);
  --type-caption-family: var(--font-sans);
  --type-caption-size: 12px;
  --type-caption-weight: 400;
  --type-caption-height: 1.5;
  --type-caption-tracking: normal;
  --type-caption-color: var(--palette-text-secondary);
  --type-section-label-family: var(--font-mono);
  --type-section-label-size: 11px;
  --type-section-label-weight: 700;
  --type-section-label-height: 1.45;
  --type-section-label-tracking: 1.6px;
  --type-section-label-color: var(--palette-text-muted);
  --type-tab-label-family: var(--font-mono);
  --type-tab-label-size: 11px;
  --type-tab-label-weight: 700;
  --type-tab-label-height: 1.45;
  --type-tab-label-tracking: 0.6px;
  --type-tab-label-color: var(--palette-text-secondary);
  --type-chip-label-family: var(--font-mono);
  --type-chip-label-size: 10px;
  --type-chip-label-weight: 700;
  --type-chip-label-height: 1.45;
  --type-chip-label-tracking: 0.6px;
  --type-chip-label-color: var(--palette-text-primary);
  --type-kpi-family: var(--font-display);
  --type-kpi-size: 28px;
  --type-kpi-weight: 400;
  --type-kpi-height: 1.45;
  --type-kpi-tracking: normal;
  --type-kpi-color: var(--palette-heading);
  --type-kpi-small-family: var(--font-display);
  --type-kpi-small-size: 18px;
  --type-kpi-small-weight: 700;
  --type-kpi-small-height: 1.45;
  --type-kpi-small-tracking: normal;
  --type-kpi-small-color: var(--palette-heading);
  --type-mono-family: var(--font-mono);
  --type-mono-size: 13px;
  --type-mono-weight: 400;
  --type-mono-height: 1.45;
  --type-mono-tracking: normal;
  --type-mono-color: var(--palette-text-primary);
  --type-mono-strong-family: var(--font-mono);
  --type-mono-strong-size: 13px;
  --type-mono-strong-weight: 700;
  --type-mono-strong-height: 1.45;
  --type-mono-strong-tracking: normal;
  --type-mono-strong-color: var(--palette-text-primary);
  --type-mono-caption-family: var(--font-mono);
  --type-mono-caption-size: 11px;
  --type-mono-caption-weight: 400;
  --type-mono-caption-height: 1.45;
  --type-mono-caption-tracking: normal;
  --type-mono-caption-color: var(--palette-text-muted);

  /* motion: durations and curves; a timing that is not here is not one */
  --motion-instant: 80ms;
  --motion-fast: 120ms;
  --motion-quick: 120ms;
  --motion-crossfade: 140ms;
  --motion-reveal: 160ms;
  --motion-normal: 200ms;
  --motion-standard: 200ms;
  --motion-considered: 240ms;
  --motion-pulse: 550ms;
  --motion-hover-delay: 350ms;
  --motion-tooltip-delay: 400ms;
  --motion-busy-delay: 400ms;
  --motion-busy-min-on: 300ms;
  --motion-double-click: 600ms;
  --motion-notice: 2000ms;
  --ease-out: cubic-bezier(0.05, 0.7, 0.1, 1);
  --ease-in: cubic-bezier(0.3, 0, 0.8, 0.15);
}

/* StudioMotionData.reduced: under reduced motion every animation is zero and
   the page is still complete. Waits are not animations and keep their time. */
@media (prefers-reduced-motion: reduce) {
  :root {
    --motion-instant: 0ms;
    --motion-fast: 0ms;
    --motion-quick: 0ms;
    --motion-crossfade: 0ms;
    --motion-reveal: 0ms;
    --motion-normal: 0ms;
    --motion-standard: 0ms;
    --motion-considered: 0ms;
    --motion-pulse: 0ms;
  }
}

/* The site's rules, in the parts `CSS_PARTS` orders. Every colour, size,
   family, weight, duration and curve is a custom property from the
   generated tokens prepended to them at build; a literal in any part is a
   bug (test/render.test.ts). The page's own
   rhythm is composed from those steps in the first block — sums and
   multiples of them, and the one fluid rate a display line needs — and
   nowhere else. The two widths a media query needs, the phone breakpoint
   and the page measure, are substituted from the same tokens.

   The page is layered. Round it, a hairline frame a step in from the
   window's edge, as the house's own site is framed. Under the words: the
   field — a matrix of dots fading out under one glow of the paper ink at a
   few percent — and over everything a film of grain, so the canvas has
   the tooth of paper rather than the flatness of a screen. The pictures
   are plates: drawings in the mark's vocabulary, painted here by class.

   The accent is spent in three places and no others: the page a reader is
   on, in the nav; the one primary action; and what is live — the mark's
   own live tier, the channel that runs from it, and a Live status.

   Motion follows the brand's Motion chapter: it explains a change of state
   and never decorates one. A page arrives in crossfade under a masthead
   that stays; the nav's block slides to the new page in reveal; the
   channel arrives along the horizon once and draws itself across the
   front page's plate; a step lights as the reader reaches it; a card
   lifts under the pointer. Arriving eases out, leaving eases in, nothing
   bounces, and under reduced motion every duration is zero and the page is
   complete. */

:root {
  --gutter: var(--space-xxl);
  --rhythm-block: calc(var(--space-xxl) * 2);
  --rhythm-section: calc(var(--space-xxl) * 4);
  --hero-size: clamp(
    calc(var(--type-heading-size) + var(--space-md)),
    4.6vw,
    calc(var(--type-display-size) + var(--space-xl) + var(--space-xs))
  );
  --title-size: clamp(
    calc(var(--type-heading-size) + var(--space-sm)),
    5.2vw,
    calc(var(--type-display-size) + var(--space-md))
  );
  --closing-size: clamp(
    calc(var(--type-display-size) + var(--space-xxl)),
    12.4vw,
    calc(var(--type-display-size) * 4)
  );
  --standfirst-size: calc(var(--type-lead-size) + var(--space-xs));
  --statement-size: var(--type-heading-size);
  --heading-height: calc((var(--type-display-height) + var(--type-heading-height)) / 2);
  /* Display sizes are tightened a hair, as type set large always is. */
  --display-tracking: -0.02em;
  --node: var(--size-chip-height-compact);
  --horizon-hero: calc(var(--space-xxl) * 3);
  --horizon-rule: calc(var(--space-xxl) + var(--space-sm));
  --horizon-foot: calc(var(--space-xxl) * 2);
  --glass: color-mix(in oklab, var(--palette-background) 80%, transparent);
  --primary-hover: color-mix(in oklab, var(--palette-accent) 86%, var(--palette-heading));
  /* The frame: how far in from the window's edge the page's hairline runs. */
  --frame: var(--space-md);
  /* The field: the matrix's cell and its dot, and the one glow over it. */
  --dot-cell: var(--space-lg);
  --dot-size: var(--stroke-hairline);
  --dot-ink: color-mix(in oklab, var(--palette-text-muted) 60%, transparent);
  --glow-accent: color-mix(in oklab, var(--palette-accent) 16%, transparent);
  --glow-paper: color-mix(in oklab, var(--palette-heading) 7%, transparent);
  --ink-faint: color-mix(in oklab, var(--palette-text-muted) 80%, transparent);
  --card-raised: color-mix(in oklab, var(--palette-surface) 88%, var(--palette-heading));
  /* Where, above the foot of the window, a step counts as reached. */
  --reading-line: 30vh;
  --grain-opacity: 0.045;
}

@font-face {
  font-family: "Arimo";
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/Arimo-Regular.52329cabf6.ttf") format("truetype");
}
@font-face {
  font-family: "Arimo";
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/Arimo-Bold.2b6a257d5f.ttf") format("truetype");
}
@font-face {
  font-family: "Cousine";
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/Cousine-Regular.0482bd069b.ttf") format("truetype");
}
@font-face {
  font-family: "Cousine";
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/Cousine-Bold.2b1c700b79.ttf") format("truetype");
}
/* The display face: URW Gothic, the open twin of the house's Century
   Gothic. Book for a headline, Demi for a title. */
@font-face {
  font-family: "URWGothic";
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/URWGothic-Book.aa99e7ad76.ttf") format("truetype");
}
@font-face {
  font-family: "URWGothic";
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/URWGothic-Demi.ae8b24392f.ttf") format("truetype");
}

/* ---- The page ------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  background: var(--palette-background);
  color: var(--palette-text-primary);
  font-family: var(--type-body-family);
  font-size: var(--type-lead-size);
  font-weight: var(--type-body-weight);
  line-height: var(--type-body-height);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  hanging-punctuation: first last;
  scrollbar-gutter: stable;
  scrollbar-color: var(--palette-border) transparent;
  scroll-padding-top: calc(var(--size-top-bar-height) + var(--frame) + var(--space-lg));
}

body {
  margin: 0;
  padding: var(--frame);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

/* The frame: a hairline round the page, a step in from the window. Its
   border is the canvas, so what scrolls under it is gone before the edge
   of the window, and the hairline is the inner edge of that border. It
   never catches a pointer. */
.frame {
  position: fixed;
  inset: 0;
  z-index: 3;
  border: var(--frame) solid var(--palette-background);
  box-shadow: inset 0 0 0 var(--stroke-hairline) var(--palette-border);
  pointer-events: none;
}

main {
  flex: 1;
}

main:focus {
  outline: none;
}

h1,
h2,
h3,
p,
ol,
ul {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--palette-heading);
  font-family: var(--type-heading-family);
  font-weight: var(--type-heading-weight);
  line-height: var(--heading-height);
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
  transition:
    color var(--motion-instant) var(--ease-out),
    background-color var(--motion-fast) var(--ease-out),
    border-color var(--motion-fast) var(--ease-out),
    text-decoration-color var(--motion-fast) var(--ease-out);
}

svg {
  display: block;
}

strong {
  color: var(--palette-heading);
  font-weight: var(--type-body-strong-weight);
}

/* The accent at a sixth of its strength, as a selected cell is. */
::selection {
  background: var(--palette-selection);
  color: var(--palette-heading);
}

/* Focus is a lighter line, never an orange ring. */
:focus-visible {
  outline: var(--stroke-emphasis) solid var(--palette-heading);
  outline-offset: var(--space-xs);
  border-radius: var(--radius-control);
}

/* One column at the page measure: masthead, sections and footer share its edges. */
.wrap {
  width: 100%;
  max-width: var(--size-page-measure);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left))
    max(var(--gutter), env(safe-area-inset-right));
}

.skip {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  z-index: 5;
  padding: var(--space-sm) var(--space-md);
  background: var(--palette-surface);
  border: var(--stroke-hairline) solid var(--palette-border);
  border-radius: var(--radius-control);
  font-family: var(--type-tab-label-family);
  font-size: var(--type-tab-label-size);
  font-weight: var(--type-tab-label-weight);
  letter-spacing: var(--type-tab-label-tracking);
  text-transform: uppercase;
  color: var(--palette-heading);
  transform: translateY(calc(-100% - var(--space-lg)));
  transition: transform var(--motion-fast) var(--ease-out);
}

.skip:focus-visible {
  transform: none;
}

/* ---- The field and the grain ---------------------------------------- */

/* Behind an opening: a matrix of dots, one every large step, held to the
   upper right of its box by a mask so it is gone before the words below
   it; and over the matrix one glow of the paper ink, high on the right, a
   soft radial at a few percent. No accent here: the field is ground, and
   the accent is kept for what is live. The box is the section's; the
   field never catches a pointer. */
.field {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.field::before {
  content: "";
  position: absolute;
  inset: calc(var(--dot-cell) * -2) 0 0;
  background-image: radial-gradient(
    circle at center,
    var(--dot-ink) var(--dot-size),
    transparent calc(var(--dot-size) * 1.5)
  );
  background-size: var(--dot-cell) var(--dot-cell);
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 76% 0%, black 8%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 100% at 76% 0%, black 8%, transparent 78%);
}

.field::after {
  content: "";
  position: absolute;
  inset: calc(var(--dot-cell) * -4) calc(var(--dot-cell) * -4);
  background: radial-gradient(ellipse 42% 60% at 78% 18%, var(--glow-paper), transparent 70%);
}

/* The closing block's field hangs from the foot instead, on the left. */
.closing .field::before {
  inset: 0 0 calc(var(--dot-cell) * -2);
  background-position: center bottom;
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 24% 100%, black 8%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 100% at 24% 100%, black 8%, transparent 78%);
}

.closing .field::after {
  background: radial-gradient(ellipse 48% 60% at 18% 90%, var(--glow-paper), transparent 70%);
}

/* A film of noise over the whole window, fixed, at a few percent. */
.grain {
  position: fixed;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  opacity: var(--grain-opacity);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

/* ---- The masthead --------------------------------------------------- */

/* The bar of every Studio surface: mark and wordmark left, the pages right.
   It stays put while the page scrolls, inside the frame, and its contents
   while a page is swapped under them. The transition's name sits on the
   contents, not the bar: a named element is a backdrop root, and the glass
   would then blur nothing but the bar itself. */
.masthead {
  position: sticky;
  top: var(--frame);
  z-index: 2;
}

/* The glass and its hairline, shown once the page has moved under the bar. */
.masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--glass);
  border-bottom: var(--stroke-hairline) solid var(--palette-border);
  -webkit-backdrop-filter: blur(var(--space-md));
  backdrop-filter: blur(var(--space-md));
}

.masthead-bar {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  height: var(--size-top-bar-height);
  view-transition-name: masthead;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  height: 100%;
  margin-right: auto;
  font-family: var(--type-section-label-family);
  font-size: var(--type-section-label-size);
  font-weight: var(--type-section-label-weight);
  letter-spacing: var(--type-section-label-tracking);
  text-transform: uppercase;
  color: var(--palette-heading);
}

.mark {
  flex: none;
  width: var(--size-icon);
  height: var(--size-icon);
}

.mark-canvas {
  fill: var(--palette-background);
}

.mark-channel {
  fill: var(--palette-accent);
}

.mark-stroke {
  fill: var(--palette-heading);
}

/* The pages, as the house sets its own: capitals in the display face's
   heavier cut, each a block the height of the bar between hairlines. Where
   the bar is too narrow for them all, the run scrolls sideways. */
.masthead-nav {
  display: flex;
  min-width: 0;
  height: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.masthead-nav a {
  position: relative;
  isolation: isolate;
  flex: none;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding-inline: var(--space-lg);
  border-left: var(--stroke-hairline) solid var(--palette-border);
  font-family: var(--type-title-family);
  font-size: var(--type-caption-size);
  font-weight: var(--type-title-weight);
  letter-spacing: var(--tracking-section-label);
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--palette-text-secondary);
}

.masthead-nav a:last-child {
  border-right: var(--stroke-hairline) solid var(--palette-border);
}

.masthead-nav a:hover {
  color: var(--palette-heading);
  background-color: var(--palette-hover);
}

/* The ring sits inside the block, where the run's own edge cannot clip it. */
.masthead-nav a:focus-visible {
  outline-offset: calc(var(--space-xs) * -1);
  border-radius: 0;
}

/* The page a reader is on: the block filled in accent, its name in the
   canvas colour. One of the three places the accent is spent. */
.masthead-nav a[aria-current="page"],
.masthead-nav a[aria-current="page"]:hover {
  color: var(--palette-background);
  background-color: transparent;
}

.masthead-nav a[aria-current="page"]:focus-visible {
  outline-color: var(--palette-background);
}

/* The fill itself: the one element that moves from one page to the next. */
.tab {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--palette-accent);
  view-transition-name: tab;
}

/* ---- The plates ----------------------------------------------------- */

/* The inks a plate is drawn in. Lines are hairlines at the drawing's own
   scale, so a glyph stays fine when it is small and a plate when it is
   large; the channel is the one stroke of emphasis. */
.plate,
.glyph {
  overflow: visible;
}

.ink-rule,
.ink-stroke,
.ink-sand,
.ink-frame,
.ink-channel,
.ink-hash,
.ink-sand-ring,
.ink-accent-ring {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.ink-rule {
  stroke: var(--ink-faint);
  stroke-width: var(--stroke-hairline);
}

.ink-stroke,
.ink-frame {
  stroke: var(--palette-text-secondary);
  stroke-width: var(--stroke-hairline);
}

.ink-accent-ring {
  stroke: var(--palette-accent);
  stroke-width: var(--stroke-emphasis);
}

.ink-sand,
.ink-sand-ring {
  stroke: var(--palette-literal);
  stroke-width: var(--stroke-hairline);
}

.ink-sand {
  stroke-width: var(--stroke-emphasis);
}

.ink-channel {
  stroke: var(--palette-accent);
  stroke-width: var(--stroke-emphasis);
}

.ink-hash {
  stroke: var(--palette-text-muted);
  stroke-width: var(--stroke-hairline);
  stroke-dasharray: 3 3;
}

.ink-sheet {
  fill: var(--palette-surface);
  stroke: var(--palette-border);
  stroke-width: var(--stroke-hairline);
  vector-effect: non-scaling-stroke;
}

.ink-sheet--back {
  fill: var(--palette-surface-alt);
}

.ink-card {
  fill: var(--palette-background);
  stroke: var(--palette-text-muted);
  stroke-width: var(--stroke-hairline);
  vector-effect: non-scaling-stroke;
}

.ink-pane {
  fill: var(--palette-surface-alt);
}

.ink-dot {
  fill: var(--palette-text-muted);
}

.ink-sand-fill {
  fill: var(--palette-literal);
}

.ink-accent-fill {
  fill: var(--palette-accent);
}

.ink-stroke-fill {
  fill: var(--palette-text-secondary);
}

.ink-bar {
  fill: var(--palette-border);
}

.ink-bar--live {
  fill: var(--palette-accent);
}

.ink-bar--now {
  fill: var(--palette-literal);
}

/* The channel on the front page's plate draws itself in on arrival. */
.ink-channel {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

/* The two wide plates take the width they are given and keep their shape. */
.plate--studio,
.plate--controls {
  display: block;
  width: 100%;
  height: auto;
}

/* The glyph beside a step: the icon's size at three steps, four on a card,
   quiet until the step is the one under the pointer. */
.glyph {
  width: calc(var(--size-icon) * 3.5);
  height: calc(var(--size-icon) * 3.5);
  transition: opacity var(--motion-fast) var(--ease-out);
}

.facet .glyph,
.reader .glyph {
  width: calc(var(--size-icon) * 4);
  height: calc(var(--size-icon) * 4);
  margin-bottom: var(--space-lg);
}

/* ---- The front page ------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto auto;
  /* One screen, and never taller than the measure is wide: on a portrait
     monitor the promise and its panel stay together instead of floating in
     a screen of field. */
  min-height: min(
    calc(100svh - var(--size-top-bar-height) - var(--frame) * 2),
    var(--size-page-measure)
  );
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  column-gap: var(--rhythm-block);
  padding-block: var(--rhythm-block);
}

.hero-label {
  margin-bottom: var(--space-lg);
}

.hero-title {
  max-width: var(--size-print-measure);
  font-family: var(--type-display-family);
  font-size: var(--hero-size);
  font-weight: var(--type-display-weight);
  line-height: var(--type-display-height);
  letter-spacing: var(--display-tracking);
}

/* The paragraph under a display line. */
.standfirst {
  max-width: var(--size-print-measure);
  margin-top: var(--space-xl);
  font-family: var(--type-lead-family);
  font-size: var(--standfirst-size);
  line-height: var(--type-lead-height);
  color: var(--type-lead-color);
}

.hero-more {
  max-width: var(--size-print-measure);
  margin-top: var(--space-md);
  color: var(--palette-text-secondary);
}

/* Beside the promise: the panel of controls at the column's width, lifted
   off the field by a shadow the canvas colour makes. */
.hero-plate {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: calc(var(--size-page-measure) / 2);
  filter: drop-shadow(
    0 var(--space-lg) var(--space-xxl)
      color-mix(in oklab, var(--palette-background) 80%, transparent)
  );
}

.plate--ledger {
  width: 100%;
  height: auto;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xxl);
}

/* A control at touch height. The primary one is Studio's filled button: the
   accent, with the canvas for its text. */
.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  min-height: var(--size-touch-target);
  padding-inline: var(--space-xl);
  border: var(--stroke-hairline) solid var(--palette-border);
  border-radius: var(--radius-control);
  font-family: var(--type-body-strong-family);
  font-weight: var(--type-body-strong-weight);
  color: var(--palette-heading);
  transition:
    color var(--motion-instant) var(--ease-out),
    background-color var(--motion-fast) var(--ease-out),
    border-color var(--motion-fast) var(--ease-out),
    transform var(--motion-fast) var(--ease-out),
    box-shadow var(--motion-fast) var(--ease-out);
}

.action:hover {
  border-color: var(--palette-text-muted);
  background-color: var(--palette-hover);
  transform: translateY(calc(var(--stroke-hairline) * -1));
}

.action:active {
  transform: translateY(var(--stroke-hairline));
}

.action--primary {
  border-color: var(--palette-accent);
  background-color: var(--palette-accent);
  color: var(--palette-background);
  box-shadow: 0 0 0 0 var(--glow-accent);
}

.action--primary:hover {
  border-color: var(--primary-hover);
  background-color: var(--primary-hover);
  box-shadow: 0 var(--space-sm) var(--space-xl) var(--glow-accent);
}

/* A link onward: heading weight, a hairline under it that brightens. */
.more {
  font-weight: var(--type-body-strong-weight);
  color: var(--palette-heading);
  text-decoration: underline;
  text-decoration-thickness: var(--stroke-hairline);
  text-underline-offset: var(--space-xs);
  text-decoration-color: var(--palette-text-muted);
}

.more:hover {
  text-decoration-color: var(--palette-heading);
}

.action-arrow,
.more-arrow {
  display: inline-block;
  transition: transform var(--motion-fast) var(--ease-out);
}

.more-arrow {
  margin-left: var(--space-sm);
}

/* The arrow leans the way the link goes. */
.action:hover .action-arrow,
.more:hover .more-arrow {
  transform: translateX(var(--space-xs));
}

/* Where a claim was read from: a mono chip, tracked. */
.cite {
  display: inline-flex;
  align-items: center;
  padding: var(--space-xxs) var(--space-sm);
  border: var(--stroke-hairline) solid var(--palette-border);
  border-radius: var(--radius-round);
  font-family: var(--type-mono-caption-family);
  font-size: var(--type-mono-caption-size);
  line-height: var(--type-mono-caption-height);
  letter-spacing: var(--tracking-chip);
  color: var(--palette-text-secondary);
}

/* ---- The horizon ---------------------------------------------------- */

/* The mark's tiers run across the page: the two lower tiers drawn faintly
   at the mark's own spacing, the ground a hairline, and the live tier a
   line along the top in the mark's accent — drawn here rather than in the
   drawing, so it can run from the edge of the window. */
.horizon {
  position: relative;
  height: var(--horizon-hero);
  border-bottom: var(--stroke-hairline) solid var(--palette-border);
}

.horizon::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 1;
  height: var(--stroke-emphasis);
  background: var(--palette-accent);
  transform-origin: 0 50%;
}

/* The channel's own light, thrown a little way down the page. */
.horizon::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: var(--space-xxl);
  background: linear-gradient(to bottom, var(--glow-accent), transparent);
  pointer-events: none;
}

.horizon-drawing {
  display: block;
  width: 100%;
  height: 100%;
}

.horizon-tier {
  fill: var(--palette-surface);
}

.horizon--rule {
  height: var(--horizon-rule);
  margin-top: var(--rhythm-block);
}

.horizon--foot {
  height: var(--horizon-foot);
  border-bottom: 0;
}

/* ---- Sections ------------------------------------------------------- */

.section {
  position: relative;
  margin-top: var(--rhythm-section);
}

/* A band: the section on a surface a shade off the canvas, hairlines above
   and below, running the window's width. */
.section--band {
  padding-block: var(--rhythm-section);
  background: linear-gradient(to bottom, var(--palette-surface-alt), var(--palette-background));
  border-top: var(--stroke-hairline) solid var(--palette-border);
  border-bottom: var(--stroke-hairline) solid var(--palette-border);
}

.section-title {
  margin-bottom: var(--space-xxl);
  font-size: calc(var(--type-heading-size) + var(--space-sm));
  letter-spacing: var(--display-tracking);
}

.section-title:has(+ .section-lead) {
  margin-bottom: var(--space-md);
}

.section-title--display {
  max-width: var(--size-print-measure);
  font-family: var(--type-display-family);
  font-size: var(--title-size);
  font-weight: var(--type-display-weight);
  line-height: var(--type-display-height);
}

.section-lead {
  max-width: var(--size-print-measure);
  margin-bottom: var(--rhythm-block);
  font-size: var(--standfirst-size);
  line-height: var(--type-lead-height);
  color: var(--palette-text-secondary);
}

.section-more {
  margin-top: var(--rhythm-block);
}

/* A section label: a chip, as the house labels a section — mono, tracked,
   uppercase, quiet and still AA, inside a hairline, two strokes before it
   as a comment opens. No accent: a label names, it does not signal. */
.label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  width: fit-content;
  margin-bottom: var(--space-xl);
  padding: var(--space-xs) var(--space-sm);
  border: var(--stroke-hairline) solid var(--palette-border);
  border-radius: var(--radius-card);
  font-family: var(--type-section-label-family);
  font-size: var(--type-section-label-size);
  font-weight: var(--type-section-label-weight);
  line-height: var(--type-section-label-height);
  letter-spacing: var(--type-section-label-tracking);
  text-transform: uppercase;
  color: var(--palette-text-secondary);
}

/* The strokes are drawn, not said: their alternative text is empty. */
.label::before {
  content: "//" / "";
  letter-spacing: 0;
  color: var(--palette-text-muted);
}

/* ---- Steps ---------------------------------------------------------- */

/* How a product is run, one step after another along a channel: each
   step's ordinal is a node on it, and the stretch to the next node fills
   as the reader passes. Upright by default; side by side on the front page
   wherever the page measure fits. */
.steps {
  --step-gap: var(--space-xl);
  position: relative;
  display: grid;
  gap: var(--step-gap);
  padding: 0;
  list-style: none;
}

.steps--long {
  --step-gap: var(--rhythm-block);
}

/* The node: the ordinal in sand, as the brand numbers a step. */
.step-n {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: var(--node);
  height: var(--node);
  border: var(--stroke-hairline) solid var(--palette-literal);
  border-radius: var(--radius-round);
  background: var(--palette-background);
  font-family: var(--type-mono-strong-family);
  font-size: var(--type-mono-caption-size);
  font-weight: var(--type-mono-strong-weight);
  font-variant-numeric: tabular-nums;
  color: var(--palette-literal);
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: var(--node) minmax(0, 1fr);
  column-gap: var(--space-lg);
  row-gap: var(--space-xs);
  align-content: start;
  view-timeline-name: --step;
}

.step > * {
  grid-column: 2;
}

.step > .step-n {
  grid-column: 1;
  grid-row: 1 / span 4;
}

.step > .glyph {
  margin-bottom: var(--space-md);
  opacity: 0.7;
}

.step:hover > .glyph {
  opacity: 1;
}

/* The stretch of channel from this node to the next, and its fill. */
.step:not(:last-child)::before,
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--node) / 2);
  left: calc(var(--node) / 2 - var(--stroke-emphasis) / 2);
  width: var(--stroke-emphasis);
  height: calc(100% + var(--step-gap));
}

.step:not(:last-child)::before {
  background: var(--palette-border);
}

.step:not(:last-child)::after {
  background: var(--palette-literal);
  transform-origin: 50% 0;
}

.step-name {
  font-family: var(--type-title-family);
  font-size: var(--type-title-size);
  font-weight: var(--type-title-weight);
  line-height: var(--node);
}

.step-text {
  color: var(--palette-text-secondary);
}

/* At length: the ordinal, the text, and the step's plate beside it on a
   card of its own where the measure allows. */
.steps--long .step {
  grid-template-columns: var(--node) minmax(0, 1fr);
}

.steps--long .step-body {
  grid-column: 2;
}

.steps--long .step-plate {
  grid-column: 2;
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  max-width: calc(var(--size-page-measure) / 3);
  margin-top: var(--space-lg);
  border: var(--stroke-hairline) solid var(--palette-border);
  border-radius: var(--radius-card);
  background: linear-gradient(to bottom right, var(--palette-surface), var(--palette-background));
}

.steps--long .step-plate .glyph {
  width: calc(var(--size-icon) * 6);
  height: calc(var(--size-icon) * 6);
}

.steps--long .step-name {
  font-size: var(--type-heading-size);
  line-height: var(--node);
  margin-bottom: var(--space-sm);
}

.steps--long .step-text {
  max-width: var(--size-print-measure);
  color: var(--palette-text-primary);
}

.steps--long .cite {
  margin-top: var(--space-md);
}

/* ---- Facets --------------------------------------------------------- */

/* What a figure carries: three cards in a row, each a glyph, its ordinal,
   a name and a line. A reader's card — one side of a product — is the
   same card. */
.facets {
  display: grid;
  grid-template-columns: repeat(
      auto-fit,
      minmax(min(100%, calc(var(--size-print-measure) / 3)), 1fr)
    );
  gap: var(--space-lg);
  padding: 0;
  list-style: none;
}

.facet,
.reader,
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-xxl);
  background: var(--palette-surface);
  border: var(--stroke-hairline) solid var(--palette-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition:
    border-color var(--motion-fast) var(--ease-out),
    background-color var(--motion-fast) var(--ease-out),
    transform var(--motion-normal) var(--ease-out),
    box-shadow var(--motion-normal) var(--ease-out);
}

/* A line of the paper ink along the top edge, drawn in under the pointer. */
.facet::before,
.reader::before,
.card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: var(--stroke-emphasis);
  background: var(--palette-heading);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--motion-normal) var(--ease-out);
}

.facet:hover,
.reader:hover,
.card:hover {
  border-color: var(--palette-text-muted);
  background-color: var(--card-raised);
  transform: translateY(calc(var(--space-xs) * -1));
  box-shadow: 0 var(--space-lg) var(--space-xxl)
    color-mix(in oklab, var(--palette-background) 70%, transparent);
}

.facet:hover::before,
.reader:hover::before,
.card:hover::before {
  transform: none;
}

.facet-n {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  font-family: var(--type-mono-strong-family);
  font-size: var(--type-mono-caption-size);
  font-weight: var(--type-mono-strong-weight);
  font-variant-numeric: tabular-nums;
  color: var(--palette-literal);
}

.facet-name {
  font-family: var(--type-title-family);
  font-size: calc(var(--type-title-size) + var(--space-xs));
  font-weight: var(--type-title-weight);
  line-height: var(--type-title-height);
}

.facet-text,
.reader-text {
  color: var(--palette-text-secondary);
}

/* A reader's name opens its own sentence and stays in it: the subject in
   the heading's ink and weight, the predicate in the text's. */
.reader-text {
  font-size: calc(var(--type-body-size) + var(--space-xxs));
  line-height: var(--type-body-height);
}

.reader-name {
  font-weight: var(--type-title-weight);
  color: var(--palette-heading);
}

/* ---- Statements ----------------------------------------------------- */

/* What we believe, one sentence to a line, ruled like a ledger, each with
   its ordinal in the margin. */
.statements {
  padding: 0;
  list-style: none;
  border-top: var(--stroke-hairline) solid var(--palette-border);
}

.statements li {
  display: grid;
  grid-template-columns: var(--node) minmax(0, 1fr);
  column-gap: var(--space-lg);
  align-items: baseline;
  padding-block: var(--space-xl);
  border-bottom: var(--stroke-hairline) solid var(--palette-border);
  font-family: var(--type-heading-family);
  font-size: var(--statement-size);
  font-weight: var(--type-heading-weight);
  line-height: var(--heading-height);
  letter-spacing: var(--display-tracking);
  color: var(--palette-heading);
  transition: padding-left var(--motion-normal) var(--ease-out);
}

.statements li:hover {
  padding-left: var(--space-md);
}

.statement-n {
  font-family: var(--type-mono-strong-family);
  font-size: var(--type-mono-caption-size);
  font-weight: var(--type-mono-strong-weight);
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--tracking-chip);
  color: var(--palette-literal);
}

/* ---- Provenance ----------------------------------------------------- */

.section--provenance .section-lead {
  margin-top: var(--space-xl);
  margin-bottom: 0;
}

/* ---- The hub -------------------------------------------------------- */

/* What the site says of the suite: how an app stands, the controls the
   engine holds, the suite counted, the stages in their order, Studio and
   its rooms, the two sides of a product, and what changed. */

/* How an app stands: a point and the word, in a chip. Live is the accent,
   one of the three places it is spent; in build is a ring, planned a ring
   broken, built a point in the text's ink. */
.status {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  height: var(--size-chip-height-compact);
  padding-inline: var(--space-sm) var(--space-md);
  border: var(--stroke-hairline) solid var(--palette-border);
  border-radius: var(--radius-round);
  font-family: var(--type-mono-caption-family);
  font-size: var(--type-mono-caption-size);
  line-height: 1;
  letter-spacing: var(--tracking-chip);
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--palette-text-secondary);
}

.status::before {
  content: "";
  flex: none;
  box-sizing: border-box;
  width: var(--space-sm);
  height: var(--space-sm);
  border-radius: var(--radius-round);
  border: var(--stroke-hairline) solid var(--palette-text-secondary);
}

.status--live {
  border-color: color-mix(in oklab, var(--palette-accent) 45%, var(--palette-border));
  color: var(--palette-heading);
}

.status--live::before {
  border: 0;
  background: var(--palette-accent);
  box-shadow: 0 0 0 var(--space-xs) var(--glow-accent);
}

.status--planned::before {
  border-style: dashed;
}

.status--built::before {
  border: 0;
  background: var(--palette-text-secondary);
}

/* A panel: a card with a head, as a window of the product has. */
.panel {
  position: relative;
  background: var(--palette-surface);
  border: var(--stroke-hairline) solid var(--palette-border);
  border-radius: var(--radius-card);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  min-height: var(--size-top-bar-height);
  padding-inline: var(--space-xl);
  border-bottom: var(--stroke-hairline) solid var(--palette-border);
}

.panel-title {
  font-family: var(--type-section-label-family);
  font-size: var(--type-section-label-size);
  font-weight: var(--type-section-label-weight);
  line-height: var(--type-section-label-height);
  letter-spacing: var(--type-section-label-tracking);
  text-transform: uppercase;
  color: var(--palette-heading);
}

/* The controls: one to a row, ruled, the tick before it and its state in
   mono at the end of the line. */
.control-list {
  padding: 0;
  list-style: none;
}

.control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: var(--space-md);
  min-height: var(--size-touch-target);
  padding: var(--space-sm) var(--space-xl);
  border-bottom: var(--stroke-hairline) solid var(--palette-border);
}

.tick {
  flex: none;
  width: var(--size-icon);
  height: var(--size-icon);
  overflow: visible;
}

.control-text {
  color: var(--palette-heading);
}

.control-state,
.panel-cite {
  font-family: var(--type-mono-caption-family);
  font-size: var(--type-mono-caption-size);
  letter-spacing: var(--tracking-chip);
  text-transform: uppercase;
  color: var(--palette-text-secondary);
}

.panel-trace {
  padding: var(--space-xl) var(--space-xl) var(--space-sm);
}

.panel-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-xs) var(--space-lg);
  padding: var(--space-sm) var(--space-xl) var(--space-xl);
  font-size: var(--type-caption-size);
  line-height: var(--type-caption-height);
  color: var(--palette-text-secondary);
}

/* Cells: a grid ruled by hairlines, as the house rules a table — the
   ground between the cells is the rule, so no cell draws a border and no
   two rules ever double. */
.cells {
  display: grid;
  gap: var(--stroke-hairline);
  padding: 0;
  list-style: none;
  background: var(--palette-border);
  border: var(--stroke-hairline) solid var(--palette-border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
  min-width: 0;
  padding: var(--space-xl) var(--space-lg);
  background: var(--palette-background);
  transition: background-color var(--motion-fast) var(--ease-out);
}

.cell:hover {
  background-color: var(--palette-surface);
}

/* The stages: three across, six where the measure fits, two on a phone.
   Each cell is its number and what is done at it, the glyph, the app's
   name, how it stands, and its door at the foot. */
.stages {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stage-head {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  font-family: var(--type-section-label-family);
  font-size: var(--type-section-label-size);
  font-weight: var(--type-section-label-weight);
  line-height: var(--type-section-label-height);
  letter-spacing: var(--type-section-label-tracking);
  text-transform: uppercase;
  color: var(--palette-text-secondary);
}

.stage-n {
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--tracking-chip);
  color: var(--palette-literal);
}

.stage .glyph {
  margin-block: var(--space-md) var(--space-sm);
  opacity: 0.8;
}

.stage:hover .glyph {
  opacity: 1;
}

.stage-name,
.room-name {
  font-family: var(--type-title-family);
  font-size: calc(var(--type-title-size) + var(--space-xs));
  font-weight: var(--type-title-weight);
  line-height: var(--type-title-height);
}

/* The foot of a cell: the door of a live app, or where the stage is
   worked until it has one. It sits on the cell's floor, so the feet of a
   row stand on one line. */
.stage-foot {
  margin-top: auto;
  padding-top: var(--space-md);
}

.stage-where,
.room-cite {
  font-family: var(--type-mono-caption-family);
  font-size: var(--type-mono-caption-size);
  line-height: var(--type-mono-caption-height);
  letter-spacing: var(--tracking-chip);
  color: var(--palette-text-secondary);
}

/* As tall as the door beside it, so the two kinds of foot share a line. */
.stage-where {
  display: inline-flex;
  align-items: center;
  min-height: var(--size-touch-target);
}

/* A door: a link out to an app, at touch height, underlined by a hairline
   that brightens. */
.door {
  display: inline-flex;
  align-items: center;
  min-height: var(--size-touch-target);
  font-weight: var(--type-body-strong-weight);
  color: var(--palette-heading);
  text-decoration: underline;
  text-decoration-thickness: var(--stroke-hairline);
  text-underline-offset: var(--space-xs);
  text-decoration-color: var(--palette-text-muted);
}

.door:hover {
  text-decoration-color: var(--palette-heading);
}

/* Six across, a cell is narrow: its door steps down to the body's size. */
.stages .door {
  font-size: var(--type-body-size);
}

/* Studio: the window at the column's width, lifted off the band, and its
   rooms under it, four across with the door as the eighth cell. */
.studio-window {
  margin-bottom: var(--space-xl);
  filter: drop-shadow(
    0 var(--space-lg) var(--space-xxl)
      color-mix(in oklab, var(--palette-background) 80%, transparent)
  );
}

.rooms {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.room-line {
  color: var(--palette-text-secondary);
}

.room-cite {
  margin-top: auto;
  padding-top: var(--space-sm);
}

.room--door {
  background: var(--palette-surface);
}

/* The rooms alone, with no door after them: the last takes the row's
   width, so no cell of the grid is left showing its rule. */
.rooms--alone > .room:last-child {
  grid-column: 1 / -1;
}

/* The two sides of a product: who owes it readings, who is owed its
   record, and Aqueduct between them. One under another by default, the
   flow running down; side by side where the measure fits, running across. */
.sides {
  --flow: "\2193";
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-lg);
}

.side-role,
.side-flow,
.side-core-name,
.pair-tag {
  font-family: var(--type-section-label-family);
  font-size: var(--type-section-label-size);
  font-weight: var(--type-section-label-weight);
  line-height: var(--type-section-label-height);
  letter-spacing: var(--type-section-label-tracking);
  text-transform: uppercase;
  color: var(--palette-text-secondary);
}

/* The portal a side opens, on the card's floor under a hairline. */
.side-portal {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-top: auto;
  padding-top: var(--space-lg);
  border-top: var(--stroke-hairline) solid var(--palette-border);
}

.side > .reader-text {
  margin-bottom: var(--space-lg);
}

.side-portal-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.side-portal-name {
  font-family: var(--type-title-family);
  font-size: var(--type-title-size);
  font-weight: var(--type-title-weight);
  color: var(--palette-heading);
}

.side-portal-line {
  font-size: var(--type-body-size);
  color: var(--palette-text-secondary);
}

.side-portal .stage-foot {
  padding-top: 0;
}

/* Between them: what comes in and what goes out, over the sheet and its
   card, and the name. */
.side-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-lg) 0;
  text-align: center;
}

/* What comes in stands before the sheet and what goes out after it, each
   pointing at the side it runs to. The arrow is drawn, not said: its
   alternative text is empty. */
.side-flow::after {
  content: var(--flow) / "";
  margin-left: var(--space-xs);
  color: var(--palette-literal);
}

.side-flow--in {
  margin-bottom: var(--space-md);
}

.side-flow--out {
  margin-top: var(--space-md);
}

.side-core .plate--ledger {
  max-width: var(--size-kpi-card-width);
}

.side-core-name {
  margin-top: var(--space-md);
  color: var(--palette-heading);
}

.side-core-line {
  max-width: var(--size-kpi-card-width);
  font-size: var(--type-body-size);
  color: var(--palette-text-secondary);
}

/* The reader the brand does not court, under the two it serves. */
.sides-note {
  max-width: var(--size-print-measure);
  margin-top: var(--rhythm-block);
  padding-left: var(--space-lg);
  border-left: var(--stroke-emphasis) solid var(--palette-border);
  color: var(--palette-text-secondary);
}

/* Before and now: a pair to a row, ruled like a ledger. What was is set
   quietly and struck through; what is, in the heading's ink. */
.pairs {
  padding: 0;
  list-style: none;
  border-top: var(--stroke-hairline) solid var(--palette-border);
}

.pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-sm) var(--rhythm-block);
  padding-block: var(--space-xl);
  border-bottom: var(--stroke-hairline) solid var(--palette-border);
}

.pair-before,
.pair-now {
  display: grid;
  grid-template-columns: calc(var(--space-xxl) * 2) minmax(0, 1fr);
  column-gap: var(--space-md);
  align-items: baseline;
}

.pair-before .pair-text {
  color: var(--palette-text-secondary);
  text-decoration: line-through;
  text-decoration-thickness: var(--stroke-hairline);
  text-decoration-color: var(--palette-text-muted);
}

.pair-now .pair-tag {
  color: var(--palette-literal);
}

.pair-now .pair-text {
  font-family: var(--type-title-family);
  font-size: var(--type-title-size);
  font-weight: var(--type-title-weight);
  line-height: var(--type-title-height);
  color: var(--palette-heading);
}

/* The key to the chips: each way an app can stand, and what it means. */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-xxl);
  margin-top: var(--space-xxl);
  padding: 0;
  list-style: none;
}

.section-title + .legend {
  margin-top: 0;
}

.legend li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.legend-text {
  font-size: var(--type-body-size);
  color: var(--palette-text-secondary);
}

/* An app at length: a row ruled like a ledger — its name and how it
   stands on one side, what it is and where that is read from on the
   other. One under another until the measure fits the two. */
.entries {
  border-top: var(--stroke-hairline) solid var(--palette-border);
}

.entries + .rooms {
  margin-top: var(--space-xxl);
}

.entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-lg) var(--rhythm-block);
  padding-block: var(--space-xxl);
  border-bottom: var(--stroke-hairline) solid var(--palette-border);
}

/* The row a reader was sent to is marked down its edge in the paper ink. */
.entry:target {
  padding-left: var(--space-lg);
  box-shadow: inset var(--stroke-emphasis) 0 0 var(--palette-heading);
}

.entry-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
}

.entry-name {
  font-family: var(--type-heading-family);
  font-size: var(--type-heading-size);
  font-weight: var(--type-heading-weight);
  line-height: var(--heading-height);
  letter-spacing: var(--display-tracking);
}

.entry-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  max-width: var(--size-print-measure);
}

.entry-note {
  padding-left: var(--space-lg);
  border-left: var(--stroke-emphasis) solid var(--palette-border);
  color: var(--palette-text-secondary);
}

.entry-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm) var(--space-xl);
}

/* The board: the three ways a stage can stand, side by side where the
   measure fits, each a column of the stages that stand that way. */
.board {
  grid-template-columns: minmax(0, 1fr);
  margin-top: var(--space-xxl);
}

.board-col {
  gap: var(--space-lg);
}

.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
}

.board-count,
.road-tag {
  font-family: var(--type-mono-caption-family);
  font-size: var(--type-mono-caption-size);
  letter-spacing: var(--tracking-chip);
  text-transform: uppercase;
  color: var(--palette-text-secondary);
}

.board-list {
  display: grid;
  gap: var(--space-lg);
  padding: 0;
  list-style: none;
}

.board-item {
  display: grid;
  gap: var(--space-xs);
  justify-items: start;
  font-size: var(--type-body-size);
  color: var(--palette-text-secondary);
}

.board-none {
  color: var(--palette-text-secondary);
}

/* A stage at length, on the same channel a step runs on: the app that
   owns it beside how that app stands, then today and what is ahead, a row
   each, ruled off the line above. */
/* On the road what is done at a stage stands level with its node, and the
   stage's name under it. */
.road .stage-head {
  align-items: center;
  min-height: var(--node);
}

.road-app {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-md);
}

.road-states {
  display: grid;
  gap: var(--space-md);
  max-width: var(--size-print-measure);
  margin: var(--space-lg) 0;
  padding-top: var(--space-lg);
  border-top: var(--stroke-hairline) solid var(--palette-border);
}

.road-state {
  display: grid;
  grid-template-columns: calc(var(--size-kpi-card-width) / 2) minmax(0, 1fr);
  column-gap: var(--space-lg);
  align-items: baseline;
}

.road-state dt,
.road-state dd {
  margin: 0;
}

.road-state dd {
  color: var(--palette-text-secondary);
}

/* The suite, counted: the word at the scale of a figure, what it counts
   under it, the counts ruled apart and the strip ruled off the promise. */
.counts {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  padding: 0;
  list-style: none;
  border-top: var(--stroke-hairline) solid var(--palette-border);
}

.count {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-xl) var(--space-xl) var(--space-xl) 0;
}

.count + .count {
  padding-left: var(--space-xl);
  border-left: var(--stroke-hairline) solid var(--palette-border);
}

.count-n {
  font-family: var(--type-display-family);
  font-size: var(--type-display-size);
  font-weight: var(--type-display-weight);
  line-height: var(--type-display-height);
  letter-spacing: var(--display-tracking);
  color: var(--palette-heading);
}

.count-of {
  max-width: var(--size-kpi-card-width);
  font-size: var(--type-body-size);
  line-height: var(--type-body-height);
  color: var(--palette-text-secondary);
}

/* ---- A page's head -------------------------------------------------- */

.page-head {
  position: relative;
  isolation: isolate;
  padding-top: var(--rhythm-block);
}

.page-title {
  max-width: var(--size-print-measure);
  font-family: var(--type-display-family);
  font-size: var(--title-size);
  font-weight: var(--type-display-weight);
  line-height: var(--type-display-height);
  letter-spacing: var(--display-tracking);
}

/* The claim a page stands on, set apart by a rule in sand. */
.claim {
  max-width: var(--size-print-measure);
  margin-top: var(--space-xl);
  padding-left: var(--space-lg);
  border-left: var(--stroke-emphasis) solid var(--palette-literal);
  font-size: var(--standfirst-size);
  line-height: var(--type-lead-height);
  color: var(--palette-heading);
}

/* ---- Cited cards ---------------------------------------------------- */

/* Statement, reason, source: the three-line unit every cited chapter of the
   brand book is made of, on a card. As many columns as half a print
   measure allows, so the grid needs no breakpoint of its own. */
.cards {
  display: grid;
  grid-template-columns: repeat(
      auto-fill,
      minmax(min(100%, calc(var(--size-print-measure) / 2)), 1fr)
    );
  gap: var(--space-lg);
  padding: 0;
  list-style: none;
}

.card {
  padding: var(--space-xl);
}

.card-n {
  font-family: var(--type-mono-strong-family);
  font-size: var(--type-mono-strong-size);
  font-weight: var(--type-mono-strong-weight);
  font-variant-numeric: tabular-nums;
  color: var(--palette-literal);
}

.card-statement {
  font-family: var(--type-title-family);
  font-size: var(--type-title-size);
  font-weight: var(--type-title-weight);
  line-height: var(--type-title-height);
  color: var(--palette-heading);
}

.card-reason {
  color: var(--palette-text-secondary);
}

/* Cards in a row end level: the source sits at the foot. */
.card .cite {
  margin-top: auto;
  align-self: flex-start;
}

/* ---- Prose ---------------------------------------------------------- */

.prose {
  max-width: var(--size-print-measure);
}

.prose > * + * {
  margin-top: var(--space-md);
}

.prose a {
  text-decoration: underline;
  text-decoration-thickness: var(--stroke-hairline);
  text-underline-offset: var(--space-xs);
  text-decoration-color: var(--palette-text-muted);
}

.prose a:hover {
  color: var(--palette-heading);
  text-decoration-color: var(--palette-heading);
}

.quiet {
  color: var(--palette-text-secondary);
}

/* The placeholder a legal text has not replaced yet: visible, named, and
   refused by a release build. An alert, so it earns the accent. */
.placeholder {
  padding: var(--space-xl);
  border: var(--stroke-hairline) solid var(--palette-accent);
  border-radius: var(--radius-card);
  background: var(--palette-alert-tint);
}

/* ---- The closing and the footer ------------------------------------- */

/* Every page ends the same way: the last clause of the colophon set as a
   line, the two doors again, the name at the scale of the window in the
   ground colour with the horizon running through it, then the suite set
   out in columns, the site's own pages, the house, and the colophon. The
   field under it hangs from the foot. */
.footer {
  position: relative;
  margin-top: var(--rhythm-section);
}

.closing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: var(--stroke-hairline) solid var(--palette-border);
}

.closing-inner {
  padding-top: var(--rhythm-section);
  padding-bottom: var(--rhythm-block);
}

.closing-line {
  max-width: var(--size-print-measure);
  font-family: var(--type-display-family);
  font-size: var(--title-size);
  font-weight: var(--type-display-weight);
  line-height: var(--type-display-height);
  letter-spacing: var(--display-tracking);
  color: var(--palette-heading);
  text-wrap: balance;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xxl);
}

.closing-wordmark {
  margin-top: var(--rhythm-block);
  margin-bottom: calc(var(--closing-size) * -0.18);
  font-family: var(--type-display-family);
  font-size: var(--closing-size);
  font-weight: var(--type-display-weight);
  line-height: 1;
  letter-spacing: calc(var(--display-tracking) * 2);
  text-transform: uppercase;
  color: var(--palette-surface);
  user-select: none;
}

.footer-inner {
  padding-top: var(--rhythm-block);
  padding-bottom: max(var(--space-xl), env(safe-area-inset-bottom));
  border-top: var(--stroke-hairline) solid var(--palette-border);
}

/* The columns: as many as half a card's width allows, so the suite stands
   five across on a desk and two on a phone with no breakpoint of its own. */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(
      auto-fit,
      minmax(min(100%, calc(var(--size-kpi-card-width) / 2)), 1fr)
    );
  gap: var(--space-xxl) var(--space-xl);
}

.footer-head {
  margin-bottom: var(--space-md);
  font-family: var(--type-section-label-family);
  font-size: var(--type-section-label-size);
  font-weight: var(--type-section-label-weight);
  line-height: var(--type-section-label-height);
  letter-spacing: var(--type-section-label-tracking);
  text-transform: uppercase;
  color: var(--palette-text-muted);
}

.footer-col ul {
  display: grid;
  padding: 0;
  list-style: none;
}

/* Two lists in one column stand a block apart. */
.footer-col ul + .footer-head {
  margin-top: var(--space-xl);
}

.footer-col a,
.footer-col span {
  display: inline-block;
  padding-block: var(--space-xs);
  font-size: var(--type-body-size);
  line-height: var(--type-body-height);
  color: var(--palette-text-secondary);
}

.footer-col a:hover {
  color: var(--palette-heading);
}

/* A link that leaves the site says so with an arrow, wherever it stands. */
.out-arrow {
  display: inline-block;
  margin-left: var(--space-xs);
  transition: transform var(--motion-fast) var(--ease-out);
}

a:hover > .out-arrow {
  transform: translate(var(--space-xxs), calc(var(--space-xxs) * -1));
}

.colophon {
  margin-top: var(--rhythm-block);
  padding-top: var(--space-lg);
  border-top: var(--stroke-hairline) solid var(--palette-border);
  font-family: var(--type-mono-caption-family);
  font-size: var(--type-mono-caption-size);
  line-height: var(--type-mono-caption-height);
  color: var(--palette-text-secondary);
}

/* ---- Widths --------------------------------------------------------- */

/* Under the phone breakpoint the insets and the rhythm step down a notch,
   the frame is the window itself, the bar is the mark and the pages — the
   name is still read out, and the run of pages scrolls sideways where it
   has to — the controls take the column's width, a statement loses a
   step, and the picture stands under the words. */
@media (max-width: 599px) {
  :root {
    --gutter: var(--space-xl);
    --rhythm-block: var(--space-xxl);
    --rhythm-section: calc(var(--space-xxl) * 2);
    --horizon-hero: calc(var(--space-xxl) + var(--space-lg));
    --statement-size: calc(var(--type-heading-size) - var(--space-xs));
  }
  body {
    padding: 0;
  }
  .frame {
    display: none;
  }
  .masthead {
    top: 0;
  }
  .masthead-bar {
    gap: var(--space-md);
    padding-right: 0;
  }
  .wordmark > span {
    position: absolute;
    width: var(--stroke-hairline);
    height: var(--stroke-hairline);
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .masthead-nav a {
    padding-inline: var(--space-sm);
    font-size: var(--type-tab-label-size);
    letter-spacing: var(--tracking-chip);
  }
  .masthead-nav a:last-child {
    border-right: 0;
  }
  /* A link in the footer is a finger's height. */
  .footer-col a {
    display: inline-flex;
    align-items: center;
    min-height: var(--size-touch-target);
    padding-block: 0;
  }
  .footer-col span {
    padding-block: var(--space-sm);
  }
  .action {
    flex: 1 1 100%;
  }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--rhythm-block);
  }
  .facet,
  .reader {
    padding: var(--space-xl);
  }
  /* The stages stand two across, the rooms one under another. */
  .stages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rooms {
    grid-template-columns: minmax(0, 1fr);
  }
  .cell {
    padding: var(--space-lg);
  }
  /* A stage's state stands over what is said of it. */
  .road-state {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--space-sm);
  }
  /* The counts stand two by two, ruled between the rows. */
  .counts {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .count {
    padding: var(--space-lg) var(--space-md) var(--space-lg) 0;
  }
  .count + .count {
    padding-left: 0;
    border-left: 0;
  }
  .count:nth-child(n + 3) {
    border-top: var(--stroke-hairline) solid var(--palette-border);
  }
  .count-n {
    font-size: var(--type-heading-size);
  }
  .panel-head,
  .control,
  .panel-trace,
  .panel-foot {
    padding-inline: var(--space-lg);
  }
}

/* Between the phone and the page measure the picture still stands under
   the words, at the measure's width. */
@media (max-width: 960px) {
  .hero {
    min-height: 0;
  }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--rhythm-block);
  }
  .hero-plate {
    justify-self: start;
    width: 100%;
    max-width: calc(var(--size-page-measure) / 2);
  }
}

/* Where the page measure fits, the five steps stand side by side, the
   channel running across the top through every node, and a long step's
   plate takes the third column. */
@media (min-width: 960px) {
  .stages {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  /* Six across, a cell is narrow: it gives its inset to its words. */
  .stage {
    padding-inline: var(--space-md);
  }
  .rooms {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  /* Four across, the last room takes the door's place beside its own. */
  .rooms--alone > .room:last-child {
    grid-column: span 2;
  }
  .sides {
    --flow: "\2192";
    grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 5fr);
  }
  .side {
    padding: var(--space-xl);
  }
  /* Across, both flows stand over the sheet: in at the partner's edge, out
     at the investor's. */
  .side-core {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: center;
    justify-items: center;
  }
  .side-core > * {
    grid-column: 1 / -1;
  }
  .side-core > .side-flow {
    grid-row: 1;
    margin-block: 0 var(--space-md);
  }
  .side-core > .side-flow--in {
    grid-column: 1;
    justify-self: start;
  }
  .side-core > .side-flow--out {
    grid-column: 2;
    justify-self: end;
  }
  .pair {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
  .entry {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }
  .board {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .steps--strip {
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
  }
  .steps--strip > .step {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--space-sm);
  }
  .steps--strip > .step > * {
    grid-column: 1;
  }
  .steps--strip > .step > .step-n {
    grid-row: auto;
    margin-bottom: var(--space-md);
  }
  .steps--strip > .step:not(:last-child)::before,
  .steps--strip > .step:not(:last-child)::after {
    top: calc(var(--node) / 2 - var(--stroke-emphasis) / 2);
    left: calc(var(--node) / 2);
    width: calc(100% + var(--space-xl));
    height: var(--stroke-emphasis);
  }
  .steps--strip > .step:not(:last-child)::after {
    transform-origin: 0 50%;
  }
  .steps--long .step {
    grid-template-columns: var(--node) minmax(0, 2fr) minmax(0, 1fr);
    column-gap: var(--space-xxl);
  }
  .steps--long .step-plate {
    grid-column: 3;
    grid-row: 1;
    width: 100%;
    max-width: none;
    margin-top: 0;
    align-self: start;
  }
}

/* ---- Motion --------------------------------------------------------- */

/* A page swapped for another under the bar that stays: the body leaves
   easing in and arrives easing out, the tab's underline slides over. */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: var(--motion-fast) var(--ease-in) both page-leave;
}

::view-transition-new(root) {
  animation: var(--motion-crossfade) var(--ease-out) both page-arrive;
}

/* biome-ignore lint/correctness/noUnknownTypeSelector: a view-transition name, not an element */
::view-transition-old(masthead) {
  animation-duration: var(--motion-instant);
}

/* biome-ignore lint/correctness/noUnknownTypeSelector: a view-transition name, not an element */
::view-transition-new(masthead) {
  animation-duration: var(--motion-instant);
}

/* biome-ignore lint/correctness/noUnknownTypeSelector: a view-transition name, not an element */
::view-transition-group(tab) {
  animation-duration: var(--motion-reveal);
  animation-timing-function: var(--ease-out);
}

/* biome-ignore lint/correctness/noUnknownTypeSelector: a view-transition name, not an element */
::view-transition-new(tab):only-child {
  animation: var(--motion-reveal) var(--ease-out) both tab-arrive;
}

/* biome-ignore lint/correctness/noUnknownTypeSelector: a view-transition name, not an element */
::view-transition-old(tab):only-child {
  animation: var(--motion-fast) var(--ease-in) both tab-leave;
}

@keyframes page-leave {
  to {
    opacity: 0;
  }
}

@keyframes page-arrive {
  from {
    opacity: 0;
    transform: translateY(var(--space-sm));
  }
}

@keyframes tab-arrive {
  from {
    transform: scaleX(0);
  }
}

@keyframes tab-leave {
  to {
    transform: scaleX(0);
  }
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(var(--space-md));
  }
}

@keyframes channel {
  from {
    transform: scaleX(0);
  }
}

@keyframes draw {
  from {
    stroke-dashoffset: 1;
  }
}

@keyframes plate-arrive {
  from {
    opacity: 0;
    transform: translateY(var(--space-xl));
  }
}

/* Once, on arrival: the promise, its paragraph and the controls in turn,
   then the plate, the channel across it, the horizon, and last the channel
   running in along the horizon's top. On another page only the channel
   arrives. Zero under reduced motion. */
@media screen {
  .hero-label,
  .hero-title,
  .hero .standfirst,
  .hero .actions,
  .hero .counts,
  .horizon--hero .horizon-drawing {
    animation: var(--motion-considered) var(--ease-out) both arrive;
  }
  .hero-title {
    animation-delay: var(--motion-instant);
  }
  .hero .standfirst {
    animation-delay: calc(var(--motion-instant) * 2);
  }
  .hero .actions,
  .hero .counts,
  .horizon--hero .horizon-drawing {
    animation-delay: calc(var(--motion-instant) * 3);
  }
  .hero-plate {
    animation: calc(var(--motion-considered) * 2) var(--ease-out) var(--motion-instant) both
      plate-arrive;
  }
  .ink-channel {
    animation: var(--motion-pulse) var(--ease-out) calc(var(--motion-considered) * 2) both draw;
  }
  .horizon::before {
    animation: var(--motion-considered) var(--ease-out) calc(var(--motion-instant) * 4) both channel;
  }
  .horizon--rule::before {
    animation-duration: var(--motion-reveal);
    animation-delay: var(--motion-instant);
  }
}

@keyframes settle {
  from {
    opacity: 0;
  }
}

@keyframes progress {
  from {
    transform: scaleX(0);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(var(--space-lg));
  }
}

@keyframes reach {
  from {
    border-color: var(--palette-border);
    color: var(--palette-text-muted);
  }
}

@keyframes fill-down {
  from {
    transform: scaleY(0);
  }
}

@keyframes fill-across {
  from {
    transform: scaleX(0);
  }
}

@keyframes drift {
  to {
    transform: translateY(var(--rhythm-block));
  }
}

@keyframes surface {
  from {
    transform: translateY(var(--rhythm-block));
  }
}

/* Driven by the scroll, where the browser can: the bar takes its glass once
   the page moves under it and its hairline fills as the page is read; the
   field drifts a little slower than the words in front of it; a block
   rises into place as it comes into view; a node lights as it crosses the
   reading line, and the stretch after it fills while its step is read; the
   closing's name surfaces as the foot comes up. Without the support, or
   under reduced motion, all of it simply holds its finished state. */
@supports (animation-timeline: view()) {
  @media screen and (prefers-reduced-motion: no-preference) {
    .masthead::before {
      animation-name: settle;
      animation-fill-mode: both;
      animation-timing-function: linear;
      animation-timeline: scroll(root block);
      animation-range: 0 var(--size-top-bar-height);
    }
    .masthead::after {
      content: "";
      position: absolute;
      inset-inline: 0;
      bottom: 0;
      height: var(--stroke-hairline);
      background: var(--palette-text-secondary);
      transform-origin: 0 50%;
      animation-name: progress;
      animation-fill-mode: both;
      animation-timing-function: linear;
      animation-timeline: scroll(root block);
    }
    .hero .field::before,
    .hero .field::after {
      animation-name: drift;
      animation-fill-mode: both;
      animation-timing-function: linear;
      animation-timeline: scroll(root block);
      animation-range: 0 100vh;
    }
    .step,
    .facet,
    .reader,
    .card,
    .cells,
    .studio-window,
    .side-core,
    .sides-note,
    .pair,
    .entry,
    .statements li,
    .section-title,
    .section-lead,
    .section-more,
    .label {
      animation-name: rise;
      animation-fill-mode: both;
      animation-timing-function: var(--ease-out);
      animation-timeline: view();
      animation-range: cover 0% cover 20%;
    }
    .facet:nth-child(2),
    .reader:nth-child(2) {
      animation-range: cover 5% cover 25%;
    }
    .facet:nth-child(3),
    .reader:nth-child(3) {
      animation-range: cover 10% cover 30%;
    }
    .closing-wordmark {
      animation-name: surface;
      animation-fill-mode: both;
      animation-timing-function: var(--ease-out);
      animation-timeline: view();
      animation-range: cover 0% cover 60%;
    }
    .step-n {
      animation-name: reach;
      animation-fill-mode: both;
      animation-timing-function: linear;
      animation-timeline: view();
      animation-range: cover var(--reading-line) cover calc(var(--reading-line) + var(--node));
    }
    /* On the step's own timeline: the fill's tip is the reading line, from
       this node's centre to the next one's. */
    .step:not(:last-child)::after {
      animation-name: fill-down;
      animation-fill-mode: both;
      animation-timing-function: linear;
      animation-timeline: --step;
      animation-range: cover calc(var(--reading-line) + var(--node) / 2) cover
        calc(100% - 100vh + var(--reading-line) + var(--node) / 2 + var(--step-gap));
    }
  }
}

/* Side by side, the nodes sit on one line, so the channel fills across the
   whole run as it comes into view, stretch after stretch. */
@supports (animation-timeline: view()) {
  @media screen and (prefers-reduced-motion: no-preference) and (min-width: 960px) {
    .steps--strip {
      view-timeline-name: --strip;
    }
    .steps--strip .step-n {
      animation: none;
    }
    .steps--strip > .step:not(:last-child)::after {
      animation-name: fill-across;
      animation-timeline: --strip;
    }
    .steps--strip > .step:nth-child(1)::after {
      animation-range: entry 0% entry 25%;
    }
    .steps--strip > .step:nth-child(2)::after {
      animation-range: entry 25% entry 50%;
    }
    .steps--strip > .step:nth-child(3)::after {
      animation-range: entry 50% entry 75%;
    }
    .steps--strip > .step:nth-child(4)::after {
      animation-range: entry 75% entry 100%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
  .facet:hover,
  .reader:hover,
  .card:hover,
  .action:hover,
  a:hover > .out-arrow {
    transform: none;
  }
}

@keyframes beat {
  to {
    box-shadow: 0 0 0 var(--space-sm) transparent;
  }
}

/* What is live has a pulse: the point's light widens and goes, slowly. */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  .status--live::before {
    animation: calc(var(--motion-pulse) * 4) var(--ease-out) infinite beat;
  }
}

/* ---- Other readers -------------------------------------------------- */

@media (prefers-contrast: more) {
  :root {
    --palette-text-muted: var(--palette-text-secondary);
    --palette-border: var(--palette-text-secondary);
    --glass: var(--palette-background);
    --grain-opacity: 0;
  }
  .field {
    display: none;
  }
  /* What was is still said to be past by its tag; the stroke through it
     costs a reader who needs the contrast more than it tells them. */
  .pair-before .pair-text {
    text-decoration: none;
  }
  .status--live {
    border-color: var(--palette-accent);
  }
  .status--live::before {
    box-shadow: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  :root {
    --glass: var(--palette-background);
    --grain-opacity: 0;
  }
}

@media (forced-colors: active) {
  .tab,
  .horizon::before,
  .step:not(:last-child)::after {
    forced-color-adjust: none;
    background: Highlight;
  }
  /* The page a reader is on, in the system's own selected pair. */
  .masthead-nav a[aria-current="page"] {
    forced-color-adjust: none;
    color: HighlightText;
  }
  .masthead::before {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  /* The frame's border is the canvas; forced colours would paint it. */
  .frame,
  .field,
  .grain {
    display: none;
  }
  /* A grid of cells is ruled by its own ground, and a forced palette
     paints every ground the canvas: the grid keeps the text's colour for
     its rules, and each cell goes back to the system's. */
  .cells {
    forced-color-adjust: none;
    background: CanvasText;
    border-color: CanvasText;
  }
  .cell {
    forced-color-adjust: auto;
  }
  /* What is live, and what is built, keep a filled point; the pulse and
     its light are a shadow, and a shadow is not drawn here. */
  .status--live::before {
    forced-color-adjust: none;
    background: Highlight;
    box-shadow: none;
    animation: none;
  }
  .status--built::before {
    forced-color-adjust: none;
    background: CanvasText;
  }
  /* The row a reader was sent to is marked by a shadow; here, by a border. */
  .entry:target {
    box-shadow: none;
    border-left: var(--stroke-emphasis) solid Highlight;
  }
}

/* On paper, the print palette: the same sheet a workbook is printed on.
   The bar, the controls, the field, the grain, the closing and the links
   onward stay on screen. */
@media print {
  :root {
    --palette-background: var(--print-paper);
    --palette-surface: var(--print-paper);
    --palette-surface-alt: var(--print-paper);
    --palette-text-primary: var(--print-text);
    --palette-heading: var(--print-text);
    --palette-text-secondary: var(--print-muted);
    --palette-text-muted: var(--print-muted);
    --palette-border: var(--print-rule);
    --palette-accent: var(--print-accent);
    --palette-literal: var(--print-text);
    --glass: transparent;
  }
  html {
    color-scheme: light;
  }
  body {
    padding: 0;
  }
  .masthead {
    position: static;
  }
  .masthead::before {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .masthead-nav,
  .skip,
  .actions,
  .section-more,
  .footer-nav,
  .frame,
  .field,
  .grain,
  .closing,
  .door,
  .horizon--hero {
    display: none;
  }
  .section--band {
    background: none;
  }
  /* A ground is not printed, so a grid ruled by its ground would lose its
     rules: on paper each cell is ruled round, a step apart. */
  .cells {
    gap: var(--space-sm);
    background: none;
    border: 0;
  }
  .cell {
    background: none;
    border: var(--stroke-hairline) solid var(--palette-border);
  }
  .room--door {
    display: none;
  }
  .hero-plate,
  .studio-window {
    filter: none;
  }
  .status--live::before {
    box-shadow: none;
    print-color-adjust: exact;
  }
  .card,
  .step,
  .facet,
  .reader,
  .cell,
  .panel,
  .pair,
  .entry,
  .side-core {
    break-inside: avoid;
  }
}
