/* =====================================================================
 * demo3 / mark.css — WHERE THE PARTICLE MARK SITS, AND NOTHING ELSE.
 * Pairs with src-demo3/mark.js. Ledger 2026-09-04-demo3, rows 3 + 4.
 * (Ported verbatim from assets/home2/mark.css; the two additions are at
 * the bottom of this header and at the end of the file.)
 * (Moved out of src-home2/ on integration: the browser loads it, so it is
 * an ASSET beside home2.css, not a source file beside the module.)
 * ---------------------------------------------------------------------
 * 🔴 NO SHADOW. ANYWHERE. Carter, 2026-09-04: "hover and interactive
 * decay animation floating center. No shadow behind it." home2's static
 * hero mark carries `filter: drop-shadow(0 18px 48px rgba(0,0,0,.45))`
 * (home2.css:174) and home3's particle mark carries a radial ink plateau
 * on a second element under the canvas (beat-mark.js:118-159). Neither is
 * here, and neither may be added: the only thing this file paints is a
 * transparent canvas. `filter`, `box-shadow`, `text-shadow` and
 * `background` are all pinned to `none` / transparent below so a later
 * cascade cannot quietly put one back.
 *
 * 🔴 THE OVERLAY EXISTS BECAUSE OF THE IFRAME. The hero's background is a
 * cross-origin YouTube `<iframe>` (home2-body.php:1719-1721). An iframe
 * swallows every pointer event that lands on it — the parent document
 * hears nothing — so a mark that reads hover off `window` (which is what
 * home3 does) goes deaf over exactly the region it lives in. The fix is
 * an invisible sheet ABOVE the iframe that catches the pointer, with the
 * canvas inside it. The sheet is the only element in this file with
 * `pointer-events: auto`; the canvas itself is inert.
 * ---------------------------------------------------------------------
 * STRUCTURE THE HOST MUST PROVIDE (see MARK.md's integration note):
 *
 *   <div class="mb2-mk">                      <- the sheet, catches pointer
 *     <canvas class="mb2-mk__cv"></canvas>    <- the mark; inert
 *   </div>                                     <- mark.js adds its own gauge
 *
 * The sheet is a SIBLING of `.mb2-hero__media`, inside the hero section.
 * ===================================================================== */

.mb2-mk {
  position: absolute;
  inset: 0;
  /* Above `.mb2-hero__media` (the iframe) and below `.mb2-hero` (z 2), so
     the tagline, the scroll cue and any hero link keep their own hit area
     and this sheet only ever catches what they do not. */
  z-index: 1;
  /* 🔴 THE ONE `auto` IN THE FILE. Without it the iframe eats the pointer
     and the hover never fires; with it on anything larger, a real control
     stops being clickable. */
  pointer-events: auto;
  /* the sheet is a hit target, not a layer with a look */
  background: none;
  filter: none;
  box-shadow: none;
  overflow: hidden;
  /* the pointer is the interaction, so it should not also select the page */
  -webkit-user-select: none;
  user-select: none;
  /* 🔴 AND IT NEVER BLOCKS THE SCROLL. The sheet covers the whole hero, so
     a `touch-action` that captured vertical drags would make the first
     screen of the page unscrollable on a phone — the mark reads the drag,
     the page does too. */
  touch-action: pan-y;
}

/* THE CANVAS. Full-sheet, so a scattering grain has the whole hero to
   travel through and clips on nothing but the frame edge. It carries no
   size of its own — mark.js writes the backing store from `resize(w, h)`
   and the box below is what it is told. */
.mb2-mk__cv {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  /* 🔴 INERT. Hover is read off the sheet above, never off the canvas: the
     canvas is a full-hero rectangle and "the cursor is over the canvas" is
     not the same question as "the cursor is over the ink", which is the
     distinction the whole hover gate is built on. */
  pointer-events: none;
  /* 🔴 THE FOUR THAT MUST STAY OFF. Every one of them is a shadow wearing
     a different property name. */
  filter: none;
  box-shadow: none;
  text-shadow: none;
  background: transparent;
}

/* ── THE SIZING GAUGE ─────────────────────────────────────────────────────
   🔴 THE GLYPH'S WIDTH IS A clamp(), AND clamp() CANNOT BE READ BACK OFF A
   CUSTOM PROPERTY. `getComputedStyle(el).getPropertyValue('--x')` returns an
   unregistered custom property as the literal token stream — the string
   "clamp(220px, min(34vw, 62vh), 760px)", not a resolved length — so a JS
   read of a var() would have to re-implement clamp, min, vw and vh, which is
   four copies of the engine's own arithmetic waiting to drift.

   So the clamp lives on a REAL width, on a zero-height hidden element that
   mark.js creates and owns, and the engine resolves it. One `getBoundingClientRect`
   per resize; never per frame. Change the mark's size HERE and nowhere else. */
.mb2-mk__gauge {
  position: absolute;
  left: 0;
  top: 0;
  height: 0;
  display: block;
  /* `visibility: hidden` and not `display: none` — a display:none element has
     no layout and measures 0, which would silently drop the mark to its JS
     fallback size at every width. */
  visibility: hidden;
  pointer-events: none;
  /* THE SIZE. Desktop and up.
     · 220px floor keeps the glyph legible in a narrow landscape window.
     · 34vw is the reading at 1728 -> 588px, which is the proportion the
       hero was composed at.
     · 62vh is the SHORT-VIEWPORT guard: the glyph's own aspect is 193/306,
       so a 62vh width is a 39vh tall mark and the tagline below it still
       has a screen to sit in. Without it a 1728x800 window puts the mark
       through its own tagline.
     · 760px ceiling: at 2560 an uncapped 34vw is 870px of bone across the
       middle of the frame, which stops being a mark and becomes a wall.
       760 reads as 30% of that frame — the same weight it has at 1728. */
  width: clamp(220px, min(34vw, 62vh), 760px);
}

/* ── PHONE ───────────────────────────────────────────────────────────────
   A phone hero is a portrait frame and the mark is most of what is in it, so
   it takes a much larger share of the width — 72vw at 390 is 281px — while
   44vh keeps it clear of the tagline on a short landscape phone. */
@media (max-width: 899px) {
  .mb2-mk__gauge { width: clamp(200px, min(72vw, 44vh), 460px); }
}

/* ── THE HERO IS PINNED ONCE GL BOOTS ────────────────────────────────────
   home2 pins `.mb2-hero__media` and `.mb2-hero__scrim` to `position: fixed`
   the moment the GL path takes over (home2.css:166-168). The sheet has to
   make the same move or it scrolls away from the video it is composited
   over — the mark would walk up the page while its own background stayed
   put. Same rule, same trigger, so the two cannot disagree. */
html.mb2-gl-on .mb2-mk,
html.mb2-pin .mb2-mk { position: fixed; inset: 0; }   /* Recent B row 8: pinned from first paint with the hero (demo3.css `mb2-pin`) */
/* M2 #2: past the hero the full-screen sheet is out of hit-testing; the docked mark (.mb4-dock) is its own box */
html.mb4-mk-away .mb2-mk { pointer-events: none; }

/* ── REDUCED MOTION ──────────────────────────────────────────────────────
   🔴 THE MARK IS NOT MOTION. At rest it is a still image — every motion term
   in the shader is multiplied by a hover gate that is zero until the pointer
   is on the ink — so it is not hidden here. What IS removed is the hit sheet:
   with no pointer feed the gate can never leave zero, the canvas never asks
   for a second frame, and what remains on screen is the logo. */
@media (prefers-reduced-motion: reduce) {
  .mb2-mk { pointer-events: none; }
}

/* ── 🔴 THE DOM MARK'S DROP SHADOW, KILLED (demo3, ledger row 3) ──────────
   `demo3.css:172` puts `filter: drop-shadow(0 18px 48px rgba(0,0,0,.45))` on
   `.mb2-mark`, and the only thing that ever turned it off was a rule above
   900 px — so on every phone the hero shipped a soft dark shape behind the
   glyph, which is the exact thing row 3 says must not be there. The element
   itself has to STAY IN THE DOM (main.js's LOCKUP measures its `getBBox()`
   to place the tagline), so what goes is the shadow, not the node.

   This lives here rather than in demo3.css because this file is the one that
   says "no shadow, ever" and is loaded after it; a shadow put back in
   demo3.css would be overridden here instead of quietly winning. */
.mb2-hero .mb2-mark { filter: none !important; }

/* And it stops painting the moment the canvas HAS the mark — the host adds
   this class from `createMark`'s onReady, so the swap is gated on the GPU
   actually holding the glyph rather than on a timer. `visibility`, never
   `display:none`: the bbox has to stay measurable. */
html.mb2-mk-ready .mb2-hero .mb2-mark { visibility: hidden; }

/* ══════════════════════════════════════════════════════════════════════════
 * 🔴 bt013 / 0121 — THE FEATURED MARK: NO RING, NO COUNT, A FEATURED EYEBROW
 * ══════════════════════════════════════════════════════════════════════════
 * Carter, verbatim, three times: *"featured needs to be ON THE MAP, native,
 * NO TARGET RINGS"* · *"a Featured label"* · *"subtle movement on hover"*.
 * Critic 3's own frame, LOOKED AT at 1:1
 * (`bt013/critic7/1728-crops/marks-plate-122-126-1to1.jpg`): a white hairline
 * RING around each print, `17 POSTS` set in ember under DESERT SOUTHWEST, and
 * no FEATURED anywhere on the sheet.  STANDING 4 bans the count row and
 * STANDING 5 bans the ring by name.
 *
 * 🔴 WHY IT IS HERE AND NOT IN demo3.css.  demo3.css and demo3-body.php are
 * another lane's files this batch.  This file is loaded AFTER demo3.css by
 * `omtb_mb3_head_tags()` — that is already why the mark's "no shadow, ever"
 * rules win — so the same cascade carries these.  The four rules that are a
 * DELETION rather than a restatement are one-liners in demo3.css and the exact
 * patch is in BT013.md §L6a's CAN'T list; nothing below depends on that patch
 * landing, it only gets shorter when it does.
 * ────────────────────────────────────────────────────────────────────────── */

/* ── 1 · THE RING AND THE FOUR CARDINAL TICKS ARE GONE ─────────────────────
   Not dimmed — GONE.  A surveyor's circle around a photograph is the "target"
   Carter named, and the four bearing ticks only exist to sit on its rim: with
   no rim they are four unexplained dashes floating in the terrain.  What
   survives is the LEADER, which is the one line the row asks to keep — it is
   the hairline that ties the print to its name, and a map label has had one
   since before there were screens. */
.mb2-badge__ring,
.mb2-badge.is-lit .mb2-badge__ring,
.mb2-badge__tk.n, .mb2-badge__tk.s,
.mb2-badge__tk.w, .mb2-badge__tk.e { display: none; }

/* ── 2 · 🔴 bt014 / 0146 — IT IS A FOOT NOW, NOT A LEADER ──────────────────
   0121 made the leader start at the print's own edge instead of at the deleted
   ring's rim, which was right and not enough: it still ran `--ring-r + --gap`
   — 174 sheet px — sideways to a label hung off the mark's flank.  TASTE #5
   read the result and called it, in Carter's words: *"featured marks are
   stickers with wires"*.

   §D states the replacement exactly: *"the leader short and native (a hairline
   from the print's foot to the ground, not a wire across the map)"*.  So the
   name moved UNDER the print (demo3.css) and this line became what its own
   name always claimed — the standoff between the print's bottom edge and the
   place it is standing on.  `--foot` sheet px long, drawn straight down the
   sheet's own south, no rotation and no bearing branch.

   🔴 AND IT IS NOT THE DELETED STEM.  The stem was a SCREEN-SPACE plate
   hovering over a dot with a collision pass moving it around the frame
   (`placeBadge`/`gutter`, ~24 KB, killed in 0055).  This is 30 sheet px of
   in-plane standoff inside the one matrix areas.js writes: it foreshortens
   with the terrain, it cannot be moved by anything but the roster, and the
   print still occludes its own ground. */
.mb2-badge {
  /* 🔴 2, NOT 5 (0146).  `--hair` is IN-PLANE and the floor above multiplies
     in-plane lengths by ~1.22 at 1728 instead of the 0.35 the 5 was set
     against — 5 would draw a SIX PIXEL bar under every print.  At 2 the foot
     is ~2.4 screen px on the lit mark and ~1.4 on a resting one, which is a
     hairline at both. */
  --hair: 2px;
}
.mb2-badge__tk.lead,
.mb2-badge.is-w .mb2-badge__tk.lead,
.mb2-badge.is-n .mb2-badge__tk.lead,
.mb2-badge.is-s .mb2-badge__tk.lead {
  top: calc(var(--foot) * -1);
  height: var(--foot);
  transform: none;
}
/* the foot is the only ruled line the mark owns now, so it carries the weight
   the ring used to: it is legible at rest, not only when lit. */
.mb2-badge__tk.lead { background: rgba(237, 231, 216, .42); }
.mb2-badge.is-lit .mb2-badge__tk.lead { background: rgba(237, 231, 216, .72); }

/* ── 3 · NO POST COUNT ────────────────────────────────────────────────────
   Carter, 0091: *"I didn't ask for ANY of the '11 trips' headers"*, and
   STANDING 4 states it as a rule.  `17 POSTS` was the same sentence on the
   map.  The sub-places row STAYS — it is the thing a reader recognises a
   grouping by, and it is not a count. */
.mb2-badge__ct { display: none; }

/* ── 4 · 🔴 bt014 / 0146 — THE FEATURED EYEBROW, ABOVE THE PRINT ───────────
   §D: *"FEATURED eyebrow above and the area name below in tracked caps"*.  It
   used to be the first line INSIDE the label block, which made it one of two
   stacked lines under a sheared matrix — and that pair is what §B's gate kept
   catching as an intermittent OVERLAP (`__fea` ⟂ `__n`, 78x6 at 1440, 64x9 at
   390, one run in three).  0121 answered it with a 34 px margin and the phone
   block then set 14, which is the SMALLER number at the WORSE shear; MEASURED
   across the settled stations the pair actually needs 10 to 85 sheet px, so no
   constant was ever going to be right at two poses.

   Above the print it is 240 sheet px from the name with the photograph between
   them, and the collision is gone by construction rather than by a margin.
   areas.js now inserts it as a child of the MARK, not of the label.

   ONE PER VIEW.  It rides `is-lit` — the reel's own argmax with the label
   block's 0.64 s transition, so the hand-over is a move — which keeps
   "ember appears exactly once per view" exactly as 0121 wrote it, and means
   the word FEATURED is always on screen and always on the place the beat is
   talking about. */
.mb2-badge__fea {
  display: block;
  position: absolute; left: 0; top: 0;
  width: max-content; white-space: nowrap;
  text-align: center;
  /* the same shear clearance the name takes below, without the standoff
     credit: above the print there is no `--foot` between them — and against
     the EYEBROW's own width (`--egap`), not the label column's, because one
     tracked word is a third of that box and a clearance solved for the column
     floated it visibly off the photograph it belongs to. */
  transform: translate(-50%,
                       calc((var(--foot) + var(--plate-h) + var(--gap) + var(--egap, 0px)) * -1))
             translateY(-100%);
  font-family: var(--body); font-size: 15px; font-weight: 600;
  letter-spacing: .34em; text-transform: uppercase; line-height: 1;
  color: var(--ember-t);
  text-shadow: 0 2px 8px rgba(10, 10, 10, .95);
  opacity: 0;
  transition: opacity var(--dur) var(--ease), color var(--dur) var(--ease);
}
.mb2-badge.is-lit .mb2-badge__fea { opacity: 1; }
/* 0131 — and it yields to a card with the name it belongs to. */
.mb2-badge__fea { opacity: calc((1 - var(--yld, 0)) * 0); }
.mb2-badge.is-lit .mb2-badge__fea { opacity: calc(1 - var(--yld, 0)); }
@media (max-width: 899px) {
  /* the phone's name is 30 px in the same block, so the eyebrow takes the same
     step up or it disappears under its own print. */
  .mb2-badge__fea { font-size: 18px; letter-spacing: .30em; }
}

/* ── 🔴 bt014 / 0146 — THE DOM HEAT DISC IS DELETED: ONE INTENT, ONE OBJECT ──
   `.mb2-badge__heat` is a 560 sheet px radial-gradient disc in ember, drawn
   under the print, whose job was "the area's heat brightens".  The wash now
   does that IN THE TERRAIN — MEASURED x1.30 to x1.46 on rendered pixels
   against the same station with the term at 0 — and `terrain.setHeatBoost`
   already lifts the RECORD under the lit mark on top of that.  Three
   mechanisms for one sentence is `never_lazy` stated as a defect, and the
   third one is the crudest: at the new print scale it draws as a soft orange
   smear the width of two states (LOOKED AT, `d/J/1728-stills/hover-socal.png`,
   the wedge to the right of the SoCal print), which is row 0091's *"soft
   orange disc ~700 px across"* coming back on a smaller object.
   The element stays in the markup (lane I's file) and stops painting. */
.mb2-badge__heat { display: none; }

/* ── 5 · HOVER MOVES THE PRINT ────────────────────────────────────────────
   Carter, 0084: *"why isn't there subtle corresponding movement when hovering
   over each featured section"*.  The print LIFTS on `--lx/--ly` — the mark's
   own inverse matrix applied to a screen-up, so it rises toward the READER at
   every bearing — and TILTS 2.4 degrees IN THE PLANE, which is a print being
   nudged on a table rather than a card turning to face the camera.  The
   contact shadow grows and softens under it and does not rise: that pair IS
   the lift, which is the rule demo3.css states for the lit state and this is
   the same object one step further.
   Specificity: `.mb2-badge.is-lit .mb2-badge__plate` is (0,3,0) and a hovered
   mark is always the lit one (areas.js `setHover`), so the hover rules are
   written at (0,4,0) — `.is-lit:hover` — and win on weight rather than on
   file order, which is the lesson demo3.css's own five-selector note gives. */
/* 🔴 bt014 / 0146 — THE RISE IS EXACTLY `--lift`, AND ONLY ON HOVER.
   `--lx/--ly` are the inverse of this mark's own matrix applied to (0, -24),
   so `translate(--lx, --ly)` maps to (0, -24) SCREEN px by construction, at
   every bearing and every scale — which is how §D's "hover rise 24 ± 2 px" is
   a number and not an estimate.  It was not measurable before: the LIT state
   carried the same translate, so a lit mark was ALREADY raised and hover added
   nothing; and a `scale(1.20)` on top of it meant the print's rendered width
   was the floor times an undeclared 1.2.  Both are gone from the lit state
   (demo3.css) — the print's size is the floor and nothing else, and the rise
   belongs to the pointer. */
.mb2-badge:hover .mb2-badge__plate,
.mb2-badge.is-lit:hover .mb2-badge__plate,
.mb2-badge:focus-visible .mb2-badge__plate,
.mb2-badge.is-lit:focus-visible .mb2-badge__plate {
  transform: translate(calc(var(--lx) * 1px), calc(var(--ly) * 1px)) rotate(-2.4deg);
  opacity: 1; filter: none;
}

/* ── 🔴 bt014 / 0146 — AND THE HOVERED PRINT TAKES THE LOCKED ACTIVE RIM ────
   DESIGN.md's primary CTA, verbatim: *"Selected/active ONLY: two stacked conic
   gradients put two lights on the rim running in OPPOSITE directions — warm
   #FF5B04 -> #FFD9B0 clockwise, cool #34978F -> #9BE3DC anti-clockwise — 26s
   per revolution … Tight bleed: inset:-3px, blur(7px)"*.  It is an ACTIVE-state
   signal, so it exists only under the pointer or the focus ring and there is
   no glow at rest (that is the same file's rule, and the hard ban on an
   always-on ember tint).

   It is a `::after` on the MARK and not a `::before` on the print because the
   print is `overflow: hidden` — it has to be, the photograph inside it is
   pre-stretched by 1/cos and cropped by that clip — so a bleed drawn inside it
   would be cut off at exactly the 3 px that are supposed to show.  Seated off
   the same four tokens the print is, and it takes the rise and the tilt with
   it so the rim is on the print rather than under it. */
.mb2-badge::after {
  content: ""; position: absolute;
  left: calc(var(--plate-w) / -2 - 3px);
  top: calc((var(--foot) + var(--plate-h)) * -1 - 3px);
  width: calc(var(--plate-w) + 6px);
  height: calc(var(--plate-h) + 6px);
  background:
    conic-gradient(from var(--mb2rim, 0deg),
      rgba(255, 91, 4, 0) 0deg, #FF5B04 58deg, #FFD9B0 124deg, rgba(255, 217, 176, 0) 190deg),
    conic-gradient(from calc(var(--mb2rim, 0deg) * -1),
      rgba(52, 151, 143, 0) 0deg, #34978F 58deg, #9BE3DC 124deg, rgba(155, 227, 220, 0) 190deg);
  filter: blur(7px);
  opacity: 0; pointer-events: none;
  /* 🔴 BEHIND THE PRINT, OR IT IS NOT A RIM.  LOOKED AT on the first cut
     (`d/J/1728-stills/hover-socal.png`): a `::after` paints after every child,
     so a blurred conic pair over a 220x188 box arrived as an orange FIELD
     across the photograph instead of 3 px of bleed at its edge.  DESIGN.md's
     component puts the two lights BEHIND an opaque card, which is what makes
     the tight bleed read as a rim.  `.mb2-badge` already carries a `transform`
     (the matrix), so it is its own stacking context and a negative index here
     goes behind the plate without escaping the mark. */
  z-index: -1;
  transition: opacity var(--dur) var(--ease);
}
.mb2-badge:hover::after,
.mb2-badge:focus-visible::after {
  opacity: .92;
  transform: translate(calc(var(--lx) * 1px), calc(var(--ly) * 1px)) rotate(-2.4deg);
  animation: mb2-rim 26s linear infinite;
}
/* the angle has to be a registered property or it is a token stream and the
   keyframe cannot interpolate it — the same reason the mark's own size gauge
   is a real width and not a `var()` read back. */
@property --mb2rim { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes mb2-rim { to { --mb2rim: 360deg; } }
@media (prefers-reduced-motion: reduce) {
  /* DESIGN.md: reduced motion FREEZES the pan; it does not remove the signal. */
  .mb2-badge:hover::after, .mb2-badge:focus-visible::after { animation: none; }
}
.mb2-badge:hover .mb2-badge__contact,
.mb2-badge.is-lit:hover .mb2-badge__contact {
  opacity: .86; filter: blur(44px); transform: scale(1.14);
}
/* 🔴 AND THE FOOT LENGTHENS WITH THE RISE (0146).  The print goes up 24 screen
   px and the ground does not, so a foot that kept its length would leave a gap
   between the hairline's top and the print it is holding up — the "line
   beginning in mid-air" 0121 already paid for once, from the other end. */
.mb2-badge:hover .mb2-badge__tk.lead,
.mb2-badge:focus-visible .mb2-badge__tk.lead {
  top: calc(var(--foot) * -1 + var(--ly) * 1px);
  height: calc(var(--foot) - var(--ly) * 1px);
}
.mb2-badge:hover .mb2-badge__heat,
.mb2-badge.is-lit:hover .mb2-badge__heat {
  opacity: .96; transform: scale(1.12);
}
.mb2-badge:hover .mb2-badge__fea,
.mb2-badge.is-lit:hover .mb2-badge__fea { color: var(--ember); }
/* a reader who asked for less motion gets the lift and the tilt as a state
   change with no travel — the information is still there, the movement is not. */
@media (prefers-reduced-motion: reduce) {
  .mb2-badge__plate, .mb2-badge__contact, .mb2-badge__heat,
  .mb2-badge__fea, .mb2-badge__tk { transition: none; }
  .mb2-badge:hover .mb2-badge__plate,
  .mb2-badge.is-lit:hover .mb2-badge__plate { transform: none; opacity: 1; filter: none; }
}

/* ── 6 · THE LAYER IS A POINT, NOT A SHEET (gate: VOID) ───────────────────
   `.mb2-badges` is `position: fixed; inset: 0` — a full-viewport box whose
   only children are five marks, and the marks are `left:0; top:0; width:0;
   height:0` placed ENTIRELY by the matrix areas.js writes.  While the reel was
   retired at `PAN_END` the box had no visible child at the gate's stations and
   the void rule never looked at it; 0121 makes the marks persist, so the gate
   now sees a 2560x1000 element filled 0.6 % and calls it — correctly, on its
   own terms: a full-screen box with five small things in it IS a void.

   The box is not load-bearing.  Every child is positioned from the layer's
   own (0,0) origin, so collapsing the layer to a zero-size point AT that
   origin moves nothing on screen: `inset: 0 auto auto 0` keeps the origin at
   the top-left of the viewport, `overflow: visible` lets the marks draw out of
   it, and the void rule skips it (it requires 120x160).  Hit areas are
   unchanged — the layer is `pointer-events: none` and an absolutely positioned
   child of a zero-size parent hit-tests on its own box.
   🔴 `.mb2-tether` KEEPS `inset: 0`: it is an `<svg>` at `width/height: 100%`
   and its two endpoints are viewport coordinates, so it really is a sheet. */
html.mb2 .mb2-badges {
  inset: 0 auto auto 0;
  width: 0; height: 0;
  overflow: visible;
}

/* ═══════════════════════════════════════════════════════════════════════════
   bt013 / L7b — WHAT THE STRIP'S FURNITURE MAY NOT CROSS.
   Three rows land here because demo3.css belongs to another lane this batch:
   0092 (the CTA rule and the map leader over the LA ember and the SoCal
   print), 0131 (mark labels printing through the activity cards) and 0132
   (the 390 label hand-off as a cut and a timed fade).  Every value below is
   written by a module in src-demo3/ — nothing here is a second schedule.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 0092 · 1 — THE DOOR IS ITS OWN WIDTH, NOT THE ROW'S ───────────────────
   MEASURED at 1728 across 15,900-17,000 on a real wheel: `#mb2-deckcta` is
   [83, 823, **1438**, 44] and `.mb2-deck__cta::after` is `left: 0; right: 0`,
   so a 1,438 px hairline is dragged across the continent at every station of
   the strip — through the LA ember at x 480-620 and through the SoCal print.
   It is that wide because the element is `flex: 1 1 auto` inside `.mb2-ctarow`
   and there is nothing else in the row to take the space.
   The picks put a rule under the TYPE (`design-inspo/2026-08-26-picks/
   1grid.webp`), which is what `.mb2-fea__cta` already does and what 0032's own
   note in demo3.css claims for this element — the note is right and the
   declaration was not.  Content width, same weight, same 44 px hit area. */
/* 🔴 `margin-right: auto`, NOT bare `flex: 0 0 auto`.  LOOKED AT on the first
   cut (`st1/1728-y16300.png`): the door took its content width and the strip's
   prev/next arrows collapsed against it at x 372 / 426 — they had been held at
   the frame's right edge by the CTA's own flex growth, which is layout doing a
   composition's job.  The auto margin keeps them where the composition put
   them and takes the growth off the rule. */
.mb2-deck__cta { flex: 0 0 auto; margin-right: auto; }

/* ── 0092 · 2 — AND THE RULE ENDS BEFORE THE EARTH'S LIMB ─────────────────
   Carter, verbatim: *"the rule ends before the earth's limb … nothing of the
   CTA's furniture crosses lit terrain"*.  The type's own width is not enough
   at 390, where the door sits directly over southern California: MEASURED at
   y 12,496 the rule runs 22-238 and the heat under it is the RECORD's own
   raster — 1,800 activities as a texture, not a disc anything can name — so
   there is no geometry that routes a line through it.  The limb is the
   boundary that does exist, it is published every frame (`MB2SHOT.limbFrac`,
   the limb top as a fraction of the frame), and it is the one Carter named.
   `--rule-on` is carousel.js's read of it: 1 where the rule's own row is sky,
   0 where the planet is under it, eased across 26 px so the door does not
   flick.  With no globe in the shot (`limbFrac` -1) it is 1 and this beat's
   frames are untouched. */
.mb2-deck__cta::after { opacity: var(--rule-on, 1); }

/* ── 0092 · 3 — THE LEADER PASSES UNDER THE MARKS, NOT OVER THEM ───────────
   `.mb2-badges` and `.mb2-tether` were both `z-index: 3` and the tether is
   later in the document, so the hairline printed over every print it passed.
   A leader is map furniture and a print is the subject; one line, and the
   marks' own stacking (`3000 - dist`) is untouched inside their layer. */
.mb2-tether { z-index: 2; }

/* ── 0131 · THE NAME YIELDS TO THE CARD THAT COVERS IT ─────────────────────
   `--yld` is areas.js's read of the label's own screen box against the band
   deck-space.js actually DREW this frame.  The name leaves on a path — 30
   sheet px down its own bearing — rather than being switched off, and the
   leader that ties it to the print goes with it, because half a callout is
   worse than none.  `translate:` rather than `transform:`, so the four
   bearing transforms in demo3.css are untouched and this composes after
   them.  No transition: the band is a function of scroll, and a duration
   here would be the second clock 0132 exists to delete. */
.mb2-badge__label {
  opacity: calc(1 - var(--yld, 0));
  translate: 0 calc(var(--yld, 0) * 30px);
  transition: none;
}
.mb2-badge__tk.lead { opacity: calc(1 - var(--yld, 0)); }

/* ── 0132 · THE NAMES HAND OFF ON THE DRIFT, NOT ON A CLASS AND A CLOCK ────
   `--lit` is the mark's own triangle out of areas.js — continuous, a pure
   function of the camera's drift, authored to sum to 1 across a handover.
   At 390 the phone block in demo3.css switched the label on a boolean
   (`:not(.is-lit)`) and let the 0.64 s transition do the rest, so one
   crossing of the argmax during the camera's settle read as a cut and a
   timed fade at an unchanged scrollY.  Here the name's light IS the
   triangle, and it rises 26 sheet px into its seat as it lights, so it
   arrives and leaves on a path.  `--labg` keeps the desktop at 1: every
   place is NAMED at every station there, which is that beat's own rule. */
.mb2-badge__label { opacity: calc((1 - var(--yld, 0)) * var(--labg, 1)); }
@media (max-width: 899px) {
  .mb2-badge { --labg: var(--lit, 0); }
  .mb2-badge:not(.is-lit) .mb2-badge__label,
  .mb2-badge .mb2-badge__label {
    opacity: calc((1 - var(--yld, 0)) * var(--labg, 1));
    translate: 0 calc(var(--yld, 0) * 30px + (1 - var(--lit, 1)) * 26px);
  }
}


/* ══════════════════════════════════════════════════════════════════════════
   🔴 bt014 / 0146 — AN EMPTY DECK MAY NOT EAT THE MAP.

   MEASURED at 1728 with `document.elementFromPoint` over the centre of every
   featured print: at y 8,300 all five return `div#mb2-deck` or
   `div.mb2-deck__foot` — a `position: fixed`, 1728x1080, `opacity: 1`,
   `visibility: visible`, `pointer-events: auto` box whose own cards measure
   0.000 opacity.  Nothing is drawn in it and it takes every pointer on the
   frame, so NOT ONE MARK could be hovered at the station the beat settles on,
   and Carter's *"subtle movement on hover"* had nowhere to happen.  (At y6500
   the deck still carries `mb2-deck--off` and `visibility: hidden`, which is
   why the marks ARE reachable there — the defect starts exactly where that
   class comes off.)

   `mb2-deck-ink` is written by areas.js off `deck-space.band()` — the deck's
   OWN statement of what it drew this frame, cards over opacity 0.25 only.  So
   this rule only ever fires on frames where there is nothing in the deck to
   hit, which is why it cannot regress a card click, an arrow, the CTA or a
   drag bound anywhere inside it.  It lives here rather than in demo3.css for
   the same reason the three rows above it do: `#mb2-deck` is another lane's
   object this batch, this file is loaded after it, and the patch is one line
   when that lane can take it.
   ══════════════════════════════════════════════════════════════════════════ */
html.mb2:not(.mb2-deck-ink) #mb2-deck { pointer-events: none; }

/* ══════════════════════════════════════════════════════════════════════════
 * 🔴 BA (block 3, L10) — THE DOCKED MARK, TOP-LEFT. Built by mark.js (`dock`).
 * Rests opposite the menu trigger on the same gutter and the same 48 px line,
 * so the two read as one header. mark.js writes only `transform` + `opacity`
 * (the flight onto / off the GL glyph's ink box); everything here is states.
 * Aurora colours are the PROVISIONAL block-4 set (#46F08A #B8D4FF #C83C8C
 * #E0304A, docs/ops/logs/2026-10-22-demo4-v3/block4.md) — NOT in DESIGN.md.
 * Hover glow is a pre-blurred stroke on its own composited layer; only its
 * opacity changes. No always-on tint: at rest the mark is Bone.
 * ══════════════════════════════════════════════════════════════════════════ */
.mb4-dock {
  position: fixed; z-index: 50;
  /* the menu trigger's own gutter (nav.css --nav-gutter, scoped to the nav root, so restated) */
  top: calc(env(safe-area-inset-top, 0px) + clamp(20px, 4vw, 64px));
  left: calc(env(safe-area-inset-left, 0px) + clamp(20px, 4vw, 64px));
  display: block; width: 62px; height: 48px; margin-left: -4px; padding: 7px 4px;
  box-sizing: border-box; transform-origin: 0 0; opacity: 0; pointer-events: none;
  -webkit-tap-highlight-color: transparent; border-radius: var(--r-tip, 8px); outline: none;   /* law D1: 10 px was off the scale */
}
.mb4-dock.is-docked { pointer-events: auto; cursor: pointer; }
/* steps out (up and away, on the individual `translate` so it never fights the
   inline transform) while the footer's own MB is on screen */
.mb4-dock { transition: opacity .4s cubic-bezier(.2, .7, .2, 1), translate .5s cubic-bezier(.2, .7, .2, 1); }
.mb4-dock.is-away { opacity: 0 !important; translate: 0 -28px; pointer-events: none; }
.mb4-dock svg { position: absolute; inset: 7px 4px; width: calc(100% - 8px); height: calc(100% - 14px); overflow: visible; }
/* the SVG blur is in user units and the docked glyph is ~0.17 scale, so the
   in-markup blur reads as ~1 px; the bloom is a fixed CSS blur on the layer
   instead (static radius — only opacity ever changes) over a fat stroke. */
.mb4-dock__glow { opacity: 0; filter: blur(5px); will-change: opacity; transition: opacity .45s cubic-bezier(.2, .7, .2, 1); }
.mb4-dock__glow g { filter: none; stroke-width: 30px; }
.mb4-dock__line { opacity: 0; transition: opacity .35s; }
.mb4-dock__fill { transition: fill .35s; }
.mb4-dock.is-docked:hover .mb4-dock__glow, .mb4-dock:focus-visible .mb4-dock__glow { opacity: .9; }
.mb4-dock.is-docked:hover .mb4-dock__line, .mb4-dock:focus-visible .mb4-dock__line { opacity: 1; }
.mb4-dock:focus-visible { box-shadow: 0 0 0 2px #FF7D11; }
.mb4-dock:active .mb4-dock__ink { transform: scale(.96); transform-origin: 50% 50%; }
/* W1 P1-9: the idle sheen + breathe are gone — the glow above is hover / focus-visible only */
/* B2 (2026-11-07 gradient cohesion) — the mark takes the ground's TYPE colour: Bone on dark (the rest state
   above), Ink on paper AND Ink on the LOUD Ember block (Bone on Ember is 2.5:1; Ink on Ember 6.4:1, DESIGN hexes).
   `html.mb5-onlight` = Bone under the mark's band, `html.mb5-onloud` = Ember under it (native.js sets both).
   The feathered plate (demo4-native.css, onlight) is the ground's own colour so a title scrolling under the
   mark passes BEHIND it; on LOUD it is Ember, never a Bone blot.  The doubled class out-ranks the onlight plate
   in case both hooks are ever set at once — LOUD wins, because the Ember block is what is actually under it.
   Focus: Ember-text ring is invisible on Ember and 2:1 on Bone — on both it is Ink. */
html.mb5-onlight .mb4-dock__fill, html.mb5-onloud .mb4-dock__fill { fill: #0A0A0A; }
html.mb5-onloud .mb4-dock.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, #FF5B04 70%, rgba(255, 91, 4, 0)); }
html.mb5-onlight .mb4-dock:focus-visible, html.mb5-onloud .mb4-dock:focus-visible { box-shadow: 0 0 0 2px #0A0A0A; }
@media (max-width: 899px) {
  .mb4-dock { width: 50px; height: 44px; padding: 9px 4px; }
  .mb4-dock svg { inset: 9px 4px; height: calc(100% - 18px); }
}
@media (prefers-reduced-motion: reduce) {
  .mb4-dock, .mb4-dock * { animation: none !important; transition: none !important; }
}
