/* ══ Block 5 — THE ONE-PAGER BELOW THE GLOBE (/demo4 only) ════════════════════
 * Markup: includes/demo4-native.php · motion: src-demo3/native.js
 * Log + PROVISIONAL token list: docs/ops/logs/2026-10-22-demo4-v3/block5.md
 *
 * Values are DESIGN.md's (Ink, Ember, Ember TEXT, Alpine Teal, Bone, Trail Gold,
 * Dusk Violet, Signal Red, Deep Petrol; Hanken Grotesk / Instrument Sans).  The
 * ONLY non-DESIGN value is `--mb5-aurora-green`, marked PROVISIONAL, footer only.
 * 2026-11-07: the GRADIENT FIELD SYSTEM (fields, .mb5-cta / .mb5-link / .mb5-label / .mb5-chip, gradient type)
 * lives below the grounds; DESIGN.md § "Gradient field system" is its source.
 *
 * Three layers per section (AK): `.mb5-ground` (background + torn ridge) is a
 * sibling of the content and can lag it; content that has to land before its
 * ground arrives lives on its own surface (Beta's panel, Tools' cards, About's
 * portrait card, the footer's slab), so it reads on either ground.
 * Nothing here applies to the globe chapters: every selector is `.mb5-`.
 * ═══════════════════════════════════════════════════════════════════════════ */

:root, .mb5-sec, .mb5-idx {   /* :root too — chapters and the header use .mb5-cta / .mb5-label */
  --mb5-ink: #0A0A0A;
  --mb5-ink2: color-mix(in srgb, #0A0A0A 96%, #FF5B04);   /* "Ink warmed" (DESIGN): a gradient's far stop only, never a flat ground */
  --mb5-bone: #EDE7D8;
  --mb5-bone-86: rgba(237, 231, 216, .86);
  --mb5-bone-70: rgba(237, 231, 216, .70);
  --mb5-bone-62: rgba(237, 231, 216, .62);
  --mb5-ember: var(--sf-on-solid, #FF5B04);   /* 11-19 row 23: the homepage reads the MTB GLOBAL tokens (site-system.css --sf-*) */
  --mb5-ember-t: var(--sf-on, #FF7D11);
  --mb5-teal: var(--sf-done, #34978F);
  --mb5-petrol: #1A4E50;
  --mb5-gold: #E0AA37;
  --mb5-violet: #7C6BA6;
  --mb5-red: #A83A28;
  --mb5-sheet: color-mix(in srgb, #EDE7D8 38%, #ffffff);     /* = --mb4-white */
  --mb5-ink-70: rgba(10, 10, 10, .74);
  --mb5-aurora-green: #3FBF8F;   /* PROVISIONAL — not in DESIGN.md; Carter approves the stills first */
  --mb5-gut: clamp(16px, 4.2vw, 72px);
  --mb5-max: 1240px;
  --mb5-disp: "Hanken Grotesk", Inter, system-ui, sans-serif;
  --mb5-body: "Instrument Sans", Inter, system-ui, sans-serif;
  --mb5-ease: var(--sf-ease, cubic-bezier(.16, 1, .3, 1));
  --mb5-ext: 66vh;               /* how far a ground hangs under the next section (≥ the lag, native.js L) */
  /* gradient field system (DESIGN.md § Gradient field system) */
  --mb5-petrol-slate: color-mix(in srgb, #1A4E50 45%, #0A0A0A);   /* panels over a field (refs 04/05), --r-panel */
  --mb5-rose: color-mix(in srgb, #7C6BA6 55%, #A83A28);           /* DUSK's dusty rose: Signal Red alone reads brown on Ink */
  --mb5-label-face: "Hanken Grotesk", Inter, system-ui, sans-serif;   /* THE switch to the permitted mono (Carter's pick) */
  --mb5-glass-thin: linear-gradient(180deg, rgba(26, 26, 26, .34), rgba(10, 10, 10, .46));   /* DESIGN glass "Thin" */
  --mb5-glass-dense: linear-gradient(180deg, rgba(20, 20, 20, .86), rgba(10, 10, 10, .9));   /* thin glass on paper / LOUD */
  --mb5-gt-1: #7C6BA6; --mb5-gt-2: #34978F;   /* gradient type on STAR: Dusk Violet → Alpine Teal (fields override) */
}

/* 2026-11-12 alignment: ONE content left edge = the rail's page margin (nav.css --rl-m: 64 desktop at every width incl.
   2560, 20 phone).  Every section below the globe inherits it through --mb5-gut.  The footer keeps its own (Carter: no
   footer changes), and (0,3,1) outranks the 2200 px `.mb5-sec { --mb5-gut: 10vw }` for everything else. */
html.mb2 .mb5-sec:not(.mb5-foot) { --mb5-gut: var(--rl-m, 64px); }

/* ── the section shell — native flow, overrides `.mb2-sec`'s flex row ───── */
html .mb5-sec.mb2-sec {
  display: block; position: relative; isolation: isolate; min-height: 0;
  padding: clamp(96px, 14vh, 180px) 0 clamp(88px, 13vh, 170px);
  font-family: var(--mb5-body);
}
.mb5-sec--light { color: var(--mb5-ink); }
.mb5-sec--dark, .mb5-sec--colour { color: var(--mb5-x-fg, #FFFFFF); }   /* CD3 text on dark, from the master (11-19 row 23) */
.mb5-frame { position: relative; z-index: 1; width: min(100% - 2 * var(--mb5-gut), var(--mb5-max)); margin-inline: auto; }

/* ── grounds (layer 3) ─────────────────────────────────────────────────── */
.mb5-ground { position: absolute; left: 0; right: 0; top: 0; bottom: calc(-1 * var(--mb5-ext)); z-index: -1; pointer-events: none; }
.mb5-ground--paper { background: var(--mb5-bone); }
.mb5-ground--dark {
  background:
    radial-gradient(70% 50% at 82% 18%, rgba(26, 78, 80, .42), transparent 70%),
    radial-gradient(60% 45% at 10% 80%, rgba(124, 107, 166, .14), transparent 70%),
    linear-gradient(180deg, var(--mb5-ink) 0%, var(--mb5-ink2) 100%);
}
.mb5-tools .mb5-ground--dark { background: linear-gradient(180deg, var(--mb5-ink2) 0%, var(--mb5-ink) 100%); }
.mb5-foot .mb5-ground { bottom: 0; background: var(--mb5-ink); }
/* PIP pt 22 — Beta..footer live in one clip box: a lagging ground can no longer extend the document past
   the footer's bottom (it shrank 24567 -> 23897 at the end of the walk: the "jump").  The box starts one
   ridge-height ABOVE Beta so Beta's torn ridge still shows; its pad lets clicks through to Projects. */
.mb5-zone { position: relative; overflow: clip; padding-top: 160px; margin-top: -160px; pointer-events: none; }
.mb5-zone > * { pointer-events: auto; }
/* the film layers are clipped by their own box so the ridge above the ground stays visible */
.mb5-film { position: absolute; inset: 0; overflow: hidden; }
html.mb5-live .mb5-ground[data-mb5-lag] { will-change: transform; }
/* the torn ridge rides the TOP of a ground, teeth up (v4-torn.js's ridge, flipped IN PLACE) */
.mb5-ridge { position: absolute; left: 0; bottom: 100%; width: 100%; height: clamp(54px, 8vw, 150px); transform: scaleY(-1); transform-origin: 50% 50%; pointer-events: none; margin-bottom: -1px; }
.mb5-ridge path { fill: currentColor; }
.mb5-ground--paper .mb5-ridge { color: var(--mb5-bone); }
.mb5-ground--dark .mb5-ridge { color: var(--mb5-ink); }
.mb5-ground--aura .mb5-ridge { color: var(--mb5-ink); }

/* ══ GRADIENT FIELD SYSTEM (2026-11-07) — DESIGN.md § "Gradient field system" is the source ═══════════════
   The homepage is ONE poster series: every section ground is one named field, every action one hairline pill
   (.mb5-cta), every inline action one arrow link (.mb5-link), every small word one tracked label (.mb5-label),
   every filter one chip (.mb5-chip).  Values are DESIGN.md tokens or color-mix()es of them, nothing else.
   Probes (opened before this was written): docs/ops/logs/2026-11-07-gradient/probe-cta.html, probe-gradtype.html */

/* ── ground context — dark is the default; paper and LOUD flip the set.  Components read only --mb5-x-*.
   PAPER = `.mb5-sec--light` (or `.mb5-on-paper` on any wrapper); LOUD = `.mb5-on-loud` on the wrapper of the
   content that sits over the Ember block (the ground is a sibling layer, so the context goes on the content). */
:root, .mb5-sec--dark, .mb5-sec--colour, .mb5-on-dark {
  /* 11-19 row 23 (Carter: "buttons and styles and things should be tied to the global so they update as we build"):
     the dark set IS the MTB GLOBAL set — every value below is a site-system.css --sf-* token (the fallback repeats it
     for the first paint, before that sheet lands).  Change a token there and the homepage follows. */
  --mb5-x-fg: var(--sf-fg, #FFFFFF);           /* CD3 text on dark */
  --mb5-x-fg2: var(--sf-fg2, rgba(255, 255, 255, .72));
  --mb5-x-eb: var(--sf-on, #FF7D11);           /* eyebrow accent on dark: Ember TEXT (Signal Red on Ink is 3.1:1) */
  --mb5-x-acc: var(--sf-on, #FF7D11);          /* the primary's hairline */
  --mb5-x-hair: var(--sf-hair-hi, rgba(237, 231, 216, .26));
  --mb5-x-hair-hi: var(--sf-sel-hair, rgba(237, 231, 216, .34));
  --mb5-x-rule: var(--sf-hair, rgba(237, 231, 216, .12));
  --mb5-x-fill: var(--sf-fill, linear-gradient(180deg, rgba(30, 30, 30, .62), rgba(8, 8, 8, .76)));
  --mb5-x-blur: none;   /* a blur of a smooth field is the field: dropped for scroll fps (perf A/B 2026-11-07) */
  --mb5-x-lip: rgba(237, 231, 216, .12);
  --mb5-x-lift: var(--sf-ctl-fill-hi, rgba(237, 231, 216, .09));
  --mb5-x-drop: 0 0 0 0 rgba(0, 0, 0, 0);
  --mb5-x-cta-fg: var(--sf-fg, #FFFFFF);
  /* selected = tonal fill + a brighter tonal hairline (LOCKED 11-18: never a Bone box, never an orange outline) */
  --mb5-x-on-bg: var(--sf-sel-fill, rgba(237, 231, 216, .10)); --mb5-x-on-fg: var(--sf-fg, #FFFFFF); --mb5-x-on-line: var(--sf-sel-hair, rgba(237, 231, 216, .34));
}
.mb5-sec--light, .mb5-on-paper {
  --mb5-x-fg: #0A0A0A;
  --mb5-x-fg2: rgba(10, 10, 10, .70);
  --mb5-x-eb: #A83A28;                         /* Signal Red on Bone: 5.2:1 */
  --mb5-x-acc: #FF7D11;                        /* lives INSIDE the dense Ink pill, never on the Bone */
  --mb5-x-hair: rgba(10, 10, 10, .30);
  --mb5-x-hair-hi: rgba(10, 10, 10, .56);
  --mb5-x-rule: rgba(10, 10, 10, .18);
  --mb5-x-fill: var(--mb5-glass-dense);        /* law D2: on paper the glass stays dark and goes dense */
  --mb5-x-blur: none;
  --mb5-x-lip: rgba(237, 231, 216, .10);
  --mb5-x-lift: rgba(237, 231, 216, .08);
  --mb5-x-drop: 0 8px 18px -12px rgba(10, 10, 10, .32);
  --mb5-x-cta-fg: #EDE7D8;
  --mb5-x-on-bg: #0A0A0A; --mb5-x-on-fg: #EDE7D8; --mb5-x-on-line: #0A0A0A;
}
.mb5-on-loud {
  --mb5-x-fg: #0A0A0A;
  --mb5-x-fg2: #0A0A0A;                        /* Ink-70 on Ember drops under 4.5:1 — on LOUD everything is Ink */
  --mb5-x-eb: #0A0A0A;
  --mb5-x-acc: #0A0A0A;
  --mb5-x-hair: rgba(10, 10, 10, .62);
  --mb5-x-hair-hi: #0A0A0A;
  --mb5-x-rule: rgba(10, 10, 10, .30);
  --mb5-x-fill: transparent;
  --mb5-x-blur: none;
  --mb5-x-lip: transparent;
  --mb5-x-lift: rgba(10, 10, 10, .08);
  --mb5-x-drop: 0 0 0 0 rgba(0, 0, 0, 0);
  --mb5-x-cta-fg: #0A0A0A;
  --mb5-x-on-bg: #0A0A0A; --mb5-x-on-fg: #EDE7D8; --mb5-x-on-line: #0A0A0A;
}

/* ── FIELDS — soft radial blooms with long tails over Ink.  No filter:blur on a page-sized layer: the softness
   is in the stops (eight per main bloom, a gaussian-ish fall to 0, so no Mach ring at the tail).  Centres sit in
   viewport units from the ground's top, so a bloom lands in the section's first screen whatever its height and
   is ~0 at the top edge where the torn ridge (flat Ink) meets it; radii are max(vw, vh) so a phone gets a
   bloom, not a needle.  The lower blooms anchor to the SECTION's bottom (the ground hangs --mb5-ext below it). */
/* DUSK (Beta, critic b1 #2/#3): bloom 1 sits UPPER-right so the ridge drops into lit dusk, not black (it was centred
   at 40vh and left ~200 px of flat ink under the ridge); the rose bloom rides higher; and the first layer brings the
   field back to plain Ink over its last 24vh, so Beta ends on Ink and meets the next section (Ink at its top) with no step. */
.mb5-ground--dusk {
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0) calc(100% - var(--mb5-ext, 66vh) - 24vh), #0A0A0A calc(100% - var(--mb5-ext, 66vh) - 1vh)),
    radial-gradient(max(42vw, 34vh) max(40vh, 30vw) at 76% 22vh, rgba(237, 231, 216, .08), rgba(237, 231, 216, .045) 30%, rgba(237, 231, 216, .018) 60%, rgba(237, 231, 216, 0) 100%),
    radial-gradient(max(72vw, 56vh) max(70vh, 52vw) at 78% 22vh, rgba(124, 107, 166, .48), rgba(124, 107, 166, .39) 14%, rgba(124, 107, 166, .28) 28%, rgba(124, 107, 166, .17) 42%, rgba(124, 107, 166, .09) 56%, rgba(124, 107, 166, .04) 70%, rgba(124, 107, 166, .012) 84%, rgba(124, 107, 166, 0) 100%),
    radial-gradient(max(56vw, 44vh) max(54vh, 44vw) at 6% calc(100% - var(--mb5-ext, 66vh) - 34vh), color-mix(in srgb, var(--mb5-rose) 18%, transparent), color-mix(in srgb, var(--mb5-rose) 13%, transparent) 20%, color-mix(in srgb, var(--mb5-rose) 7%, transparent) 44%, color-mix(in srgb, var(--mb5-rose) 2.5%, transparent) 70%, transparent 100%),
    #0A0A0A;
}
.mb5-ground--dusk-calm {
  background:
    radial-gradient(max(72vw, 56vh) max(70vh, 52vw) at 84% 22%, rgba(26, 78, 80, .35), rgba(26, 78, 80, .29) 14%, rgba(26, 78, 80, .21) 28%, rgba(26, 78, 80, .13) 42%, rgba(26, 78, 80, .07) 56%, rgba(26, 78, 80, .03) 70%, rgba(26, 78, 80, .01) 84%, rgba(26, 78, 80, 0) 100%),
    radial-gradient(max(60vw, 48vh) max(62vh, 46vw) at 12% 58%, rgba(124, 107, 166, .18), rgba(124, 107, 166, .15) 14%, rgba(124, 107, 166, .10) 30%, rgba(124, 107, 166, .055) 48%, rgba(124, 107, 166, .02) 70%, rgba(124, 107, 166, 0) 100%),
    #0A0A0A;
}
/* the footer exception (law D3): nothing moves and nothing is grained on DUSK-calm */
.mb5-ground--dusk-calm :is(.mb5-grain, .mb5-leak, .mb5-aura) { display: none; }
.mb5-ground--ember-teal {
  background:
    radial-gradient(max(40vw, 46vh) max(56vh, 34vw) at 90% 34vh, rgba(26, 78, 80, .55), rgba(26, 78, 80, .45) 14%, rgba(26, 78, 80, .32) 28%, rgba(26, 78, 80, .20) 42%, rgba(26, 78, 80, .10) 56%, rgba(26, 78, 80, .045) 70%, rgba(26, 78, 80, .014) 84%, rgba(26, 78, 80, 0) 100%),
    radial-gradient(max(22vw, 26vh) max(30vh, 20vw) at 94% 26vh, rgba(52, 151, 143, .18), rgba(52, 151, 143, .10) 40%, rgba(52, 151, 143, .03) 75%, rgba(52, 151, 143, 0) 100%),
    radial-gradient(max(30vw, 34vh) max(40vh, 26vw) at 4% calc(100% - var(--mb5-ext, 66vh) - 8vh), rgba(255, 91, 4, .10), rgba(255, 91, 4, .065) 25%, rgba(255, 91, 4, .03) 52%, rgba(255, 91, 4, .008) 80%, rgba(255, 91, 4, 0) 100%),
    #0A0A0A;
}
.mb5-ground--loud { background: #FF5B04; }
.mb5-ground--dusk .mb5-ridge, .mb5-ground--dusk-calm .mb5-ridge, .mb5-ground--ember-teal .mb5-ridge { color: #0A0A0A; }
.mb5-ground--loud .mb5-ridge { color: #FF5B04; }
/* the gradient-type hues follow the section's field (STAR, the default, is on :root) */
.mb5-sec:has(> .mb5-ground--dusk) { --mb5-gt-1: var(--mb5-rose); --mb5-gt-2: #7C6BA6; }
.mb5-sec:has(> .mb5-ground--dusk-calm) { --mb5-gt-1: #1A4E50; --mb5-gt-2: #7C6BA6; }
.mb5-sec:has(> .mb5-ground--ember-teal) { --mb5-gt-1: #FF5B04; --mb5-gt-2: #34978F; }

/* ── THE LABEL — one tuple: Hanken 600 · 10.5 / 11 / 12 px · caps · .18em.  Bone-70 on dark, Ink-70 on paper,
   Ink on LOUD; `--acc` is the section eyebrow's accent. ── */
.mb5-label {
  margin: 0; font: 600 11px/1.3 var(--mb5-label-face); letter-spacing: .18em; text-transform: uppercase;
  color: var(--mb5-x-fg2);
}
.mb5-label--s { font-size: 10.5px; }
.mb5-label--l { font-size: 12px; }
.mb5-label--acc { color: var(--mb5-x-eb); }
/* corner slots: the four corners of the section's FIRST screen, on the frame's edges.  Empty slots stay empty. */
.mb5-corner {
  --mb5-cx: max(var(--mb5-gut, 24px), (100% - var(--mb5-max, 1240px)) / 2);
  position: absolute; z-index: 1; margin: 0; pointer-events: none; white-space: nowrap;
}
.mb5-corner--tl, .mb5-corner--tr { top: var(--mb5-cy-t, clamp(96px, 11vh, 132px)); }
.mb5-corner--bl, .mb5-corner--br { top: calc(min(100%, 100svh) - var(--mb5-cy-b, clamp(28px, 4vh, 48px)) - 1.3em); }
.mb5-corner--tl, .mb5-corner--bl { left: var(--mb5-cx); }
.mb5-corner--tr, .mb5-corner--br { right: var(--mb5-cx); text-align: right; }

/* ── THE ARROW — a 1 px line ≈2.4em long ending in a small open chevron; it grows .6em on hover / focus.
   Compositor-only: the line scales, the head translates, the box is fixed, so nothing reflows. ── */
.mb5-arrow { position: relative; flex: none; display: block; width: 3em; height: 11px; color: inherit; }
.mb5-arrow::before {
  content: ""; position: absolute; left: 0; right: 1px; top: 5px; height: 1px; background: currentColor;
  transform: scaleX(.8); transform-origin: 0 50%;
  transition: transform var(--dur-m-out, 180ms) var(--ease, cubic-bezier(.16, 1, .3, 1));
}
.mb5-arrow::after {
  content: ""; position: absolute; right: 0; top: 0; width: 6px; height: 11px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 11'%3E%3Cpath d='M.5.5L5.5 5.5L.5 10.5' fill='none' stroke='%23000' stroke-width='1.1'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 11'%3E%3Cpath d='M.5.5L5.5 5.5L.5 10.5' fill='none' stroke='%23000' stroke-width='1.1'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transform: translateX(-.6em);
  transition: transform var(--dur-m-out, 180ms) var(--ease, cubic-bezier(.16, 1, .3, 1));
}
:is(.mb5-cta, .mb5-link):focus-visible .mb5-arrow::before { transform: scaleX(1); transition-duration: var(--dur-m, 320ms); }
:is(.mb5-cta, .mb5-link):focus-visible .mb5-arrow::after { transform: translateX(0); transition-duration: var(--dur-m, 320ms); }

/* ── THE CTA — one hairline pill.  Thin glass on dark, dense Ink glass on paper, a bare Ink line on LOUD.
   Markup: <a class="mb5-cta [mb5-cta--primary]"><span class="mb5-cta__t">Label</span><span class="mb5-arrow"
   aria-hidden="true"></span></a>.  ONE primary per view. ── */
.mb5-cta {
  --mb5-cta-line: var(--mb5-x-hair);
  --mb5-cta-line-hi: var(--mb5-x-hair-hi);
  --mb5-cta-arrow: currentColor;
  position: relative; isolation: isolate; box-sizing: border-box;
  display: inline-flex; align-items: center; gap: 1.1em;
  min-height: 52px; margin: 0; padding: 0 22px 0 26px;
  border: 0; border-radius: var(--r-ctl, 999px); outline: none;
  background: var(--mb5-x-fill);
  -webkit-backdrop-filter: var(--mb5-x-blur); backdrop-filter: var(--mb5-x-blur);
  box-shadow: inset 0 0 0 1px var(--mb5-cta-line), inset 0 1px 0 var(--mb5-x-lip), var(--mb5-x-drop);
  color: var(--mb5-x-cta-fg); text-decoration: none; text-shadow: none; white-space: nowrap; cursor: pointer;
  font: 600 12px/1 var(--mb5-label-face); letter-spacing: .18em; text-transform: uppercase;
  -webkit-tap-highlight-color: transparent;
  transition: box-shadow var(--dur-m-out, 180ms) var(--ease, cubic-bezier(.16, 1, .3, 1)),
              transform var(--dur-s-out, 120ms) var(--ease, cubic-bezier(.16, 1, .3, 1));
}
/* the brightness lift: a flat wash on its own layer, so it FADES (a gradient background cannot interpolate) */
.mb5-cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: var(--mb5-x-lift); opacity: 0;
  transition: opacity var(--dur-m-out, 180ms) var(--ease, cubic-bezier(.16, 1, .3, 1));
}
.mb5-cta__t { display: block; }
.mb5-cta .mb5-arrow { color: var(--mb5-cta-arrow); }
.mb5-cta--primary { --mb5-cta-line: color-mix(in srgb, var(--mb5-x-acc) 78%, transparent); --mb5-cta-line-hi: var(--mb5-x-acc); --mb5-cta-arrow: var(--mb5-x-acc); }
.mb5-cta:focus-visible { --mb5-cta-line: var(--mb5-cta-line-hi); box-shadow: inset 0 0 0 1px var(--mb5-cta-line), inset 0 1px 0 var(--mb5-x-lip), 0 0 0 2px #0A0A0A, 0 0 0 4px var(--sf-focus, #FF7E33); transition-duration: var(--dur-m, 320ms), var(--dur-s, 180ms); }
.mb5-cta:focus-visible::after { opacity: 1; transition-duration: var(--dur-m, 320ms); }
.mb5-cta:active { transform: scale(.98); }
.mb5-cta:disabled, .mb5-cta[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }

/* ── THE LINK — the label style + the same arrow, no pill (row links: READ THE BUILD, ALL CONDITIONS) ── */
.mb5-link {
  position: relative; display: inline-flex; align-items: center; gap: .9em; min-height: 44px;
  font: 600 12px/1 var(--mb5-label-face); letter-spacing: .18em; text-transform: uppercase;
  color: var(--mb5-x-fg); text-decoration: none; outline: none;
}
.mb5-link:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; border-radius: var(--r-tip, 8px); }
/* old markup (a bare "→" in a span) until each lane switches to .mb5-arrow */
.mb5-link > span[aria-hidden="true"]:not(.mb5-arrow) { transition: transform var(--dur-m-out, 180ms) var(--ease, cubic-bezier(.16, 1, .3, 1)); }
.mb5-link--dark { color: var(--sf-fg, #FFFFFF); }

/* ── THE CHIP — the CTA's hairline at 36 px, the label inside; on = inverted solid.  `.mb5-pf__b` is an alias
   (Projects: aria-pressed; Recent: the lane's :has(:checked) rule adds the on state). ── */
.mb5-chip, .mb5-pf__b {
  position: relative; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px; margin: 0; padding: 0 16px; border: 0; border-radius: var(--r-ctl, 999px); outline: none;
  background: transparent; box-shadow: inset 0 0 0 1px var(--mb5-x-hair); cursor: pointer;
  font: 600 11px/1 var(--mb5-label-face); letter-spacing: .18em; text-transform: uppercase; white-space: nowrap;
  color: var(--mb5-x-fg); text-decoration: none; -webkit-tap-highlight-color: transparent;
  transition: background-color var(--dur-m-out, 180ms) var(--ease, cubic-bezier(.16, 1, .3, 1)),
              color var(--dur-m-out, 180ms) var(--ease, cubic-bezier(.16, 1, .3, 1)),
              box-shadow var(--dur-m-out, 180ms) var(--ease, cubic-bezier(.16, 1, .3, 1));
}
.mb5-pf__b::after { content: none; }
:is(.mb5-chip, .mb5-pf__b):is(.is-on, [aria-pressed="true"], [aria-checked="true"]) {
  background-color: var(--mb5-x-on-bg); color: var(--mb5-x-on-fg); box-shadow: inset 0 0 0 1px var(--mb5-x-on-line);
  transition-duration: var(--dur-m, 320ms);
}
:is(.mb5-chip, .mb5-pf__b):focus-visible { outline: none; box-shadow: inset 0 0 0 1px var(--mb5-x-hair-hi), 0 0 0 2px #0A0A0A, 0 0 0 4px var(--sf-focus, #FF7E33); }

/* hover — real hover devices only, so a tap never leaves a stuck lift */
@media (hover: hover) {
  :is(.mb5-cta, .mb5-link):hover .mb5-arrow::before { transform: scaleX(1); transition-duration: var(--dur-m, 320ms); }
  :is(.mb5-cta, .mb5-link):hover .mb5-arrow::after { transform: translateX(0); transition-duration: var(--dur-m, 320ms); }
  .mb5-link:hover > span[aria-hidden="true"]:not(.mb5-arrow) { transform: translateX(5px); transition-duration: var(--dur-m, 320ms); }
  .mb5-cta:hover { --mb5-cta-line: var(--mb5-cta-line-hi); transition-duration: var(--dur-m, 320ms), var(--dur-s, 180ms); }
  .mb5-cta:hover::after { opacity: 1; transition-duration: var(--dur-m, 320ms); }
  :is(.mb5-chip, .mb5-pf__b):hover:not(.is-on, [aria-pressed="true"], [aria-checked="true"]) { box-shadow: inset 0 0 0 1px var(--mb5-x-hair-hi); transition-duration: var(--dur-m, 320ms); }
}

/* ── GRADIENT TYPE — `.mb5-gt` on a display word only (.mb5-h2, chapter mastheads), at most one per section.
   Bone at the cap, the field's two hues (each ≤35 % into Bone) at the baseline, left → right.  The box shrinks
   to the word so the hue ramp spans IT, not the column (a centred masthead adds margin-inline: auto), and
   carries .1em of end padding: with -.03em tracking the last glyph's ink overhangs the advance box and
   background-clip:text would cut it (probe: the "L" of EXPLORE ALL lost its foot).  Solid Ink on PAPER / LOUD. ── */
.mb5-gt {
  width: fit-content; max-width: 100%; box-sizing: border-box; padding-inline-end: .1em;
  background:
    linear-gradient(180deg, #EDE7D8 8%, rgba(237, 231, 216, 0) 96%),
    linear-gradient(90deg, color-mix(in srgb, #EDE7D8 65%, var(--mb5-gt-1)), color-mix(in srgb, #EDE7D8 65%, var(--mb5-gt-2)));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
:is(.mb5-sec--light, .mb5-on-paper, .mb5-on-loud) .mb5-gt { background: none; -webkit-text-fill-color: currentColor; color: inherit; }

/* ── ORNAMENT — the hairline rule and the circle mark (holding a real 2–3 letter datum).  Nothing else. ── */
.mb5-hr { display: block; height: 1px; margin: 0; border: 0; background: var(--mb5-x-rule); }
.mb5-circ {
  display: inline-grid; place-items: center; flex: none; box-sizing: border-box; width: 30px; height: 30px;
  border-radius: var(--r-ctl, 999px); box-shadow: inset 0 0 0 1px var(--mb5-x-hair);
  font: 600 10.5px/1 var(--mb5-label-face); letter-spacing: .06em; text-transform: uppercase; color: var(--mb5-x-fg);
}

@media (max-width: 899px) {
  .mb5-corner { --mb5-cy-t: 152px; }             /* under the pinned strip (92..136) */
}
@media (max-width: 600px) {
  .mb5-cta { min-height: 48px; padding: 0 18px 0 22px; }
  .mb5-corner { --mb5-cy-t: 96px; }              /* the strip collapsed into the masthead row */
}
@media (prefers-reduced-motion: reduce) {
  .mb5-arrow::before, .mb5-arrow::after, .mb5-cta, .mb5-cta::after, .mb5-chip, .mb5-pf__b { transition: none; }
}

/* ── type ──────────────────────────────────────────────────────────────── */
.mb5-head { margin: 0 0 clamp(40px, 7vh, 88px); max-width: 44rem; }
.mb5-rule { display: block; width: 34px; height: 2px; background: var(--mb5-ember); margin: 0 0 18px; }
.mb5-eyebrow { margin: 0 0 12px; font: 600 11px/1.3 var(--mb5-label-face); letter-spacing: .18em; text-transform: uppercase; color: var(--mb5-x-eb, var(--mb5-ember-t)); }
/* A4 — the card eyebrow takes THE label tuple (its own file sets margins; this pins face/size/tracking) */
.mb5-sec .mb5-pc__eb { font: 600 10.5px/1.3 var(--mb5-label-face); letter-spacing: .18em; text-transform: uppercase; }
.mb5-eyebrow--ink, .mb5-sec--light .mb5-eyebrow { color: var(--mb5-red); }
.mb5-h2 { margin: 0; font: 800 clamp(48px, 6.2vw, 112px)/.92 var(--mb5-disp); letter-spacing: -.03em; text-transform: uppercase; color: inherit; }
.mb5-h2--ink { color: var(--mb5-ink); }
.mb5-h3 { margin: 0 0 12px; font: 700 clamp(24px, 2.3vw, 40px)/1.05 var(--mb5-disp); letter-spacing: -.02em; }
.mb5-h3 a { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--mb5-ease); }
.mb5-h3 a:hover { background-size: 100% 2px; }
.mb5-h3--dark { color: var(--mb5-bone); }
.mb5-sub { margin: 18px 0 0; max-width: 34rem; font: 400 clamp(15px, 1.05vw, 18px)/1.6 var(--mb5-body); color: var(--mb5-bone-70); }
.mb5-body { margin: 0 0 18px; max-width: 32rem; font: 400 clamp(15px, 1vw, 17px)/1.62 var(--mb5-body); color: rgba(10, 10, 10, .78); }
.mb5-body--dark { color: var(--mb5-bone-70); }
.mb5-tag { display: inline-block; vertical-align: middle; margin-left: .4em; padding: 3px 9px; border-radius: var(--r-ctl, 999px); border: 1px solid rgba(237, 231, 216, .32); font: 600 10.5px/1.2 var(--mb5-label-face); letter-spacing: .18em; text-transform: uppercase; color: var(--mb5-bone-86); }
.mb5-tag--ink { border-color: rgba(10, 10, 10, .4); color: var(--mb5-ink); margin-left: 0; }
.mb5-tag--onphoto { position: absolute; left: 10px; bottom: 10px; margin: 0; background: rgba(10, 10, 10, .72); border-color: transparent; color: var(--mb5-bone); }
.mb5-note { margin: clamp(28px, 4vh, 44px) 0 0; font: 400 13px/1.5 var(--mb5-body); color: var(--mb5-bone-70); }
.mb5-note .mb5-tag { margin: 0 .5em 0 0; }
.mb5-note--ink { color: rgba(10, 10, 10, .74); }

/* ── PROJECTS (N1) — the filter row.  2026-11-07: the chips are THE chip (`.mb5-pf__b` is aliased to `.mb5-chip`
   in the gradient field system above) — the ember-underline word style is retired (spec A5). */
.mb5-pf { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 clamp(36px, 5.5vh, 64px); }

/* ── N2 (PIP 16-20) — Beta, Tools, About: one viewport each, borderless, centred ──
   Carter: "why are these in boxes? Modern design is borderless" · "About centred under the top menu,
   not centre screen" · "Tools not full height".  No panel, card, pill or shadow below Projects: type on
   the ground, photographs the only surfaces, ember underlines the only furniture (Projects' language).
   Each section is >= one viewport (svh, so the phone's toolbar cannot push it short) and its content is
   centred in it; the top pad clears the pinned index (16 + 46 px; 92 + 44 px under 900). */
html .mb5-sec--full.mb2-sec {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-block: max(104px, 11vh) max(72px, 8vh);
}
.mb5-links { display: flex; flex-wrap: wrap; gap: 0 clamp(22px, 2.4vw, 40px); margin: clamp(26px, 4vh, 44px) 0 0; }

/* ── BETA — a dated, typographic log of what was observed ──────────────── */
.mb5-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 6vw, 128px); align-items: start; }
.mb5-split__head { margin: 0; }
.mb5-reps { list-style: none; margin: 0; padding: 0; display: grid; row-gap: clamp(24px, 3.6vh, 44px); }
.mb5-rep { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto; column-gap: clamp(18px, 2.2vw, 36px); align-items: baseline; }
.mb5-rep__when { margin: 0; display: grid; gap: 8px; }
.mb5-rep__when time { font: 800 clamp(22px, 1.8vw, 32px)/1 var(--mb5-disp); letter-spacing: -.02em; text-transform: uppercase; color: var(--mb5-bone); white-space: nowrap; }
.mb5-rep__state { display: inline-flex; align-items: center; gap: 7px; font: 600 10.5px/1.2 var(--mb5-label-face); letter-spacing: .18em; text-transform: uppercase; color: var(--mb5-bone-62); }
.mb5-rep.is-live .mb5-rep__state { color: var(--mb5-ember-t); }
.mb5-rep.is-live .mb5-rep__state::before { content: ""; width: 7px; height: 7px; border-radius: var(--r-ctl, 999px); background: var(--mb5-ember); animation: mb5-pulse 2.4s var(--mb5-ease) infinite alternate; }
/* 2026-11-07 (ban 2): the live dot breathes; it no longer throws a hard-edged ember ring */
@keyframes mb5-pulse { from { opacity: 1; } to { opacity: .35; } }
.mb5-rep.is-stale .mb5-rep__when time { color: var(--mb5-bone-86); }
.mb5-rep__body { min-width: 0; }
.mb5-rep__place { display: block; margin-bottom: 8px; font: 600 10.5px/1.2 var(--mb5-label-face); letter-spacing: .18em; text-transform: uppercase; color: var(--mb5-teal); filter: brightness(1.35); }
.mb5-rep__title { display: block; font: 700 clamp(20px, 1.6vw, 28px)/1.15 var(--mb5-disp); letter-spacing: -.015em; color: var(--mb5-bone); text-decoration: none; }
.mb5-rep__title > span { background: linear-gradient(var(--mb5-ember), var(--mb5-ember)) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--mb5-ease); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-bottom: 2px; }
.mb5-rep__title:hover > span, .mb5-rep__title:focus-visible > span { background-size: 100% 2px; }
.mb5-rep__title:focus-visible { outline: 2px solid var(--mb5-ember-t); outline-offset: 4px; }
.mb5-rep__note { margin: 10px 0 0; max-width: 36rem; font: 400 15px/1.55 var(--mb5-body); color: var(--mb5-bone-70); text-wrap: pretty; }
.mb5-rep__t { color: var(--mb5-bone-62); }
.mb5-rep__geo { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font: 600 11px/1 var(--mb5-label-face); letter-spacing: .18em; text-transform: uppercase; color: var(--mb5-bone-86); text-decoration: none; transition: color .3s var(--mb5-ease); }
.mb5-rep__geo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 2px; background: var(--mb5-ember); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--mb5-ease); }
.mb5-rep__geo:hover { color: var(--mb5-bone); }
.mb5-rep__geo:hover::after { transform: scaleX(1); }

/* ── TOOLS — W4 (critic w3 #3): an editorial index in Beta's split ────────
   Head left, the three tools right as a stacked list.  The names are display type sized off the width
   AND the height (min of the two), and the gaps between them off the height, so the list is the
   section's mass at every screen — 1728 x 1080, 1024 x 1366, 2560 x 1440 — not an island in a void.
   Each name carries its own line and, beside it, the vote as a word with an ember underline. */
.mb5-tools__split { align-items: start; }   /* Beta's rule: the head hangs from the list's top line */
.mb5-tools__split .mb5-split__head { padding-top: clamp(6px, 1vh, 14px); }
.mb5-tools__split .mb5-note { margin-top: clamp(24px, 3.6vh, 40px); }
.mb5-tools__list { list-style: none; margin: 0; padding: 0; display: grid; row-gap: clamp(36px, 7vh, 96px); }
.mb5-tool { display: flex; flex-direction: column; align-items: flex-start; }
.mb5-tool__state { display: inline-flex; align-items: center; gap: 10px; margin-bottom: clamp(10px, 1.6vh, 18px); font: 600 10.5px/1.2 var(--mb5-label-face); letter-spacing: .18em; text-transform: uppercase; color: var(--mb5-teal); filter: brightness(1.4); }
/* the workbench line: a short teal rule with a light running along it — "being built", not a progress bar */
.mb5-tool__state i { position: relative; width: 28px; height: 2px; background: rgba(52, 151, 143, .45); overflow: hidden; }
.mb5-tool__state i::after { content: ""; position: absolute; inset: 0; width: 40%; background: currentColor; animation: mb5-bench 2.8s var(--mb5-ease) infinite; }
@keyframes mb5-bench { 0% { transform: translateX(-110%); } 60%, 100% { transform: translateX(260%); } }
.mb5-tool__n { margin: 0; font: 800 clamp(34px, min(4.6vw, 7.4vh), 112px)/.96 var(--mb5-disp); letter-spacing: -.03em; color: var(--mb5-bone); text-wrap: balance; }
.mb5-tool__row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 6px clamp(24px, 3vw, 56px); width: 100%; margin-top: clamp(12px, 1.8vh, 20px); }
.mb5-tool__d { flex: 1 1 22rem; max-width: 34rem; margin: 0; font: 400 clamp(15px, 1.1vw, 19px)/1.55 var(--mb5-body); color: var(--mb5-bone-70); text-wrap: pretty; }
.mb5-tool__row .mb5-wantbox { flex: none; margin-top: -10px; }
/* a portrait sheet wider than the phone (1024 x 1366): side by side the list was a 620 px island in a
   1366 px screen — stack the head over the list and size the names off the width */
@media (min-width: 900px) and (max-aspect-ratio: 1/1) {
  .mb5-tools__split { grid-template-columns: minmax(0, 1fr); row-gap: clamp(56px, 6vh, 96px); }
  .mb5-tool__n { font-size: clamp(34px, 7vw, 112px); }
}
/* "I want this" is the MTB Flow Button (mtb-frame/blocks/button/style.css) — only its tick lives here */
.mb5-want__d { display: none; }
.mb5-want[aria-pressed="true"] { cursor: default; }
.mb5-want[aria-pressed="true"] .mb5-want__d { display: inline; color: #FF7D11; }
.mb5-rep__geo:focus-visible, .mb5-idx__i:focus-visible, .mb5-news__go:focus-visible { outline: 2px solid var(--mb5-ember-t); outline-offset: 3px; }

/* ── ABOUT — the portrait and his words, on the paper ───────────────────── */
.mb5-portrait { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 128px); align-items: center; color: var(--mb5-ink); }
/* the photograph is the only surface; capped by the viewport so the pair always fits one screen */
.mb5-portrait__ph { position: relative; justify-self: end; width: min(100%, calc(70svh * .8)); margin: 0; border-radius: 0; overflow: hidden; }   /* a photograph is never rounded (D1) */
.mb5-portrait__ph img { display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; }
.mb5-portrait__text { padding: 0; max-width: 40rem; }
.mb5-portrait .mb5-h2 { font-size: clamp(48px, 5.4vw, 104px); margin-bottom: clamp(24px, 3.6vh, 44px); }
.mb5-quote { margin: 0; padding: 0; }
.mb5-quote p { margin: 0 0 .8em; max-width: 30em; font: 500 clamp(17px, 1.25vw, 21px)/1.5 var(--mb5-body); color: var(--mb5-ink-70); text-wrap: pretty; }
.mb5-quote p:first-child { max-width: 20em; font: 600 clamp(24px, 2.1vw, 38px)/1.18 var(--mb5-disp); letter-spacing: -.018em; color: var(--mb5-ink); }

/* ── FOOTER (N3) — a moving horizon of light, film grain, poster type ──────
   Refs 13-16: a grainy gradient field (a sun / horizon glow falling off to black), huge type set straight
   on it, hairline rules, small info rows.  No slab, no glass, no pill.  The field is native.js's aura
   canvas (quarter-res sprites, 30 fps, only while on screen); two grain layers on top make it film. */
html .mb5-foot.mb2-sec {
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding-block: clamp(120px, 16vh, 220px) clamp(24px, 4vh, 48px);
}
.mb5-foot .mb5-frame { width: min(100% - 2 * var(--mb5-gut), 1480px); }
.mb5-foot__in { display: flex; flex-direction: column; flex: 1; justify-content: space-between; gap: clamp(48px, 9vh, 120px); }
.mb5-aura { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mb5-grain, .mb5-vig, .mb5-leak { position: absolute; pointer-events: none; }
/* the info row reads on ink: the field falls to black at the bottom, as in the refs */
.mb5-vig { inset: 0; background: linear-gradient(180deg, rgba(10, 10, 10, .55) 0%, transparent 22%, transparent 52%, rgba(10, 10, 10, .62) 74%, rgba(10, 10, 10, .9) 100%); }
/* vintage film grain: a fine luminous layer (overlay) and a coarser dark one (multiply), each jittered on
   stepped frames — the refs' grain is visible at arm's length, the old .16 overlay was not */
.mb5-grain {
  inset: -60px; opacity: .42; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.3 -.15'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  background-size: calc(200px / var(--grain-dpr, 1));   /* P0.7: 1 device px (demo3.css ladder) */
  animation: mb5-grain .9s steps(6) infinite;
}
.mb5-grain--b {
  opacity: .3; mix-blend-mode: multiply; background-size: calc(320px / var(--grain-dpr, 1));   /* P0.7 */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='7' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1.6 -.55'/></filter><rect width='320' height='320' filter='url(%23n)'/></svg>");
  animation-duration: 1.3s; animation-direction: reverse;
}
@keyframes mb5-grain { 0% { transform: translate(0, 0); } 17% { transform: translate(-22px, 14px); } 33% { transform: translate(18px, -26px); } 50% { transform: translate(-30px, -8px); } 67% { transform: translate(26px, 20px); } 83% { transform: translate(-8px, 30px); } 100% { transform: translate(0, 0); } }
.mb5-leak { right: -20%; top: -30%; width: 70%; height: 90%; background: radial-gradient(closest-side, rgba(255, 125, 17, .55), rgba(224, 170, 55, .18) 55%, transparent); mix-blend-mode: screen; opacity: 0; animation: mb5-leak 17s linear infinite; }
@keyframes mb5-leak { 0%, 62% { opacity: 0; transform: translate3d(8%, 0, 0) scale(.9); } 70% { opacity: .9; } 82% { opacity: 0; transform: translate3d(-14%, 8%, 0) scale(1.15); } 100% { opacity: 0; } }
.mb5-foot__hero { display: grid; justify-items: start; }
.mb5-mark { display: block; width: clamp(44px, 3.4vw, 64px); height: auto; margin-bottom: clamp(20px, 3vh, 36px); color: var(--mb5-bone); fill: currentColor; }
/* poster scale (ref 15's headline is ~11% of the frame width): two lines, set tight, on the field */
.mb5-word { margin: 0; font: 800 clamp(56px, 10.4vw, 300px)/.86 var(--mb5-disp); letter-spacing: -.045em; text-transform: uppercase; color: var(--mb5-bone); text-wrap: balance; }
.mb5-word span { display: block; }
.mb5-foot__base { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 5vw, 96px); row-gap: 36px; align-items: start; padding: clamp(22px, 3vh, 32px) clamp(20px, 1.6vw, 28px) clamp(20px, 2vh, 24px); border-top: 1px solid rgba(237, 231, 216, .28); }
.mb5-news__l { display: block; margin-bottom: 6px; font: 600 11px/1.3 var(--mb5-label-face); letter-spacing: .18em; text-transform: uppercase; color: var(--mb5-bone); }
/* the field is a ruled line, as the refs' info rows are — no pill, no fill */
.mb5-news__row { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(237, 231, 216, .5); transition: border-color .3s var(--mb5-ease); }
.mb5-news__in { flex: 1; min-width: 0; min-height: 48px; padding: 0; border: 0; background: transparent; color: var(--mb5-bone); font: 400 clamp(16px, 1.2vw, 20px)/1 var(--mb5-body); }
.mb5-news__in::placeholder { color: var(--mb5-bone-62); }
.mb5-news__in:focus { outline: none; }
.mb5-news__row:focus-within { border-color: var(--mb5-ember-t); }
.mb5-news__go { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0; border: 0; border-radius: 0; background: none; color: var(--mb5-ember-t); font: 600 12px/1 var(--mb5-label-face); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }
.mb5-news__go span { transition: transform .35s var(--mb5-ease); }
.mb5-news__go:hover span { transform: translateX(5px); }
.mb5-news__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mb5-news__msg.is-bad, .mb5-want__msg.is-bad { color: var(--mb5-ember-t); }
.mb5-news__go:disabled { opacity: .6; cursor: progress; }
.mb5-wantbox { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.mb5-want__n { min-height: 1.3em; font: 400 13px/1.3 var(--mb5-body); color: var(--mb5-bone-70); }
.mb5-want__n:empty { display: none; }
.mb5-want__msg { min-height: 1.3em; margin: 0; font: 400 13px/1.4 var(--mb5-body); color: var(--mb5-bone-86); }
.mb5-want__msg:empty { display: none; }
.mb5-wantmail { width: 100%; }
.mb5-wantmail[hidden] { display: none; }
.mb5-wantmail__l { display: block; margin-bottom: 6px; font: 600 10.5px/1.3 var(--mb5-label-face); letter-spacing: .18em; text-transform: uppercase; color: var(--mb5-bone-70); }
.mb5-wantmail__row { display: flex; gap: 6px; padding: 0; border: 0; border-bottom: 1px solid rgba(237, 231, 216, .3); }   /* N2: a ruled line, not a pill */
.mb5-wantmail__row:focus-within { border-color: var(--mb5-ember-t); }
.mb5-wantmail input { flex: 1; min-width: 0; min-height: 36px; padding: 0 12px; border: 0; background: transparent; color: var(--mb5-bone); font: 400 14px/1 var(--mb5-body); }
.mb5-wantmail input:focus { outline: none; }
.mb5-wantmail button { min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--mb5-ember-t); font: 600 11px/1 var(--mb5-label-face); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }
.mb5-wantmail button:focus-visible { outline: 2px solid var(--mb5-ember-t); outline-offset: 2px; }
.mb5-news__msg { min-height: 1.4em; margin: 10px 0 0; font: 400 13px/1.4 var(--mb5-body); color: var(--mb5-bone-86); }
.mb5-map { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 40px); padding: 0; }
.mb5-map__col { display: grid; align-content: start; gap: 2px; }
.mb5-map__h { margin: 0 0 8px; font: 600 11px/1.3 var(--mb5-label-face); letter-spacing: .18em; text-transform: uppercase; }
.mb5-map a { display: inline-flex; align-items: center; min-height: 32px; color: var(--mb5-bone-86); text-decoration: none; font: 400 14px/1.3 var(--mb5-body); transition: color .25s linear; }
.mb5-map__h a { color: var(--mb5-bone); font: inherit; letter-spacing: inherit; }
.mb5-map a:hover { color: var(--mb5-ember-t); }
.mb5-map__h { color: var(--mb5-bone-70); }
.mb5-map a { color: var(--mb5-bone); }
.mb5-legal { grid-column: 1 / -1; margin: 0; font: 400 12px/1.4 var(--mb5-body); color: var(--mb5-bone-86); }

/* ── CRITIC2 #1 — the masthead band (native.js) ───────────────────────────────────────────────────────────
   Under the pill (49), the mark (50) and the burger; over every section (Projects 21, zone 22).  Solid to just
   below the mark (its top is mark.css's clamp(20px, 4vw, 64px), its box 48 px) + 16 px air, then a 32 px feather:
   text rising to the top dissolves into its own ground and never reaches the pill or the mark.  The colour is the
   ground under it — Bone on paper, Ink on the dark sections — and eases across a seam.  DESIGN.md hex only. */
.mb5-band {
  --bs: calc(env(safe-area-inset-top, 0px) + clamp(20px, 4vw, 64px) + 48px + 16px);
  position: fixed; left: 0; right: 0; top: 0; z-index: 30; height: calc(var(--bs) + 32px); pointer-events: none;
  background-color: #0A0A0A;
  -webkit-mask-image: linear-gradient(#000 var(--bs), transparent); mask-image: linear-gradient(#000 var(--bs), transparent);
  opacity: 0; transition: opacity .3s linear, background-color .35s cubic-bezier(.16, 1, .3, 1);
}
.mb5-band.is-on { opacity: 1; }
.mb5-band.is-light { background-color: #EDE7D8; }
/* PROJECTS' Ember block under the band (native.js reads the block's own rect, critic b1 #1): `is-pj` = the block covers
   the band's whole depth — Ember, hard-edged; `is-split` = the block's edge is inside the band — Ember above --sv, Bone
   below, the same hard edge the block has.  Both snap (the geometry is continuous, a colour ease would smear). */
.mb5-band.is-pj { background-color: #FF5B04; -webkit-mask-image: none; mask-image: none; transition: opacity .3s linear; }
/* the block's edge across the mark (native.js `mb5-onseam`): no plate under it — Ink on Bone and on Ember both read */
html.mb5-onseam .mb4-dock.mb4-dock.mb4-dock::before { content: none; }
.mb5-band.is-split { background-image: linear-gradient(180deg, #FF5B04 var(--sv, 0px), #EDE7D8 var(--sv, 0px)); -webkit-mask-image: none; mask-image: none; transition: opacity .3s linear; }   /* hard foot while split: the seam word's Ember feet no longer ghost through a feather (critic r3 LOW) */
@media (max-width: 899px) and (min-width: 601px) {
  .mb5-band { --bs: calc(env(safe-area-inset-top, 0px) + 136px + 14px); }   /* the strip's band (92..136) + air */
}
@media (prefers-reduced-motion: reduce) { .mb5-band { transition: none; } }

/* ── BB — the slim pinned index ─────────────────────────────────────────── */
.mb5-idx {
  position: fixed; z-index: 49; top: 16px; left: 50%;
  transform: translate3d(-50%, calc(-100% - 24px), 0); opacity: 0; pointer-events: none;
  transition: transform .5s var(--mb5-ease), opacity .35s linear;
}
.mb5-idx.is-on { transform: translate3d(-50%, 0, 0); opacity: 1; pointer-events: auto; }
/* Stage 3a (2026-11-02) — the bar is glass (backdrop-filter), and glass at opacity 0 still costs a readback
   of the live globe every frame.  Off (and tucked, below) it goes visibility:hidden once its fade has run,
   so it is never painted while nobody can see it; the fade itself is unchanged. */
.mb5-idx { visibility: hidden; transition: transform .5s var(--mb5-ease), opacity .35s linear, visibility 0s linear .35s; }
.mb5-idx.is-on { visibility: visible; transition-delay: 0s, 0s, 0s; }
.mb5-idx[hidden] { display: none; }
/* 2026-11-07 (A6): the square bar is a CAPSULE of thin glass (DESIGN glass "Thin"), the CTA's hairline and top lip;
   dense over a light or LOUD ground (html.mb5-onlight), so Bone holds 4.5:1 on Bone and on Ember */
.mb5-idx__in {
  display: flex; align-items: center; gap: 14px; height: 46px; padding: 0 8px 0 22px; border: 0; border-radius: var(--r-ctl, 999px);
  background: var(--mb5-glass-thin); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: inset 0 0 0 1px rgba(237, 231, 216, .16), inset 0 1px 0 rgba(237, 231, 216, .12);
  transition: background-color var(--dur-m-out, 180ms) var(--ease, cubic-bezier(.16, 1, .3, 1));
}
html.mb5-onlight .mb5-idx__in { background: var(--mb5-glass-dense); box-shadow: inset 0 0 0 1px rgba(237, 231, 216, .10), inset 0 1px 0 rgba(237, 231, 216, .10), 0 8px 18px -12px rgba(10, 10, 10, .32); }
/* the header layer: the section's name, kicked out by the next one (AK) */
.mb5-idx__now { position: relative; width: 6.6em; height: 1.2em; overflow: hidden; font: 800 15px/1.2 var(--mb5-disp); letter-spacing: -.01em; text-transform: uppercase; color: var(--mb5-bone); }
.mb5-idx__now b { position: absolute; left: 0; top: 0; font-weight: 800; white-space: nowrap; transform: translate3d(0, calc(var(--y, 100) * 1%), 0); opacity: var(--o, 0); }
/* critic r2 #4: native.js fires the swap on a threshold; the two names involved roll ONE step on the motion tokens */
.mb5-idx__now b.is-roll { transition: transform var(--dur-m, 320ms) var(--ease, cubic-bezier(.16, 1, .3, 1)); }
.mb5-idx__items { display: flex; align-items: center; gap: 2px; padding-left: 12px; border-left: 1px solid rgba(237, 231, 216, .14); }
.mb5-idx__i { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-ctl, 999px); font: 600 11px/1 var(--mb5-label-face); letter-spacing: .18em; text-transform: uppercase; color: var(--mb5-bone-70); text-decoration: none; white-space: nowrap; transition: color .25s linear; }
.mb5-idx__i:hover { color: var(--mb5-bone); }
.mb5-idx__i--map { color: var(--mb5-ember-t); }
.mb5-idx__i span { display: inline-block; transform: scale(calc(1 + var(--v, 0) * .08)); transform-origin: 50% 60%; }
.mb5-idx__i i { position: absolute; left: 12px; right: 12px; bottom: 9px; height: 2px; background: var(--mb5-ember); transform: scaleX(var(--v, 0)); transform-origin: 0 50%; }
.mb5-idx__i i, .mb5-idx__i span { transition: transform var(--dur-m, 320ms) var(--ease, cubic-bezier(.16, 1, .3, 1)); }   /* --v is 0 / 1 now (threshold), so the underline and the scale ease instead of tracking scroll */
.mb5-idx__i.is-cur { color: var(--mb5-bone); }

/* PIP N1 polish — the docked MB mark (mark.js, Bone fill) inks itself over a PAPER section (native.js
   toggles `mb5-onlight` from the section under the mark's band); it was invisible on Projects/About */
html.mb5-onlight .mb4-dock__fill { fill: var(--mb5-ink, #0A0A0A); }
/* ...and sits on a feathered plate of the paper itself, so a title scrolling under it passes BEHIND the
   mark instead of being cut by it (critic w1: the mark printed over the "P" of PROJECTS at 390).  On paper
   the plate is invisible; there is no box. */
/* 2026-11-07: the plate is a feathered gradient on a pseudo-element, not a 12 px-spread box-shadow — WebKit 390
   (Carter's Safari) intermittently rastered that Bone shadow BLACK, a dark halo round the mark over Recent and
   Projects (LOOKED AT: docs/ops/logs/2026-11-07-epics/s3/wk-390-chip-hike.png; the gradient: 0 of 5 frames) */
html.mb5-onlight .mb4-dock::before { content: ""; position: absolute; inset: -12px; border-radius: var(--r-ctl, 999px); z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, #EDE7D8 70%, rgba(237, 231, 216, 0)); }

/* ── content entrance (layer 1): only when native.js is running ─────────── */
html.mb5-live .mb5-sec [data-mb5-in] { transform: translate3d(0, calc((1 - var(--e, 1)) * 76px), 0); opacity: var(--e, 1); }
/* 2026-11-22 row 1 — the PHONE's entrances are one-shot and time-based: native.js (html.mb5-io) writes --e 0 -> 1 once
   when the object enters the frame (IntersectionObserver), and this transition plays it — nothing is tied to scrollY,
   so the compositor's scroll and the object never disagree (the main-thread scrub wobbled under iOS momentum) */
html.mb5-live.mb5-io .mb5-sec [data-mb5-in] { transition: transform 760ms var(--ease, cubic-bezier(.16, 1, .3, 1)), opacity 760ms var(--ease, cubic-bezier(.16, 1, .3, 1)); }

/* ── widths ─────────────────────────────────────────────────────────────── */
@media (min-width: 2200px) {
  /* 2560 adds AIR, not wider cards: the frame stops at 1240/1320; type tops out */
  .mb5-sec { --mb5-gut: 10vw; }
  /* L3 — except the footer: it is a poster, and a poster scales with the sheet (refs 15/16).  The 1480 cap
     held the wordmark at 208 px = 8.1 % of 2560; the frame now spans the sheet inside the 10vw margin, the
     word keeps its 10.4vw, and the info row grows a step so it is not a caption lost under it */
  .mb5-foot .mb5-frame { width: min(100% - 2 * var(--mb5-gut), 2080px); }
  .mb5-map a { font-size: 16px; min-height: 36px; }
  .mb5-map__h, .mb5-news__l { font-size: 12px; }
  .mb5-legal { font-size: 13px; }
}
@media (max-width: 1100px) {
  .mb5-foot__base { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 699px) {
  /* W4 (critic w3 #6) — the one-row scroller still read as a cut ("REVIEW  G|"): seven chips is two short
     lines on a phone, so they WRAP — every filter in sight, no edge to explain */
  .mb5-pf { flex-wrap: wrap; gap: 6px; }
  .mb5-pf__b { flex: none; }
}
@media (max-width: 899px) {
  html .mb5-sec.mb2-sec { padding: 88px 0 80px; }
  /* N2 — AFTER the unscoped rule above (DIGEST trap 10: a media query adds no specificity): the pad
     clears the phone's pinned strip (92 + 44 px) by one 40 px step (critic w3 #7: it sat 10 px under) */
  html .mb5-sec--full.mb2-sec { padding: 176px 0 64px; }
  .mb5-split { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  .mb5-tools__list { row-gap: 48px; }
  .mb5-tool__n { font-size: clamp(34px, 9.6vw, 56px); }
  /* W4 — the strip clearance grew 146 -> 176, so the pair is ~40 px shorter to stay centred on one
     screen (16:9 crop, tighter steps); the bottom pad matches the top so the centre is the screen's */
  html .mb5-about.mb5-sec--full.mb2-sec { padding-bottom: 176px; }
  .mb5-portrait { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .mb5-portrait__ph { justify-self: start; width: 100%; }
  .mb5-portrait__ph img { aspect-ratio: 16 / 9; object-position: 50% 30%; }
  /* the pair fits under the strip and centres: one-line name, a tighter measure */
  .mb5-portrait .mb5-h2 { font-size: clamp(34px, 10.4vw, 44px); white-space: nowrap; margin-bottom: 14px; }
  .mb5-quote p { font-size: 16px; margin-bottom: .7em; }
  .mb5-quote p:first-child { font-size: 21px; }
  .mb5-portrait .mb5-links { margin-top: 8px; }
  .mb5-rep { grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; row-gap: 6px; }
  .mb5-rep__when { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 12px; }
  .mb5-rep__when time { font-size: 20px; }
  .mb5-rep__geo { align-self: start; margin-top: -12px; }
  html .mb5-foot.mb2-sec { padding: 112px 0 28px; }
  .mb5-map { gap: 16px; }
  /* BB phone: a swipeable strip, hides on scroll down */
  /* P1 — under 900 the pill sits BELOW the mark + menu row (mark/menu bottoms: 64/68 at 390, 81 at 820), never beside it */
  /* board build (orchestrator, LN2 about-rest-390): the strip used to TUCK by sliding -100% - 120 px, i.e.
     straight up through the mark + menu row, and was caught over the MB mark mid-slide.  It now lives only
     in its own band under that row: off / tucked = faded with an 8 px lift, never a slide across the mark */
  .mb5-idx { left: 16px; right: 16px; top: 92px; transform: translate3d(0, -8px, 0); }
  .mb5-idx.is-on { transform: translate3d(0, 0, 0); }
  .mb5-idx.is-on.is-tuck { transform: translate3d(0, -8px, 0); opacity: 0; pointer-events: none; visibility: hidden; transition-delay: 0s, 0s, .35s; }
  .mb5-idx__in { height: 44px; padding: 0 4px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .mb5-idx__in::-webkit-scrollbar { display: none; }
  .mb5-idx__now { display: none; }
  .mb5-idx__items { border-left: 0; padding-left: 0; }
  .mb5-idx__i { padding: 0 8px; }
  /* the strip scrolls sideways: a soft right-edge fade says so instead of a hard cut ("ABOU|", critic 05:25) */
  .mb5-idx__in { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
}
/* board build, critic loop 2 #3 — ≤ 600 px the five-link strip could not fit: it crowded the mark + burger
   row and, as a translucent band at 92 px, lay over every row title scrolling under it.  It COLLAPSES to the
   current section's name only — a square Ink chip centred in the masthead row, in the gap between the mark
   (right edge 66 at 390) and the burger (left edge 322) — so it owns no band over the content at all.  The
   sections stay one tap away in the full-screen menu.  The name still kicks out by the next (AK). */
@media (max-width: 600px) {
  .mb5-idx { left: 50%; right: auto; top: 20px; transform: translate3d(-50%, -8px, 0); }
  .mb5-idx.is-on { transform: translate3d(-50%, 0, 0); }
  .mb5-idx.is-on.is-tuck { transform: translate3d(-50%, -8px, 0); }
  .mb5-idx__in { height: 44px; padding: 0 14px; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .mb5-idx__now { display: block; width: 6.4em; font-size: 13px; letter-spacing: .06em; text-align: center; }
  .mb5-idx__now b { left: 0; right: 0; text-align: center; }
  .mb5-idx__items { display: none; }
  /* the collapsed pill sits IN the masthead row beside the burger and bag discs and owns no band over the content, so it
     does not tuck away while scrolling: mid-fade it read as a muddy grey capsule next to the dense discs (gradient
     cohesion, LOOKED AT gates-c2 wk390-037).  It stays the same dense glass as they are. */
  .mb5-idx.is-on.is-tuck { transform: translate3d(-50%, 0, 0); opacity: 1; pointer-events: auto; visibility: visible; }
}
@media (prefers-reduced-motion: reduce) {
  .mb5-grain, .mb5-leak, .mb5-rep.is-live .mb5-rep__state::before { animation: none; }
  .mb5-idx, .mb5-idx.is-on { transition: none; }
  .mb5-idx__now b.is-roll, .mb5-idx__i i, .mb5-idx__i span { transition: none; }
}

/* perf A/B 2026-11-07: on the homepage the MTB Flow buttons stand on dark space / smooth fields — their backdrop blur
   cost ~2 fps of scroll and changed no pixel a reader can see */
html body .mf-btn { -webkit-backdrop-filter: none; backdrop-filter: none; }   /* outranks the MTB Flow button rule, which loads later in the bundle */

html.mb2 .mb2-nav__bag { transition-property: background-color, box-shadow, opacity, translate; }

/* 2026-11-11 Carter #8 — the load lock (chapters.js LK): the reader stays on the hero until the page is built; released
   the moment CAM + the globe are up, or after 8 s whatever happened.  The gutter is kept so nothing shifts on release. */
html.mb4-lock { overflow: hidden !important; scrollbar-gutter: stable; overscroll-behavior: none; }
html.mb4-lock body { overflow: hidden !important; overscroll-behavior: none; touch-action: none; }
/* 11-22 unfuck row 6 — the hold is SEEN: a thin Ember line draws along the foot of the frame while the page builds, and goes
   when the lock lifts (chapters.js LK) */
body::after { content: ""; position: fixed; z-index: 2147483000; left: 0; right: 0; bottom: 0; height: 2px; background: var(--mb5-ember, #FF5B04);
  transform: scaleX(0); transform-origin: 0 50%; opacity: 0; pointer-events: none; transition: opacity .5s ease, transform .4s ease; }
html.mb4-lock body::after { opacity: 1; transform: scaleX(.92); transition: opacity .2s ease, transform 6s cubic-bezier(.1, .7, .2, 1); }
@media (prefers-reduced-motion: reduce) { html.mb4-lock body::after { transition: none; transform: scaleX(1); } }
/* 2026-11-26 Carter: "a load screen that doesn't allow scrolling until its LOADED" — a full ink screen over the page while
   the lock holds (chapters.js LK waits for the globe's first settled frames); it fades as the lock lifts, the Ember line
   at its foot is the progress */
body::before { content: ""; position: fixed; inset: 0; z-index: 2147482999; background: var(--mb5-ink, #0A0A0A);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .6s ease, visibility 0s linear .6s; }
html.mb4-lock body::before { opacity: 1; visibility: visible; pointer-events: auto; transition: none; }

/* 2026-11-12 — EVERY SECTION A STOP (chapters.js Z = N - 1).  Desktop: each section is >= one screen, so a stop shows it
   whole (Projects already has its own min-height; this covers it at every width whatever it holds).  Phone (engine off,
   native scroll): the mini hold — Carter, "like it takes 10% of the scroll before moving on".  Projects, Beta and Tools
   lost theirs in 9272612 / 2caba82 (MEASURED 390 WebKit: 0 px of hold).  The content sticks and an empty tail of the
   section's own field (`::after`, inside the content box, where a sticky box has room) is the scroll it holds for:
   20 svh of a one-screen section (17 %), 36 svh of Beta's longer page (13 %). */
html.mb2 #projects.mb2-sec, html.mb2 #beta.mb2-sec, html.mb2 #tools.mb2-sec { min-height: 100vh; min-height: 100svh; }
/* 2026-11-22 (ledger 2026-11-22-mobile-flow rows 1/7) — the phone's sticky mini holds are GONE.  Carter: "It section is
   choppy as it scrolls between each section … This should be the easiest smoothest" · "Projects is fighting what to
   anchor".  The sticky content + empty `::after` tail made every section below Recent stop, hold and let go under the
   reader's thumb; on a phone every section is now plain flow, one screen tall, and scrolls exactly with the finger. */

/* ══ 2026-11-16 row 19 — THE IN-FLOW HOLDS (desktop only: html.mb4-vs is set by chapters.js on a fine pointer > 900 px).
   Carter: "There needs to be like 15% scroll delay … right now it jumps straight to the next."  Projects, Beta and Tools
   are in flow, so the compositor scrolls them and a main-thread transform would trail it by a frame.  Instead each one
   rides a SCROLL-DRIVEN translate (compositor-side): from the moment its top reaches the frame's top (cover + 100vh) the
   section moves down exactly as fast as the page scrolls up, for --mb4-hold px — the frame is still — then it scrolls on,
   over a margin of the same height, so nothing below it overlaps.  No support, no class: no margin, no hold. */
@supports (animation-timeline: view()) {
  html.mb4-vs :is(#projects, #beta, #tools) {
    margin-bottom: calc(2 * var(--mb4-hold, 0px));
    animation: mb4-hold linear both;
    animation-timeline: view();
    animation-range: cover calc(100vh - .5 * var(--mb4-hold, 0px)) cover calc(100vh + 2.5 * var(--mb4-hold, 0px));
  }
}
/* critic r2: EASED, like the fixed stages — three equal thirds of H of wheel each: the section decelerates from full speed to
   0 (translate speed ramps 0 -> 1, an exact quadratic), holds (1:1), then accelerates back out (1 -> 0).  It comes to rest
   with its top on the frame's top half an H into the range, and leaves 2 H lower than its layout: the margin. */
@keyframes mb4-hold {
  0% { translate: 0 0; animation-timing-function: cubic-bezier(.3333, 0, .6667, .3333); }
  33.3333% { translate: 0 calc(.5 * var(--mb4-hold, 0px)); animation-timing-function: linear; }
  66.6667% { translate: 0 calc(1.5 * var(--mb4-hold, 0px)); animation-timing-function: cubic-bezier(.3333, .6667, .6667, 1); }
  100% { translate: 0 calc(2 * var(--mb4-hold, 0px)); }
}

/* ══ 11-19 row 23 — HOME ↔ MTB GLOBAL.  Carter 11-18: "the homepage should share common MTB GLOBAL themes … buttons and
   styles and things should be tied to the global so they update as we build."
   The homepage's own design-law names (demo3.css :root: --r-ctl, --ease, --hair, --ember…) now RESOLVE to the master
   tokens in assets/css/site-system.css (loaded on home by demo3-nav.php), so every rule already written against them
   follows the master.  (0,1,1) outranks site-system's own `:root { --r-ctl: 8px }` alias, which is a literal — this
   one is the token.  Fallbacks repeat the master value for the first paint. ══ */
html.mb2 {
  --r-ctl: var(--sf-r, 8px);                  /* LOCKED R8 */
  --r-tip: var(--sf-r, 8px);
  --ease: var(--sf-ease, cubic-bezier(.16, 1, .3, 1));
  --hair: var(--sf-hair, rgba(237, 231, 216, .12));
  --ember: var(--sf-on-solid, #FF5B04);
  --ember-t: var(--sf-on, #FF7D11);
  --teal: var(--sf-done, #34978F);
  --dur-l: var(--sf-dur, 600ms);
}
/* LOCKED NO-ARROW — no arrows after labels.  The homepage's arrow parts (.mb5-arrow, the Recent map door's mask, the
   report door's glyph) never show; old markup keeps the node (site-system.css does the same for .mf-btn__a). */
.mb5-arrow, html body .rc-x .rc-x__go::after, .rc-x__go > svg, .mb8-bt__go > i { display: none !important; }
/* the hero index (its layout lives with the rail in nav.css): text, hairline and focus from the master */
html.mb2 .mb4-hx__i { border-top-color: var(--sf-hair-hi, rgba(237, 231, 216, .26)); color: var(--sf-fg2, rgba(255, 255, 255, .72)); transition-duration: var(--sf-dur, 600ms); transition-timing-function: var(--sf-ease, cubic-bezier(.16, 1, .3, 1)); }
html.mb2 .mb4-hx__i:is(:hover, :focus-visible) { color: var(--sf-fg, #FFFFFF); }
html.mb2 .mb4-hx__i:focus-visible { outline-color: var(--sf-focus, #FF7E33); }
html.omtb-rim-on .mb4-hx__i:focus-visible { outline-color: transparent; }
/* section type (TS6 / TB1): every card and row title on the homepage's content sections is the H3 face, every
   supporting line the body face — the same pair the site's pages set (Manrope 700 h3, Instrument Sans) */
html.mb2 :is(.rc-lead__t, .rc-card__t, .mb8-bt__t) { font-family: "Manrope", var(--sf-face, "Hanken Grotesk", sans-serif); }
html.mb2 :is(.mb8-bt__hits li, .mb8-bt__meta dd, .mb9-bk__sub) { font-family: "Instrument Sans", var(--sf-face, sans-serif); }
/* 2026-11-22 (Carter, phone: "these pages should cleanly be full height"): below RECENT every section is a native snap
   area. The phone's snap type is on only while chapters.js has the page at rest (it pauses for programmatic scrolls), so
   on the desktop these are inert. A section exactly the frame's height lands flush; a taller one scrolls freely inside. */
@media (max-width: 900px), (pointer: coarse) {
  /* 11-22 r2: OFF — see chapters.js snapSync (an 844 px auto-ease at RECENT's end) */
}
