/* The home page's scene stylesheets (site/flow/css), joined by web/build.mjs in the order the page links them. Edit the single files. */

/* ---- scene-close.css ---- */
/* ==========================================================================
   Scene: close (paper). The thread ends as the Pyrexia mark in #close-dock,
   with the closing line, one button and the email line centred under it. The footer
   follows on the same paper, behind one hairline.
   Classes are prefixed s-close__.
   ========================================================================== */
.scene--close {
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding-block: max(var(--scene-pad), 9rem) var(--scene-pad);
}

.s-close {
  display: grid;
  justify-items: center;
  gap: var(--sp-5);
  text-align: center;
}
.s-close__dock {
  position: relative;
  width: clamp(9rem, 26svh, 15rem);
  aspect-ratio: 1;
  margin-block-end: var(--sp-5);
}
.s-close__still {
  position: absolute;
  inset: 8%;
  width: 84%;
  height: 84%;
  color: var(--fg);
  transition: opacity 600ms ease;
}
html:is(.flow-live, .flow-still) .s-close__still { opacity: 0; }        /* the thread draws the mark */
/* The last statement of the page, at the statement size (--fz-h, like the hero). Two-tone: the
   second sentence steps back. Each sentence breaks where it reads best. In a short window the size
   is capped by the window's height so the mark, the line and the button are held together. */
.s-close__h { font-size: var(--fz-statement); line-height: 1.04; max-width: 15.5em; text-wrap: balance; }
.s-close__h .flow-h__line { display: block; }
.s-close__cta { justify-content: center; margin-block-start: var(--sp-3); }
/* "or email …": plain text and a text link, not a second button. The link keeps a 44px target. */
.s-close__mail { margin-block: calc(-1 * var(--sp-3)) calc(-1 * var(--sp-4)); }
.s-close__mail a { display: inline-block; padding-block: 0.75rem; }

/* Where the block does not hold (a phone, a short window), words lead as the reader scrolls: the
   closing line and the button come first, and the mark gathers below
   them, as the page's last word. (Static and reduced motion keep the mark above the line: there is
   nothing to gather.) The marker sits on the mark's box; its data-flow-wait keeps the gather back
   until the words are in. */
@media (max-width: 56.24em), (max-height: 43.74em), (prefers-reduced-motion: reduce) {
  html.flow-live .s-close__dock { order: 1; margin-block: var(--sp-5) 0; }
  html.flow-live .scene--close > .flow-key { inset-block-start: auto !important; inset-block-end: max(var(--scene-pad), 9rem); }
}

/* Pace. The page's last statement and its button are held in the window for a stretch before
   the footer comes up (a multiple of --pace, like every other hold): the mark, the line and the
   buttons are read together, at rest. Only where a script is running, the thread is not static,
   motion is allowed, and the window is wide and tall enough for the block to fit under the nav
   (the mark is sized to the window's height here so that it does, down to 700px tall).
   Words lead: the mark gathers only once the closing line has arrived
   (the marker's data-flow-wait), so the marker sits 44% of a window into the rest and the block
   holds on for two fifths of a window more with the mark formed (pacing pass, 13 November 2026:
   the rest was 92% of a window, with a paragraph to read that is no longer there; it is 84%). */
@media (min-width: 56.25em) and (min-height: 43.75em) and (prefers-reduced-motion: no-preference) {
  html.flow-js:not(.flow-static) .scene--close { display: block; min-height: 0; padding-block: 0; }
  html.flow-js:not(.flow-static) .scene--close > .flow-key { inset-block-start: calc(50svh + 44svh * var(--pace)) !important; }
  html.flow-js:not(.flow-static) .s-close {
    position: sticky;
    inset-block-start: 0;
    box-sizing: border-box;
    min-height: 100svh;
    align-content: center;
    padding-block: calc(var(--nav-clear) + 0.5rem) 2rem;
  }
  /* The mark gives way in a short window, so that the line on price under the button is in
     the window while the block holds (13 November 2026): from about 780px tall down to 700px the
     mark takes what the words leave it (the headline is three lines of 9.4svh at most, the rest about 26rem). */
  html.flow-js:not(.flow-static) .scene--close .s-close__dock { width: clamp(8rem, min(26svh, 100svh - 26rem - 28.2svh), 18rem); margin-block-end: var(--sp-3); }
  html.flow-js:not(.flow-static) .scene--close::after { content: ""; display: block; block-size: calc(84svh * var(--pace)); }
}

/* ---- scene-hero.css ---- */
/* ==========================================================================
   Scene: hero (paper). Three short lines of headline, the definition and the
   two actions under them, and the swarm in #hero-stage. Nothing stands above
   the headline.

   The first screen. The words are one block (headline, definition, actions)
   and the block sits in the space under the capsule a little below its middle,
   never tight under the nav: the grid has a row of air above the block and one
   below it, and the upper one takes slightly more. Both actions are whole in
   the first screen at every size the page is checked at.
     From 900px  the block is on the left and the swarm on the right, the full
                 height of the screen.
     Below 900px one column: headline, swarm, definition, actions. The swarm's
                 row takes what the window has left once the words are placed,
                 so a short phone gets a smaller swarm, not buttons below the fold.
   Under the two actions, one quiet line in the small size says what the button
   leads to (.s-hero__after). The scroll cue is centred at the foot of the first
   screen, as before the design pass (founder, 13 November 2026), on wide windows
   only; it fades at the first scroll (flow.css, .flow-cue).
   Nothing is painted behind any of the words: the swarm keeps to its dock.
   Classes are prefixed s-hero__.
   ========================================================================== */
.scene--hero {
  display: grid;
  min-height: 100svh;
  padding-block: var(--nav-clear) clamp(1.5rem, 5svh, 3rem);
}
.s-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  /* air, headline, swarm, words. The swarm's row is flexible and so is the air above the headline
     (a fifth as much), so a tall phone gets a larger swarm and a headline a little further from
     the capsule, and a short one gives both back before a button leaves the screen. */
  grid-template-rows: minmax(0, 0.2fr) auto minmax(7.5rem, 1fr) auto;
}
/* 12.6vw keeps the longest line ("for primary care.", about 6.6em) on one line down to 320px. */
.s-hero__h {
  grid-row: 2;
  max-width: 15em;
  font-size: min(var(--fz-hero), 12svh, 12.6vw);
}
.s-hero__copy {
  grid-row: 4;
  display: grid;
  gap: var(--sp-5);
  justify-items: start;
}
/* The page's first paragraph names the audience: full text colour, two sentences, and it never
   ends on a line of two words. */
.s-hero__def { color: var(--fg); max-width: 34rem; text-wrap: pretty; }

/* The dock. Below 900px it sits between the headline and the definition, as tall as its row. */
.s-hero__stage {
  grid-row: 3;
  position: relative;
  justify-self: center;
  align-self: center;
  width: min(100%, 26rem);
  height: min(100% - var(--sp-5) - var(--sp-5), 26rem);
  /* More air above than below: the swarm's edge reaches about an eighth past its dock, and the
     line above it is the violet one. */
  margin-block: var(--sp-5) var(--sp-5);
}
.s-hero__still {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  object-fit: contain;
  transition: opacity 600ms ease;
}
html:is(.flow-live, .flow-still) .s-hero__still { opacity: 0; }        /* the thread draws the swarm */
.s-hero__cue { display: none; }
/* The line under the actions belongs to them: closer to the buttons than the gap above them. */
.s-hero__after { margin-block-start: calc(var(--sp-3) - var(--sp-5)); }

/* Phones: the two actions share a line when they fit (they do from 350px wide) and wrap to two
   full rows when they do not. */
@media (max-width: 37.49em) {
  .s-hero__copy { gap: var(--sp-4); }
  .s-hero__after { margin-block-start: calc(var(--sp-2) - var(--sp-4)); }
  .s-hero__cta { width: 100%; gap: 0.5rem; }
  .s-hero__cta .flow-btn { flex: 1 1 auto; min-height: 3rem; padding-inline: 0.875rem; font-size: var(--fz-small); }
}
/* A short phone: the second sentence stops at "member of staff." so both actions stay whole in
   the first screen and the swarm keeps its room. The clause is in the page for every reader of
   the markup; it is only not drawn here. */
@media (max-width: 37.49em) and (max-height: 46em) {
  .s-hero__more, .s-hero__after { display: none; }
}

@media (min-width: 56.25em) {
  .scene--hero { padding-block: var(--nav-clear) clamp(1.25rem, 3.5svh, 2.5rem); }
  .s-hero {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    /* air, headline, words, air: the block is a little below the middle */
    grid-template-rows: minmax(0, 1.4fr) auto auto minmax(0, 1fr);
    column-gap: var(--col-gap);
    min-height: 100%;
  }
  /* The third line is the longest (about 6.6em). It stays inside six columns at every width, clear
     of the swarm's dock, so the size stops a little under the page's largest and follows a short
     window down. */
  .s-hero__h {
    grid-column: 1 / span 7;
    grid-row: 2;
    font-size: min(var(--fz-hero), 5.75rem, 10.5svh);
  }
  .s-hero__copy {
    grid-column: 1 / span 5;
    grid-row: 3;
    align-content: start;
    margin-block-start: clamp(1.25rem, 4.5svh, 3rem);
  }
  .s-hero__stage {
    grid-column: 7 / -1;
    grid-row: 1 / -1;
    justify-self: stretch;
    align-self: center;
    width: auto;
    height: min(42rem, 100svh - var(--nav-clear) - 3.5rem);
    margin: 0 -1.5rem 0 1.5rem;
  }
  .s-hero__still { inset: 0; width: 100%; height: 100%; }
  /* The cue: centred at the foot of the first screen, the word over its still hairline. Out of
     the grid (absolute in .s-hero, the column, which is as tall as the screen less the capsule and
     the scene's foot padding), so it moves neither the block of words nor the swarm. Nothing is
     painted behind it: the hero's keyframe names it in data-flow-clear, so no stray crosses it. */
  .s-hero__cue {
    display: inline-flex;
    flex-direction: column;
    gap: 0.375rem;
    position: absolute;
    inset: auto auto 0 50%;
    translate: -50% 0;
  }
  .s-hero__cue::before { order: 2; }
}
@media (min-width: 56.25em) and (max-width: 74.99em) {
  .s-hero__copy { grid-column: 1 / span 6; }
}
/* With the prototype's margin notes in the margin (html.ui-notes, from 1200px) the column gives up
   120px on each side: the headline follows it down, so "care." keeps its distance from the swarm. */
@media (min-width: 75em) {
  html.ui-notes .s-hero__h { font-size: min(var(--fz-hero), 5.75rem, 10.5svh, (100vw - 15rem) * 0.071); }
}
/* Short laptop screens: the cue gives its room back, and the block tightens so the actions stay
   clear of the foot of the screen. */
@media (min-width: 56.25em) and (max-height: 46em) {
  .s-hero__cue { display: none; }
  .s-hero__after { margin-block-start: calc(var(--sp-2) - var(--sp-4)); }
  .s-hero { grid-template-rows: minmax(0, 1.3fr) auto auto minmax(0, 1fr); }
  .s-hero__copy { gap: var(--sp-4); }
}

/* ---- scene-platform.css ---- */
/* ==========================================================================
   Scene: platform (paper).

   1  Title card   the headline sits inside the arc of nine nodes the thread
                   draws in #platform-dock (marker platform-ring); each node
                   carries its module's name.
   1b Its hold     on a desktop window the card comes to rest in the middle of
                   the window and holds there, so the headline and its line are
                   read before the explorer arrives.
   2  Explorer     nine native <details name="platform-module">. With no script,
                   and below 900px, an exclusive accordion. From 900px
                   js/scene-platform.js sets data-platform-tabs on the scene:
                   the index on the left chooses, the open module is shown alone
                   as one stage, and a sliding marker shows which (the index is
                   the only sign of position: there is no ruler of ticks).
   2b Steps        with the thread live and motion allowed the script also sets
                   data-platform-steps: the stage is sticky inside a taller
                   track and the scroll steps through the eight modules that
                   exist (what is coming is chosen from the index, by hand).
   3  Mini UIs     reduced screens of the committed app, built from the shared
                   kit (css/app-ui.css, APP-UI.md), each inside a .flow-artefact
                   frame. Only sizes and narrow-screen choices live here.

   Pace: the two lengths that only exist to hold something in view (the title
   card's hold, a module's step) are multiples of --pace.

   No paper is painted behind words in this scene (founder, 13 November 2026):
   no patch behind a node's name, no halo round the headline, no patch behind
   the phone's list. The names stand clear of their nodes instead, and the
   phone's dust is thinned at its keyframe. Sizes are the scale's tokens only
   (README, "Design system: 13 November 2026").

   Every class, keyframe and custom property here is prefixed "platform-".
   ========================================================================== */
.platform-scene {
  --platform-row: 2.75rem;                                /* an index row: a 44px target */
  --platform-lift: clamp(1.1rem, 2.2vw, 2rem);            /* a node's name sits this far above its centre */
}

/* --------------------------------------------------------------------------
   1  Title card
   .platform-card        the card's place in the page. Not sticky, so the two
                         keyframes and the landing point (its children) keep a
                         fixed place in the document.
   .platform-card__pin   the card itself: ordinary flow, sticky while it holds.
   -------------------------------------------------------------------------- */
.platform-card { position: relative; }
.platform-card__pin { display: flow-root; }               /* the card's top margin (the top name's headroom) stays inside it */
.platform-orbit {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: var(--sp-6);
}
.platform-head {
  order: -1;
  display: grid;
  gap: var(--sp-5);
  justify-items: start;
}
.platform-head__h { max-width: 11.5em; text-wrap: balance; }
/* The margin note, when it is shown above the headline (the "Margin note" option on a window
   under 1200px): the grid's gap is not added to the note's own space. */
html[data-opt-labels="margin"] .platform-head > .flow-note { margin-block-end: calc(0.625rem - var(--sp-5)); }

/* Where a link to this scene lands (ui.js, data-scene-anchor="center"): the card in the middle of
   the viewport when it fits, which is also where it comes to rest; under the nav when it does not. */
.platform-card__land {
  position: absolute;
  inset: 0 0 auto;
  height: min(100%, calc(100svh - 2 * var(--nav-clear)));
  pointer-events: none;
}

/* The dock: one box, the proportion of the arc. The engine fits the arc inside it.
   From 768px only: below that there is no room for the nine names, so there is no arc (its two
   keyframes go with it) and a dust keyframe stands in. */
.platform-orbit__dock,
.platform-orbit__labels { grid-area: 2 / 1; }
.platform-orbit__dock { display: none; }
.platform-card__key, .platform-card__key-lead, .platform-x__key { display: none; }
.platform-card__key-lead { inset-block-start: 10svh; }     /* formed when the card's top is two fifths down the window: by then the staff record above
                                                               has left the window, so its card is not let go while it is still in view */
.platform-card__key-small { inset-block-start: 40svh; }
@media (min-width: 48em) {
  .platform-orbit__dock {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 2.2;
  }
  /* Headline above, arc below: the arc is formed when the upper part of its box is at the middle
     of the window (the box is the lower two thirds of the card). */
  .platform-card__key { display: block; inset-block-start: 62%; }
  .platform-card__key-lead { display: block; }
  .platform-x__key { display: block; }
  .platform-card__key-small { display: none; }
}
/* The line still: the same arc, drawn when the thread is not. */
.platform-orbit__still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  transition: opacity 600ms ease;
}
.platform-orbit__line { fill: none; stroke: var(--hair-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.platform-orbit__nodes circle { fill: var(--ground); stroke: var(--mark); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.platform-orbit__nodes .is-soon { stroke: var(--fg-2); }
.platform-orbit__cores circle { fill: var(--mark); }
html:is(.flow-live, .flow-still) .platform-orbit__still { opacity: 0; }          /* the thread draws the arc */

/* The nine names: the text face, sentence case. Not shown on small screens (the accordion below
   is the list) or over a reduced-motion still, where the engine does not place them. Nothing is
   painted behind a name: it stands clear of its node's halo, and on the wide card (from 1100px,
   below) outside the arc and off the line that joins the nodes. A name only appears once its
   node is all but formed, so no ghost of it shows while the dots gather. */
.platform-orbit__labels { display: none; }
@media (min-width: 48em) {
  .platform-orbit__labels { position: relative; display: block; pointer-events: none; }
  /* A reduced-motion still: the engine does not place the names, so they stand at the nodes' known
     places (--x, --y), as in static mode (design pass: the still ring had nine anonymous nodes). */
  html.flow-still .platform-orbit__labels > li { transform: none !important; }
  html.flow-still .platform-orbit__tag { opacity: 1; }
  .platform-orbit__labels > li {
    position: absolute;
    inset-inline-start: calc(var(--x) * 1%);
    inset-block-start: calc(var(--y) * 1%);
    width: 0;
    height: 0;
  }
  html.flow-live .platform-scene { --platform-lift: clamp(1.75rem, 3.4vw, 3.1rem); }   /* the drawn nodes have a halo: the name clears it */
  .platform-orbit__tag {
    /* --platform-side: -1 a node on the left of the arc, 1 on the right, 0 at the top or where
       there is no room beside the arc (set per name on the wide card, below). */
    --platform-side: 0;
    position: absolute;
    inset-inline-start: 0;
    inset-block-end: var(--platform-lift);
    width: max-content;
    max-width: 9.5rem;
    padding: 0.1875rem 0;
    /* Centred over a node at the top; pushed outward, away from the arc's line, at the sides. */
    transform: translateX(calc(-50% + var(--platform-side) * (50% + 0.25rem)));
    font-family: var(--flow-sans);
    font-size: var(--fz-caption);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0;
    text-align: center;
    text-wrap: balance;
    color: var(--fg);
    opacity: clamp(0, calc((var(--w, 1) - 0.85) / 0.15), 1);   /* only once its node is formed: never read through the arriving cloud (design pass) */
    transition: color var(--dur-hover) ease;
  }
  .platform-orbit__tag--soon { color: var(--fg-2); }
  /* With the script, a name is also a shortcut into the explorer for pointer users, and so is its
     node: the name's target reaches down over the node it names. */
  html.ui-js .platform-orbit__tag { pointer-events: auto; cursor: pointer; }
  html.ui-js .platform-orbit__tag::after {
    content: "";
    position: absolute;
    inset-block-start: 100%;
    inset-inline-start: calc(50% - var(--platform-side) * (50% + 0.25rem) - 1.75rem);
    width: 3.5rem;
    height: calc(var(--platform-lift) + 1.75rem);
  }
  /* The four names at the feet of the arc stand beside their node, level with it: the line runs
     up through the space above those nodes. Inside the arc here, where the headline stands above
     it and the arc reaches the edges of the column; outside it on the wide card (below). */
  .platform-orbit__tag--beside {
    --platform-reach: calc(var(--platform-lift) + 1.75rem);
    inset-block: 0 auto;
    transform: translate(calc(-50% + var(--platform-side) * (50% + var(--platform-lift))), -50%);
  }
  .platform-orbit__labels > li:nth-child(-n + 2) > .platform-orbit__tag--beside { --platform-side: 1; text-align: start; }
  .platform-orbit__labels > li:nth-child(n + 8) > .platform-orbit__tag--beside { --platform-side: -1; text-align: end; }
  /* Its target reaches sideways to the node. */
  html.ui-js .platform-orbit__tag--beside::after {
    inset-block-start: calc(50% - 1.75rem);
    inset-inline-start: calc(50% - var(--platform-side) * (50% + var(--platform-reach) / 2) - var(--platform-reach) / 2);
    width: var(--platform-reach);
    height: 3.5rem;
  }
}
/* Below the wide card the third name on each side stands inside the arc as well: above its node
   it would lie on the line, and the arc reaches the edges of the column. */
@media (min-width: 48em) and (max-width: 68.74em), (min-width: 48em) and (max-height: 39.99em) {
  .platform-orbit__labels > li:is(:nth-child(3), :nth-child(7)) > .platform-orbit__tag {
    --platform-reach: calc(var(--platform-lift) + 1.75rem);
    --platform-side: 1;
    inset-block: 0 auto;
    transform: translate(calc(-50% + var(--platform-side) * (50% + var(--platform-lift))), -50%);
    text-align: start;
  }
  .platform-orbit__labels > li:nth-child(7) > .platform-orbit__tag { --platform-side: -1; text-align: end; }
  html.ui-js .platform-orbit__labels > li:is(:nth-child(3), :nth-child(7)) > .platform-orbit__tag::after {
    inset-block-start: calc(50% - 1.75rem);
    inset-inline-start: calc(50% - var(--platform-side) * (50% + var(--platform-reach) / 2) - var(--platform-reach) / 2);
    width: var(--platform-reach);
    height: 3.5rem;
  }
}
@media (min-width: 48em) {
  html.ui-js .platform-orbit__tag:hover { color: var(--mark); }
  /* While the scroll steps through the modules, the name of the one on show is picked out
     (the script sets is-on once the explorer has entered the window); is-warm is the name whose
     node the pointer or the keyboard is on. */
  .platform-orbit__tag:is(.is-on, .is-warm) { color: var(--mark); }
}

/* The arc answers (founder, 13 November 2026): the node of the module under the pointer, or of the
   index row that has the keyboard, warms to magenta and pale violet, and the node of the module on show
   stays warm while the scroll steps through the modules (so a touch screen, which has no hover,
   has it too). The script makes a pair of discs per node, straight under <body>, and keeps them
   on the node, over the thread and under the page. The lower one changes hue only: each dot
   inside it turns warm at its own strength, and the paper, which has next to no colour of its
   own to turn, is left as it is. The upper one only lightens, with the same two colours: paper
   is lighter than both and is left exactly as it is, and the dots, now warm but dark, come up
   to the magenta and pale violet of the thread's own colours. Nothing is painted on the ground, and
   nothing behind a word. */
.platform-warm {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: -1;
  width: clamp(5.5rem, 9.5vw, 9rem);
  aspect-ratio: 1;
  margin: calc(clamp(5.5rem, 9.5vw, 9rem) / -2) 0 0 calc(clamp(5.5rem, 9.5vw, 9rem) / -2);
  border-radius: 50%;
  /* magenta into pale violet: amber is kept for a requirement that is not met (design pass) */
  background: radial-gradient(closest-side, var(--c-magenta) 0, var(--c-magenta) 20%, #A48BFF 58%, #A48BFF 100%);
  -webkit-mask: radial-gradient(closest-side, #000 0, #000 55%, transparent 100%);
          mask: radial-gradient(closest-side, #000 0, #000 55%, transparent 100%);
  mix-blend-mode: hue;
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease;
}
.platform-warm--light { mix-blend-mode: lighten; }
.platform-warm.is-on { opacity: 1; transition-duration: 260ms; }
.platform-warm--light.is-on { opacity: 0.5; }            /* much of each dot's own shade is kept, so the node stays a ball of round dots, not a flat disc */
@media (forced-colors: active), print { .platform-warm { display: none; } }

/* From 1100px the card is one picture: the headline inside the arc. */
@media (min-width: 68.75em) and (min-height: 40em) {
  .platform-scene {
    /* The card's height, worked out from the window: the column's width over the arc's
       proportion, or what the window's height leaves. (The column is .scene__inner's.) */
    --platform-col: min(100vw - 2 * max(var(--pad-x), var(--rail-w), var(--note-w)), var(--max-w));
    --platform-card-h: min(var(--platform-col) / 2.2, 100svh - 12rem);
    --platform-headroom: 3rem;                            /* the top name stands above the box */
  }
  .platform-orbit {
    display: block;
    width: min(100%, calc((100svh - 12rem) * 2.2));
    aspect-ratio: 2.2;
    margin: var(--platform-headroom) auto 0;
  }
  .platform-card__land { height: calc(var(--platform-card-h) + var(--platform-headroom)); }   /* the card, with the top name's headroom, centred */
  .platform-card__key { inset-block-start: calc(var(--platform-headroom) + var(--platform-card-h) * 0.38); }   /* a point 38% down the arc's box at the middle of the window */
  .platform-orbit__dock,
  .platform-orbit__labels { position: absolute; inset: 0; width: auto; aspect-ratio: auto; }
  .platform-head {
    position: absolute;
    inset: 25% 0 auto;
    justify-items: center;
    gap: var(--sp-4);
    text-align: center;
  }
  html[data-opt-labels="margin"] .platform-head > .flow-note { margin-block-end: calc(0.625rem - var(--sp-4)); }
  .platform-head__h {
    max-width: 10.5em;
    font-size: min(var(--fz-h), calc((100svh - 12rem) * 0.152));      /* three lines always fit under the arc */
  }
  /* The names on the card. The three at the top stay centred above their nodes. The third on
     each side stands above its node and outward, off the line. The two at each foot of the arc
     stand beside their node, inside the arc (the headline is well clear of them)... */
  .platform-orbit__labels > li:nth-child(3) > .platform-orbit__tag { --platform-side: -1; text-align: end; }
  .platform-orbit__labels > li:nth-child(7) > .platform-orbit__tag { --platform-side: 1; text-align: start; }
}
/* ...and outside it once the window has the margin for them (from 1400px). */
@media (min-width: 87.5em) and (min-height: 40em) {
  .platform-orbit__labels > li:nth-child(-n + 2) > .platform-orbit__tag--beside { --platform-side: -1; text-align: end; }
  .platform-orbit__labels > li:nth-child(n + 8) > .platform-orbit__tag--beside { --platform-side: 1; text-align: start; }
}

/* --------------------------------------------------------------------------
   1b  The title card's hold
   From 1100px wide and 640px tall, with the thread live and motion allowed,
   the card comes to rest in the middle of the window and stays there while
   the page scrolls on for --platform-card-hold small-viewport heights (times
   the pace). The room is a real block after the card, not padding: a sticky
   box cannot travel into its parent's padding.
   Words lead, shapes follow (founder, 26 October 2026): the headline arrives
   and is read first, and only then does the arc gather round it. The marker's
   data-flow-wait holds the gather back until it is in the window and
   revealed, wherever the layout puts it; here the staff record's particles
   have let go into a thin field by the time the card comes to rest
   (platform-lead), the arc then gathers out of it one node at a time across
   about seven tenths of a window and is fully formed four fifths of a window
   into the rest, and the card holds on, with the arc and its nine names, for
   another four fifths (pacing pass, 13 November 2026: the hold was one
   window, the arc was formed half way through it, out of a stream that
   crossed the headline, and scrolled off half a window later; the page's
   clearest picture of the product now has a window and a half). The arc is held on its dock for the whole of
   the explorer (marker platform-hold), so nothing forms or leaves while the
   modules are read.
   -------------------------------------------------------------------------- */
@media (min-width: 68.75em) and (min-height: 40em) and (prefers-reduced-motion: no-preference) {
  html.flow-js:not(.flow-static) .platform-scene {
    --platform-card-hold: 160;
    --platform-top: max(var(--nav-clear) - 1rem, (100svh - var(--platform-card-h) - var(--platform-headroom)) / 2);
  }
  html.flow-js:not(.flow-static) .platform-card__pin { position: sticky; inset-block-start: var(--platform-top); }
  html.flow-js:not(.flow-static) .platform-card::after { content: ""; display: block; block-size: calc(var(--platform-card-hold) * var(--pace) * 1svh); }
  html.flow-js:not(.flow-static) .platform-card__key { inset-block-start: calc(44svh - var(--platform-top) + 88svh * var(--pace)); }
  html.flow-js:not(.flow-static) .platform-card__key-lead { inset-block-start: calc(50svh - var(--platform-top)); }   /* the field is formed as the card comes to rest */
}

/* --------------------------------------------------------------------------
   2  Explorer
   -------------------------------------------------------------------------- */
.platform-x {
  position: relative;
  margin-block-start: clamp(4.5rem, 15svh, 10rem);
}
/* The stage: the index and the modules. (The keyframe that holds the arc is its sibling in
   .platform-x, so it keeps a fixed place in the document when the stage is sticky.) */
.platform-x__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.platform-nav { display: none; }                          /* below 900px, and with no script, the summaries are the index */
.platform-panels {
  position: relative;
  min-width: 0;
  container: platform-stage / inline-size;
}

/* --- modules: an exclusive accordion --------------------------------------- */
.platform-panel { border-block-start: 1px solid var(--hair); }
.platform-panel:last-of-type { border-block-end: 1px solid var(--hair); }
.platform-panel__sum {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.125rem 1rem;
  min-height: 4.75rem;
  padding-block: 0.875rem;
  cursor: pointer;
  list-style: none;
}
.platform-panel__sum::-webkit-details-marker { display: none; }
/* An old address kept as an alias (#platform-workforce, for the renamed Workforce dashboard): out of
   the summary's grid, at its top left, so a link to it lands where a link to the panel does. */
.platform-panel__alias { position: absolute; width: 1px; height: 1px; overflow: hidden; pointer-events: none; scroll-margin-top: var(--nav-clear); }
.platform-panel__sum::after {
  content: "";
  grid-area: 1 / 2 / span 2;
  width: 1.125rem;
  height: 1.125rem;
  background: var(--mark);
  -webkit-mask: var(--fi-plus) center / contain no-repeat;
          mask: var(--fi-plus) center / contain no-repeat;
  transition: transform var(--dur-hover) var(--ease-expo);
}
.platform-panel[open] > .platform-panel__sum::after { transform: rotate(45deg); }
.platform-panel__sum:focus-visible { outline-offset: -2px; }
.platform-panel__name:focus { outline: none; }          /* takes focus when its module is chosen from the keyboard; it is not a control */
.platform-panel__name {
  grid-column: 1;
  font-size: var(--fz-h-sm);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.platform-panel__desc {
  grid-column: 1;
  font-size: var(--fz-small);
  line-height: 1.4;
  color: var(--fg-2);
}

.platform-panel__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-6);
  padding-block: var(--sp-2) var(--sp-7);
}
.platform-panel__text {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: var(--sp-4);
  min-width: 0;
}
.platform-panel__lead { max-width: 34rem; font-size: var(--fz-body); line-height: 1.5; text-wrap: pretty; }


/* Text beside the artefact once the stage has the room for both. */
@container platform-stage (min-width: 52rem) {
  .platform-panel__in:not(.platform-panel__in--soon) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    column-gap: var(--col-gap);
  }
}

/* --- from 900px, with the script: an index and one stage ---------------------- */
@media (min-width: 56.25em) {
  .platform-scene[data-platform-tabs] .platform-x__stage {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--col-gap);
    align-items: start;
    padding-block-start: var(--sp-6);
    border-block-start: 1px solid var(--hair);
  }
  .platform-scene[data-platform-tabs] .platform-nav { display: block; grid-column: 1 / span 4; }
  .platform-scene[data-platform-tabs] .platform-panels {
    grid-column: 5 / -1;
    min-height: var(--platform-stage-h, 0px);            /* the tallest module, measured by the script: no jump on a change */
  }
  .platform-scene[data-platform-tabs] .platform-panel { border: 0; }
  /* A closed module shows nothing, but it is still in the page, so find-in-page can reach its
     words and open it (the toggle then moves the index marker). */
  .platform-scene[data-platform-tabs] .platform-panel:not([open]) > .platform-panel__sum { display: none; }
  /* The summary is the stage's heading here, not a control (the index is). */
  .platform-scene[data-platform-tabs] .platform-panel__sum {
    display: block;
    min-height: 0;
    padding-block: 0 var(--sp-6);
    cursor: auto;
  }
  .platform-scene[data-platform-tabs] .platform-panel__sum::after { content: none; }
  /* The stage's heading: the module's name at the section size (an h3 never equals the scene's h2:
     design pass, 13 November 2026), its one-line promise under it at the lede size, in the muted
     colour. */
  .platform-scene[data-platform-tabs] .platform-panel__name {
    display: block;
    font-size: var(--fz-section);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.03em;
    text-wrap: balance;
  }
  .platform-scene[data-platform-tabs] .platform-panel__desc {
    display: block;
    margin-block-start: var(--sp-2);
    font-size: var(--fz-lede);
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-wrap: balance;
  }
  .platform-scene[data-platform-tabs] .platform-panel__in { padding-block: 0; }
}
@media (min-width: 75em) {
  .platform-scene[data-platform-tabs] .platform-nav { grid-column: 1 / span 3; }
  .platform-scene[data-platform-tabs] .platform-panels { grid-column: 4 / -1; }
}

/* --------------------------------------------------------------------------
   2b  Steps: the scroll carries the reader through the modules
   From 900px, with the thread live and motion allowed, js/scene-platform.js
   also sets data-platform-steps on the scene (always together with
   data-platform-tabs, whose layout this builds on).

   .platform-x          the track: the stage's own height plus --platform-hold
                        small-viewport heights of scroll, times the pace. The
                        eight modules that exist share it: the first has half
                        a step (it is on show all the way in), the others a
                        whole one, so a step is --platform-hold / 7.5: 54% of
                        a window at the standard pace (486px in a 900px
                        window), 70% at calm, 43% at brisk. At a steady 500px
                        a second a module is whole and still for about four
                        fifths of a second. (Pacing pass, 13 November 2026: a
                        step was 90% of a window and there were nine of them,
                        8.4 windows on one sticky frame. The ninth panel, the
                        list of what is coming, is no longer a step: its rows
                        are in the index and a click brings it on; see
                        data-platform-aside in js/scene-platform.js. Before
                        26 October a step was 38%, 342px, and a flick of a
                        trackpad passed three of them: 54% is the middle.)
   .platform-x__stage   sticky for that stretch. Its top is just under the nav,
                        lower when the window has room to spare.
   .platform-panel      all nine are open and laid in one grid cell, so every
                        word is in the page for a screen reader and for
                        find-in-page. The one on show carries data-platform-show.
                        The others are parked: their content is moved below the
                        panel's own clip. A parked panel is a scroll container, so
                        when the browser brings something in it into view (a
                        find-in-page match, a link reached with Tab) it scrolls
                        that box, and the script takes that as "step to this
                        module".
   Nothing here runs without the script: with data-platform-steps absent this
   whole block is inert.
   -------------------------------------------------------------------------- */
@media (min-width: 56.25em) {
  .platform-scene[data-platform-steps] { --platform-hold: 405; }
  .platform-scene[data-platform-steps] .platform-x {
    min-height: calc(var(--platform-stick-h, 41rem) + var(--platform-hold) * var(--pace) * 1svh);
  }
  .platform-scene[data-platform-steps] .platform-x__stage {
    position: sticky;
    /* Close to the middle of the space under the capsule when the window has room to spare, and
       never higher than just under the nav. (Every px lower is a px less of scroll for the first
       module, which only has half a step: at 0.5rem it still has 1.3 seconds at 500px a second.) */
    inset-block-start: max(calc(var(--nav-clear) - 0.875rem), calc((100svh - var(--platform-stick-h, 41rem)) * 0.5 + 0.5rem));
  }
  /* The index keeps three columns at every width here, and the module keeps its text beside
     its artefact, so the stage is never taller than the window it has to hold in. */
  .platform-scene[data-platform-steps] .platform-nav { grid-column: 1 / span 3; }
  .platform-scene[data-platform-steps] .platform-panels {
    grid-column: 4 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    height: var(--platform-stage-h, auto);
  }
  /* Each module is a clip of its own, a little larger than its box (--platform-bleed) so that an
     artefact's shadow and a rising heading are never cut. Nothing about that box changes when a
     module comes on or goes: a step moves and fades what is inside it, and costs no layout. */
  .platform-scene[data-platform-steps] .platform-panel {
    --platform-bleed: 1.5rem;
    grid-area: 1 / 1;
    position: relative;
    box-sizing: content-box;
    min-width: 0;
    height: var(--platform-stage-h, auto);
    margin: -1.5rem calc(-1 * var(--platform-bleed)) -5rem;
    padding: 1.5rem var(--platform-bleed) 5rem;
    overflow: hidden;
    pointer-events: none;
    transition: opacity var(--platform-out, 110ms) ease-out;    /* the script shortens it for a reader who is scrolling quickly */
    scroll-margin-top: var(--platform-land, 0px);         /* a link to its id finds it where it holds (set by the script) */
  }
  /* Parked: the heading and the content sit below the clip. */
  .platform-scene[data-platform-steps] .platform-panel > * {
    transform: translate3d(0, calc(var(--platform-stage-h, 40rem) + 8rem), 0);
  }
  .platform-scene[data-platform-steps] .platform-panel > .platform-panel__sum { display: block; }
  /* On show (on), or fading out ahead of the next one (out). The script starts the next one's
     rise as this fade ends. */
  .platform-scene[data-platform-steps] .platform-panel[data-platform-show] > * { transform: none; }
  .platform-scene[data-platform-steps] .platform-panel[data-platform-show="on"] { z-index: 1; pointer-events: auto; }
  .platform-scene[data-platform-steps] .platform-panel[data-platform-show="out"] { opacity: 0; }
}
@media (min-width: 75em) {
  .platform-scene[data-platform-steps] .platform-panel { --platform-bleed: 3rem; }
}
/* A narrower stage (900 to 1200px wide): the text column and the artefact still sit side by
   side, and the index is set a size smaller. */
@container platform-stage (max-width: 51.99rem) {
  .platform-scene[data-platform-steps] .platform-panel__in:not(.platform-panel__in--soon) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    column-gap: var(--col-gap);
  }
}
@media (min-width: 56.25em) and (max-width: 74.99em) {
  .platform-scene[data-platform-steps] :is(.platform-index__link, .platform-index__label) { padding-inline: 0.875rem 0; }
}

/* A short window (a 13-inch laptop with the browser's toolbars showing): the stage is set a
   little tighter so that it still holds whole under the nav. Below about 630px of height it
   cannot, and the script falls back to the index choosing in place. */
@media (min-width: 56.25em) and (max-height: 46em) {
  .platform-scene[data-platform-steps] .platform-x__stage { padding-block-start: var(--sp-5); }
  .platform-scene[data-platform-steps] .platform-panel__sum { padding-block-end: var(--sp-5); }
  .platform-scene[data-platform-steps] .platform-panel__name { font-size: min(var(--fz-section), 5.5svh); }
}

/* --- the index --------------------------------------------------------------- */
.platform-index {
  position: relative;
  isolation: isolate;
  border-inline-start: 1px solid var(--hair);
}
.platform-index__link {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--platform-row);
  padding-inline: 1.125rem 0.25rem;
  font-size: var(--fz-small);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--fg-2);
  transition: color var(--dur-hover) ease;
}
.platform-index__link:hover,
.platform-index__link.is-on,
.platform-index__link[aria-current] { color: var(--fg); }
.platform-index__link:focus-visible { outline-offset: -2px; }
/* The five "coming soon" rows: a group below a hairline, under one quiet label. No chip on a row. */
.platform-index__group {
  margin-block-start: var(--sp-3);
  padding-block-start: var(--sp-3);
  border-block-start: 1px solid var(--hair);
}
.platform-index__label {
  padding: var(--sp-2) 0.25rem var(--sp-1) 1.125rem;
  font-size: var(--fz-caption);
  font-weight: 500;
  line-height: 1.3;
  color: var(--fg-2);
}
.platform-index__link--soon { font-weight: 400; }
/* The sliding marker: as tall as the current row (or the five "soon" rows together). The script
   measures the rows and writes --platform-y and --platform-h. */
.platform-index__marker {
  position: absolute;
  z-index: 0;
  inset: 0 auto auto -1px;
  width: 2px;
  height: var(--platform-h, var(--platform-row));
  background: var(--mark);
  transform: translate3d(0, var(--platform-y, 0px), 0);
  transition: transform 520ms var(--ease-expo), height 520ms var(--ease-expo), opacity var(--dur-hover) ease;
  opacity: 0;
  pointer-events: none;
}
.platform-index[data-platform-ready] .platform-index__marker { opacity: 1; }

/* --- a change of module: the old one fades, the new one rises --------------------- */
.platform-panel--ghost { position: absolute; inset: 0; pointer-events: none; }
@keyframes platform-in { from { opacity: 0; transform: translate3d(0, 0.875rem, 0); } }
@keyframes platform-out { to { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .platform-scene:not([data-platform-tabs]) .platform-panel[open] > .platform-panel__in { animation: platform-in 420ms var(--ease-expo) both; }
  .platform-panel.is-entering > .platform-panel__sum { animation: platform-in 520ms var(--ease-expo) 40ms both; }
  .platform-panel.is-entering .platform-panel__text { animation: platform-in 520ms var(--ease-expo) 90ms both; }
  .platform-panel.is-entering :is(.platform-fig, .platform-soon) { animation: platform-in 640ms var(--ease-expo) 130ms both; }
  .platform-panel--ghost { animation: platform-out 160ms ease both; }
}

/* --------------------------------------------------------------------------
   3  Mini UIs
   Each module's artefact is a reduced screen of the committed app (the
   shadcn "base-mira" redesign), built from the shared kit css/app-ui.css
   (APP-UI.md has the markup). Only what the kit cannot know lives here:
   the artefact's size on this stage, which columns a narrow screen drops,
   and the phone outline's scale. The app frame (.aui-app) chooses its own
   layout from its width: the 64px icon rail in a module beside its text,
   the phone layout (top bar, no sidebar) in a narrow one.
   -------------------------------------------------------------------------- */
.platform-fig {
  justify-items: start;
  align-content: start;
  container-type: inline-size;
}
.platform-fig > .flow-artefact__frame { width: 100%; max-width: 38rem; }
.platform-fig:not(.platform-fig--phone) > .flow-artefact__cap { justify-self: stretch; max-width: 38rem; }
/* One caption under a screen, "Example data", at its right-hand end. It sits straight on the page. */
.platform-fig > .flow-artefact__cap { justify-content: flex-end; }
.platform-fig--phone > .flow-artefact__frame { width: auto; max-width: 100%; }
.platform-fig--phone > * { --platform-phone-fz: 0.75rem; }        /* the phone's size: see "The app on a phone" */

/* Scripted sequences: the markup is the finished state. scene-platform.js sets
   data-state="todo" just before playing, and only when motion is allowed. */
.platform-fig [data-platform-step] {
  transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out);
}
.platform-fig [data-platform-step][data-state="todo"] { opacity: 0; transform: translateY(6px); }
/* Stepped, a module has one step of scroll to itself: its rows land with the artefact's own rise
   (the script times the cascade), not half a second after it. */
.platform-scene[data-platform-steps] .platform-fig [data-platform-step] { transition-duration: 260ms; }

/* Optional parts, chosen by the room the app gives them (its own tables drop columns the same
   way). platform-wide shows only in a page body of 39em or more (468px at the app's 12px),
   platform-narrow only below that; platform-rail only beside the icon rail, platform-onphone
   only in the app's phone layout. */
@container aui-body (max-width: 39em) {
  .platform-fig .platform-wide { display: none; }
}
@container aui-body (min-width: 39.01em) {
  .platform-fig .platform-narrow { display: none; }
}
@container aui-app (max-width: 44em) {
  .platform-fig .platform-rail { display: none; }
}
@container aui-app (min-width: 44.01em) {
  .platform-fig .platform-onphone { display: none; }
  /* With the menu folded to the rail, the app's header button is a bare icon. */
  .platform-fig .aui-head__toggle { background: none; }
  /* Beside the rail a toolbar keeps its search and its count on one row, as the app does on a
     wide screen (the kit puts the count under a full-width search in a narrow body). */
  .platform-fig .aui-toolbar > .aui-search { flex: 0 1 calc(240em / 12); width: auto; }
}
@container aui-lens (max-width: 44em) {
  .platform-fig .platform-rail { display: none; }
}
/* On the stage beside the index (from 900px), a module narrower than 528px (a window 900 to
   1260px wide) is set a size smaller, 11px to the app's 12px, so the stage still holds in the
   window. The accordion below 900px keeps the app's own size. (The phone follows the same rule
   through its own size, below.) */
@media (min-width: 56.25em) {
  @container (max-width: 33rem) {
    .platform-fig:not(.platform-fig--phone) .aui { font-size: 0.6875rem; }
    .platform-fig--phone > * { --platform-phone-fz: 0.6875rem; }
  }
}
/* The same smaller size in a window under 864px tall (a 13-inch laptop's browser is about 790px):
   the tallest module, the onboarding journey with its nine rows, then still lets the stage hold
   whole under the nav, as the script requires (otherwise the index chooses in place). */
@media (min-width: 56.25em) and (max-height: 54em) {
  .platform-scene[data-platform-steps] .platform-fig:not(.platform-fig--phone) .aui { font-size: 0.6875rem; }
  .platform-scene[data-platform-steps] .platform-fig--phone > * { --platform-phone-fz: 0.6875rem; }
}

/* --- Job adverts: the stage cell carries "what's next" under its badge, and both cells may
   wrap, so the table fits the card at every width (it never scrolls here). */
.platform-fig--jobs .aui-table td,
.platform-fig--jobs .aui-req__sub { white-space: normal; }
.platform-fig--jobs .aui-table td:first-child { min-width: 7.5em; }

/* --- Compliance summary: in a narrow body a name may wrap, and in the narrowest the sort
   buttons go. */
@container aui-body (max-width: 39em) {
  .platform-fig--sum .aui-table td:first-child { white-space: normal; }
}
@container aui-body (max-width: 30em) {
  .platform-fig--sum .aui-th__sort { display: none; }
}

/* --- DBS requests: in the phone layout the badges move under the applicant's name. */
.platform-chk__line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: calc(4em / 12) calc(8em / 12);
  margin-top: calc(6em / 12);
}

/* --- The staff passport: the lens sits in the artefact's own frame (no second edge), the
   requirement list takes the room the overview column has in the app, and a narrow screen
   shows the sections alone, as the app's phone layout does. */
.platform-fig--pass .aui-lens { border-radius: 0; box-shadow: none; }
.platform-fig--pass .aui-lens__col--b { flex: 1 1 0; }
@container aui-lens (max-width: 44em) {
  .platform-fig--pass .aui-lens__col--b { display: none; }
}

/* --- The app on a phone: the kit's device outline (css/app-ui.css, .aui-device) round the app's
   390px staff home, at the app's own size like the other modules (12px: the handset is 409px
   wide). The screen is cut at about the height of the other modules' screens and the kit's crop
   fades its foot. The caption is as wide as the handset, its two parts at either end, as under
   the other screens. Both follow one size, --platform-phone-fz (set with the figure's rules, and
   11px on a narrow stage). */
.platform-fig--phone .aui { font-size: var(--platform-phone-fz); }
.platform-phone .aui-device__screen { max-height: calc(520em / 12); }
.platform-fig--phone > .flow-artefact__cap { width: min(100%, calc(var(--platform-phone-fz) * 406 / 12 + 3px)); }

/* --- Coming soon: five plain rows on hairlines, each a name and one short line ------------- */
.platform-soon {
  max-width: 46rem;
  border-block-start: 1px solid var(--hair);
}
.platform-soon__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: baseline;
  gap: var(--sp-1) var(--col-gap);
  padding-block: var(--sp-4);
  border-block-end: 1px solid var(--hair);
  scroll-margin-top: var(--nav-clear);
}
/* In the accordion the module's own rule closes the list. */
.platform-scene:not([data-platform-tabs]) .platform-soon__row:last-child { border-block-end: 0; padding-block-end: 0; }
.platform-soon__t { font-size: var(--fz-h-sm); font-weight: 500; line-height: 1.2; letter-spacing: -0.015em; }
/* Each row carries one short line beside its name (Appraisals: NC-04; the others: founder comment 12, 19 November 2026). */
.platform-soon__d { margin: 0; font-size: var(--fz-small); line-height: 1.45; color: var(--fg-2); text-wrap: balance; }   /* never more than two lines: balance breaks them evenly (comment 12 review) */
@container platform-stage (min-width: 37.5rem) {
  .platform-soon__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
}

@media (forced-colors: active) {
  .platform-index__marker { background: Highlight; forced-color-adjust: none; }
  .platform-orbit__still { display: none; }
}
@media print {
  .platform-orbit__dock, .platform-orbit__labels, .platform-nav { display: none !important; }
  .platform-card__pin { position: static !important; }
  .platform-card::after { display: none !important; }
  .platform-head { position: static !important; }
  .platform-orbit { aspect-ratio: auto !important; width: auto !important; }
  /* Stepped or not, paper gets every module, one after another. */
  .platform-x { min-height: 0 !important; }
  .platform-x__stage { position: static !important; display: block !important; }
  .platform-panels { display: block !important; height: auto !important; min-height: 0 !important; }
  .platform-panel { height: auto !important; overflow: visible !important; opacity: 1 !important; margin-block-end: 2rem; break-inside: avoid; }
  .platform-panel > * { transform: none !important; }
}

/* One column (below 900px): the list of modules is running text on a thin, calm dust (the
   keyframe platform-dust, at a tenth strength). Nothing is painted behind the list. */

/* ---- scene-product.css ---- */
/* ==========================================================================
   Scenes: board, checks, passport (all on paper)
   One stylesheet for partials 40, 41 and 42. Classes are prefixed "product-".

   The product mocks are the committed Pyrexia app (the shadcn "base-mira"
   redesign, commit 288c696), drawn with the shared .aui kit (css/app-ui.css,
   loaded after this file; APP-UI.md has the markup): the Compliance summary
   on the board, the app's screen for each check stage, the staff passport and
   the staff home on a phone. This file only sizes them for their scenes and
   adds what the kit leaves to a mock (row headers, the working search, start
   states). Everything round them is flow: headlines, captions, the checks
   rail, the practice switch. Nothing stands above a headline, and outside
   the mocks nothing is set in mono capitals.

   Words lead, shapes follow (founder, 26 October 2026): in each scene the
   headline and its line arrive and are read before the thread gathers into the
   scene's shape. The first keyframe of each shape names those words
   (data-flow-wait), and the engine holds the gather back until they have
   arrived, whatever the layout; the keyframes below are placed so that it
   never has to squeeze a morph at 1440 by 900 or on a phone.

   Pace. Every length here that only exists to hold something in view is a
   multiple of --pace (1 standard, 1.3 calm, 0.8 brisk). At the standard pace,
   in a 1440 by 900 window:
     board     the headline and its line hold under the nav for 32% of a window
               while the thread's matrix gathers beneath them; the board's
               place then holds for 110%: the matrix stands whole and tilted,
               four cells hot, for about three fifths of a window, squares up
               and hands over, and the real board is read for the rest
     checks    the whole scene holds in the middle of the window for 48% (from
               820px tall)
     passport  the headline holds for 24% while the pass card's silhouette
               rises and lands; the words and the Passport hold together for
               44% (from 820px tall); the app and the staff member's way in
               hold for 34%
   (Pacing pass, 13 November 2026: the board's hold was 60%, all of it on the
   real board, and the matrix was cut by the foot of the window and gone in a
   third of a window; checks held 72%, the Passport pair 66%, the app 48%.)

   Contents
     1  Shared: scene head, captions, frames, holds
     2  Board: keyframes, then the Compliance summary
     3  Checks: the rail, its four stages and their screens
     4  Passport: the headline, the Passport and the practice switch, how
        control works
     5  The app: the phone and the staff member's way in
     6  Phones: the length budget for these three scenes
     7  Forced colours and print
   Breakpoints: 37.5em (600), 56.25em (900), 75em (1200: the board's whole table).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1  Shared
   -------------------------------------------------------------------------- */
.product-head {
  display: grid;
  gap: var(--sp-5);
  justify-items: start;
}
.product-head__h { max-width: 14.5em; }
.product-head__lede { max-width: 40rem; margin-block-start: var(--sp-2); }
/* The margin note, when it is shown above a headline (the "Margin note" option on a window under
   1200px): the grid's gap is not added to the note's own space. (From 1200px the note is taken
   out of the flow and set in the margin, and this margin does nothing.) */
html[data-opt-labels="margin"] .product-head > .flow-note { margin-block-end: calc(0.625rem - var(--sp-5)); }

/* Caption under an artefact: the words "Example data", once in a scene, at the caption size. It
   sits directly on the page (founder, 13 November 2026: nothing is painted behind text). It stays
   readable because nothing is drawn there: once a handoff has landed its dots go out behind the
   card (the hold keyframe's data-flow-alpha="0"), so no fringe reaches the caption. */
.product-cap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1.25rem;
  color: var(--fg-2);
}
.product-cap__tag {
  flex: none;
  font-family: var(--flow-sans);
  font-size: var(--fz-caption);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}

/* One presence from two handoff keyframes (the landing and the hold): data-flow-weight lists both
   ids and the engine adds them up, capped at 1. Over a held run that is the larger of the two at
   every scroll position. The weight is set on each element that fades (the frame, the caption, the
   practice switch) and on nothing above them, so a frame of the handoff restyles those few
   elements and not the whole artefact (flow.css stops it at the frame's children; the practice
   switch does the same here). Without the engine it falls back to 1. */
.product-map > * { --w: initial; }

/* Holds. .product-hold is a block's place in the page: it is never sticky, so a keyframe that is
   its child keeps a fixed place in the document. .product-hold__pin, inside it, is what holds: it
   sticks at a line while the page scrolls on through a real block after it (::after; not padding,
   which a sticky box cannot travel into). Each hold is switched on by name, further down, where
   its block fits the window; all of them need the thread live and motion allowed, and every
   length is a multiple of --pace. Without them the two boxes are ordinary blocks. */
.product-hold { position: relative; }

/* Where nothing pins (below 900px) the artefacts are simply there (flow.css, .flow-handoff), and
   so is everything that belongs to them. */
@media (max-width: 56.24em) {
  .product-board__figure > .product-cap,
  .product-pass__figure > .product-map,
  .product-pass__figure > .product-cap { opacity: 1 !important; }
}

.product-frame { z-index: 1; }
/* A handoff frame is invisible until its keyframe lands. If keyboard focus goes into it
   first, it shows at once: focus is never on something that cannot be seen. */
.product-frame:has(:focus-visible) { opacity: 1; transform: none; }
/* The landing is tied to scroll; a short ease keeps a large jump (Page Down, an anchor)
   from reading as a cut. Not under ?seek= or reduced motion, where html.ui-motion is absent. */
html.ui-motion.flow-live .product-frame { transition: opacity 220ms linear; }

/* --------------------------------------------------------------------------
   2  Board
   -------------------------------------------------------------------------- */
.product-board__rig {
  position: relative;
  margin-block-start: clamp(3rem, 9svh, 5.5rem);
}
/* Keyframes, measured from the top edge of the board (the rig).
   A marker is "formed" when it crosses the middle of the viewport, so a marker at
   top: N svh is formed when the board's top edge is at (50 - N)% of the viewport. */
.product-board__key-form { inset-block-start: 13svh; }                              /* top edge at 37%: the matrix has risen into view (its gather waits for the headline and its line: data-flow-wait) */
.product-board__key-grid { inset-block-start: 38svh; }                              /* top edge at 12%: the board has landed */
.product-board__key-hold { inset-block-start: auto; inset-block-end: 14svh; }       /* bottom edge at 64%: only then may it be let go */

/* The headline's hold. From 900px wide the headline and its line stop under the nav and stay for
   32% of a window of scroll (times the pace) while the thread's matrix, four cells hot, rises into
   the room beneath them: the words are read against the picture of what they say. Measured at
   1440 by 900: without the hold the two are whole in the window for 63% of a window of scroll;
   with it, for 95%. */
@media (min-width: 56.25em) and (min-height: 37.5em) and (prefers-reduced-motion: no-preference) {
  html.flow-js:not(.flow-static) .product-hold--boardhead > .product-hold__pin { position: sticky; inset-block-start: var(--nav-clear); }
  html.flow-js:not(.flow-static) .product-hold--boardhead::after { content: ""; display: block; block-size: calc(32svh * var(--pace)); }
}

/* The board's hold. On a desktop window that can show the whole board under the nav, its place
   holds there for 110% of a window of scroll (times the pace). The first two thirds belong to the thread:
   the matrix of rings, four cells hot, is whole in the window, tilted, a sculpture of the board
   (the one place on the page where amber means something exact). Then it squares up and hands
   over, and the real board is read, and its search tried, for the rest. (The figure is sticky
   inside the rig; the rig is that much taller. The keyframes are in the rig, not in the figure,
   so their document positions do not move.) */
@media (min-width: 75em) and (min-height: 50em) and (prefers-reduced-motion: no-preference) {
  /* From 800px tall: under the nav the board (about 630px at 1440, with its filter row and
     two-line requirement cells) and its caption fit whole.
     The extra height is a block inside the rig, not padding on it: a sticky box is held inside its
     parent's content box, so room given as padding gives it nowhere to travel and it does not hold. */
  html.flow-js:not(.flow-static) .product-board__rig::after { content: ""; display: block; block-size: calc(110svh * var(--pace)); }
  html.flow-js:not(.flow-static) .product-board__figure { position: sticky; inset-block-start: var(--nav-clear); }
  /* Here the board comes to rest with its top edge at about 10% of the window. The matrix is
     formed as it gets there (the top edge at 16%: the whole of it is in the window, which it
     never was while it formed at 63%; the headline and its line, read first and held, have just
     gone up under the nav). It then stands for three fifths of a window, and the real board has
     landed 80% of a window after it formed (the hand-over is the last quarter of that). */
  html.flow-js:not(.flow-static) .product-board__key-form { inset-block-start: 34svh; }
  html.flow-js:not(.flow-static) .product-board__key-grid { inset-block-start: calc(34svh + 80svh * var(--pace)); }
}

/* With the "Margin note" option the column gives up 120px on each side from 1200px wide, which
   on a window under about 1340px is less than the board's table needs (its last column was cut).
   The board is not text: it keeps the width it has without the option, reaching into the
   margins by the difference. */
@media (min-width: 75em) {
  html[data-opt-labels="margin"] .product-board__rig {
    margin-inline: min(0px, calc((100% - min(100vw - 2 * max(var(--pad-x), var(--rail-w)), var(--max-w))) / 2));
  }
}

.product-board__figure { gap: 1rem; }
.product-board__figure > .product-cap { opacity: var(--w, 1); }

/* The Compliance summary: the committed app (commit 288c696) drawn with the shared .aui kit
   (css/app-ui.css, APP-UI.md). Only what the kit leaves to a mock is here: the size, the row
   headers, the working search and the empty line. Every length inside is an em of the app's 12px
   base, so the whole window scales with the font size set on .aui. */
.product-board__app { min-height: 0; }
/* From 1200px the window shows every column of the table: the whole app is drawn a little under
   its own size (an 11.2px base for the app's 12px in the 1280px frame, scaled with the window
   down to 9.6px), so the seven columns (the two reminders and four requirements) fit without a
   sideways scroll. Narrower, it is drawn at the app's own size and the table scrolls inside its
   card, the names pinned, as in the app. */
@media (min-width: 75em) {
  .product-board__frame .product-board__aui { font-size: clamp(0.6rem, 0.985vw - 0.1786rem, 0.7rem); }
}

/* Each row's name is a row header for assistive technology (th scope="row"); the kit draws a th
   as a column head, so here it is drawn as the app's name cell: 49px rows, a hairline under each
   row but the last, the name at 400. */
.product-board__table tbody th {
  height: auto;
  padding: calc(8em / 12);
  padding-inline-start: calc(16em / 12);
  border-bottom: 1px solid var(--aui-border);
  box-shadow: none;
  font-weight: 400;
  white-space: normal;
}
.product-board__table tbody tr:last-child th { border-bottom: 0; }
.product-board__table .aui-person__name > .aui-badge { margin-inline-start: calc(4em / 12); }
.product-board__table tbody tr[hidden] { display: none; }
/* The filter applied to the summary, under the title, as the app shows it: the muted words, then
   the one chip. */
.product-board__applied { display: flex; flex-wrap: wrap; align-items: center; gap: calc(8em / 12); margin-block-start: calc(8em / 12); }
/* On a phone (the frame's own phone layout, under 528px at the app's scale) the two reminder
   columns are left out, so the requirement cells sit beside the pinned names in the first view:
   the board's point (who is in date, what is about to expire) is not a sideways scroll away. */
@container aui-app (max-width: 44em) {
  .product-board__table .product-board__remind { display: none; }
  /* And the first view is whole (design audit, 13 November 2026: a column cut at the card's edge
     read as broken). The names and the first requirement exactly fill the card: the name column
     is as wide as its longest name, the first requirement takes the rest, and the column heads go without their filter and sort
     icons. The other requirements are a sideways scroll away, the names pinned, as in the app. */
  .product-board__frame .product-board__table :is(th, td):first-child { width: calc(168em / 12); min-width: calc(168em / 12); max-width: calc(168em / 12); }
  .product-board__frame .product-board__table :is(th, td):nth-child(4) { min-width: calc(100cqw - 168em / 12); }   /* 100cqw is the card: the app body's content box */
  .product-board__frame .product-board__table thead th:not(:first-child) :is(.aui-th__sort, .aui-th__btn > .aui-i) { display: none; }
}

/* The table scrolls sideways inside its card (the kit's .aui-tscroll); keyboard focus shows on it. */
.product-board__scroll { overscroll-behavior-x: contain; }
.product-board__scroll:focus-visible { outline: 2px solid var(--aui-primary); outline-offset: -2px; }

/* The search: a picture of the field without the script; with it, a real input in the same box. */
.product-board__search { position: relative; }
.product-board__search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--aui-fg);
  font: inherit;
  outline: none;
  -webkit-appearance: none;
          appearance: none;
}
.product-board__search input::placeholder { color: var(--aui-muted-fg); opacity: 1; }
.product-board__search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.product-board__search:focus-within { border-color: var(--aui-primary); box-shadow: 0 0 0 2px var(--aui-primary-30); }
.product-board__empty { padding: calc(32em / 12) calc(16em / 12); color: var(--aui-muted-fg); text-align: center; }


/* --------------------------------------------------------------------------
   3  Checks
   The rail is the figure: a line with a node over each of the four stages.
   From 900px it runs across over four columns, a node over each. Below 900px
   it runs across a band at the top of the figure, the four nodes evenly
   spaced in it, and the stages follow it down the page. The thread's path is
   docked so that its four nodes sit exactly on the rail's own (geometry from
   js/shapes.js, path: across, the nodes are 25.76% of the dock apart and the
   first is 11.36% in, so the dock starts 0.441 of a column before the first
   node and is 3.882 columns wide).
   Under each stage's name, the committed app's screen for that stage, drawn
   with the shared .aui kit: a white card on paper (the site's artefact frame).
   -------------------------------------------------------------------------- */
.product-checks__figure {
  --pc-gap: var(--col-gap);                         /* between columns */
  --pc-x0: 1.875rem;                                /* a node's centre, from its column's left edge */
  --pc-rail: 7.5rem;                                /* the height of the band the line runs through */
  --pc-pitch: calc((100% + var(--pc-gap)) / 4);    /* one column and its gap; a percentage of the rail's width where it is used */
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-6);
  margin-block-start: clamp(3rem, 9svh, 5.5rem);
}
.product-checks__flow { position: relative; min-width: 0; padding-block-start: var(--pc-rail); }

/* The dock: only a box for the path to fit, over the band. */
.product-checks__dock {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: calc(var(--pc-x0) - 0.441 * var(--pc-pitch));
  width: calc(3.882 * var(--pc-pitch));
  height: var(--pc-rail);
}
/* The keyframes are children of the scene's holding box (the headline and the whole figure), not
   of the rail. Down the page the band sits about a quarter of the way down that box: the path is
   formed as the band reaches the middle of the viewport, and held until it has left the top. */
.product-checks__key { inset-block-start: 26%; }
.product-checks__key-hold { inset-block-start: 52%; }

/* The rail's own line. The inner <i> is the part already travelled. */
.product-checks__track {
  position: absolute;
  inset-block-start: calc(var(--pc-rail) / 2);
  inset-inline-start: calc(var(--pc-x0) - 0.286 * var(--pc-pitch));
  width: calc(3.572 * var(--pc-pitch));
  height: 1px;
  margin-block-start: -0.5px;
  background: var(--hair-2);
}
.product-checks__track i {
  position: absolute;
  inset: -0.25px 0;
  background: var(--mark);
  transform-origin: 0 50%;
  transform: scaleX(calc((0.286 + var(--product-step, 3)) / 3.572));
  transition: transform 520ms var(--ease-expo);
}

.product-checks__stages {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-7);
}
.product-checks__item {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: 0.375rem;
  min-width: 0;
}
.product-checks__node {
  position: absolute;
  inset-block-start: calc(var(--pc-rail) / -2);
  inset-inline-start: var(--pc-x0);
  width: 11px;
  height: 11px;
  margin: -5.5px 0 0 -5.5px;
  border: 1.5px solid var(--mark);
  border-radius: 50%;
  background: var(--mark);
  transition: background-color 300ms ease, border-color 300ms ease, box-shadow 400ms ease, transform 420ms var(--ease-expo);
}
.product-checks__item.is-current .product-checks__node { box-shadow: 0 0 0 5px var(--accent-tint); }
/* With the thread live the line is drawn once, by the particles: the rail's own hairline and nodes
   stand down (they stay for the static page and for a still frame's first paint). When the reader
   chooses a stage the travelling pulse stops (js/scene-product.js) and comes to rest on that
   stage: its node shows in the accent the pulse is drawn in, amber, over the particles' node. */
.product-checks__track, .product-checks__node, .product-checks__dots i { transition-property: opacity, background-color, border-color, box-shadow, transform; }
html.flow-live .product-checks__track,
html.flow-live .product-checks__node,
html.flow-live .product-checks__dots i { opacity: 0; }
html.flow-live .product-checks__figure[data-chosen] .product-checks__item.is-current .product-checks__node {
  opacity: 1;
  border-color: var(--mark);
  background: var(--mark);
  box-shadow: 0 0 0 5px rgb(107 59 255 / .28), 0 0 0 11px rgb(107 59 255 / .12);   /* violet: amber is kept for a requirement not met (design pass) */
  transform: scale(1.7);
}
.product-checks__item.is-current ~ .product-checks__item .product-checks__node { border-color: var(--hair-2); background: var(--ground); }
/* Below 900px the nodes are drawn in the band (one per stage, in order), from the same states. */
.product-checks__dots { display: none; }

/* The stages carry no visible number. In the markup each has a hidden "Step n" label; with the
   script that becomes a button laid over the whole stage (node, name, line of text and screen),
   named for assistive technology ("Show step 2 of 4: Identity check"). */
.product-checks__n { display: none; }
button.product-checks__n {
  position: absolute;
  inset: calc(var(--pc-rail) * -0.72) -0.5rem -0.5rem -0.5rem;
  z-index: 1;
  display: block;
  border-radius: 0.875rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
button.product-checks__n:focus-visible { outline-offset: 0; }
.product-checks__item:has(button.product-checks__n:hover) .product-checks__name { color: var(--mark); }
.product-checks__item:has(button.product-checks__n:hover) .product-checks__node { transform: scale(1.25); }
.product-checks__item:has(button.product-checks__n:hover) .product-checks__frame { transform: translate3d(0, -2px, 0); }

/* The four stage names are sub-headings (24px at 500), all in ink: the headline is the one large
   line of this scene. A stage after the chosen one is told by its screen stepping back, not by a
   grey name. */
.product-checks__name {
  font-size: var(--fz-h-sm);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
  transition: color 300ms ease;
}
.product-checks__text {
  max-width: 17rem;
  font-size: var(--fz-small);
  line-height: 1.45;
  color: var(--fg-2);
  text-wrap: pretty;
}

/* The app's screen for the stage: a white card on paper, as tall as the tallest in the row. */
.product-checks__frame { display: flex; flex-direction: column; margin-block-start: 0.875rem; }
.product-checks__aui { flex: 1 1 auto; display: flex; flex-direction: column; }
.product-checks__aui > .aui-card { flex: 1 1 auto; border-radius: 0; background: none; box-shadow: none; }
.product-checks__title { display: flex; flex-wrap: wrap; align-items: center; gap: calc(4em / 12) calc(8em / 12); }
.product-checks__aui .aui-meter { padding-block-start: calc(4em / 12); }
.product-checks__aui .aui-qa__row { padding-block: calc(8em / 12); }
.product-checks__aui .aui-qa__row:first-child { padding-block-start: 0; }
.product-checks__aui .aui-reqs { margin-block: calc(-4em / 12); }
.product-checks__aui .aui-reqrow { min-height: 0; padding-block: calc(6em / 12); }
/* A stage after the chosen one is still to come: its screen steps back with its name. */
/* It loses its colour and a little strength, never its legibility: its text stays above 4.5:1 (design pass; it was .45). */
.product-checks__item.is-current ~ .product-checks__item:not([data-state="todo"]) .product-checks__frame { opacity: .8; filter: grayscale(1); }

/* Start state (set by the script just before the stages come in, never in the markup). Each stage
   arrives with the scroll (js/scene-product.js), so the fade is short: a stage is whole 0.42s
   after reaching its place, however fast the row is passing. */
.product-checks__item > :not(.product-checks__node) { transition: opacity 260ms ease, transform 420ms var(--ease-expo), color 300ms ease; }
.product-checks__item[data-state="todo"] > :not(.product-checks__node) { opacity: 0; transform: translate3d(0, 0.75rem, 0); }
.product-checks__item[data-state="todo"] .product-checks__node { transform: scale(0); }
.product-checks__cap { align-items: center; }
.product-checks__h { max-width: 15em; }
.product-checks__sub { margin-block-start: calc(var(--sp-2) * -1); }

/* Down the page (below 900px): the band at the top, its four nodes evenly spaced, then the
   stages one under another, each with its screen. */
@media (max-width: 56.24em) {
  .product-checks__figure { --pc-gap: 0px; --pc-x0: calc(var(--pc-pitch) / 2); --pc-rail: 4.5rem; }
  .product-checks__node { display: none; }
  .product-checks__dots { position: absolute; inset: 0 0 auto; display: block; height: var(--pc-rail); pointer-events: none; }
  .product-checks__dots i {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: var(--pc-x0);
    width: 11px;
    height: 11px;
    margin: -5.5px 0 0 -5.5px;
    border: 1.5px solid var(--mark);
    border-radius: 50%;
    background: var(--mark);
    transition: background-color 300ms ease, border-color 300ms ease, box-shadow 400ms ease, transform 420ms var(--ease-expo);
  }
  .product-checks__dots i:nth-child(2) { inset-inline-start: calc(var(--pc-x0) + var(--pc-pitch)); }
  .product-checks__dots i:nth-child(3) { inset-inline-start: calc(var(--pc-x0) + 2 * var(--pc-pitch)); }
  .product-checks__dots i:nth-child(4) { inset-inline-start: calc(var(--pc-x0) + 3 * var(--pc-pitch)); }
  .product-checks__flow:has(.product-checks__item:nth-child(1).is-current) .product-checks__dots i:nth-child(1),
  .product-checks__flow:has(.product-checks__item:nth-child(2).is-current) .product-checks__dots i:nth-child(2),
  .product-checks__flow:has(.product-checks__item:nth-child(3).is-current) .product-checks__dots i:nth-child(3),
  .product-checks__flow:has(.product-checks__item:nth-child(4).is-current) .product-checks__dots i:nth-child(4) { box-shadow: 0 0 0 5px var(--accent-tint); }
  .product-checks__flow:has(.product-checks__item:nth-child(1).is-current) .product-checks__dots i:nth-child(n + 2),
  .product-checks__flow:has(.product-checks__item:nth-child(2).is-current) .product-checks__dots i:nth-child(n + 3),
  .product-checks__flow:has(.product-checks__item:nth-child(3).is-current) .product-checks__dots i:nth-child(n + 4) { border-color: var(--hair-2); background: var(--ground); }
  .product-checks__flow:has(.product-checks__item:nth-child(1)[data-state="todo"]) .product-checks__dots i:nth-child(1),
  .product-checks__flow:has(.product-checks__item:nth-child(2)[data-state="todo"]) .product-checks__dots i:nth-child(2),
  .product-checks__flow:has(.product-checks__item:nth-child(3)[data-state="todo"]) .product-checks__dots i:nth-child(3),
  .product-checks__flow:has(.product-checks__item:nth-child(4)[data-state="todo"]) .product-checks__dots i:nth-child(4) { transform: scale(0); }
  html.flow-live .product-checks__figure[data-chosen] .product-checks__flow:has(.product-checks__item:nth-child(1).is-current) .product-checks__dots i:nth-child(1),
  html.flow-live .product-checks__figure[data-chosen] .product-checks__flow:has(.product-checks__item:nth-child(2).is-current) .product-checks__dots i:nth-child(2),
  html.flow-live .product-checks__figure[data-chosen] .product-checks__flow:has(.product-checks__item:nth-child(3).is-current) .product-checks__dots i:nth-child(3),
  html.flow-live .product-checks__figure[data-chosen] .product-checks__flow:has(.product-checks__item:nth-child(4).is-current) .product-checks__dots i:nth-child(4) {
    opacity: 1;
    border-color: var(--c-amber);
    background: var(--c-amber);
    box-shadow: 0 0 0 4px rgb(242 161 0 / .34), 0 0 0 9px rgb(242 161 0 / .14);
    transform: scale(1.25);
  }
  .product-checks__frame { max-width: 26rem; margin-block-start: 0.625rem; }
  button.product-checks__n { inset: -0.5rem; }
}

/* From 600px the stages stand side by side (two to a row, four from 900px). Each stage is a subgrid
   of three rows (name, line, screen), so the screens of one row start on one line and end on one
   line, however the words above them wrap. */
@media (min-width: 37.5em) {
  .product-checks__stages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-7) var(--col-gap); }
  .product-checks__item { grid-row: span 3; grid-template-rows: subgrid; row-gap: 0.375rem; }
  .product-checks__frame { max-width: none; }
}
/* Two to a row the box is shorter, and the band a larger share of it: the path is held until the
   band has left the top of the viewport. */
@media (min-width: 37.5em) and (max-width: 56.24em) {
  .product-checks__key-hold { inset-block-start: 83%; }
}
/* Between 900 and 1200px a column is narrow: the screens are drawn a little smaller (an 11px base
   for the app's 12px), so a status and its label keep one line. */
@media (min-width: 56.25em) and (max-width: 74.99em) {
  .product-checks__frame .product-checks__aui { font-size: 0.6875rem; }
}

/* Across: from 900px. */
@media (min-width: 56.25em) {
  .product-checks__figure {
    --pc-rail: 6.5rem;                              /* at least 0.08 of the rail's width, so the path is fitted by its width */
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--sp-6) var(--pc-gap);
    margin-block-start: 3rem;
  }
  /* Side by side, the staff record's screen goes without its name line: the stage before it
     names the person, and the four screens keep one height. */
  .product-checks__aui .product-checks__who { display: none; }
  .product-checks__flow { grid-column: 1 / -1; }
  .product-checks__key { inset-block-start: 40%; }      /* across: formed when the line is a little above the middle of the viewport */
  .product-checks__key-hold { inset-block-start: 100%; }  /* and held until the foot of the scene is there */
  .product-checks__stages { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--pc-gap); }
  .product-checks__cap { grid-column: 1 / -1; grid-row: 2; align-self: start; align-items: baseline; }
}

/* The scene's hold. From 900px wide and 820px tall the whole scene fits the window: the headline
   and the four stages with their screens come to rest in the middle of it (the block is about
   39rem tall) and hold for 72% of a window of scroll, times the pace. The four
   stages have all arrived by then (each comes in as its name rises into the window). Words lead:
   the line gathers only once the headline and its line have arrived (data-flow-wait), and is
   fully formed a sixth of a window into the rest (checks-path); it is held on the rail until the
   block has moved on by a sixth of a window (checks-hold), so nothing gathers over the stages
   while they are read. */
@media (min-width: 56.25em) and (min-height: 51.25em) and (prefers-reduced-motion: no-preference) {
  html.flow-js:not(.flow-static) .product-hold--checks { --checks-top: max(var(--nav-clear), 50svh - 19.5rem); }
  html.flow-js:not(.flow-static) .product-hold--checks > .product-hold__pin { position: sticky; inset-block-start: var(--checks-top); }
  html.flow-js:not(.flow-static) .product-hold--checks::after { content: ""; display: block; block-size: calc(48svh * var(--pace)); }
  html.flow-js:not(.flow-static) .product-hold--checks > .product-checks__key { inset-block-start: calc(50svh - var(--checks-top) + 16svh * var(--pace)); }
  html.flow-js:not(.flow-static) .product-hold--checks > .product-checks__key-hold { inset-block-start: calc(50svh - var(--checks-top) + 48svh * var(--pace) + 17svh); }
}


/* --------------------------------------------------------------------------
   4  Passport
   -------------------------------------------------------------------------- */
/* "New starters bring / their documents.": two short lines, the second the quiet grey clause (the
   one violet clause on the page is the h1's), at the statement size. */
.product-pass__h { max-width: none; }
.product-pass__one {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-7) var(--col-gap);
  margin-block-start: clamp(2.5rem, 8svh, 5rem);
}
.product-pass__lead, .product-pass__lead-in { display: contents; }   /* one column: the words, the card, the rows (see 900px below) */
.product-pass__intro { display: grid; gap: var(--sp-5); align-content: start; justify-items: start; }
.product-pass__control { order: 3; }

.product-pass__rig { position: relative; min-width: 0; }
/* Keyframes, measured from the top edge of the pass card (the rig). */
.product-pass__key-form { inset-block-start: 27svh; }       /* top edge at 23% of the viewport: the silhouette is formed, once the headline and the
                                                               words beside the card have arrived (data-flow-wait) */
.product-pass__key-card { inset-block-start: 44svh; }       /* top edge at 6% (on a desktop window: a fifth of a window into the pair's rest): the
                                                               card has landed */
.product-pass__key-hold { inset-block-start: auto; inset-block-end: -42svh; }   /* the foot of the practice switch at 8%: only after that may the card be let go */

.product-pass__figure { gap: var(--sp-6); justify-items: start; }
.product-pass__frame { width: min(100%, 35rem); }
.product-pass__figure > .product-map,
.product-pass__figure > .product-cap { opacity: var(--w, 1); }
.product-pass__figure:has(:focus-visible) > :is(.product-map, .product-cap, .product-frame) { opacity: 1; }

/* The Passport: the committed staff passport (commit 288c696) drawn with the shared .aui kit: the
   passport's header over the staff home's "Your passport" card. The site's artefact frame is its
   edge on paper (an ink hairline and a warm cast below), so the lens gives up its own ring. From
   600px it is drawn a little larger than the app (a 13px base for the app's 12px), so the card
   holds its place beside the words. */
@media (min-width: 37.5em) {
  .product-pass__frame .product-pass__aui { font-size: 0.8125rem; }
}
.product-pass__aui > .product-pass__card { border-radius: 0; box-shadow: none; }
.product-pass__body { display: flex; flex-direction: column; gap: calc(12em / 12); padding: calc(16em / 12); }
.product-pass__body > .aui-sep { margin-block: calc(2em / 12); }
.product-pass__foot { flex-wrap: wrap; justify-content: space-between; color: var(--aui-muted-fg); }
.product-pass__shared { transition: opacity 240ms ease; }
.product-pass__shared b { font-weight: 500; color: var(--aui-fg); }
.product-pass__open { margin-inline-start: auto; }

/* Start state (set by the script): the three rows' values and bars come in one after another. */
.product-pass__card .aui-type > :is(.aui-type__v, .aui-bar) { transition: opacity 240ms ease, transform 240ms var(--ease-out); }
.product-pass__card [data-product-check][data-state="todo"] > :is(.aui-type__v, .aui-bar) { opacity: 0; transform: translateX(-6px); }
.product-pass__foot[data-state="todo"] .product-pass__shared { opacity: 0; }

/* The practice map: three radios on a line. The marker moves with CSS alone. */
.product-map {
  container-type: inline-size;
  width: min(100%, 31rem);
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.product-map__legend {                       /* on the ground, not in a mock: the text face, sentence case */
  padding: 0;
  margin-block-end: var(--s-2);
  font-family: var(--flow-sans);
  font-size: var(--fz-caption);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--ink-3);
}
.product-map__canvas { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-map__line { position: absolute; inset: 0 0 auto 0; width: 100%; height: auto; overflow: visible; pointer-events: none; }
.product-map__line path { fill: none; stroke: var(--border-control); stroke-width: 1; vector-effect: non-scaling-stroke; }
.product-map__line .product-map__ext { stroke: var(--line-strong); }   /* the line runs on, fainter: solid, nothing on the site is dashed */
.product-map__stop {
  --product-ny: 12cqw;
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 2.75rem;
  padding: calc(16cqw + 0.625rem) 0.25rem 0.5rem;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
}
.product-map__stop:nth-of-type(2) { --product-ny: 4cqw; }
.product-map__stop input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.product-map__stop:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.product-map__node {
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: var(--product-ny);
  width: 13px;
  height: 13px;
  margin: -6.5px 0 0 -6.5px;
  border: 1.5px solid var(--ink-2);
  border-radius: 50%;
  background: var(--surface);
  transition: transform var(--t-hover) var(--ease-out), background-color var(--t-ui) ease, border-color var(--t-ui) ease;
}
.product-map__node::after {                  /* halo on the chosen practice */
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--accent-tint);
  opacity: 0;
  transform: scale(.6);
  transition: opacity var(--t-ui) ease, transform var(--t-ui) var(--ease-out);
  z-index: -1;
}
.product-map__stop:hover .product-map__node { transform: scale(1.2); }
.product-map__stop input:checked ~ .product-map__node { border-color: var(--accent); background: var(--accent); }
.product-map__stop input:checked ~ .product-map__node::after { opacity: 1; transform: none; }
.product-map__name {
  font-size: var(--fz-caption);
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink-3);
  text-wrap: balance;
  transition: color var(--t-ui) ease;
}
.product-map__stop:hover .product-map__name,
.product-map__stop input:checked ~ .product-map__name { color: var(--ink); }

/* The marker is a miniature pass card. X and Y ride separate curves so it
   keeps close to the line's elbows instead of cutting the corner. */
.product-map__marker {
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 1;
  pointer-events: none;
  transform: translateX(calc(16.6667cqw + var(--product-mx, 0) * 33.3333cqw));
  transition: transform 640ms var(--ease-inout);
}
.product-map__marker-y {
  display: block;
  transform: translateY(var(--product-my, 12cqw));
  transition: transform 640ms cubic-bezier(.85, 0, .15, 1);
}
.product-map__marker i {
  position: absolute;
  inset: -34px auto auto -15px;
  width: 30px;
  height: 20px;
  border-radius: 4px;
  background:
    linear-gradient(to bottom, var(--surface) 50%, transparent 0) 12px 0 / 1px 4px repeat-y,
    var(--ink);
  -webkit-mask-image: radial-gradient(circle 3px at 12.5px 0, transparent 97%, #000), radial-gradient(circle 3px at 12.5px 100%, transparent 97%, #000);
          mask-image: radial-gradient(circle 3px at 12.5px 0, transparent 97%, #000), radial-gradient(circle 3px at 12.5px 100%, transparent 97%, #000);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
}
.product-map__canvas:has(.product-map__stop:nth-of-type(2) input:checked) { --product-mx: 1; --product-my: 4cqw; }
.product-map__canvas:has(.product-map__stop:nth-of-type(3) input:checked) { --product-mx: 2; --product-my: 12cqw; }
.product-map__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  margin-block-start: var(--s-3);
  font-family: var(--flow-sans);
  font-size: var(--fz-caption);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--fg);
}
.product-map__note::before {
  content: "";
  flex: none;
  width: 1em;
  height: 1em;
  background: var(--accent);
  -webkit-mask: var(--i-arrow) center / contain no-repeat;
          mask: var(--i-arrow) center / contain no-repeat;
}

.product-pass__figure > .product-map { width: min(100%, 35rem); }

/* The rest of the scene: the app, over a calm field. */
.product-pass__rest { position: relative; margin-block-start: clamp(5rem, 16svh, 9rem); }
.product-pass__key-dust { inset-block-start: 46svh; }        /* a fifth of a window after pass-hold, whatever the gap above: the card dissolves quickly into the field */

/* How control works: three ruled rows. */
.product-pass__control dd {
  max-width: 36rem;
  font-size: var(--fz-lede);
  line-height: 1.36;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

@media (min-width: 56.25em) {
  .product-pass__one { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  /* Two columns: the words and the three rows on the left, the pass card on the right. */
  .product-pass__lead { display: block; grid-column: 1 / span 5; min-width: 0; }
  .product-pass__lead-in { display: grid; gap: var(--sp-7); align-content: start; }
  .product-pass__rig { grid-column: 7 / -1; }
  .product-pass__control { order: 0; }
  .product-pass__control > div { grid-template-columns: minmax(0, 1fr); padding-block: 1.25rem; }
}
/* Any wide window: the left column is the taller, and the card stays beside it for the difference. */
@media (min-width: 56.25em) and (min-height: 40em) {
  .product-pass__figure { position: sticky; inset-block-start: calc(var(--nav-clear) + 1.5rem); }
}
/* The headline's hold. From 900px wide the two lines stop under the nav and stay for a quarter of a
   window of scroll (times the pace) while the two columns rise into the room beneath them; the
   pass card's silhouette is formed by then and the real card lands during the hold. Measured at
   1440 by 900: without the hold the headline is whole in the window for 72% of a window of
   scroll; with it, for 96%. */
@media (min-width: 56.25em) and (min-height: 37.5em) and (prefers-reduced-motion: no-preference) {
  html.flow-js:not(.flow-static) .product-hold--passhead > .product-hold__pin { position: sticky; inset-block-start: var(--nav-clear); }
  html.flow-js:not(.flow-static) .product-hold--passhead::after { content: ""; display: block; block-size: calc(24svh * var(--pace)); }
}
/* A desktop window that can show both columns whole under the nav (from 820px tall: the Passport,
   its practice switch and the caption are about 44rem): the two hold together for 44% of a
   window of scroll (times the pace), so the card is read beside the three statements about it.
     Each column is a flex column: its sticky box, then a real block of --pass-hold. The room has to
     be a block inside the column, not padding on it: a sticky box is held inside its parent's
     content box and cannot travel into padding. The grid row is as tall as the taller box plus the
     hold, both columns stretch to it, and each sticky box grows to fill its column down to the
     block. So the two boxes are one height, stick at one line and travel the same distance: they
     stop together and let go together. The keyframes stay in the rig (which is not sticky), and
     pass-hold, measured from its foot, moves down with the hold. */
@media (min-width: 75em) and (min-height: 51.25em) and (prefers-reduced-motion: no-preference) {
  html.flow-js:not(.flow-static) .product-pass__one {
    --pass-hold: calc(44svh * var(--pace));
    --pass-top: max(var(--nav-clear), 50svh - 22rem);       /* the pair sits in the middle of a tall window, under the nav in a short one */
  }
  html.flow-js:not(.flow-static) :is(.product-pass__lead, .product-pass__rig) { display: flex; flex-direction: column; }
  html.flow-js:not(.flow-static) :is(.product-pass__lead, .product-pass__rig)::after { content: ""; flex: none; block-size: var(--pass-hold); }
  html.flow-js:not(.flow-static) :is(.product-pass__lead-in, .product-pass__figure) {
    flex: 1 0 auto;
    position: sticky;
    inset-block-start: var(--pass-top);
    align-content: start;
  }
  /* The silhouette is formed, and the card lands, 8% of a window later than in the plain layout: the
     gather waits for the words, and this leaves it a third of a window to play in (it had 29%). */
  html.flow-js:not(.flow-static) .product-pass__key-form { inset-block-start: 35svh; }
  html.flow-js:not(.flow-static) .product-pass__key-card { inset-block-start: 52svh; }
  /* A little less air between the words and the rows, so the pair fits a 13-inch window. */
  html.flow-js:not(.flow-static) .product-pass__lead-in { gap: var(--sp-6); }
  html.flow-js:not(.flow-static) .product-pass__control > div { padding-block: 1.125rem; }
}
/* --------------------------------------------------------------------------
   5  The app
   -------------------------------------------------------------------------- */
.product-app {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-7) var(--col-gap);
  align-items: center;
}
.product-app__figure { justify-items: start; }
/* The phone: the app's staff home at the phone's width (the shared .aui kit's device and 390px
   layout). On a tablet it is drawn at five sixths of the app's size (a 10px base for its 12px), so
   the handset is about 340px wide; from 900px, beside the words, at the app's own size (below).
   The screen is cut 576px of the app down (48em), a little into the passport card under "To do",
   and never taller than the window leaves room for under the nav; the kit's crop fades its foot. */
.product-app__frame .product-app__aui { font-size: 0.625rem; }
.product-app__device .aui-device__screen { max-height: calc(576em / 12); }
/* The phone stands on a hairline. */
.product-app__frame { display: grid; justify-items: center; width: min(100%, 24rem); border-block-end: 1px solid var(--hair-2); }
.product-app__copy { display: grid; gap: var(--sp-5); justify-items: start; align-content: center; }
.product-app__h { max-width: 11em; }
/* The staff way in is one quiet text link (.flow-link), not a button: the page's buttons are for
   the practice ("Book a demo"). */
.product-app__store { font-size: var(--fz-small); }
@media (min-width: 56.25em) {
  .product-app { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .product-app__figure { grid-column: 1 / span 5; justify-items: center; }
  .product-app__copy { grid-column: 7 / -1; }
  /* Beside the words the five columns have room for the app at 1:1 (the 406px device): its
     smallest words are then the 10px of a badge, as in every other mock on the page, not 9px. The
     base eases from 10px at 900 to the app's 12px from 1200; the crop is held to the window. */
  .product-app__frame { width: min(100%, 26rem); }
  .product-app__frame .product-app__aui { font-size: clamp(0.625rem, 0.3rem + 0.6vw, 0.75rem); }
  .product-app__device .aui-device__screen { max-height: min(calc(576em / 12), 100svh - 13rem); }
}
/* The app's hold. From 900px wide and 720px tall the phone and the words beside it fit the window:
   they come to rest in the middle of it (the block is about 39rem tall at the app's own size, and
   the phone's crop is held to the window) and hold for 34% of a window of scroll, times the pace.
   The thread is timed to it. The pass card is let go once the practice switch has all but left
   the top of the window (pass-hold: the rig's foot at 30% of the window, where the figure above
   is sticky and ends at the rig's foot), and the calm field is fully formed at the moment the
   app comes to rest (pass-dust), so the card's dots are not still crossing the words while they
   are read. The room between the two columns above and the app grows with a tall window, so the
   two keyframes are always about a fifth of a window apart. */
@media (min-width: 56.25em) and (min-height: 45em) and (prefers-reduced-motion: no-preference) {
  html.flow-js:not(.flow-static) .product-hold--app {
    --app-top: max(var(--nav-clear), 50svh - 19.5rem);
    margin-block-start: max(clamp(5rem, 16svh, 9rem), 20svh - 1rem);
  }
  html.flow-js:not(.flow-static) .product-hold--app > .product-hold__pin { position: sticky; inset-block-start: var(--app-top); }
  html.flow-js:not(.flow-static) .product-hold--app::after { content: ""; display: block; block-size: calc(34svh * var(--pace)); }
  html.flow-js:not(.flow-static) .product-hold--app > .product-pass__key-dust { inset-block-start: calc(50svh - var(--app-top)); }
  html.flow-js:not(.flow-static) .product-pass__key-hold { inset-block-end: -20svh; }
}

/* --------------------------------------------------------------------------
   6  Phones: the length budget for these three scenes (below 600px)
   Nothing is taken out. The blocks sit closer, the four check stages stand
   closer together, and the three control rows are set at the body size.
   (scene-zz-director.css loads after this file: where it sets the same
   property, the selector here carries the scene's class as well.)
   -------------------------------------------------------------------------- */
@media (max-width: 37.49em) {
  .product-head { gap: var(--sp-4); }
  .product-board__rig { margin-block-start: 2.5rem; }

  .product-checks__figure { gap: var(--sp-5); margin-block-start: 2.25rem; }
  .product-checks__stages { gap: var(--sp-5); }
  /* One screen, not four (founder, 13 November 2026: less on the page). On a phone the four stages
     are a short list of names and lines under the line of dots, and one screen is shown: the last
     stage's, the staff record, where the other three end up. When the reader taps a stage, that
     stage's screen is the one shown. */
  .product-checks__item:not(:last-child) .product-checks__frame { display: none; }
  .product-checks__figure[data-chosen] .product-checks__item .product-checks__frame { display: none; }
  .product-checks__figure[data-chosen] .product-checks__item.is-current .product-checks__frame { display: flex; }

  .product-pass__one { gap: var(--sp-6); margin-block-start: 2.25rem; }
  .product-pass__intro { gap: var(--sp-4); }
  .product-pass__figure { gap: var(--sp-5); }
  .product-pass__control dd { font-size: var(--fz-body); line-height: 1.45; letter-spacing: 0; }
  .product-scene--pass .product-pass__rest { margin-block-start: 3rem; }
  .product-app__copy { gap: var(--sp-4); }
}

/* --------------------------------------------------------------------------
   7  Forced colours and print
   -------------------------------------------------------------------------- */
@media (forced-colors: active) {
  .product-checks__node, .product-checks__dots i { border-color: CanvasText; background: CanvasText; forced-color-adjust: none; }
  .product-checks__item.is-current ~ .product-checks__item .product-checks__node { background: Canvas; }
  .product-checks__track, .product-checks__track i { background: CanvasText; }
}
@media print {
  .product-frame { opacity: 1 !important; transform: none !important; }
  .product-cap, .product-map { opacity: 1 !important; }
  /* nothing holds on paper */
  .product-hold__pin, .product-board__figure, .product-pass__lead-in, .product-pass__figure { position: static !important; }
  .product-hold::after, .product-board__rig::after, .product-pass__lead::after, .product-pass__rig::after { display: none !important; }
  .product-checks__item, .product-checks__item > * { opacity: 1 !important; transform: none !important; }
}

/* ---- scene-proof.css ---- */
/* ==========================================================================
   Proof: who we work with, the founder's figures, and the security and
   compliance badges (13 November 2026; the banner and the figures' colours,
   14 November 2026).

     1  The component (any page): .proof-banner, .proof-stats, .proof-badges.
        The home page loads this file as one of its scenes; About names it in
        its front matter (css: /css/scene-proof.css) and loads
        /js/scene-proof.js beside its block.
     2  The home page's proof scene (#proof, partials/15-proof.html).
     3  The badge row in the security scene (#security, partials/60-security.html).

   Rules kept: text sits directly on the page (nothing is painted behind it; a
   badge is a hairline, not a fill); logos in one tone (ink) at one optical
   height each (assets-incoming/logos-prepared/README.md); round dots only;
   the type scale of flow.css and nothing else. The one thing here that moves
   on its own is the banner (the founder asked for it, 14 November 2026): slow,
   linear, stopped by its Pause button and while it is off screen, and still
   with motion reduced or without a script.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1  The component
   -------------------------------------------------------------------------- */

/* The banner: two tiers of logos across the whole width of the window, drifting in opposite
   directions. Each tier is a track holding its list and, once js/scene-proof.js has run, one
   aria-hidden copy of it; the track moves by half its width, so the copy takes the list's place and
   the loop has no seam. Each list is at least as wide as its tier (100cqw), its logos spread evenly,
   and the half-gap at each end of a list makes the gap across the seam the same as every other.

   Three states:
     still    (the default: no script, motion reduced, ?flow=still) each list is a centred,
              wrapping row; the copy is not shown.
     row      (a script is running and motion is allowed) one line per tier, faded at both edges.
     moving   (.is-looped: the copy is written) the tracks drift: about 20px a second. They stop
              while the banner is off screen (.is-away) and once Pause is pressed (.is-paused),
              until Play. Nothing else stops them: a pointer resting over the banner (most readers
              scroll with the cursor parked mid-window) or a touch on a logo froze it just as it was
              being looked at, and the button already meets WCAG 2.2.2 (review of 14 November). */
.proof-banner {
  --banner-gap: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
  --banner-row: clamp(3rem, 8svh, 4.5rem);      /* between the tiers; still, wrapping rows need the
                                                   room to read as two groups (moving: below) */
  --banner-fade: clamp(2.5rem, 9vw, 9rem);
  --banner-a: 64s;                              /* one loop of a tier at 1440: slow and calm */
  --banner-b: 76s;
  display: grid;
  row-gap: var(--banner-row);
  width: 100%;
  max-width: 120rem;
  margin-inline: auto;
}
.proof-banner__tier { container-type: inline-size; min-width: 0; }
.proof-banner__track { display: flex; width: 100%; }
.proof-banner .proof-banner__set {      /* two classes: flow.css resets ul[class] */
  list-style: none;
  margin: 0;
  padding: 0 var(--pad-x, 1rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 3.5svh, 2.25rem) var(--banner-gap);
  width: 100%;
}
.proof-banner__set[aria-hidden="true"] { display: none; }
.proof-banner__logo { display: flex; align-items: center; flex: none; min-height: 3.25rem; }
.proof-banner__logo img { display: block; width: auto; height: calc(var(--h, 40) * 1px); max-width: none; }
/* The Pause button: quiet words at the foot of the banner, in the column's right edge. */
.proof-banner__ctl {
  display: flex;
  justify-content: flex-end;
  width: min(100% - 2 * var(--pad-x, 1rem), var(--max-w, 80rem));
  margin-inline: auto;
}
.proof-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 2.75rem;
  margin: calc(var(--banner-row) / -2) calc(var(--sp-3) * -1) 0 0;
  padding: 0 var(--sp-3);
  border: 0;
  border-radius: var(--rad-pill);
  background: none;
  font: inherit;
  font-size: var(--fz-caption);
  font-weight: 500;
  color: var(--fg-2);
  cursor: pointer;
}
.proof-banner__btn:hover { color: var(--fg); }
.proof-banner__btn:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
/* the glyph: two bars (pause) or a triangle (play), drawn in CSS so it takes the text colour */
.proof-banner__btn::before {
  content: "";
  width: 0.625rem;
  height: 0.75rem;
  background: linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65%);
}
.proof-banner.is-paused .proof-banner__btn::before { clip-path: polygon(0 0, 100% 50%, 0 100%); background: currentColor; }
.proof-banner__ctl[hidden] { display: none; }

/* Still, on a wide window: the second tier's eight names on one line (the WMHTIA wordmark had
   dropped alone onto a third). */
@media (min-width: 75em) {
  .proof-banner__tier--b .proof-banner__set { column-gap: clamp(1.5rem, 2.2vw, 2.5rem); }
}
/* Nine names since The CPD Group's mark joined the programmes (19 November 2026): from 87em they
   fit on one line with a tighter gap; between 75em and 87em they cannot, so they are set as two
   even rows (five, then four), and below 75em as three rows of three, instead of leaving the last mark alone on a third. The moving row
   undoes both (below). */
@media (min-width: 87em) and (max-width: 104.99em) {
  .proof-banner__tier--b .proof-banner__set { column-gap: clamp(1rem, 1.5vw, 2.5rem); }
}
@media (min-width: 75em) and (max-width: 86.99em) {
  .proof-banner__tier--b .proof-banner__set::after { content: ""; flex-basis: 100%; order: 1; }
  .proof-banner__tier--b .proof-banner__set > li:nth-child(n+6) { order: 2; }
}
@media (min-width: 37.5em) and (max-width: 74.99em) {   /* three even rows of three */
  .proof-banner__tier--b .proof-banner__set::before { content: ""; flex-basis: 100%; order: 1; }
  .proof-banner__tier--b .proof-banner__set > li:nth-child(n+4) { order: 2; }
  .proof-banner__tier--b .proof-banner__set::after { content: ""; flex-basis: 100%; order: 3; }
  .proof-banner__tier--b .proof-banner__set > li:nth-child(n+7) { order: 4; }
}
@media (max-width: 37.49em) {
  .proof-banner { --banner-gap: 2.25rem; }
  .proof-banner__logo img { height: calc(var(--h, 40) * 0.8px); }
  .proof-banner__logo { min-height: 2.75rem; }
}

/* The row: a script is running and motion is allowed. */
@media (prefers-reduced-motion: no-preference) {
  html.ui-js:not(.flow-still) .proof-banner { --banner-row: clamp(1.75rem, 4svh, 2.5rem); }
  html.ui-js:not(.flow-still) .proof-banner__tier {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--banner-fade), #000 calc(100% - var(--banner-fade)), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 var(--banner-fade), #000 calc(100% - var(--banner-fade)), transparent);
  }
  html.ui-js:not(.flow-still) .proof-banner__track { width: max-content; }
  html.ui-js:not(.flow-still) .proof-banner__tier--b .proof-banner__set::before,
  html.ui-js:not(.flow-still) .proof-banner__tier--b .proof-banner__set::after { content: none; }
  html.ui-js:not(.flow-still) .proof-banner__tier--b .proof-banner__set > li { order: 0; }
  html.ui-js:not(.flow-still) .proof-banner__set {
    flex-wrap: nowrap;
    justify-content: space-around;
    flex: none;
    width: auto;
    min-width: 100cqw;
    padding-inline: calc(var(--banner-gap) / 2);
  }
  html.ui-js:not(.flow-still) .proof-banner.is-looped .proof-banner__set[aria-hidden="true"] { display: flex; }
  html.ui-js:not(.flow-still) .proof-banner.is-looped .proof-banner__track {
    animation: proof-banner var(--banner-a) linear infinite;
    will-change: transform;
  }
  html.ui-js:not(.flow-still) .proof-banner.is-looped .proof-banner__tier--b .proof-banner__track {
    animation-duration: var(--banner-b);
    animation-direction: reverse;
  }
  html.ui-js:not(.flow-still) .proof-banner.is-looped:is(.is-paused, .is-away) .proof-banner__tier .proof-banner__track { animation-play-state: paused; }
}
@keyframes proof-banner { to { transform: translate3d(-50%, 0, 0); } }
/* Still: the button has nothing to stop. */
@media (prefers-reduced-motion: reduce) { .proof-banner__ctl { display: none; } }
html.flow-still .proof-banner__ctl { display: none; }

/* The figures. Three in a row from 900px, one under another below that. Each has an orb: drawn by
   the thread on the home page (the shared dock over the orbs' places, .proof-stats__dock), or as a
   still of round dots drawn by js/scene-proof.js into .proof-stat__orb (static mode, inner pages).
   The final figure is in the HTML: the count is the aria-hidden copy only. */
.proof-stats {
  --orb: clamp(5.5rem, 13svh, 8rem);
  position: relative;
  display: grid;
  justify-items: center;
  gap: var(--sp-6);
  width: 100%;
}
.proof-stats__body { position: relative; width: 100%; }
.proof-stats__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--col-gap);
  width: 100%;
}
.proof-stat {
  position: relative;
  display: grid;
  grid-template-rows: var(--orb) auto;
  justify-items: center;
  align-content: start;
  gap: var(--sp-5);
  min-width: 0;
  text-align: center;
}
.proof-stat__fig { margin: 0; }
.proof-stat__n {
  display: block;
  font-family: var(--flow-sans);
  font-size: var(--fz-h);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-variant-numeric: lining-nums proportional-nums;
  white-space: nowrap;
  color: var(--tone-text, var(--fg));
}
.proof-stat__count { display: inline-block; }
/* Waiting for its orb: the final figure is in the page but not shown (never a zero); it keeps its
   place. Counting: in a box as wide as the final figure, set from its right edge, so the figure does
   not drift sideways as it grows (js/scene-proof.js). The figures stay proportional throughout (the
   design system: Satoshi's tabular "1" has a flag and a slab foot). */
.proof-stat__count.is-waiting { opacity: 0; }
.proof-stat__count, .proof-stat__label { transition: opacity 0.4s ease; }
/* its words wait with it, so no label stands under an empty space */
.proof-stat__fig:has(.is-waiting) .proof-stat__label { opacity: 0; }
.proof-stat__count.is-counting { text-align: end; }
.proof-stat__label {
  display: block;
  margin-block-start: var(--sp-3);
  font-size: var(--fz-body);
  line-height: 1.35;
  text-wrap: balance;
  color: var(--fg);
}
/* Each figure's colour (the founder, 14 November 2026: "the stats could have a bit more colour"),
   one of the dots' own colours: --tone for its still orb (js/scene-proof.js reads the name), and
   --tone-text for the numerals, a deeper tone of the same colour where the dot colour itself is
   under 4.5:1 on the paper (violet 5.2:1; teal 4.7:1 and magenta 5.1:1 against #F7F5F0). The labels
   stay ink. */
.proof-stat[data-proof-tone="violet"]  { --tone: var(--c-violet); --tone-text: var(--c-violet); }
.proof-stat[data-proof-tone="teal"]    { --tone: var(--c-teal); --tone-text: var(--c-teal-text); }
.proof-stat[data-proof-tone="magenta"] { --tone: var(--c-magenta); --tone-text: var(--c-magenta-text); }
.proof-stat[data-proof-tone="amber"]   { --tone: var(--c-amber); --tone-text: var(--c-amber-text); }
/* The engine's probe for an orb's own weight (data-flow-anchor): a point, out of the layout. */
.proof-stat__probe { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
/* The dock: one box over the three orb places. It reaches half a column gap past each side, so its
   sixths fall on the centres of the three columns (js/shapes.js, orbs). */
.proof-stats__dock {
  position: absolute;
  inset-block-start: 0;
  inset-inline: calc(var(--col-gap) / -2);
  height: var(--orb);
}

/* The still orb: round dots led by its figure's colour, drawn by js/scene-proof.js on one canvas. They
   gather once, from loose and pale to the orb, as the figure counts (a calm 1.6s); with motion reduced
   they are simply there. The canvas reaches 55% of the orb past each side (2.1 times its size), as
   the loose dots and the halo do; the orb's box keeps its place in the layout. The script sets the
   canvas's exact offset and size in whole screen pixels; these are the fallback. */
.proof-stat__orb { display: block; position: relative; width: var(--orb); height: var(--orb); }
.proof-orb {
  position: absolute;
  top: -55%;
  left: -55%;
  display: block;
  width: 210%;
  height: 210%;
  pointer-events: none;
}
/* On the home page the thread draws the orbs while it is live (each led by its figure's colour,
   data-flow-tone), so the still steps aside: its box keeps its room, and its canvas is not displayed,
   so it costs nothing while the page scrolls or a dialog opens. If the engine falls back (static
   mode, reduced motion, a lost WebGL context) the class goes and the still shows, formed. In
   reduced-motion stills the thread draws nothing there (data-flow-still="off") and these orbs, in
   the figures' colours, are shown. */
html.flow-live [data-proof-stats="engine"] .proof-stat__orb { visibility: hidden; }
html.flow-live [data-proof-stats="engine"] .proof-orb { display: none; }
/* Without a script there is no orb: its room goes, so the figures line up with their labels. */
html:not(.ui-js) .proof-stat__orb, html:not(.ui-js) .proof-stats__dock { display: none; }
html:not(.ui-js) .proof-stat { grid-template-rows: none; grid-template-columns: none; }

@media (max-width: 56.24em) {
  /* One under another: the orb to the left of its figure; the rows are of one height, so the dock
     (a tall column reaching half a gap past the list's top and foot) has its sixths on the rows. */
  .proof-stats { --orb: clamp(4rem, 17vw, 5.25rem); justify-items: stretch; }
  .proof-stats__list { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; row-gap: var(--col-gap); }
  .proof-stat {
    grid-template-rows: none;
    grid-template-columns: var(--orb) minmax(0, 1fr);
    align-items: center;
    align-content: center;
    justify-items: start;
    column-gap: var(--sp-5);
    text-align: start;
  }
  .proof-stats__dock {
    inset-inline: 0 auto;
    inset-block: calc(var(--col-gap) / -2);
    width: var(--orb);
    height: auto;
  }
}

/* Security and compliance badges: a name and a quiet qualifier in a hairline seal, with the scheme's
   own mark where there is one. One family with the ICO mark's box. No fill. */
.proof-badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.proof-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  min-height: 3.25rem;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--rad-artefact);
  box-shadow: inset 0 0 0 1px var(--hair-2);
  color: var(--fg);
}
.proof-badge__mark { display: block; flex: none; width: auto; height: 2.5rem; }
.proof-badge__mark--word { height: 1.6rem; }   /* a word mark (AWS) at the optical height of the square marks */
.proof-badge__t { display: grid; line-height: 1.25; }
.proof-badge__name { font-size: var(--fz-small); font-weight: 500; }
.proof-badge__q { font-size: var(--fz-caption); color: var(--fg-2); }
a.proof-badge__q { justify-self: start; color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a.proof-badge__q:hover { text-decoration-thickness: 2px; }
a.proof-badge__q:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 2px; }

@media (forced-colors: active) {
  .proof-badge { border: 1px solid CanvasText; }
  .proof-orb { display: none; }
  .proof-stat__n { color: CanvasText; }
  .proof-banner__tier { -webkit-mask-image: none; mask-image: none; }
  .proof-banner__logo img { forced-color-adjust: none; background: #FFFFFF; }   /* ink logos stay legible on a dark scheme */
}
@media print {
  .proof-stat__orb { display: none; }
  .proof-banner__track { animation: none !important; transform: none !important; width: 100% !important; }
  .proof-banner__tier { -webkit-mask-image: none !important; mask-image: none !important; overflow: visible !important; }
  .proof-banner__set { flex-wrap: wrap !important; justify-content: center !important; min-width: 0 !important; width: 100% !important; }
  .proof-banner__set[aria-hidden="true"], .proof-banner__ctl { display: none !important; }
  .proof-stat__count.is-waiting, .proof-stat__fig:has(.is-waiting) .proof-stat__label { opacity: 1; }
  .proof-stat__count { transition: none; }
}

/* --------------------------------------------------------------------------
   2  The home page's proof scene (#proof)
   Not pinned and nothing held: its length is its content (about one window
   at 1440 by 900). The thread: the hero's swarm lets go into dust as the
   headline arrives, the dust draws together into the three orbs once the
   headline has been read, and the orbs stay while the figures are read
   (partials/15-proof.html).
   -------------------------------------------------------------------------- */
.s-proof { padding-block-end: clamp(4rem, 11svh, 8rem); }
.s-proof__in { display: grid; justify-items: center; text-align: center; }
.s-proof__h { max-width: 15em; text-wrap: balance; }
/* The banner runs the width of the window, under the headline; the figures stand well clear of it
   (the founder, 14 November 2026: "a little bit of padding between 'Working with GP practices' and
   the stats"). */
.s-proof__banner { margin-block-start: clamp(2.5rem, 6.5svh, 4.5rem); }
.s-proof__stats { margin-block-start: clamp(4.5rem, 12svh, 8rem); }

/* Keyframes. proof-dust is formed when the headline's top crosses the middle of the window;
   proof-orbs when the orbs are a little above it (the figures under them in the window's lower half);
   proof-orbs-hold a little after the figures have gone by, so the orbs stay while they are read. */
.s-proof__key--dust { inset-block-start: var(--scene-pad); }
.s-proof__key--orbs { inset-block-start: calc(var(--orb) / 2 + 12svh); }
.s-proof__key--orbs-hold { inset-block-start: calc(100% + 32svh); }   /* (was 14svh: with the room under the
   banner the orbs let go into today-calm while the figures were still on screen; review of 14 November) */

@media (max-width: 56.24em) {
  .s-proof__in { justify-items: stretch; text-align: start; }
  .s-proof__h { max-width: 14em; }
  .s-proof__stats { margin-block-start: clamp(4.5rem, 12svh, 6.5rem); }
  /* One column: the today scene's dust follows close behind this scene, so the orbs are formed with
     the figures in the middle of the window and let go at once, over the rest of the scene. */
  .s-proof__key--orbs { inset-block-start: 50%; }
  .s-proof__key--orbs-hold { inset-block-start: calc(50% + 4svh); }
}

/* --------------------------------------------------------------------------
   3  The badge row in the security scene: under the rows, shown with them once
   the vault has formed (the same weight as the rows and links).
   -------------------------------------------------------------------------- */
.trust-sec__badges { gap: var(--sp-2); }
/* Phones: the CREST badge's longer words ("CREST-accredited / penetration testing", the founder,
   19 November 2026, page comment 11) leave more badges alone on a row, so each badge stretches to
   fill its row and every row ends on the same right edge. */
@media (max-width: 37.49em) { .trust-sec__badges > .proof-badge { flex: 1 1 auto; } }
html.flow-live .trust-sec__badges { opacity: clamp(0, calc((var(--w, 1) - .86) / .14), 1); }
@media print { .trust-sec__badges { opacity: 1 !important; } }

/* ---- scene-story.css ---- */
/* ==========================================================================
   Scenes: today and record (both on paper). The fragments-to-record moment.

   Three states, designed in this order:
     A  Plain      no script, static mode, reduced motion, or narrower than 900px:
                   an ordinary stack. Today: the headline, the places as a ruled
                   list, the cost line. Record: the two-line heading, the staff
                   record, the captions.
     B  Unpinned   the thread is drawn but the scenes are not pinned (phones, very
        thread     short windows, reduced-motion stills): the same stack, plus a box
                   where the clusters are drawn (#today-dock); they then gather onto
                   the record as it scrolls in. js/scene-story.js places the markers.
     C  Pinned     the thread is live and the scenes are pinned: the choreography.

   C is paced for reading, and the words lead: in each beat the words arrive
   and are read before the sculpture changes (founder, 26 October 2026: the
   clusters used to form before the headline). Each block of words is whole and
   still for more than half a window of scroll before anything else changes,
   and one block has gone before the next begins. js/scene-story.js works out
   where the reader is in each pin and writes opacity and transform on the few
   elements that change (and nothing at all while a beat is being held). It
   does not read --pin-p: that property is written on the whole scene every
   frame by ui.js, and here it is stopped at the scene's children so that write
   restyles four elements, not the whole scene.

   The beats, in svh of pinned scroll at the standard pace (the track, and so
   every number below, stretches with --pace). Negative numbers are before the
   stage locks, while it is still rising into the window.

     today (286)   -52 to -21  as the hero leaves, the swarm lets go into thin, pale
                               dust across the window (today-calm)
                   -30 to -16  the headline arrives while the stage is still rising
                               (design pass: no window of empty paper after the hero)
                   -16 to 38   the headline and its support, alone and still
                   38 to 178   the seven clusters gather round it one at a time,
                               in reading order, each with its name under it
                               (20 apart); the headline stays where it is
                   178 to 188  the headline among all seven, held
                   188 to 198  it leaves
                   199 to 210  the cost line arrives
                   210 to 272  cost line and its support, held
                   272 to 283  it leaves; the clusters stay
     record (346)  2 to 12     "One record for each person." arrives in the clear
                               middle of the clusters
                   12 to 28    held there, among the seven and their names
                   28 to 38    the names of the seven places leave
                   40 to 188   the gather: the clusters lose their heat and fly
                               together into the slab, across a window and a half
                               of scroll (the moment the page is built round)
                   64 to 72    the line fades where it stands, before the thick
                               of the cloud reaches the middle of the window
                   150 to 160  it comes back in its place as the first line of
                               the heading, once the cloud has left the top of
                               the window: no dot is ever behind it
                   161 to 172  "Pyrexia does the chasing." rises under it: the
                               heading is whole before the slab is
                   188 to 212  the slab stands formed, tilted, a sculpture
                   212 to 253  it squares up and the real record fades in
                   254 to 272  the rows resolve, one after another: the eight
                               sections, then the list of requirements
                   272 to 286  the record and its heading, held
                   286 to 294  the two notes arrive together, one each side
                   294 to 346  everything held

   (Pacing pass, 13 November 2026: today was 516 and the record 394. The holds
   on one sentence were cut, and the gather into the record, which had 68, has
   148 and a held, tilted slab after it.)

   Nothing is painted behind any words in these two scenes (founder, 13
   November 2026: no patch, halo or plate). The words are kept clear by where
   things are: the headline arrives on thin dust, the clusters gather round the
   space the words stand in, and each place's name stands under its cluster.

   The same numbers are the BEATS table in js/scene-story.js: change both.

   Classes are prefixed story-. The record itself is drawn by the .aui kit
   (css/app-ui.css): the .story-rec rules only fit it to the scene.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Shared
   -------------------------------------------------------------------------- */
/* Nothing in these two scenes reads --pin-p, so both carry data-pin-p="off" and ui.js does not
   write it on them at all. Should the attribute ever be dropped, the property still stops here:
   the scene's children set it back to "not set" and nothing below them is restyled. */
html.flow-js .story-today > *,
html.flow-js .story-record > * { --pin-p: initial; }

/* Keyframe markers while pinned: --at is the scroll, in svh at the standard pace, from the moment
   the scene's stage locks to the moment the shape is fully formed (flow.css, section 4; it scales
   with --pace). The engine holds a shape for the first and last quarter of the gap between two
   markers and morphs in between, unless a marker asks otherwise (data-flow-hold).
     today   pins for 286 (--pin-len: 386)
     record  starts one window early (see C), so it locks exactly when today lets go, and pins
             for 346 (--pin-len: 446). today-hold is in the today scene but is reached 30 into
             the record's pin. */
.story-key--calm { --at: -12; }         /* from the hero's marker the gap is 88, and data-flow-hold="0.55 0.1": the swarm stays on the
                                           hero's box for the first 48, until the hero's words have gone up under the nav (it let
                                           go at 35, across the paragraph and the two buttons), and is thin dust by -21 */
.story-key--calm-hold { --at: 38; }     /* the dust is held (same shape, nothing morphs) while the headline arrives and is read alone */
.story-key--scatter { --at: 190; }      /* data-flow-hold="0 0.08": the gather runs from 38 to 178, one cluster after another
                                           (data-flow-stagger), and the seven are held from there */
.story-key--hold { --at: 316; }         /* 30 into the record's pin (286 + 30). The gap to the slab is 240 and the slab's
                                           data-flow-hold is "0.04 0.34": the gather starts at 40, once the names of the places
                                           have gone, and has 148 of scroll to play in */
.story-key--slab { --at: 270; }         /* the slab is formed at 188, stands tilted until 212, and has squared up and handed over
                                           to the real record by 253 */
.story-key--rest { --at: 344; }         /* the record holds until its stage lets go; the particles then lift off it and stream down
                                           towards the platform arc while the record leaves the top of the window */

/* Where a link to a scene lands (ui.js: data-scene-anchor). Plain: the top of the content.
   Pinned (see C): a finished beat, not the empty start of the pin. */
.story-land { position: absolute; inset-inline-start: 0; top: var(--scene-pad); width: 1px; height: 1px; pointer-events: none; visibility: hidden; }

/* --------------------------------------------------------------------------
   A  Today, plain
   -------------------------------------------------------------------------- */
.story-today__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-7) var(--col-gap);
}
.story-beat {
  display: grid;
  gap: var(--sp-5);
  justify-items: start;
  align-content: start;
  min-width: 0;
}
.story-today__h { max-width: 13em; }
/* A narrow phone: the supporting size, so "One member of staff." holds one line. */
@media (max-width: 25em) { .story-today__h { font-size: var(--fz-h-md); } }
.story-today__cost { font-size: var(--fz-h-md); line-height: 1.05; letter-spacing: -0.03em; max-width: 9em; }

.story-today__dock { display: none; }

/* The seven places, names only: two columns of ruled rows (one column under 22.5em). */
.story-places { min-width: 0; }
.story-places__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--col-gap); }
.story-place { border-block-start: 1px solid var(--hair); }
.story-place__tag { display: block; padding-block: 0.875rem; }
.story-place__name { font-size: var(--fz-body); line-height: 1.25; letter-spacing: -0.01em; color: var(--fg); text-wrap: balance; }
@media (max-width: 22.49em) {
  .story-places__list { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 56.25em) {
  .story-today__in { grid-template-columns: repeat(12, minmax(0, 1fr)); row-gap: var(--sp-9); }
  .story-beat--1, .story-today__dock { grid-column: 1 / -1; }
  .story-places { grid-column: 1 / span 7; }
  .story-beat--2 { grid-column: 9 / -1; align-self: end; padding-block-end: var(--sp-3); }
}

/* --------------------------------------------------------------------------
   A  Record, plain
   -------------------------------------------------------------------------- */
.story-record__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-6) var(--col-gap);
}
.story-record__head { display: grid; gap: var(--sp-5); justify-items: start; min-width: 0; }
.story-record__l1, .story-record__l2, .story-record__l1-in, .story-record__l2-in { display: block; }
.story-record__fig { width: min(100%, 37.5rem); margin-block-start: var(--sp-3); }
.story-notes { display: grid; gap: 0; max-width: 34rem; min-width: 0; align-content: start; }
.story-note { padding-block: 1rem; border-block-start: 1px solid var(--hair); font-size: var(--fz-body); line-height: 1.5; color: var(--fg); text-wrap: pretty; }
.story-note:last-child { border-block-end: 1px solid var(--hair); }
@media (min-width: 56.25em) {
  .story-record__in { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .story-record__head { grid-column: 1 / -1; }
  .story-record__fig { grid-column: 1 / span 7; }
  .story-notes { grid-column: 9 / -1; align-self: end; padding-block-end: 1.875rem; }
}

/* The staff record: Hannah Adeyemi's staff passport as her practice sees it, the organisation's
   passport lens of the committed app, built from the .aui kit (css/app-ui.css; APP-UI.md 5.16).
   Only the fitting is here: the kit draws every part. --story-rec-fz is the app's 12px base
   (everything in the mock is sized from it), set per layout below and in C.
     - The site's frame is the lens's edge: the lens gives up its own ring and corners.
     - The requirement list (the lens's second column) takes the rest of the width and is cut off
       at the foot of the sections column, as a list that scrolls is in a screenshot. Its rows fade
       out over the last stretch above the frame's edge, so a row the edge cuts through reads as
       the list carrying on, not as a slip in the drawing. The mask is on the rows' list, which is
       sized to what is left of the column: the column itself would lose its dividing line to it.
     - On a narrow frame (the kit stacks the lens's columns under 44em) the record is what the app
       shows on a phone: the header, then the passport's sections alone. */
.aui.story-rec { font-size: var(--story-rec-fz, 0.75rem); }
.story-rec .story-rec__lens { border-radius: 0; box-shadow: none; }
.story-rec .story-rec__list { flex: 1 1 0; contain: size; overflow: hidden; }
.story-rec .story-rec__list > .aui-reqs {
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 3em), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 3em), transparent);
}
/* The header: the avatar, the name and the actions on the first line; the role, phone and
   reminders under the name. The app keeps them in the name's column; here they are their own line,
   set in under the name, so they wrap across the width of the frame rather than of the column. */
.story-rec .story-rec__head { row-gap: calc(4em / 12); }
.story-rec .story-rec__actions { order: 1; }
.story-rec .story-rec__close { order: 2; }
.story-rec .story-rec__meta { order: 3; flex: 1 0 100%; padding-inline-start: calc(44em / 12); }
.story-rec .story-rec__role { font-weight: 400; }
/* Wide, the actions share the first line with the name: the date control gives its room to the email address. */
@container aui-lens not (max-width: 44em) {
  .story-rec .story-rec__today { display: none; }
}
@container aui-lens (max-width: 44em) {
  .story-rec .story-rec__list,
  .story-rec .story-rec__sections > .aui-colhead { display: none; }
  .story-rec .story-rec__close { order: 0; }
  .story-rec .story-rec__meta { order: 1; padding-inline-start: 0; }
  .story-rec .story-rec__actions { order: 2; }
}

/* --------------------------------------------------------------------------
   B  Unpinned, thread live or showing stills: give the clusters a box
   -------------------------------------------------------------------------- */
html:is(.flow-live, .flow-still) .story-today__dock {
  display: block;
  position: relative;
  height: clamp(20rem, 62svh, 30rem);
  margin-block: calc(var(--sp-5) * -1);
}
/* Not pinned: the places stay a list. The engine still writes a transform on each
   anchored item, and flow.css fixes them to the viewport, so both are undone here
   (this query is the exact opposite of the one that opens C). */
@media not screen and (min-width: 56.25em) and (min-height: 37.5em) and (prefers-reduced-motion: no-preference) {
  html.flow-live .story-place {
    position: static;
    transform: none !important;
    will-change: auto;
  }
}

/* --------------------------------------------------------------------------
   C  Pinned, thread live: the choreography
   The same conditions as the pin itself (flow.css, section 4), and the scene
   script running (html.story-on: it sets the class as it starts).
   -------------------------------------------------------------------------- */
@media screen and (min-width: 56.25em) and (min-height: 37.5em) and (prefers-reduced-motion: no-preference) {

  /* If the scene script never arrives, nothing would bring the beats in and out: the two scenes
     then do not pin at all and read as the ordinary stack of A, with the places as a list. */
  html.flow-js:not(.flow-static):not(.story-on) :is(.story-today, .story-record).scene--pin { padding-block: var(--scene-pad); }
  html.flow-js:not(.flow-static):not(.story-on) :is(.story-today, .story-record).scene--pin > .scene__track { height: auto; }
  html.flow-js:not(.flow-static):not(.story-on) :is(.story-today, .story-record).scene--pin > .scene__track > .scene__stage {
    position: static;
    display: block;
    height: auto;
    padding-block: 0;
    overflow: visible;
  }
  html.flow-live:not(.story-on) .story-place { position: static; transform: none !important; will-change: auto; }
  /* The markers then go by their scene's height, not by a pin that is not there: the calm swarm,
     then the clusters on their box, the slab on the record as it reaches the middle of the window. */
  html.flow-js:not(.flow-static):not(.story-on) .story-key--calm { inset-block-start: 6%; }
  html.flow-js:not(.flow-static):not(.story-on) .story-key--calm-hold { inset-block-start: 18%; }
  html.flow-js:not(.flow-static):not(.story-on) .story-key--scatter { inset-block-start: 34%; }
  html.flow-js:not(.flow-static):not(.story-on) .story-key--hold { inset-block-start: 62%; }
  html.flow-js:not(.flow-static):not(.story-on) .story-key--slab { inset-block-start: 56%; }
  html.flow-js:not(.flow-static):not(.story-on) .story-key--rest { inset-block-start: 96%; }

  /* Both stages are the whole viewport, so "the middle" is the middle of the window. */
  html.flow-live.story-on .story-today.scene--pin > .scene__track > .scene__stage,
  html.flow-live.story-on .story-record.scene--pin > .scene__track > .scene__stage {
    align-content: stretch;
    padding-block: 0;
  }
  /* The clusters' box has no size of its own, so they fit the window and stay there. */
  html.flow-live.story-on .story-today__dock { display: none; }

  /* ----- today ----------------------------------------------------------- */
  /* A link to the scene lands on the headline, read alone on clean paper (26 into the pin): the
     clusters then gather as the reader goes on. */
  html.flow-live.story-on .story-land--today { top: calc(26svh * var(--pace) + var(--nav-clear)); }

  html.flow-live.story-on .story-today__in {
    display: grid;
    grid-template: minmax(0, 1fr) / minmax(0, 1fr);
    place-items: center;
    gap: 0;
    height: 100%;
  }
  /* The seven clusters leave a clear space in the middle of the window, about 56% of its width
     and 27% of its height, a little below the middle (the ring at the top right hangs lowest,
     with its name under it). Both blocks of words are set to fit it, one at a time, and nothing is
     painted behind them: the space is theirs. Each is hidden until the script brings it in. */
  html.flow-live.story-on .story-beat {
    grid-area: 1 / 1;
    position: relative;
    width: min(55vw, 56rem);
    margin-block-start: 7svh;
    padding: 0;
    justify-items: center;
    gap: clamp(0.75rem, 2.2svh, 1.25rem);
    text-align: center;
    opacity: 0;
    will-change: opacity, transform;
  }
  /* The page's headline size, capped so that three lines and the line under them fit the clear
     space: by the window's height and, because the space is a share of the width, by its width. */
  html.flow-live.story-on .story-today__h,
  html.flow-live.story-on .story-today__cost {
    max-width: none;
    font-size: min(var(--fz-statement), 4.1vw);
    line-height: 1.04;
    letter-spacing: -0.035em;
  }
  html.flow-live.story-on .story-today__body { max-width: min(100%, 42rem); font-size: var(--fz-body); line-height: 1.4; text-wrap: balance; }
  html.flow-live.story-on .story-beat--2 { align-self: center; }

  /* The places ride on their clusters. */
  html.flow-live.story-on .story-places { position: absolute; inset-block-start: 0; inset-inline-start: 0; width: 0; height: 0; display: block; }
  html.flow-live.story-on .story-places__list { display: block; border: 0; }
  html.flow-live.story-on .story-place { border: 0; pointer-events: none; }     /* fixed and moved by the engine (flow.css, section 14) */
  /* Each name is plain text under its cluster, on clean paper: no card, no plate. --w is how formed
     the cluster is: a name arrives over the last stretch of the morph, when its cluster has all
     but formed, and is whole just before the stage locks. As the scatter dissolves, each name
     fades and is drawn a little way towards the middle of the window, where the record forms.
     --fx and --fy are the cluster's place in the window (shapes.js: SCATTER_WIDE); --oy drops the
     name below its cluster's centre, in svh (a cluster is about 26svh across), and --ox moves it
     sideways, in vw. */
  html.flow-live.story-on .story-place__tag {
    --gone: calc(1 - var(--w, 1));
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    display: block;
    width: max-content;
    padding: 0;
    text-align: center;
    opacity: clamp(0, calc((var(--w, 1) - .82) / .16), 1);   /* only once the cluster is all but formed */
    transform: translate3d(
      calc(-50% + var(--ox, 0) * 1vw + (.5 - var(--fx, .5)) * 100vw * var(--gone) * .42),
      calc(-50% + var(--oy, 14.5) * 1svh + (.5 - var(--fy, .5)) * 100svh * var(--gone) * .42),
      0);
  }
  html.flow-live.story-on .story-place__name {
    font-size: var(--fz-small);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.005em;
    white-space: nowrap;
    color: var(--fg);
  }
  /* The burst's rays and the soft blob reach further down than the others. */
  /* Every name stands 16px or more clear of its cluster's spray and of the words in the middle (design
     pass, 13 November 2026): the paper file's name stands over its ring, away from the headline below
     it; the inbox's and the memory's sit a little lower than they did. */
  html.flow-live.story-on .story-place:nth-child(2) { --oy: 16; }
  html.flow-live.story-on .story-place:nth-child(3) { --oy: -12.5; }
  html.flow-live.story-on .story-place:nth-child(5) { --oy: 17.5; }
  html.flow-live.story-on .story-place:nth-child(7) { --oy: 18.5; }

  /* ----- record ---------------------------------------------------------- */
  /* The record stage locks at the moment the today stage lets go: no scroll is spent
     watching one stage leave and the next arrive. Everything in it is hidden until then. */
  html.flow-live.story-on .story-record {
    --story-rec-w: clamp(25rem, 53vw, 50rem);     /* 763px at 1440: the payoff is read at a size (design pass) */
    --story-gap: clamp(1.25rem, 2.8vw, 2.75rem);
    --story-rec-fz: clamp(0.625rem, 0.25rem + 1.12svh, 0.875rem);   /* the app's 12px base: 14px in a 900px window, 11px at 650 */
    margin-block-start: -100svh;
  }
  /* A link to the scene lands on the finished record and its heading, before the two notes (276 into the pin). */
  html.flow-live.story-on .story-land--record { top: calc(276svh * var(--pace) + var(--nav-clear)); }

  html.flow-live.story-on .story-record__in {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--story-rec-w) minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: var(--story-gap);
    row-gap: clamp(1.125rem, 4.2svh, 2.75rem);
    height: 100%;
    padding-block: var(--nav-clear) var(--sp-6);
  }

  /* The heading is two lines over the record, centred: the answer in full ink, what it means in
     the quiet tone (the page's convention). It is the page's headline size, capped by the window's height (two lines and the
     record share it) and by the column, so the first line always ends inside it. */
  html.flow-live.story-on .story-record__head { position: relative; z-index: 1; grid-column: 1 / -1; grid-row: 1; justify-items: center; gap: 0; text-align: center; }
  html.flow-live.story-on .story-record__h {
    --story-col: min(100vw - 2 * max(var(--pad-x), var(--note-w)), var(--max-w));
    font-size: min(var(--fz-statement), var(--story-col) / 13.6);
    line-height: 1.04;
    white-space: nowrap;
  }
  html.flow-live.story-on .story-record__l1,
  html.flow-live.story-on .story-record__l2 { display: block; clip-path: inset(-0.12em -1em -0.22em -1em); }
  /* "One record for each person." first stands in the clear space in the middle of the clusters, a
     little smaller there so that it fits between them; it fades there as they let go and comes
     back in its place as the first line of the heading once the cloud has left the top of the
     window (js/scene-story.js measures the distance and the fit and writes the transform on this
     one element). The script
     brings the inner spans in: both start out of sight. */
  html.flow-live.story-on .story-record__l1 { width: max-content; margin-inline: auto; clip-path: none; will-change: transform; }
  html.flow-live.story-on .story-record__l1-in { opacity: 0; will-change: opacity, transform; }
  html.flow-live.story-on .story-record__l2-in { transform: translate3d(0, 125%, 0); will-change: transform; }
  html.flow-live.story-on .story-record__note { opacity: 0; }

  /* The record, in the middle. The frame's own arrival is .flow-handoff (flow.css). */
  html.flow-live.story-on .story-record__fig { grid-column: 2; grid-row: 2; width: auto; margin: 0; }
  html.flow-live.story-on .story-record__cap { opacity: clamp(0, calc((var(--w, 1) - .8) / .2), 1); }
  /* Just after the record lands its rows resolve one after another. In the sections column the
     percentage arrives where the app's muted dash for "nothing yet" stood; in the requirement list
     the dot turns from grey to green and the word arrives. Glyph and word together, as everywhere.
     The script sets .is-on on each row as the reader reaches it (and takes it off on the way back
     up); the change itself is a short transition, and none at all on a still. */
  html.flow-live.story-on .story-record .story-rec__row { position: relative; }
  html.flow-live.story-on .story-record .aui-secrow.story-rec__row::after {
    content: "";
    position: absolute;
    inset-block-start: 50%;
    inset-inline-end: calc(12em / 12);
    width: calc(9em / 12);
    height: 1px;
    background: var(--aui-muted-fg);
    transition: opacity 160ms ease;
  }
  html.flow-live.story-on .story-record .story-rec__row .aui-dot { background: var(--aui-border); transition: background-color 200ms ease; }
  html.flow-live.story-on .story-record .story-rec__status { opacity: 0; transform: translate3d(0, 0.25rem, 0); transition: opacity 180ms ease, transform 260ms var(--ease-expo); }
  html.flow-live.story-on .story-record .story-rec__row.is-on::after { opacity: 0; }
  html.flow-live.story-on .story-record .story-rec__row.is-on .aui-dot--success { background: var(--aui-success); }
  html.flow-live.story-on .story-record .story-rec__row.is-on .story-rec__status { opacity: 1; transform: none; }
  html.flow-live.story-on .story-record .story-rec__rows.is-still :is(.aui-dot, .story-rec__status),
  html.flow-live.story-on .story-record .story-rec__rows.is-still .story-rec__row::after { transition: none; }

  /* The two notes, one each side of the record, level with its upper rows, in the text colour:
     notes, not footnotes. They arrive together and stay. The script writes opacity and transform
     on each (not a custom property: one of those costs the collector seventy times as much). */
  html.flow-live.story-on .story-notes {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--story-rec-w) minmax(0, 1fr);
    grid-template-rows: minmax(0, 34fr) auto minmax(0, 66fr);
    column-gap: var(--story-gap);
    align-self: stretch;
    justify-self: stretch;
    max-width: none;
    padding: 0;
    pointer-events: none;
  }
  html.flow-live.story-on .story-note {
    position: relative;
    max-width: 17rem;
    padding: 0;
    border: 0;
    font-size: var(--fz-body);
    line-height: 1.4;
    color: var(--fg);
    opacity: 0;
    will-change: opacity, transform;
  }
  html.flow-live.story-on .story-note:last-child { border: 0; }
  html.flow-live.story-on .story-note--1 { grid-column: 1; grid-row: 2; justify-self: end; text-align: end; }
  html.flow-live.story-on .story-note--2 { grid-column: 3; grid-row: 2; justify-self: start; }
  /* A hairline from each caption to the edge of the record, ending in a dot. */
  html.flow-live.story-on .story-note::before,
  html.flow-live.story-on .story-note::after {
    content: "";
    position: absolute;
    inset-block-start: 0.725em;
  }
  html.flow-live.story-on .story-note::before {
    inset-inline-start: calc(100% + 0.625rem);
    width: calc(var(--story-gap) - 0.625rem - 3px);
    height: 1px;
    background: var(--hair-2);
  }
  html.flow-live.story-on .story-note::after {
    inset-inline-start: calc(100% + var(--story-gap) - 3px);
    width: 5px;
    height: 5px;
    margin-block-start: -2px;
    border-radius: 50%;
    background: var(--mark);
  }
  html.flow-live.story-on .story-note--2::before { inset-inline: auto calc(100% + 0.625rem); }
  html.flow-live.story-on .story-note--2::after { inset-inline: auto calc(100% + var(--story-gap) - 2px); }
}

/* Pinned, on a large window: the record grows with it. */
@media screen and (min-width: 100em) and (min-height: 56.25em) and (prefers-reduced-motion: no-preference) {
  html.flow-live.story-on .story-record { --story-rec-w: clamp(50rem, 50vw, 60rem); --story-rec-fz: clamp(0.875rem, 1.5svh, 1rem); }
}

/* Pinned, on a short window: the captions tighten, the record's section rows close up a little
   (34px for the app's 38) and a narrow record (sections only) gives up its row of buttons. */
@media screen and (min-width: 56.25em) and (min-height: 37.5em) and (max-height: 45em) and (prefers-reduced-motion: no-preference) {
  html.flow-live.story-on .story-record__in { padding-block-end: var(--sp-4); }
  html.flow-live.story-on .story-record .aui-secrow { min-height: calc(34em / 12); padding-block: calc(6em / 12); }
  @container aui-lens (max-width: 44em) {
    html.flow-live.story-on .story-record .story-rec__actions { display: none; }
  }
}

/* Pinned, on a window taller than it is wide: the clusters run down two columns
   (shapes.js: SCATTER_TALL), so the cards are pulled towards the middle from there. */
@media screen and (min-width: 56.25em) and (min-height: 37.5em) and (max-aspect-ratio: 85 / 100) and (prefers-reduced-motion: no-preference) {
  html.flow-live.story-on .story-place:nth-child(1) { --fx: .27 !important; --fy: .10 !important; }
  html.flow-live.story-on .story-place:nth-child(2) { --fx: .73 !important; --fy: .20 !important; }
  html.flow-live.story-on .story-place:nth-child(3) { --fx: .29 !important; --fy: .34 !important; }
  html.flow-live.story-on .story-place:nth-child(4) { --fx: .72 !important; --fy: .47 !important; }
  html.flow-live.story-on .story-place:nth-child(5) { --fx: .28 !important; --fy: .62 !important; }
  html.flow-live.story-on .story-place:nth-child(6) { --fx: .72 !important; --fy: .75 !important; }
  html.flow-live.story-on .story-place:nth-child(7) { --fx: .36 !important; --fy: .90 !important; }
}

/* Printing from a pinned window: whatever the script had faded out is put back. */
@media print {
  .story-beat, .story-record__l1, .story-record__l1-in, .story-record__l2-in, .story-record__note, .story-note, .story-places__list {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---- scene-trust.css ---- */
/* ==========================================================================
   Scenes: results, security, start. All three on paper, like the whole page.
   Builder "trust". Classes are prefixed trust-.
   Page order since 13 November 2026 (the founder: proof before risk): results, then security,
   then start. The sections of this file are still security, results, start.

     results   small headline, enormous numerals: three before and after figures, one voice
     security  a ruled register on the left that opens on an ink rule, the vault docked on the right
     start     how you start (three steps on a hairline), the founders (two ruled rows),
               the questions (details accordion)

   Nothing stands above a headline. Each headline block carries the optional margin note
   (<p class="flow-note">, shown only with the "Margin note" option; flow.css and ui.js place it).
   Small keys and captions are the text face in sentence case; mono is kept for one code (B0D1Q).

   Pace. These are ordinary scrolling scenes. On a wide window each compact block (the security
   register, the results headline, the quotation, how you start, the founders) is held in view
   for a stretch with flow.css's .flow-hold, and the three figures are given room by padding.
   Every such length is a multiple of --pace: --hold is svh of scroll at the standard pace, set
   here on the block's own class (not inline), with --hold-top, the line the block sticks at.
   The questions are not held: their heading stays beside the list (sticky) and the list is the
   reader's to open. Below 900px wide nothing is held. The keyframes that belong to a held block
   are placed from the same two numbers, so the thread keeps step at every pace.

   The finished state is the markup. Start states exist only under html.ui-motion
   (set by the head script when reveals may play) and hang off the .is-in class
   that ui.js gives a [data-rise-group] when it comes into view.
   ========================================================================== */

.trust-sec,
.trust-res,
.trust-start {
  /* the page gutter as a length: how far a dock may bleed towards the edge */
  --trust-gut: max(var(--pad-x), var(--rail-w), var(--note-w), (100vw - var(--max-w)) / 2);
  /* ruled rows: one step firmer than the decorative hairline, still far from a border */
  --trust-rule: var(--hair);
  --trust-line: var(--hair-2);
}
@supports (color: color-mix(in srgb, red 50%, blue)) {
  .trust-sec,
  .trust-res,
  .trust-start { --trust-rule: color-mix(in srgb, var(--fg) 20%, transparent); }
}

/* Nothing is painted behind text in these scenes (founder, 13 November 2026): the shared
   .flow-safe patch is retired (flow.css, section 5). These lines keep the layer of their own they
   had beside a patch; some are the positioning parent of something drawn inside them. */
.trust-res__title,
.trust-fig__runs,
.trust-voice__q,
.trust-person__name,
.trust-faq__list .flow-acc__item > summary { position: relative; z-index: 1; }
/* Only dust lies behind the results, and the security rows wait for the vault. */

/* A held block that does not fit in the window where it would stick is not held (set by
   js/scene-trust.js): it is ordinary flow, and its hold adds no length. */
html.flow-js:not(.flow-static) .flow-hold.is-loose > .flow-hold__pin { position: static; }
html.flow-js:not(.flow-static) .flow-hold.is-loose::after { display: none; }

/* A hold is the positioning parent of the keyframes that go with it. */
.trust-sec__hold,
.trust-res__hold,
.trust-voice__hold,
.trust-how__hold,
.trust-found__hold { position: relative; }

/* ==========================================================================
   security
   One column: the headline, the vault, the rows, the links.
   Wide: the headline, the rows and the links are one held block on the left,
   the vault is sticky on the right, and nothing follows the block.
   ========================================================================== */
.trust-sec__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 6svh, 3.5rem) var(--col-gap);
}
/* One column: the two wrappers of the held block step aside, so the headline and the facts are
   items of the scene's own grid and the vault can stand between them. */
.trust-sec__hold,
.trust-sec__pin { display: contents; }
.trust-sec__head { order: -2; min-width: 0; }
.trust-sec__facts { display: grid; gap: var(--sp-5); align-content: start; min-width: 0; }
.trust-sec__rows { min-width: 0; }

/* The register: one plain line each, no key (the founder, 19 November 2026). It opens on an ink rule.
   .trust-spec (a key and a sentence) stays for any list that still has keys. */
.trust-spec,
.trust-lines { --hair: var(--trust-rule); }
.trust-spec > div { padding-block: clamp(0.75rem, 1.9svh, 1.125rem); }
.trust-lines > li {
  padding-block: clamp(0.75rem, 1.9svh, 1.125rem);
  font-size: var(--fz-body);
  line-height: 1.45;
}
.trust-sec__rows > :first-child { border-block-start-color: var(--fg); }
.trust-spec dt { justify-self: start; }
.trust-spec dd {
  display: grid;
  justify-items: start;
  gap: 0.125rem;
  font-size: var(--fz-body);
  line-height: 1.45;
  text-wrap: pretty;
}
.trust-spec dd p,
.trust-lines > li > p { max-width: 32rem; text-wrap: pretty; }
.trust-spec__link { font-size: var(--fz-small); }
@media (min-width: 37.5em) {
  .trust-spec > div { grid-template-columns: 9.5rem minmax(0, 1fr); }
}
@media (min-width: 56.25em) {
  /* a working scene: the headline is the second size and the lines are set a step larger */
  .trust-spec dd,
  .trust-lines > li { font-size: var(--fz-lede); line-height: 1.36; letter-spacing: -0.015em; }
}

.trust-sec__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--sp-6);
  font-size: var(--fz-small);
}
/* Words first, and no particle across a fact: with the thread live, the rows and their links are
   not shown until the vault has drawn together in its dock (--w is how formed it is, written by
   the engine on these two elements only: data-flow-weight in the markup). The headline has
   arrived before the gather starts (the marker's data-flow-wait), the dust then crosses an empty
   column, and the facts come in on clean paper. Without the thread they are simply there. */
html.flow-live .trust-sec__rows,
html.flow-live .trust-sec__links { opacity: clamp(0, calc((var(--w, 1) - .86) / .14), 1); }
@media print { .trust-sec__rows, .trust-sec__links { opacity: 1 !important; } }

/* The vault's dock. In one column it sits between the headline and the rows. */
.trust-sec__rig { position: relative; order: -1; min-width: 0; }
.trust-sec__dock {
  position: relative;
  width: min(78vw, 21rem);
  aspect-ratio: 1;
  margin-inline: auto;
}
/* The still that stands in for the thread: shells in ink and deep violet round an ink core. */
.trust-sec__still {
  position: absolute;
  inset: 5%;
  width: 90%;
  height: 90%;
  color: var(--fg);
  transition: opacity 600ms ease;
}
.trust-sec__still-mid { color: var(--c-violet-deep); }
.trust-sec__still-in { color: var(--c-violet); }
html:is(.flow-live, .flow-still) .trust-sec__still { opacity: 0; }          /* the thread draws the vault */

/* The second keyframe of the held run. One column: the foot of the scene, so the vault is held
   (out of sight, above) while the rows are read. */
.trust-sec__keep { inset-block: auto 0; }

@media (min-width: 56.25em) {
  .trust-sec {
    /* the vault's size: it has to fit the height of the screen to hold in it */
    --trust-vault: min(38vw, 74svh, 36rem);
    /* It leans a little into the gutter on the right, and no further: the whole sphere stays in
       the window, clear of the chapter rail (it used to be cut by the window's edge). */
    --trust-bleed: calc(0.2 * var(--trust-gut));
    /* where the dock sticks: the sculpture is centred a little below the middle of the window */
    --trust-vault-top: calc(50svh - var(--trust-vault) / 2 + 1.25rem);
    /* where the held block sticks: about centred in a tall window, under the nav in a short one */
    --hold-top: max(var(--nav-clear), calc(50svh - 21rem));
  }
  /* With the margin-note option the column is narrower and starts further right, so the headline's
     second line would reach the sphere: the sphere is a little smaller and keeps to the right. */
  html[data-opt-labels="margin"] .trust-sec { --trust-vault: min(35.5vw, 74svh, 34rem); --trust-bleed: calc(0.42 * var(--trust-gut)); }
  .trust-sec__in { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; row-gap: clamp(1.5rem, 4svh, 2.5rem); }

  /* The held block: headline, rows and links. 60svh of scroll at the standard pace (multiplied by
     --pace in flow.css) while it stays in place; with the stretch it is in view on its way in and
     out, the whole block is legible for about four fifths of a window. */
  .trust-sec__hold { display: block; grid-column: 1 / span 7; grid-row: 1; --hold: 60; }
  .trust-sec__pin { display: grid; gap: clamp(1.5rem, 5svh, 3rem); }
  .trust-sec__facts { gap: clamp(0.75rem, 2.2svh, 1.25rem); }
  /* The headline may run one column further than the rows, so each of its two lines stays whole:
     it passes above the sphere's shoulder, where the dock's box is empty. */
  .trust-sec__head { order: 0; margin-inline-end: calc((100% + var(--col-gap)) / -7); }

  .trust-sec__rig { order: 0; grid-column: 8 / -1; grid-row: 1; align-self: stretch; }
  /* The sculpture holds in the window while the block is held, to the foot of the scene.
     It is wider than its five columns: it leans into the gutter on the right. */
  .trust-sec__dock {
    position: sticky;
    inset-block-start: var(--trust-vault-top);
    width: var(--trust-vault);
    margin-inline: calc(100% - var(--trust-vault) + var(--trust-bleed)) 0;
  }
  /* The held run. First keyframe: formed as the block locks (the rig's top is then on the line
     the block sticks at, and a keyframe is formed when it crosses the middle of the window).
     Second: the middle of the dock where it lets go at the foot of the rig. Both follow the
     layout, so they move with the pace by themselves. */
  .trust-sec__key { inset-block-start: calc(50svh - var(--hold-top)); }
  .trust-sec__keep { inset-block-end: calc(var(--trust-vault) / 2 + 1.25rem); }
}
/* A window too short for the block to be held whole: no hold. js/scene-trust.js measures every
   held block of these scenes against the window and marks the ones that do not fit (.is-loose),
   whatever the width, the margin option or the reader's text size; the query below is only the
   plain case, for the moment before the script has run. */
@media (min-width: 56.25em) and (max-height: 43.74em), (min-width: 56.25em) and (max-width: 63.99em) and (max-height: 52.49em) {
  html.flow-js:not(.flow-static) .trust-sec .trust-sec__hold > .flow-hold__pin { position: static; }
  html.flow-js:not(.flow-static) .trust-sec .trust-sec__hold::after { display: none; }
}

/* ==========================================================================
   results
   ========================================================================== */
.trust-res {
  --trust-num: var(--fz-h-md);                                 /* the figures before each run: 32 to 60, the supporting headline size */
}
.trust-res__in { display: grid; gap: clamp(1.5rem, 4svh, 2.5rem); }
.trust-res__nc { display: grid; gap: clamp(2rem, 6svh, 3.5rem); }

/* Small headline: the numbers are the display type here. */
.trust-res__hold {
  /* wide windows: the headline and its lede are held near the top for 20svh at the standard pace,
     while the first figure comes up to them (a short block's reveal takes a share of its time in
     view at a fast scroll: the hold gives that back) */
  --hold: 20;
  --hold-top: max(var(--nav-clear), 14svh);
}
.trust-res__head { display: grid; gap: var(--sp-5) var(--col-gap); }
.trust-res__title { min-width: 0; }
.trust-res__h {
  font-size: var(--fz-h-md);                                 /* 32 to 60: the shared second size (founders, questions, close) */
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.trust-figs { display: grid; border-block-end: 1px solid var(--trust-rule); }
.trust-fig {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-4) var(--col-gap);
  padding-block: clamp(1.5rem, 4svh, 2.25rem) clamp(1.75rem, 5svh, 2.75rem);
  border-block-start: 1px solid var(--trust-rule);
}
/* The task: the row's own name, in the text face. */
.trust-fig__task {
  justify-self: start;
  align-self: start;
  font-size: var(--fz-lede);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--fg);
}

/* Under the task's name, its measure: the unit both figures share ("Hours per role"). */
.trust-fig__per {
  display: block;
  margin-block-start: var(--sp-1, 0.25rem);
  font-size: var(--fz-small);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--fg-2);
}

/* The two runs (founder, 14 November 2026: the strike "probably doesn't show how much of a change in
   reduction there is"; review of 14 November: read Before first and make the cut visible). Each task
   has two rows of round dots on one scale, read top to bottom:
     Before         the whole run in ink, the before figure just before it;
     With Pyrexia   the same length: the violet stretch at its start is the time left with Pyrexia
                    (--trust-kept, the after figure over the before figure, rounded to whole dots),
                    the hollow rest is the time saved, and the after figure stands before it, in
                    violet, under the before figure;
   and under the two runs, the time saved in words, at the lede size, in violet.
   One left edge (the founder's comment of 18 November 2026 on "31 hours less": "think these needs
   to be all central or on the left aligned"): the task's name, the keys, the time saved in words
   and the basis note all start on the same edge, at every width; the figures stand in one column
   of their own, left-aligned, and the dots start on one line after them, so in all three tasks
   every row of dots starts and ends at the same place. Left, not centred: the runs are read from
   their start, where the violet is, and centred lines over rows of dots would float. A grid of
   three columns: the key, the figure, the run. The wrappers (.trust-run) only group the words for
   reading order. --trust-dr is a dot's radius and --trust-pitch the distance between dot centres. */
.trust-fig__runs {
  --trust-pitch: 0.625rem;
  --trust-dr: 0.1875rem;
  --trust-cut: calc(var(--trust-kept, 1) * 100%);
  display: grid;
  grid-template-columns: max-content calc(var(--trust-num) * 1.4) minmax(0, 1fr);   /* the keys are the same words in every task and the figures' column is one width ("6.5" and "63" fit), so the three tasks' runs start and end on one line */
  align-items: center;
  gap: var(--sp-2) var(--sp-4);
  min-width: 0;
}
@supports (width: round(nearest, 10%, 1px)) {
  .trust-fig__runs { --trust-cut: round(nearest, calc(var(--trust-kept, 1) * 100%), var(--trust-pitch)); }
}
.trust-run { display: contents; }
.trust-run__k { grid-column: 1; }
.trust-run__n { grid-column: 2; }
.trust-run > .trust-bar { grid-column: 3; }
/* the figure comes after its run in the markup (reading order), so each run's row is named */
.trust-run--was > * { grid-row: 1; }
.trust-run--now > * { grid-row: 2; }
/* "Before" and "With Pyrexia": quiet keys before each run. Text face, sentence case. */
.trust-run__k {
  font-size: var(--fz-small);
  font-weight: 500;
  line-height: 1.35;
  color: var(--fg-2);
  white-space: nowrap;
}
.trust-run__n {
  justify-self: start;
  font-size: var(--trust-num);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-variant-numeric: lining-nums proportional-nums;   /* not tabular: Satoshi's tabular "1" has a flag and a slab foot (flow.css, .flow-num) */
  white-space: nowrap;
  color: var(--fg);
}
.trust-run--now .trust-run__n { color: var(--c-violet); }   /* display size: 5.2:1 */
.trust-fig__basis {
  max-width: 34rem;
  font-size: var(--fz-small);
  line-height: 1.5;
  color: var(--fg-2);
  text-wrap: pretty;
}

/* A run: one row of round dots, drawn in CSS (repeated round gradients), so it is whole without a
   script, with motion reduced and in print. */
.trust-bar {
  position: relative;
  display: block;
  height: calc(2 * var(--trust-pitch));
}
@supports (width: round(down, 10%, 1px)) {
  .trust-bar { width: round(down, 100%, var(--trust-pitch)); }
}
.trust-bar::before,
.trust-bar__ink,
.trust-bar__now {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  background-image: radial-gradient(circle at 50% 50%, var(--trust-dot-c) 0 var(--trust-dr), transparent calc(var(--trust-dr) + 0.75px));
  background-size: var(--trust-pitch) var(--trust-pitch);
  background-repeat: repeat;
}
/* Before: the whole run in ink */
.trust-bar--was::before { --trust-dot-c: rgb(var(--c-ink-rgb) / 0.78); inset-inline-end: 0; }
/* With Pyrexia: the time saved is the hollow rest of the run, the full width, under the violet */
.trust-bar:not(.trust-bar--was)::before {
  inset-inline-end: 0;
  background-image: radial-gradient(circle at 50% 50%, transparent 0 calc(var(--trust-dr) - 1.25px), rgb(var(--c-ink-rgb) / 0.34) calc(var(--trust-dr) - 1px) var(--trust-dr), transparent calc(var(--trust-dr) + 0.75px));
}
/* the time left with Pyrexia: the dots' violet, over the hollow dots */
.trust-bar__now { --trust-dot-c: var(--c-violet); width: var(--trust-cut); background-color: var(--c-paper); }
/* only for the motion: the run arrives whole in ink before the time saved empties */
.trust-bar__ink { --trust-dot-c: rgb(var(--c-ink-rgb) / 0.78); inset-inline-end: 0; opacity: 0; background-color: var(--c-paper); clip-path: inset(0 0 0 0); }   /* a whole inset() to start from: from none, the clip below would jump, not empty */

/* The time saved, in words, under the two runs, starting where the dots start (founder's comment,
   19 November 2026: under the violet dots, not on the block's far left edge): the lede size, in
   violet text (6.6:1). */
.trust-fig__less {
  grid-column: 3 / -1;
  grid-row: 3;
  margin-block-start: var(--sp-1, 0.25rem);
  font-size: var(--fz-lede);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--c-violet-deep);
}
/* The top figure, the year in days (founder, 19 November 2026, page comment 10: "days saved per
   year. and make this the top statistic"). One family with the other two: the same runs, keys and
   numerals; only its saved line is a step larger, the section heading size (44 to 28), so "55 days
   saved a year" is the line the scene leads with. Still left-aligned under the start of the dots. */
.trust-fig--lead .trust-fig__less {
  font-size: var(--fz-section);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
/* its basis note sits a little clear of the larger line, so the two do not read as stuck together */
.trust-fig--lead .trust-fig__basis { margin-block-start: var(--sp-2); }

/* Motion (html.ui-motion only; the markup is the finished state). As the row arrives, both runs
   are whole and in ink: all the time it used to take. Then, on the With Pyrexia run, the time saved
   empties from the far end back to the cut, leaving hollow dots, and what is left turns violet; the
   figure and the words follow. About 1.6s, easing out, once. */
html.ui-motion .trust-bar__ink {
  transition: clip-path 1100ms var(--ease-expo) 450ms, opacity 500ms ease 1250ms;
}
html.ui-motion .trust-bar__now { transition: opacity 500ms ease 1150ms; }
html.ui-motion .trust-run--now .trust-run__n { transition: opacity 500ms ease 1150ms; }
html.ui-motion .trust-fig__less { transition: opacity 500ms ease 1300ms, translate 700ms var(--ease-expo) 1300ms; }
html.ui-motion .trust-fig:not(.is-in) .trust-bar__ink { opacity: 1; }
html.ui-motion .trust-fig.is-in .trust-bar__ink { clip-path: inset(0 calc(100% - var(--trust-cut)) 0 0); }
html.ui-motion .trust-fig:not(.is-in) .trust-bar__now { opacity: 0; }
html.ui-motion .trust-fig:not(.is-in) .trust-run--now .trust-run__n { opacity: 0; }
html.ui-motion .trust-fig:not(.is-in) .trust-fig__less { opacity: 0; translate: -0.5rem 0; }
html.ui-motion .trust-fig.is-quick .trust-bar__ink { transition-duration: 500ms, 300ms; transition-delay: 100ms, 500ms; }
html.ui-motion .trust-fig.is-quick :is(.trust-bar__now, .trust-run--now .trust-run__n) { transition-delay: 450ms; }
html.ui-motion .trust-fig.is-quick .trust-fig__less { transition-delay: 500ms; }
@media (forced-colors: active) {
  .trust-bar { forced-color-adjust: none; }
  .trust-bar--was::before { --trust-dot-c: CanvasText; }
  .trust-bar:not(.trust-bar--was)::before { background-image: radial-gradient(circle at 50% 50%, transparent 0 calc(var(--trust-dr) - 1.25px), GrayText calc(var(--trust-dr) - 1px) var(--trust-dr), transparent calc(var(--trust-dr) + 0.75px)); }
  .trust-bar__now { --trust-dot-c: Highlight; background-color: Canvas; }
}
@media print { .trust-bar__ink { display: none; } }

/* One voice, set large. */
.trust-voice__hold {
  margin-block-start: clamp(4rem, 16svh, 9rem);
  /* wide windows: held in the middle of the screen for 16svh at the standard pace */
  --hold: 16;
  --hold-top: max(var(--nav-clear), calc(50svh - 10rem));
}
.trust-voice {
  display: grid;
  gap: var(--sp-5) var(--col-gap);
  justify-items: start;
}
/* the space above the quotation belongs to its hold (scene-zz-director.css still names the figure) */
.trust-res .trust-voice { margin-block-start: 0; }
.trust-voice__q {
  font-size: var(--fz-h-md);                                 /* the supporting headline size: 32 to 60 */
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 19em;
}
.trust-voice__q p { text-indent: -0.42em; text-wrap: balance; }             /* the opening mark hangs */
/* The dust is held from the passport scene to where the quotation locks (or, in one column, to its
   top). After it the dust draws together into the vault of the next scene. */
.trust-res__keep { inset-block-start: calc(50svh - var(--hold-top)); }

@media (min-width: 56.25em) {
  .trust-res__head { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; }
  /* eight columns for the headline, so it stays on one line when the margin option narrows the column */
  .trust-res__title { grid-column: 1 / span 8; }
  .trust-res__lede { grid-column: 9 / -1; }

  /* Room for each figure: the row's air is a multiple of the pace (overridden below, where all
     three rows are read together). */
  /* One left edge: the name and its measure, then the two runs, then the basis, one under the
     other across the full measure (the founder's comment of 18 November 2026). */
  .trust-fig {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--sp-5);
    padding-block: calc(clamp(3rem, 12svh, 8rem) * var(--pace)) calc(clamp(3.25rem, 13svh, 8.5rem) * var(--pace));
  }
  .trust-fig__task { grid-column: 1; grid-row: 1; }
  .trust-fig__runs { grid-column: 1; grid-row: 2; --trust-pitch: 0.75rem; --trust-dr: 0.25rem; column-gap: var(--sp-5); }
  .trust-fig__basis { grid-column: 1; grid-row: 3; }

  .trust-voice { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .trust-voice__q { grid-column: 4 / -1; grid-row: 1; }
  .trust-voice__by { grid-column: 1 / span 3; grid-row: 1; margin-block-start: 1.1em; }
}
/* Wide: the three results read together (design pass, 13 November 2026). The basis line stands
   directly under the headline, nothing is held above the first rule, the numerals are a size
   smaller and the rows closer, so all three pairs (the figures and their runs) fit one 900px window
   under the nav and the rhythm 63 to 8 days a year, 35 to 4, 6.5 to 2 is seen at once; the last
   saved line, "4.5 hours less", may sit just below the fold (the minutes row, 114 to 18, gave way to the year,
   founder, 19 November 2026, comment 10). Every row keeps its "Before" and "With Pyrexia" keys (review
   of 14 November: from the second row on, nothing said which run was which). */
@media (min-width: 56.25em) {
  .trust-res { --trust-num: var(--fz-h-md); }
  .trust-res__hold { --hold: 0; }
  .trust-res__nc { gap: var(--sp-6); }
  .trust-res__head { row-gap: var(--sp-3); }
  .trust-res__title, .trust-res__lede { grid-column: 1 / -1; }
  .trust-res__lede { font-size: var(--fz-small); }
  .trust-fig { row-gap: var(--sp-4); padding-block: calc(clamp(0.75rem, 2.1svh, 1.5rem) * var(--pace)) calc(clamp(1rem, 2.6svh, 1.75rem) * var(--pace)); }   /* a quarter closer since the top figure grew (19 November 2026), so the three pairs still fit 900px */
  .trust-fig { row-gap: var(--sp-3); }
  /* the top figure's basis note on one line, so the larger saved line costs the block little height */
  .trust-fig--lead .trust-fig__basis { max-width: 48rem; }
}

/* ==========================================================================
   start
   ========================================================================== */
.trust-start__in { display: grid; gap: clamp(5rem, 16svh, 9rem); }

/* --- how you start: three steps joined by a hairline --- */
.trust-how__hold {
  /* wide windows: the block is held in the middle of the screen for 20svh at the standard pace.
     (It was 62 while a particle line gathered over the steps; nothing gathers here now.) */
  --hold: 20;
  --hold-top: max(var(--nav-clear), calc(50svh - 11rem));      /* the block is about 22rem tall at 1440: the headline, then each step's picture and heading (no sentences since 19 November 2026) */
}
.trust-how { display: grid; gap: clamp(2.5rem, 7svh, 4.5rem); }
.trust-how__head { min-width: 0; }

.trust-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-7);
}
.trust-step {
  display: grid;
  gap: var(--sp-3);
  align-content: start;
}
/* Over each step, the staff as round dots in the state that step leaves them (14 November 2026,
   replacing the nodes and the hairline). The markup is the finished picture. */
.trust-step__art {
  display: block;
  width: min(100%, 15rem);
  height: auto;
  aspect-ratio: 132 / 60;
  margin-block-end: var(--sp-3);
  overflow: visible;
}
.trust-step__t {
  font-size: var(--fz-h-sm);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;        /* each step is its heading alone: in a narrow column it breaks in two even lines, never one word left over */
}

/* Motion (html.ui-motion only), once, as the block arrives: the list settles out of loose dust
   into its rows; the second picture starts as that list and sorts into the roles' colours; the
   third starts as those groups and draws together by role, each group in its own soft field, its
   last three dots coming in from amber as their reminders are answered. Words before shapes: the
   pictures wait 500ms (--trust-words) for the step names to rise, then each starts a little
   after the one before. About 2.9s in all. */
html.ui-motion .trust-step__art { --trust-words: 500ms; }
html.ui-motion .trust-step__art circle:not(.trust-step__halo) {
  transition:
    transform 1200ms var(--ease-expo) calc(var(--trust-words) + var(--trust-i, 0) * 420ms + var(--d, 0ms) + 150ms),
    fill 900ms ease calc(var(--trust-words) + var(--trust-i, 0) * 420ms + var(--d, 0ms) + var(--late, 0ms) + 350ms),
    opacity 600ms ease calc(var(--trust-words) + var(--trust-i, 0) * 420ms + var(--d, 0ms) + 50ms);
}
html.ui-motion .trust-step__art circle.is-late { --late: 1400ms; }
html.ui-motion .trust-step__art .trust-step__halo { transition: opacity 900ms ease calc(var(--trust-words) + 1500ms), transform 1200ms var(--ease-expo) calc(var(--trust-words) + 1400ms); transform-box: fill-box; transform-origin: center; }
html.ui-motion .trust-how:not(.is-in) .trust-step__art .trust-step__halo { opacity: 0; transform: scale(0.6); }
html.ui-motion .trust-how:not(.is-in) .trust-step__art circle:not(.trust-step__halo) {
  transform: translate(var(--fx), var(--fy));
  fill: var(--f0);
}
html.ui-motion .trust-how:not(.is-in) .trust-step__art--list circle { opacity: 0.35; }
.trust-step:nth-child(2) { --trust-i: 1; }
.trust-step:nth-child(3) { --trust-i: 2; }
@media (forced-colors: active) { .trust-step__art { forced-color-adjust: none; } }

/* The thread rests in this block: from 900px the vault of the security scene has let go into thin
   dust by the time the block is held. Below 900px the marker is not displayed and the vault lets
   go into start-dust-in, in the founders block. (A child of the hold, never of the sticky block.) */
.trust-how__key { display: none; }
@media (min-width: 56.25em) {
  .trust-how__key { display: block; inset-block-start: calc(50svh - var(--hold-top)); }
}

@media (min-width: 56.25em) {
  .trust-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); }
  .trust-step { padding-inline-end: var(--sp-6); }
}

/* --- founders: two ruled rows --- */
.trust-found__hold {
  /* wide windows: not held (two rows, read at a glance: it was 24svh until the pacing pass of 13
     November 2026). The block still sticks for nought, so its keyframe keeps its place. */
  --hold: 0;
  --hold-top: max(var(--nav-clear), calc(50svh - 9rem));
}
/* The same dust as in the block above, held. */
.trust-found__key { inset-block-start: calc(50svh - var(--hold-top)); }
.trust-found { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-7) var(--col-gap); }
.trust-found__head { min-width: 0; }
.trust-found__lines { display: grid; gap: var(--sp-3); margin-block-start: var(--sp-5); }
.trust-people { border-block-end: 1px solid var(--trust-rule); }
.trust-person {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.375rem var(--sp-5);
  padding-block: 1.25rem;
  border-block-start: 1px solid var(--trust-rule);
}
.trust-person__name {
  grid-column: 1;
  font-size: var(--fz-h-sm);                 /* the sub-heading size, as the set-up steps' headings */
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
/* The role, then the title: the small size, the muted colour, one line each (the founder, 19 November
   2026: "the text hierarchy is off in these sections"). Nothing in the row is larger than the name. */
.trust-person__meta {
  grid-column: 1;
  display: grid;
  justify-items: start;
  font-size: var(--fz-small);
  line-height: 1.5;
  color: var(--fg-2);
}
.trust-person__role,
.trust-person__line { text-wrap: balance; }
.trust-person__link { grid-column: 2; grid-row: 1 / span 2; font-size: var(--fz-small); }
/* The team, under the two founders: one line, with a small group of round dots before it in the
   dots' own colours (decoration, aria-hidden: no faces, no names, no count). It belongs to the rows
   above, so it stands closer to them than the block's gap. Nothing is painted behind it. */
.trust-team { display: flex; align-items: center; gap: var(--sp-4); margin-block-start: calc(var(--sp-5) - var(--sp-7)); }
.trust-team__orbs { flex: none; width: 4.5rem; height: 2.5rem; overflow: visible; }
.trust-team__line { max-width: 34rem; color: var(--fg); }   /* the body size (flow-body), under the names' rows */

/* The cloud moves (founder, 14 November 2026; js/scene-trust.js, 1c, sets .is-live, the layers and
   each dot's numbers, only where motion is allowed). Gather: from loose dust round the cloud, the big
   dots first. Drift: each dot circles its own place (--or is how far, --ot a turn), and the middle
   and outer layers sway a few degrees about the centre in opposite senses. Lean: the layers move a
   little away from a pointer, the dust most. The drift is paused while the cloud is out of view. */
.trust-team__orbs.is-live circle {
  transform-box: fill-box;
  transform-origin: center;
  translate: var(--gx) var(--gy);
  opacity: 0;
  transition: translate 1600ms var(--ease-expo) var(--gd, 0ms), opacity 900ms ease var(--gd, 0ms);
  animation: trust-team-orbit var(--ot, 12s) linear var(--od, 0s) infinite;
  animation-play-state: paused;
}
.trust-team__orbs.is-live circle.is-ccw { animation-direction: reverse; }
.trust-team__orbs.is-live.is-in circle { translate: 0 0; opacity: 1; }
.trust-team__orbs.is-live.is-awake circle,
.trust-team__orbs.is-live.is-awake :is(.trust-team__near, .trust-team__mid, .trust-team__dust) { animation-play-state: running; }
.trust-team__orbs.is-live :is(.trust-team__near, .trust-team__mid, .trust-team__dust) {
  transform-box: view-box;
  transform-origin: 50% 50%;
  transition: translate 1400ms var(--ease-expo);
}
/* The near layer is the cloud's body (its big dots): it sways too (3 degrees, 14s) and breathes
   (0.97 to 1.03, 8s), so the body itself is seen to move, 2 to 4px at its edge (review of 14
   November: with only the dust moving, the cloud read as still once it had gathered). */
.trust-team__orbs.is-live .trust-team__near { translate: calc(var(--px, 0) * 1.5px) calc(var(--py, 0) * 1px); animation: trust-team-sway 14s var(--ease-io) -6s infinite alternate paused, trust-team-breathe 8s var(--ease-io) -2s infinite alternate paused; --sway: 3deg; }
.trust-team__orbs.is-live .trust-team__mid { translate: calc(var(--px, 0) * 3px) calc(var(--py, 0) * 2px); animation: trust-team-sway 17s var(--ease-io) -4s infinite alternate paused; --sway: 5deg; }
.trust-team__orbs.is-live .trust-team__dust { translate: calc(var(--px, 0) * 6px) calc(var(--py, 0) * 4px); animation: trust-team-sway 23s var(--ease-io) -9s infinite alternate paused; --sway: -9deg; }
@keyframes trust-team-orbit {
  from { transform: rotate(0deg) translateX(var(--or, 1px)) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(var(--or, 1px)) rotate(-360deg); }
}
@keyframes trust-team-sway {
  from { rotate: calc(-1 * var(--sway)); }
  to   { rotate: var(--sway); }
}
@keyframes trust-team-breathe {
  from { scale: 0.97; }
  to   { scale: 1.03; }
}
@media (prefers-reduced-motion: reduce) {
  .trust-team__orbs.is-live circle,
  .trust-team__orbs.is-live :is(.trust-team__near, .trust-team__mid, .trust-team__dust) { animation: none; translate: 0 0; opacity: 1; transition: none; }
}
@media print {
  .trust-team__orbs.is-live circle,
  .trust-team__orbs.is-live :is(.trust-team__near, .trust-team__mid, .trust-team__dust) { animation: none; translate: 0 0; opacity: 1; }
}
@media (min-width: 56.25em) {
  /* The two columns share a top line: the first rule stands at the headline's cap height. */
  .trust-found { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .trust-people { margin-block-start: 0.625rem; }
  /* Seven columns for the headline, so "of doctors and managers." holds its own line (19 November
     2026); the rows, now a name, a role and a title each, take the other five. */
  .trust-found__head { grid-column: 1 / span 7; grid-row: 1 / span 2; }
  .trust-people { grid-column: 8 / -1; }
  .trust-team { grid-column: 8 / -1; grid-row: 2; }
}

/* --- questions: the heading stays beside the list on wide screens --- */
.trust-faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-6) var(--col-gap); }
.trust-faq__head { min-width: 0; }
.trust-faq__list { --hair: var(--trust-rule); min-width: 0; }
.trust-faq__list .flow-acc__q { flex: 1 1 auto; text-wrap: balance; }
/* Answers are meant to be read: ink, not the muted colour. The question keeps the lede size on a phone. */
.trust-faq__list .flow-acc__a { overflow-wrap: anywhere; color: var(--fg); }
.trust-faq__list .flow-acc__q { font-size: var(--fz-lede); }
@media (min-width: 56.25em) {
  .trust-faq { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .trust-faq__head {
    grid-column: 1 / span 4;
    position: sticky;
    inset-block-start: calc(var(--nav-clear) + var(--sp-4));
  }
  .trust-faq__list { grid-column: 6 / -1; }
}
/* "Show answer" and "Hide answer": a quiet word beside the plus, for a pointer or the keyboard.
   Text face, sentence case. The empty alternative keeps it out of the summary's accessible name
   where that is supported; the element already announces its own expanded state. */
@media (min-width: 37.5em) {
  .trust-faq__list .flow-acc__item > summary::before {
    content: "Show answer";
    content: "Show answer" / "";
    order: 1;
    flex: none;
    font-family: var(--flow-sans);
    font-size: var(--fz-caption);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    color: var(--fg-2);
    opacity: 0;
    transform: translate3d(0.375rem, 0, 0);
    transition: opacity 250ms ease, transform 400ms var(--ease-expo);
  }
  .trust-faq__list .flow-acc__item[open] > summary::before {
    content: "Hide answer";
    content: "Hide answer" / "";
  }
  .trust-faq__list .flow-acc__item > summary::after { order: 2; }
  .trust-faq__list .flow-acc__item > summary:is(:hover, :focus-visible)::before { opacity: 1; transform: none; }
}
/* While scene-trust.js is closing an item the plus turns back at once, not when the panel has gone. */
.trust-faq__list .flow-acc__item[data-trust-closing] > summary::after { transform: none; }

/* ==========================================================================
   Phones: the length budget for these three scenes (below 600px).
   Nothing is taken out: the blocks sit closer and the ruled rows are tighter.
   (scene-zz-director.css loads after this file: where it sets the same property,
   the selector here carries the scene's class as well.)
   ========================================================================== */
@media (max-width: 37.49em) {
  .trust-sec .trust-sec__in { row-gap: 1.5rem; }
  .trust-spec > div,
  .trust-lines > li { padding-block: 0.75rem; }

  .trust-res__head { gap: var(--sp-4); }
  .trust-res__in { gap: 1.25rem; }
  .trust-res .trust-res__nc { gap: 1.75rem; }
  .trust-fig { gap: var(--sp-3) var(--col-gap); padding-block: 1.25rem 1.5rem; }
  .trust-res .trust-voice__hold { margin-block-start: 2.5rem; }
  .trust-voice { gap: var(--sp-4); }

  .trust-start .trust-start__in { gap: 3.5rem; }
  .trust-how { gap: 2rem; }
  .trust-steps { gap: var(--sp-6); }
  .trust-step__art { width: 10.5rem; margin-block-end: var(--sp-2, 0.5rem); }
  .trust-found { gap: var(--sp-6); }
  .trust-team { margin-block-start: calc(var(--sp-4) - var(--sp-6)); }
  .trust-found__lines { margin-block-start: var(--sp-4); }
  .trust-person { padding-block: 1rem; }
  .trust-faq { gap: var(--sp-5); }
}

@media (forced-colors: active) {
  .trust-sec__rows > :first-child { border-block-start-color: CanvasText; }
}
@media print {
  .trust-sec__rig { display: none; }
  .trust-faq__head { position: static; }
  :is(.trust-sec, .trust-res, .trust-start) .flow-hold > .flow-hold__pin { position: static !important; }
  :is(.trust-sec, .trust-res, .trust-start) .flow-hold::after { display: none !important; }
}

/* ---- scene-zz-director.css ---- */
/* ==========================================================================
   The director's pass: cross-scene adjustments made after the scenes were
   assembled. build.mjs loads every css/scene-*.css in filename order, so this
   file comes last and wins on equal specificity.

   It holds only two things:
     1  The phone length budget (below 600px): air taken out between blocks,
        smaller sculpture docks, a shorter footer. Nothing is said only here:
        the two things not shown on a phone are each on the page a second time.
     2  Small joins between scenes built by different hands.

   Scene-specific design stays in the scene's own stylesheet.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1  Phones: the length budget
   -------------------------------------------------------------------------- */
@media (max-width: 37.49em) {
  /* hero: the first screen is laid out in scene-hero.css (the swarm's row takes what the window
     has left, so both actions are in the first screen) */

  /* today: the clusters' box */
  html:is(.flow-live, .flow-still) .story-today__dock { height: clamp(16rem, 44svh, 22rem); }
  .story-today__in { row-gap: var(--sp-6); }

  /* passport: the blocks sit closer. The app's phone mock is not shown here: the same staff home
     (Priya Raman's "Good morning" screen and her To do) is in the platform scene, under Mobile app. */
  .product-pass__rest { margin-block-start: 4rem; }
  .product-app { gap: var(--sp-6) var(--col-gap); }
  .product-app__figure { display: none; }
  /* With no phone mock the results scene is close behind. The card lets go into the dust a little
     sooner, so that move is over before the results headline starts to arrive. */
  .product-pass__key-dust { inset-block-start: 24svh; }

  /* results: the quotation follows the figures without a long pause */
  .trust-voice { margin-block-start: 3.5rem; }
  .trust-res__nc { gap: 2.5rem; }

  /* security: a smaller vault above the rows */
  .trust-sec__dock { width: min(60vw, 15rem); }
  .trust-sec__in { row-gap: 2rem; }

  /* start: three blocks, one scene */
  .trust-start__in { gap: 5rem; }

  /* close: the mark */
  .s-close__dock { width: clamp(8rem, 20svh, 11rem); margin-block-end: var(--sp-3); }

  /* footer: closer on a phone. (Since 13 November 2026 the module list and the five coming soon
     names are shown on a phone too, as the first row of two even columns: the founder wants the
     coming soon names in the footer, and they make no sense without the platform beside them.) */
  .flow-footer { padding-block-start: var(--sp-6); }
  .flow-footer__in { gap: var(--sp-5); }
  .flow-footer__cols { gap: var(--sp-5) var(--col-gap); }
  .flow-footer__facts { padding-block-start: var(--sp-5); gap: var(--sp-3); }
}

/* --------------------------------------------------------------------------
   2  Joins
   -------------------------------------------------------------------------- */
/* The close is the end of the thread: the mark is given more of the screen on a desktop window. */
@media (min-width: 56.25em) and (min-height: 43.75em) {
  .s-close__dock { width: clamp(12rem, 36svh, 21rem); }
}
/* Passport into results, and results into security: each pair gets one clear pause between its
   scenes instead of two scene paddings. (All scenes are on paper; there is no boundary to mark.)
   Security into how you start keeps both paddings: the vault leaves with its dock in that room, and
   is carried onto the steps' line only once the next headline and the step names are read. */
@media (min-width: 56.25em) {
  #passport { padding-block-end: clamp(3rem, 8svh, 5rem); }
  #results { padding-block-end: clamp(3rem, 8svh, 5rem); }
}
