/* The Aera landing, "Statements" (2026-11-02). Each product and each guarantee is one large, plain sentence with its
   live proof beneath it, set on the ordinary Aera ground with generous space and no panels. Colour carries meaning
   only: mint for bids, up, live lamps, targets, passed checks, the one filled action, text links and the brand words
   in the hero and close; pink for asks; amber for stale data; Bitcoin orange only for Bitcoin's own blocks. Five
   things move: the hero landscape of the live book (landingRidge.js, the one frame loop), the ticker, the merged-mining
   band while on screen, the statements and figures (the book opening at its spread among them) telling their stories on
   scroll timelines, and the book's change glow. Under reduced motion everything stands still or finished. */
.landing[hidden] { display: none; }
.landing {
  --g: clamp(20px, 4vw, 64px);
  --lb-max: 1440px;
  /* One page grid: twelve columns between the gutters. */
  --lb-cols: repeat(12, minmax(0, 1fr));
  --lb-gap: clamp(24px, 2.6vw, 40px);
  background: var(--ground-fill); color: var(--text);
}
.landing ::selection { background: var(--selection); color: var(--on-selection); }

/* ---------- Type ---------- */
.lb-display {
  margin: 0; font: 520 clamp(3.25rem, 8.4vw, 7rem)/.96 var(--font-display); font-stretch: 100%;
  letter-spacing: -.036em; text-wrap: balance; color: var(--text);
}
#lb-title > span { display: block; }
#lb-title .lb-title-work { color: var(--positive); }
.lb-say {
  margin: 0; max-width: 16ch; font: 520 clamp(2.25rem, 5.1vw, 4.625rem)/1.02 var(--font-display); font-stretch: 100%;
  letter-spacing: -.032em; text-wrap: balance; color: var(--text);
}
.lb-lede { margin: 0; max-width: 34ch; color: var(--text-soft); font: 400 clamp(1.0625rem, 1.35vw, 1.3125rem)/1.5 var(--font-sans); text-wrap: balance; }
.lb-proof { margin: 0; color: var(--text-soft); font: 400 clamp(1.125rem, 1.5vw, 1.375rem)/1.4 var(--font-sans); text-wrap: pretty; }
.lb-fig { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Before a feed arrives a figure holds a quiet placeholder; a last-known value whose feed is interrupted stays readable, dimmed. */
.lb-fig:not([data-value]) { color: var(--rule-bright); }
.lb-fig[data-stale="true"] { color: var(--text-muted); }
/* Loaded, but nothing worth saying yet (no stablecoin volume, no note trades): the sentence steps aside. */
.lb-proof[data-state="none"] { display: none; }
.lb-support { margin: 0; max-width: 44ch; color: var(--text-soft); font: 400 1.0625rem/1.6 var(--font-sans); text-wrap: pretty; }
.lb-mint { color: var(--positive); }
.lb-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lb-btn svg { flex: none; transition: transform 200ms cubic-bezier(.2, .8, .2, 1); }
.lb-btn:hover svg { transform: translateX(3px); }

/* ---------- Hero: the headline centred over the live book drawn as land, with the ticker on the fold ---------- */
.lb-hero { display: grid; grid-template-rows: auto minmax(200px, 1fr) auto; min-height: calc(100svh - var(--aera-sticky-height, 54px)); }
.lb-hero-copy {
  position: relative; z-index: 1; display: grid; justify-items: center; align-content: center; gap: clamp(24px, 2.4vw, 36px);
  padding: clamp(48px, 9vh, 112px) var(--g) clamp(8px, 2vh, 24px); text-align: center;
}
/* The landscape (landingRidge.js): rows of lamps in bid and ask colours, the cumulative depth of the live book. */
.lb-ridge { position: relative; min-height: 0; margin: 0; }
.lb-ridge canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
/* Without WebGL the landscape steps aside entirely and the copy takes the hero. */
.lb-ridge[data-run="off"] { display: none; }
.lb-hero:has(> .lb-ridge[data-run="off"]) { grid-template-rows: minmax(0, 1fr) auto; }
.lb-ridge-label {
  position: absolute; left: 50%; bottom: 12px; display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 5px 10px;
  border-radius: 3px; background: rgb(var(--ground-rgb) / .78); color: var(--text-muted); transform: translateX(-50%);
  font: 400 .75rem/1 var(--fontfam-term); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.lb-ridge-label::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--rule-bright); }
.lb-ridge-label[data-state="live"]::before { background: var(--positive); }
.lb-ridge-label[data-state="stale"]::before { background: var(--network-label); }
.lb-ridge-label:is([data-state="waiting"], [data-state="soon"]) { visibility: hidden; }
.lb-ridge-mid { color: var(--text); }
.lb-hero-copy .lb-btn { margin-top: clamp(4px, 1vw, 12px); }
.lb-hero-foot { display: flex; align-items: stretch; min-width: 0; border-top: 1px solid var(--terminal-rule); }
.lb-hero-foot .lb-ticker { flex: 1; min-width: 0; }
.lb-hero-foot .lb-live { flex: none; margin: 0; padding: 0 20px 0 var(--g); border-right: 1px solid var(--terminal-rule); border-bottom: 1px solid var(--terminal-rule); }
.lb-live { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font: 400 .75rem/1 var(--fontfam-term); white-space: nowrap; }
.lb-live::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--rule-bright); }
.lb-live[data-state="live"]::before { background: var(--positive); }
.lb-live[data-state="stale"] { color: var(--network-label); }
.lb-live[data-state="stale"]::before { background: var(--network-label); }

/* Ticker: the top spot and note markets by 24h volume, each a real link to its book. Shared with Trading's header. */
.lb-ticker { position: relative; overflow: hidden; height: 44px; border-bottom: 1px solid var(--terminal-rule); }
.lb-ticker-track { display: flex; width: max-content; height: 100%; animation: lb-marquee 105s linear infinite; }
.lb-ticker:is(:hover, :focus-within) .lb-ticker-track { animation-play-state: paused; }
.lb-tape { display: flex; align-items: center; gap: 36px; height: 100%; margin: 0; padding: 0 18px 0 36px; list-style: none; }
.lb-tape li { display: flex; align-items: center; height: 100%; white-space: nowrap; }
.lb-tape-label { color: var(--text-muted); font-family: var(--fontfam-term); font-size: .6875rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.lb-tick { display: inline-flex; align-items: center; gap: 10px; height: 100%; color: var(--text-muted); font-size: .8125rem; text-decoration: none; border-radius: 3px; }
.lb-tick:hover { color: var(--text); text-decoration: none; }
.lb-tick:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.lb-tick-pair { font-weight: 500; }
.lb-tick-value { color: var(--text); font-family: var(--fontfam-term); font-weight: 500; }
.lb-tick-change { font-family: var(--fontfam-term); font-style: normal; }
.lb-tick-change[data-tone="up"] { color: var(--positive); }
.lb-tick-change[data-tone="down"] { color: var(--danger-soft); }
.lb-tick-stale { color: var(--network-label); font-family: var(--fontfam-term); font-size: .625rem; text-transform: uppercase; letter-spacing: .04em; }
.landing .lb-tick-stale { font-size: .6875rem; }
.lb-tick[data-stale="true"] .lb-tick-value { color: var(--text-soft); }
@keyframes lb-marquee { to { transform: translateX(-50%); } }

/* ---------- Statements ---------- */
/* The sentence spans the page; beneath it the proof, one supporting sentence and the way in sit beside a still figure. */
.lb-statement {
  display: grid; grid-template-columns: minmax(0, 1fr); row-gap: clamp(32px, 3.6vw, 56px); align-items: start;
  max-width: var(--lb-max); margin: 0 auto; padding: clamp(104px, 13vw, 208px) var(--g) 0;
}
.lb-statement-body { display: grid; justify-items: start; align-content: start; gap: 18px; min-width: 0; }
.lb-statement-body .lb-proof + .lb-support { margin-top: 2px; }
.lb-link, .lb-coming--cta { margin-top: 6px; }
.lb-art { margin: 0; min-width: 0; }
.lb-statement--minor .lb-say { max-width: 18ch; font-size: clamp(1.875rem, 3.5vw, 3.125rem); }

/* The live book: three asks, the mid and three bids, painted in place from each pushed snapshot. */
.lb-book { font-family: var(--fontfam-term); font-variant-numeric: tabular-nums; }
.lb-book-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--terminal-rule); }
.lb-book-market:hover { color: var(--positive); text-decoration: none; }
.lb-book-note { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--text-muted); font-size: .75rem; text-align: right; }
.lb-book-note::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--rule-bright); }
.lb-book[data-state="live"] .lb-book-note::before { background: var(--positive); }
.lb-book[data-state="stale"] .lb-book-note { color: var(--network-label); }
.lb-book[data-state="stale"] .lb-book-note::before { background: var(--network-label); }
.lb-book ol { margin: 0; padding: 8px 0 0; list-style: none; }
.lb-book li { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: calc(1.2em + 22px); padding: 11px 12px; isolation: isolate; overflow: clip; font-size: .9375rem; line-height: 1.2; }
/* Depth: a wash anchored at the right edge, with the Trading book's quiet 1px leading edge. It runs in the row's right
   two thirds, so its edge never crosses a price. */
.lb-book li > i { position: absolute; z-index: -1; inset: 2px 0 2px 34%; transform: translateX(calc((1 - var(--w, 0)) * 100%)); }
.lb-book .bid > i { background: rgb(var(--positive-fill-rgb) / calc(.12 * var(--positive-wash))); box-shadow: inset 1px 0 rgb(var(--positive-rgb) / .55); }
.lb-book .ask > i { background: rgb(var(--danger-soft-fill-rgb) / calc(.12 * var(--danger-soft-wash))); box-shadow: inset 1px 0 rgb(var(--danger-soft-rgb) / .55); }
.lb-book .ask { color: var(--danger-soft); }
.lb-book .bid { color: var(--positive); }
.lb-book-size { color: var(--text-soft); }
.lb-book li.empty, .lb-book li.empty .lb-book-size { color: var(--rule-bright); }
/* The spread's two rules are hairlines of their own rather than borders, so the reveal can open them from the centre. */
.lb-book .mid { margin: 8px 0; padding-block: 17px; }
.lb-book .mid::before, .lb-book .mid::after { content: ''; position: absolute; inset-inline: 0; height: 1px; background: var(--terminal-rule); }
.lb-book .mid::before { top: 0; }
.lb-book .mid::after { bottom: 0; }
.lb-book-mid { color: var(--text); font: 560 1.75rem/1 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lb-book-spread { color: var(--text-muted); font-size: .75rem; }
.lb-book[data-state="stale"] ol { opacity: .6; }

/* Drawn examples: hairline geometry in tokens, with HTML labels placed in the drawing's own coordinates. */
.lb-par-art, .lb-trigger-art { position: relative; aspect-ratio: 560 / 240; }
.lb-trigger-art { aspect-ratio: 560 / 200; }
:is(.lb-par-art, .lb-trigger-art) svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
:is(.lb-par-art, .lb-trigger-art) path { fill: none; vector-effect: non-scaling-stroke; }
.lb-par-grid { stroke: var(--terminal-rule); stroke-width: 1; }
.lb-par-fill { fill: rgb(var(--positive-fill-rgb) / calc(.14 * var(--positive-wash))); stroke: none; }
.lb-par-line { stroke: var(--positive); stroke-width: 1; stroke-dasharray: 3 5; }
.lb-par-gap { stroke: var(--rule-bright); stroke-width: 1; stroke-dasharray: 2 4; }
.lb-par-curve { stroke: var(--text); stroke-width: 1.5; }
.lb-par-buy { fill: var(--ground); stroke: var(--text); stroke-width: 1.5; }
.lb-par-end { fill: var(--positive); }
.lb-par-tag {
  position: absolute; left: var(--x); top: var(--y); margin: 0; color: var(--text-soft);
  font: 500 .8125rem/1.3 var(--fontfam-term); font-variant-numeric: tabular-nums; white-space: nowrap;
}
/* A drawing's caption: Example under the illustrations, Estimated times under the crossing times. */
.lb-art-caption { margin-top: 14px; color: var(--text-muted); font-size: .8125rem; }
.lb-par-tag--end { transform: translateX(-100%); }
.lb-par-tag--axis { color: var(--text-muted); }
.lb-par-tag--accent { color: var(--positive); }
.lb-trigger-line { stroke: var(--positive); stroke-width: 1; stroke-dasharray: 3 5; }
.lb-trigger-path { stroke: var(--text-soft); stroke-width: 1.5; stroke-linejoin: round; }
.lb-trigger-after { stroke: var(--text); stroke-width: 1.5; stroke-linejoin: round; }
.lb-trigger-hit { fill: var(--positive); }
.lb-trigger-tag { color: var(--positive); }
.lb-trigger-done { color: var(--text); }

/* Crossing times: one scale for all four, so Airlift's minutes read against the Powpeg's hours. */
.lb-times { display: grid; gap: 28px; }
.lb-times-group { display: grid; gap: 12px; }
.lb-times-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0; color: var(--text); font: 600 1rem/1.3 var(--font-sans); }
.lb-times dl { display: grid; gap: 10px; margin: 0; }
.lb-times dl > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); align-items: center; gap: 16px; }
.lb-times dt { color: var(--text-muted); font-size: .875rem; }
.lb-times dd { display: flex; align-items: center; gap: 12px; min-width: 0; margin: 0; }
.lb-times dd i { flex: none; width: max(4px, calc(var(--t) * (100% - 9.5rem))); height: 8px; background: rgb(var(--text-rgb) / .7); transform-origin: left center; }
.lb-times dd span { color: var(--text); font: 500 .875rem/1.3 var(--fontfam-term); white-space: nowrap; }

/* ---------- Trust: three guarantees, centred, as one passage ---------- */
.lb-trust { padding-top: clamp(32px, 5vw, 80px); }
.lb-statement--trust { justify-items: center; row-gap: 28px; padding-top: clamp(96px, 11vw, 168px); text-align: center; }
.lb-statement--trust .lb-say { max-width: 15ch; }
.lb-statement--trust .lb-statement-body { justify-items: center; max-width: 46rem; }
#lb-security .lb-statement-body { max-width: 52rem; }
.lb-statement--trust .lb-support { max-width: 48ch; }
.lb-auditors { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 40px; margin: 16px 0 0; padding: 0; list-style: none; }
/* A mint check, the model's name and, beneath it, Passed. */
.lb-auditor { display: grid; grid-template-columns: 16px auto; grid-template-areas: "check name" ". state"; align-items: center; gap: 4px 10px; text-align: left; }
.lb-auditor svg { grid-area: check; width: 16px; height: 16px; fill: none; stroke: var(--positive); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.lb-auditor-name { grid-area: name; }
.lb-auditor-state { grid-area: state; }
.lb-auditor-name { color: var(--text); font: 600 1.125rem/1.3 var(--font-display); letter-spacing: -.01em; white-space: nowrap; }
.lb-auditor-state { color: var(--text-muted); font: 400 .75rem/1 var(--fontfam-term); }

/* Merged mining: a Bitcoin block seals each run of twenty Rootstock blocks; the chain drifts while it is on screen. */
.lb-mine {
  justify-self: stretch; height: 104px; margin: clamp(8px, 2vw, 24px) calc(-1 * var(--g)) 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 14%, black 86%, transparent); mask-image: linear-gradient(90deg, transparent, black 14%, black 86%, transparent);
}
.lb-mine-strip { display: block; width: calc(100% + 280px); }
.lb-mine-rsk rect { fill: rgb(var(--text-rgb) / .34); }
.lb-mine-btc { fill: var(--bitcoin); }
.lb-mine-core { fill: rgb(var(--ground-rgb) / .32); }
.lb-mine-seal { fill: none; stroke: rgb(var(--bitcoin-rgb) / .6); stroke-width: 1; }

/* How a change happens: four steps on one rule, the vote and the wait with their live durations. */
.lb-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(100%, 40rem); margin: 14px 0 4px; padding: 0; list-style: none; }
.lb-steps::before, .lb-steps::after { content: ''; position: absolute; top: 5px; left: 12.5%; right: 12.5%; height: 1px; background: var(--rule-strong); }
.lb-steps::after { background: var(--positive); transform-origin: left center; }
.lb-steps li { position: relative; z-index: 1; display: grid; justify-items: center; align-content: start; gap: 4px; }
.lb-steps i { box-sizing: border-box; width: 11px; height: 11px; margin-bottom: 8px; border: 1.5px solid var(--positive); border-radius: 50%; background: var(--positive); }
.lb-steps strong { color: var(--text); font: 600 .9375rem/1.3 var(--font-sans); }
.lb-step-fig { color: var(--text-muted); font: 400 .75rem/1.3 var(--fontfam-term); font-variant-numeric: tabular-nums; }

/* ---------- Close ---------- */
.lb-close { display: grid; justify-items: center; gap: clamp(28px, 3vw, 40px); padding: clamp(152px, 17vw, 256px) var(--g) clamp(120px, 14vw, 208px); text-align: center; }
.lb-display--close { max-width: 13ch; font-size: clamp(2.75rem, 6.2vw, 5.5rem); }
.lb-close-mark { width: clamp(64px, 7vw, 104px); height: clamp(64px, 7vw, 104px); overflow: visible; }
.lb-mark-bids rect { fill: var(--positive-fill); }
.lb-mark-asks rect { fill: var(--text); }
.lb-close-mark rect { transform-box: fill-box; }

/* ---------- Footer: one footer, shown under the landing and the AERA page ---------- */
body:not(.is-home) .lb-footer { display: none; }
.lb-footer { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); align-items: start; gap: 32px; padding: 48px var(--g) 40px; border-top: 1px solid var(--terminal-rule); font-size: .875rem; }
.lb-footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.lb-footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.lb-footer-language { margin-left: -6px; color: var(--text-soft); font-size: .8125rem; }
.lb-footer-language > .aera-language-icon { margin: 0 4px 0 6px; }
.lb-footer-nav .btn { gap: 10px; }
.lb-footer-nav a:hover { color: var(--text); }
.lb-footer-env { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 0; padding-top: 20px; border-top: 1px solid var(--terminal-rule); color: var(--text-muted); font-size: .8125rem; }
.lb-env-dot { flex: none; width: 7px; height: 7px; margin-top: calc((1lh - 7px) / 2); border-radius: 50%; background: var(--network-label); }
.lb-footer-env a { color: var(--network-label); text-underline-offset: 3px; }
.lb-footer-env[hidden] { display: none; }

/* ---------- Coming to this network (features.js) ---------- */
/* Each statement keeps its story; its way in gives way to a hollow lamp, and its live proof waits for the network. */
.lb-coming { align-items: center; gap: 7px; color: var(--text); font: 500 .6875rem/1.4 var(--fontfam-term); letter-spacing: .04em; text-transform: uppercase; }
.lb-coming::before, .lb-live[data-state="soon"]::before, .lb-book[data-state="soon"] .lb-book-note::before {
  content: ''; box-sizing: border-box; width: 7px; height: 7px; border: 1.5px solid var(--positive); border-radius: 50%; background: transparent;
}
.lb-coming--cta { min-height: 44px; }

/* ---------- The one authored moment: statements brighten word by word as they cross the reading line ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .lb-statement { timeline-scope: --lb-say; }
    .lb-say { view-timeline: --lb-say block; }
    .lb-say .lb-w {
      animation: lb-light linear both; animation-timeline: --lb-say;
      animation-range: cover calc(6% + var(--p, 0) * 22%) cover calc(16% + var(--p, 0) * 22%);
    }
    .lb-statement > :is(.lb-statement-body, .lb-art) {
      animation: lb-follow cubic-bezier(.16, 1, .3, 1) both; animation-timeline: --lb-say; animation-range: cover 18% cover 40%;
    }
  }
}
@keyframes lb-light { from { opacity: .16; } to { opacity: 1; } }
@keyframes lb-follow { from { opacity: .28; } to { opacity: 1; } }

/* ---------- Each figure tells its story as it scrolls into view ---------- */
/* Scroll is the timeline: the note's curve draws to 1.00, the price climbs to its trigger and runs on, Airlift's bars
   finish almost at once while the Powpeg's take their time, the audit checks draw in, the change track fills step by
   step and, at the close, bids and asks slide together into the mark. Without scroll timelines or with reduced motion
   every figure simply stands finished. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .lb-art, .lb-auditors, .lb-steps, .lb-close { view-timeline: --lb-fig block; }
    /* A dash the path's length and a gap twice it: at offset 1 the whole path lies in the gap, at 0 in the dash. */
    .lb-par-curve, .lb-trigger-path, .lb-trigger-after, .lb-auditor path { stroke-dasharray: 1 2; }
    .lb-par-curve { animation: lb-draw linear both; animation-timeline: --lb-fig; animation-range: entry 30% cover 48%; }
    .lb-par-fill { animation: lb-fade linear both; animation-timeline: --lb-fig; animation-range: cover 36% cover 52%; }
    :is(.lb-par-end, .lb-par-tag--accent) { animation: lb-arrive cubic-bezier(.16, 1, .3, 1) both; animation-timeline: --lb-fig; animation-range: cover 44% cover 52%; }
    .lb-trigger-path { animation: lb-draw linear both; animation-timeline: --lb-fig; animation-range: entry 30% cover 42%; }
    :is(.lb-trigger-hit, .lb-trigger-done) { animation: lb-arrive cubic-bezier(.16, 1, .3, 1) both; animation-timeline: --lb-fig; animation-range: cover 40% cover 47%; }
    .lb-trigger-after { animation: lb-draw linear both; animation-timeline: --lb-fig; animation-range: cover 43% cover 54%; }
    .lb-times dd i { animation: lb-grow linear both; animation-timeline: --lb-fig; animation-range: cover 22% cover calc(23% + var(--t) * 30%); }
    .lb-times dd span { animation: lb-arrive cubic-bezier(.16, 1, .3, 1) both; animation-timeline: --lb-fig; animation-range: cover calc(21% + var(--t) * 30%) cover calc(26% + var(--t) * 30%); }
    .lb-auditor path { animation: lb-draw linear both; animation-timeline: --lb-fig; animation-range: cover calc(20% + var(--i) * 5%) cover calc(27% + var(--i) * 5%); }
    .lb-steps::after { animation: lb-grow linear both; animation-timeline: --lb-fig; animation-range: cover 22% cover 48%; }
    .lb-steps i { animation: lb-lamp linear both; animation-timeline: --lb-fig; animation-range: cover calc(21% + var(--i) * 8.6%) cover calc(23% + var(--i) * 8.6%); }
    .lb-mark-bids rect { animation: lb-bid cubic-bezier(.16, 1, .3, 1) both; animation-timeline: --lb-fig; animation-range: entry calc(20% + var(--i) * 10%) cover calc(28% + var(--i) * 3%); }
    .lb-mark-asks rect { animation: lb-ask cubic-bezier(.16, 1, .3, 1) both; animation-timeline: --lb-fig; animation-range: entry calc(20% + var(--i) * 10%) cover calc(28% + var(--i) * 3%); }
    /* The book opens at its spread. The two rules draw out from the centre and the mid arrives; the levels unfold
       from behind the mid band, asks rising and bids falling, each by its distance from the spread (--d); then one
       sweep from the right edge lays in the cumulative depth. Each wash's range is as long as its depth (--w), so
       every leading edge travels at the same speed and stops at its own level, inner levels first, and the book ends
       as the mark's split depth. Live snapshots still paint in place on top of it. */
    .lb-book .mid { z-index: 1; background: var(--ground-fill); }
    .lb-book li:is(:nth-child(3), :nth-child(5)) { --d: 1; }
    .lb-book li:is(:nth-child(2), :nth-child(6)) { --d: 2; }
    .lb-book li:is(:nth-child(1), :nth-child(7)) { --d: 3; }
    .lb-book li:nth-child(-n + 3) { --s: 1; }
    .lb-book li:nth-child(n + 5) { --s: -1; }
    .lb-book-head { animation: lb-arrive cubic-bezier(.16, 1, .3, 1) both; animation-timeline: --lb-fig; animation-range: cover 9% cover 19%; }
    .lb-book .mid::before, .lb-book .mid::after { animation: lb-grow cubic-bezier(.16, 1, .3, 1) both; animation-timeline: --lb-fig; animation-range: cover 12% cover 24%; }
    .lb-book .mid > span { animation: lb-arrive cubic-bezier(.16, 1, .3, 1) both; animation-timeline: --lb-fig; animation-range: cover 16% cover 24%; }
    .lb-book li:not(.mid) { animation: lb-unfold cubic-bezier(.33, 1, .68, 1) both; animation-timeline: --lb-fig; animation-range: cover 18% cover 36%; }
    .lb-book li:not(.mid) > i { animation: lb-sweep linear both; animation-timeline: --lb-fig; animation-range: cover 33% cover calc(33% + var(--w, 0) * 16%); }
  }
}
@media (prefers-reduced-motion: no-preference) {
  .lb-mine[data-run="running"] .lb-mine-strip { animation: lb-mine 16s linear infinite; }
}
@keyframes lb-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lb-arrive { from { opacity: 0; translate: 0 6px; } to { opacity: 1; translate: 0 0; } }
@keyframes lb-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes lb-lamp { from { background-color: var(--ground); } to { background-color: var(--positive); } }
@keyframes lb-bid { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@keyframes lb-ask { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
/* A level starts tucked behind the mid band: its distance from the spread in rows, plus the 8px gap and a margin. */
@keyframes lb-unfold { from { translate: 0 calc(var(--s, 0) * (var(--d, 0) * 100% + 12px)); } }
/* With the wash's own translateX, an extra shift of its depth starts its leading edge exactly at the row's right edge. */
@keyframes lb-sweep { from { translate: calc(var(--w, 0) * 100%) 0; } }
@keyframes lb-mine { to { transform: translateX(-280px); } }

/* ---------- Layout ---------- */
@media (min-width: 1101px) {
  .lb-statement { grid-template-columns: var(--lb-cols); column-gap: var(--lb-gap); }
  .lb-statement { grid-template-rows: auto 1fr; }
  .lb-statement > .lb-say { grid-column: 1 / 7; }
  .lb-statement > .lb-statement-body { grid-column: 1 / 6; }
  /* The figure takes the right half but keeps clear of the statement's last line by an extra gutter. */
  .lb-statement > .lb-art { grid-column: 7 / 13; grid-row: 1 / span 2; align-self: center; padding-left: clamp(40px, 5vw, 80px); }
  .lb-statement--trust { grid-template-columns: minmax(0, 1fr); }
  .lb-statement--trust > :is(.lb-say, .lb-statement-body) { grid-column: 1; }
  .lb-footer { grid-template-columns: var(--lb-cols); column-gap: var(--lb-gap); }
  .lb-footer-brand { grid-column: 1 / 7; }
  .lb-footer-nav:nth-of-type(1) { grid-column: 7 / 10; }
  .lb-footer-nav:nth-of-type(2) { grid-column: 10 / 13; }
}
@media (max-width: 1100px) {
  .lb-art { width: 100%; max-width: 620px; }
  .lb-auditors { max-width: 34rem; }
}
@media (max-width: 640px) {
  .lb-hero-copy { padding-block: 40px 12px; }
  /* On a phone the land is a low band as tall as it needs (it follows the width), and the copy centres above it. */
  .lb-hero { grid-template-rows: minmax(0, 1fr) calc(46vw + 24px) auto; }
  .lb-steps strong { font-size: .875rem; }
  .lb-hero-foot .lb-live { padding-right: 14px; }
  .lb-statement { row-gap: 28px; }
  .lb-statement--trust { row-gap: 22px; }
  .lb-times dl > div { grid-template-columns: 7.25rem minmax(0, 1fr); gap: 10px; }
  .lb-times dd i { width: max(4px, calc(var(--t) * (100% - 8.75rem))); }
  .lb-auditors { display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; gap: 18px 24px; }
  .lb-auditor:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; }
  .lb-auditor-name { font-size: 1rem; }
  .lb-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lb-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .lb-auditors { grid-template-columns: max-content; }
  .lb-auditor:last-child:nth-child(odd) { justify-self: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  .lb-ticker { overflow-x: auto; scrollbar-width: thin; }
  .lb-ticker-track { animation: none; }
  #lb-tape-copy { display: none; }
  .lb-btn svg { transition: none; }
}
