@font-face{font-family:"Plus Jakarta Sans";src:url(/home/assets/PlusJakartaSans.ef5b698a7b.woff) format("woff");font-weight:200 800;font-style:normal;font-display:swap}
:root {
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.9375rem; --text-md: 1.0625rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  /* PreBLD brand, from the investor deck (night #16201c, surround #0b1210, paper #f4f1ea, red #c62828) */
  --color-paper: oklch(15.5% 0.013 165); --color-paper-2: oklch(19.5% 0.015 165); --color-paper-3: oklch(23.5% 0.016 165);
  --color-surround: oklch(11% 0.012 165);
  --color-app-paper: rgb(252 252 249); /* the page colour inside the PreBLD app's own screens, for the tour frame */
  --color-cursor-edge: oklch(99% 0.004 85); --color-cursor-ink: oklch(14% 0.01 165); --color-confirm-soft: oklch(93% 0.04 150); --color-shadow-deep: oklch(5% 0.01 165 / 0.7);
  --color-pond: oklch(72% 0.1 205); --color-pond-dot: oklch(82% 0.11 195);
  --slide-paper: oklch(95.6% 0.009 85); --slide-paper-2: oklch(92.5% 0.011 85); --slide-ink: oklch(21% 0.016 165); --slide-ink-2: oklch(35% 0.016 165); --slide-muted: oklch(48% 0.013 165); --slide-rule: oklch(85% 0.011 85); --slide-focus: oklch(50% 0.19 27);
  --color-ink: oklch(95.5% 0.009 85); --color-ink-2: oklch(85% 0.011 120); --color-muted: oklch(70% 0.013 150);
  --color-rule: oklch(31% 0.016 165);
  --color-accent: oklch(54% 0.19 27); --color-accent-ink: oklch(97.5% 0.008 85); --color-focus: oklch(66% 0.19 27);
  --color-wordmark-red: oklch(58% 0.2 27);
  /* the product's own surfaces: white cards, as in the app and the explainer video */
  --color-card: oklch(98.6% 0.004 85); --color-card-2: oklch(95.8% 0.006 85); --color-card-ink: oklch(21% 0.016 165);
  --color-card-muted: oklch(48% 0.013 165); --color-card-rule: oklch(90.5% 0.007 85); --color-confirm: oklch(50% 0.12 150);
  --color-bubble: oklch(21% 0.016 165); --color-bubble-ink: oklch(97% 0.006 85);
  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif; --font-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif; --font-outlier: var(--font-body);
  --radius-card: 20px; --radius-inner: 12px; --radius-pill: 999px; --rule-hair: 1px; --shadow-card: 0 1px 2px oklch(10% 0.01 165 / 0.3);
  --tracking-display: -0.025em; --tracking-hero: -0.03em;
  --text-wordmark: clamp(3rem, 9vw, 9.5rem); --text-figure: clamp(3rem, 7vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-synthesis: none; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }

/* Hallmark · shape: through the P, a pinned film into the product, then the deck told in order: pails and the ocean, the pond filling (pinned), the third way, the $2M story, the builders, the door · genre: modern-minimal · theme: custom · brand: PreBLD (spec 2026-11-06, deck 2026-10) · job: join · idea: "the camera flies through the hole in the P, then the investor deck's pails, pools and ponds explain what it is for" · vibe: "keynote dark with the deck's cream slides, quiet, exact, built by builders"
 * paper: oklch(15.5% 0.013 165) · accent: oklch(54% 0.19 27) · display: Plus Jakarta Sans · body: Plus Jakarta Sans · hero: the wordmark set huge, the line under it, two actions; the product waits inside the P · nav: mark only, three anchors, sign in, one action; turns cream over the deck's paper slides, no hairline · footer: a mast, the wordmark over three links · imagery: the product built and running, the deck's pail, pool, pond and ocean illustrations and its buckets photograph under the deck's water shader, three real founder portraits, the film's opening frame · signature: flying through the counter of the P into a PreBLD session
 * axes: dark/grotesk-heavy/warm · posture: Restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V4 · weakest: P, the claim is plain; it is the brand's own (budget before the build) and the page argues it with the product, not adjectives */
/* Hallmark · finish-review v3: subagent · fix · 7 findings · 6 resolved (third line at section size, still network side by side, faded steps at 0.55, builders as one statement, LCM in the head, stamp nav), 1 declined by the owner's word (the live schedule: Jared asked to drop the program walkthrough, 2026-11-07) · gap: the hand-off from the dark hero to the cream pails slide */
/* Hallmark · waive 84 · the product is built in a data-slot, PreBLD session · the session must play frame by frame inside the P as the visitor scrolls, which a capture cannot do, and the live demo prints city names this market-neutral page may not show */
/* Hallmark · dismissed 23 · .range__fill is a 6px range bar inside one product card, never a viewport-scale fill */
/* Hallmark · imagery: the investor deck's own pail, pool, pond and ocean illustrations through the deck's water shader; the $2M chart redrawn from the explainer film; one real PreBLD estimate screen, sample project, location removed (v12, 2026-11-08) */
/* Hallmark · answered F7 · the pill ends sit on range and bar tracks inside the product card, matching the real app's bars */
/* Hallmark · v19 2026-11-14 (Jared: "embed this into the website", inline on the page): the demo video is a player in the tour section, above the five screens (poster, play, 1:58); the hero's "See it in action" scrolls to it and starts it; the pop-up stays for the film card only; the second "See it in action" button under the stills is gone. */
/* Hallmark · v18 2026-11-14 (Jared picked demo direction A, "Live estimate beside the chat"): the film's window is the chat beside a live estimate; the range is on screen about 0.7 s after landing, each tap moves the range, the most likely figure and the trade bars, it rests on Ready and "Calibrated against 3 similar projects", and it resets in place; the window sits under the nav and fades out at the stage's foot, scaled on short screens so the choices and trades stay above the fade */
/* Hallmark · v17 2026-11-13 (Jared: the product demo takes too long to scroll past and moves too slow): the film is 180svh, was 280; the demo runs 8.5 s plus a 3 s hold, was 15 s plus 3.8 s; a fast scroll pulls the flight along so the window lands before the stage lets go · v15 2026-11-13 (Jared's notes): the hero says budgeting software, not another estimating tool; the market moves up above the $2M story and says firms; the real screen becomes a five-screen tour of the app on its own clock; a See it in action button opens the demo video · investor pass v14 2026-11-12 (aspen-design + mobbin redesign, targeted): the first screen says the company in nine words, one action for investors (Request the deck) and a text link for builders, the sections follow the deck's argument (problem, gap, network, market, third way, real screen, team, ask), a market section with one leading figure, one form with two asks; craft pass v12 2026-11-08 (flight on its own clock, real screen, regions, $2M chart, pails row rebuilt, phone table); craft pass v10 2026-11-08 (aspen-design + impeccable critique): two grounds, semibold heads at -0.025em, 17px body, headline-led hero, the letter darkens on the flight, pause controls, US terms, two-ways section rebuilt and moved before the network, builder-facing close */
/* Hallmark · redesign v3 2026-11-07 · full depth below the film; dropped the film scenes, the chart and the live schedule (Jared: use the deck, not the video); dropped the deck's product screenshot (it prints a city) */
/* Hallmark · waive 79 · Poster posture: the wordmark is the hero and the stage under it is where the camera dives into the P · filling it would crowd the move */
/* Hallmark · waive 47c · a data-slot holds the built PreBLD session · the cards are the real app's chat, project sheet and estimate, rebuilt to animate under scroll */

body { background: var(--color-paper); color: var(--color-ink); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: var(--z-sticky-nav); background: color-mix(in oklab, var(--color-paper) 86%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transition: background-color var(--dur-long) var(--ease-out), color var(--dur-long) var(--ease-out), box-shadow var(--dur-long) var(--ease-out); }
.nav.paper-slide { background: color-mix(in oklab, var(--color-paper) 96%, transparent); box-shadow: 0 1px 0 var(--color-rule); }
/* once the page has moved, the bar over the night ground is solid with a hairline too, as it is over cream: a light picture passing
   under the frosted bar used to show through as a grey slab in the middle. At the very top it stays clear over the hero. */
.nav:not(.is-top):not(.paper-slide) { background: var(--color-paper); box-shadow: 0 1px 0 var(--color-rule); }
.nav .container { display: flex; align-items: center; gap: var(--space-lg); min-height: 64px; }
.nav__home { display: inline-flex; border-radius: var(--radius-inner); transition: transform var(--dur-long) var(--ease-out), opacity var(--dur-short) var(--ease-out); }
/* while the hero's name plate is showing, the bar's small mark stands down (the script sets is-named; the page is written with it on) */
.js .nav.is-named .nav__home { opacity: 0; visibility: hidden; transition: opacity var(--dur-short) var(--ease-out), visibility 0s var(--dur-short); }
.nav__home:hover { transform: rotate(-6deg) scale(1.06); }
.nav__home:active { transform: scale(0.96); }
.nav__home:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.nav__home svg { width: 32px; height: 32px; }
.nav__home .mark-wing { fill: var(--slide-paper); }
.nav__links { display: flex; align-items: center; gap: var(--space-lg); margin-left: auto; }
.nav__link { position: relative; display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink-2); text-decoration: none; font-size: var(--text-sm); white-space: nowrap; transition: color var(--dur-short) var(--ease-out); }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform var(--dur-long) var(--ease-out); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav__link:hover { color: var(--color-ink); }
.nav__link:active { color: var(--color-muted); }
.nav__link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 6px; border-radius: var(--radius-inner); }

.skip { position: fixed; left: var(--space-md); top: var(--space-md); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-paper); transform: translateY(-200%); }
.skip:focus-visible { transform: none; outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 var(--space-lg); border-radius: var(--radius-pill); font-weight: 700; font-size: var(--text-md); text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-long) var(--ease-out), box-shadow var(--dur-long) var(--ease-out); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn--primary { position: relative; isolation: isolate; overflow: hidden; background: var(--color-accent); color: var(--color-accent-ink); }
/* hover, in the page's own language. The red pill: a darker fill sweeps in from the left, like the likely-range bar filling,
   and leaves to the right (the nav's underline does the same). Nothing lifts. */
.btn--primary::before { content: ""; position: absolute; inset: -2px; z-index: -1; background: color-mix(in oklab, var(--color-accent) 78%, var(--color-surround)); transform: scaleX(0); transform-origin: 100% 50%; transition: transform var(--dur-short) var(--ease-in-out); }
.btn--primary:hover::before { transform: scaleX(1); transform-origin: 0 50%; }
.btn--primary:active { transform: translateY(1px); }
.btn--primary:disabled { opacity: 0.55; cursor: not-allowed; }
.btn--quiet { color: var(--color-ink); border-color: var(--color-rule); background: transparent; }
.btn--quiet:hover { border-color: var(--color-ink); transform: translateY(-2px); }
.btn--quiet:active { transform: translateY(1px); }
.nav .btn { min-height: 44px; font-size: var(--text-sm); padding: 0 var(--space-md); }
/* the four section links: in the row on a wide screen (the wrapper has no box of its own), behind a small menu button on a narrow one */
.nav__more { display: contents; }
.nav__menu { display: none; }

/* ---------- the film ---------- */
.film { position: relative; }
.stage { position: relative; }
.ink { fill: var(--color-ink); }
.red { fill: var(--color-wordmark-red); }
.mark-sq { fill: var(--color-accent); }
.mark-wing { fill: var(--wing, var(--color-ink)); }

/* ---------- the hero: the product at work ---------- */
/* The real estimate screen at an angle, with its total and its scenario switch lifted off it: three cuts of one screen recording.
   The whole resting pose is in this sheet (the head sets film-on), so the first painted frame is already the right one.
   The film script only moves it once the visitor scrolls: the screen straightens into the demo window.
   --hf is the headline's size and everything is set off it, so the picture never runs under the words. */
.hero { position: relative; overflow: hidden; --hh: max(100svh, 600px); height: var(--hh);
  --hf: min(4.2vw, calc((var(--hh) - 468px) / 5.65), 4.6rem); --cl: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  /* the screen starts just right of the words (--so, never less than the two buttons need) and is half again as wide as the room left for it,
     so it runs off the right edge (and, on most desks, the foot). --clw and --sxw are --cl and --sx measured on the window, so heights can be set off them too.
     --sy is the screen's top, --tw the total card's width, --ty its top. */
  --clw: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); --so: max(calc(var(--hf) * 9.3), 28.5rem); --sxw: calc(var(--clw) + var(--so)); --sx: calc(var(--cl) + var(--so));
  --sw: calc((100vw - var(--sxw)) * 1.5); --sy: max(96px, calc(50% - var(--sw) * 0.25)); --tw: min(23vw, 350px); --ty: max(88px, calc(var(--sy) - var(--tw) * 0.12));
  --ry: 15deg; --rx: 3deg; --lift: 170px; --stack: 0; }
.film-on .hero { position: absolute; inset: 0; z-index: 3; height: auto; --hh: 100svh; }
/* once the screen has become the demo window the hero is out of the way: not drawn, not reachable, its cue at rest */
.hero.is-away { visibility: hidden; }
.hero.is-away .scroll-cue__line b { animation-play-state: paused; }
.hero-copy { position: absolute; z-index: 2; left: var(--cl); top: calc(50% + 24px); width: max(calc(var(--hf) * 8.75), 27rem); transform: translateY(-50%); display: grid; justify-items: start; gap: var(--space-lg); }
/* the headline reads in whole phrases and its widest line is as wide as the name above it: --hs is its size against --hf */
.hero-copy h1 { --hs: 0.85; font-size: calc(var(--hf) * var(--hs)); font-weight: 700; letter-spacing: var(--tracking-hero); line-height: 1.04; white-space: nowrap; }
.hl { display: block; clip-path: inset(-0.1em -0.3em -0.16em -0.1em); }
.hl > span { display: block; }
.hero-copy p { color: var(--color-ink-2); font-size: clamp(1.1875rem, 0.6vw + 1rem, 1.5rem); line-height: 1.45; }
.hero-copy .btn { min-height: 52px; padding: 0 clamp(var(--space-lg), 2.2vw, var(--space-xl)); font-size: var(--text-md); }
.hero-copy .actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.hero-copy .hero-signin { font-size: var(--text-md); }
.hero-signin a { color: var(--color-ink); font-weight: 600; text-underline-offset: 0.2em; text-decoration-thickness: 1px; display: inline-block; padding-block: var(--space-2xs); }
.hero-signin a:hover { text-decoration-thickness: 2px; }
.hero-signin a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: 4px; }
/* the name plate: the page's lockup over the headline, sized off the headline. It rises inside its own box, as the headline's lines do. */
.hero-nameplate { display: block; height: calc(var(--hf) * 1.65); width: auto; aspect-ratio: 4552 / 860; --wing: var(--slide-paper); margin-bottom: var(--space-2xs); }

.rig { position: absolute; inset: 0; z-index: 1; perspective: 2400px; perspective-origin: 42% 44%; pointer-events: none; }
.rig__glow { position: absolute; left: 30%; top: 2%; width: 84%; height: 98%; background: radial-gradient(closest-side, color-mix(in oklab, var(--color-ink) 11%, transparent), color-mix(in oklab, var(--color-ink) 4%, transparent) 55%, transparent); }
.rig__floor { position: absolute; left: calc(var(--sx) - 2%); top: calc(var(--sy) + var(--sw) * 0.662); width: 62%; height: 120px; background: radial-gradient(closest-side, color-mix(in oklab, var(--color-ink) 17%, transparent), color-mix(in oklab, var(--color-ink) 5%, transparent) 60%, transparent); }
.rig__screen, .tcard, .tswitch { position: absolute; overflow: hidden; background: var(--color-card); transform-origin: 0 50%; will-change: transform, opacity; }
.rig__screen { left: var(--sx); top: var(--sy); width: var(--sw); aspect-ratio: 1986 / 1340; border-radius: 16px; transform: translate3d(0, 0, 0) scale(1) rotateY(var(--ry)) rotateX(var(--rx)); box-shadow: 0 0 0 1px color-mix(in oklab, var(--color-ink) 22%, transparent), 0 50px 90px -40px var(--color-shadow-deep); }
.tcard, .tswitch { left: calc(100% - var(--gutter) - var(--tw) * 0.975); transform: translate3d(0, 0, var(--lift)) scale(1) rotateY(var(--ry)) rotateX(var(--rx)); box-shadow: 0 0 0 1px color-mix(in oklab, var(--color-card-ink) 10%, transparent), 0 44px 70px -30px var(--color-shadow-deep), 0 14px 26px -14px var(--color-shadow-deep); }
.tcard { top: var(--ty); width: var(--tw); aspect-ratio: 760 / 482; border-radius: var(--radius-card); }
.tswitch { top: calc(var(--ty) + var(--tw) * 482 / 760 + 12px); width: calc(var(--tw) * 0.838); aspect-ratio: 574 / 164; border-radius: 14px; }
.rig img, .rig video { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0 50%; }
.rig video { opacity: 0; transition: opacity 0.3s linear; }
.hero.is-live .rig video { opacity: 1; }
.hero-note { position: absolute; z-index: 2; left: calc(var(--sx) + 2px); top: max(70px, calc(var(--sy) - 34px)); color: var(--color-muted); font-size: var(--text-xs); }
.scroll-cue { display: none; }
.film-on .scroll-cue { display: flex; align-items: center; gap: var(--space-sm); position: absolute; z-index: 2; left: var(--cl); bottom: var(--space-xl); color: var(--color-muted); font-size: var(--text-sm); white-space: nowrap; }
.scroll-cue__line { position: relative; flex: none; width: 2px; height: 36px; border-radius: 2px; background: color-mix(in oklab, var(--color-ink) 18%, transparent); overflow: clip; }
.scroll-cue__line b { position: absolute; left: 0; top: 0; width: 2px; height: 46%; background: linear-gradient(transparent, var(--color-ink)); transform: translateY(-100%); }

/* the entrance, film mode only: the lines rise, the screen arrives from depth, the card and its switch lift last. Done in about 1.4 s.
   Until the typeface is in (.hero-in) the words are not drawn, and until the still is in (.hero-pic) the picture is not; both are set by the script under the hero.
   Fills run backwards only, so once a piece has arrived the film script's own values take over. */
.js.film-on:not(.hero-in) .hl > span { transform: translateY(125%); }
.js.film-on:not(.hero-in) .hero-nameplate > g { transform: translateY(1010px); }
.js.film-on:not(.hero-in) :is(.hero-copy p, .hero-copy .actions, .scroll-cue) { opacity: 0; }
.js.film-on:not(.hero-pic) :is(.rig__screen, .tcard, .tswitch, .rig__glow, .rig__floor, .hero-note) { opacity: 0; }
.hero-in.film-on .hero-nameplate > g { animation: hero-plate 0.6s var(--ease-out) backwards; }
.hero-in.film-on .hl > span { animation: hero-rise 0.6s var(--ease-out) calc(180ms + var(--l) * 80ms) backwards; }
.hero-in.film-on .hero-copy p { animation: hero-up 0.5s var(--ease-out) 380ms backwards; }
.hero-in.film-on .hero-copy .actions { animation: hero-up 0.5s var(--ease-out) 460ms backwards; }
.hero-in.film-on .hero-copy .hero-signin { animation: hero-up 0.5s var(--ease-out) 540ms backwards; }
.hero-pic.film-on .rig__screen { animation: hero-screen 1s var(--ease-out) 80ms backwards, hero-fade 0.3s linear 80ms backwards; }
.hero-pic.film-on .tcard { animation: hero-card 0.8s var(--ease-out) 420ms backwards, hero-fade 0.3s linear 420ms backwards; }
.hero-pic.film-on .tswitch { animation: hero-card 0.8s var(--ease-out) 540ms backwards, hero-fade 0.3s linear 540ms backwards; }
.hero-pic.film-on :is(.rig__glow, .rig__floor) { animation: hero-fade 0.9s linear 100ms backwards; }
.hero-pic.film-on .hero-note { animation: hero-fade 0.5s var(--ease-out) 900ms backwards; }
.hero-in.film-on .scroll-cue { animation: hero-fade 0.5s var(--ease-out) 950ms backwards; }
.hero-in.film-on .scroll-cue__line b { animation: cue-pulse 2.6s cubic-bezier(0.4, 0, 0.2, 1) 1500ms infinite; }
@keyframes hero-rise { from { transform: translateY(125%); } }
@keyframes hero-plate { from { transform: translateY(1010px); } }
@keyframes hero-up { from { opacity: 0; transform: translateY(14px); } }
@keyframes hero-fade { from { opacity: 0; } }
@keyframes hero-screen { from { transform: translate3d(90px, 14px, -220px) scale(1) rotateY(calc(var(--ry) + 12deg)) rotateX(calc(var(--rx) + 2deg)); } }
@keyframes hero-card { from { transform: translate3d(0, 30px, 40px) scale(1) rotateY(var(--ry)) rotateX(var(--rx)); } }
@keyframes cue-pulse { 0% { transform: translateY(-100%); opacity: 0; } 15% { opacity: 1; } 70% { opacity: 1; } 100% { transform: translateY(240%); opacity: 0; } }

/* a phone, or a tablet held upright: the words first, the screen under them running off the right edge and the foot.
   --u is one phone pixel (a 390-wide screen), so the picture keeps its proportions on any upright screen. */
@media (max-width: 47.5rem), (max-width: 64rem) and (max-aspect-ratio: 1/1) {
  .hero { --u: calc(100vw / 390); --stack: 1; --hf: min(10.6vw, calc(var(--hh) * 0.049)); --ry: 11deg; --rx: 2deg; --lift: 90px; display: grid; grid-template-rows: auto minmax(0, 1fr); }
  .hero-copy { position: relative; left: auto; top: auto; width: auto; transform: none; padding: calc(64px + var(--u) * 14) var(--gutter) 0; gap: var(--space-md); }
  .hero-nameplate { height: calc(var(--hf) * 1.26); margin-bottom: 0; }
  .hero-copy h1 { --hs: 0.82; }
  .hero-copy .actions { flex-direction: column; align-items: flex-start; gap: var(--space-xs); }
  .hero-copy .btn { padding: 0 var(--space-xl); }
  .hero-copy .btn--play { min-height: 44px; border-color: transparent; padding: 0 var(--space-md); }
  .rig { position: relative; inset: auto; grid-area: 2 / 1; perspective: 1500px; perspective-origin: 30% calc(var(--u) * 36); }
  .rig__floor { display: none; }
  .rig__screen { left: calc(var(--gutter) + var(--u) * 6); top: calc(var(--u) * 56); width: calc(var(--u) * 600); border-radius: 12px; }
  .tcard, .tswitch { left: calc(100% - var(--gutter) - var(--u) * 212); }
  .tcard { top: calc(var(--u) * 18); width: calc(var(--u) * 214); border-radius: 14px; }
  .tswitch { top: calc(var(--u) * 161.7); width: calc(var(--u) * 178); border-radius: 10px; }
  .hero-note { position: relative; left: auto; top: auto; grid-area: 2 / 1; align-self: start; justify-self: start; margin: calc(var(--u) * 24) 0 0 var(--gutter); max-width: calc(var(--u) * 132); font-size: max(11px, calc(var(--u) * 11)); line-height: 1.4; }
  .film-on .scroll-cue { display: none; }
  /* here the words are simply there from the first frame: a phone on a slow connection should be reading before anything moves.
     The picture under them still arrives when its still is in. */
  .js.film-on:not(.hero-in) .hl > span, .js.film-on:not(.hero-in) .hero-nameplate > g { transform: none; }
  .js.film-on:not(.hero-in) :is(.hero-copy p, .hero-copy .actions, .scroll-cue) { opacity: 1; }
  .hero-in.film-on .hero-nameplate > g, .hero-in.film-on .hl > span, .hero-in.film-on .hero-copy p, .hero-in.film-on .hero-copy .actions, .hero-in.film-on .hero-copy .hero-signin { animation: none; }
}
@media (prefers-reduced-motion: reduce) { .rig video { display: none; } }

.beats { display: none; }

/* the product, static by default; the film moves it */
.product-layer { background: none; overflow: visible; padding: var(--space-xl) var(--gutter) var(--space-md); }
.card__head { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--text-xs); color: var(--color-card-muted); padding-bottom: var(--space-sm); }
.chat__who .mark-wing, .card .mark-wing { fill: var(--color-card); }
.card__head b { color: var(--color-card-ink); font-weight: 700; }
.live { color: var(--color-accent); font-weight: 700; }

/* ---------- the product: a PreBLD session, the chat beside the live estimate (v18, direction A) ---------- */
.product { position: relative; width: 100%; max-width: 980px; margin: 0 auto; }
.app { display: grid; grid-template-rows: auto minmax(0, 1fr); background: var(--color-card); color: var(--color-card-ink); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -30px var(--color-shadow-deep), 0 0 0 1px var(--color-card-rule); }
.app__bar { display: flex; align-items: center; gap: var(--space-sm); height: 52px; padding: 0 var(--space-lg); border-bottom: 1px solid var(--color-card-rule); font-size: var(--text-sm); }
.app__mark { width: 24px; height: 24px; flex: none; }
.app__mark .mark-wing, .msg__av .mark-wing { fill: var(--color-card); }
.app__title { font-weight: 700; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* one pill: its colour eases with --r (0 Draft, 1 Ready) while the word turns over inside it */
.app__status { --r: 1; margin-left: auto; flex: none; display: grid; overflow: clip; padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); font-size: var(--text-xs); font-weight: 700; background: color-mix(in oklab, var(--color-confirm-soft) calc(var(--r) * 100%), var(--color-card-2)); color: color-mix(in oklab, var(--color-confirm) calc(var(--r) * 100%), var(--color-card-muted)); }
.app__status > span { grid-area: 1 / 1; text-align: center; }
html:not(.film-on) .app__status-a { visibility: hidden; }
.app__body { display: grid; grid-template-columns: minmax(0, 39fr) minmax(0, 61fr); min-height: 0; }
.app__chat { display: grid; align-content: start; gap: var(--space-md); padding: var(--space-lg); background: var(--color-card-2); border-right: 1px solid var(--color-card-rule); }
.msg { margin: 0; font-size: var(--text-sm); line-height: 1.4; }
.msg--in { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--space-sm); font-weight: 700; }
.msg__av { width: 24px; height: 24px; }
.msg--out { justify-self: end; max-width: 88%; background: var(--color-bubble); color: var(--color-bubble-ink); border-radius: 14px 14px 4px 14px; padding: var(--space-xs) var(--space-md); }
.file { justify-self: end; display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-xs) var(--space-md) var(--space-xs) var(--space-xs); border: 1px solid var(--color-card-rule); border-radius: 12px; background: var(--color-card); font-size: var(--text-xs); }
.file__type { display: grid; place-items: center; width: 34px; height: 40px; border-radius: 6px; background: var(--color-accent); color: var(--color-accent-ink); font-weight: 700; font-size: 10px; }
.file__name { display: grid; gap: var(--space-3xs); }
.file__name span { color: var(--color-card-muted); }
.opts { display: grid; gap: var(--space-xs); padding-left: 36px; }
.opt { display: flex; align-items: center; min-height: 38px; padding: 0 var(--space-md); border: 1px solid var(--color-card-rule); border-radius: var(--radius-pill); background: var(--color-card); color: var(--color-card-ink); font-size: var(--text-sm); white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform 0.14s var(--ease-out); }
.opt.is-on { background: var(--color-bubble); color: var(--color-bubble-ink); border-color: var(--color-bubble); }
.opt.is-press { transform: scale(0.97); }
.est { container-type: inline-size; display: grid; align-content: start; min-width: 0; padding: var(--space-lg) 32px 0; }
.est__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); min-height: 28px; }
.est__label { color: var(--color-card-muted); font-size: var(--text-xs); white-space: nowrap; }
/* the fact pill: First pass, then the answers counted, then calibrated; the script eases its width between them */
.fact { --ok: 1; display: inline-grid; grid-template-columns: minmax(0, 1fr); flex: none; overflow: clip; padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); font-size: var(--text-xs); white-space: nowrap; background: color-mix(in oklab, var(--color-confirm-soft) calc(var(--ok) * 100%), var(--color-card-2)); color: color-mix(in oklab, var(--color-confirm) calc(var(--ok) * 100%), var(--color-card-muted)); }
.fact__l { grid-area: 1 / 1; justify-self: end; }
html:not(.film-on) .fact__l:not(:last-child) { display: none; }
/* a narrow estimate column: the fact takes its own row under the most likely figure, so nothing moves when it grows */
@container (max-width: 459px) {
  .est__top { display: contents; }
  .est__label { order: 0; } .est__range { order: 1; } .range, .likely { order: 2; }
  .fact { order: 3; justify-self: start; margin-top: var(--space-sm); }
  .fact__l { justify-self: start; }
  .trades__head { order: 4; } .trades { order: 5; }
}
.est__range { position: relative; margin-top: var(--space-xs); font-size: clamp(2rem, 11.5cqi, 3.25rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.est__range i { font-style: normal; font-weight: 600; letter-spacing: -0.02em; }
.est__v { display: inline-block; }
/* where a figure will be, before the first pass */
.skel { position: absolute; left: 0; top: 0.08em; height: 0.84em; width: 62%; border-radius: 10px; background: var(--color-card-rule); opacity: 0; pointer-events: none; }
.likely .skel { width: 100%; border-radius: 6px; }
.range { display: grid; gap: var(--space-2xs); margin-top: var(--space-md); font-variant-numeric: tabular-nums; }
.range__track { position: relative; height: 10px; border-radius: var(--radius-pill); background: var(--color-card-2); }
.range__fill { position: absolute; top: 0; bottom: 0; left: 23.6%; right: 21.6%; border-radius: var(--radius-pill); background: var(--color-accent); }
.range__tick { position: absolute; left: 51.2%; top: -5px; bottom: -5px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--color-card-ink); }
.range__scale { display: flex; justify-content: space-between; color: var(--color-card-muted); font-size: var(--text-xs); }
.likely { display: flex; align-items: center; gap: var(--space-sm); margin-top: var(--space-md); color: var(--color-card-muted); font-size: var(--text-sm); }
.likely b { position: relative; color: var(--color-card-ink); font-size: 1.75rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.trades__head { margin: var(--space-lg) 0 0; padding-top: var(--space-md); border-top: 1px solid var(--color-card-rule); color: var(--color-card-muted); font-size: var(--text-xs); }
/* the trades keep one order (the final ranking) so no row ever jumps; only bars and figures move */
.trades { list-style: none; margin: var(--space-2xs) 0 0; padding: 0; display: grid; font-variant-numeric: tabular-nums; }
.trades li { display: grid; grid-template-columns: 10.5em minmax(0, 1fr) 3.6em; gap: var(--space-sm); align-items: center; min-height: 38px; font-size: var(--text-sm); }
.trades b { justify-self: end; font-weight: 700; }
.trades__t { height: 6px; border-radius: var(--radius-pill); background: var(--color-card-2); overflow: hidden; }
.trades__b { display: block; height: 100%; width: calc(var(--w) * 100%); border-radius: var(--radius-pill); background: var(--color-accent); }
/* filler rows: only ever below the last real row, inside the window's fade */
.trades .ghost { display: none; }
.ghost .bar { display: block; height: 8px; border-radius: var(--radius-pill); background: var(--color-card-rule); }
.ghost .bar:last-child { justify-self: end; }
.ghost .trades__t { background: var(--color-card-rule); opacity: 0.6; }
/* every figure is an odometer: one strip of digits per column, turned by the script */
.odo { display: inline-flex; line-height: 1; }
.odo__col { display: inline-block; height: 1em; overflow: clip; -webkit-mask-image: linear-gradient(transparent, var(--color-ink) 6%, var(--color-ink) 94%, transparent); mask-image: linear-gradient(transparent, var(--color-ink) 6%, var(--color-ink) 94%, transparent); }
.odo__strip { display: grid; will-change: transform; }
.odo__strip span { height: 1em; }
.pointer { position: absolute; left: 0; top: 0; width: 32px; height: 32px; z-index: 5; display: none; pointer-events: none; transform-origin: 10px 7px; }
.pointer__edge { fill: var(--color-cursor-edge); }
.pointer__ink { fill: var(--color-cursor-ink); }

/* the honest label and the Pause button: under the product when it is static, in the text column during the film */
.demo-note { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-md); max-width: calc(980px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) var(--section-gap); color: var(--color-muted); font-size: var(--text-xs); line-height: 1.4; }
.demo-note span { text-wrap: pretty; }
.demo-toggle { display: none; }
.film-on .demo-toggle { display: inline-flex; flex: none; align-items: center; min-height: 32px; padding: 0 var(--space-md); border-radius: var(--radius-pill); border: 1px solid var(--color-rule); background: color-mix(in oklab, var(--color-paper) 80%, transparent); color: var(--color-ink-2); font: inherit; font-size: var(--text-xs); font-weight: 600; cursor: pointer; transition: border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.film-on .demo-toggle:hover { border-color: var(--color-ink); color: var(--color-paper); background: var(--color-ink); }
.film-on .demo-toggle:active { transform: scale(0.97); }
.film-on .demo-toggle:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.film-on .demo-toggle--map { position: absolute; z-index: 3; left: var(--space-md); bottom: var(--space-md); }
.film-on .pointer { display: block; }

/* ---------- film mode (JS on, wide screen, motion allowed) ---------- */
.film-on .film { height: 180svh; }
.film-on .stage { position: sticky; top: 0; height: 100svh; overflow: hidden; padding: 0; }
/* the window runs off the foot of the stage and fades out there, over filler only; the mask is the stage's, so the flight is never cut */
.film-on .demo-mask { position: absolute; inset: 0; z-index: 2; pointer-events: none; --fade: 150px; --fade-end: 24px; -webkit-mask-image: linear-gradient(var(--color-ink) 0, var(--color-ink) calc(100% - var(--fade)), transparent calc(100% - var(--fade-end))); mask-image: linear-gradient(var(--color-ink) 0, var(--color-ink) calc(100% - var(--fade)), transparent calc(100% - var(--fade-end))); }
.film-on .is-stacked .demo-mask { --fade: 106px; --fade-end: 56px; }
/* not drawn until the film script has placed it (it sets the opacity itself), so it can never show at the stage's corner while the page loads */
.film-on .product-layer { position: absolute; left: 0; top: 0; padding: 0; width: 880px; will-change: transform; transform-origin: 50% 50%; opacity: 0; }
.film-on .product { max-width: none; }
.film-on .product, .film-on .app { height: 100%; }
.film-on .trades .ghost { display: grid; }
.film-on .demo-note { position: absolute; z-index: 4; left: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); bottom: var(--space-xl); width: clamp(280px, 26vw, 400px); max-width: none; margin: 0; padding: 0; justify-content: space-between; opacity: 0; }
.film-on .is-stacked .demo-note { bottom: var(--space-md); }
.film-on .beats { display: block; position: absolute; z-index: 4; left: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); top: calc(50% + 32px); width: clamp(280px, 26vw, 400px); height: 0; }
.film-on .is-stacked .beats { top: calc(64px + max(32px, 5svh)); width: min(calc(100% - 2 * var(--gutter)), 760px); }
.film-on .is-stacked .beat { transform: none; }
.film-on .is-stacked .beat p { max-width: 52ch; }
.beat { position: absolute; left: 0; top: 0; transform: translateY(-50%); display: grid; gap: var(--space-md); }
.beat h2 { font-size: var(--text-section); font-weight: 600; letter-spacing: var(--tracking-display); line-height: 1.05; text-wrap: balance; }
.beat p { color: var(--color-ink-2); font-size: var(--text-lead); max-width: 30ch; }
.film-on .beat { opacity: 0; }

/* ---------- chapters below the film ---------- */
.chapter { padding-block: var(--section-gap); }
#access { display: grid; align-content: center; }
.chapter h2 { font-size: var(--text-section); font-weight: 600; letter-spacing: var(--tracking-display); line-height: 1.05; max-width: 18ch; text-wrap: balance; }
.chapter .lede { color: var(--color-ink-2); font-size: var(--text-lead); max-width: 44ch; margin-top: var(--space-md); }
.team { margin-top: var(--space-2xl); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); list-style: none; padding: 0; }
.team li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: var(--space-md); align-items: center; }
.team img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.team b { display: block; font-size: var(--text-title); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.team span { color: var(--color-ink-2); font-size: var(--text-sm); }

.access { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: start; }
.access h2 { font-size: var(--text-section); }
/* the closing beat: the card the page opened with, small and at rest beside the ask, at the hero's angle */
.access { grid-template-rows: auto 1fr; }
.access > .form { grid-column: 2; grid-row: 1 / span 2; }
.ask-echo { grid-column: 1; grid-row: 2; margin: 0; display: grid; justify-items: start; align-content: start; gap: var(--space-md); perspective: 1600px; perspective-origin: 30% 50%; }
.ask-echo img { width: min(100%, 340px); height: auto; border-radius: var(--radius-card); transform-origin: 0 50%; transform: rotateY(15deg) rotateX(3deg); box-shadow: 0 0 0 1px color-mix(in oklab, var(--color-ink) 10%, transparent), 0 34px 60px -30px color-mix(in oklab, var(--color-ink) 45%, transparent), 0 10px 20px -12px color-mix(in oklab, var(--color-ink) 30%, transparent); }
.ask-echo figcaption { color: var(--color-muted); font-size: var(--text-xs); }
.signin-line { color: var(--color-ink-2); }
.signin-line a { display: inline-block; padding-block: var(--space-2xs); color: var(--color-ink); font-weight: 600; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.signin-line a:hover { text-decoration-thickness: 2px; color: var(--color-ink); }
.signin-line a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: 4px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.field { display: grid; gap: var(--space-2xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.field--wide { grid-column: 1 / -1; }
.field input, .field select { min-height: 52px; border-radius: var(--radius-inner); border: 1px solid var(--color-muted); background: var(--color-paper-2); color: var(--color-ink); padding: 0 var(--space-md); font-size: var(--text-md); font-family: inherit; transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.field input, .field select { width: 100%; min-width: 0; box-sizing: border-box; }
.field select { appearance: none; -webkit-appearance: none; padding-right: var(--space-2xl); cursor: pointer; }
.field--select { position: relative; }
.field--select::after { content: ""; position: absolute; right: var(--space-md); bottom: 22px; width: 8px; height: 8px; border-right: 1.5px solid var(--color-ink-2); border-bottom: 1.5px solid var(--color-ink-2); transform: rotate(45deg); pointer-events: none; }
.field input:hover, .field select:hover { border-color: var(--color-ink-2); }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -1px; }
.field input:disabled, .field select:disabled { opacity: 0.55; cursor: not-allowed; }
.form__foot { grid-column: 1 / -1; display: flex; gap: var(--space-lg); align-items: center; flex-wrap: wrap; margin-top: var(--space-sm); }
.form__foot .btn { min-height: 52px; padding: 0 var(--space-xl); }
.form__note { flex-basis: 100%; }
.form__after { flex-basis: 100%; color: var(--color-muted); font-size: var(--text-sm); }
.form__legal { flex-basis: 100%; color: var(--color-muted); font-size: var(--text-sm); }
.consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: var(--space-sm); color: var(--color-ink-2); font-size: var(--text-sm); line-height: 1.5; cursor: pointer; }
.consent[hidden], .form__legal[hidden] { display: none; }
.consent input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--color-ink); cursor: pointer; }
.consent input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.consent input:disabled { opacity: 0.55; cursor: not-allowed; }
.consent a, .form__legal a { color: var(--color-ink); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.consent a:hover, .form__legal a:hover { text-decoration-thickness: 2px; }
.consent a:focus-visible, .form__legal a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: 4px; }
.form__note { color: var(--color-muted); font-size: var(--text-xs); min-height: 1lh; }

/* the footer: the wordmark on the left gutter, the page's four sections and its four links as two columns out to the right gutter,
   then a hairline and the copyright line. Its links answer the pointer the way the header's do. */
.foot { padding-block: var(--space-3xl) var(--space-xl); border-top: 1px solid var(--color-rule); }
.foot .container { display: grid; gap: var(--space-2xl); }
.foot__mast { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: start; column-gap: var(--space-3xl); row-gap: var(--space-xl); }
.foot__home { justify-self: start; display: block; border-radius: var(--radius-inner); }
.foot__home svg { display: block; height: clamp(2.75rem, 5vw, 4.5rem); width: auto; }
.foot__home:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 6px; }
.foot__nav { display: grid; justify-items: start; }
.foot__nav a { position: relative; display: inline-flex; align-items: center; min-height: 40px; color: var(--color-ink-2); text-decoration: none; font-size: var(--text-md); white-space: nowrap; transition: color var(--dur-short) var(--ease-out); }
.foot__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform var(--dur-long) var(--ease-out); }
.foot__nav a:hover { color: var(--color-ink); }
.foot__nav a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.foot__nav a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: 4px; }
.foot__row { padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); color: var(--color-muted); font-size: var(--text-sm); }
@media (max-width: 47.5rem) {
  .foot { padding-block: var(--space-2xl) var(--space-xl); }
  .foot .container { gap: var(--space-xl); }
  .foot__mast { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--space-lg); }
  .foot__home { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .foot__nav a, .foot__nav a::after { transition: none; } }

/* ---------- deck paper: the cream slides, as a scoped theme block (section and nav only) ---------- */
.paper-slide { --color-paper: var(--slide-paper); --color-paper-2: var(--slide-paper-2); --color-ink: var(--slide-ink); --color-ink-2: var(--slide-ink-2); --color-muted: var(--slide-muted); --color-rule: var(--slide-rule); --color-focus: var(--slide-focus); background: var(--color-paper); color: var(--color-ink); }
.chapter h3 { font-size: var(--text-title); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }

/* the living water: a short film of each picture, cut out with the picture's own shape (the script sets the mask from the still)
   and laid exactly over it. It fades in once it can play; the still stays underneath, so a missing film changes nothing. */
.ill { position: relative; aspect-ratio: 4 / 3; }
.ill img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.water { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; opacity: 0; pointer-events: none; transition: opacity 0.3s linear; -webkit-mask-size: calc(100% - 2px) calc(100% - 2px); mask-size: calc(100% - 2px) calc(100% - 2px); -webkit-mask-position: center; mask-position: center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.is-live > .water { opacity: 1; }

/* ---------- pails, pools and ponds, the ocean ---------- */
.idea__head { display: grid; gap: var(--space-md); }
.idea__head h2.idea__title { max-width: none; font-size: var(--text-display-s); font-weight: 600; letter-spacing: var(--tracking-display); line-height: 1.04; text-wrap: initial; }
.idea__title > span { display: block; }
.idea__title > span + span { color: var(--color-muted); }
@media (min-width: 64rem) { .idea__title > span { white-space: nowrap; } }
.idea__head .lede { margin: 0; font-size: var(--text-lead); }
.three { list-style: none; margin: var(--space-2xl) 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr); gap: 0 var(--space-2xl); }
.three__col { position: relative; display: grid; grid-template-rows: auto auto 1fr; justify-items: center; text-align: center; gap: var(--space-sm); padding-top: var(--space-3xl); border-top: 1px solid var(--color-rule); }
.three__col p { color: var(--color-ink-2); max-width: 30ch; }
/* PreBLD sits on the red rule, the middle of the row, as on the deck's slide */
.three__col--us { border-top-color: transparent; }
.three__col--us::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--color-accent); transform-origin: 50% 50%; }
.three__lockup { position: absolute; top: 0; left: 50%; translate: -50% -50%; width: min(76%, 330px); height: auto; padding: 0 var(--space-lg); background: var(--color-paper); overflow: visible; }
.three__lockup { --wing: var(--slide-paper); }
/* one stage height for every picture; each set is drawn inside a group that keeps its own shape and fits the stage, so the row scales as one */
.stagebox { position: relative; width: 100%; height: clamp(200px, 23.5vw, 340px); margin-bottom: var(--space-md); container-type: size; --grow: 1; }
.group { position: absolute; left: 50%; bottom: 0; translate: -50% 0; aspect-ratio: 16 / 10; width: min(calc(100cqw * var(--grow)), 160cqh); }
/* side by side, the pictures are let out past their columns into the gaps, so each is about a third larger */
@media (min-width: 60.01rem) { .stagebox--pails, .stagebox--ocean { --grow: 1.3; } .stagebox--pond { --grow: 1.12; } }
/* the two outer pictures are larger than their columns. They grow toward the middle of the row and stop at the page's gutters:
   each group is hung past its column's outer edge by the clear margin its picture carries (the left pail about a tenth of the
   group's width, the ocean about a fourteenth), so what is drawn ends on the gutter and the pictures keep their size. */
@media (min-width: 60.01rem) { .stagebox--pails .group { left: 0; translate: -10% 0; } .stagebox--ocean .group { left: auto; right: 0; translate: 7% 0; } }
.group > * { position: absolute; }
.group img { display: block; width: 100%; height: auto; }
.pail--c { left: 28%; width: 44%; bottom: 0; aspect-ratio: 640 / 603; }
.pail--l { left: 6%; width: 27%; bottom: 6%; }
.pail--r { right: 7%; width: 23%; bottom: 10%; }
.ponds-ill { left: 4%; width: 92%; bottom: 0; aspect-ratio: 640 / 480; }
.ocean-ill { left: 6%; width: 88%; bottom: 0; aspect-ratio: 640 / 480; }
/* each picture sits on the paper: a soft shadow under it, drawn on the group so it stays put */
.group::after { content: ""; position: absolute; inset: 0 0 -8% 0; z-index: -1; pointer-events: none; --sh: color-mix(in oklab, var(--slide-ink) 17%, transparent); background: radial-gradient(closest-side, var(--sh), transparent) 50% 94.2% / 70% 12% no-repeat; }
.stagebox--pails .group::after { background: radial-gradient(closest-side, var(--sh), transparent) 50% 97.3% / 36% 10% no-repeat, radial-gradient(closest-side, var(--sh), transparent) 10.9% 89.8% / 22% 7% no-repeat, radial-gradient(closest-side, var(--sh), transparent) 88.9% 85.4% / 19% 6% no-repeat; }
/* the row plays once: the pails land one at a time, the red rule draws out from the middle and PreBLD lands on it,
   the ponds open out from where their streams meet, and the ocean drifts in wide and slow.
   .is-armed is the start; the transitions live on .is-play. */
.three.is-armed .group > *, .three.is-armed .group::after, .three.is-armed .three__lockup { opacity: 0; }
.three.is-armed .pail { translate: 0 -30%; }
.three.is-armed .ponds-ill { opacity: 1; scale: 0.92; clip-path: circle(0% at 50% 56%); }
.three.is-armed .ocean-ill { translate: 24% 0; }
.three.is-armed .three__col--us::before { scale: 0 1; }
.three.is-armed .three__lockup { transform: translateY(12px); }
.three.is-play .group > * { opacity: 1; translate: none; scale: none; transition: opacity 0.4s var(--ease-out), translate 0.6s var(--ease-out), scale 0.9s var(--ease-out), clip-path 0.9s var(--ease-out); }
.three.is-play .pail--l { transition-delay: 0.16s; }
.three.is-play .pail--r { transition-delay: 0.32s; }
.three.is-play .group::after { opacity: 1; transition: opacity 0.6s var(--ease-out) 0.4s; }
.three.is-play .three__col--us::before { scale: 1 1; transition: scale 0.6s var(--ease-out) 0.45s; }
.three.is-play .three__lockup { opacity: 1; transform: none; transition: opacity 0.5s var(--ease-out) 0.7s, transform 0.5s var(--ease-out) 0.7s; }
.three.is-play .ponds-ill { clip-path: circle(80% at 50% 56%); transition-delay: 0.8s; }
.three.is-play .ocean-ill { transition: opacity 0.6s var(--ease-out) 0.5s, translate 1.4s var(--ease-out) 0.5s; }

/* ---------- the network: pail, pool, pond, pinned ---------- */
.network { padding-block: var(--section-gap); background: var(--color-paper); }
.network__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: center; }
.network__art { position: relative; aspect-ratio: 4 / 3; }
.network__copy { position: relative; display: grid; gap: var(--space-xl); }
.network__copy h2 { font-size: var(--text-section); font-weight: 600; letter-spacing: var(--tracking-display); line-height: 1.05; max-width: 18ch; text-wrap: balance; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-lg); }
.step { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); column-gap: var(--space-sm); align-items: baseline; }
.step b { grid-column: 2; font-size: var(--text-title); font-weight: 600; letter-spacing: -0.015em; }
.step__n { grid-row: 1 / span 2; font-size: var(--text-title); font-weight: 600; color: var(--color-wordmark-red); font-variant-numeric: tabular-nums; }
.step p { grid-column: 2; color: var(--color-ink-2); margin-top: var(--space-2xs); max-width: 40ch; }

.film-on .network__stage { display: grid; align-items: center; }
.film-on .net-map { opacity: 0; }
.film-on .step b { color: var(--color-ink-2); transition: color var(--dur-long) var(--ease-out); }
.film-on .step p { color: var(--color-muted); transition: color var(--dur-long) var(--ease-out); }
.film-on .step.is-on b { color: var(--color-ink); }
.film-on .step.is-on p { color: var(--color-ink-2); }
.steps-wrap { position: relative; }

/* the region map from the film, labels removed: one firm, then many, then the pond */
.net-map { border-radius: var(--radius-card); overflow: hidden; background: var(--color-surround); isolation: isolate; }
.net-map__zoom { position: absolute; inset: 0; transform-origin: 22.2% 64.8%; overflow: hidden; z-index: 1; }
.net-map { position: absolute; inset: 0; }
.net-us { position: absolute; inset: 0; opacity: 0; }
.net-us svg { position: absolute; inset: 0; width: 100%; height: 100%; --k: 1; }
.us-land { fill: var(--color-paper-3); }
.us-lines { fill: none; stroke: var(--color-muted); stroke-opacity: 0.45; stroke-width: calc(1px / var(--k)); stroke-linejoin: round; }
.city__pond { fill: var(--color-pond); fill-opacity: 0; stroke: var(--color-pond-dot); stroke-width: calc(2.2px / var(--k)); stroke-dasharray: 1; stroke-dashoffset: 1; }
.city--home .city__pond { stroke: var(--color-wordmark-red); stroke-width: calc(2px / var(--k)); }
.city__you { fill: var(--color-wordmark-red); opacity: 0; }
.net-map__zoom { will-change: transform, opacity; }
.map-tag--world { left: var(--space-md); top: var(--space-md); font-weight: 700; }
.show-world .map-tag--world { opacity: 1; }
html:not(.film-on) .net-us, html:not(.film-on) .map-tag--world { display: none; }
.net-map__zoom img, .net-map__zoom svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pond { fill: var(--color-pond); fill-opacity: 0; stroke: var(--color-wordmark-red); stroke-width: 5; stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linejoin: round; }
.map-tag { position: absolute; z-index: 2; font-size: var(--text-sm); color: var(--color-ink); background: color-mix(in oklab, var(--color-surround) 82%, transparent); padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-inner); white-space: nowrap; opacity: 0; transition: opacity var(--dur-long) var(--ease-out); }
.map-tag--you { left: 22.2%; top: 64.8%; transform: translate(var(--space-lg), -50%); }
.map-tag--anon { left: 55.6%; top: 59.3%; transform: translate(var(--space-lg), -50%); }
.map-tag--pond { left: 27%; top: 36%; font-weight: 700; }
.show-you .map-tag--you, .show-anon .map-tag--anon, .show-pond .map-tag--pond { opacity: 1; }
.map-range { position: absolute; z-index: 2; left: var(--space-md); top: var(--space-md); width: min(16rem, 60%); display: grid; gap: var(--space-xs); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-inner); background: color-mix(in oklab, var(--color-surround) 86%, transparent); font-size: var(--text-sm); opacity: 0; transition: opacity var(--dur-long) var(--ease-out); }
.show-range .map-range { opacity: 1; }
.map-range__note { color: var(--color-muted); font-size: var(--text-xs); }
.map-credit { position: absolute; z-index: 2; right: var(--space-sm); bottom: var(--space-xs); font-size: var(--text-xs); color: var(--color-muted); }
html:not(.film-on) .network__grid { grid-template-columns: minmax(0, 1fr); }
html:not(.film-on) .network__art { aspect-ratio: 16 / 9; }
html:not(.film-on) .network__copy { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; gap: var(--space-2xl); }
html:not(.film-on) .map-tag--pond { left: 33%; top: 40%; }
@media (max-width: 60rem) { html:not(.film-on) .network__copy { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } html:not(.film-on) .network__art { aspect-ratio: 4 / 3; } }
/* without the film all four steps show at once. On a wide screen they stand in one row under the heading, each under its own
   hairline, so no column is left empty beside them. */
@media (min-width: 60.01rem) {
  html:not(.film-on) .network__copy { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  html:not(.film-on) .network__copy h2 { max-width: none; }
  html:not(.film-on) .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl); }
  html:not(.film-on) .step { grid-template-columns: minmax(0, 1fr); align-content: start; row-gap: var(--space-2xs); padding-top: var(--space-md); border-top: 1px solid var(--color-rule); }
  html:not(.film-on) .step__n { grid-row: auto; }
  html:not(.film-on) .step b, html:not(.film-on) .step p { grid-column: 1; }
}
html:not(.film-on) .pond { fill-opacity: 0.28; stroke-dashoffset: 0; }
html:not(.film-on) .map-tag--pond, html:not(.film-on) .map-range { opacity: 1; }

/* ---------- the takeaway: two ways, then a third ---------- */
.takeaway__head { max-width: 22ch; }
.ways-wrap { margin-top: var(--space-2xl); }
.ways { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.ways th, .ways td { text-align: left; vertical-align: top; padding: var(--space-lg) var(--space-lg) var(--space-lg) 0; border-top: 1px solid var(--color-rule); font-size: var(--text-lg); letter-spacing: -0.01em; line-height: 1.3; font-weight: 400; }
.ways thead th, .ways thead td { border-top: 0; padding-block: var(--space-lg); font-size: var(--text-title); font-weight: 600; letter-spacing: -0.015em; }
.ways tbody th { color: var(--color-muted); font-size: var(--text-sm); font-weight: 400; letter-spacing: 0; padding-top: calc(var(--space-lg) + 0.3em); width: 16%; }
.ways-wrap { position: relative; padding-block: var(--space-lg); }
.ways .ways__c0 { width: 16%; } .ways .ways__c3 { width: 32%; }
.ways__panel { position: absolute; top: 0; bottom: 0; right: 0; width: 32%; border-radius: var(--radius-card); background: var(--slide-ink); box-shadow: 0 30px 60px -28px var(--color-shadow-deep); }
.ways { position: relative; }
.ways .us { color: var(--slide-paper); padding-inline: var(--space-xl); border-top-color: color-mix(in oklab, var(--slide-paper) 18%, transparent); font-weight: 600; font-size: var(--text-title); letter-spacing: -0.015em; }
.ways thead .us { padding-bottom: var(--space-md); }
.ways tbody tr:first-child .us { border-top-color: color-mix(in oklab, var(--slide-paper) 18%, transparent); }
.ways__logo { display: block; width: min(100%, 200px); height: auto; overflow: visible; }
.ways__logo { --color-ink: var(--slide-paper); --color-paper-3: var(--slide-paper); --wing: var(--slide-paper); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* ---------- the real screen ---------- */

/* ---------- the story: $2M ---------- */
.story { position: relative; overflow: hidden; padding-block: var(--section-gap); background: var(--color-paper); }
.story__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: center; }
.story__copy { display: grid; gap: var(--space-lg); }
.story__fig { font-size: clamp(3rem, 5.6vw, 6rem); font-weight: 700; letter-spacing: -0.045em; line-height: 0.95; max-width: 12ch; }
.story__money { color: var(--color-wordmark-red); font-variant-numeric: tabular-nums; margin: 0; }
.story__fig h2 { font-size: var(--text-section); font-weight: 700; letter-spacing: var(--tracking-display); line-height: 1; margin-top: var(--space-2xs); }
/* $2M rolls straight to its digit, never through decimals */
.roll { display: inline-block; height: 0.95em; overflow: hidden; vertical-align: bottom; line-height: 0.95; }
.roll__strip { display: grid; transform: translateY(-1.9em); }
.roll__strip > span { height: 0.95em; }
.js .story.is-armed:not(.is-roll) .roll__strip { transform: translateY(0); }
.js .story.is-armed .roll__strip { transition: transform 1.1s var(--ease-out) 0.15s; }
.js .story.is-late .roll__strip { transition-delay: 0.45s; }
.story__chart { margin: 0; }
.story__chart svg { width: 100%; height: auto; overflow: visible; font-family: var(--font-body); }
.story__chart text { fill: var(--color-muted); font-size: 24px; text-anchor: middle; }
.story__chart .axis, .story__chart .tick line { stroke: var(--color-rule); stroke-width: 2; }
.gut circle { fill: var(--color-ink); }
.gut__line { stroke: var(--color-ink-2); stroke-width: 2.5; stroke-dasharray: 0.012 0.008; }
.story__chart .gut text { fill: var(--color-ink); font-size: 30px; font-weight: 600; text-anchor: start; }
.bar__base { fill: color-mix(in oklab, var(--color-ink) 16%, var(--color-paper)); stroke: var(--color-muted); stroke-width: 2; }
.bar__over { fill: url(#hatch); stroke: var(--color-wordmark-red); stroke-width: 2; }
.hatch { stroke: var(--color-wordmark-red); stroke-width: 3; }
.story__chart .gap-label { fill: var(--color-wordmark-red); font-size: 28px; font-weight: 700; text-anchor: end; }
.span path { fill: none; stroke: var(--color-rule); stroke-width: 2; }
.story__chart .span text { font-size: 24px; }
.stamp rect { fill: var(--color-paper); stroke: var(--color-wordmark-red); stroke-width: 3.5; }
.story__chart .stamp text { fill: var(--color-wordmark-red); font-size: 30px; font-weight: 700; letter-spacing: 0.12em; }
.story__chart .stamp .stamp__sub { font-size: 19px; font-weight: 600; letter-spacing: 0; }
/* the chart draws itself once: the months and the gut line, both bids up from the axis, the overage up from the gut line,
   then two stamps that land hard at 1.2 and 1.45 s */
.story__chart.is-armed .tick, .story__chart.is-armed .gut, .story__chart.is-armed .gap-label, .story__chart.is-armed .span { opacity: 0; transition: opacity 0.4s var(--ease-out); }
.story__chart.is-armed .gut__line { clip-path: inset(0 100% 0 0); transition: clip-path 0.5s var(--ease-out) 0.05s; }
.story__chart.is-armed .bar rect { transform-box: view-box; transform-origin: 0 400px; transform: scaleY(0); transition: transform 0.5s var(--ease-out); }
.story__chart.is-armed .bar .bar__over { transform-origin: 0 170px; transition-duration: 0.4s; }
.story__chart.is-armed .stamp { opacity: 0; scale: 1.3; transform-box: fill-box; transform-origin: center; transition: opacity 0.08s linear, scale 0.2s cubic-bezier(0.2, 0.9, 0.3, 1); }
.story__chart.is-play .tick, .story__chart.is-play .gut, .story__chart.is-play .span { opacity: 1; }
.story__chart.is-play .tick { transition-delay: calc(var(--t) * 18ms); }
.story__chart.is-play .gut__line { clip-path: inset(0 0 0 0); }
.story__chart.is-play .bar rect { transform: none; transition-delay: calc(0.35s + var(--b) * 0.12s); }
.story__chart.is-play .bar .bar__over { transition-delay: calc(0.75s + var(--b) * 0.12s); }
.story__chart.is-play .gap-label { opacity: 1; transition-delay: 0.95s; }
.story__chart.is-play .stamp { opacity: 1; scale: 1; }
.story__chart.is-play .stamp--a { transition-delay: 1.2s; }
.story__chart.is-play .stamp--b { transition-delay: 1.45s; }
.story .lede { color: var(--color-ink-2); font-size: var(--text-lead); max-width: 44ch; }
.story__end { font-size: var(--text-title); font-weight: 700; letter-spacing: -0.02em; }
.story__src { color: var(--color-muted); font-size: var(--text-sm); }

/* ---------- builders ---------- */
.builders { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; }
.builders__say { display: grid; gap: var(--space-xl); }
.builders h2 { max-width: 16ch; }
.builders .team { margin: 0; grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
.builders .team { gap: var(--space-lg); }
.builders .team li { grid-template-columns: 88px minmax(0, 1fr); gap: var(--space-lg); }
.builders .team img { width: 88px; height: 88px; }
.builders__show { display: grid; gap: var(--space-lg); justify-items: start; }
.builders__via { color: var(--color-muted); font-size: var(--text-sm); margin-top: var(--space-md); }
.builders__logos { display: block; width: min(100%, 280px); height: auto; filter: grayscale(1); opacity: 0.85; margin-top: calc(-1 * var(--space-sm)); }
.film-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--space-md) var(--space-md); color: var(--color-ink); text-decoration: none; }
.film-card img { grid-column: 1 / -1; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: var(--radius-card); }
.film-card__play { position: relative; width: 56px; height: 56px; border-radius: 50%; background: var(--color-accent); display: grid; place-items: center; transition: transform var(--dur-long) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.film-card__play svg { width: 26px; height: 26px; fill: var(--color-accent-ink); margin-left: var(--space-2xs); }
.film-card__label { grid-row: 2; grid-column: 2; display: grid; gap: var(--space-3xs); }
.film-card__label b { font-size: var(--text-title); font-weight: 600; letter-spacing: -0.015em; }
.film-card__label span { color: var(--color-ink-2); font-size: var(--text-sm); }
.film-card:hover .film-card__play { transform: scale(1.08); background: var(--color-wordmark-red); }
.film-card:active .film-card__play { transform: scale(0.97); }
.film-card:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 6px; border-radius: var(--radius-card); }
.film-card__play { grid-row: 2; grid-column: 1; }

/* three entrances by role, 0.5 s each, all visible without scripts */
/* headlines: each line rises once from a mask (the words of a line share one delay) */
.ln { display: inline-block; clip-path: inset(-0.06em -0.12em -0.16em -0.12em); }
.ln__i { display: inline-block; }
.js .lines:not(.is-split) { visibility: hidden; }
.js .lines .ln__i { transform: translateY(122%); transition: transform 0.5s var(--ease-out); transition-delay: calc(var(--l, 0) * 70ms); }
.js .lines.is-in .ln__i { transform: none; }
/* rows: a short lift, 60 ms apart inside a cascade */
.js .rise, .js .cascade > * { opacity: 0; transform: translateY(12px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.js .rise { transition-delay: calc(var(--i, 0) * 60ms); }
.js .cascade > * { transition-delay: calc(var(--k, 0) * 60ms); }
.js .rise.is-in, .js .cascade.is-in > * { opacity: 1; transform: none; }
.js .rise:focus-within, .js .cascade:focus-within > * { opacity: 1; transform: none; transition: none; }
/* objects: arrive from 97% while their shadow blooms under them */
.js .arrive { opacity: 0; transform: scale(0.97); transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out); }
.js .arrive.is-in { opacity: 1; transform: none; }

@media (max-width: 60rem) {
  .js .nav__menu { display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin-right: calc(-1 * var(--space-xs)); padding: 0; border: 1px solid transparent; border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
  .nav__menu svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; }
  .nav__menu path { transform-box: fill-box; transform-origin: 50% 50%; transition: transform var(--dur-short) var(--ease-out); }
  .nav.is-open .nav__menu path:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav.is-open .nav__menu path:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav__menu:hover, .nav.is-open .nav__menu { background: color-mix(in oklab, var(--color-ink) 10%, transparent); border-color: var(--color-rule); }
  .nav__menu:active { transform: scale(0.96); }
  .nav__menu:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
  html:not(.js) .nav__more { display: none; }
  .js .nav__more { display: grid; position: absolute; left: 0; right: 0; top: 100%; padding: var(--space-xs) var(--gutter) var(--space-md); background: var(--color-paper); box-shadow: 0 1px 0 var(--color-rule), 0 24px 40px -24px var(--color-shadow-deep); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out), visibility 0s linear var(--dur-short); }
  .js .nav.is-open .nav__more { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav__more .nav__link { min-height: 48px; font-size: var(--text-md); color: var(--color-ink); border-top: 1px solid var(--color-rule); }
  .nav__more .nav__link::after { display: none; }
  .access, .builders, .network__grid { grid-template-columns: minmax(0, 1fr); }
  .access > .form, .ask-echo { grid-column: auto; grid-row: auto; }
  .ask-echo img { width: 240px; }
  .team { grid-template-columns: minmax(0, 1fr); }
  .three { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
  .form { grid-template-columns: minmax(0, 1fr); }
  .idea__head { grid-template-columns: minmax(0, 1fr); }
  .story__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  :root { --section-gap: 88px; }
  .nav__links { gap: var(--space-md); }
  .network, .story { padding-block: var(--space-3xl); }
  /* the comparison stays a table, set small */
  .ways th, .ways td { font-size: var(--text-xs); line-height: 1.35; padding: var(--space-sm) var(--space-xs) var(--space-sm) 0; overflow-wrap: anywhere; hyphens: auto; }
  .ways thead th { font-size: var(--text-xs); line-height: 1.25; }
  .ways tbody th { font-size: var(--text-xs); padding-top: var(--space-sm); }
  .ways .us { padding-inline: var(--space-xs); font-size: var(--text-xs); }
  .ways__panel { border-radius: var(--radius-inner); }
  .ways .ways__c0 { width: 19%; } .ways .ways__c3 { width: 30%; } .ways__panel { width: 30%; }
  .ways-wrap { padding-block: var(--space-sm); }
  /* the pails row: each picture beside its words, PreBLD's row on the red rule */
  .three { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: var(--space-xl); }
  .three__col { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: auto 1fr; column-gap: var(--space-md); row-gap: var(--space-2xs); justify-items: start; text-align: left; align-items: start; padding-block: var(--space-xl) var(--space-lg); }
  .three__col .stagebox { grid-row: 1 / span 2; margin: 0; height: auto; aspect-ratio: 16 / 10; }
  .three { grid-template-columns: minmax(0, 1fr); }
  .three__col h3, .three__col p { grid-column: 2; }
  .three__col h3 { align-self: end; }
  .three__col--us { padding-top: var(--space-2xl); }
  .three__lockup { width: min(62%, 220px); }
  .story__grid { gap: var(--space-xl); }
  .story__chart svg { margin-inline: calc(-1 * var(--space-xs)); width: calc(100% + 2 * var(--space-xs)); }
  .story__chart text, .story__chart .span text { font-size: 34px; }
  .story__chart .gut text { font-size: 38px; }
  .story__chart .gap-label { font-size: 36px; }
  .story__chart .tick:not(:nth-child(3n+1 of .tick)) text { display: none; }
  html:not(.film-on) .network__art { margin-bottom: 120px; }
  html:not(.film-on) .map-range { top: auto; bottom: -112px; left: 0; width: 100%; }
  html:not(.film-on) .net-map { overflow: visible; }
  html:not(.film-on) .net-map__zoom { border-radius: var(--radius-card); overflow: hidden; }
  .map-tag--pond { top: 24%; left: 20%; }
  html:not(.film-on) .map-credit { bottom: -136px; right: 0; }
  html:not(.film-on) .network__copy { order: -1; }
}
/* ---------- the film on a phone: one column, composed for the hand ---------- */
@media (max-width: 47.5rem) {
  /* the session: the estimate on top, the question and its choices under it */
  .app { border-radius: 16px; }
  .app__bar { height: 44px; padding: 0 var(--space-md); }
  .app__body { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .est { order: 1; padding: var(--space-md) var(--space-md) var(--space-sm); }
  .range, .likely { margin-top: var(--space-sm); }
  .likely b { font-size: 1.375rem; }
  .trades__head { margin-top: var(--space-sm); padding-top: var(--space-sm); }
  .trades li { grid-template-columns: 9.5em minmax(0, 1fr) 3.6em; min-height: 28px; font-size: var(--text-xs); }
  .app__chat { order: 2; border-right: 0; border-top: 1px solid var(--color-card-rule); padding: var(--space-sm) var(--space-md) var(--space-md); gap: var(--space-xs); }
  .msg { font-size: var(--text-xs); }
  .opts { padding-left: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs); }
  .opt { min-height: 30px; padding: 0 var(--space-sm); font-size: 12px; }
  .film-on .product-layer { width: 358px; }
  .film-on .trades li:nth-child(n+4) { display: none; }
  .film-on .app__chat { padding-bottom: var(--space-4xl); }
  .film-on .msg--first, .film-on .msg--out, .film-on .app__chat .msg__av { display: none; }
  .film-on .app__chat .msg--in { grid-template-columns: minmax(0, 1fr); }
  .film-on .pointer { display: none; }
  .film-on .is-stacked .beats { top: calc(64px + 16px); }
  .film-on .beat h2 { font-size: clamp(1.75rem, 7.4vw, 2.25rem); }
  .film-on .beat p { font-size: var(--text-md); }
  .film-on .demo-note { font-size: 11px; gap: var(--space-sm); }
}
/* a short phone: the captions keep their headline and the estimate two trades, so the choices stay on screen */
@media (max-width: 47.5rem) and (max-height: 740px) {
  .film-on .beat p { display: none; }
  .film-on .trades li:nth-child(n+3) { display: none; }
  /* the pinned network: map on top, one step's words at a time */
  .film-on .network__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); align-content: center; }
  .film-on .network__copy { gap: var(--space-md); }
  .film-on .network__copy h2 { font-size: clamp(1.6rem, 6.6vw, 2rem); }
  .film-on .steps { gap: var(--space-sm); }
  .film-on .step b { font-size: var(--text-lg); }
  .film-on .map-range { width: 62%; padding: var(--space-xs) var(--space-sm); font-size: var(--text-xs); }
  .film-on .map-tag { font-size: 11px; }
  .film-on .map-tag--anon { left: 46%; }
  .film-on .map-tag--pond { top: auto; bottom: 16%; left: 30%; }
  .film-on .map-credit { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .rise, .js .cascade > *, .js .arrive, .js .lines .ln__i { opacity: 1; transform: none; transition: none; }
  .js .arrive::before { opacity: 1; transition: none; }
  .js .ways-wrap .ways { clip-path: none; }
  .js .ways-wrap .ways .us, .js .ways-wrap .ways__panel { opacity: 1; transform: none; }
  .opt, .btn, .nav__link, .nav__link::after, .nav__home, .film-card__play, .step { transition: none; }
  .btn:hover, .nav__home:hover { transform: none; }
  .story__chart *, .three__lockup { transition: none; }
  .btn--primary::before { transition: none; }
  .map-tag, .map-range { transition: none; }
}

/* ---------- investor pass v14: the first screen, the market, the ask ---------- */

.market { background: var(--color-paper); }
.market__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--space-2xl); row-gap: var(--space-xl); align-items: start; }
.market__copy h2 { max-width: 14ch; }
.market__figs { margin: 0; display: grid; gap: var(--space-xl); }
.market__fig { display: flex; flex-direction: column-reverse; gap: var(--space-sm); padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); }
.market__fig dd { margin: 0; }
.market__fig dt { color: var(--color-ink-2); font-size: var(--text-lead); max-width: 36ch; }
.market__n { display: block; font-size: var(--text-figure); font-weight: 700; letter-spacing: -0.045em; line-height: 0.95; font-variant-numeric: tabular-nums; }
.market__fig--lead .market__n { font-size: clamp(3.75rem, 9.4vw, 9rem); }
.market__src { grid-column: 2; color: var(--color-muted); font-size: var(--text-sm); max-width: 62ch; }

.ask { grid-column: 1 / -1; justify-self: start; display: inline-flex; gap: var(--space-2xs); padding: var(--space-2xs); border: 1px solid var(--color-muted); border-radius: var(--radius-pill); margin-bottom: var(--space-xs); }
.ask__opt { position: relative; isolation: isolate; min-height: 44px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-ink-2); font-family: inherit; font-size: var(--text-sm); font-weight: 600; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
/* the switch: a dark thumb sits under the chosen side. The chosen side never moves; when the pointer is over the other side
   the thumb leans toward it (its outer edge stays where it is), and that side's label comes up to full ink. */
.ask__opt::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--color-ink); opacity: 0; transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.ask__opt:first-child::before { transform-origin: 0 50%; }
.ask__opt:last-child::before { transform-origin: 100% 50%; }
.ask__opt[aria-pressed="true"] { color: var(--color-paper); }
.ask__opt[aria-pressed="true"]::before { opacity: 1; }
@media (hover: hover) {
  .ask__opt[aria-pressed="false"]:hover { color: var(--color-ink); }
  .ask:has(.ask__opt[aria-pressed="false"]:hover) .ask__opt[aria-pressed="true"]::before { transform: scaleX(1.09); }
}
.ask__opt:active { transform: scale(0.97); }
.ask__opt:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.ask__opt:disabled { opacity: 0.55; cursor: not-allowed; }
.field[hidden] { display: none; }

@media (max-width: 60rem) {
  .market__grid { grid-template-columns: minmax(0, 1fr); }
  .market__src { grid-column: 1; }
}
@media (max-width: 47.5rem) {
  .ask__opt { padding: 0 var(--space-md); }
}

/* ---------- investor pass v14, after the blind critique ---------- */
.nav__home { --wing: var(--slide-paper); }
.nav.is-top .btn--primary { background: transparent; border-color: var(--color-muted); color: var(--color-ink); }
.nav.is-top .btn--primary:hover { border-color: transparent; color: var(--color-accent-ink); }
.nav.is-top .btn--primary::before { background: var(--color-accent); }
.net-map__zoom { --m: 0; -webkit-mask-image: radial-gradient(closest-side, var(--color-ink) calc(150% - 105% * var(--m)), transparent calc(165% - 65% * var(--m))); mask-image: radial-gradient(closest-side, var(--color-ink) calc(150% - 105% * var(--m)), transparent calc(165% - 65% * var(--m))); }
.network__grid, .builders { align-items: start; }
.chapter h2.takeaway__head { max-width: none; }
@media (max-width: 47.5rem) {
  .three__col--us { margin-top: var(--space-xl); }
}
.ways td { text-wrap: balance; }
@media (max-width: 47.5rem) {
  /* the product at a size a phone can read: the range card, running off the right edge */
  .story__chart .stamp .stamp__sub { display: none; }
  .story__chart .stamp text { translate: 0 12px; }
}

/* ---------- v15 2026-11-13: the app tour, the watch button, the video ---------- */
.market__fig dt { max-width: 46ch; }
.btn--play { position: relative; isolation: isolate; overflow: hidden; gap: var(--space-xs); border-color: var(--color-muted); background: transparent; color: var(--color-ink); font-family: inherit; transition: color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
/* the outlined pill floods with the ink colour (cream on the night ground), starting at its glyph; the label and the glyph turn dark */
.btn--play::before { content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--color-ink); clip-path: circle(0% at 2.25rem 50%); transition: clip-path var(--dur-short) var(--ease-in-out); }
.btn--play svg { width: 18px; height: 18px; fill: currentColor; margin-left: calc(-1 * var(--space-2xs)); }
@media (hover: hover) {
  .btn--play:hover { border-color: var(--color-ink); color: var(--color-paper); }
  .btn--play:hover::before { clip-path: circle(150% at 2.25rem 50%); }
}
.btn--play:active { transform: translateY(1px); }

.tour__tab { display: grid; gap: var(--space-3xs); width: 100%; min-height: 44px; padding: var(--space-md) 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.tour__tab b { font-size: var(--text-lg); font-weight: 600; letter-spacing: -0.01em; color: var(--color-ink-2); transition: color var(--dur-short) var(--ease-out); }
.tour__tab span { color: var(--color-muted); max-width: 40ch; transition: color var(--dur-short) var(--ease-out); }
.tour__step.is-on .tour__tab b, .tour__tab:hover b { color: var(--color-ink); }
.tour__step.is-on .tour__tab span, .tour__tab:hover span { color: var(--color-ink-2); }
/* a step that is not showing draws the red rule across its top border under the pointer: the rule its screen fills while it shows,
   and the one it keeps when chosen, so choosing it changes nothing but the screen */
.tour__step:not(.is-on) .tour__bar { transition: transform var(--dur-short) var(--ease-in-out); }
@media (hover: hover) { .tour__step:not(.is-on):hover .tour__bar { transform: scaleX(1); } }
.tour__tab:active b { color: var(--color-ink-2); }
.tour__tab:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: 4px; }
.tour__bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: 0 50%; }

.tour__toggle { flex: none; display: inline-flex; align-items: center; min-height: 32px; padding: 0 var(--space-md); border-radius: var(--radius-pill); border: 1px solid var(--color-rule); background: transparent; color: var(--color-ink-2); font: inherit; font-size: var(--text-xs); font-weight: 600; cursor: pointer; transition: border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.tour__toggle:hover { border-color: var(--color-ink); color: var(--color-paper); background: var(--color-ink); }
.tour__toggle:active { transform: scale(0.97); }
.tour__toggle:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.tour__toggle[hidden] { display: none; }

.watch { width: min(1100px, 100% - 2 * var(--gutter), (100svh - 148px) * 16 / 9); max-width: none; padding: 0; border: 0; overflow: visible; border-radius: var(--radius-card); background: var(--color-surround); color: var(--color-ink); box-shadow: 0 40px 120px -30px var(--color-shadow-deep), 0 0 0 1px var(--color-rule); }
.watch::backdrop { background: color-mix(in oklab, var(--color-surround) 86%, transparent); }
.watch[open] { animation: watch-in var(--dur-long) var(--ease-out); }
@keyframes watch-in { from { opacity: 0; transform: translateY(10px) scale(0.985); } to { opacity: 1; transform: none; } }
.watch__stage { display: grid; aspect-ratio: 16 / 9; border-radius: inherit; overflow: hidden; }
.watch__stage iframe, .watch__stage video { display: block; width: 100%; height: 100%; border: 0; background: var(--color-surround); }
.watch__empty { place-self: center; display: grid; justify-items: center; gap: var(--space-sm); padding: var(--space-xl); text-align: center; color: var(--color-ink-2); }
.watch__mark { width: 56px; height: 56px; --wing: var(--slide-paper); }
.watch__title { color: var(--color-ink); font-size: var(--text-title); font-weight: 600; letter-spacing: -0.015em; }
.watch__close { position: absolute; right: 0; top: calc(-44px - var(--space-xs)); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--color-muted); background: var(--color-surround); color: var(--color-ink); cursor: pointer; transition: border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.watch__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.watch__close:hover { border-color: var(--color-ink); }
.watch__close:active { transform: scale(0.95); }
.watch__close:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }

@media (max-width: 47.5rem) {
  .watch__empty { padding: var(--space-md); gap: var(--space-2xs); font-size: var(--text-sm); }
  .watch__mark { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .tour__scene, .tour__tab b, .tour__tab span, .tour__toggle, .watch__close, .btn--play { transition: none; }
  .watch[open] { animation: none; }
  .btn--play:hover { transform: none; }
}

/* ---------- v16 2026-11-13: the tour shows the live app, whole window, on its own stage ---------- */
.tour { display: grid; gap: var(--space-xl); }
.tour__head h2 { max-width: none; }
.tour__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-lg); }
.tour__step { position: relative; border-top: 1px solid var(--color-rule); }
.tour__tab b { font-size: var(--text-md); }
.tour__tab span { font-size: var(--text-sm); }
.tour__shot { margin: 0; display: grid; gap: var(--space-sm); width: min(100%, max(40rem, (100svh - 19rem) * 1.6)); }
.tour__frame { position: relative; grid-area: 1 / 1; aspect-ratio: 16 / 10; border-radius: var(--radius-card); overflow: hidden; isolation: isolate; background: var(--color-app-paper); box-shadow: 0 0 0 1px var(--color-rule); }
.tour__shot::before, .demo::before { content: ""; grid-area: 1 / 1; border-radius: var(--radius-card); box-shadow: 0 40px 80px -30px var(--color-shadow-deep); pointer-events: none; }
.tour__shot figcaption, .demo figcaption { grid-row: 2; }
.js .arrive::before { opacity: 0; transition: opacity 0.8s var(--ease-out) 0.15s; }
.js .arrive.is-in::before { opacity: 1; }
.tour__scene { position: absolute; inset: 0; opacity: 0; }
.tour__scene.is-on { opacity: 1; }
.tour__scene picture { display: contents; }
.tour__scene img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; transform-origin: 50% 0; }
.tour__shot figcaption { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); color: var(--color-muted); font-size: var(--text-xs); }
/* ---------- the demo video, in the page (v19 2026-11-14): same width and edge as the stills below it ---------- */
.demo { margin: 0; display: grid; gap: var(--space-sm); width: min(100%, max(40rem, calc((100svh - 10rem) * 16 / 9))); }
.demo__frame { position: relative; grid-area: 1 / 1; aspect-ratio: 16 / 9; border-radius: var(--radius-card); overflow: hidden; isolation: isolate; background: var(--color-surround); box-shadow: 0 0 0 1px var(--color-rule); }
.demo__frame video { display: block; width: 100%; height: 100%; background: var(--color-surround); }
.demo__poster { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.demo__poster picture { display: contents; }
.demo__poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.demo__poster::after { content: ""; position: absolute; inset: 0; background: color-mix(in oklab, var(--color-surround) 34%, transparent); transition: background var(--dur-short) var(--ease-out); }
.demo__poster:hover::after { background: color-mix(in oklab, var(--color-surround) 20%, transparent); }
.demo__play { position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; background: var(--color-ink); color: var(--color-surround); box-shadow: 0 16px 40px -12px var(--color-shadow-deep); transition: transform var(--dur-short) var(--ease-out); }
.demo__play svg { width: 34px; height: 34px; fill: currentColor; margin-left: 5px; }
.demo__poster:hover .demo__play { transform: scale(1.06); }
.demo__poster:active .demo__play { transform: scale(0.97); }
.demo__poster:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -4px; border-radius: var(--radius-card); }
.demo__time { position: absolute; right: var(--space-md); bottom: var(--space-md); z-index: 1; padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-surround) 82%, transparent); color: var(--color-ink); font-size: var(--text-xs); font-weight: 600; font-variant-numeric: tabular-nums; }
.demo__note { display: none; }
.demo--off .demo__poster { cursor: default; }
.demo--off .demo__play, .demo--off .demo__time { display: none; }
.demo--off .demo__poster::after, .demo--off .demo__poster:hover::after { background: color-mix(in oklab, var(--color-surround) 80%, transparent); }
.demo--off .demo__note { position: absolute; left: 50%; top: 50%; z-index: 1; display: block; width: min(34ch, 80%); transform: translate(-50%, -50%); color: var(--color-ink); font-size: var(--text-md); text-align: center; }
.demo figcaption { color: var(--color-muted); font-size: var(--text-xs); }
@media (max-width: 60rem) {
  .tour__steps { grid-template-columns: minmax(0, 1fr); gap: 0; order: 3; }
  .tour__shot { width: 100%; order: 2; }
  .demo { width: 100%; }
  .tour__tab { padding: var(--space-sm) 0; }
  .tour__tab b { font-size: var(--text-lg); }
  .tour__tab span { font-size: var(--text-md); }
}
@media (max-width: 47.5rem) {
  .tour__frame { aspect-ratio: 1; }
  .demo__play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .demo__play svg { width: 26px; height: 26px; margin-left: 4px; }
  .demo__time { top: var(--space-sm); right: var(--space-sm); bottom: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .demo__play, .demo__poster::after { transition: none; }
  .demo__poster:hover .demo__play, .demo__poster:active .demo__play { transform: none; }
}

/* ---------- motion pass, phase 1 (2026-11-14): everything below the film ---------- */
/* sheets: a cream section arrives as a sheet of paper over the night, and the night comes back over the cream the same way.
   The section itself is clear; ::after is the sheet with its rounded top, ::before the ground it slides over.
   Where the browser can tie an animation to the scroll, the sheet starts a little low and catches up as it enters. */
:root { --ground-night: var(--color-paper); --sheet-r: 28px; --sheet-lag: 96px; }
.sheet { position: relative; isolation: isolate; view-timeline: --sheet block; }
.sheet::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 180px; background: var(--sheet-under); z-index: -2; }
.sheet::after { content: ""; position: absolute; inset: 0; border-radius: var(--sheet-r) var(--sheet-r) 0 0; background: var(--sheet-ground); z-index: -1; }
.paper-slide.sheet { background: none; --sheet-ground: var(--slide-paper); --sheet-under: var(--ground-night); }
.sheet--night { background: none; --sheet-ground: var(--ground-night); --sheet-under: var(--slide-paper); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .sheet::after { animation: sheet-up linear both; animation-timeline: --sheet; animation-range: entry 0% cover 28%; }
  }
}
@keyframes sheet-up { from { transform: translateY(var(--sheet-lag)); } to { transform: none; } }
@media (max-width: 47.5rem) { :root { --sheet-r: 20px; --sheet-lag: 56px; } }

/* the market's two figures: each hairline draws, then its digits roll up the way the demo's do (0.7 s, last digit first).
   .is-armed is the start, .is-play the end; the transitions live on .is-play only, so leaving resets at once. */
.market__fig { position: relative; border-top-color: transparent; }
.market__fig::before { content: ""; position: absolute; inset: -1px 0 auto 0; height: 1px; background: var(--color-rule); transform-origin: 0 50%; }
.mo { display: inline-flex; }
.mo__c { display: block; height: 0.95em; overflow: clip; }
.mo__s { display: grid; transform: translateY(calc((10 + var(--to)) * -0.95em)); }
.mo__s > span { height: 0.95em; }
.market__fig { --at: 0ms; } .market__fig + .market__fig { --at: 220ms; }
.is-armed .market__fig::before { transform: scaleX(0); }
.is-armed .mo { opacity: 0; }
.is-armed .mo__s { transform: translateY(calc((6 + var(--to)) * -0.95em)); }
.is-armed dt { opacity: 0; transform: translateY(8px); }
.is-play .market__fig::before { transform: none; transition: transform 0.5s var(--ease-out) var(--at); }
.is-play .mo { opacity: 1; transition: opacity 0.3s linear calc(var(--at) + 150ms); }
.is-play .mo__s { transform: translateY(calc((10 + var(--to)) * -0.95em)); transition: transform 0.7s cubic-bezier(0.3, 0.75, 0.1, 1) calc(var(--at) + 150ms + var(--k) * 45ms); }
.is-play dt { opacity: 1; transform: none; transition: opacity 0.5s var(--ease-out) calc(var(--at) + 350ms), transform 0.5s var(--ease-out) calc(var(--at) + 350ms); }

/* the pails row on a phone: each picture full width over its words, not a thumbnail beside them */
@media (max-width: 40rem) {
  .three__col { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; row-gap: var(--space-2xs); }
  .three__col .stagebox { grid-row: auto; aspect-ratio: 16 / 10; margin-bottom: var(--space-sm); }
  .three__col h3, .three__col p { grid-column: 1; }
}

/* the network: the map takes most of the width (never taller than the screen), and its copy shows one step at a time */
@media (min-width: 60.01rem) {
  .network__grid { grid-template-columns: minmax(0, 13fr) minmax(0, 7fr); }
  .network__art { width: min(100%, calc((100svh - 11rem) * 4 / 3)); justify-self: center; }
  /* one step shows at a time, so the words are the shorter column: they sit level with the middle of the map, with no empty block under them */
  .film-on .network__copy { align-self: center; }
}
.film-on .steps { display: grid; }
.film-on .step { grid-area: 1 / 1; opacity: 0; transform: translateY(10px); transition: opacity 0.3s var(--ease-out), transform 0.5s var(--ease-out); }
.film-on .step.is-on { opacity: 1; transform: none; transition-delay: 0.12s; }

/* the comparison: the two old ways draw in from the left, then PreBLD's column arrives last. It is still one table. */
.ways thead .us { --r: 0; } .ways tbody tr:nth-child(1) .us { --r: 1; } .ways tbody tr:nth-child(2) .us { --r: 2; } .ways tbody tr:nth-child(3) .us { --r: 3; }
.js .ways-wrap .ways { clip-path: inset(0 100% 0 0); }
.js .ways-wrap .ways .us { opacity: 0; transform: translateY(8px); }
.js .ways-wrap .ways__panel { opacity: 0; transform: translateX(28px) scale(0.97); }
.js .ways-wrap.is-in .ways { clip-path: inset(0 0 0 0); transition: clip-path 0.7s var(--ease-out); }
.js .ways-wrap.is-in .ways__panel { opacity: 1; transform: none; transition: opacity 0.5s var(--ease-out) 0.55s, transform 0.6s var(--ease-out) 0.55s; }
.js .ways-wrap.is-in .ways .us { opacity: 1; transform: none; transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); transition-delay: calc(0.75s + var(--r) * 60ms); }

/* the tour: screens change the way the app moves. The range and the trades are one page, so that pair scrolls a screenful;
   any other change is a short push, the old screen out of the way before the new one settles. Waiting screens do not animate. */
.tour__frame { --x: 3.5%; --y: 100%; }
.tour__frame[data-dir="back"] { --x: -3.5%; --y: -100%; }
.tour__frame[data-move="push"] .tour__scene { transform: translateX(var(--x)); }
.tour__frame[data-move="push"] .tour__scene.is-out { transform: translateX(calc(var(--x) * -1)); transition: opacity 0.16s linear, transform 0.4s var(--ease-out); }
.tour__frame[data-move="push"] .tour__scene.is-on { transform: none; transition: opacity 0.28s var(--ease-out) 0.1s, transform 0.4s var(--ease-out) 0.1s; }
.tour__frame[data-move="scroll"] .tour__scene { transform: translateY(var(--y)); }
.tour__frame[data-move="scroll"] .tour__scene.is-out { opacity: 1; transform: translateY(calc(var(--y) * -1)); transition: transform 0.6s var(--ease-in-out), opacity 0s linear 0.6s; }
.tour__frame[data-move="scroll"] .tour__scene.is-out:not(.is-on) { opacity: 0; }
.tour__frame[data-move="scroll"] .tour__scene.is-on { transform: none; transition: transform 0.6s var(--ease-in-out); }
@media (prefers-reduced-motion: reduce) {
  .tour__frame[data-move] .tour__scene, .tour__frame[data-move] .tour__scene.is-on, .tour__frame[data-move] .tour__scene.is-out { transform: none; transition: none; }
}
/* the demo's cover: a clean frame of the estimate with nothing laid over it. The play disc is dark, so it reads on the light
   screen without a shade, and it sits with the running time at the left, over the chat column and clear of the figures. */
.demo__poster::after, .demo__poster:hover::after { background: none; }
.demo__play { left: clamp(20px, 3.4%, 48px); margin-left: 0; background: var(--color-surround); color: var(--color-ink); box-shadow: 0 0 0 1px color-mix(in oklab, var(--color-ink) 22%, transparent), 0 16px 40px -12px var(--color-shadow-deep); }
.demo__time { left: clamp(20px, 3.4%, 48px); right: auto; top: calc(50% + 58px); bottom: auto; width: 88px; text-align: center; background: var(--color-surround); }
/* wide screens: the frame of the tour keeps its left edge on the gutter and its five steps stand beside it, out to the right gutter,
   so the section's heading, video, frame and steps share the page's two edges */
@media (min-width: 75rem) {
  .tour { grid-template-columns: minmax(0, 1fr) minmax(16rem, 19rem); column-gap: var(--space-xl); }
  .tour__head, .demo { grid-column: 1 / -1; }
  .tour__shot { grid-column: 1; grid-row: 3; width: min(100%, max(40rem, calc((100svh - 12rem) * 1.6))); }
  .tour__steps { grid-column: 2; grid-row: 3; align-self: start; grid-template-columns: minmax(0, 1fr); gap: 0; }
}
/* on a phone the shade is too narrow for the disc, so it sits in the clear space to the right of the total, dark on the white card */
@media (max-width: 47.5rem) { .demo__play { left: 66%; top: 66%; width: 56px; height: 56px; margin: -28px 0 0 -28px; background: var(--color-surround); color: var(--color-ink); } .demo__time { left: calc(66% + 36px); top: calc(66% - 12px); width: auto; } }

/* the builders: larger portraits that open one after another, each followed by its line */
.builders .team li { grid-template-columns: 128px minmax(0, 1fr); }
.builders .team img { width: 128px; height: 128px; }
.js .team.cascade > li { opacity: 1; transform: none; }
.js .team.cascade img { clip-path: circle(0% at 50% 50%); transition: clip-path 0.6s var(--ease-out) calc(var(--k) * 140ms); }
.js .team.cascade p { opacity: 0; transform: translateY(8px); transition: opacity 0.5s var(--ease-out) calc(var(--k) * 140ms + 160ms), transform 0.5s var(--ease-out) calc(var(--k) * 140ms + 160ms); }
.js .team.cascade.is-in img { clip-path: circle(50% at 50% 50%); }
.js .team.cascade.is-in p { opacity: 1; transform: none; }
@media (max-width: 47.5rem) { .builders .team li { grid-template-columns: 96px minmax(0, 1fr); gap: var(--space-md); } .builders .team img { width: 96px; height: 96px; } }
/* the ask, once it has gone: the fields lock and the note under the button becomes the answer */
.form.is-sent .form__note { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-md); border: 1px solid var(--color-rule); border-radius: var(--radius-inner); background: var(--color-paper-2); color: var(--color-ink); font-size: var(--text-sm); animation: note-in 0.5s var(--ease-out) both; }
.form.is-sent .form__note::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--color-ink); }
@keyframes note-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .team.cascade img { clip-path: none; transition: none; } .js .team.cascade p { opacity: 1; transform: none; transition: none; }
  .form.is-sent .form__note { animation: none; }
}

/* phone fixes inside sections this pass touched: the pond's label keeps clear of the range card, and PreBLD's column breaks between words */
@media (max-width: 47.5rem) {
  .film-on .map-tag--pond { top: auto; bottom: 24%; left: 28%; }
  .ways .us { hyphens: manual; overflow-wrap: normal; }
}

/* ---------- phase 2: the menu and the hover answers under reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .nav__menu, .nav__menu path, .js .nav__more, .tour__toggle { transition: none; }
  .js .nav__more { transform: none; }
  /* the hover answers still happen, at once: nothing sweeps, floods or leans */
  .btn--play, .btn--play::before, .ask__opt::before, .tour__step:not(.is-on) .tour__bar { transition: none; }
  .ask:has(.ask__opt[aria-pressed="false"]:hover) .ask__opt[aria-pressed="true"]::before { transform: none; }
  /* two phase-1 resets sat above the rules they were meant to cancel, so the table's last column and the shadow under an arriving
     object still waited for the scroll and then faded in. Here, after those rules, they hold. */
  .js .ways-wrap .ways { clip-path: none; transition: none; }
  .js .ways-wrap .ways .us, .js .ways-wrap .ways__panel { opacity: 1; transform: none; transition: none; }
  .js .arrive::before { opacity: 1; transition: none; }
}

/* ---------- after the blind critic's second pass ---------- */
/* the film card's poster holds a card-coloured ground while its picture loads, so a slow phone never shows a hole there */
.film-card img { background: var(--color-paper-2); }
/* on a phone the header sits over running text: a little more ground so headings do not read through it */
@media (max-width: 47.5rem) { .nav { background: color-mix(in oklab, var(--color-paper) 94%, transparent); } }

/* ---------- polish 2026-11-15: a narrow phone restacks the comparison ---------- */
/* Under 600 px four columns do not fit, so each way is read on its own: its name, then its three answers with the row's name beside
   each, PreBLD last in its dark panel. It is still one table: the rows and cells keep their roles (written out in the markup) and
   their order in the page; only their boxes are re-flowed. */
@media (max-width: 37.5rem) {
  .ways { display: grid; grid-template-columns: minmax(0, 1fr); }
  .ways colgroup, .ways__panel { display: none; }
  .ways thead, .ways tbody, .ways tr { display: contents; }
  .ways tbody tr:nth-child(1) { --row: 1; } .ways tbody tr:nth-child(2) { --row: 2; } .ways tbody tr:nth-child(3) { --row: 3; }
  /* the empty corner and the row names are not drawn (each answer carries its row's name), but they are still read out */
  .ways thead td, .ways tbody th { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .ways thead th { display: block; width: auto; padding: var(--space-lg) 0 var(--space-2xs); border-top: 1px solid var(--color-rule); font-size: var(--text-lg); line-height: 1.2; }
  .ways thead th:nth-child(2) { order: 10; border-top: 0; padding-top: 0; } .ways thead th:nth-child(3) { order: 20; margin-top: var(--space-md); } .ways thead th:nth-child(4) { order: 30; }
  .ways tbody td { display: grid; grid-template-columns: 5.25rem minmax(0, 1fr); column-gap: var(--space-sm); align-items: baseline; width: auto; padding: var(--space-xs) 0; border-top: 0; font-size: var(--text-md); line-height: 1.35; overflow-wrap: normal; hyphens: manual; }
  .ways tbody td:nth-child(2) { order: calc(10 + var(--row)); } .ways tbody td:nth-child(3) { order: calc(20 + var(--row)); } .ways tbody td:nth-child(4) { order: calc(30 + var(--row)); }
  .ways tbody td::before { content: attr(data-label); content: attr(data-label) / ""; color: var(--color-muted); font-size: var(--text-xs); font-weight: 400; letter-spacing: 0; }
  /* PreBLD's column is its own dark panel, the last thing in the stack */
  .ways .us { background: var(--slide-ink); padding-inline: var(--space-lg); font-size: var(--text-md); }
  .ways thead .us { margin-top: var(--space-lg); padding: var(--space-lg) var(--space-lg) var(--space-sm); border-top: 0; border-radius: var(--radius-card) var(--radius-card) 0 0; }
  .ways tbody .us { font-weight: 600; }
  .ways tbody .us::before { color: color-mix(in oklab, var(--slide-paper) 62%, transparent); }
  .ways tbody tr:last-child .us { padding-bottom: var(--space-lg); border-radius: 0 0 var(--radius-card) var(--radius-card); box-shadow: 0 30px 60px -28px var(--color-shadow-deep); }
  .ways__logo { width: 132px; }
}

/* ---------- the network map, 2026-11-15: firms as pails, ponds that fill as they join, a regional number you can read ----------
   Every new name here starts with wmap-. The written state of each piece is the finished picture (pails in, pond full,
   the band at its narrowest), which is what reduced motion and a short screen show; the film's script sets everything else. */
/* a pail grows from the middle of its base: the point its group stands on, in the group's own units (a use element ignores fill-box here) */
.wmap-icon { transform-box: view-box; transform-origin: 0 28px; transform: scale(calc(var(--s, 1) * var(--wmap-k, 1))); }
.wmap-pail--you { --wmap-body: var(--color-wordmark-red); }
.wmap-ring { fill: none; stroke: var(--color-pond-dot); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; }
.wmap-water__body { fill: var(--color-pond); fill-opacity: 0.34; }
.wmap-water__line { fill: var(--color-pond-dot); fill-opacity: 0.8; }
.wmap-cfill { fill: var(--color-pond); fill-opacity: 0.42; }
/* the pond's water is its own shape now, so the shore line carries no fill of its own */
.pond, html:not(.film-on) .pond { fill-opacity: 0; }
/* the finished picture: the pond's label sits on its shore, clear of the pails */
html:not(.film-on) .map-tag--pond { top: 34%; }
.film-on .wmap-icon { transform: scale(0); transition: transform 0.5s var(--ease-out); }
.film-on .wmap-pail.is-on .wmap-icon { transform: scale(calc(var(--s, 1) * var(--wmap-k, 1))); }
.film-on .wmap-pail.is-joined .wmap-ring { animation: wmap-ripple 1.1s var(--ease-out) both; }
@keyframes wmap-ripple { from { opacity: 0.85; transform: scale(0.3); } to { opacity: 0; transform: scale(1.45); } }

/* the regional number: larger, a band that narrows between the words Low and High, which ride its two ends */
.map-range.wmap-range { width: clamp(13.5rem, 46%, 22rem); gap: var(--space-xs); padding: var(--space-md) var(--space-md) var(--space-sm); background: color-mix(in oklab, var(--color-surround) 94%, transparent); }
.wmap-range__label { font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); }
.wmap-range__row { position: relative; height: 1.125rem; margin-block: var(--space-xs) var(--space-2xs); font-size: 1.125rem; }
.wmap-range__band { position: absolute; left: 0; right: 0; top: 50%; height: 12px; margin-top: -6px; background: var(--color-accent); clip-path: inset(0 37% round 999px); }
.wmap-range__mid { position: absolute; left: 50%; top: 50%; width: 3px; height: 22px; margin: -11px 0 0 -1.5px; border-radius: 2px; background: var(--color-ink); }
.wmap-range__end { position: absolute; inset: 0; }
.wmap-range__end--lo { transform: translateX(-13%); }
.wmap-range__end--hi { transform: translateX(13%); }
.wmap-range__word { position: absolute; top: 0; font-weight: 600; line-height: 1; white-space: nowrap; color: var(--color-ink); }
.wmap-range__end--lo .wmap-range__word { right: calc(50% + 10px); }
.wmap-range__end--hi .wmap-range__word { left: calc(50% + 10px); }
.film-on .wmap-range__end { will-change: transform; }

@media (max-width: 47.5rem) {
  .wmap-pail { --wmap-k: 1.25; }
  .map-range.wmap-range { padding: var(--space-sm) var(--space-sm) var(--space-xs); }
  .wmap-range__label { font-size: var(--text-xs); }
  .wmap-range__row { height: 0.875rem; font-size: 0.875rem; }
  .wmap-range__band { height: 8px; margin-top: -4px; }
  .wmap-range__mid { height: 16px; margin-top: -8px; width: 2px; margin-left: -1px; }
  .wmap-range__end--lo .wmap-range__word { right: calc(50% + 6px); }
  .wmap-range__end--hi .wmap-range__word { left: calc(50% + 6px); }
}
/* the tags keep clear of the pails: on a wide screen "Your firm" sits a little lower, off the pail above it */
.film-on .map-tag--you { transform: translate(var(--space-lg), -25%); }
/* on a phone the pails are larger against the map, so the tags are set smaller and placed in the gaps: "Your firm" to the left of its
   pail, "Anonymized" in the opening above the middle, and the pond's label in the map's empty top corner, which it hands to the
   regional number when that arrives */
@media (max-width: 47.5rem) {
  .film-on .map-tag { font-size: 12px; padding: 2px var(--space-xs); }
  .film-on .map-tag--you { transform: translate(calc(-100% - 10px), -50%); }
  .film-on .map-tag--anon { left: 40%; top: 32.5%; transform: none; }
  .film-on .map-tag--pond { top: var(--space-sm); left: var(--space-sm); bottom: auto; }
  .film-on .show-range .map-tag--pond { opacity: 0; }
}
/* on a narrow screen without the film the number sits under the map, so the pond's label takes the map's empty top corner */
@media (max-width: 40rem) {
  html:not(.film-on) .map-tag--pond { top: var(--space-sm); left: var(--space-sm); }
}
@media (prefers-reduced-motion: reduce) {
  .wmap-icon { transition: none; }
  .wmap-ring { animation: none; }
}

/* ---------- the click-through tour (2026-11-15) ----------
   Real captures of the PreBLD app; the visitor clicks the app's own controls (real <button>s laid over each capture).
   Every class starts with ct-. Uses the site's tokens only. Wide screens: the frame on the left, the five steps beside it;
   below 75rem the steps go under the frame; phones (47.5rem and under) get 2:3 captures made for a phone. */
.ct { grid-column: 1 / -1; display: grid; gap: var(--space-lg) var(--space-xl); }
.ct-shot-wrap { margin: 0; display: grid; gap: var(--space-sm); min-width: 0; }
.ct-stage { position: relative; display: grid; }
.ct-stage::before { content: ""; grid-area: 1 / 1; border-radius: var(--radius-card); box-shadow: 0 40px 80px -30px var(--color-shadow-deep); pointer-events: none; }
.ct-frame { position: relative; grid-area: 1 / 1; aspect-ratio: 16 / 9; border-radius: var(--radius-card); overflow: hidden; isolation: isolate; background: var(--color-app-paper); box-shadow: 0 0 0 1px var(--color-rule); }

/* the captures: one is on, the next fades in over it (and moves the way the page scrolls when the app scrolls) */
.ct-shot { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; opacity: 0; pointer-events: none; user-select: none; transition: none; }
.ct-shot.is-on { opacity: 1; z-index: 1; }
.ct-shot.is-in { z-index: 2; animation: ct-in 260ms var(--ease-out) both; }
.ct-shot.is-out { z-index: 1; opacity: 1; animation: ct-out 260ms var(--ease-out) both; }
@keyframes ct-in { from { opacity: 0; transform: translateY(var(--from, 0%)); } to { opacity: 1; transform: none; } }
@keyframes ct-out { from { transform: none; } to { transform: translateY(var(--to, 0%)); } }

/* the live controls: invisible until pointed at or focused; never smaller than 24px to a pointer, 44px to a finger (phones, below) */
.ct-hots { position: absolute; inset: 0; z-index: 3; }
.ct-hot { --r: 10px; --min: 24px; --hw: max(var(--w), var(--min)); --hh: max(var(--h), var(--min));
  position: absolute; left: calc(var(--x) + (var(--w) - var(--hw)) / 2); top: calc(var(--y) + (var(--h) - var(--hh)) / 2); width: var(--hw); height: var(--hh);
  margin: 0; padding: 0; border: 0; border-radius: var(--r); background: transparent; color: inherit; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ct-hot[data-shape="pill"] { --r: 999px; }
.ct-hot[data-shape="round"] { --r: 50%; }
.ct-hot[data-shape="box"] { --r: 10px; }
.ct-hot::before { content: ""; position: absolute; inset: -3px; border-radius: inherit; box-shadow: 0 0 0 2px transparent; background: transparent; transition: box-shadow var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
@media (hover: hover) { .ct-hot:hover::before { box-shadow: 0 0 0 2px var(--color-accent); background: color-mix(in oklab, var(--color-accent) 9%, transparent); } }
.ct-hot:active::before { background: color-mix(in oklab, var(--color-accent) 16%, transparent); }
.ct-hot:focus { outline: none; }
.ct-hot:focus-visible::before { box-shadow: 0 0 0 2px var(--color-app-paper), 0 0 0 4px var(--color-focus); background: color-mix(in oklab, var(--color-accent) 9%, transparent); }
/* the one suggested next click: a soft ring that breathes outward (opacity and scale only) */
.ct-hot.is-next::before { box-shadow: 0 0 0 2px color-mix(in oklab, var(--color-accent) 70%, transparent); }
.ct-hot.is-next::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; border: 2px solid var(--color-accent); opacity: 0; pointer-events: none; animation: ct-pulse 1.8s var(--ease-out) 0.3s infinite; }
@keyframes ct-pulse { 0% { opacity: 0.85; transform: none; } 70%, 100% { opacity: 0; transform: scale(var(--sx, 1.1), var(--sy, 1.1)); } }
/* a click on a part of the screen that does nothing shows, for a moment, every part that does */
.ct-stage.is-hint .ct-hot::before { box-shadow: 0 0 0 2px var(--color-accent); background: color-mix(in oklab, var(--color-accent) 14%, transparent); }

.ct-say { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* under the frame: the caption, Back, and at the end Start over and the page's next action */
.ct-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm) var(--space-md); flex-wrap: wrap; color: var(--color-muted); font-size: var(--text-xs); line-height: 1.4; }
.ct-cap { flex: 1 1 22rem; text-wrap: pretty; }
.ct-acts { flex: none; display: inline-flex; align-items: center; gap: var(--space-xs); }
.ct-back, .ct-restart, .ct-deck { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-pill); font: inherit; font-size: var(--text-sm); font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.ct-back, .ct-restart { border: 1px solid var(--color-rule); background: transparent; color: var(--color-ink-2); }
.ct-back:disabled { opacity: 0.4; cursor: default; }
@media (hover: hover) { .ct-back:not(:disabled):hover, .ct-restart:hover { border-color: var(--color-ink); color: var(--color-ink); } }
.ct-deck { position: relative; border: 1px solid transparent; background: var(--color-accent); color: var(--color-accent-ink); }
@media (hover: hover) { .ct-deck:hover { background: color-mix(in oklab, var(--color-accent) 78%, var(--color-surround)); } }
.ct-back:not(:disabled):active, .ct-restart:active, .ct-deck:active { transform: translateY(1px); }
.ct-back:focus-visible, .ct-restart:focus-visible, .ct-deck:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.ct-back[hidden], .ct-restart[hidden], .ct-deck[hidden] { display: none; }
.ct-deck.is-next { box-shadow: 0 0 0 0 color-mix(in oklab, var(--color-accent) 55%, transparent); }
.ct-deck.is-next::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid var(--color-accent); opacity: 0; pointer-events: none; animation: ct-pulse 1.8s var(--ease-out) 0.3s infinite; --sx: 1.06; --sy: 1.18; }

/* the five steps: the map of the tour. The current one is marked; each one jumps there. */
.ct-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-lg); align-self: start; }
.ct-step { position: relative; border-top: 1px solid var(--color-rule); }
.ct-step__btn { display: grid; gap: var(--space-3xs); width: 100%; min-height: 44px; padding: var(--space-md) 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.ct-step__btn b { font-size: var(--text-md); font-weight: 600; letter-spacing: -0.01em; color: var(--color-ink-2); transition: color var(--dur-short) var(--ease-out); }
.ct-step__btn span { font-size: var(--text-sm); color: var(--color-muted); max-width: 40ch; transition: color var(--dur-short) var(--ease-out); }
.ct-step__btn[aria-current] b, .ct-step__btn:hover b { color: var(--color-ink); }
.ct-step__btn[aria-current] span, .ct-step__btn:hover span { color: var(--color-ink-2); }
.ct-step__btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: 4px; }
.ct-step__bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform var(--dur-short) var(--ease-in-out); }
.ct-step:has(> [aria-current]) .ct-step__bar { transform: scaleX(1); }
@media (hover: hover) { .ct-step:hover .ct-step__bar { transform: scaleX(1); } }
/* when the next click is a step (the phone's way from the total to the trades), that step's rule breathes */
.ct-step.is-next .ct-step__bar { transform: scaleX(1); animation: ct-bar 1.8s var(--ease-out) 0.3s infinite; }
@keyframes ct-bar { 0% { opacity: 1; } 70% { opacity: 0.25; } 100% { opacity: 1; } }

/* wide screens: the frame keeps the page's left edge and the steps stand beside it, out to the right gutter */
@media (min-width: 75rem) {
  .ct { grid-template-columns: minmax(0, 1fr) minmax(16rem, 19rem); }
  .ct-shot-wrap { grid-column: 1; grid-row: 1; width: min(100%, max(40rem, calc((100svh - 12rem) * 16 / 9))); }
  .ct-steps { grid-column: 2; grid-row: 1; grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 60rem) {
  .ct-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ct-step__btn { padding: var(--space-sm) 0; }
  .ct-step__btn b { font-size: var(--text-lg); }
  .ct-step__btn span { font-size: var(--text-md); }
}
/* phones: the app's phone layout, or the part of a wide capture that matters, at a size that reads */
@media (max-width: 47.5rem) {
  .ct-frame { aspect-ratio: 2 / 3; container-type: size; }
  .ct-hot { --min: 44px; }
  /* the PDF preview is a wide capture: on a phone it keeps its height (so its figures read) and the visitor swipes across it */
  .ct-frame.is-pan { overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; }
  .ct-frame.is-pan::-webkit-scrollbar { display: none; }
  .ct-frame.is-pan .ct-shot--fit, .ct-frame.is-pan .ct-hots { right: auto; width: calc(100cqh * 1212 / 682); max-width: none; }
  .ct-bar { align-items: flex-start; }
  .ct-acts { width: 100%; justify-content: flex-end; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .ct-shot.is-in, .ct-shot.is-out { animation: none; }
  .ct-hot::before, .ct-step__bar, .ct-step__btn b, .ct-step__btn span, .ct-back, .ct-restart, .ct-deck { transition: none; }
  .ct-hot.is-next::after, .ct-deck.is-next::after { animation: none; opacity: 0.9; transform: none; }
  .ct-step.is-next .ct-step__bar { animation: none; }
}

/* ---------- the network map's two wider views, 2026-11-16: after the national picture the camera pulls back to the
   neighbouring country (drawn in the US map's own projection, so the border lines up), then to the world ---------- */
.net-us svg { overflow: visible; --na: 0; }
.wmap-na { opacity: var(--na); }
.wmap-inset { opacity: calc(1 - var(--na)); }
.us-lines.wmap-border { stroke-opacity: 0.7; }
.net-world { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform-origin: 0 0; }
.net-world svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; --k: 1; }
.net-world .us-lines { stroke-width: calc(0.55px / var(--k)); stroke-opacity: 0.35; }
.net-world .city__pond { stroke-width: calc(1.25px / var(--k)); }
.wmap-p--home.city__pond { stroke: var(--color-wordmark-red); }
.wmap-you { fill: var(--color-wordmark-red); }
.wmap-p .wmap-cfill, .wmap-p .city__pond, .wmap-p.city__pond { visibility: hidden; }
.map-tag--na, .map-tag--globe { left: var(--space-md); top: var(--space-md); font-weight: 700; }
.show-na .map-tag--na, .show-globe .map-tag--globe { opacity: 1; }
html:not(.film-on) .net-world, html:not(.film-on) .map-tag--na, html:not(.film-on) .map-tag--globe { display: none; }
/* the street-map credit belongs to the region picture; the two wider views hold none of it */
.map-credit { transition: opacity var(--dur-short) var(--ease-out); }
.show-na .map-credit, .show-globe .map-credit { opacity: 0; }
@media (max-width: 47.5rem) { .net-world .wmap-p { transform-box: fill-box; transform-origin: center; transform: scale(1.3); } }
@media (prefers-reduced-motion: reduce) { .map-credit { transition: none; } }
