/* =============================================================
   BLUE ROOM — SCAN ROOM (Prototype 002, desktop-first)
   Left: source + analysis · Center: card trophy · Right: reading
   Treatments: Free Pull → Halo Mint
   (Signature Mint retired as visible tier — internal lab language only)
============================================================= */

:root {
  /* Sand text ramp — the ONE canonical warm neutral ramp, 5 named tiers
     (Base-Hex + Warm-Ramp Lock v1; DESIGN_TOKENS). Warm archive greys, no
     pure white. The cool --vault-* alternative is killed — never implemented. */
  --t-display: #dcd7cb;   /* BR-S371: was #e9e5dc. Same hue (40deg) and the same warm off-white flavour, four points less light: L* 91 -> 87. The brightest ink in the room was doing the work of a highlight rather than a text colour, and on a #0a0b0d ground it still clears 14:1. */
  --t-primary: #d7d3ca;
  --t-body: #b1ada4;   /* pass 2: lifted for readability */
  --t-meta: #948f87;   /* pass 2: quiet but readable */
  --t-ghost: #6e6b63;

  /* room — warm dark stage. --ink-950 is the LOCKED base hex #0a0b0d
     (Base-Hex + Warm-Ramp Lock v1) — the deepest shadow FLOOR only; warm-neutral
     governs every lighter surface. Tier-ratio re-derivation v1 (BR-S055): --ink-900
     re-anchored #0d0c0a → #100f0c so the first surface above the cool floor re-warms
     (R>B) and keeps a monotonic luminance step (lum 0.00333 → 0.00478 → 0.00519 →
     0.00663 → 0.00996, strictly ascending). 850/800/700 already warm-neutral above the
     floor with no AA-critical text — left as-is. --ink-900 also serves as dark-on-light
     chip text (worst case 5.97:1 on --silver-dim; all three chips clear AA). */
  --ink-950: #0a0b0d;
  --ink-900: #100f0c;
  --ink-850: #11100d;
  --ink-800: #151310;
  --ink-700: #1c1915;
  --line-faint: rgba(233, 229, 220, 0.07);
  --line: rgba(233, 229, 220, 0.12);
  --line-strong: rgba(233, 229, 220, 0.2);
  /* BR-S206: the hairline alpha ladder (About master) — structural / secondary / ambient */
  --hair-1: rgba(233, 229, 220, .14);
  --hair-2: rgba(233, 229, 220, .08);
  --hair-3: rgba(233, 229, 220, .045);

  /* legacy aliases — every existing rule inherits the warm scale */
  --silver: #c8c4bb;
  --silver-bright: var(--t-display);
  --silver-dim: var(--t-meta);
  --text: var(--t-primary);
  --muted: var(--t-body);
  --faint: var(--t-ghost);

  /* plate geometry — flat archive documents, not floating cards */
  --r-plate: 4px;
  --moss: #5e6f60;            /* free-pull dark green, muted */
  --moss-bright: #7e937f;
  /* Free Pull matte Letterpress Archive Edition finish (BR-S060) */
  --free-silver: #b8b3a8;                     /* matte serial ink, dimmer than --silver */
  --violet: #8b7bff;
  --cyan: #5fd4e0;
  --halo-green: #6fe09f;

  /* typography */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-ui: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", monospace;
  --track-caps: 0.22em;
  --track-wide: 0.3em;

  /* layout */
  --topbar-h: 58px;
  --card-w: 500px;
  --card-radius: 12px;
  --card-pad: 26px;
  --photo-ratio: 4 / 3;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }
html { background: var(--ink-950); }   /* BR-S203: dark page canvas — the body's fixed-gradient no longer covers content that scrolls past the first viewport (the About surface) */

body {
  font-family: var(--font-ui);
  color: var(--text);
  background:
    radial-gradient(110% 80% at 50% -10%, #161411 0%, var(--ink-900) 55%, var(--ink-950) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-y: auto;
  overflow-x: hidden;
}

/* =============================================================
   Top bar
============================================================= */

.topbar {
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line-faint);
}

.brand { display: flex; align-items: baseline; gap: 12px; }
.brand__mark { color: var(--silver-dim); font-size: 11px; }
.brand__name {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: var(--track-wide);
  color: var(--silver-bright);
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--faint);
}

.toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.02);
}
                                                                                   
                                                                                     
                                                                  
.toggle--treatment { display: none; }
.toggle__btn {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
  white-space: nowrap;
}
.toggle__btn:hover { color: var(--silver); }
.toggle__btn.is-active {
  color: var(--ink-900);
  background: linear-gradient(180deg, var(--silver-bright), var(--silver));
}
.toggle__btn--shiny.is-active {
  background: linear-gradient(100deg, var(--violet) 0%, var(--cyan) 55%, var(--halo-green) 100%);
  color: #0a0b0e;
}

/* =============================================================
   Room grid
============================================================= */

.room {
  display: grid;
  grid-template-columns: clamp(360px, 25vw, 500px) minmax(0, 1fr) clamp(400px, 27vw, 540px);
  gap: 0;
  /* capped so tall screens see the dossier rise into the first view */
  height: calc(100vh - var(--topbar-h) - 26px);
  max-height: 1060px;
}

/* big monitors: let the trophy grow (height allows it) */
@media (min-width: 1700px) and (min-height: 1000px) {
  :root { --card-w: 550px; }
}

.panel {
  overflow-y: auto;
  padding: 24px 24px 34px;
  display: grid;
  gap: 22px;
  align-content: start;
  scrollbar-width: thin;
  scrollbar-color: var(--ink-700) transparent;
}
/* Left panel pins the Diagram|Metrics nav and scrolls only the evidence body,
   so Diagram stays reachable on short viewports (BR-S071). Scoped to
   .panel--source — the shared .panel rule still governs the right reading panel. */
.panel--source {
  border-right: 1px solid var(--line-faint);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.panel--source .panel__nav { flex: 0 0 auto; margin-bottom: 18px; }
.panel--source .panel__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  display: grid;
  gap: 22px;
  align-content: start;
  scrollbar-width: thin;
  scrollbar-color: var(--ink-700) transparent;
}
.panel--reading { border-left: 1px solid var(--line-faint); }
.panel::-webkit-scrollbar { width: 8px; }
.panel::-webkit-scrollbar-thumb { background: var(--ink-700); border-radius: 8px; }

.stagezone {
  position: relative;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 9px 24px 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--ink-700) transparent;
  /* focus pocket: faint warm lift where the artifact sits, light
     falling off into the room at the edges — felt, not noticed */
  background:
    radial-gradient(58% 50% at 50% 44%, rgba(233, 229, 220, 0.035) 0%, transparent 62%),
    radial-gradient(130% 115% at 50% 46%, transparent 40%, rgba(4, 3, 2, 0.52) 100%);
}

/* stage orientation — what the room does, stated once above the
   artifact (compact: must not steal the card's vertical budget) */
.stageintro { text-align: center; display: grid; gap: 3px; margin: 0 0 7px; max-width: 460px; }
.stageintro__line {
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.4;
  color: var(--t-body);
}
.stageintro__cue {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--faint);
}

/* in-hero dossier cue — pinned under the card so the archive is
   discoverable without scrolling on faith */
.stagecue {
  margin-top: auto;
  padding: 10px 0 2px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.3em;
  color: var(--faint);
  text-decoration: none;
  transition: color 160ms ease;
}
.stagecue:hover { color: var(--silver); }

.hint {
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--faint);
  border-top: 1px solid var(--line-faint);
}

/* =============================================================
   Shared module system (left + right panels)
============================================================= */

.module { display: grid; gap: 11px; }
.module__head { display: flex; align-items: center; gap: 10px; }
.module__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--silver-dim);
  white-space: nowrap;
}
.module__rule { flex: 1; height: 1px; background: var(--line-faint); }
/* BR-S088 register lift: module lines carry interpretive verdicts (scene role,
   archetype read) — serif/lead so they read as written lines, not admin metadata. */
.module__line { font-family: var(--font-display); font-size: 15px; line-height: 1.55; color: var(--text); }
.module__line--fit {
  font-style: italic;
  color: var(--muted);
  border-left: 2px solid var(--line);
  padding-left: 12px;
}
.module__prose { font-size: 14px; line-height: 1.65; color: var(--text); }
.module__prose--serif {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.6;
  color: var(--silver);
}


/* =============================================================
   LEFT — scan frame with markers
============================================================= */

.scanframe {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line-faint);
  background: var(--ink-850);
}
.scanframe__img { display: block; width: 100%; height: auto; }
.scanframe__img.is-missing { display: none; }

.scanframe__corners {
  position: absolute;
  inset: 8px;
  pointer-events: none;
  background:
    linear-gradient(#e2ddd3, #e2ddd3) 0 0 / 11px 1px,
    linear-gradient(#e2ddd3, #e2ddd3) 0 0 / 1px 11px,
    linear-gradient(#e2ddd3, #e2ddd3) 100% 0 / 11px 1px,
    linear-gradient(#e2ddd3, #e2ddd3) 100% 0 / 1px 11px,
    linear-gradient(#e2ddd3, #e2ddd3) 0 100% / 11px 1px,
    linear-gradient(#e2ddd3, #e2ddd3) 0 100% / 1px 11px,
    linear-gradient(#e2ddd3, #e2ddd3) 100% 100% / 11px 1px,
    linear-gradient(#e2ddd3, #e2ddd3) 100% 100% / 1px 11px;
  background-repeat: no-repeat;
  opacity: 0.25;
}

.scanframe__meta {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.18em;
  color: rgba(226, 222, 213, 0.6);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  background: rgba(8, 9, 12, 0.4);
  padding: 3px 6px;
  border-radius: 3px;
}
.scanframe__meta--tl { top: 9px; left: 9px; }
.scanframe__meta--br { bottom: 9px; right: 9px; }
.scanframe__meta--bl { bottom: 9px; left: 9px; }

.horizonline {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(228, 224, 215, 0.5) 0 6px, transparent 6px 12px);
  opacity: 0.5;
}

/* missing-image drop target */
.imgdrop {
  display: none;
  place-items: center;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  line-height: 2;
  color: var(--faint);
  border: 1px dashed var(--line);
  border-radius: 5px;
  margin: 8px;
  padding: 30px 10px;
}
.imgdrop b { color: var(--silver-dim); }
.imgdrop__mark { display: block; font-size: 10px; margin-bottom: 6px; }
.img-missing .imgdrop { display: grid; }
.scanframe.img-missing { aspect-ratio: 4 / 3; }

/* =============================================================
   CENTER — the card (one master base, three treatments)
============================================================= */

.card {
  position: relative;
  /* halo material accents — overridden per source via inline vars */
  --halo-a: var(--violet);
  --halo-b: var(--cyan);
  --halo-c: var(--halo-green);
  width: min(var(--card-w), 100%);
  border-radius: var(--card-radius);
  padding: 1px;
  background: linear-gradient(170deg, var(--line-strong) 0%, var(--line-faint) 30%, var(--line-faint) 70%, var(--line-strong) 100%);
  /* artifact: raised above the plates — deeper static shadow */
  box-shadow: 0 44px 90px rgba(0, 0, 0, 0.62), 0 10px 28px rgba(0, 0, 0, 0.5);
  animation: card-in 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
  /* develop ceremony: the finish tweens in place — CARD depth props only */
  transition: background 420ms ease, box-shadow 420ms ease;
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.card__plate {
  position: relative;
  border-radius: calc(var(--card-radius) - 1px);
  background: linear-gradient(180deg, var(--ink-800) 0%, var(--ink-850) 55%, var(--ink-950) 100%); /* Plate-bg consolidation v1 (BR-S056): terminal stop --ink-900 -> --ink-950 (LOCKED base #0a0b0d); warm upper stops 800/850 deferred to tier-ratio */
  padding: var(--card-pad);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(233, 229, 220, 0.055); /* artifact top light */
}
.card__plate::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid var(--line-faint);
  border-radius: 4px;
  pointer-events: none;
  z-index: 3;
}

/* Engineered edge (Shiny Technique #1, CARD_TECH_LAB §20) — chamfered
   "machined-cut" corners on the master card geometry. Additive + @supports-
   gated so browsers without corner-shape keep the existing square radius;
   restyle-not-relayout (radius magnitude unchanged, only the corner shape).
   Applies to every treatment. Revert = delete this block. */
@supports (corner-shape: bevel) {
  .card { corner-shape: bevel; }
  .card__plate { corner-shape: bevel; }
  .card__plate::before { corner-shape: bevel; }
}

.corner { position: absolute; width: 14px; height: 14px; pointer-events: none; z-index: 4; }
.corner::before, .corner::after { content: ""; position: absolute; background: var(--line-strong); }
.corner::before { width: 14px; height: 1px; }
.corner::after { width: 1px; height: 14px; }
.corner--tl { top: 9px; left: 9px; }
.corner--tr { top: 9px; right: 9px; transform: scaleX(-1); }
.corner--bl { bottom: 9px; left: 9px; transform: scaleY(-1); }
.corner--br { bottom: 9px; right: 9px; transform: scale(-1); }

.card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 2px 2px 11px;
}
.card__house {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: var(--track-wide);
  color: var(--silver-dim);
}
.card__rarity {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--faint);
}

/* photo slot — real provided image */
.photo {
  position: relative;
  aspect-ratio: var(--photo-ratio);
  border-radius: 5px;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink-850);
}
/* Per-source tuning vars come from data.js (photoTuning) via inline
   style on .photo; per-treatment multipliers (--tb/--tc/--ts) come
   from the treatment blocks below. */
.photo {
  --pos: 50% 50%;
  --zoom: 1;
  --scrim: 0;
  --b: 1; --c: 1; --s: 1;
  --tb: 1; --tc: 1; --ts: 1;
}
.photo__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos);
  transform: scale(var(--zoom));
  transform-origin: var(--pos);
  filter:
    brightness(calc(var(--b) * var(--tb)))
    contrast(calc(var(--c) * var(--tc)))
    saturate(calc(var(--s) * var(--ts)));
  transition: filter 400ms ease;
}
.photo__img.is-missing { display: none; }
.photo.img-missing { display: grid; place-items: center; }

/* per-source darkening scrim — recovers blown highlights */
.photo__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 9, 12, calc(var(--scrim) * 0.9)) 0%,
    rgba(6, 9, 12, calc(var(--scrim) * 0.4)) 38%,
    rgba(6, 9, 12, calc(var(--scrim) * 0.55)) 70%,
    rgba(6, 9, 12, var(--scrim)) 100%
  );
}
/* free-pull archive tone — graphite/moss tint, off in paid states */
.photo__tone {
  position: absolute;
  inset: 0;
  background: rgba(40, 48, 42, 0.2);
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity 400ms ease;
}

.photo__grain {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.photo__foil {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(
    118deg,
    transparent 18%,
    rgba(210, 215, 228, 0.10) 34%,
    rgba(235, 238, 246, 0.18) 42%,
    rgba(210, 215, 228, 0.08) 50%,
    transparent 64%,
    rgba(200, 206, 220, 0.10) 84%,
    transparent 96%
  );
  mix-blend-mode: screen;
  transition: opacity 400ms ease;
}
.photo__shimmer {
  position: absolute;
  inset: -20% -60%;
  opacity: 0;
  background: linear-gradient(
    105deg,
    transparent 42%,
    rgba(139, 123, 255, 0.16) 47%,
    rgba(95, 212, 224, 0.22) 50%,
    rgba(111, 224, 159, 0.14) 53%,
    transparent 58%
  );
  mix-blend-mode: screen;
  transform: translateX(-40%);
}
.photo__hairline {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  pointer-events: none;
}
.photo__meta {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.18em;
  color: rgba(226, 222, 213, 0.55);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  z-index: 2;
}
.photo__meta--tr { top: 10px; right: 11px; }
.photo__meta--br { bottom: 11px; right: 11px; }
.photo__tag {
  position: absolute;
  left: 10px;
  bottom: 9px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.2em;
  color: rgba(226, 222, 213, 0.6);
  background: rgba(8, 9, 12, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 3px;
  padding: 3px 7px;
  backdrop-filter: blur(4px);
  z-index: 2;
}

/* title + signal note */
.titleblock { padding: 10px 2px 0; text-align: center; }
.titleblock__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.05;
  color: var(--silver-bright);
}
.titleblock__archline { display: flex; align-items: center; gap: 10px; margin-top: 9px; }
.archline__rule { flex: 1; height: 1px; background: var(--line-faint); }
.archline__diamond { font-size: 6px; color: var(--faint); line-height: 1; }
.titleblock__archetype {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--silver-dim);
  white-space: nowrap;
}
.verdict {
  margin-top: 10px;
  padding: 2px 6px 0;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 16.5px;
  line-height: 1.45;
  /* BR-S122/S123: the Signal Note is the card's VOICE — carried by bright silver italic
     copy, NOT a container box. The box competed with the Frame Reading ledger for "the
     important block"; dropping it (and stacking the signature under it) lets the note
     read as the single voice, flowing top→bottom. */
  color: var(--silver);
}
.verdict__key {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 7.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--silver-dim);
}

/* Frame Reading — the developed mint ledger (BR-S119): each row is NAME · 5 diamond
   pips · tier WORD. No 0-100; pips + band come from the same tierBand() the Metrics
   tab uses. --fr-on is the on-pip fill, retinted per treatment/material below so each
   finish colours its own readings (the old per-treatment .ministat__fill retints). */
/* BR-S121 — centred fixed-column ledger: NAME (left) · pips (dead-centre, on the card
   axis) · tier (closing a NARROW ~300px band), so the four rows read as ONE whole unit
   on the same centre line as the title/verdict above — not a right-clustered sprawl. */
.framereading { margin-top: 12px; padding: 12px 0 0; border-top: 1px solid var(--line-faint); max-width: 300px; margin-inline: auto; }
.framereading__key {
  display: block; margin-bottom: 10px; text-align: center;
  font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--silver-dim);
}
.fr__row {
  display: grid; grid-template-columns: 116px 72px 1fr; align-items: center; column-gap: 14px;
  padding: 5px 0; border-bottom: 1px solid var(--line-faint);
}
.fr__row:last-child { border-bottom-color: transparent; }
.fr__name {
  font-family: var(--font-mono); font-size: 9px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fr__pips { display: inline-flex; gap: 7px; justify-self: center; }
.fr__pip {
  width: 8.5px; height: 8.5px; transform: rotate(45deg); border-radius: 1px;
  border: 1px solid rgba(233, 229, 220, 0.17); background: transparent;
  box-shadow: inset 0 1px 1.5px rgba(0, 0, 0, 0.45);
}
/* lit pip = a faceted gem — a single 135deg light axis down the diamond's own diagonal
   (light top-left facet · base mid · shadow bottom-right) over the bevel insets. */
.fr__pip.is-on {
  border-color: transparent;
  background: linear-gradient(135deg, color-mix(in srgb, var(--fr-on, var(--silver)) 78%, #fff) 0%, var(--fr-on, var(--silver)) 46%, color-mix(in srgb, var(--fr-on, var(--silver)) 80%, #000) 100%);
  box-shadow: inset 1px 1px 1.2px rgba(255, 255, 255, 0.42), inset -1px -1px 1px rgba(0, 0, 0, 0.30), 0 1px 1.5px rgba(0, 0, 0, 0.40);
}
/* Base ramp (BR-S121) — positions 1-3 climb a brass VALUE ramp toward the gold finish
   (shiny only; mint/lab keep their flat material --fr-on), so the row reads as one
   continuous ascent, not three clones. */
.card[data-treatment="shiny"] .fr__pip--p1.is-on { --fr-on: var(--fr-1); }
.card[data-treatment="shiny"] .fr__pip--p2.is-on { --fr-on: var(--fr-2); }
.card[data-treatment="shiny"] .fr__pip--p3.is-on { --fr-on: var(--fr-3); }
/* the accent jump: a cool purple dip, then the gold crown — each faceted, the glow
   climbing (base none · purple medium · gold max) so PEAK reads without a number. */
.fr__pip--p4.is-on {
  background: linear-gradient(135deg, color-mix(in srgb, #8a72c4 80%, #fff) 0%, #8a72c4 46%, color-mix(in srgb, #8a72c4 78%, #000) 100%);
  box-shadow: inset 1px 1px 1.2px rgba(255, 255, 255, 0.42), inset -1px -1px 1px rgba(0, 0, 0, 0.26), 0 0 5px rgba(138, 114, 196, 0.55);
}
.fr__pip--p5.is-on {
  background: linear-gradient(135deg, color-mix(in srgb, #fbcb52 82%, #fff) 0%, #fbcb52 46%, color-mix(in srgb, #fbcb52 80%, #000) 100%);
  box-shadow: inset 1px 1px 1.2px rgba(255, 255, 255, 0.50), inset -1px -1px 1px rgba(0, 0, 0, 0.22), 0 0 7px rgba(243, 193, 72, 0.66);
}
/* BR-S122: IBM Plex Mono is only LOADED at 400/500 — 600/700 faux-bolded the word
   (the "bulky/unsightly" CHARGED). Hold to real weights + tighter tracking + a hair
   smaller; the tier WORD echoes the pip ramp (silver → brass → purple → gold) by
   COLOUR, the peak crowned by its gold, not a synthetic bold. */
.fr__tier {
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 500; letter-spacing: 0.13em; line-height: 1;
  text-transform: uppercase; text-align: right; color: var(--fr-tier, var(--silver-dim));
  font-feature-settings: "tnum" 1; font-variant-ligatures: none;
}
.fr__tier--muted { --fr-tier: #82807a; font-weight: 400; }
.fr__tier--clean { --fr-tier: var(--silver-dim); }
.fr__tier--strong { --fr-tier: #c2a274; }
.fr__tier--charged { --fr-tier: #b6a6e0; }
.fr__tier--peak { --fr-tier: #ecc06f; }
/* Free Pull stays matte — flatten every lit pip to plain silver (no facet, no warm) and
   neutralise the tier ramp; the pip COUNT + the WORD still carry the tier on free. */
.card[data-treatment="free"] .fr__pip.is-on {
  background: var(--silver);
  box-shadow: inset 1px 1px 1.2px rgba(255, 255, 255, 0.42), inset -1px -1px 1px rgba(0, 0, 0, 0.24), 0 1px 1.5px rgba(0, 0, 0, 0.4);
}
.card[data-treatment="free"] .fr__tier { --fr-tier: var(--silver-dim); }

/* BR-S156 — the ledger reads "bugged" + oversized ONLY in the small BOATS, which scale the
   whole card with `zoom` (reveal 0.92 / fullview 0.82, Vault 0.72). Under zoom a 1px
   .fr__row border-bottom collapses to a sub-pixel line that the browser rounds
   inconsistently row-to-row (some visible, some gone) = the flicker; and the 8.5px pips
   read a hair large next to the 9px labels. Fix scoped to the zoomed boats ONLY — the
   unzoomed 500px crown keeps its crisp 1px hairline + 8.5px pip (regression scout's law).
   Root cause, not the global size: swap the fractional border for a zoom-robust gradient
   hairline (a background fill anti-aliases uniformly and never rounds to 0), trim the pips,
   and open the name→pip lane so the diamonds never kiss the text. */
.reveal-stage .fr__pip, .msample__card .fr__pip, .vault .fr__pip { width: 7.5px; height: 7.5px; }
.reveal-stage .fr__pips, .msample__card .fr__pips, .vault .fr__pips { gap: 6px; }
.reveal-stage .fr__row, .msample__card .fr__row, .vault .fr__row {
  column-gap: 16px; border-bottom: 0;
  background-image: linear-gradient(var(--line-faint), var(--line-faint));
  background-size: 100% 1px; background-position: left bottom; background-repeat: no-repeat;
}
.reveal-stage .fr__row:last-child, .msample__card .fr__row:last-child, .vault .fr__row:last-child { background-image: none; }

/* signature line — BR-S123: moved DIRECTLY under the Signal Note (was below the ledger),
   so the two italic-serif voice lines form one stanza: voice → signed voice. Kept dimmer
   + smaller than the note so it reads as the quiet countersignature, not a second lead. */
.signature {
  margin-top: 6px;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15.5px;
  color: var(--faint);
}
.signature::before { content: "— "; }

/* mint strip */
.mintstrip {
  margin-top: 8px;
  padding: 9px 2px 2px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mintstrip__state {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: var(--track-wide);
  color: var(--silver-bright);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: 5px 10px;
  white-space: nowrap;
}
.mintstrip__state--free { color: var(--muted); border-style: dashed; border-color: var(--line); }
.mintstrip__serial {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--silver-dim);
  text-align: center;
}
.mintstrip__serial--ghost { color: var(--faint); }
/* the barcode IS the scan-code trigger (BR-S122) — click it (bottom-right of the mint
   strip) to pop the QR seat. A real <button>; minted-only, ghosted + inert on free. */
.barcode {
  width: 50px;
  height: 13px;
  opacity: 0.55;
  flex: none;
  border: 0; padding: 0; cursor: pointer;
  transition: opacity 160ms ease, filter 160ms ease;
  background: repeating-linear-gradient(
    90deg,
    var(--silver-dim) 0 1px, transparent 1px 3px,
    var(--silver-dim) 3px 5px, transparent 5px 6px,
    var(--silver-dim) 6px 7px, transparent 7px 10px
  );
}
/* BR-S123: the barcode EMITS LIGHT on hover (a soft bloom off the silver bars, like the
   old QR icon glowed) — drop-shadow blooms off the gradient where box-shadow cannot. */
.barcode:hover, .barcode:focus-visible {
  opacity: 1;
  filter: drop-shadow(0 0 2px rgba(200, 196, 187, 0.6)) drop-shadow(0 0 6px rgba(148, 143, 135, 0.45));
}
.barcode:focus-visible { outline: 1px solid var(--line-strong); outline-offset: 2px; }
.barcode--ghost { opacity: 0.22; pointer-events: none; cursor: default; }
.barcode--ghost:hover, .barcode--ghost:focus-visible { filter: none; opacity: 0.22; }

/* mint strip right cell (BR-S123): the "Mint Record" showcase link sits beside the
   barcode so the strip stays a balanced 3-cell row (state | serial | right). */
.mintstrip__right { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.mintlink {
  flex: none; padding: 0; border: 0; background: none; cursor: pointer;
  font-family: var(--font-mono); font-size: 8.5px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--silver-dim); white-space: nowrap;
  transition: color 160ms ease, text-shadow 160ms ease;
}
.mintlink:hover, .mintlink:focus-visible {
  color: var(--silver-bright); text-shadow: 0 0 7px rgba(233, 229, 220, 0.4); outline: none;
}
.mintlink--ghost { opacity: 0.22; pointer-events: none; cursor: default; }

/* sparkles + halo (dormant until shiny) */
.card__sparkles { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; }
.card__halo { position: absolute; inset: -40px; z-index: -1; opacity: 0; pointer-events: none; }

/* -------------------------------------------------------------
   TREATMENT: Free Pull — Letterpress Archive Edition (the Free default, BR-S060)
------------------------------------------------------------- */

/* Free Pull is its OWN matte archive finish — a different KIND than Halo
   (complete on its own), NOT "Halo minus shine": a warm-graphite uncoated
   EDITION BOARD — baked paper-fiber grain + lit surface depth, a struck
   "FREE PULL EDITION" deboss, and a real object serial. Free stays
   redesignable (grain / depth are tunable numbers). */
.card[data-treatment="free"] {
  background: linear-gradient(168deg, #322d27 0%, #211d18 30%, #1b1813 70%, #2e2922 100%);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.55), 0 44px 90px rgba(0, 0, 0, 0.62), 0 10px 28px rgba(0, 0, 0, 0.5);
}
.card[data-treatment="free"] .card__plate {
  background:
    /* organic uncoated-paper tooth — baked fiber grain */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23p)' opacity='0.5'/%3E%3C/svg%3E"),
    /* surface depth — soft light from the upper-left, darker toward the lower-right corner */
    radial-gradient(135% 110% at 28% 18%, rgba(233, 229, 220, 0.05) 0%, transparent 46%),
    radial-gradient(150% 130% at 82% 98%, rgba(0, 0, 0, 0.46) 0%, transparent 58%),
    /* base board ramp */
    linear-gradient(180deg, #1a1813 0%, #14120f 55%, #0e0d0b 100%);
  background-size: 200px 200px, 100% 100%, 100% 100%, 100% 100%;
  background-blend-mode: soft-light, normal, normal, normal;
  /* depth — soft recessed inner edge (the board sits in its frame) */
  box-shadow: inset 0 1px 0 rgba(233, 229, 220, 0.06), inset 0 0 38px rgba(0, 0, 0, 0.40);
}
.card[data-treatment="free"] .card__plate::before { border-color: rgba(94, 111, 96, 0.22); }
.card[data-treatment="free"] .photo { --tb: 0.97; --tc: 1.0; --ts: 0.92; }
.card[data-treatment="free"] .photo__tone { opacity: 0.6; }
.card[data-treatment="free"] .corner::before,
.card[data-treatment="free"] .corner::after { background: rgba(94, 111, 96, 0.5); }
.card[data-treatment="free"] .card__rarity { color: var(--moss); }
.card[data-treatment="free"] .mintstrip__state--free {
  color: #b9b4aa; border: 1px solid rgba(94, 111, 96, 0.5); border-style: solid; background: none;
  text-shadow: 0 1px 0 rgba(233, 229, 220, 0.16), 0 -1px 1px rgba(0, 0, 0, 0.78);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.55), inset 0 -1px 0 rgba(233, 229, 220, 0.06);
}
.card[data-treatment="free"] .mintstrip__serial--ghost {
  color: var(--free-silver); text-shadow: 0 1px 0 rgba(233, 229, 220, 0.12), 0 -1px 1px rgba(0, 0, 0, 0.6);
}
.card[data-treatment="free"] .barcode--ghost { opacity: 0.55; }

/* -------------------------------------------------------------
   TREATMENT: Signature Mint — internal Lab state (keyboard M),
   not a customer-facing tier; silver donor material
------------------------------------------------------------- */

.card[data-treatment="mint"] {
  background: linear-gradient(
    165deg,
    #c6cad6 0%, #62667a 18%, #2c2f38 40%, #4c505c 62%, #ced2de 88%, #6a6e7a 100%
  );
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 0 34px rgba(200, 206, 220, 0.08),
    0 6px 22px rgba(0, 0, 0, 0.5);
}
.card[data-treatment="mint"] .card__plate {
  background: linear-gradient(180deg, #171a20 0%, #11141a 55%, #0d0f14 100%);
}
.card[data-treatment="mint"] .card__plate::before { border-color: rgba(220, 224, 234, 0.13); }
.card[data-treatment="mint"] .photo { --tb: 1.03; --tc: 1.1; --ts: 1.05; }
.card[data-treatment="mint"] .photo__foil { opacity: 0.92; }
.card[data-treatment="mint"] .photo__shimmer {
  opacity: 0.45;
  background: linear-gradient(
    105deg,
    transparent 42%,
    rgba(214, 219, 232, 0.14) 47%,
    rgba(240, 243, 250, 0.2) 50%,
    rgba(214, 219, 232, 0.1) 53%,
    transparent 58%
  );
}
.card[data-treatment="mint"] .corner::before,
.card[data-treatment="mint"] .corner::after { background: rgba(220, 224, 234, 0.45); }
.card[data-treatment="mint"] .framereading { --fr-on: var(--silver); }
.card[data-treatment="mint"] .card__rarity { color: var(--silver); }
.card[data-treatment="mint"] .titleblock__archetype { color: var(--silver); }
.card[data-treatment="mint"] .mintstrip__serial { color: var(--silver); }
.card[data-treatment="mint"] .mintstrip__state {
  background: linear-gradient(180deg, rgba(228, 224, 215, 0.16), rgba(228, 224, 215, 0.03));
  border-color: rgba(220, 224, 234, 0.5);
}

/* -------------------------------------------------------------
   LAB MATERIAL PROTOTYPES (CARD_TECH_LAB §20) — finish studies layered
   ONLY on the internal Lab state (treatment "mint") via data-lab-material.
   100% static: no animation (the inherited mint shimmer sweep is neutralized
   per finish), no large-area blur (glow = tight box-shadow). Geometry-locked:
   background / box-shadow / existing layers only — no padding/margin/border-
   width change. Material identity is the finish-specific base; per-source
   --halo-* stays for accent. Not a customer tier — Lab study only.
------------------------------------------------------------- */

/* Cold Foil — pale icy metallic foil (light/cool, distinct from the black finishes) */
.card[data-treatment="mint"][data-lab-material="cold-foil"] {
  background: linear-gradient(
    160deg,
    #e3ecf6 0%, #aebfd4 20%, #5f6f87 44%, #93a4bb 66%, #e7eef7 100%
  );
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(196, 214, 236, 0.55),
    0 0 30px rgba(180, 206, 236, 0.1),
    0 6px 22px rgba(0, 0, 0, 0.5);
}
.card[data-treatment="mint"][data-lab-material="cold-foil"] .card__plate {
  background: linear-gradient(180deg, #141a23 0%, #0f141c 55%, #0b0f15 100%);
}
.card[data-treatment="mint"][data-lab-material="cold-foil"] .photo__shimmer {
  animation: none;
  transform: none;
  opacity: 0.5;
  background: linear-gradient(
    118deg,
    transparent 36%,
    rgba(210, 228, 246, 0.16) 46%,
    rgba(236, 245, 253, 0.26) 50%,
    rgba(210, 228, 246, 0.12) 54%,
    transparent 64%
  );
}
.card[data-treatment="mint"][data-lab-material="cold-foil"] .corner::before,
.card[data-treatment="mint"][data-lab-material="cold-foil"] .corner::after { background: rgba(208, 226, 246, 0.62); }
.card[data-treatment="mint"][data-lab-material="cold-foil"] .card__rarity { color: #d2e2f5; }
.card[data-treatment="mint"][data-lab-material="cold-foil"] .framereading { --fr-on: #cfe0f4; }

/* Black Star — neutral graphite black-chrome plate with a faint constellation
   grain baked in (identity from the BASE, not from sprinkled overlay dots).
   Kept deliberately NEUTRAL (graphite, low blue) so it reads distinctly from the
   blue-glass Night Gloss. */
.card[data-treatment="mint"][data-lab-material="black-star"] {
  background: linear-gradient(
    160deg,
    #383839 0%, #161514 26%, #070706 52%, #1d1c1b 76%, #333231 100%
  );
  box-shadow:
    0 34px 84px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(150, 146, 138, 0.32),
    0 6px 22px rgba(0, 0, 0, 0.6);
}
.card[data-treatment="mint"][data-lab-material="black-star"] .card__plate {
  background:
    radial-gradient(1.1px 1.1px at 16% 26%, rgba(255, 255, 255, 0.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 66% 16%, rgba(235, 230, 220, 0.42) 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 82% 58%, rgba(255, 255, 255, 0.34) 50%, transparent 51%),
    radial-gradient(1px 1px at 36% 74%, rgba(240, 236, 226, 0.3) 50%, transparent 51%),
    radial-gradient(1px 1px at 92% 30%, rgba(238, 233, 222, 0.28) 50%, transparent 51%),
    linear-gradient(180deg, #16150f 0%, #0b0a08 55%, #070605 100%);
}
.card[data-treatment="mint"][data-lab-material="black-star"] .photo__shimmer {
  animation: none;
  transform: none;
  opacity: 0.22;
  background: linear-gradient(105deg, transparent 44%, rgba(186, 198, 226, 0.12) 50%, transparent 56%);
}
.card[data-treatment="mint"][data-lab-material="black-star"] .corner::before,
.card[data-treatment="mint"][data-lab-material="black-star"] .corner::after { background: rgba(184, 178, 166, 0.5); }
.card[data-treatment="mint"][data-lab-material="black-star"] .card__rarity { color: #cbc6ba; }
.card[data-treatment="mint"][data-lab-material="black-star"] .framereading { --fr-on: #ddd8cc; }

/* Night Gloss — cool blue-black wet glass with one static specular highlight.
   Deliberately BLUER/glassier so it reads distinctly from the neutral-graphite
   Black Star. */
.card[data-treatment="mint"][data-lab-material="night-gloss"] {
  background: linear-gradient(
    160deg,
    #1d2a3b 0%, #0a121d 28%, #03070d 54%, #0e1c2c 80%, #1a2a3d 100%
  );
  box-shadow:
    0 34px 84px rgba(0, 0, 0, 0.74),
    0 0 0 1px rgba(46, 64, 90, 0.95),
    0 0 22px rgba(58, 92, 140, 0.2),
    0 6px 22px rgba(0, 0, 0, 0.6);
}
.card[data-treatment="mint"][data-lab-material="night-gloss"] .card__plate {
  background: linear-gradient(178deg, #0c121b 0%, #070c13 52%, #03070d 100%);
}
.card[data-treatment="mint"][data-lab-material="night-gloss"] .photo__shimmer {
  animation: none;
  transform: none;
  opacity: 0.6;
  background: linear-gradient(
    179deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.05) 12%,
    transparent 32%
  );
}
.card[data-treatment="mint"][data-lab-material="night-gloss"] .corner::before,
.card[data-treatment="mint"][data-lab-material="night-gloss"] .corner::after { background: rgba(96, 122, 158, 0.55); }
.card[data-treatment="mint"][data-lab-material="night-gloss"] .card__rarity { color: #a6b6cf; }
.card[data-treatment="mint"][data-lab-material="night-gloss"] .framereading { --fr-on: #a6bcd9; }

/* -------------------------------------------------------------
   TREATMENT: Halo Mint — the paid developed card
   (internal key "shiny"; per-source material via --halo-a/b/c)
------------------------------------------------------------- */

/* -------------------------------------------------------------
   Developed finish — STATIC Night Gloss wet-glass (per source via
   --halo-a/b). Replaces the retired holo-spin / shimmer-sweep /
   halo-breathe / twinkle loop pile + rainbow rarity clip: ZERO
   animation at rest (magnetic-not-yippi, battery-safe). The card reads
   "sealed under finish" — a different KIND of surface, not a brighter
   grade. The ceremony owns motion via .is-developing (below). (BR-S067)
------------------------------------------------------------- */
.card[data-treatment="shiny"] {
  /* BR-S099 — the ORIGINAL "first halo", restored VERBATIM from git 1c6c328^ (the
     commit before BR-S067 deleted it). The builder asked for the real original, not a
     reinterpretation: a rotating 3-HUE conic on the card edge (per-source --halo-a/b/c
     — for SRC-01 copper(a) is broken up by periwinkle-violet(b) + amber(c), which is
     the "changing hues" feel) + a wide colored outer bloom. Kept holo-spin (dropped
     the original card-in so the in-place develop still tweens). reduced-motion stills it. */
  padding: 1px;
  background: conic-gradient(
    from var(--holo-angle),
    #15161a 0%, var(--halo-a) 12%, #15161a 26%,
    var(--halo-b) 40%, #15161a 54%,
    var(--halo-c) 68%, #15161a 82%, var(--halo-a) 94%, #15161a 100%
  );
  animation: holo-spin 7s linear infinite;
  /* BR-S100 — keep the confirmed rotating line, but tighten the colored bloom: the
     original 44/80px wash read as an off "cloud around the lining." Now a tight hug
     (small radius + negative spread) so the LINE stays the star, not a halo cloud. */
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.65),
    0 0 11px -2px color-mix(in srgb, var(--halo-a) 30%, transparent),
    0 0 22px -11px color-mix(in srgb, var(--halo-b) 22%, transparent);
}
.card[data-treatment="shiny"] .card__plate {
  background: linear-gradient(178deg, #0c121b 0%, #070c13 52%, #03070d 100%);
}
.card[data-treatment="shiny"] .photo { --tb: 1.0; --tc: 1.08; --ts: 1.04; }
.card[data-treatment="shiny"] .photo__foil { opacity: 0.5; }
/* one STATIC specular — sealed glass, no sweep, no loop */
.card[data-treatment="shiny"] .photo__shimmer {
  opacity: 0.55; transform: none; animation: none;
  background: linear-gradient(179deg,
    color-mix(in srgb, var(--halo-a) 22%, rgba(255, 255, 255, 0.16)) 0%,
    rgba(255, 255, 255, 0.05) 12%, transparent 32%);
}
.card[data-treatment="shiny"] .corner::before,
.card[data-treatment="shiny"] .corner::after { background: color-mix(in srgb, var(--halo-a) 55%, transparent); }
.card[data-treatment="shiny"] .titleblock__archetype { color: color-mix(in srgb, var(--halo-a) 78%, var(--silver)); }
.card[data-treatment="shiny"] .archline__diamond { color: color-mix(in srgb, var(--halo-a) 60%, var(--silver-dim)); }
/* rarity — quiet single tint, never a rainbow clip */
.card[data-treatment="shiny"] .card__rarity {
  color: color-mix(in srgb, var(--halo-a) 42%, var(--silver));
  background: none; -webkit-background-clip: border-box; background-clip: border-box;
}
/* BR-S121: Halo base pips climb a 3-step brass VALUE ramp toward the gold finish — kept
   off the material mix (93% brass) so a teal/copper card can't drag the metal to clay;
   each step only a whisper of the card's accent. The 4th/5th purple+gold crown it. */
.card[data-treatment="shiny"] .framereading {
  --fr-1: color-mix(in srgb, #a07c4c 93%, var(--halo-a));
  --fr-2: color-mix(in srgb, #bd9259 93%, var(--halo-a));
  --fr-3: color-mix(in srgb, #d6aa66 93%, var(--halo-a));
  --fr-on: var(--fr-2);
}
.card[data-treatment="shiny"] .mintstrip__state {
  border-color: color-mix(in srgb, var(--halo-a) 50%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--halo-a) 12%, transparent), transparent);
}
.card[data-treatment="shiny"] .barcode { opacity: 0.8; }
/* the pulsating halo — builder-restored (BR-S068). The card is strong on its
   own (above); the halo is the card's OWN added richness — it belongs to the
   card's depth budget, NOT the room (floor/panels still spend zero). One gentle
   blurred glow that fades in on develop then breathes; opacity/transform only
   (compositor-cheap); reduced-motion stills it (block at file end). Sparkles
   stay OFF (the twinkle was the yippi offender, not the halo). */
/* BR-S099 — the ORIGINAL behind-card glow + drifting star specks, restored verbatim
   from git 1c6c328^ (pre-BR-S067). @property + @keyframes holo-spin also drive the
   edge conic above. reduced-motion stills all of it (existing block at file end). */
@property --holo-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes holo-spin { to { --holo-angle: 360deg; } }
.card[data-treatment="shiny"] .card__halo {
  opacity: 1;
  background:
    radial-gradient(45% 38% at 50% 32%, color-mix(in srgb, var(--halo-a) 18%, transparent) 0%, transparent 70%),
    radial-gradient(52% 44% at 50% 64%, color-mix(in srgb, var(--halo-b) 12%, transparent) 0%, transparent 72%);
  filter: blur(6px);
  animation: halo-breathe 5s ease-in-out infinite;
}
/* original drifting star specks (twinkle) — part of the first-halo package */
.card[data-treatment="shiny"] .card__sparkles {
  opacity: 1;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 22%, rgba(255, 255, 255, 0.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 14%, rgba(180, 240, 255, 0.8) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 64% 56%, rgba(220, 210, 255, 0.85) 50%, transparent 51%),
    radial-gradient(1px 1px at 30% 72%, rgba(255, 255, 255, 0.7) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 88% 82%, rgba(170, 255, 210, 0.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 46% 38%, rgba(255, 255, 255, 0.75) 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 20% 50%, rgba(190, 230, 255, 0.7) 50%, transparent 51%);
  animation: twinkle 2.8s ease-in-out infinite alternate;
}
@keyframes twinkle { 0% { opacity: 0.35; } 100% { opacity: 0.95; } }

/* Sealed finish (BR-S119) — the developed card reads "sealed under a warm coat":
   a caramel coat + a lamination sweep over the whole plate, mix-blended so it sits
   ON the content. MINTED states only — FREE keeps its matte moss/graphite board
   (caramel never renders on free). Subtle alpha so it tints, never muddies. */
.cardfinish {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  border-radius: calc(var(--card-radius) - 1px); opacity: 0;
}
@supports (corner-shape: bevel) { .cardfinish { corner-shape: bevel; } }
.card[data-treatment="shiny"] .cardfinish,
.card[data-treatment="mint"] .cardfinish {
  opacity: 1; mix-blend-mode: overlay;
  background-image:
    linear-gradient(165deg, rgba(228, 166, 104, 0.10) 0%, rgba(180, 120, 72, 0.05) 50%, rgba(110, 68, 36, 0.13) 100%),
    linear-gradient(152deg, rgba(233, 229, 220, 0.05) 0%, transparent 30%, transparent 70%, rgba(0, 0, 0, 0.06) 100%);
}

/* QR pop-out seat (BR-S120) — above .cardfinish(z5); clipped by .card__plate's
   overflow + bevel so it stays inside the card dimensions. When .is-qr-open the card
   front blurs to its OWN base colour (a near-opaque card-base wash over a backdrop
   blur) and a sharp placeholder scan code seats in the centre. */
.cardqr {
  position: absolute; inset: 0; z-index: 6; display: none;
  align-items: center; justify-content: center; padding: 22px;
  border-radius: calc(var(--card-radius) - 1px);
  background: linear-gradient(180deg, rgba(22, 22, 26, 0.90) 0%, rgba(17, 17, 21, 0.92) 55%, rgba(10, 11, 13, 0.94) 100%);
  -webkit-backdrop-filter: blur(10px) saturate(0.9);
  backdrop-filter: blur(10px) saturate(0.9);
}
@supports (corner-shape: bevel) { .cardqr { corner-shape: bevel; } }
.card.is-qr-open .cardqr { display: flex; animation: cardqr-in 200ms ease-out both; }
@keyframes cardqr-in { from { opacity: 0; } to { opacity: 1; } }
.cardqr__seat {
  display: grid; gap: 13px; justify-items: center;
  padding: clamp(16px, 6%, 24px);
  border-radius: 9px; border: 1px solid var(--line-faint);
  background: rgba(233, 229, 220, 0.02);
  box-shadow: inset 0 1px 0 rgba(233, 229, 220, 0.05), 0 14px 36px rgba(0, 0, 0, 0.45);
  animation: cardqr-pop 260ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes cardqr-pop { from { transform: scale(0.94); opacity: 0; } to { transform: none; opacity: 1; } }
.cardqr__code {
  width: clamp(116px, 44%, 168px); height: auto; aspect-ratio: 1; display: block;
  background: #e9e5dc; border-radius: 5px; padding: 9px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.cardqr__quiet { fill: #e9e5dc; }
.cardqr__mods rect { fill: #15140f; }
.cardqr__mods .cardqr__hole { fill: #e9e5dc; }
.cardqr__cap {
  font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--silver-dim);
}
/* BR-S123: a precise, satisfying QR DISMISS — keep .cardqr mounted through a brief
   reverse fade/scale (.is-qr-closing) instead of snapping straight to display:none. */
.card.is-qr-closing .cardqr { display: flex; animation: cardqr-out 190ms ease-in both; }
.card.is-qr-closing .cardqr__seat { animation: cardqr-seat-out 190ms cubic-bezier(0.4, 0, 0.7, 0.4) both; }
@keyframes cardqr-out { to { opacity: 0; } }
@keyframes cardqr-seat-out { to { transform: scale(0.965); opacity: 0; } }

/* Mint Record showcase (BR-S123) — the card's "Mint Record" link lifts the REAL dossier
   .dplate--mint to mid-screen over a page-wide blur scrim; dismiss un-blurs + scrolls top.
   z 900/901 sits below the lightbox (1000). The plate (901) is above the scrim (900) so it
   stays SHARP while the blurred page recedes behind it. */
.mintscrim {
  position: fixed; inset: 0; z-index: 900; opacity: 0; pointer-events: none;
  background: rgba(6, 6, 8, 0.46);
  -webkit-backdrop-filter: blur(7px) saturate(0.92); backdrop-filter: blur(7px) saturate(0.92);
  transition: opacity 260ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
body.is-mint-showcase .mintscrim { opacity: 1; pointer-events: auto; }
body.is-mint-showcase .dplate--mint {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 901; width: min(560px, 92vw); max-height: 88vh; overflow-y: auto; margin: 0 !important;
  opacity: 1; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
  /* scale-only entrance (no opacity in the keyframe): the plate stays VISIBLE even if a
     paused timeline freezes the animation at its first frame — the scrim fade carries the
     "appear". translate(-50%,-50%) keeps it exactly centred through the pop. */
  animation: mintshow-in 280ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes mintshow-in {
  from { transform: translate(-50%, -50%) scale(0.975); }
  to { transform: translate(-50%, -50%) scale(1); }
}
@keyframes halo-breathe {
  0%, 100% { opacity: 0.78; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.035); }
}

/* -------------------------------------------------------------
   Subtractive crown — the card crowns because the room RECEDES, never
   because the floor brightens (LAYUP zero-surround-depth law). The left
   panel + floor sink; the right reading panel is EXEMPT (it carries the
   reveal). No --halo on any floor/panel in any state. (Deletes the live
   5% --halo floor accent that previously leaked here.)
------------------------------------------------------------- */
body[data-treatment="shiny"] .stagezone {
  background:
    radial-gradient(58% 50% at 50% 44%, rgba(233, 229, 220, 0.035) 0%, transparent 62%),
    radial-gradient(130% 115% at 50% 46%, transparent 40%, rgba(4, 3, 2, 0.64) 100%);
  transition: background 360ms ease;
}
body[data-treatment="shiny"] .panel--source {
  background-color: rgba(4, 3, 2, 0.22);   /* ceiling 0.28 — verify legible at 1600x900 */
  transition: background-color 360ms ease;
}
body[data-treatment="shiny"] .panel--reading { background-color: transparent; }
/* carried-over free modules recede so the eye lands on the new seam */
body[data-treatment="shiny"] .panel--reading > .readhead,
body[data-treatment="shiny"] .panel--reading > .module {
  opacity: 0.74; transition: opacity 360ms ease;
}
body[data-treatment="shiny"] .panel--reading .readseam > .module { opacity: 1; }
/* the hoisted lead oracle sits OUTSIDE the seam (BR-S086 amend) — keep it lit so the voice leads, not recedes */
body[data-treatment="shiny"] .panel--reading > .module--oracle { opacity: 1; }

/* -------------------------------------------------------------
   Develop ceremony — ONE one-shot choreography (~920ms), owned by
   .is-developing on the persistent card. transform/opacity/clip-path
   only; @supports-fenced; reduced-motion snaps (block at file end).
------------------------------------------------------------- */
@property --dev { syntax: "<number>"; inherits: true; initial-value: 1; }
.room { --dev: 1; }
@keyframes develop-run { 0% { --dev: 0; } 100% { --dev: 1; } }
.card[data-treatment="shiny"].is-developing { animation: develop-run 920ms cubic-bezier(0.22, 0.61, 0.30, 1) both; }

/* CLIMAX — the dossier Card/Mint address rows wipe in (the only assigned
   identity surface); scoped to the id rows so Object/Scan don't re-animate */
@supports (clip-path: inset(0)) {
  @keyframes dev-serial {
    from { clip-path: inset(0 0 100% 0); opacity: 0.15; }
    to   { clip-path: inset(0 0 0% 0);   opacity: 1; }
  }
  .is-developing-dossier .dlineage__v--id {
    animation: dev-serial 400ms cubic-bezier(0.16, 0.84, 0.30, 1) 120ms both;
  }
  @keyframes seam-open {
    from { clip-path: inset(0 0 28% 0); opacity: 0; }
    to   { clip-path: inset(0 0 0 0);   opacity: 1; }
  }
  #readingPanel[data-mode="developed"] .readseam {
    animation: seam-open 420ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
}
/* REVEAL — on-card surface accents fade up AFTER the address reads.
   Never .card__halo (stays 0); never .photo__shimmer (rests at 0.55). */
@keyframes dev-material { from { opacity: 0; } to { opacity: 1; } }
.card.is-developing .corner::before,
.card.is-developing .corner::after,
.card.is-developing .titleblock__archetype,
.card.is-developing .archline__diamond,
.card.is-developing .card__rarity,
.card.is-developing .fr__pip.is-on {
  animation: dev-material 340ms ease-out 420ms both;
}

/* lead modules — promote by STRUCTURE (a quiet rule), never by brightness */
#readingPanel[data-mode="developed"] .module--lead {
  border-left: 2px solid var(--line); padding-left: 12px;
}

/* =============================================================
   RIGHT — reading modules (scan-result chrome)
============================================================= */

/* panel header */
.readhead {
  display: grid;
  gap: 9px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.readhead__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--silver-bright);
}
.readhead__meta { display: flex; gap: 8px; align-items: center; }
.readhead__line {
  font-family: var(--font-mono); /* mono telemetry — quiets the tagline, mirrors the index gutter */
  font-size: 11px;
  letter-spacing: 0.03em;
  line-height: 1.55;
  color: var(--t-body); /* BR-S108.3 #4: pushed to READ (was ghost 9.5px = the painful middle); free-only now */
  padding-bottom: 10px;
}
.readhead__chip {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--silver-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
}
.readhead__badge {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 11px;
}
.readhead__badge--free {
  color: var(--moss-bright);
  border: 1px solid rgba(126, 147, 127, 0.45);
}
.readhead__badge--mint {
  color: var(--ink-900);
  background: linear-gradient(180deg, var(--silver-bright), var(--silver));
}
.readhead__badge--shiny {
  color: #0a0b0e;
  background: linear-gradient(100deg, var(--halo-a, var(--violet)) 0%, var(--halo-b, var(--cyan)) 55%, var(--halo-c, var(--halo-green)) 100%);
}

/* ============================================================
   BR-S107 — Section Architecture forms (the form/shape layer).
   Each section is a different KIND of object: swatches, badges,
   sealed reveals, centered Oracle. Existing tokens only. */

/* Sealed reveal (Hidden Stat + Oracle) — the shape IS the withholding;
   a FREE tap-to-develop beat, never a paywall. */
details.seal { border: 1px dashed var(--line); border-radius: var(--r-plate, 8px); overflow: hidden; }
details.seal[open] { border-style: solid; border-color: var(--line-faint); }
.seal__cue {
  display: flex; align-items: center; gap: 9px; cursor: pointer; list-style: none;
  padding: 11px 13px; user-select: none;
}
.seal__cue::-webkit-details-marker { display: none; }
.seal__dot { color: var(--t-meta); font-size: 10px; }
.seal__name {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--t-primary); flex: 1;
}
.seal__act {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--t-meta);
}
details.seal[open] .seal__act { opacity: 0.4; }

/* Oracle — centered, large, alone (shape = importance) */
.seal--oracle { border: none; text-align: center; }
.seal--oracle .seal__cue { justify-content: center; }
.seal__cue--oracle .seal__name { flex: none; }
.doracle--centered {
  margin: 14px auto 6px; max-width: 38ch; padding: 0 8px;
  font-size: 19px; line-height: 1.5; color: var(--t-display);
  border: none; text-align: center;
}

/* ============================================================
   BR-S108.1 — Colour Field (colour-as-measurement) + 2-line Source Record. */

/* .cfbar__seg — the coloured proportion segments; reused live inside .surface__bar
   (BR-S117). The retired .module--cfield front-bar shell rules were removed. */
.cfbar__seg { width: var(--pct, 0); background: var(--sw, #555); }
.cfbar__seg + .cfbar__seg { box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.3); }
/* BR-S113 (1A): provenance one-liner absorbed into the developed Technical Receipts. */
.receipts__prov { font-size: 12.5px; line-height: 1.45; color: var(--t-body); font-style: italic; margin: 0 0 12px; }
/* BR-S113 (1B): free Mint serial — the withheld mint tail reads as a deliberate, ghosted "develops", not a truncation. */
.dmint__reserve { color: var(--t-ghost); font-style: italic; letter-spacing: 0.03em; }
/* BR-S112 (3c): developed Scan Reading rail end-mark — closes the reserved lower column. */
.readend { margin-top: 22px; display: grid; gap: 12px; justify-items: center; }
.readend__rule { width: 100%; height: 1px; background: var(--line-faint); }
.readend__mark { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--t-ghost); }

/* BR-S117: combined "Surface" module — Finish + Colour Field fused into ONE compact
   record. The proportion bar is the hero, the material chip caps it, name + character
   note form a single foot line. .cfbar__seg is reused as-is. */
.module--surface { gap: 8px; }
.panel--reading .module--surface .module__label { font-size: 9px; font-weight: 400; color: var(--t-ghost); letter-spacing: 0.16em; }
.panel--reading .module--surface .module__rule { opacity: 0.45; }
.surface__bar-row { display: flex; align-items: center; gap: 7px; }
.surface__chip { flex: none; width: 14px; height: 14px; border-radius: 3px; background: var(--fhex, #888); border: 1px solid var(--line-strong); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3); }
.surface__bar { flex: 1; display: flex; height: 9px; border-radius: 3px; overflow: hidden; border: 1px solid var(--line); }
.surface__foot { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; row-gap: 2px; }
.surface__matname { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--t-primary); white-space: nowrap; }
.surface__note { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.025em; line-height: 1.45; color: var(--t-meta); font-style: italic; }
.surface__teaser { margin: 0; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.05em; color: var(--t-ghost); }

/* BR-S108.3 (#5): Mint Record reads as a stamped certificate — the bottom seal
   gives the weight of permanence (it's a MINT record). */
.dmint__seal {
  display: flex; align-items: center; justify-content: center; gap: 11px;
  margin-top: 16px; padding-top: 14px; border-top: 2px solid var(--line-strong);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--t-body);
}
.dmint__seal-mark { color: var(--t-meta); font-size: 9px; }

/* Back: per-surface measured rows + proof (a different object from the front bar) */
.cfdeep { display: grid; gap: 12px; }
.cfdeep__row { display: grid; grid-template-columns: 4px 1fr; gap: 12px; align-items: stretch; }
.cfdeep__bar { border-radius: 2px; background: var(--sw, #555); }
.cfdeep__body { display: grid; gap: 3px; }
.cfdeep__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.cfdeep__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--t-primary); }

/* every reading module sits in its own card */
.panel--reading .module {
  border: 1px solid var(--line-faint);
  border-top-color: rgba(233, 229, 220, 0.12); /* plate top-edge light */
  border-radius: var(--r-plate);
  background: rgba(233, 229, 220, 0.015);
  padding: 15px 16px 16px;
}

/* index gutter — quiet R.NN record numbering down the right edge, echoing the
   dossier's numbered records (BR-S048) as one instrument-sheet system. Numbers
   READING-RECORD modules only (incl. the 3 free .module--locked archive teasers);
   the Develop CTA / Lab tease (.unlock) and the empty Halo badge wrapper
   (:has(.maxbadge)) are conversion/state chrome and stay OUTSIDE the record.
   details.receipts is not a .module so it is naturally skipped. counter-increment
   + ::before share ONE selector so the count and the printed mark never desync. */
.panel--reading { counter-reset: rmod; }
.panel--reading .module:not(.unlock):not(:has(.maxbadge)) {
  counter-increment: rmod;
  position: relative;
  padding-right: 46px; /* carve the right-edge index lane */
}
.panel--reading .module:not(.unlock):not(:has(.maxbadge))::before {
  content: "R." counter(rmod, decimal-leading-zero);
  position: absolute;
  top: 15px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--t-ghost); /* structural numbering = ghost (LAYUP §6) */
  font-variant-numeric: tabular-nums; /* R.09 -> R.10 must not jitter */
  pointer-events: none;
}
.panel--reading .module__label {
  font-size: 11.5px;
  color: var(--silver);
}
.panel--reading .receipts { background: rgba(0, 0, 0, 0.22); }

.receipts {
  border: 1px solid var(--line-faint);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.18);
}
.receipts summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 13px;
  cursor: pointer;
  list-style: none;
}
.receipts summary::-webkit-details-marker { display: none; }
.receipts__caret { font-size: 9px; color: var(--faint); transition: transform 180ms ease; }
.receipts[open] .receipts__caret { transform: rotate(90deg); }
.receipts__list {
  display: grid;
  gap: 7px;
  padding: 11px 13px 13px;
  border-top: 1px solid var(--line-faint);
}
.receipts__list div { display: flex; justify-content: space-between; gap: 12px; }
.receipts__list dt { font-family: var(--font-mono); font-size: 11px; color: var(--t-meta); }
.receipts__list dd { font-family: var(--font-mono); font-size: 11px; color: var(--silver); text-align: right; }

/* undeveloped modules (Free Pull) — intentional archive copy, no blur */
.module--locked,
.panel--reading .module--locked {
  border: 1px dashed var(--line-faint);
  background: none;
  border-radius: var(--r-plate);
  padding: 14px 16px;
}
/* 3-tier line weight — Oracle: heavier top edge; Stat Reading + Mint Record: a 2px
   left ledger rule; the rest stay --line-faint. ALL border LONGHAND (width/style/color):
   a shorthand would silently reset the plate-light border-top-color rgba(233,229,220,.12)
   set on .panel--reading .module (the BR-S048 cascade lesson). Same specificity (0,2,0) as
   the base rule — wins by SOURCE ORDER (placed after the base block). No accent, no fill. */
.panel--reading .module--oracle {
  border-top-width: 2px;
  border-top-style: solid;
  border-top-color: var(--line-strong);
}
.panel--reading .module--ledger {
  border-left-width: 2px;
  border-left-style: solid;
  border-left-color: var(--line);
}

.undeveloped__line {
  font-size: 12.5px;
  font-style: italic;
  line-height: 1.55;
  color: var(--t-meta); /* pass 2: quiet, not unreadable */
}

/* unlock preview */
.unlock { gap: 11px; }
/* Develop CTA = the conversion spine: a material-edged plate (the
   source's own halo accent, like the Mint Record plate), lifted above
   the quiet undeveloped teasers below it. Static — no glow, no fill. */
.unlock--spine {
  gap: 9px;
  padding: 14px 15px;
  border: 1px solid color-mix(in srgb, var(--halo-a, var(--violet)) 28%, var(--line));
  border-left: 2px solid color-mix(in srgb, var(--halo-a, var(--violet)) 55%, transparent);
  border-radius: var(--r-plate);
  background: linear-gradient(180deg, color-mix(in srgb, var(--halo-a, var(--violet)) 6%, transparent), transparent 72%);
}
.unlock--spine .module__label { color: var(--silver); }
.unlock--spine .unlock__line { color: var(--t-primary); }
.unlock__line { font-size: 13px; line-height: 1.55; color: var(--muted); }
.unlock__more {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--t-meta);
  border: 1px dashed var(--line-faint);
  border-radius: var(--r-plate);
  padding: 8px 11px;
}
/* price MOMENT lives only here, at develop-intent (Free .readseam only); the
   figure/model is intentionally absent — quiet honest framing, the only price
   chrome (BR-S071). */
.unlock__price {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: var(--faint);
  margin-top: 1px;
}
.unlock__btn {
  display: grid;
  gap: 5px;
  text-align: left;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.unlock__btn:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.04); transform: translateY(-1px); }
.unlock__name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver-bright);
}
.unlock__desc { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.05em; color: var(--t-meta); line-height: 1.55; }
.unlock__btn--shiny { border-color: color-mix(in srgb, var(--halo-a, #8b7bff) 45%, transparent); background: color-mix(in srgb, var(--halo-a, #8b7bff) 4%, transparent); }
.unlock__btn--shiny:hover { border-color: rgba(139, 123, 255, 0.65); background: rgba(139, 123, 255, 0.05); }
.unlock__btn--shiny .unlock__name {
  background: linear-gradient(90deg, var(--violet), var(--cyan), var(--halo-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.maxbadge {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  padding: 9px 10px;
  border: 1px solid rgba(139, 123, 255, 0.35);
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(139, 123, 255, 0.08), rgba(95, 212, 224, 0.07), rgba(111, 224, 159, 0.08));
  color: var(--silver);
}

/* =============================================================
   LEFT — analysis tabs (Source / Diagram / Metrics)
============================================================= */

.tabbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.02);
  gap: 3px;
}
.tabbar__btn {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 6px;
  padding: 8px 0;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}
.tabbar__btn:hover { color: var(--silver); }
.tabbar__btn.is-active {
  color: var(--silver-bright);
  background: rgba(255, 255, 255, 0.06);
}

/* ---- diagram tab: scan sheet overlay ---- */

.scanframe--diagram .scanframe__img { filter: saturate(0.65) brightness(0.78); }

.diagsvg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.diagsvg * { vector-effect: non-scaling-stroke; }

.dg--grid line { stroke: rgba(226, 222, 213, 0.13); stroke-width: 1; }
.dg--mass rect {
  fill: none;
  stroke: rgba(226, 222, 213, 0.5);
  stroke-width: 1;
  stroke-dasharray: 5 4;
}
.dg--focal ellipse { fill: none; stroke: var(--silver-bright); stroke-width: 1.2; }
.dg--focal line { stroke: var(--silver-bright); stroke-width: 1.2; }
.dg--gesture polyline { fill: none; stroke: var(--silver); stroke-width: 1.4; }
.dg--gesture ellipse { fill: var(--silver-bright); stroke: none; }
.dg--axis line { stroke: rgba(226, 222, 213, 0.55); stroke-width: 1; stroke-dasharray: 7 5; }
.dg--arrow line { stroke: var(--silver); stroke-width: 1.4; }
.dg--arrow polygon { fill: var(--silver-bright); stroke: none; }
.dg--light line { stroke: rgba(228, 224, 215, 0.65); stroke-width: 1; }
.dg--light ellipse { fill: rgba(228, 224, 215, 0.8); }
.dg-zone { fill: rgba(226, 222, 213, 0.07); stroke: none; }

/* accent economy: the diagram is an instrument, not a billboard —
   silver strokes in every state; the card alone carries the material */

.diaglabels { position: absolute; inset: 0; pointer-events: none; }
.dg-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.16em;
  color: rgba(228, 224, 215, 0.78);
  background: rgba(8, 9, 12, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  padding: 2px 6px;
  white-space: nowrap;
}
.dg-label--focal { color: var(--silver-bright); }
.dg-label--zone { color: rgba(233, 229, 220, 0.5); }

/* =============================================================
   Diagram Notes — two keyed blocks (Frame Read · Overlay Markings),
   dotted-leader rows. Kept silver/neutral: the diagram is an instrument,
   the card alone carries the material.
============================================================= */
.dnotes { display: grid; gap: 22px; margin-top: 4px; }
.dnotes__hd { display: flex; align-items: center; gap: 11px; margin-bottom: 4px; }
.dnotes__lab { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--t-ghost); }
.dnotes__ln { flex: 1; height: 1px; background: var(--line-faint); }
.dnotes__tag { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.16em; color: var(--t-ghost); }
.dnotes__blk--mark { padding-left: 12px; border-left: 2px solid var(--line-strong); }
.dnotes__row { display: flex; align-items: baseline; gap: 10px; padding: 6px 1px; }
.dnotes__idx { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; color: var(--t-ghost); font-variant-numeric: tabular-nums; flex: none; }
.dnotes__dia { font-size: 8.5px; color: var(--t-ghost); flex: none; transform: translateY(-1px); }
.dnotes__term { font-size: 11.5px; letter-spacing: 0.02em; color: var(--t-body); flex: none; }
.dnotes__lead { flex: 1; border-bottom: 1px dotted rgba(233, 229, 220, 0.2); transform: translateY(-3px); min-width: 12px; }
.dnotes__qual { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--t-meta); text-align: right; flex: none; }

/* =============================================================
   Metrics tab v2 — 4-plate diagnostic read (Frame Signature · Signal Mix ·
   Composition Field · Frame Event). Material accent allowed here (Metrics is
   the interpretive read); silhouette-not-score; Signal Mix = proportion.
   Fits the left panel; svg + text wrap/stack on narrow widths.
============================================================= */
.met-hd { margin-bottom: 14px; }
.met-hd__title { margin: 0 0 8px; font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 1.1; color: var(--t-display); }
.met-hd__id { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.met-chip { font-family: var(--font-mono); font-size: 9px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.met-hd__ln { flex: 1; height: 1px; background: var(--line-faint); }
.met-hd__read { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--t-ghost); white-space: nowrap; }
.met-hd__lede { margin: 0; max-width: 52ch; font-size: 11.5px; line-height: 1.5; color: var(--t-meta); }
.met-hd__lede b { color: var(--t-body); font-weight: 400; }

.met-plates { display: grid; gap: 16px; }
.met-plate { position: relative; border: 1px solid var(--line); border-left: 2px solid var(--line-strong); border-radius: 4px; background: linear-gradient(180deg, var(--ink-800) 0%, var(--ink-850) 55%, var(--ink-950) 100%); padding: 18px; }
.met-plate__h { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.met-plate__no { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.2em; color: var(--t-ghost); flex: none; }
.met-plate__t { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 18px; line-height: 1.1; color: var(--t-display); }
.met-lede { margin: 0 0 11px; font-size: 11.5px; line-height: 1.5; color: var(--t-meta); font-style: italic; }
.met-kicker { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--t-ghost); margin-bottom: 5px; }

.met-sig { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.met-sig__svg { flex: none; width: 200px; height: 185px; display: block; }
.met-svglab { font-family: var(--font-mono); font-size: 7.5px; letter-spacing: 0.18em; fill: var(--t-ghost); }
.met-svglab--mid { fill: rgba(233, 229, 220, 0.28); }
.met-sig__side { flex: 1; min-width: 160px; display: grid; gap: 12px; }
.met-sig__class { font-family: var(--font-display); font-size: 17px; line-height: 1.12; color: var(--t-display); }
.met-sig__note { margin: 0; font-size: 12px; line-height: 1.6; color: var(--t-body); }
.met-sig__reach { display: flex; align-items: baseline; gap: 9px; padding-top: 9px; border-top: 1px solid var(--line-faint); }
.met-sig__band { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; }

.met-mix__row { display: grid; grid-template-columns: 92px 1fr 38px; align-items: center; gap: 11px; padding: 8px 0; border-bottom: 1px solid var(--line-faint); }
.met-mix__nm { font-size: 12px; color: var(--t-body); }
.met-mix__track { position: relative; display: block; height: 7px; }
.met-mix__lead { position: absolute; right: 0; top: 3px; border-top: 1px dotted rgba(233, 229, 220, 0.16); }
.met-mix__fill { position: absolute; left: 0; top: 0; height: 7px; border-radius: 99px; }
.met-mix__pct { font-family: var(--font-mono); font-size: 10.5px; color: var(--silver); text-align: right; font-variant-numeric: tabular-nums; }

.met-field { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.met-field__svg { flex: none; width: 190px; height: 175px; display: block; }
.met-field__side { flex: 1; min-width: 150px; display: grid; gap: 12px; }
.met-field__v { font-size: 12px; line-height: 1.42; color: var(--t-body); }
.met-bands { margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line-faint); display: grid; gap: 12px; }

.met-tier__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.met-tier__n { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--t-ghost); }
.met-tier__v { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; }
.met-tier__meter { display: flex; gap: 5px; }
.met-tier__seg { flex: 1; height: 5px; border-radius: 99px; background: rgba(177, 173, 164, 0.12); }

.met-event { display: flex; gap: 14px; align-items: stretch; }
.met-event__thumb { flex: none; width: 84px; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: var(--ink-950); }
.met-event__img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88) brightness(.8) contrast(1.03); display: block; }
.met-event__main { flex: 1; min-width: 0; }
.met-event__lab { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.met-event__v { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; }
.met-event__note { margin: 0; font-family: var(--font-display); font-size: 17px; line-height: 1.4; color: var(--t-display); font-style: italic; }
.met-event__filed { margin: 13px 0 0; font-size: 11.5px; line-height: 1.55; color: var(--t-meta); }
.met-event__filed b { color: var(--t-body); font-weight: 400; }

@keyframes met-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.met-anim { animation: met-fade 760ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@media (prefers-reduced-motion: reduce) { .met-anim { animation: none; } }

/* =============================================================
   Metrics REGISTER REEL (BR-S115) — one diagnostic plate at a time.
   Header is a fixed mast; the rail below snaps one plate into the reading slot.
   Off-centre plates dim (the "one readable" cue); a source-coloured glint marks
   the landing. Compositor-only; the reel owns its own scroll via :has().
============================================================= */
/* flex all the way down so the rail gets a definite height to scroll within
   (a percentage-height child of a flex-item-as-block does NOT — that grew the rail) */
.panel--source .panel__scroll:has(.met-reel) { display: flex; flex-direction: column; overflow: hidden; padding-right: 0; }
.met-reel { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.met-reel__head { flex: 0 0 auto; }
.met-reel__ctrl { display: flex; align-items: center; gap: 11px; margin: 15px 0 4px; }
.met-reel__arrow {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 26px; padding: 0; border: 1px solid var(--line); border-radius: 999px;
  background: none; color: var(--t-meta); font-size: 9px; cursor: pointer;
  transition: color .18s ease, border-color .18s ease;
}
.met-reel__arrow:hover:not(:disabled) { color: var(--t-display); border-color: var(--line-strong); }
.met-reel__arrow:disabled { opacity: .3; cursor: default; }
.met-reel__count { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--t-ghost); font-variant-numeric: tabular-nums; }
.met-reel__ticks { display: flex; gap: 6px; flex: 1; }
.met-reel__tick { flex: 0 0 auto; width: 18px; height: 4px; padding: 0; border: 0; border-radius: 99px; background: rgba(177, 173, 164, 0.16); cursor: pointer; transition: background .2s ease; }
.met-reel__tick.is-on { background: var(--silver); }
/* The window CLIPS; the track TRANSLATES (no native scroll — robust in nested flex). */
.met-reel__window { flex: 1 1 auto; min-height: 0; overflow: hidden; position: relative; }
.met-reel .met-plates {
  /* gap:0 is load-bearing — the base .met-plates sets gap:16px, but the reel
     translates the track by exactly -i*slot-h with NO gap in the math; any inherited
     gap makes plate i sit i*gap too low (Composition Field clipped, Frame Event bleeds). */
  display: flex; flex-direction: column; gap: 0;
  transition: transform .42s cubic-bezier(0.2, 0.7, 0.2, 1); will-change: transform;
}
.met-reel__window .met-plate {
  flex: 0 0 auto; height: var(--slot-h, 420px); margin: 0;
  display: flex; flex-direction: column; justify-content: flex-start; padding: 14px 22px;
  overflow-y: auto; overflow-x: hidden; scrollbar-width: none;
  opacity: .35; transition: opacity .34s ease; position: relative;
}
/* Centre content when it fits, top-anchor + fully scroll when it overflows — auto
   margins resolve to 0 under overflow (engine-independent), so nothing bleeds above
   the slot the way justify-content:center does on an overflow-y:auto flex column. */
.met-reel__window .met-plate > :first-child { margin-top: auto; }
.met-reel__window .met-plate > :last-child { margin-bottom: auto; }
.met-reel__window .met-plate::-webkit-scrollbar { width: 0; height: 0; }
.met-reel__window .met-plate.is-centred { opacity: 1; }
/* landing glint — a thin source-coloured highlight travelling down the plate edge */
.met-reel__window .met-plate.is-centred::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--mat, var(--silver)), transparent);
  animation: met-snap 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform, opacity;
}
@keyframes met-snap { 0% { opacity: 0; transform: translateY(-100%); } 45% { opacity: .34; } 100% { opacity: 0; transform: translateY(100%); } }
/* hover deepen — only the centred (readable) plate reacts */
.met-reel__window .met-plate.is-centred:hover {
  background: linear-gradient(180deg, color-mix(in srgb, var(--mat) 7%, var(--ink-800)) 0%, var(--ink-850) 55%, var(--ink-950) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .met-reel .met-plates { transition: none; }
  .met-reel__window .met-plate { transition: none; }
  .met-reel__window .met-plate.is-centred::after { animation: none; opacity: .55; }
}

/* =============================================================
   SOURCE tab + lightbox (BR-S115) — the original photo, whole; click to enlarge.
============================================================= */
.srcphoto {
  display: block; width: 100%; padding: 0; cursor: zoom-in; position: relative; overflow: hidden;
  border: 1px solid var(--line); border-left: 2px solid var(--line-strong); border-radius: 4px;
  background: var(--ink-950);
}
.srcphoto__img { display: block; width: 100%; height: auto; max-height: 72vh; object-fit: contain; }
.srcphoto__hint {
  position: absolute; bottom: 9px; right: 9px; pointer-events: none; opacity: 0; transition: opacity .2s ease;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver);
  background: rgba(10, 11, 13, 0.66); border: 1px solid rgba(233, 229, 220, 0.16); border-radius: 2px; padding: 3px 7px;
}
.srcphoto:hover .srcphoto__hint { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 4vmin;
  opacity: 0; pointer-events: none; transition: opacity .22s ease;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__backdrop { position: absolute; inset: 0; cursor: zoom-out; background: rgba(6, 6, 8, 0.84); backdrop-filter: blur(3px); }
.lightbox__fig { position: relative; margin: 0; transform: scale(.97); transition: transform .22s cubic-bezier(0.2, 0.7, 0.2, 1); }
.lightbox.is-open .lightbox__fig { transform: scale(1); }
.lightbox__img { display: block; max-width: 92vw; max-height: 92vh; width: auto; height: auto; border-radius: 4px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.lightbox__x {
  position: absolute; top: -14px; right: -14px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border-radius: 999px; border: 1px solid var(--line-strong); background: var(--ink-900); color: var(--t-primary);
  font-size: 18px; line-height: 1; cursor: pointer; transition: color .18s ease, border-color .18s ease;
}
.lightbox__x:hover { color: var(--t-display); border-color: var(--silver); }
@media (prefers-reduced-motion: reduce) { .lightbox, .lightbox__fig { transition: none; } }

/* Finish character line (BR-S115) — the standalone right-panel finish read */
.finish__note { margin: 9px 0 0; font-size: 12px; line-height: 1.5; color: var(--t-meta); font-style: italic; }

/* Clickable brand → main menu (BR-S115) */
/* Only ◆ BLUE ROOM is the menu hitbox; the zone sub-label sits outside it (BR-S116). */
.brand__hit { display: inline-flex; align-items: baseline; gap: 12px; cursor: pointer; }

.devnote {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  line-height: 1.55;
  color: var(--faint);
  border: 1px dashed var(--line-faint);
  border-radius: 6px;
  padding: 9px 12px;
}

/* ---- metrics tab ---- */

.metriccap {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--t-meta);
  line-height: 1.5;
}
.metriccap--foot {
  text-align: center;
  padding-top: 4px;
}


/* ---- formula receipts (right panel, inside Technical Receipts) ---- */

.formulas {
  border-top: 1px solid var(--line-faint);
  padding: 11px 13px 13px;
  display: grid;
  gap: 9px;
}
.formulas__head {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}
.formulas__row { display: grid; gap: 2px; }
.formulas__k {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
}
.formulas__v {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.55;
  color: var(--muted);
}

/* =============================================================
   SCROLL DOSSIER — the archive below the hero
   Card above. Archive below. No paywall language ever.
============================================================= */

.dossier {
  border-top: 2px solid var(--line-strong); /* room → archive threshold rule */
  padding: 0 24px 70px;
}
.dossier__cue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  font-family: var(--font-mono);
  /* BR-S089 seam: the room→card-back threshold must be FELT — lifted off the 9px
     ghost floor to the proven-legible .drecord-gate register (11px / --t-body) so
     "CARD BACK — ARTIFACT RECORD" reads as a gate, not whitespace. */
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--t-body);
  padding: 18px 0 34px;
}
/* flanking hairlines make the cue read as the record threshold label */
.dossier__cue::before,
.dossier__cue::after {
  content: "";
  flex: 0 1 120px;
  height: 1px;
  background: var(--line);
}
.dossier__inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  gap: 48px;
}
/* unified archive identity header — a quiet non-plate threshold strip naming the
   artifact's record id + edition state (BR-S086). Ghost mono so it reads as a
   sub-identity under the SCAN DOSSIER cue, not a competing header. */
.drecord-gate {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  /* one real step up the warm ramp — --silver-dim is an alias of --t-meta (no-op),
     so the threshold lift uses --t-body; still well below the bright dplate titles */
  color: var(--t-body);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-faint);
}
.dossier__end {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.26em;
  color: var(--t-meta);
  padding-top: 18px;
}
.dossier__cap {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--faint);
  padding-top: 12px;
}
/* register dividers — non-section zone labels between plate neighborhoods.
   Read as archival margin stamps, not SaaS taxonomy tabs. <div> only, never
   <section>, so they are invisible to .dplate:nth-of-type() rhythm selectors. */
.dossier__register {
  font-family: var(--font-mono);
  /* BR-S089: lifted to the proven-legible .drecord-gate floor (11px / --t-body) so the
     two neighborhood stamps actually partition the stack (were 9.5px/--t-meta = sub-noise). */
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--t-body);
  border-top: 1px solid var(--line);
  padding-top: 11px;
  margin: 32px 0 -6px; /* BR-S108.1 Zone Silence: real breath ABOVE the threshold instead of yanking the next plate up */
}

/* archive plate — one screenshot-sized section */
.dplate {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 16px;
  align-items: start;
  border: 1px solid var(--line-faint);
  border-top-color: rgba(233, 229, 220, 0.13); /* plate top-edge light */
  border-radius: var(--r-plate);
  background: rgba(233, 229, 220, 0.012); /* flat archive document */
  padding: 24px 28px 26px;
}
/* counting spine — the plate numeral pinned in a left gutter (flat: number + type, no depth) */
.dplate__spine {
  grid-column: 1;
  font-family: var(--font-mono);
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--t-ghost);
  font-variant-numeric: tabular-nums;
}
.dplate__body { grid-column: 2; min-width: 0; }
/* the Oracle plate centers on the full plate, not the narrower 1fr body column */
.dplate--oracle .dplate__body { grid-column: 1 / -1; }
.dplate__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 18px;
}
.dplate__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--silver-bright);
}
.dplate__rule { flex: 1; height: 1px; background: var(--line-faint); align-self: center; }

/* dossier rhythm (DESIGN_TOKENS): quiet → medium → medium → LOUD →
   medium → quiet → LOUD finale. Loudness = spacing, scale, contrast —
   never decoration. Plate order is fixed in renderDossier(). */
.dossier__inner .dplate:nth-of-type(1),
.dossier__inner .dplate:nth-of-type(6) {
  padding: 20px 26px 22px; /* quiet plates sit tighter */
}
/* BR-S089 widen delta (scale + contrast only): quiet filing plates (Source/Mint)
   recede — smaller title + numeral + a step down in title brightness. */
.dossier__inner .dplate:nth-of-type(1) .dplate__title,
.dossier__inner .dplate:nth-of-type(6) .dplate__title { font-size: 17px; color: var(--silver); }
.dossier__inner .dplate:nth-of-type(1) .dplate__spine,
.dossier__inner .dplate:nth-of-type(6) .dplate__spine { font-size: 18px; }
.dossier__inner .dplate:nth-of-type(4),
.dossier__inner .dplate:nth-of-type(7) {
  padding: 38px 36px 40px; /* LOUD plates get air */
  margin-top: 14px;
  background: rgba(233, 229, 220, 0.022);
  border-top-color: rgba(233, 229, 220, 0.18);
  border-left: 2px solid var(--line-strong); /* LOUD-plate ledger edge */
}
/* BR-S089: LOUD payoff plates (Hidden Stat 04, Oracle 07) win the title scale too,
   so the finale reads terminal in BOTH free and halo without any colour/accent. */
.dossier__inner .dplate:nth-of-type(4) .dplate__title,
.dossier__inner .dplate:nth-of-type(7) .dplate__title { font-size: 24px; }
.dossier__inner .dplate:nth-of-type(4) .dplate__spine,
.dossier__inner .dplate:nth-of-type(7) .dplate__spine {
  font-size: 28px;
  color: var(--t-meta);
}
/* Halo: the Oracle (07) left edge is the one sanctioned surround accent.
   Specificity (0,3,1) beats the LOUD rule's (0,3,0) so the tint actually paints. */
body[data-treatment="shiny"] .dossier__inner .dplate--oracle {
  border-left-color: color-mix(in srgb, var(--halo-a, #8b7bff) 30%, transparent);
}

/* 01 + 06 — record grids */
.drecord {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 40px;
}
.drecord div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line-faint);
  padding-bottom: 16px;
}
.drecord dt {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--t-meta);
  white-space: nowrap;
}
.drecord dd {
  /* BR-S089: record values demoted one ramp step (--text → --t-body) so the Source
     Record (01) + Mint Record (06) filing grids read as quiet provenance, not the loud
     opening wall. Rows/structure untouched — demoted by tone, not deletion. The
     .drecord__material accent (below) keeps its own colour. */
  font-size: 12.5px;
  color: var(--t-body);
  text-align: right;
}
.drecord__material { color: var(--halo-a, var(--silver)); font-weight: 500; }

/* .dstat__undeveloped — shared "reserved / develops later" note used by the aura,
   colour-field and archetype plates (app.js). The retired stat-dossier / evidence-
   board / filing-lineage sub-components that once surrounded it were removed. */
.dstat__undeveloped {
  font-size: 11.5px;
  font-style: italic;
  color: var(--faint);
}

/* 06 — mint record */
.dplate--mint {
  /* BR-S112 (2): the certificate is STRUCK — same debossed physicality as the
     Fit+Aura plate (.dfaplate), so the collectible payoff reads minted, not printed. */
  border: 1px solid var(--line-strong);
  border-top-color: rgba(233, 229, 220, 0.22);
  border-bottom-color: rgba(10, 11, 13, 0.7);
  border-left: 2px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgba(233, 229, 220, 0.05) 0%, rgba(233, 229, 220, 0.01) 58%, rgba(10, 11, 13, 0.16) 100%);
  box-shadow:
    inset 0 1px 0 rgba(233, 229, 220, 0.12),
    inset 0 -1px 0 rgba(10, 11, 13, 0.66),
    inset 0 0 24px rgba(10, 11, 13, 0.22),
    0 1px 2px rgba(0, 0, 0, 0.46);
}
.dplate--mint .dplate__title {
  text-shadow: 0 1px 0 rgba(10, 11, 13, 0.92), 0 2px 1px rgba(0, 0, 0, 0.5), 0 -1px 0 rgba(233, 229, 220, 0.09);
}
.dplate--mint .dmint__seal { border-top-width: 1px; border-top-color: var(--line); }
.dmint__note {
  margin-top: 16px;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--silver-dim);
}
.dmint__cta { margin-top: 16px; width: 100%; }

/* the honest reverse — "Step back" at the Plate-06 back-seam. Quiet + neutral:
   it recedes, never out-shines the forward Develop door (BR-S067). */
.dmint__rest { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-faint); display: grid; gap: 9px; }
.dmint__rest-line { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em; color: var(--t-meta); text-align: center; }
.dmint__return {
  display: grid; gap: 4px; text-align: left; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: 7px; background: rgba(255, 255, 255, 0.02); cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}
.dmint__return:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.035); }
.dmint__return-name { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--silver-dim); }
.dmint__return-desc { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.05em; color: var(--t-meta); line-height: 1.5; }

/* =============================================================
   03 — Aura plate: NAMED AIR (BR-S154, replaces PHOSPHOR DECAY).
   A fine-book chapter-title page, not a diagram. THE NAME (two
   stacked serif words, hero scale) sits over a single tinted
   hairline — the ONE and ONLY color in the panel, drawn straight
   from --halo-a. Below it, one italic second-person READ, then one
   small tracked REGISTER line. No SVG, no glyph, no meter: the
   typography IS the visual. Nothing here can be misread as a
   scribble because nothing here is drawn — it is set.
============================================================= */
.dplate--aura .daura {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 0;
  padding: 4px 0 2px;
  isolation: isolate;   /* keeps the glow pseudo-element from bleeding onto siblings */
}
/* ATMOSPHERE — the graft from "THE AIR": a single soft whisper of the source's own
   light, positioned by --daura-glow-pos (set inline per glowKey) and capped at
   --daura-glow-peak (0.07 for Shore's deliberately-quiet "even" plate, 0.13 elsewhere).
   This is NOT a color field and NOT a bordered window — it is an unbounded radial that
   dies out well inside the plate, sitting entirely BEHIND the type (z-index -1) so it
   can only ever reinforce the words, never compete with or substitute for them. It is
   the one and only place in the panel color appears as a WASH rather than a line, and
   it stays low enough that --t-display over it still clears AAA (verified per source
   tint below). Reduced-motion: identical static frame, no keyframe required — the glow
   was never animated by default (see the optional breathe, gated further down). */
.daura::before {
  content: "";
  position: absolute;
  inset: -8px -12px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    46% 60% at var(--daura-glow-pos, 50% 50%),
    color-mix(in srgb, var(--daura-tint, var(--halo-a)) 100%, transparent) 0%,
    transparent 72%
  );
  opacity: var(--daura-glow-peak, 0.1);
}
.daura--tease::before { opacity: calc(var(--daura-glow-peak, 0.1) * 0.55); }
.daura--null::before { display: none; }
/* (A) THE LEAD — a whisper-quiet, lowercase self-printed instruction. Sits
   directly above the NAME so the panel reads as one continuous sentence:
   "feels like / Guarded / Warmth". Never competes with the hero. */
.daura__lead {
  margin: 0 0 2px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--t-ghost);
}
/* (B) THE NAME — the hero. Two words, stacked one per line, each its own block
   so the line-break is a deliberate typographic beat, not a wrapped sentence. */
.daura__name {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 36px;
  line-height: 0.98;
  letter-spacing: 0.002em;
  color: var(--t-display);
}
.daura__name-l { display: block; }
/* the second word lands — the panel's one dramatic beat. Pull it flush under
   the first with a hair of extra weight-read via a slightly closer leading. */
.daura__name-l + .daura__name-l { margin-top: 0.02em; }

/* (C) THE HAIRLINE — the ONLY color in the panel. A crisp 24px x 1.5px rule in
   the source's own --halo-a key: the plate's signature, not a decoration. */
.daura__hairline {
  display: block;
  width: 24px;
  height: 1.5px;
  margin: 14px 0 16px;
  background: var(--daura-tint, var(--halo-a));
  border-radius: 1px;
}
.daura__hairline--free { background: color-mix(in srgb, var(--daura-tint, var(--halo-a)) 55%, var(--t-ghost)); }

/* (D) THE READ — one authored second-person sentence: what the photo does to
   YOU, not what is in it. Same authored-prose serif voice as the rest of the
   dossier, italic to mark it as a felt reaction rather than a caption. */
.daura__read {
  margin: 0;
  max-width: 34ch;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--t-primary);
}

/* (E) THE REGISTER — the existing hand-set Muted..Peak ladder, worded into a
   self-anchoring phrase. Small, quiet, tracked like the dossier's other mono
   labels; the tier word alone carries the source's tint so it still reads as
   "measured", the way the old stat bands did, without a pip row. */
.daura__register {
  margin: 18px 0 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--t-meta);
}
.daura__tier { font-weight: 500; }

/* FREE — the fragment stands alone, honest and whole, never a teased grade. */
.daura--tease .daura__free {
  margin: 0;
  max-width: 34ch;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--t-body);
}
.daura--tease .dstat__undeveloped { margin-top: 10px; }

/* NULL — no color, no name; the absence is stated in the same three-part grammar. */
.daura--null .daura__lead { color: var(--t-ghost); }
.daura--null .daura__read { color: var(--t-body); font-style: italic; }
.daura--null .daura__register { color: var(--t-ghost); }

/* the reveal — one-shot, lead -> name -> hairline -> read -> register, quiet
   stagger, ends well under 600ms. Purely opacity/transform; never re-rastered. */
@keyframes daura-line-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
.daura__lead { animation: daura-line-in 220ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.daura__name { animation: daura-line-in 260ms cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: 40ms; }
.daura__hairline { animation: daura-line-in 220ms cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: 220ms; }
.daura__read { animation: daura-line-in 240ms cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: 300ms; }
.daura__register { animation: daura-line-in 220ms cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: 380ms; }
/* the atmosphere fades in slightly BEHIND the reveal cascade so the mood lands a
   half-beat before the word (per the locked design's "recognition, fired twice"),
   then settles into one extremely slow breathe — a stage light, never a strobe.
   ~7s cycle, opacity only, +-1.5 percentage points off the authored peak: tasteful
   to the point of being nearly imperceptible on a still photo, never busy. */
@keyframes daura-glow-in { from { opacity: 0; } to { opacity: var(--daura-glow-peak, 0.1); } }
@keyframes daura-breathe {
  0%, 100% { opacity: var(--daura-glow-peak, 0.1); }
  50% { opacity: calc(var(--daura-glow-peak, 0.1) * 0.85); }
}
.daura::before {
  animation: daura-glow-in 420ms ease-out both, daura-breathe 7s ease-in-out 420ms infinite;
}
@media (prefers-reduced-motion: reduce) {
  .daura__lead, .daura__name, .daura__hairline, .daura__read, .daura__register { animation: none; }
  /* reduced motion: identical STATIC frame at the full authored peak — no fade-in, no breathe */
  .daura::before { animation: none; opacity: var(--daura-glow-peak, 0.1); }
}

/* 07 — oracle */
.dplate--oracle { text-align: center; }
.doracle {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 27px;
  line-height: 1.55;
  color: var(--t-primary);
  max-width: 700px;
  margin: 0 auto;
}
.doracle__timeline {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}
.doracle__timeline--ghost { font-style: italic; text-transform: none; letter-spacing: 0.08em; }

/* =============================================================
   SCROLL-DRIVEN DOSSIER REVEAL — top-edge shutter (Technique Pass #2)
   Mechanical shutter from the TOP: a clip-path inset shrinks from full-top to
   zero as each .dplate scrolls into view — a plate lifting out of a developing
   tray, not a soft fade. Zero JS, off-main-thread. Motion budget: clip-path +
   opacity only. @supports-gated; reduced-motion fully shows all plates (below).
   REVERT = delete this block + the reduced-motion .dplate line added below.
============================================================= */
@supports (animation-timeline: view()) {
  @keyframes dplate-shutter {
    from { clip-path: inset(100% 0 0 0); opacity: 0; }
    to   { clip-path: inset(0% 0 0 0);   opacity: 1; }
  }
  .dossier__inner .dplate {
    animation: dplate-shutter linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 55%;
  }
  /* LOUD plates 04/07 are taller — extend the range so the shutter fully opens
     before the body is read (07 is .dplate--oracle). */
  .dossier__inner .dplate:nth-of-type(4),
  .dossier__inner .dplate:nth-of-type(7) {
    animation-range: entry 0% entry 65%;
  }
}

/* =============================================================
   Main Menu (front door) — one sample (SRC-01), Free vs Halo.
   A view mode: shown when no deep-link params; the scan room is
   rendered behind it and revealed by "Enter Scan Room".
   Room/Plate/Artifact law: Free tile = flat plate, Halo tile =
   developed artifact (the only element here with material + depth).
============================================================= */

/* view visibility — exactly one of menu / room / draft / dev is shown */
body[data-view="menu"] .topbar,
body[data-view="menu"] .room,
body[data-view="menu"] .dossier,
body[data-view="menu"] .hint,
body[data-view="menu"] .draft,
body[data-view="menu"] .dev,
body[data-view="draft"] .topbar,
body[data-view="draft"] .room,
body[data-view="draft"] .dossier,
body[data-view="draft"] .hint,
body[data-view="draft"] .menu,
body[data-view="draft"] .dev,
body[data-view="dev"] .topbar,
body[data-view="dev"] .room,
body[data-view="dev"] .dossier,
body[data-view="dev"] .hint,
body[data-view="dev"] .menu,
body[data-view="dev"] .draft,
body[data-view="room"] .menu,
body[data-view="room"] .draft,
body[data-view="room"] .dev { display: none; }

.menu {
  min-height: 100vh;
  display: flex;
  flex-direction: column;   /* BR-S203: the desk stage (100vh) then the About surface below it */
}
/* Archive Desk (BR-S083): the entrance is a horizontal CONTROL DESK — brand +
   controls on the LEFT, the real Free card as the artifact on the RIGHT.
   Side-by-side replaces the centered stack's height SUM with the MAX, so the full
   decision fits one 1600x900 viewport with NO scroll AND the card grows. This is
   NOT a SaaS funnel: the doors are quiet shadowless ledger entries (no
   fill/accent/CTA).
   BR-S254 RANK REVERSAL — this block used to read "the card is the largest object
   (~60/40 mass), the eye lands on the card." That is no longer the intent. Canon
   is "the card is the crown, not the kingdom" (GOLDEN_NUGGETS #3) and the desk
   was under-executing it: the card BRACKETED the column, starting 53px above its
   first ink and ending 81px below it, and in a two-object composition the
   bracketing object reads as the frame and the bracketed one as its contents.
   The left column now leads and the card is the second read. Measured cause of
   the old inversion was NOT the card's board — board and column both sit at
   L*8.28 — it was geometry plus one blown highlight inside the photograph. */
.menu__inner {
  width: min(1180px, 92vw);
  display: grid;
  grid-template-columns: 360px 1fr;
  grid-template-areas:
    ".    stage"
    "head stage"
    "ctrl stage"
    ".    stage";
  /* BR-S254: the leading 1fr let the column float to the vertical middle while
     the taller card overhung it at both ends. A fixed 10.5px top row pins the
     masthead's cap-line level with the card's top edge (within 0.6px measured)
     and lifts the whole block to ~23px above the viewport centre — the standard
     optical overshoot. The trailing 1fr still absorbs the remainder. */
  grid-template-rows: 10.5px auto auto 1fr;
  column-gap: 72px;
  row-gap: 14px;
  align-items: start;
  text-align: left;
}
/* ═════════════════════════════════════════════════════════════════════════════
   BR-S260 — THE GUTTER LINE. One hairline standing between the reading side and
   the card. It does the job neither block can do for itself: it gives the left
   column a right-hand wall to end against, and it stops the card from reading as
   though it were floating in the same open field as the text.
   WHERE. Measured on the SETTLED desk (this matters — read it before .rv-stagemain's
   820ms translateX has landed and the card looks 27px further left than it ends up):
   the text column ends at x562 and the card begins at x811, a 248px gutter whose
   visual midpoint is x686 — 124px past the 360px text track.
   It sits on the MIDPOINT on purpose: a boundary that belongs to neither side.
   (The grid's own 72px gap midpoint would be x598 — structurally exact but only
   36px off the text, which reads as the text's own margin rule rather than a
   division between two things.)
   WHY IT FADES. Hard terminals would make it a graphic bar and give the eye two
   new corners to catch on. Fading to zero at both ends means it has no beginning
   and no end — it reads as depth, a seam in the room, not as drawn furniture.
   WHY 1px AND WHY THIS ALPHA. The horizontal .menu__rule sits at --line-faint
   (0.07) and was measured effectively invisible over a 360px run; a 690px
   vertical run needs more to read at all, but anything past ~0.16 at the crest
   turns it into a divider that competes. 0.13 is the measured floor at which it
   reads as intentional. Tunable via --gut for probing.
   DESK ONLY. Below 1200px the desk collapses to one centred column, so there is
   nothing to divide and the line would cut through the stack.
   ═════════════════════════════════════════════════════════════════════════════ */
/* --gut lives on .menu__inner, not on the pseudo-element, so the weight is one
   inheritable dial that can be probed live without touching the gradient. */
.menu__inner { position: relative; --gut: 0.13; }   /* position: containing block for the line; does NOT affect the fullview's position:fixed (only transform/filter/perspective would) */
@media (min-width: 1200px) {
  .menu__panel--desk .menu__inner::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    left: calc(360px + 124px);         /* 360px text track + half the settled 248px gutter */
    width: 1px;
    pointer-events: none;
    background: linear-gradient(180deg,
      rgba(233, 229, 220, 0)                    0%,
      rgba(233, 229, 220, calc(var(--gut) * 0.18))  9%,
      rgba(233, 229, 220, var(--gut))          34%,
      rgba(233, 229, 220, var(--gut))          66%,
      rgba(233, 229, 220, calc(var(--gut) * 0.18)) 91%,
      rgba(233, 229, 220, 0)                  100%);
  }
}

.menu__head { grid-area: head; display: grid; gap: 9px; justify-items: start; }
/* BR-S254: the caption now renders BELOW the card (app.js renderMenu). The stage is
   centred in its cell, so moving 17px of caption + 14px of gap from above the card
   to below it slides the card UP by half of that — and the padding-top puts the
   card's optical centre back where it was. Measured after: the card's centre lands
   on the left column's centre, and the topmost ink on the page becomes .menu__brand.
   This also REPLACES a separate fix somebody could reach for: the card's centre used
   to sit ~15px below the column's, and that entire offset WAS the caption plus its
   gap living inside the centred stage. Do not also add a -15px nudge. */
.menu__stage { grid-area: stage; align-self: center; display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 31px; }
.menu__controls { grid-area: ctrl; display: flex; flex-direction: column; gap: 14px; }
/* BR-S254: the rule used to sit dead-centre in its own gap (20px above, 21px
   below) — a hairline that bisects the void it lives in separates nothing and
   reads as an artifact. Pushed down so it becomes the header rule of the block
   beneath it and the masthead gets a terminal silence. Kept at --line-faint:
   deleting it was measured and the column reads WEAKER without it. */
.menu__rule { width: 100%; height: 1px; background: var(--line-faint); margin: 10px 0 0; }
.menu__brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 30px; letter-spacing: 0.34em;
  color: var(--t-display);
}
.menu__mark { color: var(--silver-dim); font-size: 17px; }
/* BR-S254 — HANG THE ORNAMENT. Eleven of the column's twelve ink runs start on
   x210; the wordmark's first LETTER started on x249, because the ◆ is nominally
   holding the spine but at 17px is far too small to hold a margin against a 30px
   nameplate — so the headline read as indented and the body as hanging out left.
   text-indent does NOT work here: .menu__brand is a flex row and the text run is
   an anonymous flex item. A negative margin on the mark is the mechanism.
   The offset is the mark's own box (25.2px, its letter-spacing included) plus the
   flex gap (12px) = 37.2px. Both are fixed px, so the value does NOT track the
   brand's font-size. Measured after: the "B" lands on x202.7 against the body
   spine's x202.5 — flush within a quarter pixel. (-39px overshot to x200.7.)
   Gated at 1300px because the hang needs 37px of page margin to live in, and
   because below that breakpoint the brand drops to 23px/0.26em, which changes the
   mark's box width. Under the gate it renders flush, exactly as it does today. */
@media (min-width: 1300px) { .menu__mark { margin-left: -37.2px; } }
/* BR-S254 — THE THESIS TAKES ITS RANK. This sentence carries the whole page and
   it was ranking THIRD inside its own column: the primary door's name beat it on
   cap height, brightness, weight AND tracking. It also broke mid-clause, severing
   the subject from its verb ("The room / develops it.") across a 293px line and
   an 84px stub. 24px/600/--t-display makes it the second thing read; Cormorant
   600 is already loaded, so the weight is more ink at no new cost.
   max-width 12.25em: the clean-break window is a property of the STRING, not of
   the size, so it is constant in em and must be written in em. Measured live at
   600/24px Cormorant Garamond: "Every photo is already a card." = 274.91px and
   "…card. The" = 315.45px, so the window is 274.9–315.5px = 11.455–13.144em.
   12.25em (294px) is dead centre with ±6.9% slack, and every trial from 11.6em to
   13em gave the same clean [274.9 / 202.7] couplet — one sentence per line.
   Do NOT hard-code px here: 232px is the window's centre at the OLD 19px size and
   at 24px it falls BELOW the window, forcing a 3-line break with a 19px one-word
   orphan. Do NOT substitute text-wrap:balance either — measured, it splits
   "a / card" and buries the sentence period mid-line. If the COPY changes,
   re-probe the two widths above; if only the SIZE changes, the em holds. */
.menu__thesis {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.32;
  max-width: 12.25em;
  color: var(--t-display);
}
/* BR-S254: max-width 320. At the inherited 360 the first line rendered 359.05px —
   0.95px of slack, i.e. one glyph of cross-engine metric variance from re-wrapping
   into a different shape on Safari than on Chrome. It also broke a three-item list
   after item two ("frame, gesture / and signal"). At 320 it breaks on the comma
   after "frame," and the bistability is gone. */
.menu__trust { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; line-height: 1.5; color: var(--t-body); max-width: 320px; }
/* Menu sample (BR-S079): the actual reduced Free card floats as the menu hero —
   the room's payoff shown at the entrance ("every photo is already a card"), not
   a flat photo tile. The card flexes to the wrapper via width: min(--card-w,100%);
   free treatment = the COMPLETE front (ghost serial, ARCHIVE EDITION), never a
   paid/developed grade. The seal line bridges to the subordinate Develop door.
   (Supersedes the BR-S041/S042 shot()/.mtile sample tile, now removed.) */
/* (.msample container dissolved into .menu__stage by the BR-S083 Archive Desk —
   the cap + card now live in the right stage, the seal line in the left controls.) */
.msample__cap { display: flex; align-items: center; gap: 11px; }
.msample__label { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--faint); }
.msample__type {
  font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--t-meta); padding: 2px 9px; border: 1px solid var(--line); border-radius: 999px;
}
/* Render the card at a known-good natural width (the proven before/after width),
   then scale the whole artifact down proportionally with zoom so it keeps the
   room card's exact proportions (a width-only squeeze distorts the fixed chrome).
   zoom collapses the layout box cleanly; the free card is static (no motion). */
.msample__card { --card-w: 430px; width: 430px; zoom: 0.92; margin: 0; }
/* BR-S254: one tier down, and a measure that breaks cleanly. This is a caption for
   the object on the RIGHT, filed on the left in the SAME value and the SAME typeface
   as the trust line — a safety claim about the scan — so the two read as one
   paragraph interrupted by a hairline. --t-meta turns them into claim, then
   annotation. 232px replaces the magic 340: measured, it gives a balanced
   [203.3 / 219.0] couplet and stops stranding the article "a" at a line end.
   (This 232 is NOT the thesis's measure — different string, face and size. The two
   numbers happen to coincide; nothing depends on it.) */
.msample__seal { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; line-height: 1.6; color: var(--t-meta); max-width: 232px; }

/* BR-S254 — ABSORB THE EMPTY BAND. doors→pills was 48px, the LARGEST gap in the
   column by 27px, sitting where no boundary of that size belongs. 28px of it was
   this wrapper's own cost: with no draft staged .menu__actions holds nothing but a
   0-width .pickmsg reserving a line for the aria-live status. The reservation is
   correct (it stops the layout jumping when a message appears) — it just should not
   buy its own band. Now the status line reads as belonging to the doors it reports
   on, and the silence below it is deliberate rather than accidental.
   THE ARITHMETIC, because it is easy to get backwards (I did, first pass — 14 here
   plus 16 on .menu__portals made the gap 70px, worse than the 48 it was meant to
   fix). .menu__controls has gap:14, so doors→portals =
     14 (gap) + this margin + 12 (.pickmsg min-height) + 14 (gap) + portals margin
   Original: 14 + 2 + 12 + 14 + 4 = 46 measured 48. Now: 14 + 0 + 12 + 14 + 4 = 44,
   and the 12px reserved status line sits INSIDE the silence instead of adding to
   it. If either margin changes, re-run this sum. */
.menu__actions { display: grid; justify-items: start; gap: 12px; margin-top: 0; }
.menu__enter {
  font-family: var(--font-ui); font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--t-display); padding: 13px 30px; cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: 7px; background: rgba(255, 255, 255, 0.04);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.menu__enter:hover { border-color: var(--silver-dim); background: rgba(255, 255, 255, 0.07); transform: translateY(-1px); }
/* (.menu__add small-link styles removed — BR-S090: Add Your Photo is now the primary door.) */
.menu__resume {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--silver-dim); padding: 7px 14px; border: 1px solid var(--line); border-radius: 6px;
  background: none; cursor: pointer; transition: border-color 160ms ease, color 160ms ease;
}
.menu__resume:hover { border-color: var(--line-strong); color: var(--silver); }

/* BR-S090 two-door fork (door truth): Add Your Photo is the solid hero (the real beginning —
   staging the user's own image); View Sample Card is the subordinate dashed companion (a
   clearly-labelled demo, not the user's result). Develop is NOT a menu door (it only exists
   inside a real Free card, which needs the unbuilt scan engine). */
.menu__doors { display: grid; gap: 10px; width: 100%; max-width: 360px; margin: 0; }
/* BR-S326 — A DOOR IS NEVER A RAW LINK. This class was written for <button> doors and
   never had to defend itself; the moment a door became an <a> (BR-S321 gave tarot its
   own door) every line inside it took the browser's link colour and underline, and a
   priced tile in underlined lavender is the visual language of spam. The old
   .menu__door--pull .menu__door-desc { color: var(--silver) } rule was a patch for this
   exact leak on the one <a> door that existed before — a symptom treated once, at one
   element, instead of the class being made safe. */
.menu__door {
  display: grid; gap: 4px; text-align: left; padding: 11px 16px; border-radius: 8px;
  cursor: pointer; background: none;
  text-decoration: none; color: var(--t-primary);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.menu__door:hover { transform: translateY(-1px); }
.menu__door-kicker { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--t-meta); }
.menu__door-name { font-family: var(--font-ui); font-size: 14.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--t-display); }
.menu__door-desc { font-family: var(--font-display); font-size: 13.5px; line-height: 1.5; color: var(--silver); }
/* primary — the Add Your Photo hero door */
.menu__door--add { border: 1.5px solid var(--silver-dim); background: rgba(255, 255, 255, 0.05); }
.menu__door--add:hover { border-color: var(--silver); background: rgba(255, 255, 255, 0.08); }
/* subordinate — the View Sample Card companion (quieter, dashed) */
.menu__door--sample { border: 1px dashed rgba(233, 229, 220, 0.34); }
.menu__door--sample:hover { border-color: var(--silver-dim); }
.menu__door--sample .menu__door-name { font-size: 12.5px; color: var(--silver-dim); }
.pickmsg { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.06em; color: var(--moss-bright); min-height: 12px; margin-top: 0; }   /* BR-S254: the reserved line keeps its height, loses its extra offset */
/* BR-S254: margin-top was `auto` — dead code. .menu__controls is a content-sized
   flex column, so there is never free space for auto to consume and it resolved to
   0 every time. Stating 14px makes the file honest about what actually renders. */
.menu__foot { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); margin-top: 14px; }
/* BR-S155: quiet pill link from the front door to the Codex reference page */
.menu__codex { background: none; cursor: pointer; align-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 8px 16px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--t-meta); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; transition: color 160ms ease, border-color 160ms ease; }
.menu__codex:hover { color: var(--t-display); border-color: var(--t-meta); }
/* BR-S254 — SEND THE ACCENT HOME. Violet is the paid/kept register (this file says
   so in three separate places: "the one violet in the room"). It was being spent on
   free navigation pills at the bottom of the free page — accent as paint, not as
   currency. It was also the only chroma in the left column competing with the
   photograph, sitting where it did the least good. */
.menu__codex__mark { color: var(--t-meta); }
.menu__codex__arr { color: var(--t-ghost); transition: color 160ms ease, transform 160ms ease; }
.menu__codex:hover .menu__codex__arr { color: var(--t-meta); transform: translateX(2px); }
/* BR-S158 — two quiet portals (The Codex · The Arcane Reading) sit as a row under the doors */
.menu__portals { display: flex; gap: 10px; flex-wrap: wrap; align-self: start; margin-top: 4px; }   /* BR-S254: unchanged — the doors→portals sum is balanced on .menu__actions instead */
.menu__portals .menu__codex { margin-top: 0; align-self: auto; }

/* ═════════════════════════════════════════════════════════════════════════════
   BR-S259 — THE M1 A/B LAYOUT TOGGLE  (dev affordance; remove once chosen)
   Borrows the M3 preview-toggle idiom verbatim (.menu__reliq-previewbtn) so it
   reads as the same species of control and needs no new visual vocabulary.
   ═════════════════════════════════════════════════════════════════════════════ */
/* OUT OF FLOW, ON PURPOSE — and this is the load-bearing part of the whole
   control. First pass put it in .menu__controls as a normal flow child: it added
   31px to the column, which pushed .menu__inner to 909px and drove the card's
   bottom to y946 in a 900px viewport — breaking the BR-S083 invariant that the
   whole decision fits one 1600x900 screen with no scroll, in BOTH variants.
   An A/B control that changes the layout it is measuring is a broken instrument.
   Fixed to the bottom-left corner (the one corner not already claimed — the
   About cue owns bottom-centre, the codex orbs bottom-right), so toggling
   changes the desk and nothing else. */
.menu__ab {
  position: fixed; left: 20px; bottom: 18px; z-index: 61;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
}
/* steps aside for the showcase and for the codex aperture, exactly as the orbs and
   the About cue already do */
#menuView.menurev.is-fullview .menu__ab,
#menuView.is-codex-open .menu__ab,
#menuView.is-codex-closing .menu__ab { opacity: 0; visibility: hidden; pointer-events: none; }
.menu__ab-tag { color: var(--faint); }
.menu__ab-sep { color: var(--line-strong); }
.menu__ab-btn {
  background: none; border: 0; padding: 4px 6px; cursor: pointer;
  font: inherit; letter-spacing: inherit; text-transform: inherit;
  color: var(--t-meta); border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}
.menu__ab-btn:hover, .menu__ab-btn:focus-visible { color: var(--t-display); outline: none; }
.menu__ab-btn:focus-visible { outline: 1px solid var(--line-strong); outline-offset: 2px; }
.menu__ab-btn.is-on { color: var(--t-display); border-bottom-color: var(--silver-dim); }

/* ─────────────────────────────────────────────────────────────────────────────
   VARIANT A — the desk exactly as it shipped BEFORE BR-S254.
   Every declaration here restores an original value that BR-S254 replaced. It is
   deliberately a single flat block rather than sprinkled `:not(.is-m1a)` guards
   on each rule: BR-S254's reasoning lives in its own comments, and this block is
   the one place to look for "what did it used to be". ID+class specificity means
   no !important anywhere.
   The CARD side of variant A lives in reveal/reveal.css (it must load after this
   file to beat the BR-S254 rules there).
   ───────────────────────────────────────────────────────────────────────────── */
#menuView.is-m1a .menu__inner { grid-template-rows: 1fr auto auto 1fr; }   /* the column floats to mid-height again; the card re-brackets it */
#menuView.is-m1a .menu__mark { margin-left: 0; }                            /* the ◆ stops hanging; the "B" indents 37px again */
#menuView.is-m1a .menu__thesis {
  font-size: 19px; font-weight: 400; line-height: 1.4;
  max-width: none; color: var(--t-primary);                                 /* breaks mid-clause again — that IS variant A */
}
#menuView.is-m1a .menu__trust { max-width: none; }
#menuView.is-m1a .msample__seal { max-width: 340px; color: var(--t-body); }
#menuView.is-m1a .menu__rule { margin: 2px 0; }
#menuView.is-m1a .menu__actions { margin-top: 2px; }
#menuView.is-m1a .pickmsg { margin-top: 2px; }
#menuView.is-m1a .menu__portals { margin-top: 4px; }
#menuView.is-m1a .menu__foot { margin-top: auto; }
/* BR-S435: was var(--violet). Purple is reserved for paid / price / kept (the builder's
   law), and is-m1a is the DEFAULT variant — so the site's price colour was sitting on the
   Codex, "What's coming" and Settings, all free. Two comments nearby each already claim to
   mark "the only violet in the room"; this was a third. */
#menuView.is-m1a .menu__codex__mark { color: var(--t-meta); }
/* the caption goes back ABOVE the card. The markup order is unchanged (card then
   caption — correct for a screen reader in BOTH variants); only the visual order
   flips, which is exactly what CSS `order` is for. */
#menuView.is-m1a .menu__stage { padding-top: 0; }
#menuView.is-m1a .msample__cap { order: -1; }
/* the room's light goes back to being symmetric — no pool on the left */
#menuView.is-m1a .menu__panel--desk::before { content: none; }
/* the orbs come back to full strength at rest */
#menuView.is-m1a .seed, #menuView.is-m1a .mini__ball { opacity: 1; filter: none; }

/* Archive Desk narrow fallback (BR-S083): below the desk threshold, restore the
   centered single-column stack (brand → card → controls), card back to zoom 0.7.
   Desktop-first safety net — NOT a mobile redesign. */
@media (max-width: 1199px) {
  .menu__inner {
    width: 100%; max-width: 500px;
    grid-template-columns: 1fr;
    grid-template-areas: "head" "stage" "ctrl";
    grid-template-rows: none;
    column-gap: 0; row-gap: 14px;
    justify-items: center; text-align: center;
  }
  .menu__head { justify-items: center; }
  .menu__stage { align-self: auto; }
  .menu__controls { align-items: center; }
  .menu__actions { justify-items: center; }
  .menu__codex { align-self: center; }
  .menu__portals { align-self: center; justify-content: center; }
  .menu__foot { margin-top: 0; }
  .msample__card { zoom: 0.7; }
}

/* ============================================================
   BR-S192 — THE READING ROOMS (the Gallery Wall). The Archive Desk
   slides left to a museum wall of two framed room-plaques (Arcane
   Reading · Drawing Room). One class (.is-wall) → one GPU transform;
   NO transform and NO will-change at rest — the reveal's fullview
   position:fixed machinery depends on an untransformed ancestor.
============================================================ */
.menu { overflow-x: clip; }   /* belt; clip ≠ scroll container, never clips fixed els */

.menu__track { display: flex; width: 100%; min-height: 100vh; flex: none; transition: transform 640ms var(--track-ease, cubic-bezier(.22, .61, .25, 1)); }
/* BR-S280 — THE LANDING, AS AN A/B.  The builder: M1<->M2 "does not have major issue
   but feels visually unsatisfying as it switches... something that creates this
   satisfying effect, bouncy smooth landing."  A pure ease-out arrives and simply
   STOPS; what reads as satisfying is a landing with follow-through — the thing
   overshoots its seat by a hair and settles back into it.  Springs cannot be
   expressed as a CSS transition, but a cubic-bezier whose final control point sits
   above 1 overshoots for free and stays a single composited transform.
   THE NUMBER IS THE WHOLE DESIGN, and my first guess at it was wrong in a way worth
   recording: overshoot is driven by the FIRST control point's y, not the last.  A
   final y of 1.024 sounds like 2.4% and measures 0.22% — 1px.  Solved numerically
   instead, per curve, as a percentage of the travel:
       easeOutBack .34,1.56,.64,1 ....... 9.78%  = 119px at 1217   (a lurch)
       spring      .26,1.22,.40,1 ....... 1.55%  =  19px           (a hair)
       spring2     .24,1.30,.38,1 ....... 2.99%  =  36px           (a landing)
   Those two also spend 39% and 46% of the duration settling BACK from the peak,
   which is where the satisfaction actually lives — the overshoot is the event, the
   settle is the feeling.  Both keep 640ms, which the fleet measured as correct and
   which BR-S265 couples to U1_GLIDE_MS; only the shape changes.
   The neighbouring panel is still onstage during the overshoot (menuSettle does not
   collapse until transitionend), so the sliver that swings in is a real room, never
   a gap.
   ?land=spring is the gentle one, ?land=spring2 the pronounced one, bare URL keeps
   the incumbent.  Build the A/B, then look — the rule that has now settled two of
   these arguments in one day. */
html.land-spring  .menu__track { --track-ease: cubic-bezier(.26, 1.22, .40, 1); }
html.land-spring2 .menu__track { --track-ease: cubic-bezier(.24, 1.30, .38, 1); }
/* BR-S282 — ?land=m3, and the research that says it should probably win.
   Apple's own rule, from their shipped spring table: "Add bounce (damping ~0.8) ONLY
   when the gesture itself carried momentum — a flick, a throw, a drag release.
   Overshoot on a menu that just faded in feels wrong; overshoot on a card you flicked
   feels right."  For reposition — which is exactly what a panel switch is — they ship
   damping 1.0, response 0.4: critically damped, NO bounce.  A panel switched by an
   arrow key or a click carries no momentum, so the two curves above are decoration
   pretending to be physics, and the proven guidance is that they will read as wrong
   rather than as satisfying.
   Material 3 says the same thing from the other side: M3 Expressive replaced
   duration+bezier with springs, and damping 1.0 is its no-bounce default too.  Its
   EMPHASIZED easing is the bezier form of that idea — a hard decelerate that spends
   almost the whole curve arriving, with zero overshoot.  That is a landing with
   weight, which is what "satisfying" usually means when nobody threw anything.
   cubic-bezier(0.2, 0, 0, 1) is Material's emphasized curve, unmodified. */
html.land-m3      .menu__track { --track-ease: cubic-bezier(0.2, 0, 0, 1); }

/* BR-S284 — THE DETENT.  The builder, on m3: "feels like going room to room... but
   still lacking that feeling. Like magnetism clicking in place, or NEGATIVE magnetism
   fuelling the move, and it gets to lock in place after jumping over the negative
   magnetism below."
   That is not bounce, and the distinction is the whole point.  Bounce is about the
   ARRIVAL — overshoot the seat and wobble back — and Apple's rule already ruled it
   out here because nothing was thrown.  What is being described is ANTICIPATION, a
   different animation principle entirely and one about the DEPARTURE: the thing loads
   up against a resistance, breaks free, and then locks.  A knob leaving a magnetic
   detent does exactly this, and so does Disney's oldest rule — wind up before you go.
   A cubic-bezier with a NEGATIVE first control point y does it for free: the track
   travels a little the WRONG way, then releases.  Solved numerically, as a share of
   travel, with the release point measured as a share of the duration:
       detent   .50,-.18,.14,1 ... -1.87% =  -23px at 1217, releases at 17%
       detent2  .55,-.28,.12,1 ... -4.00% =  -49px,          releases at 23%
   Both end with ZERO overshoot — the arrival is a hard lock, which is the "clicks
   into place" half and keeps faith with the no-bounce guidance.  Anticipation and
   bounce are not the same trade.
   ONE THING TO WATCH ON THE DESK: winding up from panel 0 moves the track RIGHT, and
   there is nothing to the left of the Desk, so ~23px of page field shows for a beat.
   The field is the same ink as everything else, so it should read as nothing at all —
   but that is the first place to look if it reads wrong. */
html.land-detent  .menu__track { --track-ease: cubic-bezier(.50, -0.18, .14, 1); }
html.land-detent2 .menu__track { --track-ease: cubic-bezier(.55, -0.28, .12, 1); }
  /* BR-S203: the stage is the first full-viewport screen; the desk/wall centre inside their panels, the About surface flows below */
  /* literal ease — --rv-ease is scoped to .reveal-stage and does not resolve here */
/* BR-S400 — HOME IS THE MIDDLE PANEL NOW. The base transform matches home rather than
   the first panel, so the track is already on The Draw at first paint and the boot seed
   confirms it instead of correcting it — no flash of the locked desk on every load.
   `.is-wall` is still home's class, so every rule written against it is untouched. */
.menu__track { transform: translateX(-100%); }
.menu.is-l1 .menu__track { transform: translateX(0); }
.menu.is-wall .menu__track { transform: translateX(-100%); }
.menu.is-reliquary .menu__track { transform: translateX(-200%); }   /* BR-S204: slide 3 (source-ordered AFTER is-wall so it wins if both ever coexist) */

/* ★★ BR-S596 — BR-S400 BROKE THE INVARIANT BR-S192 WROTE DOWN, AND THE NOTE IS STILL
   THERE. Read styles.css:2748-2752: "NO transform and NO will-change AT REST — the
   reveal's fullview position:fixed machinery depends on an untransformed ancestor."
   That was true when the track rested at translateX(0). BR-S400 made home the middle
   panel by giving the track a BASE transform, so it is now transformed at rest, always.
   A transformed element becomes the containing block for every position:fixed descendant
   (CSS Transforms spec) — so `.menurev.is-fullview .menu__stage--reveal`'s
   `position: fixed; inset: 0` (reveal.css:1563) has been resolving against the track's
   box, not the viewport. MEASURED on the running page: the takeover's top went 34 -> -766
   across an 800px scroll, tracking it 1-for-1. It only ever LOOKED fixed.
   `.menurev__back` and `.menurev__fwd` are immune because they sit OUTSIDE the track —
   the same escape, already used, one element away.
   Fixed by giving the track back an untransformed box FOR THE DURATION OF THE TAKEOVER
   only, carrying the identical offset by other means.
   Outside fullview nothing changes: the 640ms slide, its easing, is-travel and every rule
   written against .is-wall are untouched. The compensation must mirror the three
   transforms above exactly — if a fourth panel is ever added, it needs a line here too.
   Carried as `position: relative` + `left`, NOT as a margin: a negative margin changes the
   box's LAYOUT, and measuring showed that lands ~150px away from where the transform put it,
   because the track is width:100% and the margin re-resolves that width. `left` on a
   relatively-positioned box offsets only the paint, exactly like the transform did — and
   relative positioning does not create a containing block for `position: fixed`, which is the
   whole point. Verified: with this on, the takeover reads top:0 at rest AND top:0 after an
   800px scroll, and the track's own left edge is unchanged from the transform's. */
.menurev.is-fullview .menu__track { transform: none; transition: none; position: relative; left: -100%; }
.menurev.is-fullview.is-l1 .menu__track { left: 0; }
.menurev.is-fullview.is-wall .menu__track { left: -100%; }
.menurev.is-fullview.is-reliquary .menu__track { left: -200%; }
.menu__panel { flex: 0 0 100%; min-width: 0; min-height: 100vh; padding: 34px 24px; position: relative; display: flex; align-items: center; justify-content: center; }
.menu__panel.is-offstage { visibility: hidden; height: 0; min-height: 0; overflow: hidden; }

/* BR-S254 — THE LIGHT LEANS LEFT. The room had no light asymmetry: the body's
   radial is centred at 50% -10%, which leaves the left column and the card at
   almost identical falloff (measured 0.83 vs 0.82), yet only the card behaved like
   a lit object. This gives the desk one light source and aims it where the reading
   starts.
   WHY THIS AND NOT DARKENING THE CARD: the field is rgb(16,15,12) — sixteen sRGB
   levels above black and two hundred and thirty-nine below white. Every darkening
   idea on this page is fighting over ~6% of the tonal range; adding light has the
   rest of it. Measured: +7 levels on the column, +1.4 at the card's left edge
   (invisible). It is also the only lever here that ADDS rather than subtracts, so
   it costs the card nothing at all.
   24% of 1600 = x384 = the column's exact ink centre. 47% (not 40%) so the DOORS
   are lit too — they are the weakest ink in the column and the only pressable
   things in it.
   Panel-scoped, NOT on body: M2 and M3 keep their own field, and the pool slides
   away with the desk. position:absolute keeps it out of the panel's flex flow. */
.menu__panel--desk::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(38% 62% at 24% 47%,
    rgba(233, 229, 220, 0.055)  0%,
    rgba(233, 229, 220, 0.022) 45%,
    rgba(233, 229, 220, 0)     76%);
}
/* the narrow fallback re-centres the desk into one column, so the light follows it */
@media (max-width: 1199px) {
  .menu__panel--desk::before {
    background: radial-gradient(54% 46% at 50% 46%,
      rgba(233, 229, 220, 0.05)  0%,
      rgba(233, 229, 220, 0.02) 45%,
      rgba(233, 229, 220, 0)    76%);
  }
}
/* Ceiling on the hot stop is 0.08 — past that it stops reading as "this is where
   the light is" and starts reading as a smudge behind the text. If the falloff
   bands on an 8-bit panel the fix is a static noise layer underneath, never a
   filter (animated feTurbulence is a known Blue Room landmine). */
  /* off-stage panel contributes zero height → no phantom scrollbar on short desks */
@media (prefers-reduced-motion: reduce) { .menu__track { transition: none; } }

/* BR-S270 — NOTHING BLURS ITS BACKDROP WHILE THE TRACK IS MOVING.
   Promoting .menu__track (BR-S269) lets the browser rasterise the panels ONCE and
   then just translate the layer — every ordinary filter, gradient and shadow rides
   along for free. `backdrop-filter` is the one thing that cannot: by definition it
   must re-sample whatever sits BEHIND it, so it is recomputed on every frame of the
   640ms slide and it drags the promoted layer back down with it. Measured on the
   Desk: four backdrop-filters (two .cardqr at blur(10px) saturate(.9), two
   .photo__tag at blur(4px)) — all of them on the panel that slides out.
   Suppressed only while .is-sliding is on, which is exactly the window between the
   prime and the settle. The blurs come straight back at rest, and losing them for
   the ~0.6s a panel is travelling is invisible-grade: the same trade BR-S141 made
   when it stripped the per-frame drop-shadow off the pip ignite.
   BR-S271 — NAME THE TARGETS. The first form of this rule used `.menu__panel *`, and the
   universal selector was the whole cost: it matched 427 nodes and spent 8.1-9.9ms of style
   recalc every time .is-sliding was toggled — twice per switch — to suppress 2,993px of blur,
   0.08% of the moving layer. The decisive control: the same selector shape carrying a
   harmless non-paint property (outline-color) cost 9.9ms; the same rule with the elements
   NAMED cost 0.2ms. Naming them takes the replayed synchronous block 10.6ms -> 5.6ms.
   Specificity (1 id + 1 class) still beats the base .photo__tag / .cardqr rules. */
/* ★★ BR-S499 — .l1seal WAS MISSING FROM THIS LIST, AND IT IS THE M1->L1 LAG.
   The builder, for the third time and this time with "for real now": the switch to the
   Desk is laggy. Measured in the live DOM rather than reasoned about, which is the whole
   lesson of BR-S271 and I nearly repeated the mistake.

   With the travel classes applied by hand, the Desk's blend load correctly collapses
   1,422,614 px -> 83,502 px and its backdrop-filters 5 -> 1. ONE survives:

       .l1seal   backdrop-filter: saturate(.35) blur(3px)   93,613 px   opacity 1

   It is a direct child of the sliding panel, it is L1's own seal, and it is exactly the
   thing this rule exists to suppress. BR-S270 named two targets and was right to name
   rather than use `*`; the cost of naming is that a target added LATER has to be added
   here too, and BR-S400 added the seal months afterwards without it.

   That is why the symptom is specifically M1<->L1 and not M2<->M3: this is the only
   panel carrying a live backdrop-filter into the travel, and a backdrop-filter must
   re-sample what is behind it on every frame of a 640ms slide — the one cost a promoted,
   flatly-translating layer cannot absorb.

   (The single blend survivor, .rv-scanline at 83,502 px, is left alone deliberately: it
   rests at opacity 0, so it is the same case as .card__halo two rules down and touching
   it buys nothing.) */
#menuView.is-sliding .photo__tag,
#menuView.is-sliding .cardqr,
#menuView.is-sliding .l1seal { backdrop-filter: none; -webkit-backdrop-filter: none; }

/* BR-S276 — NOTHING BLENDS WHILE IT TRAVELS.  Companion to the rule above, and the
   larger half of it.  A backdrop-filter and a mix-blend-mode fail the same way: both
   must READ what sits behind them on every frame, which is exactly what a promoted,
   flatly-translating layer exists to avoid.  The Desk carries five of them over
   ~1.76M px inside a ~1.25M px viewport — ~1.4 blend passes per viewport pixel — and
   the builder's report isolates it perfectly: M2<->M3 is fine, every travel that
   involves M1 is not.  The two .photo__shimmer alone are ~44% of that area.
   Scoped to html.is-travel, which app.js writes for BOTH the panel slide and the U1
   descent, because both were reported and both show the Desk.  Named selectors, never
   `*` — that mistake cost 9ms a toggle in BR-S270 and is not repeating.
   Placed AFTER .card[data-treatment="shiny"] .cardfinish (styles.css ~1124), which
   ties this rule on specificity; source order is what wins it.
   .card__halo is deliberately absent: it rests at opacity 0 and touching it buys
   nothing.  ?flat=0 turns the whole thing off. */
/* ★★ BR-S503 — .photo__tone AND .photo__grain COME OUT OF THIS LIST. THEY WERE THE
   SECOND STEP. The builder: "still 2 stepped lag m1 to l1 and vice verca."

   The travel was never two movements. It is one glide, and then — one frame after the
   motion stops, by BR-S278's deliberate design — _menuUnprime drops `is-travel` and every
   flattened layer snaps back to its blend mode at once. If any of those layers is
   VISIBLE, that snap is a second event on the frame the eye has just settled on. Which is
   exactly the shape of "two stepped": glide, land, and then the card changes.

   MEASURED, live, and it corrects a number I had wrong myself. The five named layers do
   not carry 1.42M px of visible blend between them — three of them are switched off:

       photo__tone      multiply  opacity .60  rgba(40,48,42,.2)   ~90k px   VISIBLE
       photo__grain     overlay   opacity .45  svg noise           ~90k px   VISIBLE
       photo__foil      screen    opacity 0                        free
       photo__shimmer   screen    opacity 0    (276k px, all of it at zero)  free
       cardfinish       —         opacity 0    already `normal`    free

   So the rule was buying about 180k px of blend inside an already-isolated group on an
   already-promoted layer — cheap work — and paying for it with a visible pop. That is a
   bad trade in both directions, and the far larger win was BR-S499's: one backdrop-filter
   at 93,613 px, which must RE-SAMPLE its backdrop every frame and genuinely cannot ride
   a translating layer.

   The three at opacity 0 stay listed. They cost nothing either way today, and if one is
   ever switched on it should be flat during travel — the entry is the note that says so. */
html.is-travel .photo__foil,
html.is-travel .photo__shimmer,
html.is-travel .cardfinish { mix-blend-mode: normal; }
/* .cardfinish needs its own, heavier hand: the live card's rule is
   `.card[data-treatment="shiny"] .cardfinish` at (0,3,0), which OUT-SPECIFIES the
   (0,2,1) above no matter how late it sits in the file — b beats c. Measured: the
   one visible 391x657 finish kept blending while the other twelve had flattened.
   `.card .cardfinish` is (0,3,1) and takes it. */
html.is-travel .card .cardfinish { mix-blend-mode: normal; }

/* BR-S279 — the lean. One transform chain on the card itself: perspective() lives
   INSIDE the transform so no ancestor becomes a containing block (BR-S204: the reveal
   depends on an untransformed ancestor). Scoped to the Desk — no other .card in the
   app is touched. The transition is the return journey; while .is-tilting is on, the
   pointer drives it directly and a transition would only add lag to the hand. */
#menuView .menu__panel--desk .card {
  transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 320ms var(--ease-settle, cubic-bezier(.2,.7,.2,1));
}
#menuView .menu__panel--desk .card.is-tilting { transition: none; }

/* BR-S283 — THE ENGRAVED LIGHT.  The builder: "slight light that feels like engraved
   deep in the card and travels where mouse... sleek and not super bright, just nice
   touch."
   WHY A PAIR OF LOBES AND NOT ONE.  A single radial highlight reads as a LAMP shining
   onto the surface — glossy, sitting on top, the holo-card look that was explicitly
   not wanted.  What reads as ENGRAVING is a lit edge with its own shadow immediately
   beneath it: that is the only cue that says a channel has been cut into the material
   rather than a light laid over it.  So there are two gradients at the pointer, the
   dark one offset 3% below the bright one, and the offset is the entire effect.
   WHY soft-light.  overlay and screen both push toward the light and read as gloss;
   soft-light MODULATES what is already there, so the mark stays inside the material.
   At .075 and .10 alpha it is a touch, not a beam — "not super bright" was the brief.
   It only exists while the hand is on the card (.is-tilting), which is also why it
   cannot cost anything during a travel: BR-S276 flattens blends for the slide, and
   the tilt stands down there anyway, so this layer is already at opacity 0 by then.
   Same handler, same rAF, same four writes as the tilt — no second listener. */
#menuView .menu__panel--desk .card::after {
  content: "";
  position: absolute; inset: 0; z-index: 3;
  border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity 300ms var(--ease-settle, cubic-bezier(.2,.7,.2,1));
  mix-blend-mode: soft-light;
  background:
    radial-gradient(34% 26% at var(--lx, 50%) var(--ly, 50%),
      rgba(233, 229, 220, 0.075) 0%, rgba(233, 229, 220, 0.028) 42%, transparent 64%),
    radial-gradient(40% 30% at var(--lx, 50%) calc(var(--ly, 50%) + 3%),
      rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.04) 46%, transparent 66%);
}
#menuView .menu__panel--desk .card.is-tilting::after { opacity: 1; }

/* BR-S286 — THE COUNTERWEIGHT.  The builder: "counter radiation of effect or visual
   or something when it moves so it feels balanced and in frame."
   A card that leans while its shadow stays nailed underneath reads as LOOSE — the
   object moves and nothing answers it, so it drifts out of the composition. Swing the
   ground shadow the other way and the pair balances: the card leans, the weight shifts
   against it, the frame holds still. It is also simply true — the contact shadow of a
   real leaning object travels opposite the lean.
   Driven from the same smoothed lean the tilt uses, negated, 13px at the extreme. The
   element only ever TRANSLATES, so it composites and never repaints; the softness is a
   radial gradient rather than a blur() filter, because an animated blur is a known
   landmine in this repo.
   z-index:-1 is safe here: the tilt transform is always applied to .card, so the card
   is permanently its own stacking context and this cannot fall behind an ancestor. */
#menuView .menu__panel--desk .card::before {
  content: "";
  position: absolute; z-index: -1;
  inset: 8% 3% -7% 3%;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(58% 56% at 50% 52%,
    rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.30) 44%, rgba(0, 0, 0, 0) 72%);
  transform: translate3d(var(--cshx, 0px), var(--cshy, 0px), 0);
  transition: opacity 340ms var(--ease-settle, cubic-bezier(.2,.7,.2,1));
}
#menuView .menu__panel--desk .card.is-tilting::before { opacity: 1; will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  #menuView .menu__panel--desk .card::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #menuView .menu__panel--desk .card::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #menuView .menu__panel--desk .card { transform: none; transition: none; }
}

/* ============================================================
   BR-S203 — THE PROCESSION: "About Blue Room" (the vertical scroll-depth below the desk).
   Hidden whenever the menu is off the desk (wall slide / reveal fullview).
============================================================ */
/* ★ BR-S409 — THE ACTUAL REASON U1 WAS NOT UNDER M1, after three fixes that were
   each real and none of which was this. U1 is #about, and this line HID it on the
   wall - which BR-S400 made HOME. So the vertical depth was hidden on the front
   page and visible only on the sealed desk, which is precisely what the builder
   reported four times while I kept verifying gates, seats and cues.
   The rule itself was always right: U1 hangs off HOME and off nothing else. Only
   the name of home changed, and this line still named the old one. */
.menu.is-l1 #about, .menu.is-reliquary #about, .menurev.is-fullview #about { display: none; }

/* the desk down-cue — a quiet centred hint to scroll into the About surface */
.menu__downcue { position: absolute; left: 50%; bottom: clamp(18px, 4vh, 34px); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; color: var(--t-meta); transition: color 160ms ease; }
.menu__downcue:hover, .menu__downcue:focus-visible { color: var(--t-display); outline: none; }
.menu__downcue-txt { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.2em; text-transform: uppercase; }
.menu__downcue-arr { font-size: 13px; line-height: 1; animation: downcue-bob 2.6s ease-in-out infinite; }
@keyframes downcue-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
.menurev.is-fullview .menu__downcue { opacity: 0; visibility: hidden; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .menu__downcue-arr { animation: none; } }

.about { position: relative; padding: clamp(55px, 9vh, 89px) 24px 22vh; }
.about__intro { width: min(640px, 100%); margin: 0 auto clamp(55px, 18vh, 144px); display: grid; justify-items: center; text-align: center; gap: 21px; }
.about__eyebrow { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--faint); margin: 0; }
.about__eyemark { color: var(--silver-dim); }
/* BR-S206: the yin/yang caesura — a leaned hairline "/" pivot between two EQUAL-weight halves (the split IS the division; the pivot is the same hairline material as the wick + spine) */
/* BR-S233 — the headline splits clean at its natural clause break ("We hold" / "the candle.")
   into a two-line YIN-YANG descent: the first half leans up-left, the second settles down-right,
   the pivot becomes the diagonal bridge between them. 180deg-balanced so the eye sweeps a gentle
   diagonal instead of hitting one chunky centred line. DOM order (hx · pivot · hx) already stacks. */
.about__headline { display: grid; grid-auto-flow: row; justify-items: center; align-items: center; row-gap: clamp(3px, 0.9vw, 9px); font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 6vw, 46px); line-height: 1.04; letter-spacing: -0.012em; color: var(--t-display); margin: 0; }
.about__hx { white-space: nowrap; color: var(--t-display); }
.about__hx:first-of-type { transform: translateX(clamp(-58px, -5.4vw, -26px)); }   /* "We hold" — leans up-left */
.about__hx:last-of-type  { transform: translateX(clamp(26px, 5.4vw, 58px)); }      /* "the candle." — settles down-right */
.about__pivot { justify-self: center; align-self: center; width: clamp(30px, 5vw, 54px); height: 1.6px; transform: rotate(21deg); background: linear-gradient(90deg, transparent, var(--line-strong) 22%, var(--line-strong) 78%, transparent); opacity: .72; border-radius: 1px; }
/* BR-S234 — the lede continues the headline's yin-yang descent: split at its two sentences into
   two staggered breaths — sentence 1 leans left (beneath "We hold"), sentence 2 leans right
   (beneath "the candle."). Narrower per-block measure + a beat between them de-chunks the old
   centred slab and paces the "come down slowly" read. */
.about__lede { display: grid; justify-items: center; row-gap: clamp(15px, 2.6vh, 30px); width: 100%; margin: 0; }
.about__lede p { font-family: var(--font-display); font-size: clamp(14.5px, 2.2vw, 16.5px); line-height: 1.66; letter-spacing: 0.006em; color: var(--t-primary); max-width: 34ch; margin: 0; opacity: .95; }
.about__lede-a { transform: translateX(clamp(-46px, -3.8vw, -22px)); }   /* leans left — under "We hold" */
.about__lede-b { transform: translateX(clamp(22px, 3.8vw, 46px)); }      /* leans right — under "the candle." */
.about__wick { width: 1px; height: clamp(34px, 8vh, 55px); margin-top: 5px; background: linear-gradient(var(--hair-1), var(--hair-3) 70%, transparent); }

/* the rail + its hairline candle-spine (BR-S206: hair-ladder material; a brighter 46-54% waist, tapered to nothing) */
.about__rail { position: relative; list-style: none; margin: 0 auto; padding: 0; width: min(760px, 100%); display: grid; row-gap: clamp(89px, 22vh, 233px); }
.about__rail::before { content: ""; position: absolute; inset-block: -8px; left: 50%; width: 1px; transform: translateX(-.5px); background: linear-gradient(transparent, var(--hair-3) 6%, var(--hair-1) 46%, var(--hair-1) 54%, var(--hair-3) 94%, transparent); }

.about__nugget { position: relative; display: flex; }
.about__nugget[data-side="left"] { justify-content: flex-start; }
.about__nugget[data-side="right"] { justify-content: flex-end; }
.about__nugget[data-side="center"] { justify-content: center; }

/* ghost ordinal watermark — the "pop"/weight behind each plate */
.about__ord { position: absolute; top: -.34em; z-index: 0; font-family: var(--font-display); font-size: clamp(78px, 14vw, 144px); line-height: 1; color: var(--line); pointer-events: none; user-select: none; }
.about__nugget[data-side="left"] .about__ord { left: -.08em; }
.about__nugget[data-side="right"] .about__ord { right: -.08em; }
.about__nugget[data-side="center"] .about__ord { left: 50%; transform: translateX(-50%); }

/* the plate = museum mat (BR-S206: hair-1 edge, inset-box-shadow mat rule — never blurs at fractional DPR, top-bevel) */
.about__plate { position: relative; z-index: 1; width: min(400px, 100%); display: flex; flex-direction: column; align-items: center; gap: 13px; padding: 34px 26px 21px; border: 1px solid var(--hair-1); border-radius: 10px; background: linear-gradient(180deg, rgba(233,229,220,.024) 0%, transparent 65%), var(--ink-850); box-shadow: inset 0 1px 0 rgba(233,229,220,.04); }
.about__plate::before { content: ""; position: absolute; inset: 7px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--hair-2); pointer-events: none; }
.about__emblem { display: block; color: var(--silver-dim); filter: drop-shadow(0 7px 16px rgba(0,0,0,.5)); }   /* the lift is on the emblem, never a shadow on the tile */
.about__emblem-svg { width: 48px; height: 48px; display: block; }
.about__name { font-family: var(--font-ui); font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--t-display); margin: 0; }
.about__rule { width: 44px; height: 1px; background: linear-gradient(90deg, transparent, var(--hair-1) 20%, var(--hair-1) 80%, transparent); }
.about__line { font-family: var(--font-display); font-size: clamp(16px, 2.3vw, 18.5px); line-height: 1.5; color: var(--t-primary); text-align: center; max-width: 31ch; margin: 0; }
.about__micro { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--t-meta); margin: 0; }

/* BR-S236 — hovering a box lifts its TEXT slightly brighter so the one you're reading pulls into
   focus and is easier to read. Colour-only on the text (safe in both plain + engraved-relic modes),
   with a whisper of plate lift as the focus cue. Scoped to LIT nuggets — the unlit "not yet lit"
   one stays dim on purpose. Eased so it's a soft settle, never a flash. */
.about__name, .about__line { transition: color 240ms ease; }
.about__nugget:not(.about__nugget--unlit) .about__plate { transition: border-color 240ms ease, box-shadow 240ms ease; }
.about__nugget:not(.about__nugget--unlit) .about__plate:hover { border-color: var(--line-strong); box-shadow: inset 0 1px 0 rgba(233,229,220,.06), 0 6px 22px rgba(0,0,0,.26); }
.about__nugget:not(.about__nugget--unlit) .about__plate:hover .about__line { color: #f1ede6; }
.about__nugget:not(.about__nugget--unlit) .about__plate:hover .about__name { color: #f7f4ee; }
.about__door { margin-top: 8px; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 20px; border: 1px solid var(--hair-1); border-radius: 8px; background: linear-gradient(180deg, rgba(233,229,220,.015), transparent 70%); cursor: pointer; font-family: var(--font-ui); font-size: 11.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--t-display); text-decoration: none; transition: border-color 200ms cubic-bezier(.2,.7,.2,1), color 200ms cubic-bezier(.2,.7,.2,1), background 200ms cubic-bezier(.2,.7,.2,1), box-shadow 200ms cubic-bezier(.2,.7,.2,1), transform 160ms cubic-bezier(.2,.7,.2,1); }
.about__door:hover, .about__door:focus-visible { transform: translateY(-1.5px); outline: none; }
.about__door:active { transform: translateY(-.5px); transition-duration: 80ms; }
.about__nugget:not(.is-free):not(.is-paid) .about__door:hover, .about__nugget:not(.is-free):not(.is-paid) .about__door:focus-visible { border-color: var(--silver-dim); }

/* BR-S206 COLOUR LAW — the intensity ladder (ghost ordinal → micro → emblem+glow → gate); free + paid doors bloom EQUAL-and-opposite (free-as-hero) */
.about__nugget.is-free .about__emblem { color: #c8ad70; filter: drop-shadow(0 7px 16px rgba(0,0,0,.5)) drop-shadow(0 0 9px rgba(200,173,112,.16)); }
.about__nugget.is-paid .about__emblem { color: var(--violet); filter: drop-shadow(0 7px 16px rgba(0,0,0,.5)) drop-shadow(0 0 9px rgba(139,123,255,.17)); }
.about__nugget.is-free .about__micro { color: #c8ad70; }
.about__nugget.is-paid .about__micro { color: color-mix(in srgb, var(--violet) 65%, var(--t-meta)); }
.about__nugget.is-free .about__ord { color: rgba(200,173,112,.14); }
.about__nugget.is-paid .about__ord { color: rgba(139,123,255,.13); }
.about__nugget.is-free .about__door { border-color: color-mix(in srgb, #c8ad70 42%, var(--line-strong)); }
.about__nugget.is-free .about__door:hover, .about__nugget.is-free .about__door:focus-visible { border-color: #c8ad70; color: #c8ad70; background: color-mix(in srgb, #c8ad70 6%, transparent); box-shadow: 0 0 0 1px rgba(200,173,112,.15), 0 6px 18px rgba(200,173,112,.13); transform: translateY(-2px); }
.about__nugget.is-paid .about__door { border-color: color-mix(in srgb, var(--violet) 45%, var(--line-strong)); }
.about__nugget.is-paid .about__door:hover, .about__nugget.is-paid .about__door:focus-visible { border-color: var(--violet); color: var(--violet); background: color-mix(in srgb, var(--violet) 6%, transparent); box-shadow: 0 0 0 1px rgba(139,123,255,.16), 0 6px 18px rgba(139,123,255,.14); transform: translateY(-2px); }

/* THE UNLIT ROOM — softer veil, coming not walled; keeps its lone gold floor-glow */
.about__nugget--unlit .about__plate { border-style: dashed; border-color: var(--hair-2); background: var(--ink-900); }
.about__nugget--unlit .about__emblem { filter: blur(6px); opacity: .45; }   /* static blur only — never animated */
.about__nugget--unlit .about__name { filter: blur(1.2px); opacity: .66; }
.about__nugget--unlit .about__line, .about__nugget--unlit .about__micro { color: var(--faint); }
.about__nugget--unlit .about__plate::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(120% 80% at 50% 120%, rgba(200,173,112,.05), transparent 62%); pointer-events: none; }

/* THE LANDING — the close bookends the opening ◆ eyebrow (wick burns out → ◆ seal → foot); static, always visible */
.about__close { display: grid; justify-items: center; gap: clamp(16px, 2.8vh, 26px); margin: clamp(64px, 13vh, 140px) 0 0; }
.about__wick--close { margin-top: 0; height: clamp(48px, 9vh, 84px); background: linear-gradient(var(--hair-3), transparent); }
.about__seal { font-family: var(--font-display); font-size: 15px; line-height: 1; color: var(--silver-dim); opacity: .82; }
.about__foot { margin: 0; text-align: center; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--faint); }

/* scroll-reveal — base VISIBLE (freeze-safe); .is-motion arms the hidden state; the PLATE rises to its stationary ghost ordinal; LATCH (stays lit — "the light stays on") */
.about.is-motion .about__nugget .about__plate { opacity: 0; transform: translateY(20px); transition: opacity 720ms cubic-bezier(.16, .84, .29, 1), transform 720ms cubic-bezier(.16, .84, .29, 1); }
.about.is-motion .about__nugget:not(.is-lit) .about__plate { will-change: opacity, transform; }   /* BR-S234: drop the compositor promotion once a plate latches lit */
.about.is-motion .about__nugget.is-lit .about__plate { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .about.is-motion .about__nugget .about__plate { opacity: 1; transform: none; transition: none; } }

/* BR-S206 mobile — single-column reflow + hard scale-downs where clamp() floors fail phones */
@media (max-width: 559px) {
  .about__intro { gap: 13px; margin-bottom: clamp(56px, 14vh, 140px); }
  .about__wick { height: clamp(32px, 6vh, 55px); }
  .about__plate { padding: 24px 20px 20px; gap: 11px; }
  .about__emblem-svg { width: 42px; height: 42px; }
}
@media (max-width: 479px) {
  .about__headline { row-gap: clamp(5px, 2vw, 12px); }
  .about__hx:first-of-type { transform: translateX(-7vw); }   /* gentler stagger on narrow screens */
  .about__hx:last-of-type  { transform: translateX(7vw); }
  .about__pivot { width: clamp(24px, 8vw, 40px); height: 1.4px; transform: rotate(19deg); }
  .about__nugget[data-side="left"], .about__nugget[data-side="right"] { justify-content: center; }
  .about__nugget[data-side="left"] .about__ord, .about__nugget[data-side="right"] .about__ord { left: 50%; right: auto; transform: translateX(-50%); }
}
@media (max-width: 399px) {
  .about__ord { font-size: 64px; }
  .about__emblem-svg { width: 38px; height: 38px; }
  .about__plate { padding: 20px 18px 18px; }
  .about__rail { row-gap: clamp(88px, 20vh, 160px); }
}

/* edge arrows — bottom-corner dog-ears (right-center is owned by the menustage
   develop arrow at rest and the purple vault arrow in fullview) */
/* BR-S345: one line, not a stack. The caption sits on the INSIDE and the arrow
   points outward, so the control's own shape says which way it goes. */
.menu__go { position: absolute; z-index: 5; display: flex; flex-direction: row; align-items: center; gap: 10px; }
/* ★★ BR-S439 — THE ARROWS COME IN OFF THE CORNERS. The builder: "or move arrows
   close to middle so rooms button can be bottom right." That is the better fix and it
   solves the cause rather than the symptom: the right corner had three tenants stacked
   into 85px — the codex orbs, this arrow, and ROOMS — and every placement pass since
   BR-S402 has been shuffling them inside a space that was simply too small.
   Both sides move by the SAME amount so the pair stays symmetric; they are one gesture
   read left-and-right, and an asymmetric pair reads as a mistake even when it is not.
   The vertical is untouched — they still sit on the panel's own floor line. */
.menu__go--rooms { right: clamp(96px, 13vw, 210px); bottom: clamp(26px, 6vh, 54px); transition: opacity 240ms ease, visibility 0s linear 0s; }
.menu__go--desk { left: clamp(96px, 13vw, 210px); bottom: clamp(26px, 6vh, 54px); }
.menu__go--reliq { right: clamp(96px, 13vw, 210px); bottom: clamp(26px, 6vh, 54px); }   /* BR-S204: wall→reliquary (right edge) */
.menu__go--reliq-back { left: clamp(96px, 13vw, 210px); bottom: clamp(26px, 6vh, 54px); }   /* reliquary→wall (left edge) */
/* the LEFT-hand controls mirror: arrow outward, caption inward. DOM order is
   caption-then-button in every one of them, so the mirror is a row-reverse rather
   than a second markup shape. */
.menu__go--desk, .menu__go--reliq-back { flex-direction: row-reverse; }
.menu__go-cap {
  font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--t-meta); transition: color 220ms var(--ease-settle);
}
.menu__go-btn {
  background: none; border: 0; padding: 10px 4px; cursor: pointer; color: var(--t-meta);
  transition: color 220ms var(--ease-settle); line-height: 0;
}
.menu__go-svg { width: 56px; height: auto; display: block; overflow: visible; }
/* THE GESTURE. The tail grows from its inner end by 4px and the head advances by
   the same 4px, so one line extends toward the next room and the arrow rides out on
   it. Separate elements is the whole trick — translating the glyph as a unit is the
   nudge this replaces. Transform only; nothing here lays out. */
.menu__go-tail { transform-origin: 1px 8px; transition: transform 260ms var(--ease-settle); }
.menu__go-head { transition: transform 260ms var(--ease-settle); }
.menu__go-btn:hover .menu__go-tail,
.menu__go-btn:focus-visible .menu__go-tail { transform: scaleX(1.087); }   /* 46px tail + 4px */
.menu__go-btn:hover .menu__go-head,
.menu__go-btn:focus-visible .menu__go-head { transform: translateX(4px); }
.menu__go-btn:active .menu__go-tail { transform: scaleX(1.043); }
.menu__go-btn:active .menu__go-head { transform: translateX(2px); }
.menu__go-btn:hover, .menu__go-btn:focus-visible { color: var(--t-display); }
/* the caption answers with the arrow — one control, one response */
.menu__go:hover .menu__go-cap { color: var(--silver); }
.menu__go-btn:focus-visible { outline: 1px solid var(--silver-dim); outline-offset: 5px; border-radius: 3px; }
/* the back arrow is the same drawing, mirrored on the SVG — the tail/head transforms
   above are in local coordinates, so they keep pointing the way the arrow points */
.menu__go-btn--back .menu__go-svg { transform: scaleX(-1); }
@media (prefers-reduced-motion: reduce) {
  .menu__go-tail, .menu__go-head, .menu__go-cap, .menu__go-btn { transition: none; }
  .menu__go-btn:hover .menu__go-tail, .menu__go-btn:hover .menu__go-head { transform: none; }
}
/* hide states: never beside the purple vault arrow; steps aside during the in-place scribble read */
.menurev.is-fullview .menu__go--rooms,
.menurev:has(.reveal-stage--menustage.is-reading) .menu__go--rooms {
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 240ms ease, visibility 0s linear 240ms;
}


/* ============================================================
   BR-S231 — M2 "THE DRAW": the Reading Rooms as the Desk's mirror twin.
   Copies M1's .menu__inner grid recipe (parity inherited); the .menu__panel--wall
   flex-center already positions it. Reuses .menu__door / .msample__* / .menu__codex.
   Small mono text sits on --t-meta (>=4.5:1 on --ink); the ONE violet is "kept".
   ============================================================ */
.menu__draw {
  position: relative;
  width: min(1180px, 92vw);
  display: grid;
  /* BR-S321 — THREE COLUMNS: what you can DO, what you are HOLDING, what it MEANS.
     M2 was built as the Desk's mirror twin — words left, object right — and that was
     right while the object was a SAMPLE, a picture standing in for the product, so the
     words had to introduce it. It is a real pulled card now, so it takes the middle and
     the panel arranges itself around it: the acts on one side, the reading on the other,
     the card between them because it is what both are about.
     The card column is the flexible one; the two side columns are fixed, so the card
     grows into whatever width is left rather than the columns fighting over it. */
  grid-template-columns: 300px minmax(0, 1fr) 330px;
  grid-template-areas: "ctrl stage    ." "ctrl stage head" "ctrl stage    .";
  grid-template-rows: 1fr auto 1fr;
  /* the gap tightens with the viewport: three columns plus 2x72px of air did not leave
     the card enough room at 1200, which is where this layout starts */
  column-gap: clamp(24px, 3vw, 52px); row-gap: 14px;
  align-items: start; text-align: left;
}
/* the two side columns settle against the card rather than hanging from the top rail */
.menu__draw-ctrl { align-self: center; }
.menu__draw-head { align-self: center; }
/* BR-S321a: the room's name, now at the head of the column that holds its acts. Same
   9px rhythm the header had, so nothing about the type changed — only where it stands. */
.menu__draw-mast { display: grid; gap: 9px; justify-items: start; margin-bottom: 4px; }
.menu__draw-head { grid-area: head; display: grid; gap: 9px; justify-items: start; position: relative; z-index: 2; }
.menu__draw-title { font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -.005em; color: var(--t-display); line-height: 1.04; }
.menu__draw-title:focus { outline: none; }
/* BR-S418 — the house mark rides the title now that the eyebrow above it is gone.
   Sized off the title's own em so it scales with it, and held back to the meta ink:
   the mark introduces the name, it does not compete with it. */
.menu__draw-title__mark { font-size: .42em; color: var(--t-meta); vertical-align: .28em; margin-right: .18em; }
/* "The Reading Rooms" in the eyebrow's register, labelling the two doors it names.
   Same face, size and tracking the eyebrow used, so nothing new is introduced — the
   line simply moved down the column to sit with what it describes. */
.menu__draw-doorlabel { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--faint); margin: 0 0 10px; }
.menu__draw-thesis { font-family: var(--font-display); font-size: 19px; line-height: 1.4; color: var(--t-primary); }

/* BR-S354: the column's own gap rises with the card it holds — 14px between a
   560px monument and its caption is a different proportion than 14px under a 620px
   one, and leaving it behind is what makes a scaled-up object look crowded rather
   than larger. */
.menu__draw-stage { grid-area: stage; align-self: center; display: flex; flex-direction: column; align-items: center; gap: 18px; position: relative; z-index: 2; }
.menu__draw-herosub { font-family: var(--font-display); font-style: italic; font-size: 14px; line-height: 1.5; color: var(--t-body); text-align: center; }

/* ── BR-S321 — the live pull's two new parts. ────────────────────────────────
   THE READ sits in the words column, under the thesis, and belongs to whatever is
   face up beside it. It is CLAMPED: a menu panel is a fixed viewport and some of the
   78 meanings run long, so the block is allowed four lines and the rest of the card
   lives in the Codex, one link away. Clamping is the honest choice here — truncating
   the sentence would leave a card half-explained on the storefront. */
/* ── BR-S340 — THE READ WAS TOO SMALL TO WANT TO READ. ───────────────────────
   Builder: the right column is "a bit too small and annoying to look at" on both
   faces. Measured, and it is worse than small: the column is 330px, and at 15px
   the birth face's meaning ran to FIVE lines inside a box fixed at four — so the
   card that this panel gives first position to was being cut off mid-sentence on
   the storefront. Size and clipping, one fix.
     meaning  15 -> 17px, line-height 1.55 -> 1.6
     label   8.5 -> 9.5px, meta 9 -> 10.5px  (mono micro-labels, genuinely tiny)
   THE HEIGHT IS DERIVED, NOT RESTATED. The old rule hard-coded
   `calc(15px * 1.55 * 4)` beside the font-size it had to agree with, which is two
   numbers that must be edited together and a comment asking someone to remember.
   One token set now: change the size and the box follows. */
/* A custom property only animates if it is REGISTERED — an unregistered one flips
   at the halfway point of any transition, which on two gradient stops is a visible
   snap rather than a fade. Registered as <color>, the pair-hover ramps. */
@property --grade-a { syntax: "<color>"; inherits: false; initial-value: #d8cdb4; }
@property --grade-b { syntax: "<color>"; inherits: false; initial-value: #a9a49a; }
/* ── BR-S349 — THE 110% FINDING, BAKED IN AT 100%. ───────────────────────────
   The builder read the panel at 80/90/100/110/125% browser zoom and preferred 110
   — "felt a lot better reading". Measured what actually differs at each stop, and
   it is not scale, it is RATIO: three things here scale by three different laws.
   The type is fixed px and never answers the viewport; the card is
   clamp(380px,54vh,560px); the column is min(1180px,94vw). Zooming moves the type
   against the other two.
     110%  card 466 / type 18.7  ->  ratio 27.4   <- the one that read best
     100%  card 513 / type 17.0  ->  ratio 30.2
      90%  card 560 (ceiling)    ->  ratio 32.9
   So the preference is for MORE TYPE relative to the room, and browser zoom is a
   poor way to get it: at 125% the column itself starts shrinking (1180 -> 1053) and
   the reader loses page. Raising the type instead reproduces 110%'s ratio exactly
   (513/18.7 = 27.4) while the geometry stays where it was designed.
   +11% across the block, and the box follows because its height is derived rather
   than restated. Five lines now, not four: the same sentences need one more line at
   this size, and clipping the birth read to keep a number round would be trading the
   thing the builder liked for tidiness. */
.m2read { display: grid; gap: 6px; --m2read-size: 19px; --m2read-lh: 1.6; --m2read-lines: 5; }
/* the static half of the frame: a label that never changes, over words that always do */
/* the grade runs down the whole block, not just the sentence: the label is the
   faintest thing, the meta takes the gold, the meaning cools out of it */
/* the labels rise with the sentence — lifting only the body would leave the mono
   marks looking shrunken beside it, which is a different composition again */
.m2read__label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--t-ghost); margin: 0 0 2px; }
/* BR-S345 — the meta is THREE registers, not one fact: a class, an index, a
   meaning. One colour across all of it said they were the same kind of thing and
   the line read as a row of perks. Graded, the hierarchy is free — brightest at
   the class, dimmest at the keyword — and only the NUMERAL is gold, because a
   number is the one part of a record that identifies rather than describes. */
.m2read__meta {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--t-meta); margin: 0;
}
/* BR-S346 — the segments are named by ROLE, so every card shows its element. The
   leading segment takes the accent; the last one (always the meaning) takes it too,
   pulled toward the body grey so the line still has a hierarchy; the state word gets
   its own oxide, because upright/reversed is a flag rather than a description. */
.m2read__seg { transition: color 220ms var(--ease-settle); }
.m2read__seg--0 { color: var(--m2acc, #cfc7b6); }
.m2read__seg--1 { color: #a49e93; }
.m2read__seg--2 { color: #8b867e; }
.m2read__seg--state { color: #9c6a55; }
.m2read__seg--key { color: color-mix(in srgb, var(--m2acc, #a49e93) 72%, #8b867e); }
.m2read__num { color: #c8ad70; transition: color 220ms var(--ease-settle); }
.m2read__dot { color: #6f6b64; margin: 0 .5em; }
/* ── BR-S343 — THE READ IS COLOUR-GRADED. ────────────────────────────────────
   Builder's note. The block was three flat greys and it read as a spec sheet — a
   list of perks beside a card, which is exactly what a storefront must not look
   like. Graded, it reads as one lit object: warm at the top where the eye lands,
   cooling into the body as the sentence runs out.
   The tint is the card's own gold, not a new hue — #c8ad70 already lives on this
   panel (the cutline, the placard mark, the hero's edge), so this ties the words
   to the thing they describe rather than introducing a colour.
   COLOUR IS A GRADIENT ON THE TEXT ITSELF (background-clip), which means `color`
   can no longer carry the hover. The stops are variables and the pair-hover moves
   THOSE — otherwise BR-S324's "card and its words light together" would silently
   stop working, since setting `color` on transparent text does nothing at all.
   The plain `color` above the gradient is a real fallback: anywhere
   background-clip:text is unsupported the sentence is still ink, never invisible. */
.m2read__mean {
  font-family: var(--font-display); font-size: var(--m2read-size); line-height: var(--m2read-lh);
  color: var(--t-body); margin: 0;
  --grade-a: #d8cdb4;                 /* warm cream, where the eye lands */
  --grade-b: #a9a49a;                 /* the body grey it settles into */
  background-image: linear-gradient(175deg, var(--grade-a) 0%, var(--grade-a) 22%, var(--grade-b) 88%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: --grade-a 220ms var(--ease-settle), --grade-b 220ms var(--ease-settle);
  /* BR-S451: 4 -> 5. The box's HEIGHT was already reserved for five lines
     (--m2read-lines: 5), so the fifth line was room the layout had already paid for
     and was refusing to use — the clamp cut at four and left one line of dead space
     under every card. Nothing moves; the column is exactly as stable as before. */
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden;
  /* FIXED at four lines, not merely capped at four. A clamp alone still lets the box
     shrink for a terse card, so the column jumped on every pull — the exact instability
     the frame is here to remove. */
  height: calc(var(--m2read-size) * var(--m2read-lh) * var(--m2read-lines));
}
/* mirrors the gold cut-line over the acts in the left column, so the two side columns
   are braced the same way and the card sits between two fixed rules */
.menu__draw-cutline--read { margin: 0 0 14px; max-width: 100%; }

/* ── BR-S327 — THE DRIFTING QUESTIONS. ───────────────────────────────────────
   Eight questions stacked in one FIXED-HEIGHT box, cross-fading with overlap so two
   are briefly present at once — a murmur, not a marquee. The height is fixed for the
   same reason the read box below it is: this column may not resize while you look at
   it, and a one-line question following a two-line one would jump the whole panel.
   Italic serif at low alpha, so they read as something overheard rather than as UI.
   ANIMATION IS OPACITY AND transform ONLY — both compositable, nothing that lays out.
   One 27.2s keyframe shared by all eight, each offset by a negative delay, so the
   browser schedules nothing and there is no timer to leak when the panel slides away. */
/* ── BR-S346 — THE BOX WAS SIZED FOR QUESTIONS THAT NO LONGER EXIST. ─────────
   Measured at 330px: all seven of the current lines are ONE line of 22.5px, and the
   box was 3.4em — 54px, 2.42 lines. Worse, the questions are `inset:0` and therefore
   top-aligned, so every one of them sat with 32px of dead air underneath it. That is
   what made the block read as floating too high with a hole under it, and no amount
   of tuning the timing would have fixed a layout fault.
   Two lines of headroom (2.9em) so a longer question can still arrive without the
   column jumping, and CENTRED, so a one-line and a two-line question share an optical
   centre instead of hanging from the top. The reserved height stays fixed either way
   — this column may not resize while someone is looking at it. */
.m2asks {
  position: relative; height: 2.9em; width: 100%; margin: 0 0 10px;
  pointer-events: none;
}
.m2asks__q {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  font-family: var(--font-display); font-style: italic; font-size: 17px; line-height: 1.45;
  color: var(--t-body); opacity: 0;
  /* the cycle length is written onto .m2asks by app.js from M2_CYCLE — the same
     constant the per-line delays are computed from. Hard-coding it here as well
     would be two owners of one number, and the failure mode is silent: the
     schedule would simply drift out of the loop it was written against. */
  animation-duration: var(--m2ask-cycle, 36s); animation-iteration-count: infinite; animation-fill-mode: both;
  /* linear ONLY as the outer default — every segment overrides it from inside the
     keyframe, which is the one place a per-segment curve can be declared. */
  animation-timing-function: linear;
}
/* BR-S341 — THREE ENVELOPES, NOT ONE. The window sits at the HEAD of each keyframe
   and the rest of the cycle is silence; a per-line negative delay slides that window
   to its appointed second. Attack is always faster than release — a thought appears
   more suddenly than it fades, and a symmetric fade is the tell of a slideshow.
   BR-S344: the percentages are unchanged and the CYCLE grew 36s -> 44s, so every
   envelope lengthened with it — flick 4.17% = 1.83s · hold 8.9% = 3.92s · dwell
   15% = 6.6s. That is deliberate: the builder asked for spacious, and a longer hold
   is half of what makes a line feel held rather than flashed. The schedule in
   app.js#M2_ASKS is written against these seconds. */
.m2asks__q--flick { animation-name: m2ask-flick; }
.m2asks__q--hold  { animation-name: m2ask-hold; }
.m2asks__q--dwell { animation-name: m2ask-dwell; }
/* ── BR-S331 — THEY ROLL NOW, THEY DO NOT TAKE TURNS. ────────────────────────
   Ten lines over 36s: each owns a 10% slot but stays visible for 13.5%, so for about
   1.3 seconds two are on screen together — one arriving under one leaving. That
   overlap is the whole difference between a thought rolling into another thought and
   a slideshow advancing. The drift also lengthened (6px, from 5) so the departing
   line is still moving when the next one starts, which is what makes it read as
   continuous rather than as a sequence of entrances.
   Opacity peaks at .46, down from .52: closer to the edge of legibility, because
   something you have to lean very slightly toward reads as overheard, and something
   at full contrast reads as copy written at you. */
/* the two curves every envelope shares: a quick settle in, a long release out */
@keyframes m2ask-flick {                                   /* 1.5s — barely landed before it goes */
  0%     { opacity: 0; transform: translateY(var(--dy, 6px)); animation-timing-function: cubic-bezier(.16, .84, .44, 1); }
  0.9%   { opacity: var(--peak, .42); transform: translateY(0); animation-timing-function: linear; }
  2.6%   { opacity: var(--peak, .42); transform: translateY(0); animation-timing-function: cubic-bezier(.4, 0, .7, .3); }
  4.17%  { opacity: 0; transform: translateY(calc(var(--dy, 6px) * -1)); }
  100%   { opacity: 0; transform: translateY(calc(var(--dy, 6px) * -1)); }
}
@keyframes m2ask-hold {                                    /* 3.2s — long enough to finish reading */
  0%     { opacity: 0; transform: translateY(var(--dy, 6px)); animation-timing-function: cubic-bezier(.16, .84, .44, 1); }
  1.4%   { opacity: var(--peak, .42); transform: translateY(0); animation-timing-function: linear; }
  5.6%   { opacity: var(--peak, .42); transform: translateY(0); animation-timing-function: cubic-bezier(.4, 0, .7, .3); }
  8.9%   { opacity: 0; transform: translateY(calc(var(--dy, 6px) * -1)); }
  100%   { opacity: 0; transform: translateY(calc(var(--dy, 6px) * -1)); }
}
@keyframes m2ask-dwell {                                   /* 5.4s — the one that will not leave */
  0%     { opacity: 0; transform: translateY(var(--dy, 6px)); animation-timing-function: cubic-bezier(.16, .84, .44, 1); }
  1.7%   { opacity: var(--peak, .42); transform: translateY(0); animation-timing-function: linear; }
  10.5%  { opacity: var(--peak, .42); transform: translateY(0); animation-timing-function: cubic-bezier(.4, 0, .7, .3); }
  15%    { opacity: 0; transform: translateY(calc(var(--dy, 6px) * -1)); }
  100%   { opacity: 0; transform: translateY(calc(var(--dy, 6px) * -1)); }
}
/* WCAG 2.2.2 — content that moves on its own must be stoppable. Pointing at the column
   stops it, so anyone who wants to finish reading one can. */
.menu__draw-head:hover .m2asks__q,
.menu__draw:focus-within .m2asks__q { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  /* no drift at all: the first question stands, the rest never render. A single
     honest line beats a cross-fade nobody asked for. */
  .m2asks__q { animation: none; opacity: 0; }
  .m2asks__q:first-child { opacity: .52; }
}
/* ★★ BR-S449 — THE QUESTIONS BELONG TO THE DECK, NOT TO A BIRTH READING.
   The builder: "the rotating question should not be seen when tab is birth reading
   card example."

   IT IS A CATEGORY ERROR, not clutter. Every line in M2_ASKS (app.js:2432) is a
   question you PUT to something — "Where does this one go." · "What does he actually
   feel." · "What is worth my next year." A tarot draw is exactly that: you bring a
   question and cut the deck to it. A birth reading is the opposite by construction —
   nothing is asked, the six marks are given by a name and a date, and the panel's own
   copy two blocks below says so ("Six marks you were given rather than chose"). So a
   question breathing over the birth face contradicts the card it is standing on.

   KEYED OFF THE HERO'S OWN data-face, WHICH IS ALREADY THE TRUTH. m2WriteRead flips
   `data-face` on [data-m2-hero] and the served markup opens on "birth" (app.js:2662+),
   so there is no second state to keep in sync — the rule reads the same attribute the
   card does. `:has()` because .m2asks is the hero's SIBLING (header vs stage), not its
   descendant; .menu__draw is their nearest common ancestor. Already used 29× here.

   VISIBILITY, NOT DISPLAY. `visibility:hidden` keeps the box's height, so the header
   does not reflow when the face flips — a 3-line jump on every turn of the card would
   be worse than the thing being fixed. The animations keep running underneath at zero
   cost to the eye; they are pure CSS with no timer to leak (BR-S341). */
.menu__draw:has([data-m2-hero][data-face="birth"]) .m2asks { visibility: hidden; }
/* BR-S463: the standing label goes with them — one rule, both parts, so the label can
   never be left announcing a question the face does not ask. */
.menu__draw:has([data-m2-hero][data-face="birth"]) .m2q__label { visibility: hidden; }

/* ══ BR-S463 — THE STANDING WORD ═════════════════════════════════════════════
   "elegant white font text 'question'."

   ELEGANT HERE MEANS THE DISPLAY SERIF AT SIZE, NOT A MONO LABEL SHOUTING IN
   CAPS. Every other label on this panel is 8-10px mono at .22em — correct for
   furniture, wrong for the one word that names what the column is about. This is
   set in the same face the questions themselves use, larger than them and lighter
   in colour, so the eye reads WORD then thought rather than two competing labels.

   AND IT IS THE ONLY NEAR-WHITE ON THE PANEL. #f2ece0 against the questions'
   --t-body: the label is the fixed point, the thoughts are the moving one, and
   the contrast between them is what makes the rolling lines read as passing
   rather than as arriving. */
.m2q { position: relative; }
.m2q__label {
  margin: 0 0 7px;
  font-family: var(--font-display);
  font-size: 19px; line-height: 1.2; letter-spacing: .012em;
  color: #f2ece0;
}
/* ★ THE RESERVE GOES TO THREE LINES. .m2asks reserves 2.9em — two lines at 17px/1.45 —
   and its spans are `inset:0` of that box, so a question that wraps to THREE simply
   overflows it. At a wide desktop measure none of the seven do; at a squeezed column
   "What does he actually feel." becomes three lines and ran straight through the gold
   rule below. Reserving the real worst case costs ~25px of a column that has room and
   removes a collision that only appears on the narrow viewports hardest to test.
   The height stays FIXED, which is the property that mattered: this column still may
   not resize while someone is looking at it. */
.m2asks { height: 4.35em; }
/* ★★ BR-S455 — AND THE HIDDEN QUESTIONS STOP ANIMATING. My own BR-S449 bug, found by
   counting document.getAnimations() on the default face: `visibility: hidden` hides an
   element but does NOT stop its animations, so SEVEN 44-second infinite opacity+transform
   loops were running forever on a block nobody can see — on the face the panel OPENS on,
   for the whole time the page is up. `display: none` would stop them and also collapse
   46px of header, which is the reflow BR-S449 chose visibility to avoid.
   animation-play-state gets both: the box keeps its height, the compositor stops.
   Measured before: 7 running. After: 7 paused. */
.menu__draw:has([data-m2-hero][data-face="birth"]) .m2asks__q { animation-play-state: paused; }

/* ── BR-S324 — THE CARD AND ITS WORDS LIGHT TOGETHER. ────────────────────────
   They sit in different grid columns with a whole card between them, so nothing about
   the layout says they are one thing. Hovering either now lifts BOTH — the card a
   hair brighter with its edge-glow opened up, the meaning stepping from body ink to
   primary. It is the cheapest possible way to say "these two are the same object",
   and it works in both directions on purpose: coming from the words you learn they
   belong to the card, coming from the card you learn where its words are.
   `:has()` rather than JS — the relationship is structural, and a class toggle would
   be a second owner for a state CSS can already see.
   HELD DELIBERATELY SLIGHT. brightness(1.035) and one colour step. This is a menu
   panel with a monument on it; a hover that announces itself would be the loudest
   thing in a room whose whole grammar is restraint. */
.m2hero, .m2read__mean { transition: filter 220ms var(--ease-settle), box-shadow 220ms var(--ease-settle), color 220ms var(--ease-settle); }
.menu__draw:has(.menu__draw-stage:hover) .m2hero,
.menu__draw:has(.m2read:hover) .m2hero {
  filter: brightness(1.035);
  box-shadow: inset 0 0 0 1px rgba(200, 173, 112, 0.30), 0 22px 46px rgba(0, 0, 0, 0.62), 0 0 26px rgba(200, 173, 112, 0.07);
}
/* BR-S343: the meaning is gradient-filled now, so `color` cannot carry this — the
   text-fill is transparent and a colour step would do nothing at all. The pair-hover
   moves the GRADE instead: both stops step up, which is the same gesture (the words
   light with the card) expressed in the property that is actually painting them. */
.menu__draw:has(.menu__draw-stage:hover) .m2read__mean,
.menu__draw:has(.m2read:hover) .m2read__mean { --grade-a: #ece4d2; --grade-b: #bdb8ad; }

/* ★★ BR-S453 — THE BLOOM. One beat of light when the read changes under a click.
   Both stops go up together and the meta line lifts with them, so the whole block
   brightens as one object rather than the sentence flashing on its own. The ramp UP
   is fast (140ms) and the fall is the 220ms the block already carries — a bloom that
   fades in slowly reads as a loading state, where one that arrives and settles reads
   as a light being caught. .is-bloom is added on the write and removed by a timer at
   420ms; it must win over the hover grade above, hence the later position and the
   equal-specificity ordering rather than !important. */
.menu__draw .m2read.is-bloom .m2read__mean {
  --grade-a: #fff6e2; --grade-b: #ded7c8;
  transition: --grade-a 140ms var(--ease-settle), --grade-b 140ms var(--ease-settle);
}
.menu__draw .m2read.is-bloom .m2read__meta { color: #efe3c4; transition: color 140ms var(--ease-settle); }

/* ★★ BR-S455 — THE BLOOM POLISHED: THE WORDS NOW ARRIVE, THEY DO NOT ONLY BRIGHTEN.
   The builder: "polish the bloomy effect of new text."

   WHAT WAS MISSING IS MOTION, AND THE REASON IS TIMING. A colour lift alone reads as
   a highlight passing over text that was already sitting there — but this text is NEW,
   written on the same frame, and nothing said so. A few pixels of rise is the whole
   difference between "that got brighter" and "that just landed".

   IT IS A KEYFRAME, NOT A TRANSITION, AND THAT IS NOT A STYLE CHOICE. A class-driven
   transition would have to hold the displaced state for the whole 420ms and only slide
   back when the class is REMOVED — the arrival would play backwards, at the end. An
   animation runs once, in the right direction, and cleans itself up.

   THE TWO LINES ARE STAGGERED BY 60ms, meta first. They are one block and they carry
   different weights: the meta line is the label of the thing, the sentence is the thing,
   so the label landing a beat early reads as a cascade instead of a flash. Both are
   opacity + transform only.

   The stagger is DELAY, not duration — both finish inside the 300ms the JS timer holds
   the class for, so the whole gesture is over before the card's own 480ms turn has
   settled and the read is never still moving under a finished card. */
/* ★★ BR-S464 — THE CARD-FLIP READ TAKES THE SAME GRAMMAR AS THE SPECIMEN PANEL.
   The builder: "then bloom both tarot tab and birth." Two surfaces were blooming two
   different ways — the overlay panel by one rule, this by another — which is exactly
   how a house ends up with two dialects of the same gesture.

   THREE THINGS CHANGE, all from docs/BLOOM_GRAMMAR_V1.md:
     1. THE EASING IS ASYMMETRIC. --ease-settle is an ease-out; the aperture's own
        --ease-edge is "a real leap, then a slow-burn crawl to the land", and that
        asymmetry is the single biggest reason the Codex bloom reads as an EVENT while
        this one read as a state change.
     2. THE SETTLE IS NOT MONOTONIC. One beat at 62% where the ink is not quite down.
        Smooth reads as mechanical; a hesitation reads as something drying.
     3. THERE IS AN EDGE, AND IT LEAVES WHEN IT LANDS. A soft band crosses the block
        and hits opacity 0 at the instant it arrives, so nothing is left over to
        explain. A reveal with no edge is a crossfade — which is what this was. */
@keyframes m2read-arrive {
  0%   { opacity: .22; transform: translate3d(0, 4px, 0); }
  34%  { opacity: 1; }
  62%  { opacity: .94; }
  100% { opacity: 1; transform: none; }
}
/* ★★ BR-S466 — THE WHOLE BLOCK BLOOMS, AND IT IS THE APERTURE'S OWN SHEEN. The builder
   drew a box with diagonal strokes across all of it: "whole chat box blooms like codex's
   ending… same concepts that we built on codex."
   So this is not a cousin of `codexSheen` (styles.css:4990) — it is the same keyframe
   shape, the same 135° band, the same four stops and the same corner-to-corner travel,
   applied to a smaller sheet. Two surfaces, one gesture, two scales. BR-S464's
   horizontal front was the right grammar on the wrong axis: a sheet turned to the light,
   not a line drawn down it. */
/* ★★ BR-S470 — THE DIRECTION IS REVERSED, AND NOW IT HAS A REASON. The builder: "i see
   bloom is from right bottom to left top, is this planned or reasoned". It was neither —
   it was INHERITED. The aperture travels bottom-right to top-left and that IS reasoned
   there: the wax seal sits in the screen's bottom-right corner, the iris opens outward
   from it, and the sheen follows the way the aperture just opened — away from the thing
   you pressed.
   None of that transfers here. There is no seal in this block's bottom-right. So the
   inherited vector ran backwards on both counts: away from where the eye enters, and
   toward the control instead of away from it.
   Top-left to bottom-right gives it two reasons instead of none — it begins at the edge
   nearest the mark just touched, so the light reads as CAUSED by the touch, and it moves
   the way the eye is about to travel down the block, so it leads the reading rather than
   cutting across it. Copying the vector instead of the reason is how a house ends up
   with a convention nobody can explain. */
@keyframes m2read-edge {
  0%   { opacity: 0; transform: translate3d(-70%, -70%, 0); }
  24%  { opacity: .9; }        /* BR-S468: 18/78 -> 24/70. 60% of the travel at full */
  70%  { opacity: .9; }        /* brightness reads as a wash; 46% reads as a pass. */
  100% { opacity: 0; transform: translate3d(70%, 70%, 0); }
}
.menu__draw .m2read { --m2-ease-edge: cubic-bezier(.22, .50, .16, 1); position: relative; overflow: hidden; }
.menu__draw .m2read.is-bloom .m2read__meta { animation: m2read-arrive 260ms var(--m2-ease-edge) both; }
.menu__draw .m2read.is-bloom .m2read__mean { animation: m2read-arrive 300ms var(--m2-ease-edge) 60ms both; }
.menu__draw .m2read::after {
  content: ""; position: absolute; inset: -60%;
  pointer-events: none; opacity: 0; mix-blend-mode: screen;
  transform: translate3d(70%, 70%, 0);
  background: linear-gradient(135deg, transparent 0 44%, rgba(255,246,228,.05) 47.5%,
              rgba(255,249,235,.16) 50%, rgba(255,246,228,.05) 52.5%, transparent 56% 100%);
}
/* BR-S468 — its own curve, and it comes AFTER the words. --m2-ease-edge is the arrival
   curve (a leap, then a crawl); a light passing through wants to cross and leave, which
   is why the aperture gives its sheen cubic-bezier(.4,.1,.2,1) and its ink frontier a
   different one. The 70ms delay is the aperture's layering order at this scale: the
   specimen lands, and THEN it is turned to the light. */
.menu__draw .m2read.is-bloom::after {
  animation: m2read-edge 420ms cubic-bezier(.4, .1, .2, 1) 70ms both;
}
@media (prefers-reduced-motion: reduce) {
  .menu__draw .m2read.is-bloom::after { animation: none; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  /* the JS already returns before adding the class; this is the belt for a preference
     that changes after the class is on, so nothing is left mid-rise */
  .menu__draw .m2read.is-bloom .m2read__meta,
  .menu__draw .m2read.is-bloom .m2read__mean { animation: none; }
}
/* the pair-hover lifts each segment by one step and keeps their order — the grade
   is the point, so brightening them all to one colour would undo it on hover */
.menu__draw:has(.menu__draw-stage:hover) .m2read__seg--0,
.menu__draw:has(.m2read:hover) .m2read__seg--0 { color: #e6dfcd; }
.menu__draw:has(.menu__draw-stage:hover) .m2read__seg--1,
.menu__draw:has(.m2read:hover) .m2read__seg--1 { color: #bdb7ab; }
.menu__draw:has(.menu__draw-stage:hover) .m2read__seg--2,
.menu__draw:has(.m2read:hover) .m2read__seg--2 { color: #a29d94; }
.menu__draw:has(.menu__draw-stage:hover) .m2read__seg--state,
.menu__draw:has(.m2read:hover) .m2read__seg--state { color: #b57f68; }
.menu__draw:has(.menu__draw-stage:hover) .m2read__seg--key,
.menu__draw:has(.m2read:hover) .m2read__seg--key { color: color-mix(in srgb, var(--m2acc, #bdb7ab) 86%, #bdb7ab); }
.menu__draw:has(.menu__draw-stage:hover) .m2read__num,
.menu__draw:has(.m2read:hover) .m2read__num { color: #e0c184; }
@media (prefers-reduced-motion: reduce) {
  .m2hero, .m2read__mean { transition: none; }
}
/* THE CONTROL sits under the card it changes, in the stage column, styled as the quiet
   sibling of the doors rather than a fourth loud act — the loud act on this panel is
   the Birth Reading, and a free sample must not shout over the thing that sells. */
.menu__draw-pull {
  margin-top: 2px; padding: 9px 22px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--t-primary); background: none; cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px;
  transition: color 160ms var(--ease-settle), border-color 160ms var(--ease-settle);
}
.menu__draw-pull:hover:not(:disabled), .menu__draw-pull:focus-visible:not(:disabled) { color: var(--t-display); border-color: var(--silver-dim); outline: none; }
.menu__draw-pull:disabled { opacity: .38; cursor: default; }   /* the deck is not in hand yet */

/* BR-S277 — M2'S HERO BECOMES AN OBJECT.  The builder: "we gonna change m2 card
   design, it feels out of place."  It was the only card in the building that was not
   a THING.  M1's card is photographic and material — a real image under tone, grain,
   foil, shimmer and a card finish — while this one was outline art with fill:none,
   two stroked rectangles standing in for an edge and nothing behind them.  Side by
   side in the same room, one read as an artifact and the other as its blueprint, and
   at 380–560px tall the diagram reading only got louder: stroke art reads as
   ENGRAVING at symbol size and as a SPEC DRAWING at hero size.
   So it gets card stock.  The surface, radius, hairline gold edge and drop are the
   same grammar as .dr-cardface — the face the Drawing Room actually deals — which
   matters more now than it did last week: after the pivot, M2 is the storefront for
   tarot, so its hero should BE the product rather than a symbol standing for it.
   The outer stroked rect is gone (the edge is real now, it does not need faking) and
   the inner rule stays as an engraved margin on the stock.  The card also carries its
   own name, the way a dealt card does — which is why the caption above it stopped
   repeating "XVII · The Star". */
.m2hero {
  /* ── BR-S354 — 90's SPACING, 110's TYPE. ────────────────────────────────────
     The builder liked the SPACING at 90% zoom and the READING at 110%, which sound
     contradictory and are not: they are the two ends of one ratio, and both are
     reachable at 100% now that the type has moved.
       at  90%   card 560 (at this ceiling) / type 17.0  ->  ratio 32.9   the spacing
       at 110%   card 466 / type 18.7                    ->  ratio 27.4   the reading
     Type is 19px since BR-S349, so matching 90%'s ratio means the card wants
     19 x 32.9 = 625. The ceiling goes 560 -> 620 and the floor 380 -> 400 with it,
     because a floor left behind turns into a cliff on a short screen.
     THE CEILING IS WHY THIS IS A CHANGE AT ALL: on any viewport taller than ~1040
     the card was already pinned at 560, so it had stopped answering the room. The
     builder's screen is one of those — which is exactly why 90% felt more spacious
     there and would not have on a laptop. */
  position: relative; height: clamp(400px, 56vh, 620px); aspect-ratio: 120 / 190; width: auto;
  border-radius: 12px;
  background: linear-gradient(178deg, #171b22 0%, #12151b 46%, #0d1014 100%);
  box-shadow:
    inset 0 0 0 1px rgba(200, 173, 112, 0.22),          /* the gold edge, as a real edge */
    inset 0 1px 0 rgba(233, 229, 220, 0.05),            /* the lit top lip of the stock */
    0 18px 40px rgba(0, 0, 0, 0.50),
    0 2px 6px rgba(0, 0, 0, 0.40);
}
.m2hero__name {
  position: absolute; left: 10px; right: 10px; bottom: clamp(14px, 2.4vh, 20px);
  font-family: var(--font-display); font-size: clamp(15px, 2.1vh, 19px); font-weight: 600;
  letter-spacing: .005em; line-height: 1.05; text-align: center; color: var(--t-display);
  pointer-events: none;
}

                                                                                   
                                                                                     
                                                                                     
                                                                                       
                                                                   
                                                                               
                                                                                      
                                                                                 
                                                                                    
                                                                                     
                                                                             
                                                       
html.m2-parch .m2hero {
  background: linear-gradient(180deg, #e7e2d7 0%, #dcd7cb 46%, #cbc6bb 100%);
  box-shadow:
    inset 0 0 0 1px rgba(28, 21, 13, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 22px 48px rgba(0, 0, 0, 0.60),
    0 3px 8px rgba(0, 0, 0, 0.45);
}
html.m2-parch .m2hero__face [stroke] { stroke: #2a2118; }
html.m2-parch .m2hero__face text { fill: #c98a5e; }
html.m2-parch .m2hero__face circle[fill]:not([fill="none"]) { fill: #c98a5e; }
html.m2-parch .m2hero__face rect[stroke] { stroke: #c98a5e; opacity: .75; }
html.m2-parch .m2hero__back { opacity: .07; }
html.m2-parch .m2hero__back [stroke] { stroke: #2a2118; }
                                                                                  
                                                                                      
                                                                                     
                                                                                               
                            
                                                                          
                                                                                       
                                                                                      
                                                            
                                                                         
                                                       
                                                                           
                                                                                
                                                                                       
                                                                                         
                                                                                      
                                                                                     
                                                                          
html.m2-parch .m2hero__face,
html.m2-parch .m2hero__back,
html.m2-parch .m2hero__name { display: none; }
html.m2-parch .m2hero {
  background: linear-gradient(165deg, #efe9db, #dcd4c2);
  border: 1px solid rgba(20, 14, 8, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}
/* BR-S324's pair-hover was written for the DARK hero and replaces the whole box-shadow
   with a gold ring and a 26px gold bloom. BR-S289's whole thesis is that gold does not
   survive on parchment — which is why every mark on this face was re-pointed to ink and
   copper — and parchment is the deck that ships (BR-S306). So the parchment card lifts
   with its own drop deepened instead: same gesture, the deck's own colour. */
/* BR-S414 — THE MICRO-HOVER COMES UP ONE STEP. The builder compared three strengths
   live in the lab and chose 1. Both halves of the gesture move together, because the
   drop alone reads as the card getting heavier rather than more present:
     the drop   0 26px 52px /.68  ->  0 28px 56px /.70
     the light  see .m2hero::before below
   Level 2 (0 31px 62px, 146px lobes) was built and rejected as too much. */
html.m2-parch .menu__draw:has(.menu__draw-stage:hover) .m2hero,
html.m2-parch .menu__draw:has(.m2read:hover) .m2hero {
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.70);
}
.m2face { display: none; }
html.m2-parch .m2face {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  padding: 14px 12px; text-align: center; color: #1c150d;
  border-radius: inherit;
}
.m2face-head { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.m2face-meta { font-family: var(--font-mono); font-weight: 600; font-size: 11px; letter-spacing: .12em; color: #5c503c; }
/* BR-S326 — CONTRAST, on the card every single visitor sees. #c98a5e on this parchment
   measures 1.87:1; #8a6a42 clears 4.5:1 and stays inside tarot-v2's own copper register,
   so the mark is the same mark, just legible. This was reported as a "dev toggle" issue
   by the contrast survey — it is not: parchment is the shipped default. */
.m2face-glyph { font-family: var(--font-display); font-weight: 700; font-size: 13px; line-height: 1; color: #8a6a42; }
.m2face-name { margin: auto 0 0; font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.05; color: #1c150d; }
/* 13 characters or more — the same threshold the DEALT card uses (BR-S316). At the
   clamp floor this card is 216px of usable width and the name was unclamped. */
.m2face-name.is-long { font-size: 16px; }
.m2face-div { width: 26px; height: 1px; background: rgba(28, 21, 13, .35); margin: 8px 0; }
.m2face-orient { margin: 0 0 auto; font-family: var(--font-mono); font-weight: 600; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: #6a5c45; }
.m2tick { position: absolute; width: 10px; height: 10px; border-color: rgba(28, 21, 13, .74); }   /* BR-S326: .5 measured 2.76:1 on parchment; .74 clears 3:1 for a non-text mark */
.m2tick.tl { left: 9px; top: 9px; border-left: 1.5px solid; border-top: 1.5px solid; }
.m2tick.br { right: 9px; bottom: 9px; border-right: 1.5px solid; border-bottom: 1.5px solid; }
.m2hero__back, .m2hero__face { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.m2hero__back { opacity: .12; }
.m2hero__face { opacity: 1; clip-path: none; }
.m2pip-glow { opacity: .55; transform-box: fill-box; }

/* ============================================================
   BR-S338 — THE FLIP: tarot face / birth face on one plinth.

   THE ONE CONSTRAINT THAT SHAPES ALL OF THIS: no `perspective` property and no
   `transform-style: preserve-3d` on .m2hero or any ancestor. Either makes it a
   containing block for fixed descendants, which the note at styles.css:2740
   forbids by name — the reveal's fullview machinery needs an untransformed,
   non-containing ancestor. So perspective() rides INSIDE the transform, exactly
   as BR-S279 solved it, and with no 3D context there is no backface to turn:
   the card goes edge-on, the faces are swapped there, and it comes back. One
   composited property, no stacking-context surprises, no half-mirrored state.
============================================================ */
/* ── BR-S343 — THE LEAN, ON THIS CARD TOO. ───────────────────────────────────
   The same chain M1's card carries (BR-S279), with perspective() INSIDE the
   transform for the same reason: a `perspective` property would make this a
   containing block. The transition is the return journey only — while .is-tilting
   is on, the pointer drives it and a transition would just add lag to the hand.
   Longer than the desk card's 320ms, because this one is meant to settle rather
   than snap back.
   The flip's own animation overrides this transform while it runs, which is
   correct: you cannot be leaning a card that is turning over. */
.m2hero {
  transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 420ms var(--ease-settle, cubic-bezier(.2, .7, .2, 1)),
              filter 220ms var(--ease-settle), box-shadow 220ms var(--ease-settle);
}
.m2hero.is-tilting { transition: none; }
/* the engraved light, at half the desk card's strength — "ever slight". Two lobes,
   the dark one just below the bright one, because a lit edge with its own shadow
   under it is what reads as a channel cut into the stock rather than a lamp shining
   on it (BR-S283). soft-light modulates the material instead of adding gloss. */
.m2hero::before {
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  border-radius: inherit; opacity: 0; mix-blend-mode: soft-light;
  transition: opacity 260ms var(--ease-settle);
  /* BR-S414: the halving above is walked back partway — .075/.055 -> .105/.078 and the
     lobe from 120 to 128px, so the light reads slightly BIGGER as well as slightly
     stronger. Still under the desk card's full strength; "ever slight" holds. */
  background:
    radial-gradient(128px 128px at var(--lx, 50%) calc(var(--ly, 50%) + 3%), rgba(0, 0, 0, .105), transparent 70%),
    radial-gradient(128px 128px at var(--lx, 50%) var(--ly, 50%), rgba(255, 255, 255, .078), transparent 70%);
}
.m2hero.is-tilting::before { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .m2hero { transform: none; transition: none; }
  .m2hero::before { display: none; }
}
.m2hero.is-turning { animation: m2-flip 480ms cubic-bezier(.42, 0, .58, 1) both; }
@keyframes m2-flip {
  0%   { transform: perspective(1100px) rotateY(0deg); }
  50%  { transform: perspective(1100px) rotateY(90deg); }
  100% { transform: perspective(1100px) rotateY(0deg); }
}
/* which face is up. display:none on the one that is down keeps it out of the
   a11y tree and out of the hit-test entirely; the pointer-events pair below is
   the belt for anything that is merely stacked. */
.m2hero[data-face="birth"] .m2face,
.m2hero[data-face="birth"] .m2hero__face,
.m2hero[data-face="birth"] .m2hero__back,
.m2hero[data-face="birth"] .m2hero__name { display: none; }
.m2hero[data-face="tarot"] .m2bface { display: none; }
/* A FACE IS SCENERY; ITS CHILDREN ARE NOT. Stated as a rule rather than as a JS
   list of elements to skip — a list is a thing you have to remember to update the
   next time a face gains a child, and forgetting is silent. */
.m2face, .m2bface { pointer-events: none; }
.m2face > *, .m2bface > * { pointer-events: auto; }

/* the birth face — the same card stock and the same typographic grammar as the
   dealt face, so the two read as two cards from one deck rather than two designs.
   Register-agnostic: the ink tokens flip with the stock. */
.m2hero { --bf-ink: #e9e5dc; --bf-meta: #a49c8c; --bf-rule: rgba(233, 229, 220, .28); }
html.m2-parch .m2hero { --bf-ink: #1c150d; --bf-meta: #6a5c45; --bf-rule: rgba(28, 21, 13, .35); }
.m2bface {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  padding: 14px 12px; text-align: center; color: var(--bf-ink);
  border-radius: inherit;
}
.m2bface .m2face-meta { color: var(--bf-meta); }
/* BR-S358: with the marks 12px apart, the shared 8px rule margin left "BY BIRTH ALONE"
   closer to HEXAGRAM than the marks are to each other — so it read as a seventh mark.
   The closing line has to sit further off the stack than the stack sits off itself.
   Scoped to the birth face; the tarot face's rule keeps its own spacing. */
/* BR-S359: on the birth face the rules are LEDGES, not the 26px tick the tarot face
   uses. Widened, they stop being punctuation and become edges — which is what lets the
   six marks read as a span strung between them rather than a list that trails off. */
.m2bface .m2face-div { background: var(--bf-rule); width: 62%; max-width: 132px; }
/* width:100% is load-bearing, not tidiness. Without it each wall shrinks to fit its own
   text, so the rule's 62% resolves against "The Crowned Name" (158px) at the top and
   "BY BIRTH ALONE" (95px) at the bottom — measured 98px vs 59px, two ledges of different
   widths, which is the one thing this layout cannot have. Stretched, both resolve
   against the card. */
/* BR-S360: the masthead rule. Edge to edge, so it reads as the head's own bottom border
   rather than a centred ornament floating under it — a 132px rule under a full-width
   header leaves the header text hanging past both ends of its own line.
   The `.m2bface` qualifier is not decoration: `.m2bface .m2face-div` above sets the
   62%/132px ledge at two-class specificity, so a bare `.m2bface__headrule` loses to it
   and the masthead renders as a ledge. */
.m2bface .m2bface__headrule { width: 100%; max-width: none; margin: 10px 0 0; }
.m2bface__wall { width: 100%; display: flex; flex-direction: column; align-items: center; }
/* The two auto margins that distribute the card's free space now live on the WALLS, so
   each rule travels with the line it belongs to. On its own a rule drifts off its text
   the moment the card's height changes. */
.m2bface__wall--bot { margin: 0 0 auto; }
.m2bface__wall--bot .m2face-div { margin: 16px 0 13px; }
.m2bface .m2face-orient { margin: 0; }

/* ── BR-S362 · the nitpick pass on the birth face ─────────────────────────────
   Four sub-pixel-to-small corrections. Each is individually almost invisible;
   together they are the difference between "laid out" and "set".

   1. OPTICAL CENTRING. Letter-spacing puts a trailing space after the LAST
      character too, and that space is inside the line box — so centred tracked
      text sits half a tracking-unit LEFT of true centre. At .15em on 10px that
      is 0.75px on the marks, 0.72px on the orient line. text-indent of half the
      tracking pushes it back. This is why centred all-caps always looks a hair
      left even when the maths says it is centred.
   2. THE MASTHEAD IS LIGHTER THAN THE LEDGE. Equal ink over a longer line reads
      as more ink: the full-width rule at .35 alpha was out-weighing the 132px
      ledge below it, which inverts the order — the head is metadata, the ledge
      closes the reading. .22 restores it.
   3. THE LEDGE RELATES TO WHAT IT CLOSES. 132px against an 82px mark column was
      a rule sized to the card; 104px is sized to the block it sits under.
   4. THE LABEL STOPS OUT-SIZING THE SUBJECT. "THE BIRTH READING" was 11px while
      the six marks — the actual content — were 10px. A label larger than its
      subject is a hierarchy inversion; 9.5px puts it back under them. */
.m2bface__marks li { text-indent: .075em; }
.m2bface .m2face-orient { text-indent: .08em; }
.m2bface .m2bface__headrule { background: rgba(28, 21, 13, .22); }
.m2bface .m2bface__wall--bot .m2face-div { max-width: 104px; }
.m2bface .m2face-meta { font-size: 9.5px; letter-spacing: .14em; }
.m2bface .m2face-glyph { font-size: 11px; }
.m2bface .m2face-orient { color: var(--bf-meta); }
/* ── BR-S347 — MATERIALS, NOT COLOURS. ───────────────────────────────────────
   BR-S346 gave the six marks six hues spread across the wheel at roughly equal
   saturation, and the builder's read was exact: pride rainbow, fleecy, the wrong
   product entirely. This wants serious, ancient, set in space.
   THE FAULT WAS HUE SPREAD, NOT BRIGHTNESS. Six saturated hues at one value always
   reads as a spectrum — a set, a chart, a flag — because the eye takes the RANGE as
   the message. Muting all six equally would only have produced a dull rainbow.
   So they stop being colours and become MATERIALS: pigments and metals an old plate
   would actually be marked in, ordered as an assay rather than a palette.
     sun sign    gold leaf   the one bright note in the set
     year animal cinnabar    red earth, the oldest pigment here
     life path   iron gall   the ink numbers were written in
     rune        stone       lichen on cut rock, barely a colour
     trigram     verdigris   aged copper
     hexagram    ash         the palest, nearly neutral
   The chroma ceiling is the whole discipline: only the first two carry real warmth
   and the rest sit near-neutral, so VALUE does the separating and hue only whispers.
   That is also where the crisp part comes from — one bright mark among five
   restrained ones lands, where six bright marks cancel each other out.
   TUNED FOR PARCHMENT FIRST, because parchment is the shipped deck: these are the
   DARK forms, all above 4.5:1 on the cream stock. The dark register keeps its own
   lighter set, since a colour that reads on cream disappears on ink. */
/* BR-S357: the marks moved below the name, so the `margin-top: auto` that used to push
   THEM off the header moves to the name (below). The four-part group name -> marks ->
   rule -> orient now travels as one block, which is what lets the auto space sit above
   it and the orient's own `0 0 auto` sit below it. */
/* BR-S358: SIX ENTRIES, NOT SIX STRIPES. At 5px apart the marks bundled into one block
   and the block is what read as a flag — the eye never got to a single mark, it got a
   band of colour. 12px apart, a size up, and each one stands alone; the hues stop being
   a pattern and go back to being six materials. Solitude is bought with space here, not
   with furniture: no rules, no numerals, and the stack keeps the card's centre axis. */
.m2bface__marks {
  list-style: none; margin: 26px 0 0; padding: 0;   /* BR-S361: 16 -> 26, see .m2bface__name */
  display: grid; gap: 12px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase; color: var(--bf-meta);
}
.m2bface__marks li:nth-child(1) { color: var(--mk-sun); }
.m2bface__marks li:nth-child(2) { color: var(--mk-animal); }
.m2bface__marks li:nth-child(3) { color: var(--mk-path); }
.m2bface__marks li:nth-child(4) { color: var(--mk-rune); }
.m2bface__marks li:nth-child(5) { color: var(--mk-trigram); }
.m2bface__marks li:nth-child(6) { color: var(--mk-hex); }
                                                                     
.m2hero {
  --mk-sun: #c6a466; --mk-animal: #ad7962; --mk-path: #78838f;
  --mk-rune: #8a9184; --mk-trigram: #6e918d; --mk-hex: #9c968c;
}
/* parchment — the shipped deck. BR-S358 pushes the six from TINT to PIGMENT: same six
   hues, same identities, but laid down solid instead of washed. The builder's read was
   that the colours were "not defined solid enough" and so read as a flag — a tint is a
   wash of colour, and six washes side by side are a spectrum; six pigments are six
   materials. Every one goes DARKER, so the whole set gains contrast rather than
   spending it: the floor rises 5.03:1 -> 6.09:1 on #e7e2d7, comfortably past the 4.5
   this small text owes. (The old note here warned that #8a682c measures 3.97 and fails
   — going deeper never has that problem, which is why this direction was the safe one.) */
html.m2-parch .m2hero {
  --mk-sun: #6b4c14; --mk-animal: #74402c; --mk-path: #313d4c;
  --mk-rune: #465241; --mk-trigram: #315854; --mk-hex: #514c44;
}
/* BR-S360: the name carries the upper auto margin again — with the rule gone to the
   masthead there is no pair left to keep together, so the wrapper the rule needed
   (BR-S359) went with it. The bottom wall stays: its rule and its line still travel
   as one. */
/* BR-S361: the name separates from the marks by MASS, not by another line — the card
   already carries two rules and a third would be furniture. At 25px against 10px marks
   the size contrast does the work a rule would have done, and the name gains the
   gravity of the thing the six assemble into rather than being the same weight as
   them, six lines higher. The air below it moves 16 -> 26 to match.
   Scoped to the birth face: `.m2face-name` stays 20px for the tarot face, which sets
   real card names and has an `.is-long` step-down this static string never needs. */
.m2bface__name { color: var(--bf-ink); margin: auto 0 0; font-size: 25px; }

/* the face control — two answers to one question, in the panel's quiet register */
.m2flip { display: inline-flex; gap: 2px; margin-top: 10px; padding: 3px; border: 1px solid var(--line-faint, rgba(233,229,220,.12)); border-radius: 999px; }
.m2flip__opt {
  background: none; border: 0; border-radius: 999px; cursor: pointer; padding: 7px 16px; min-height: 34px;
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--t-ghost); transition: color 160ms var(--ease-settle), background 160ms var(--ease-settle);
}
.m2flip__opt:hover { color: var(--t-display); }
.m2flip__opt.is-on { color: var(--t-display); background: rgba(233, 229, 220, .06); }
.m2flip__opt:focus-visible { outline: 1px solid rgba(233, 229, 220, .38); outline-offset: 2px; }
/* the birth act takes the same seat as "Pull another" so the column never resizes */
/* BR-S343: `.menu__draw-pull--birth` is deleted with the "Set your marks" link it
   dressed. The birth face has no act under it — the card demonstrates, the door in
   the left column sells.
   BR-S346: which is exactly why the seat has to be RESERVED. The stage is a centred
   column, so an empty act on one face and a button on the other moved the card 24px
   between them. The row holds the button's own height whether or not it is showing;
   38px is the measured height of `.menu__draw-pull` (9px padding + its 20px line box). */
.menu__draw-act { min-height: 38px; display: flex; align-items: center; justify-content: center; }
/* both acts state their own hidden. `display:inline-flex` above beats the UA's
   [hidden] rule, and the button is now served hidden too — one of these two is always
   the wrong one to show, and neither may win by accident. */
.menu__draw-pull[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .m2hero.is-turning { animation: none; }
  .m2flip__opt { transition: none; }
}

.menu__draw-placard { margin-top: 4px; font-family: var(--font-display); font-style: italic; font-size: 12px; letter-spacing: .01em; color: var(--t-meta); text-decoration: none; transition: color 160ms var(--ease-settle); }
.menu__draw-placard:hover, .menu__draw-placard:focus-visible { color: var(--t-display); outline: none; }
.menu__draw-placard-mark { color: #c8ad70; opacity: .8; font-style: normal; margin-right: 3px; }

.menu__draw-ctrl { grid-area: ctrl; display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 2; }
.menu__draw-cutline { display: block; width: 100%; max-width: 360px; height: 1px; background: linear-gradient(90deg, #c8ad70, #a2864a); opacity: .55; margin: 2px 0; }
.menu__draw-doors { display: grid; gap: 12px; width: 100%; max-width: 360px; }
/* BR-S326: .menu__door--pull's rule removed with the door it patched. It was never
   dead weight — it was the symptom of the link-colour leak now fixed on .menu__door
   itself, treated once at one element instead of at the class. */
.menu__door--birth { position: relative; }
.menu__draw-hit { position: absolute; inset: 0; z-index: 0; border-radius: 8px; }
/* BR-S328: was `:hover:not(:has(.menu__draw-aside:hover))`. The guard existed only
   because a second destination lived inside this tile; the Concord is its own line
   now, so the door can simply answer to its own hover like every other door. */
.menu__door--birth:hover { border-color: var(--silver); }
/* BR-S328: the `:has(.menu__draw-aside:hover)` suppression is deleted with the nesting
   it defended. It existed to stop the tile lighting while a click would land on a
   different destination inside it — there is no second destination inside it now. */
.menu__door--birth .menu__door-kicker { color: #c8ad70; opacity: .82; display: inline-flex; align-items: center; gap: 6px; }
/* BR-S449 — the tarot kicker takes the SAME layout as birth's so the two mark slots sit
   on one line, and keeps its own ink colour: same shape, different material. */
.menu__door--tarot .menu__door-kicker { display: inline-flex; align-items: center; gap: 6px; }
.menu__draw-crown { width: 15px; height: auto; display: inline-block; }
/* ── BR-S328 — THE SPINE LIGHTS WITH ITS DOOR. ───────────────────────────────
   The spine is the row of marks a reading is actually made of — SUN SIGN · YEAR
   ANIMAL · … and THE GROUND · THE CROSSING · … — and at --t-meta it read as filing
   detail rather than as the contents of the thing you are about to buy. Hovering the
   door now brings it up a step, so pointing at a door shows you what is inside it.
   One property, one step, 160ms: the same restraint as the card's pair-hover. Focus
   gets it too, or a keyboard reader would be the only one never shown the inside. */
.menu__draw-spine { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--t-meta); line-height: 1.5; margin-top: 2px; transition: color 160ms var(--ease-settle); }
.menu__door:hover .menu__draw-spine,
.menu__door:focus-within .menu__draw-spine { color: var(--silver); }
/* BR-S342: `.menu__draw-aside` is deleted with the Concord line it dressed. The
   Concord now lives only where it is an answer to a question being asked — the
   intake's for-whom row (BR-S335). Nothing else on M2 used this class. */
.menu__draw-tiers { display: block; font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em; color: var(--t-meta); text-decoration: none; line-height: 1.6; transition: color 160ms var(--ease-settle); max-width: 360px; }
.menu__draw-tiers:hover, .menu__draw-tiers:focus-visible { color: var(--t-display); outline: none; }
.menu__draw-kept { color: #8a6fb0; font-style: normal; }   /* the one violet in the room — canon literal, NEVER var(--violet) */
.menu__draw-rail { display: flex; gap: 10px; flex-wrap: wrap; }
.menu__draw-rail .menu__codex { margin-top: 0; align-self: auto; }
/* BR-S411 — THE RAIL'S PILLS COME DOWN A STEP. With the seal line cut above them these
   three were the heaviest thing left in the column, and they are the column's least
   important: two utility links and one door, sitting under the two real products. The
   shape is untouched — the builder kept the round ones — only the scale. 10px/.16em/
   8-16 -> 9.5px/.14em/6-13, which is ~18% less area each and closes the stack by 12px
   without moving anything. */
.menu__draw-rail .menu__codex { padding: 6px 13px; font-size: 9.5px; letter-spacing: 0.14em; gap: 7px; }
.menu__draw-rail .menu__codex__mark { font-size: 9px; }
.menu__draw-rail .menu__codex__mark { color: var(--silver-dim); }   /* kill the app-wide violet mark drift */
.menu__draw-foot { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--t-meta); margin-top: 4px; line-height: 1.7; }
.menu__draw-cuttick { display: inline-block; width: 20px; height: 1px; vertical-align: middle; margin-right: 7px; background: linear-gradient(90deg, #c8ad70, #a2864a); opacity: .55; }
/* BR-S271: .menu__draw-credo deleted with its span — it set the colour the parent already had. */
.menu__draw-wm { position: absolute; left: -34px; top: 50%; transform: translateY(-50%); width: 360px; max-width: 42vw; opacity: .05; pointer-events: none; z-index: 0; }
.menu__draw-wm svg { width: 100%; height: auto; display: block; }

/* motion — one-shot turn (explicit from->to so remounts render settled) + one 9s breath */
@keyframes m2-turn { from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(8px); } to { opacity: 1; clip-path: inset(0 0 0 0); transform: translateY(0); } }
@keyframes m2-back-fade { from { opacity: 1; } to { opacity: .12; } }
@keyframes m2-breath { 0%, 100% { opacity: .5; } 50% { opacity: .9; } }
@media (prefers-reduced-motion: no-preference) {
  /* BR-S271: 1.4s -> 0.6s. The turn now starts AFTER the 640ms travel instead of under it,
     so the old duration left 760ms of animation still running past arrival — a 1.45s smear
     from press to settled. Two clean beats at 0.6s: the slide lands, then the card turns. */
  .m2hero--turn .m2hero__face,
  .m2hero--turn .m2hero__name { animation: m2-turn .6s cubic-bezier(.2, .7, .2, 1) both; }
  .m2hero--turn .m2hero__back { animation: m2-back-fade .6s cubic-bezier(.2, .7, .2, 1) both; }
  .m2pip-glow { animation: m2-breath 9s ease-in-out infinite; }
}

/* responsive — collapse at M1's breakpoint to a single LEFT-anchored column */
@media (max-width: 1199px) {
  /* the acts FIRST when the columns collapse: "head" is the card's read, and stacking it
     on top put a paragraph of tarot vocabulary above the room's own name and both doors —
     the storefront's title and offer arriving 1.3 screens down on a phone. */
  .menu__draw { width: 100%; max-width: 520px; grid-template-columns: 1fr; grid-template-areas: "ctrl" "stage" "head"; grid-template-rows: none; column-gap: 0; row-gap: 20px; justify-items: start; text-align: left; }
  .menu__draw-stage { align-self: auto; align-items: flex-start; }
  .menu__draw-herosub { text-align: left; }
  .m2hero { height: auto; width: min(72vw, 300px); }
  .menu__draw-cutline, .menu__draw-doors, .menu__draw-tiers { max-width: 100%; }
  .menu__draw-wm { display: none; }
}
.menu__wall-eyebrow { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--faint); }
.menu__wall-eyemark { color: var(--silver-dim); }
/* BR-S345: `.menu__wall-trust` deleted with the line it dressed — grep-confirmed
   it was used in exactly one place. */

/* ── BR-S204: the Shelf threshold (slide 3) — a conservation niche in the
   wall-plaque double-rule register. Sealed (locked) by default, lit when opened.
   Colour law: gold/neutral throughout; violet ONLY on the open --enter door. */
.menu__reliq { position:relative;z-index:1;width:min(960px,88vw);display:flex;flex-direction:column;align-items:stretch;text-align:left;gap:20px; }
.menu__reliq-navback { display:none; }
.menu__reliq-eyebrow { display:flex;align-items:center;gap:10px;margin:0;font:10px/1.5 var(--font-mono);letter-spacing:.22em;color:#a29b8c; }
.menu__reliq-eyemark { color:#bcaa7e;font-size:8px; }
.menu__reliq-index { margin-left:auto;color:#837d72;font-size:9px;letter-spacing:.2em; }
.menu__reliq-niche { position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;gap:24px;padding:clamp(30px,4vw,58px);border:1px solid rgba(211,193,153,.18);border-radius:5px;background:radial-gradient(ellipse at 82% 45%,rgba(173,138,72,.08),transparent 65%),linear-gradient(125deg,#171712,#0d0f0f 76%);box-shadow:0 30px 80px -45px #000,inset 0 1px rgba(237,224,193,.04); }
.menu__reliq-niche::before { content:"";position:absolute;inset:7px;border:1px solid rgba(211,193,153,.06);border-radius:2px;pointer-events:none; }
.menu__reliq-copy { position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;min-width:0; }
.menu__reliq-caption { margin:0 0 17px;font:10px/1.5 var(--font-mono);letter-spacing:.15em;text-transform:uppercase;color:#b0a17f; }
.menu__reliq-title { margin:0;font:500 clamp(40px,4.4vw,62px)/.98 var(--font-display);letter-spacing:-.025em;color:#e7e1d4; }
.menu__reliq-title:focus { outline:none; }
.menu__reliq-rule { width:48px;height:1px;background:#7c6b48;margin:25px 0 22px; }
.menu__reliq-line { margin:0;max-width:29ch;font:500 clamp(19px,1.7vw,24px)/1.45 var(--font-display);color:#c8c1b3; }
.menu__reliq-how { max-width:36ch;margin:15px 0 0;font:12px/1.7 var(--font-ui);letter-spacing:.01em;color:#99958c; }
.menu__reliq-door { margin-top:28px;display:inline-flex;align-items:center;justify-content:space-between;gap:28px;min-height:48px;max-width:100%;padding:13px 18px;border:1px solid #6e6654;border-radius:3px;background:linear-gradient(180deg,rgba(222,209,180,.06),rgba(222,209,180,.015));font:500 10px/1.5 var(--font-mono);letter-spacing:.11em;text-transform:uppercase;color:#ded7ca;text-decoration:none;transition:border-color 160ms ease,background 160ms ease; }
.menu__reliq-door span { font-size:18px;line-height:1;color:#b3a27d; }
.menu__reliq-door:hover { border-color:#b4a381;background-color:rgba(222,209,180,.05); }
.menu__reliq-door:focus-visible { outline:2px solid #c0a05d;outline-offset:5px; }
.menu__reliq-door--enter { border-color:#65566d; }
.menu__reliq-door--enter:hover { border-color:#9c84b0; }
.menu__reliq-object { position:relative;width:min(100%,330px);height:330px;justify-self:center;perspective:800px; }
.menu__reliq-object::before { content:"";position:absolute;inset:20% -10% -7%;background:radial-gradient(ellipse,rgba(182,148,80,.085),transparent 66%); }
.menu__reliq-volume { position:absolute;bottom:34px;width:124px;height:219px;border:1px solid #514837;border-radius:3px;background:linear-gradient(110deg,#201f19,#121411);box-shadow:inset 6px 0 rgba(0,0,0,.2),inset 9px 0 rgba(198,179,135,.05); }
.menu__reliq-volume--back { right:19px;transform:rotate(9deg); }
.menu__reliq-volume--mid { left:23px;bottom:32px;height:238px;transform:rotate(-8deg);border-color:#62553c; }
.menu__reliq-folio { position:absolute;left:50%;bottom:26px;transform:translateX(-50%) rotate(-2deg);width:172px;height:275px;display:flex;flex-direction:column;align-items:center;text-align:center;padding:22px 16px;border:1px solid #95805a;border-radius:4px;background:linear-gradient(115deg,#303025,#1d201a 53%,#161914);box-shadow:10px 16px 24px -10px #000, inset 5px 0 rgba(0,0,0,.3); }
.menu__reliq-folio::before { content:"";position:absolute;inset:8px;border:1px solid rgba(205,179,121,.16);pointer-events:none; }
.menu__reliq-folio-head,.menu__reliq-folio-foot { font:8px/1.5 var(--font-mono);letter-spacing:.18em;text-transform:uppercase;color:#b4a27b; }
.menu__reliq-folio-head { width:100%;padding-bottom:11px;border-bottom:1px solid #514b37; }
.menu__reliq-emblem { display:block;color:#a29575;margin:26px 0 12px; }
.menu__reliq-emblem--lit { color:#d0b574;filter:drop-shadow(0 1px 5px #bba16e22); }
.menu__reliq-emblem-svg { width:43px;height:auto;display:block; }
.menu__reliq-folio-title { font:500 23px/1.04 var(--font-display);color:#d0c3a5; }
.menu__reliq-folio-foot { margin-top:auto;font-size:6.5px;letter-spacing:.1em; }
.menu__reliq-plinth { position:absolute;bottom:8px;left:0;right:0;height:13px;border-top:1px solid #81704f;border-bottom:1px solid #322d23;background:linear-gradient(#343026,#171914);box-shadow:0 12px 18px -6px #000; }
.menu__reliq--sealed .menu__reliq-object { filter:saturate(.55); }
.menu__reliq-foot { display:flex;justify-content:space-between;gap:14px;margin:0;font:9px/1.6 var(--font-mono);letter-spacing:.17em;text-transform:uppercase;color:#999181; }
@media(max-width:700px){
 .menu__panel--reliquary{align-items:flex-start;padding:24px 16px 100px}
 .menu__reliq{width:100%;max-width:460px;gap:14px;padding:0}
 .menu__reliq-niche{grid-template-columns:1fr;gap:25px;padding:26px 22px}
 .menu__reliq-title{font-size:42px}.menu__reliq-line{font-size:20px;max-width:29ch}.menu__reliq-how{font-size:12px}
 .menu__reliq-rule{margin:20px 0 18px}.menu__reliq-title,.menu__reliq-door{scroll-margin-block:100px}
 .menu__reliq-object{height:175px;width:230px;grid-row:2;overflow:hidden}
 .menu__reliq-folio{width:112px;height:159px;bottom:11px;padding:14px 11px;transform:translateX(-50%) rotate(-2deg)}
 .menu__reliq-folio-head{font-size:6px;padding-bottom:6px}.menu__reliq-emblem{margin:10px 0 7px}.menu__reliq-emblem-svg{width:26px}.menu__reliq-folio-title{font-size:16px}.menu__reliq-folio-foot{display:none}
 .menu__reliq-volume{height:125px;width:89px;bottom:16px}.menu__reliq-volume--mid{height:137px;left:35px;bottom:13px}.menu__reliq-volume--back{right:32px}.menu__reliq-plinth{height:8px;bottom:0}
 .menu__reliq-door{width:100%;margin-top:24px}.menu__reliq-foot{font-size:8px;letter-spacing:.1em}.menu__reliq-index{font-size:8px}
}
@media(prefers-reduced-motion:reduce){.menu__reliq-door{transition:none}}
/* BR-S230 — M3 preview toggle: a quiet dev switch to view the sealed no-account
   teaser vs the actual profile. Mono ghost register; the active side lifts to display. */
.menu__reliq-preview { display: inline-flex; align-items: center; gap: 9px; margin-top: 4px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; }
.menu__reliq-preview-tag { color: var(--faint); }
.menu__reliq-preview-sep { color: var(--line-strong); }
.menu__reliq-previewbtn { background: none; border: 0; padding: 4px 6px; cursor: pointer; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--t-meta); border-bottom: 1px solid transparent; transition: color 160ms ease, border-color 160ms ease; }
.menu__reliq-previewbtn:hover, .menu__reliq-previewbtn:focus-visible { color: var(--t-display); outline: none; }
.menu__reliq-previewbtn.is-on { color: var(--t-display); border-bottom-color: var(--silver-dim); }

/* route-chrome partition: desktop = arrows only, mobile = text routes only */
.menu__codex--rooms { display: none; }
.menu__wall-back { display: none; }
@media (max-width: 1199px) {
  .menu__go { display: none; }
  .menu__codex--rooms { display: inline-flex; }   /* BR-S271: background/cursor moved to the base rule — they were never narrow-only */
  .menu__wall-back, .menu__reliq-navback { display: inline-block; background: none; border: 0; cursor: pointer; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--t-meta); padding: 6px 10px; }   /* BR-S204: reliquary text-back mirrors the wall's (edge arrows are hidden here) */
  .menu__wall-back:hover, .menu__reliq-navback:hover { color: var(--t-display); }
}

                                                               
                                                         
                                                                     
                                                                    
                                                           
                                                               
.ba { max-width: 1180px; margin: 0 auto; padding: 40px 28px 56px; display: grid; gap: 30px; justify-items: center; }
.ba__head { display: grid; gap: 8px; justify-items: center; text-align: center; }
.ba__mark { font-family: var(--font-ui); font-size: 13px; font-weight: 600; letter-spacing: 0.3em; color: var(--silver-dim); }
.ba__thesis { font-family: var(--font-display); font-size: 18px; line-height: 1.4; color: var(--t-primary); }
.ba__line { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--t-meta); }
.ba__stage { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 26px; width: 100%; }
.ba__before { display: grid; gap: 9px; justify-items: center; margin: 0; }
.ba__before .ba__img {
  width: 100%; max-width: 430px; aspect-ratio: 4 / 5; object-fit: cover; object-position: var(--pos, 50% 50%);
  border: 1px solid var(--line); border-radius: var(--r-plate); filter: saturate(0.92);
}
.ba__after { display: grid; gap: 11px; justify-items: center; }
.ba__after .card { width: 100%; max-width: 430px; }
.ba__tag { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); }
.ba__seam { display: grid; justify-items: center; gap: 4px; }
.ba__arrow { font-size: 26px; color: var(--silver-dim); line-height: 1; }
.ba__verb { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--t-meta); }
.ba__foot { display: grid; gap: 6px; justify-items: center; text-align: center; }
.ba__id { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--t-display); }
.ba__serial { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--silver-dim); }
.ba__honest { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.1em; color: var(--faint); }

                                                               
                                                                 
                                                               
                                                                       
                                                                     
                                         
                                                               
.rmap { max-width: 1060px; margin: 0 auto; padding: 44px 32px 64px; display: grid; gap: 30px; }
.rmap__head { display: grid; gap: 11px; justify-items: start; }
.rmap__devtag { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--moss-bright); border: 1px solid color-mix(in srgb, var(--moss-bright) 38%, var(--line)); border-radius: 999px; padding: 5px 12px; }
.rmap__title { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--t-display); }
.rmap__note { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.03em; line-height: 1.6; color: var(--t-meta); max-width: 640px; }
.rmap__group { display: grid; gap: 12px; }
.rmap__kind { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--silver-dim); border-bottom: 1px solid var(--line-faint); padding-bottom: 6px; }
.rmap__cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.rmap__card { display: grid; gap: 9px; align-content: start; padding: 16px 17px; border: 1px solid var(--line); border-left: 2px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, 0.018); text-decoration: none; transition: border-color 150ms ease, background 150ms ease, transform 150ms ease; }
.rmap__card:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.045); transform: translateY(-1px); }
.rmap__cardtop { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rmap__name { font-family: var(--font-ui); font-size: 14px; font-weight: 600; color: var(--silver-bright); }
.rmap__badge { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.16em; text-transform: uppercase; padding: 3px 7px; border-radius: 4px; border: 1px solid var(--line); color: var(--t-meta); white-space: nowrap; }
.rmap__badge--real { color: var(--silver-dim); border-color: color-mix(in srgb, var(--silver-dim) 45%, var(--line)); }
.rmap__badge--share { color: var(--moss-bright); border-color: color-mix(in srgb, var(--moss-bright) 45%, var(--line)); }
.rmap__desc { font-family: var(--font-display); font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.rmap__cardfoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 2px; }
.rmap__route { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.02em; color: var(--t-meta); background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line-faint); border-radius: 4px; padding: 3px 7px; }
.rmap__open { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--silver-dim); white-space: nowrap; }
.rmap__card:hover .rmap__open { color: var(--silver-bright); }
.rmap__foot { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.04em; line-height: 1.7; color: var(--faint); border-top: 1px solid var(--line-faint); padding-top: 14px; }
.rmap__foot b { color: var(--silver-dim); font-weight: 600; }
.rmap__card--real { border-left-color: var(--silver-dim); }
.rmap__card--share { border-left-color: var(--moss-bright); }
.rmap__card--mock, .rmap__card--harness { border-left-color: var(--line-strong); }
@media (max-width: 900px) {
  .ba__stage { grid-template-columns: 1fr; gap: 14px; }
  .ba__seam { transform: rotate(90deg); }
}

.hint__back {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; color: var(--silver-dim);
  background: none; border: 0; padding: 0; margin-right: 12px; cursor: pointer;
}
.hint__back:hover { color: var(--silver); }

/* =============================================================
   Local Draft intake (front-door view #3) — a browser-local photo
   entering the room. The draft card is the only object here with
   material depth (Artifact law); it is explicitly LOCAL DRAFT and
   never a Free/Halo tier. No stats, no receipts — nothing scored.
============================================================= */

.draft {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 34px 24px;
}
.draft__inner { width: 100%; max-width: 560px; display: grid; justify-items: center; gap: 20px; text-align: center; }
.draft__cue { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--faint); }

.draftcard { width: 320px; max-width: 100%; }
.draftcard__plate {
  position: relative; display: grid; gap: 13px;
  padding: 18px; border-radius: var(--card-radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
  box-shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.draftcard__head { display: flex; align-items: center; justify-content: space-between; }
.draftcard__house { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.2em; color: var(--silver-dim); }
.draftcard__state {
  font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.22em; color: var(--t-meta);
  padding: 2px 8px; border: 1px dashed var(--line); border-radius: 999px;
}
.draftcard__photo {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--r-plate); border: 1px solid var(--line); background: var(--ink-950);
}
.draftcard__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; }
.draftcard__photo.img-missing .draftcard__img { display: none; }
.draftcard__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8, 7, 5, 0.5)); pointer-events: none; }
.draftcard__stamp {
  position: absolute; left: 9px; bottom: 9px;
  font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.18em; color: var(--silver);
  background: rgba(8, 7, 5, 0.72); border: 1px solid var(--line); border-radius: 3px; padding: 3px 7px;
}
.draftcard__body { display: grid; gap: 7px; justify-items: center; }
.draftcard__title { font-family: var(--font-display); font-size: 19px; font-weight: 600; line-height: 1.15; color: var(--t-display); }
.draftcard__file { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; color: var(--t-meta); word-break: break-all; max-width: 100%; }
.draftcard__status { font-family: var(--font-display); font-style: italic; font-size: 15px; line-height: 1.4; color: var(--t-primary); margin-top: 1px; }
.draftcard__sub { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.draftcard__archline { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; }
.draftcard__archrule { height: 1px; flex: 1; max-width: 56px; background: var(--line); }
.draftcard__arch { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.2em; color: var(--silver-dim); white-space: nowrap; }.draftcard__strip { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line-faint); padding-top: 11px; }
.draftcard__stripstate { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.2em; color: var(--silver-dim); border: 1px dashed var(--line); border-radius: 3px; padding: 3px 7px; }
.draftcard__stripmeta { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.14em; color: var(--faint); }

.draftinfo { display: grid; gap: 7px; max-width: 460px; }
.draftinfo__line { font-family: var(--font-display); font-size: 15px; line-height: 1.45; color: var(--t-primary); }
.draftinfo__sub { font-size: 11.5px; line-height: 1.5; color: var(--t-meta); }.draftinfo__warn { color: var(--moss-bright); }

.draft__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }
.draft__sample, .draft__back {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--t-meta);
  padding: 11px 18px; border: 1px solid var(--line); border-radius: 6px; background: none; cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease;
}
.draft__sample:hover, .draft__back:hover { border-color: var(--line-strong); color: var(--silver); }
.draft__back { border-style: dashed; }

                                                                                 
                                                                               
.proto { width: min(1180px, 94vw); margin: 0 auto; display: grid; gap: 30px; padding: 40px 0 80px; }
.proto__head { display: grid; gap: 8px; justify-items: center; text-align: center; }
.proto__devtag { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--moss-bright); border: 1px dashed var(--line); border-radius: 999px; padding: 4px 12px; }
.proto__title { font-family: var(--font-display); font-size: 22px; color: var(--t-display); }
.proto__note { font-size: 12px; line-height: 1.5; color: var(--t-meta); max-width: 660px; }
.proto__row { display: grid; gap: 14px; border-top: 1px solid var(--line-faint); padding-top: 26px; }
.proto__rowhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.proto__name { font-family: var(--font-display); font-size: 16px; color: var(--t-primary); }
.proto__file { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.proto__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; justify-items: center; }
.proto__cell { display: grid; gap: 10px; justify-items: center; }
.proto__state { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--silver-dim); }
.proto__card { zoom: 0.72; }
.proto__foot { display: flex; gap: 12px; justify-content: center; padding-top: 18px; }
@media (max-width: 720px) { .proto__pair { grid-template-columns: 1fr; } }

/* Build-Local-Card CTA on the local-draft intake — the quiet filing step (BR-S092). */
.draft__develop { display: grid; justify-items: center; gap: 7px; margin-top: 2px; }
.draft__developsub { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }

/* ---------- LOCAL FRONT CARD (BR-S092) — the filed local card ----------
   A filed sibling of the draft card: same plate grammar, marked as FILED by a
   firmer frame plus an archival id/timestamp and a compact safe-facts ledger.
   Reading-free — it surfaces container facts only, never a scan reading. */
.draftcard--local .draftcard__plate {
  border-color: var(--line-strong);
  box-shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.lcard__id {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--silver);
  border: 1px dashed var(--line); border-radius: 4px; padding: 4px 10px; word-break: break-all; max-width: 100%;
}
.lcard__filed { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--t-meta); }
.lcard__prov { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.lcard__facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; width: 100%;
  border-top: 1px solid var(--line-faint); border-bottom: 1px solid var(--line-faint);
  padding: 9px 0; margin-top: 1px;
}
.lcard__fact { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.lcard__factk { font-family: var(--font-mono); font-size: 7.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.lcard__factv { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.04em; color: var(--t-meta); text-align: right; word-break: break-word; }
.lcard__back { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.03em; line-height: 1.4; color: var(--faint); margin-top: 1px; }

/* Scan Development Gate — a sealed development step for a staged local
   draft. A locked chamber, not a SaaS modal: flat plate, static ledger,
   disabled run button. Nothing here implies that processing happened. */
.gate { width: 100%; max-width: 520px; display: grid; justify-items: center; gap: 18px; text-align: center; }
.gatepanel {
  width: 100%; display: grid; gap: 14px; padding: 22px 22px 20px;
  border: 1px solid var(--line); border-radius: var(--r-plate);
  background: linear-gradient(180deg, var(--ink-850), var(--ink-900));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.gatepanel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gatepanel__title { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--silver); }
.gatepanel__tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--t-meta);
  padding: 3px 10px; border: 1px dashed var(--line); border-radius: 999px; white-space: nowrap;
}
.gatepanel__dot { width: 5px; height: 5px; border-radius: 999px; background: var(--t-meta); box-shadow: 0 0 0 2px rgba(148, 143, 135, 0.12); }
.gatepanel__staged {
  position: relative; width: 116px; justify-self: center; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--r-plate); border: 1px solid var(--line); background: var(--ink-950);
}
.gatepanel__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; filter: grayscale(0.25) brightness(0.6); }
.gatepanel__staged.img-missing .gatepanel__img { display: none; }
.gatepanel__sealed {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 7px;
  font-family: var(--font-mono); font-size: 7px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--silver-dim);
  background: linear-gradient(180deg, rgba(8, 7, 5, 0.1), rgba(8, 7, 5, 0.55));
}
.gatepanel__lead { font-family: var(--font-display); font-size: 15px; line-height: 1.45; color: var(--t-primary); }
.gatecheck {
  list-style: none; display: grid; gap: 6px; justify-items: start; max-width: 250px; margin: 0 auto; padding: 12px 0;
  border-top: 1px solid var(--line-faint); border-bottom: 1px solid var(--line-faint);
}
.gatecheck li { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.03em; color: var(--t-meta); padding-left: 18px; position: relative; }
.gatecheck li::before { content: "—"; position: absolute; left: 0; color: var(--t-ghost); }
.gatepanel__foot { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.gatepanel__pending { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--silver); }
.gatepanel__run {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--t-ghost);
  padding: 9px 16px; border: 1px dashed var(--line); border-radius: 6px; background: none; cursor: not-allowed;
}
.gatepanel__ready { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.gateactions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Safe blocked / failure state — calm and archival, never an alarm. Same
   sealed-plate grammar as the gate; errors listed as a quiet ledger. */
.gatepanel--blocked { border-color: var(--line); }
.gatepanel__dot--block { background: var(--moss-bright); }
.gateblock__errs {
  list-style: none; display: grid; gap: 5px; justify-items: start; text-align: left;
  max-width: 380px; margin: 0 auto; padding: 12px 2px;
  border-top: 1px solid var(--line-faint); border-bottom: 1px solid var(--line-faint);
}
.gateblock__errs li {
  font-family: var(--font-mono); font-size: 9.5px; line-height: 1.45; color: var(--t-meta);
  padding-left: 16px; position: relative; word-break: break-word;
}
.gateblock__errs li::before { content: "▢"; position: absolute; left: 0; color: var(--t-ghost); }

                                                                                    
                                                                              
                                                                            
                                                                                 

                                                                                 
                                                                                   
                                                                                   
                                                                                 
                                                                                 
                                                                                 
                                                                                   
.vqr__svg { width: 100%; height: 100%; color: var(--silver-dim); display: block; transition: color 200ms ease; }

/* =============================================================
   DEV HARNESS — uploaded-scan-result renderer (dev route only).
   Deliberately reads as a debug surface, not a product card: a
   labelled banner + footer, plain plates, no material/halo treatment.
============================================================= */
.dev { min-height: 100vh; display: flex; align-items: flex-start; justify-content: center; padding: 30px 22px 44px; }
.uploadeddev { width: 100%; max-width: 620px; display: grid; gap: 14px; }
.uploadeddev__tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--moss-bright); text-align: center; padding: 9px 12px;
  border: 1px dashed color-mix(in srgb, var(--moss-bright) 50%, var(--line)); border-radius: var(--r-plate);
  background: color-mix(in srgb, var(--moss-bright) 6%, transparent);
}
.uploadeddev__tag--block { color: var(--silver-dim); border-color: var(--line); background: none; }
.uploadeddev__card {
  display: grid; gap: 7px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--card-radius);
  background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
}
.uploadeddev__cardhead { display: flex; align-items: center; justify-content: space-between; }
.uploadeddev__house { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.18em; color: var(--silver-dim); }
.uploadeddev__state { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.22em; color: var(--moss-bright); padding: 2px 8px; border: 1px dashed var(--line); border-radius: 999px; }
.uploadeddev__title { font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--t-display); line-height: 1.1; }
.uploadeddev__arch { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver-dim); }
.uploadeddev__file { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.06em; color: var(--t-meta); }
.uploadeddev__plate { display: grid; gap: 9px; padding: 14px 16px; border: 1px solid var(--line-faint); border-radius: var(--r-plate); background: rgba(255, 255, 255, 0.012); }
.uploadeddev__head { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--silver-dim); }
.uploadeddev__head--sub { margin-top: 4px; color: var(--t-meta); }
.uploadeddev__stats { display: flex; flex-wrap: wrap; gap: 8px; }
.uploadeddev__stat { display: grid; gap: 2px; min-width: 84px; padding: 8px 10px; border: 1px solid var(--line-faint); border-radius: var(--r-plate); }
.uploadeddev__statname { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--t-meta); }
.uploadeddev__statval { font-family: var(--font-mono); font-size: 14px; color: var(--t-display); }
.uploadeddev__cap { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.04em; color: var(--faint); }
.uploadeddev__read { font-size: 12.5px; line-height: 1.5; color: var(--t-body); }
.uploadeddev__read b { color: var(--silver-dim); font-weight: 600; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; }
.uploadeddev__read--oracle { font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--t-primary); }
.uploadeddev__receipt { display: grid; gap: 4px; padding: 9px 0; border-top: 1px solid var(--line-faint); }
.uploadeddev__receipt:first-of-type { border-top: 0; padding-top: 2px; }
.uploadeddev__rectop { display: flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; }
.uploadeddev__lens { color: var(--silver); text-transform: uppercase; letter-spacing: 0.16em; }
.uploadeddev__effect { color: var(--t-meta); }
.uploadeddev__conf { margin-left: auto; color: var(--faint); text-transform: uppercase; }
.uploadeddev__obs { font-size: 12px; line-height: 1.45; color: var(--t-body); }
.uploadeddev__rcue { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.04em; color: var(--faint); }
.uploadeddev__flags { display: flex; flex-wrap: wrap; gap: 6px; }
.uploadeddev__flag { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.06em; color: var(--t-meta); padding: 3px 7px; border: 1px solid var(--line-faint); border-radius: 999px; }
.uploadeddev__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; margin-top: 2px; }
.uploadeddev__meta div { display: flex; gap: 8px; }
.uploadeddev__meta dt { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); min-width: 78px; }
.uploadeddev__meta dd { font-family: var(--font-mono); font-size: 9px; color: var(--t-meta); }
.uploadeddev__foot { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); text-align: center; margin-top: 4px; }
.uploadeddev__sealed { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.06em; color: var(--t-meta); border: 1px dashed var(--line); border-radius: var(--r-plate); padding: 8px 11px; }

/* Card-logic v1 surfaces (dev simulation): tier bands, grounded receipts,
   scope line, sealed-stat / rarity / Reframe Map panels. Tokens only. */
.uploadeddev__scope { font-family: var(--font-display); font-style: italic; font-size: 13px; line-height: 1.45; color: var(--t-primary); text-align: center; padding: 2px 6px; }
.uploadeddev__tiers { display: grid; gap: 7px; }
.uploadeddev__tier { display: grid; grid-template-columns: 92px 84px 1fr; align-items: center; gap: 10px; }
.uploadeddev__tname { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--t-meta); }
.uploadeddev__tband { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; color: var(--silver-bright); }
.uploadeddev__tbar { font-family: var(--font-mono); font-size: 12px; letter-spacing: 2px; justify-self: start; }
.uploadeddev__tbon { color: var(--silver); }
.uploadeddev__tboff { color: var(--faint); }
.uploadeddev__ground { font-size: 12px; line-height: 1.5; color: var(--t-body); }
.uploadeddev__arrow { color: var(--silver-dim); padding: 0 3px; }
.uploadeddev__seallabel { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; row-gap: 5px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--silver-bright); }
.uploadeddev__sealreason { font-size: 8px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--t-meta); border: 1px solid var(--line-faint); border-radius: 999px; padding: 2px 7px; }
.uploadeddev__seallock { margin-left: auto; font-size: 8px; letter-spacing: 0.22em; color: var(--t-ghost); border: 1px dashed var(--line); border-radius: 3px; padding: 2px 7px; }
.uploadeddev__rarity { display: flex; align-items: center; gap: 10px; }
.uploadeddev__rband { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--silver-bright); }
.uploadeddev__rprint { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; color: var(--t-meta); border: 1px solid var(--line-faint); border-radius: 999px; padding: 2px 8px; }
.uploadeddev__why { margin: 0; padding-left: 16px; display: grid; gap: 3px; }
.uploadeddev__why li { font-size: 11.5px; line-height: 1.45; color: var(--t-meta); }
.uploadeddev__lever { display: grid; gap: 2px; padding: 9px 0; border-top: 1px solid var(--line-faint); }
.uploadeddev__levlabel { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--silver); }
.uploadeddev__levchange { font-size: 12px; line-height: 1.45; color: var(--t-body); }
.uploadeddev__leveffect { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.04em; color: var(--faint); }
.uploadeddev__setup { margin-top: 8px; }
.uploadeddev__setup ol { margin: 5px 0 0; padding-left: 18px; display: grid; gap: 3px; }
.uploadeddev__setup li { font-size: 11.5px; line-height: 1.4; color: var(--t-meta); }

/* Free Scan Simulation — cool "sim" accent + a STATIC stepper (no progress
   animation). Visually distinct from the moss dev-harness so the two dev
   routes never read alike. */
.uploadeddev__tag--sim { color: var(--cyan); border-color: color-mix(in srgb, var(--cyan) 45%, var(--line)); background: color-mix(in srgb, var(--cyan) 6%, transparent); }
.freesim__heading { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--silver-dim); text-align: center; }
.freesim__steps { list-style: none; display: grid; gap: 8px; padding: 2px 0; margin: 0; }
.freesim__step { display: flex; align-items: flex-start; gap: 11px; padding: 11px 13px; border: 1px solid var(--line-faint); border-radius: var(--r-plate); background: rgba(255, 255, 255, 0.012); }
.freesim__step--now { border-color: color-mix(in srgb, var(--cyan) 30%, var(--line)); }
.freesim__num { font-family: var(--font-mono); font-size: 10px; width: 20px; height: 20px; flex: none; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; color: var(--silver-dim); }
.freesim__body { display: grid; gap: 2px; }
.freesim__body b { font-size: 12px; color: var(--t-primary); font-weight: 600; }
.freesim__body span { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.04em; color: var(--t-meta); }
.freesim__body em { font-style: normal; color: var(--cyan); letter-spacing: 0.1em; }

                                                                
                                                
                                                                     
                                                                    
                                                                    
                                                                  
                                                                      
                                      
                                                                
/* full-width single column + auto margins override the shared .dev flex
   centering so the slab fills ~88vw (quiet 5–7% side margin), not content width */
.fpwrap { width: min(88vw, 1500px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }

/* slim persistent dev rail — keeps the labels without a giant block */
.fprail {
  display: flex; align-items: center; gap: 12px; padding: 7px 15px;
  border: 1px dashed color-mix(in srgb, var(--cyan) 45%, var(--line));
  border-radius: 999px; background: color-mix(in srgb, var(--cyan) 6%, transparent);
}
.fprail__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); flex: none; }
.fprail__txt { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan); }
.fprail__id { margin-left: auto; font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--t-meta); }

/* the artifact — a landscape graded slab; the only element with depth */
.fpcard {
  position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.82), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
/* sealed slab weld — a thin material seam down the split (Halo edge cue) */
.fpcard__weld {
  position: absolute; top: 0; bottom: 0; left: 52%; width: 1px; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--halo-a, var(--silver)) 55%, transparent), transparent);
}
.fpcard__grid { display: grid; grid-template-columns: 52% 48%; min-height: 470px; }

/* LEFT — image slab window (near-fullbleed; the image is the card) */
.fpcard__window {
  position: relative; overflow: hidden; isolation: isolate; background: var(--ink-850);
  --pos: 50% 50%; --zoom: 1; --scrim: 0.1; --b: 1; --c: 1; --s: 1;
}
.fpcard__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: var(--pos); transform: scale(var(--zoom)); transform-origin: var(--pos);
  filter: brightness(var(--b)) contrast(var(--c)) saturate(var(--s));
}
.fpcard__img.is-missing { display: none; }
.fpcard__window.img-missing { display: grid; place-items: center; }
.fpcard__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 9, 12, calc(var(--scrim) * 0.7)) 0%, transparent 30%, rgba(6, 9, 12, 0.16) 60%, rgba(6, 9, 12, 0.8) 100%);
}
/* the one restrained foil/shimmer accent (material-tinted) */
.fpcard__shimmer {
  position: absolute; inset: -20% -50%; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 44%, color-mix(in srgb, var(--halo-c, var(--silver)) 20%, transparent) 50%, transparent 56%);
}
.fpcard__hairline { position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, 0.06); pointer-events: none; }
.fpcard__edition {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--t-display); padding: 4px 8px; border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 3px; background: rgba(8, 10, 12, 0.5);
}
.fpcard__caption { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: grid; gap: 4px; }
.fpcard__title { font-family: var(--font-display); font-size: 30px; font-weight: 600; line-height: 1.04; color: var(--t-display); text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7); }
.fpcard__certid { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(226, 222, 213, 0.7); }

/* RIGHT — certification label / stat board (a flat plate, no depth) */
.fpcard__label { display: grid; align-content: start; gap: 14px; padding: 20px 22px; border-left: 1px solid var(--line-faint); }
.fpcard__labelhead { display: grid; gap: 3px; }
.fpcard__house { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--t-meta); }
.fpcard__arch { font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--t-primary); }
.fpcard__archsub { font-family: var(--font-mono); font-size: 7.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }

.fpcard__tiers { display: grid; gap: 9px; }
.fpcard__tier { display: grid; grid-template-columns: 92px 66px 1fr; align-items: center; gap: 12px; }
.fpcard__tname { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--t-meta); }
.fpcard__tband { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; color: var(--silver-bright); }
.fpcard__notches { display: flex; gap: 4px; }
.fpcard__notch { flex: 1; height: 7px; border-radius: 1px; border: 1px solid var(--line); background: transparent; }
.fpcard__notch.is-on { background: var(--silver); border-color: var(--silver); }

.fpcard__chips { display: grid; gap: 7px; }
.fpcard__chip {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px;
  padding: 8px 11px; border: 1px solid var(--line-faint);
  border-left: 2px solid var(--line-strong); border-radius: var(--r-plate); background: rgba(255, 255, 255, 0.012);
}
.fpcard__chipcue { font-size: 11px; line-height: 1.4; color: var(--t-primary); }
.fpcard__chiparrow { font-family: var(--font-mono); font-size: 11px; color: var(--silver-dim); }
.fpcard__chipeff { font-size: 11px; line-height: 1.4; color: var(--t-meta); }

/* sealed vault — "in conservation", not locked loot */
.fpcard__vault { display: grid; gap: 9px; padding: 13px 15px; border-radius: var(--r-plate); border: 1px dashed var(--line); background: rgba(8, 10, 12, 0.35); }
.fpcard__vaulthead { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--silver-dim); }
.fpcard__vaultmark { color: var(--silver-dim); }
.fpcard__vaulttag { margin-left: auto; font-size: 7.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); border: 1px solid var(--line-faint); border-radius: 999px; padding: 2px 8px; }.fpcard__vreason { font-size: 11px; line-height: 1.4; color: var(--t-meta); }
.fpcard__vsealed { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }

.fpcard__scope { font-family: var(--font-display); font-style: italic; font-size: 13px; line-height: 1.45; color: var(--t-body); }

/* calm Halo seal edge — part of the artifact edge, not a button stack */
.fpcard__halo { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line-faint); }
.fpcard__haloweld { width: 22px; height: 1px; flex: none; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--halo-a, var(--silver)) 70%, transparent)); }
.fpcard__halotext { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--silver-dim); }
.fpcard__halonote { margin-left: auto; font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }

.fpwrap__foot { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); text-align: center; }

                                                                
                                         
                                                                
                                                                      
                                                                   
                                                                 
                                                                            
                                                                
.halogate { width: min(88vw, 1500px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }

/* the sealed-back slab — landscape graded artifact, the only depth object */
.halogate__card {
  position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.82), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.halogate__weld {
  position: absolute; top: 0; bottom: 0; left: 46%; width: 1px; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--halo-a, var(--silver)) 55%, transparent), transparent);
}
.halogate__grid { display: grid; grid-template-columns: 46% 54%; min-height: 440px; }

/* LEFT — sealed back face (dark archival plate, no photo) */
.halogate__back {
  position: relative; overflow: hidden; isolation: isolate; display: grid; align-content: space-between;
  padding: 18px 18px 16px; background:
    radial-gradient(120% 90% at 50% 0%, var(--ink-700) 0%, var(--ink-850) 58%, var(--ink-950) 100%);
}
.halogate__backgrain {
  position: absolute; inset: 0; opacity: 0.5; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E");
}
.halogate__shimmer {
  position: absolute; inset: -20% -50%; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 44%, color-mix(in srgb, var(--halo-c, var(--silver)) 16%, transparent) 50%, transparent 56%);
}
.halogate__backhouse { position: relative; z-index: 1; font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver-dim); }
/* conservation seal mark — material-tinted ring + glyph, centered */
.halogate__seal {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1;
  width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%;
  font-size: 22px; color: color-mix(in srgb, var(--halo-a, var(--silver)) 70%, var(--t-display));
  border: 1px solid color-mix(in srgb, var(--halo-a, var(--silver)) 35%, var(--line));
  background: radial-gradient(circle, color-mix(in srgb, var(--halo-a, var(--silver)) 10%, transparent), transparent 70%);
}
.halogate__sealring { position: absolute; inset: 6px; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--halo-a, var(--silver)) 28%, var(--line-faint)); }
.halogate__backcap { position: relative; z-index: 1; display: grid; gap: 3px; }
.halogate__backtitle { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--t-primary); }
.halogate__backid { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.16em; color: var(--faint); }

/* RIGHT — dossier gate panel (a quiet plate, no depth) */
.halogate__panel { display: grid; align-content: start; gap: 14px; padding: 22px 24px; border-left: 1px solid var(--line-faint); }
.halogate__head { display: grid; gap: 6px; }
.halogate__kicker { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--silver-dim); }
.halogate__title { font-family: var(--font-display); font-size: 27px; font-weight: 600; line-height: 1.08; color: var(--t-display); letter-spacing: 0.01em; }
.halogate__sub { font-size: 13px; line-height: 1.5; color: var(--t-body); }

.halogate__seals { display: grid; gap: 7px; padding: 13px 15px; border-radius: var(--r-plate); border: 1px dashed var(--line); background: rgba(8, 10, 12, 0.35); }
.halogate__sealrow { display: flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--silver-dim); }
.halogate__sealmark { color: var(--faint); }

.halogate__complete { font-size: 12px; line-height: 1.5; color: var(--t-meta); }

.halogate__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
/* the "open" CTA is intentionally inert: sealed, not a bright SaaS button */
.halogate__open {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--t-meta); padding: 11px 16px; border: 1px solid var(--line); border-radius: var(--r-plate);
  background: rgba(255, 255, 255, 0.015); cursor: not-allowed; opacity: 0.85;
}
.halogate__keep {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--silver-dim); padding: 11px 14px; border: 1px solid var(--line-faint); border-radius: var(--r-plate);
  background: none; cursor: pointer;
}
.halogate__keep:hover { color: var(--silver); border-color: var(--line); }
.halogate__scope { font-family: var(--font-display); font-style: italic; font-size: 12.5px; line-height: 1.45; color: var(--t-body); padding-top: 4px; border-top: 1px solid var(--line-faint); }
.halogate__foot { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); text-align: center; }

/* =============================================================
   Fallback for narrow screens (desktop is the priority)
============================================================= */

@media (max-width: 1120px) {
  body { overflow: auto; }
  .room { display: flex; flex-direction: column; height: auto; }
  .panel--source, .panel--reading { border: 0; }
  .topbar { height: auto; flex-wrap: wrap; padding: 12px 16px; gap: 10px; }
  .dboard { grid-template-columns: 1fr; }
  .dstats, .dfitaura, .drecord { grid-template-columns: 1fr; }
  .dhidden { flex-direction: column; text-align: center; gap: 14px; }
  /* collapse the counting-spine gutter on narrow screens */
  .dplate { grid-template-columns: 1fr; column-gap: 0; }
  .dplate__spine { font-size: 13px; color: var(--t-meta); margin-bottom: 8px; }
  /* collapse the reading-panel index gutter on the same breakpoint */
  .panel--reading .module:not(.unlock):not(:has(.maxbadge)) { padding-right: 16px; }
  .panel--reading .module:not(.unlock):not(:has(.maxbadge))::before { display: none; }
  .menu__brand { font-size: 23px; letter-spacing: 0.26em; }
  /* Free Pull mock stacks: image slab on top, label below */
  .fpwrap { width: 100%; }
  .fpcard__grid { grid-template-columns: 1fr; }
  .fpcard__weld { display: none; }
  .fpcard__window { min-height: 280px; }
  .fpcard__label { border-left: 0; border-top: 1px solid var(--line-faint); }
  /* Halo Gate mock stacks: sealed back on top, gate panel below */
  .halogate { width: 100%; }
  .halogate__grid { grid-template-columns: 1fr; }
  .halogate__weld { display: none; }
  .halogate__back { min-height: 220px; }
  .halogate__panel { border-left: 0; border-top: 1px solid var(--line-faint); }
}

@media (prefers-reduced-motion: reduce) {
  .card, .fr__pip, .photo__shimmer, .card__sparkles, .card__halo { animation: none !important; }
  .cardqr, .cardqr__seat { animation: none !important; }
  .mintscrim { transition: none !important; }
  body.is-mint-showcase .dplate--mint { animation: none !important; }
  /* develop ceremony must not tween — snap the card + descendants to final skin */
  .card, .card * { transition: none !important; }
  .card.is-developing { animation: none !important; --dev: 1 !important; }
  /* climax + reveal snap to the final assigned / visible value (no hidden content) */
  .is-developing-dossier .dlineage__v--id,
  .card.is-developing .corner::before, .card.is-developing .corner::after,
  .card.is-developing .titleblock__archetype, .card.is-developing .archline__diamond,
  .card.is-developing .card__rarity, .card.is-developing .fr__pip.is-on,
  .dlineage__v, .dlineage__v--ghost {
    animation: none !important; clip-path: none !important; opacity: 1 !important;
  }
  #readingPanel[data-mode="developed"] .readseam { animation: none !important; clip-path: none !important; opacity: 1 !important; }
  /* the room recede snaps (tone, not motion) */
  .panel--source, .panel--reading, .stagezone { transition: none !important; }
  body[data-treatment="shiny"] .panel--reading > .readhead,
  body[data-treatment="shiny"] .panel--reading > .module { transition: none !important; }
  /* dossier shutter (Technique Pass #2) fully shown at rest — never hide content */
  .dossier__inner .dplate { animation: none !important; clip-path: none !important; opacity: 1 !important; }
  .daura__lead, .daura__name, .daura__hairline, .daura__read, .daura__register { animation: none !important; transition: none !important; }
  .daura::before { animation: none !important; opacity: var(--daura-glow-peak, 0.1) !important; }
}

/* ============================================================
   BR-S205 — THE APERTURE (Codex bloom). A bottom-right wax-seal
   fixed-leaf irises the real codex.html open across the menu via
   clip-path: circle() from the seal, reversing HOME into it. Ported
   verbatim from the approved prototype; scoped to #menuView (never
   transformed — the fixed leaves ride the viewport on every slide).
   Motion GPU-only; reduced-motion + @supports floors; commit-not-push
   perf gate. Namespaced state (.is-codex-open/.is-codex-closing) so it
   never cross-fires with the room lightbox's .is-open.
============================================================ */
#menuView {
  --cx-bg: #100e0c; --cx-bg2: #1c1712; --cx-gold: #c69b63; --cx-golddim: #8f7145;
  --cx-frontier: #05060a;   /* the frontier ink — cool near-black (renamed from --ink to dodge the --ink-950.. family) */
  --ease-bloom: cubic-bezier(0.16, 0.84, 0.30, 1);
  --ease-settle: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-collapse: cubic-bezier(0.4, 0, 0.7, 0.4);
  --ease-edge: cubic-bezier(0.22, 0.50, 0.16, 1.0);   /* a real leap, then a slow-burn crawl to the land */
  --edge-dur: 680ms; --ember-dur: 380ms; --ember-peak: .90;
  --catch-peak: 1.075; --reverb-dur: 520ms; --reverb-delay: 260ms; --ping-op: .30;
}

/* THE SEAL — resting codex affordance AND the way back (an <a href=codex.html> front-door) */
/* The seal REskinned to the universe's WHITE full-codex ball (a bright ivory sphere)
   while KEEPING its in-page iris behaviour (wireMenuCodex untouched): ◆ hidden at rest
   so it's a plain sphere like the rooms' ball, ◆ (dark) surfaces on hover, × on open. */
/* BR-S271 — THE ORBS SIT LOWER. The builder: "codexes are a bit too high". The same
   clamp was written out three times and all three had to move together or the stack
   separates, so it is one token now. Measured live at 1440x900: the cream seal's bottom
   edge goes 150px -> 99px off the floor and the orange mini 204px -> 153px — the pair
   drops exactly 51px and stops reading as floating mid-air, and the dead air between the
   seal and the rooms cue closes from 82.3px to 31.3px. The collision floor at 900 tall is
   bottom < ~68px, so 96px keeps ~28px of margin. The Bloom aperture needs no change —
   geometry() reads the seal's live rect for --cx/--cy, so the iris origin follows. */
#menuView { --orb-bottom: clamp(96px, 11vh, 110px); }
#menuView .seed { position: fixed; right: clamp(12px,2.6vw,40px); bottom: var(--orb-bottom);
  z-index: 60; width: 42px; height: 42px; border-radius: 50%; padding: 0; cursor: pointer; text-decoration: none;
  display: grid; place-items: center; border: none;
  /* "Deep Glass" sphere — catchlight / crescent rim / body as STATIC background layers.
     The seal has no inner core span and its ::after is the iris ring, so the catchlight
     rides as a positioned background instead of a rotated pseudo-element. */
  background-image:
    radial-gradient(closest-side, rgba(255,255,255,.80), rgba(255,255,255,.22) 52%, rgba(255,255,255,0) 78%),
    radial-gradient(86% 86% at 26% 20%,
      rgba(255,246,220,0) 0%, rgba(255,246,220,0) 64%,
      rgba(255,242,210,.07) 78%, rgba(255,242,212,.34) 92%, rgba(255,248,226,.56) 100%),
    radial-gradient(78% 78% at 33% 27%,
      #faf4e4 0%, #f2e7cb 14%, #e4d2a4 30%, #cfb880 50%,
      #ae9660 70%, #866f40 88%, #a48a58 100%);
  background-size: 19% 13%, auto, auto;
  background-position: 24% 11%, 0 0, 0 0;
  background-repeat: no-repeat;
  box-shadow:
    inset -2px -3px 8px rgba(44,31,12,.34),
    inset  3px  3px 7px rgba(255,252,240,.13),
    0 1px 2px rgba(0,0,0,.62),
    0 4px 10px rgba(0,0,0,.44),
    0 10px 22px rgba(0,0,0,.28);
  transition: transform var(--orb-out) var(--orb-e-out); }   /* box-shadow NEVER transitions */
/* the hover glow — an opacity-only layer; absolute so it never becomes a grid item */
#menuView .seed::before {
  content: ""; position: absolute; inset: -12px; border-radius: 50%;
  pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side,
    rgba(246,232,192,0) 0%, rgba(246,232,192,0) 46%,
    rgba(246,232,192,.26) 64%, rgba(246,232,192,.08) 82%, rgba(246,232,192,0) 100%);
  transition: opacity var(--orb-out) var(--orb-e-out); }
#menuView .seed__glyph { grid-area: 1 / 1; font-family: var(--font-display); line-height: 1; color: #2a1e0c; transition: opacity 220ms ease; }
#menuView .seed__open  { font-size: 15px; opacity: 0; }
/* THE CLOSE MARK — two drawn hairlines, not a set ✕ glyph. At 42px a Cormorant ✕ reads
   thin, off-weight and optically off-centre on a bright pearl; two bars are exact, crisp
   at any DPI, and can carry their own turn-in. It arrives by ROTATING into true (a mark
   being struck), not by fading up — transform + opacity only. */
#menuView .seed__close {
  position: relative; font-size: 0;      /* the unicode char stays for a11y/no-CSS fallback */
  width: 15px; height: 15px;
  opacity: 0; transform: rotate(-65deg);
  transition: opacity 200ms ease, transform 340ms var(--ease-bloom);
}
#menuView .seed__close::before,
#menuView .seed__close::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 15px; height: 1.6px; border-radius: 1.5px;
  background: #241a0a;
}
#menuView .seed__close::before { transform: translate(-50%,-50%) rotate(45deg); }
#menuView .seed__close::after  { transform: translate(-50%,-50%) rotate(-45deg); }

/* ★★ BR-S450 — WHILE THE CODEX IS OPEN, THE ORB GOES WHITE.
   The builder: "when codex is opened there should always be white orb closing
   possibility even at different codex entries."

   THE CONTROL WAS ALWAYS THERE — IT JUST NEVER STOPPED BEING THE SEAL. Measured at
   every scroll depth in the open aperture (top, #runes at y=9632, after an entry
   click): visibility visible, opacity 1, z-index 210, aria-label "Close the Codex".
   So the affordance never disappears. What disappears is its READING: it is the same
   cream-and-gold wax sphere open or shut, and a wax seal is the mark of the Codex, not
   a way out of it. Over ten plates of warm parchment it also lands in the page's own
   colour family, so the one control that returns you sits IN the thing it closes.

   SAME SPHERE, DIFFERENT MATERIAL — the identical Deep Glass grammar (catchlight
   position, crescent rim, the same five inset/drop shadows, same 42px, same place),
   with only the body gradient swapped from wax to a cold neutral white. Nothing moves,
   nothing resizes, and it is the same discipline as the tarot mark in BR-S449: an
   object earns a new material when its job changes, not a new shape.

   AND IT IS THE ONLY WHITE OBJECT ON A WARM PAGE. The palette is closed and every
   plate in the Codex is warm; a cold white sphere cannot be mistaken for content,
   which is exactly what a permanent escape hatch needs. Costs one gradient swap on a
   class that is already toggled — no new element, no new listener, nothing per-frame. */
#menuView.is-codex-open .seed,
#menuView.is-codex-closing .seed {
  background-image:
    radial-gradient(closest-side, rgba(255,255,255,.92), rgba(255,255,255,.30) 52%, rgba(255,255,255,0) 78%),
    radial-gradient(86% 86% at 26% 20%,
      rgba(255,255,255,0) 0%, rgba(255,255,255,0) 64%,
      rgba(255,255,255,.10) 78%, rgba(255,255,255,.40) 92%, rgba(255,255,255,.62) 100%),
    radial-gradient(78% 78% at 33% 27%,
      #ffffff 0%, #f7f9fb 14%, #e6eaf0 30%, #ccd3dc 50%,
      #a4adb9 70%, #7b838f 88%, #9aa2ad 100%);
  box-shadow:
    inset -2px -3px 8px rgba(18,22,28,.30),
    inset  3px  3px 7px rgba(255,255,255,.55),
    0 1px 2px rgba(0,0,0,.62),
    0 4px 10px rgba(0,0,0,.44),
    0 10px 22px rgba(0,0,0,.28);
}
/* the two bars go to the same cold ink, so the mark belongs to the sphere it sits on */
#menuView.is-codex-open .seed__close::before,
#menuView.is-codex-open .seed__close::after,
#menuView.is-codex-closing .seed__close::before,
#menuView.is-codex-closing .seed__close::after { background: #1b2029; }
/* lift only — the glyph is real text, so no scale (it would composite-stretch the ◆) */
#menuView .seed:hover, #menuView .seed:focus-visible { transform: translate3d(0,-1px,0); outline: none;
  transition-duration: var(--orb-in); transition-timing-function: var(--orb-e-in); }
#menuView .seed:hover::before, #menuView .seed:focus-visible::before {
  opacity: 1; transition-duration: var(--orb-in); transition-timing-function: var(--orb-e-in); }
#menuView .seed:active { transform: translate3d(0,1px,0); transition-duration: var(--orb-press); }
#menuView .seed:hover .seed__open, #menuView .seed:focus-visible .seed__open { opacity: 1; }
#menuView .seed:focus-visible { outline: 2px solid rgba(198,155,99,.75); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  #menuView .seed, #menuView .seed::before { transition: none !important; }
  #menuView .seed:hover, #menuView .seed:focus-visible, #menuView .seed:active { transform: none !important; }
}
#menuView.is-codex-open .seed, #menuView.is-codex-closing .seed { z-index: 210; }
#menuView .seed::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(198,155,99,.55); transform: scale(.6); opacity: 0; pointer-events: none; }

/* THE BLOOM (the aperture overlay) — born inert+aria-hidden in markup, always PAINTED (hidden only by clip) */
#menuView .bloom { position: fixed; inset: 0; z-index: 200;
  clip-path: circle(0px at var(--cx, 90%) var(--cy, 88%));
  transition: clip-path 340ms var(--ease-collapse); }
#menuView .bloom__backfill { position: absolute; inset: 0;
  background: radial-gradient(130% 90% at 50% -8%, var(--cx-bg2) 0%, var(--cx-bg) 62%); }
#menuView .bloom__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--cx-bg); }
#menuView .bloom__ink { position: fixed; left: var(--cx, 90%); top: var(--cy, 88%);
  width: calc(var(--r, 1400px) * 2); height: calc(var(--r, 1400px) * 2);
  margin-left: calc(var(--r, 1400px) * -1); margin-top: calc(var(--r, 1400px) * -1);
  border-radius: 50%; box-sizing: border-box; z-index: 205; pointer-events: none;
  border: 1.75px solid var(--cx-frontier); box-shadow: inset 0 0 0 1px rgba(198,155,99,.5);
  transform: scale(0); opacity: 0; }
#menuView .bloom__ember { position: fixed; left: var(--cx, 90%); top: var(--cy, 88%);
  width: calc(var(--r, 1400px) * 2); height: calc(var(--r, 1400px) * 2);
  margin-left: calc(var(--r, 1400px) * -1); margin-top: calc(var(--r, 1400px) * -1);
  border-radius: 50%; box-sizing: border-box; z-index: 206; pointer-events: none;
  border: 1.5px solid rgba(224,138,66,.92); box-shadow: 0 0 6px 0 rgba(230,120,50,.34);
  mix-blend-mode: screen; transform: scale(.981); opacity: 0; }
#menuView .bloom__sheen { position: absolute; inset: -60%; z-index: 3; pointer-events: none; opacity: 0;
  background: linear-gradient(135deg, transparent 0 44%, rgba(255,246,228,.05) 47.5%, rgba(255,249,235,.16) 50%, rgba(255,246,228,.05) 52.5%, transparent 56% 100%);
  transform: translate3d(45%, 45%, 0); }   /* BR-S494: was 70% — see the keyframes note. mix-blend-mode moved to the transacting state below. */

/* OPEN — seal charge→swallow→re-form as ✕; aperture slow-burn leap to land; ink frontier; ember; sheen */
#menuView.is-codex-open .seed { animation: seedToClose 660ms var(--ease-bloom); }
#menuView.is-codex-open .seed__open  { opacity: 0; transition-delay: 150ms; }
#menuView.is-codex-open .seed__close { opacity: 1; transform: rotate(0deg); transition-delay: 340ms; }
#menuView.is-codex-open .bloom { clip-path: circle(var(--r, 1400px) at var(--cx) var(--cy));
  transition: clip-path var(--edge-dur) var(--ease-edge) 90ms; }
#menuView.is-codex-closing .bloom__ink { will-change: transform, opacity; }   /* the CLOSING half is bounded — the class is stripped at 840ms */
#menuView.is-codex-open .bloom__ink { animation: inkOpen var(--edge-dur) var(--ease-edge) 90ms forwards; }
#menuView.is-codex-open .bloom__ember { animation: emberBurn var(--ember-dur) linear 560ms forwards; }
#menuView.is-codex-open .bloom__sheen { animation: codexSheen 680ms linear 800ms forwards; }   /* BR-S494: linear, so progress% == keyframe% */

/* ★ BR-S494 — will-change IS ARMED AND CLEARED BY ARITHMETIC, and the CSS half was
   breaking the law the JS half already obeyed twelve lines away. `.is-codex-open` lives
   for as long as the reader keeps the Codex open — minutes — while the last animation
   ends at 1480ms. So three layers were held promoted for the whole session: the ink and
   the ember are calc(var(--r)*2) square (~3160px at 1440x900) and the sheen is 2.2x the
   viewport. `.is-cx-blooming` is added with the open and stripped at 1500ms, 20ms past
   the sheen's end. Freeze-safe: if that timer never runs, the behaviour is exactly what
   shipped before this commit.
   The blend group rides the same class for the same reason — a viewport-and-a-bit of
   screen-blended layer must not sit over a scrolling iframe all session. The sheen ends
   at opacity 0, so dropping the blend at rest is a visual no-op. */
#menuView.is-cx-blooming .bloom__ink,
#menuView.is-cx-blooming .bloom__ember,
#menuView.is-cx-blooming .bloom__sheen { will-change: transform, opacity; }
#menuView.is-cx-blooming .bloom__sheen { mix-blend-mode: screen; }

/* REVERSE — content-frame collapse via clip; ink irises home; the seal is CAUGHT by a damped ring-out + echo-ping */
#menuView.is-codex-closing .bloom { clip-path: circle(0px at var(--cx) var(--cy));
  transition: clip-path 340ms var(--ease-collapse) 120ms; }
#menuView.is-codex-closing .bloom__ink { animation: inkClose 340ms var(--ease-collapse) 120ms forwards; }
#menuView.is-codex-closing .seed { animation: seedReverb var(--reverb-dur) linear var(--reverb-delay) both; }
#menuView.is-codex-closing .seed::after { will-change: transform, opacity; animation: seedPing 380ms linear 420ms both; }
#menuView.is-codex-closing .seed__open  { opacity: .82; transition-delay: 90ms; }
#menuView.is-codex-closing .seed__close { opacity: 0; }

@keyframes seedToClose {
  0%   { transform: scale(1);   opacity: 1; }
  14%  { transform: scale(.90); opacity: 1; }
  23%  { transform: scale(.86); opacity: .24; }
  100% { transform: scale(1);   opacity: 1; }
}
@keyframes inkOpen {
  0%   { transform: scale(0); opacity: 0; }
  6%   { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}
@keyframes emberBurn {
  0%   { transform: scale(.981);   opacity: 0; }
  40%  { transform: scale(.992);   opacity: .80; }
  57%  { transform: scale(1.0006); opacity: var(--ember-peak, .90); }
  65%  { transform: scale(.9995);  opacity: .42; }
  73%  { transform: scale(1.0004); opacity: .68; }
  81%  { transform: scale(.9998);  opacity: .28; }
  89%  { transform: scale(1.0001); opacity: .46; }
  95%  { transform: scale(1.0);    opacity: .14; }
  100% { transform: scale(1.0);    opacity: 0; }
}
/* ★★ BR-S494 — THE SHEEN WAS A STROBE HERE TOO, AND THIS IS THE SURFACE IT SPREAD FROM.
   BR-S477 found and fixed this on the card's specimen panel, which had copied these exact
   parameters from this block. Nobody came back to fix the original.

   MEASURED, not guessed. `.bloom` is fixed inset:0, so `inset:-60%` makes this layer
   2.2x viewport per axis; a 135deg gradient line on that box is 1.5556(W+H), and the
   44%->56% band is 12% of it = 0.18667(W+H). translate3d(70%) projects to 1.0889(W+H)
   each way, so travel was 2.1778(W+H) = 11.667 band-widths, aspect-independent. The band
   overlaps the viewport only while |displacement| < 0.44689(W+H) — 41% of travel, so
   59% OFF-PANEL. Under the old cubic-bezier that window solved to 173.8ms..295.4ms:
   121.6ms of light out of a 680ms animation, 17.9%. And both opacity ramps landed
   outside it, so the band was switched on at the full .9 plateau at one screen edge and
   off at the full plateau at the other. Peak advance was 0.76 full-band-widths per frame
   — but the bright core is only the 47.5-52.5% stops, and that advanced 1.83 core-widths
   per frame. It painted disjoint positions. That is a flash, not a rake.

   THE FIX IS THE ONE ALREADY SHIPPED: +/-45% = 7.50 band-widths of travel, 63.8% of it
   on-panel, and LINEAR timing makes progress% equal keyframe% — so the band enters at
   18.1% and leaves at 81.9% and both ramps land where they can actually be seen. The
   plateau drops .9 -> .62 because a band that is now visible for its whole ramp does not
   need to shout, and 78% -> 72% keeps the fade inside the window. */
@keyframes codexSheen {
  0%   { transform: translate3d(45%, 45%, 0);   opacity: 0; }
  22%  { opacity: .62; }
  72%  { opacity: .62; }
  100% { transform: translate3d(-45%, -45%, 0); opacity: 0; }
}
@keyframes inkClose {
  0%   { transform: scale(1); opacity: 0; }
  18%  { opacity: 1; }
  100% { transform: scale(0); opacity: 1; }
}
@keyframes seedReverb {
  0%   { transform: scale(1);                        animation-timing-function: cubic-bezier(.4,0,.7,.5); }
  30%  { transform: scale(.992);                     animation-timing-function: cubic-bezier(.2,.7,.3,1); }
  38%  { transform: scale(var(--catch-peak, 1.075)); animation-timing-function: cubic-bezier(.45,0,.55,1); }
  54%  { transform: scale(.970);                     animation-timing-function: cubic-bezier(.45,0,.55,1); }
  70%  { transform: scale(1.013);                    animation-timing-function: cubic-bezier(.45,0,.55,1); }
  84%  { transform: scale(.995);                     animation-timing-function: cubic-bezier(.3,.6,.35,1); }
  100% { transform: scale(1); }
}
@keyframes seedPing {
  0%   { transform: scale(.6);  opacity: 0;              animation-timing-function: cubic-bezier(.16,.7,.3,1); }
  16%  { opacity: var(--ping-op, .30); }
  100% { transform: scale(1.75); opacity: 0; }
}

/* the seal + aperture step aside during the reveal fullview takeover (mutually exclusive) */
#menuView.menurev.is-fullview .seed, #menuView.menurev.is-fullview .bloom { opacity: 0; visibility: hidden; pointer-events: none; }

/* @supports floor: on engines without clip-path circle, hide the aperture entirely — the seal <a> navigates to codex.html */
@supports not (clip-path: circle(0px)) {
  #menuView .bloom, #menuView .bloom__ink, #menuView .bloom__ember, #menuView .seed__close { display: none; }
}

/* reduced motion: instant open/close, fully functional, zero bloom/ink/ember/sheen/ping */
@media (prefers-reduced-motion: reduce) {
  #menuView .seed, #menuView .seed__glyph, #menuView .seed::after, #menuView .bloom, #menuView .bloom__ink,
  #menuView .bloom__ember, #menuView .bloom__sheen { transition: none !important; animation: none !important; }
  #menuView.is-codex-open .bloom { clip-path: inset(0) !important; }
  #menuView .bloom__ink, #menuView .bloom__ember, #menuView .bloom__sheen, #menuView .seed::after { display: none; }
  #menuView.is-codex-open .seed__open { opacity: 0; }
  #menuView.is-codex-open .seed__close { opacity: .82; }
}

/* ============================================================
   BR-S226 — THE MINI CODEX (the orange ball). A small draggable
   sibling of the seal: an in-room search puck that reads 1–few
   Codex entries without leaving the menu. Home = stacked on the
   seal's upper shoulder; drag anywhere; recall via the ghost home-
   dock OR by dragging back into the seal's gravity. Fixed leaves
   (ride the viewport like the seal); GPU-only motion; steps aside
   whenever the full aperture or the reveal fullview takes over.
============================================================ */
#menuView { --mini-orange: #db5a2a; --mini-orange-dim: #a23a14; --mini-ink: #170d08; }

#menuView .mini { position: fixed;
  right: calc(clamp(12px,2.6vw,40px) + 7px);
  bottom: calc(var(--orb-bottom) + 54px);   /* sits ABOVE the seal, ~10px clear — no overlap */
  width: 30px; height: 30px; z-index: 62; touch-action: none;
  transform: translate3d(var(--mx,0px), var(--my,0px), 0); }
/* .is-dragging means "the pointer is down"; .is-carry means "the object is airborne" — and
   the second must OUTLIVE the pointer, or the release frame drops the compositor layer and
   re-promotes it, and the :hover bloom fires while the orb is flying out from under you. */
#menuView .mini.is-carry { transition: none; will-change: transform; }
#menuView .mini.is-homing { transition: transform 440ms cubic-bezier(0.2,0.7,0.2,1); }

/* The mini-codex ball — the ORANGE twin of the full-codex (white) ball: SAME design,
   smaller (30px vs 42px), orange. Was a flat glyph-marked chip; now the matched sphere
   (radial body + hover halo + lift, plain — no glyph). The .mini drag + #codexMiniBall
   search-panel wiring is unchanged; only the skin is restyled. */
#menuView .mini__ball { position: absolute; inset: 0; width: 30px; height: 30px; padding: 0;
  border-radius: 50%; cursor: grab; border: none; color: var(--mini-ink);
  /* "Deep Glass" sphere — catchlight / crescent rim / body, all STATIC */
  background-image:
    radial-gradient(closest-side, rgba(255,251,246,.78), rgba(255,238,220,.20) 52%, rgba(255,238,220,0) 78%),
    radial-gradient(86% 86% at 26% 20%,
      rgba(255,200,146,0) 0%, rgba(255,200,146,0) 64%,
      rgba(255,196,140,.07) 78%, rgba(255,192,134,.32) 92%, rgba(255,209,160,.54) 100%),
    radial-gradient(78% 78% at 33% 27%,
      #ffecd4 0%, #ffcb9a 13%, #f59f5b 28%, #eb7832 46%,
      #c85718 68%, #8a370a 89%, #b0551b 100%);
  background-size: 19% 13%, auto, auto;
  background-position: 24% 11%, 0 0, 0 0;
  background-repeat: no-repeat;
  box-shadow:
    inset -2px -3px 7px rgba(48,17,2,.40),
    inset  2px  2px 6px rgba(255,236,214,.15),
    0 1px 2px rgba(0,0,0,.60),
    0 3px 8px rgba(0,0,0,.42),
    0 8px 18px rgba(0,0,0,.26);
  transition: transform var(--orb-out) var(--orb-e-out); }   /* box-shadow NEVER transitions */
/* the glow — opacity-only, transparent centre so it lights the air, not the sphere */
#menuView .mini__ball::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side,
    rgba(238,124,60,0) 0%, rgba(238,124,60,0) 46%,
    rgba(238,124,60,.28) 64%, rgba(238,124,60,.09) 82%, rgba(238,124,60,0) 100%);
  transition: opacity var(--orb-out) var(--orb-e-out); }
#menuView .mini__ball::after { display: none; }   /* halo ring cut — one cue only */
#menuView .mini__ball:hover, #menuView .mini__ball:focus-visible {
  transform: translate3d(0,-1px,0) scale(1.04); outline: none;
  transition-duration: var(--orb-in); transition-timing-function: var(--orb-e-in); }
#menuView .mini__ball:hover::before, #menuView .mini__ball:focus-visible::before {
  opacity: 1; transition-duration: var(--orb-in); transition-timing-function: var(--orb-e-in); }
#menuView .mini__ball:active { transform: translate3d(0,0,0) scale(.96); transition-duration: var(--orb-press); }
#menuView .mini__ball:focus-visible { outline: 2px solid rgba(233,229,220,.55); outline-offset: 3px; }
/* HELD. A solid object does not inflate when you pick it up — it leaves the surface.
   The old scale(1.08), easing over 220ms while you were already moving, is what read as
   "heavy". Now: no scale, no transition (a held thing tracks the pointer 1:1, it never
   eases), and a deeper drop so it reads as LIFTED rather than swollen. The shadow swap is
   instant and un-transitioned — one repaint on grab, nothing per frame. */
#menuView .mini.is-dragging .mini__ball { cursor: grabbing; }
#menuView .mini.is-carry .mini__ball {
  /* WEIGHTLESS while airborne. The lift is instant on grab (it matches the hand, it does not
     ease in) and holds for the whole flight; removing .is-carry on landing lets the ball ease
     back to rest through its own base transition — so the orb visibly SETS DOWN at the end of
     the float rather than just stopping. Also still overrides the :hover bloom mid-flight. */
  transform: scale(1.055);
  transition: none;
  box-shadow:
    inset -2px -3px 7px rgba(48,17,2,.40),
    inset  2px  2px 6px rgba(255,236,214,.15),
    0 2px 3px rgba(0,0,0,.50),
    0 10px 20px rgba(0,0,0,.50),
    0 18px 34px rgba(0,0,0,.34);
}
#menuView .mini.is-carry .mini__ball::before { opacity: 1; transition: none; }
#menuView .mini__glyph { display: none; }   /* plain sphere, matching the full-codex ball */
@media (prefers-reduced-motion: reduce) {
  #menuView .mini__ball, #menuView .mini__ball::before { transition: none !important; }
  #menuView .mini__ball:hover, #menuView .mini__ball:focus-visible,
  #menuView .mini__ball:active { transform: none !important; }
}

/* the ghost home-dock — where the ball belongs; shown only once the ball is dragged away */
#menuView .mini-dock { position: fixed;
  right: calc(clamp(12px,2.6vw,40px) + 7px);
  bottom: calc(var(--orb-bottom) + 54px);
  width: 30px; height: 30px; z-index: 61; padding: 0; border-radius: 50%; cursor: pointer;
  background: transparent; border: 1px dashed rgba(224,108,60,.5);
  box-shadow: inset 0 0 8px rgba(224,108,60,.14);
  opacity: 0; transform: scale(.9); pointer-events: none;
  transition: opacity 240ms ease, transform 240ms var(--ease-settle); }
#menuView .mini-dock.is-shown { opacity: 1; transform: scale(1); pointer-events: auto; }
#menuView .mini-dock:hover { border-color: var(--mini-orange); box-shadow: inset 0 0 11px rgba(224,108,60,.26); }

/* the reader — a compact panel anchored above the ball, opening up-and-left */
#menuView .mini__panel { position: absolute; bottom: calc(100% + 10px); right: -4px;
  width: min(300px, 78vw); max-height: min(56vh, 380px);
  display: flex; flex-direction: column;
  /* ★ BR-S501 — THE MINI NOW WEARS THE CODEX'S OWN GROUND, not an approximation of it.
     It was a LINEAR gradient from a hardcoded #1b1611 down to --cx-bg. The real codex page
     paints `radial-gradient(130% 90% at 50% -8%, var(--key-light) 0%, var(--ground) 62%,
     var(--ground) 100%)` with --key-light #1c1712 and --ground #100e0c — so the mini was
     off by one level in every channel AND lit from the wrong geometry: a top-to-bottom
     fall instead of a key light hanging above the centre.
     Both values already existed here as --cx-bg2 / --cx-bg and carry the codex's numbers
     exactly; the panel simply was not using them. Same construction, same stops, same
     origin, so the little window and the room it searches are lit by one lamp. */
  background: radial-gradient(130% 90% at 50% -8%, var(--cx-bg2) 0%, var(--cx-bg) 62%, var(--cx-bg) 100%);
  border: 1px solid rgba(198,155,99,.28); border-radius: 12px;
  box-shadow: 0 16px 42px rgba(0,0,0,.52), inset 0 1px 0 rgba(233,226,213,.05);
  padding: 10px; opacity: 0; transform: translateY(6px) scale(.98); transform-origin: bottom right;
  pointer-events: none; transition: opacity 200ms ease, transform 220ms var(--ease-bloom); }
#menuView .mini[data-state="open"] .mini__panel { opacity: 1; transform: none; pointer-events: auto; }

/* THE FLIP ZONES. The panel is anchored at its BOTTOM edge, so as results arrive it grows
   UPWARD — which is how the search field could climb off the top of the page. app.js
   measures the room above the ball (and re-measures whenever the panel's height changes)
   and flips these on when the panel can no longer fit: it then opens DOWNWARD, with the
   ball sitting above its box. Same idea horizontally when the ball is carried to the left
   edge. Only the anchor + origin change — the open/close motion is identical. */
#menuView .mini.is-below .mini__panel {
  bottom: auto; top: calc(100% + 10px);
  transform-origin: top right; transform: translateY(-6px) scale(.98); }
#menuView .mini.is-below[data-state="open"] .mini__panel { transform: none; }
#menuView .mini.is-leftedge .mini__panel { right: auto; left: -4px; transform-origin: bottom left; }
#menuView .mini.is-leftedge.is-below .mini__panel { transform-origin: top left; }

#menuView .mini__input { width: 100%; box-sizing: border-box; padding: 8px 10px;
  background: #100d09; border: 1px solid #332c25; border-radius: 8px;
  color: #e9e2d5; font-family: var(--font-display); font-size: 13px; outline: none; }
#menuView .mini__input:focus { border-color: var(--cx-golddim); }
#menuView .mini__input::placeholder { color: #6f6559; }

#menuView .mini__results { margin-top: 8px; overflow-y: auto; flex: 1 1 auto;
  display: flex; flex-direction: column; gap: 6px; }
#menuView .mini__hint { color: #8c8175; font-size: 12px; font-style: italic; padding: 6px 2px; margin: 0; }

#menuView .mini__card { text-align: left; width: 100%; padding: 8px 9px; cursor: pointer;
  background: #16110c; border: 1px solid #241f1a; border-radius: 8px; color: #e9e2d5;
  transition: border-color 160ms ease, background 160ms ease; }
#menuView .mini__card:hover, #menuView .mini__card:focus-visible { border-color: rgba(198,155,99,.45); background: #1a140e; outline: none; }
#menuView .mini__name { font-family: var(--font-display); font-size: 13.5px; color: #efe7d8; }
#menuView .mini__tag { font-size: 10.5px; color: var(--cx-gold); letter-spacing: .02em; margin-top: 1px; }
#menuView .mini__mean { font-size: 12px; color: #b3a898; line-height: 1.42; margin-top: 5px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  position: relative; }                      /* BR-S450: anchor for the truncation fade below */
#menuView .mini__card.is-open .mini__mean { -webkit-line-clamp: unset; }

/* ── BR-S450 — POLISH ON THE IN-ROOM POPUP. ──────────────────────────────────
   The builder: "polish inside room pop up."

   1. THE TRUNCATION READS AS DESIGNED, NOT AS DAMAGE. The meaning is clamped to
      three lines and expands on .is-open — but the clamp cut mid-word with a hard
      edge and nothing said there was more. Leo's entry is ~430 characters arriving
      in a 300px box, so the third line simply stopped. A fade over the last line is
      the difference between "this continues" and "this broke": the eye reads a soft
      edge as depth and a hard one as a bug. It lifts on .is-open, because once the
      text is complete a fade would be lying about there being more. */
#menuView .mini__mean::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 62%; height: 1.42em;
  background: linear-gradient(90deg, rgba(22,17,12,0), #16110c 72%);
  pointer-events: none;
}
#menuView .mini__card:hover .mini__mean::after { background: linear-gradient(90deg, rgba(26,20,14,0), #1a140e 72%); }
#menuView .mini__card.is-open .mini__mean::after { content: none; }

/*  2. THE SCROLLBAR JOINS THE ROOM. .mini__results scrolls, and it was handing a
       default OS scrollbar to a 12px-radius panel in a warm dark palette — a bright
       system chrome bar down the inside edge of the one surface in the house that is
       trying to feel hand-made. Thin, in-register, and it keeps its gutter so the
       cards never shift sideways when a search crosses the overflow threshold. */
#menuView .mini__results { scrollbar-width: thin; scrollbar-color: #3a322a transparent; }
#menuView .mini__results::-webkit-scrollbar { width: 6px; }
#menuView .mini__results::-webkit-scrollbar-track { background: transparent; }
#menuView .mini__results::-webkit-scrollbar-thumb { background: #3a322a; border-radius: 3px; }
#menuView .mini__results::-webkit-scrollbar-thumb:hover { background: #4d4338; }

#menuView .mini__more { display: block; text-align: center; margin-top: 8px; padding-top: 8px;
  border-top: 1px solid #241f1a; color: var(--cx-gold); font-size: 12px; letter-spacing: .02em; text-decoration: none; }
#menuView .mini__more:hover { color: #e0b070; }

/* step aside during the reveal fullview + while the full aperture is opening/open.
   The mini FADES rather than snapping — it used to be a bare visibility flip with no
   transition, and because it stayed hidden through the whole `is-codex-closing` reverb it
   reappeared late and abruptly once that class finally dropped. */
/* (.mini only — the dock keeps its own opacity+transform transition, declared above.) */
#menuView .mini {
  transition: opacity 300ms var(--ease-settle), visibility 0s linear 0s; }
#menuView.menurev.is-fullview .mini, #menuView.menurev.is-fullview .mini-dock,
#menuView.is-codex-open .mini, #menuView.is-codex-open .mini-dock {
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 180ms ease, visibility 0s linear 180ms; }
/* CLOSING: it returns WITH the iris collapsing, not after it — a gentle fade that starts
   early in the close and is settled by the time the seal finishes reverberating. It stays
   click-through until the close completes so nothing is hit mid-animation. */
#menuView.is-codex-closing .mini, #menuView.is-codex-closing .mini-dock {
  opacity: 1; visibility: visible; pointer-events: none;
  transition: opacity 340ms var(--ease-settle) 90ms, visibility 0s linear 90ms; }

@media (prefers-reduced-motion: reduce) {
  #menuView .mini, #menuView .mini__ball, #menuView .mini__panel, #menuView .mini-dock { transition: none !important; }
}

/* BR-S254 — CALM THE ORBS AT REST. The finding nobody was looking for: on M1 the
   FIRST fixation is not the card, it is these two spheres. Measured — cream orb
   L*62.96, chroma 55.54, peak L*95.54 against a field of L*3.17; saliency peak
   1.000 vs the photograph's 0.551; 27x more attention-dense per pixel than the
   whole left column; and blurred, 61% brighter than the word BLUE ROOM. They hold
   the only pure-255 pixels outside the photograph and they are the only lit 3D
   objects on a flat matte page. No amount of card work outranks that, and every
   card treatment made them relatively louder — so calming the card without calming
   these would have handed the page to the orbs instead of to the left column.
   NOTHING IS REMOVED — this is the resting state only, and the whole object returns
   at full strength on hover, on keyboard focus, while being dragged, and whenever
   the codex is open (where the cream orb IS the close button and must be legible).
   The threshold is sharp: at opacity .55 they still won the first fixation, so the
   brightness/saturate pair is doing the real work, not the opacity.
   THE TRANSITION IS REPRODUCED, NOT EXTENDED. Both base rules declare
   `transition: transform var(--orb-out) var(--orb-e-out)` with an explicit "box-shadow
   NEVER transitions" note. A shorthand here would clobber that and kill the hover
   lift, so transform is restated alongside filter and opacity — and box-shadow is
   still absent, deliberately.
   RISK, CHECKED: `filter` creates a stacking context on a z-index:60 element. The
   bloom overlay is a SIBLING at z-index 200 (and the seal is promoted to 210 while
   open), not a descendant, so the codex iris is unaffected — verified by opening it.
   If this ever does disturb the bloom, drop the filter and use opacity: .42 alone,
   which was also measured to move the first fixation off them. */
#menuView .seed,
#menuView .mini__ball {
  opacity: 0.78;
  filter: brightness(0.62) saturate(0.5);
  transition: transform var(--orb-out) var(--orb-e-out),
              opacity   var(--orb-out) var(--orb-e-out),
              filter    var(--orb-out) var(--orb-e-out);
}
#menuView .seed:hover, #menuView .seed:focus-visible,
#menuView .mini__ball:hover, #menuView .mini__ball:focus-visible,
#menuView .mini.is-dragging .mini__ball,
#menuView .mini.is-carry .mini__ball,
#menuView.is-codex-open .seed,
#menuView.is-codex-closing .seed {
  opacity: 1;
  filter: none;
  transition-duration: var(--orb-in);
  transition-timing-function: var(--orb-e-in);
}
@media (prefers-reduced-motion: reduce) {
  #menuView .seed, #menuView .mini__ball { transition: none !important; }
}


/* ============================================================================
   THE CODEX ORBS — "Deep Glass". The two-ball dock (#brCodexDock), injected by
   app.js#syncCodexBall into every room that lacks codex access: the WHITE full-codex
   orb with the smaller ORANGE mini-codex orb above it. Same object as the menu's
   reskinned seal + mini ball.

   PERF CONTRACT: only transform + opacity ever animate. Every shadow and gradient is
   STATIC (rastered once). box-shadow is NEVER transitioned — that was the old repaint-
   per-hover-frame lag. RESTRAINT: nothing is emitted at rest (the old 0 0 22px resting
   bloom is gone), max two hover cues (a lift + a breath of light), the label is a
   hairline caption not a card, 9px gap so the pair reads as ONE object, nothing loops.
   ========================================================================== */
:root {
  color-scheme: dark;        /* belt-and-braces with the <meta>: never let auto-dark re-invert */
  --orb-in: 120ms;                        /* hover-in — answers on the next frame */
  --orb-out: 220ms;                       /* settle */
  --orb-press: 90ms;
  --orb-e-in:  cubic-bezier(.2,.7,.3,1);
  --orb-e-out: cubic-bezier(.4,0,.6,1);
}

#brCodexDock {
  /* BR-S401: lifted so ROOMS can sit beneath it — one right-hand column, not two docks. */
  position: fixed; right: 18px; bottom: clamp(68px, 8.5vh, 82px); z-index: 40;
  display: flex; flex-direction: column; align-items: center;
  gap: 9px;                        /* the pair reads as ONE object */
}

/* The narrow intake scrolls above its controls instead of underneath them. */
@media (max-width: 700px) {
  body[data-view="dev"]:has(#devView .arcane) #devView .arcane { bottom: 64px; }
  body[data-view="dev"]:has(#devView .arcane) #brCodexDock {
    bottom: 10px; right: 104px; flex-direction: row;
    min-height: 44px;
  }
}

.br-ball {
  position: relative; display: block; border-radius: 50%;
  padding: 0; border: none; background: none;
  text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.br-ball--yellow { width: 42px; height: 42px; }
.br-ball--orange { width: 30px; height: 30px; }

/* the glow — the ONE hover cue. Transparent centre: lights the air, not the ball. */
.br-ball::before {
  content: ""; position: absolute; inset: -12px; border-radius: 50%;
  pointer-events: none; opacity: 0;
  transition: opacity var(--orb-out) var(--orb-e-out);
}
.br-ball--yellow::before {
  background: radial-gradient(closest-side,
    rgba(246,232,192,0) 0%, rgba(246,232,192,0) 46%,
    rgba(246,232,192,.26) 64%, rgba(246,232,192,.08) 82%, rgba(246,232,192,0) 100%);
}
.br-ball--orange::before {
  inset: -10px;
  background: radial-gradient(closest-side,
    rgba(238,124,60,0) 0%, rgba(238,124,60,0) 46%,
    rgba(238,124,60,.28) 64%, rgba(238,124,60,.09) 82%, rgba(238,124,60,0) 100%);
}

/* THE SPHERE — static layers, one light (upper-left, ~10 o'clock) */
.br-ball-core {
  display: block; width: 100%; height: 100%; position: relative;
  border-radius: 50%; overflow: hidden;      /* keeps the catchlight inside the silhouette */
  background-repeat: no-repeat;
  transition: transform var(--orb-out) var(--orb-e-out);
}
.br-ball--yellow .br-ball-core {
  background-image:
    /* crescent rim — transparent for 64% of its run, so its outer ring lands as a
       bounce-light arc on the lower-right. A blob at 70%/78% would FLATTEN the ball. */
    radial-gradient(86% 86% at 26% 20%,
      rgba(255,246,220,0) 0%, rgba(255,246,220,0) 64%,
      rgba(255,242,210,.07) 78%, rgba(255,242,212,.34) 92%, rgba(255,248,226,.56) 100%),
    /* body — diffuse peak is NOT white, so the catchlight has somewhere to sit */
    radial-gradient(78% 78% at 33% 27%,
      #faf4e4 0%, #f2e7cb 14%, #e4d2a4 30%, #cfb880 50%,
      #ae9660 70%, #866f40 88%, #a48a58 100%);
  box-shadow:
    inset -2px -3px 8px rgba(44,31,12,.34),
    inset  3px  3px 7px rgba(255,252,240,.13),
    0 1px 2px rgba(0,0,0,.62),
    0 4px 10px rgba(0,0,0,.44),
    0 10px 22px rgba(0,0,0,.28);
}
.br-ball--orange .br-ball-core {
  background-image:
    radial-gradient(86% 86% at 26% 20%,
      rgba(255,200,146,0) 0%, rgba(255,200,146,0) 64%,
      rgba(255,196,140,.07) 78%, rgba(255,192,134,.32) 92%, rgba(255,209,160,.54) 100%),
    radial-gradient(78% 78% at 33% 27%,
      #ffecd4 0%, #ffcb9a 13%, #f59f5b 28%, #eb7832 46%,
      #c85718 68%, #8a370a 89%, #b0551b 100%);
  box-shadow:
    inset -2px -3px 7px rgba(48,17,2,.40),
    inset  2px  2px 6px rgba(255,236,214,.15),
    0 1px 2px rgba(0,0,0,.60),
    0 3px 8px rgba(0,0,0,.42),
    0 8px 18px rgba(0,0,0,.26);
}
/* the catchlight — static transform, static gradient: free at raster.
   No filter: blur() — it mushes at 14px and costs a render surface. */
.br-ball-core::before {
  content: ""; position: absolute; left: 24%; top: 11%; width: 19%; height: 13%;
  border-radius: 50%; transform: rotate(-18deg); pointer-events: none;
  background: radial-gradient(closest-side,
    rgba(255,255,255,.80), rgba(255,255,255,.22) 52%, rgba(255,255,255,0) 78%);
}
.br-ball--orange .br-ball-core::before {
  background: radial-gradient(closest-side,
    rgba(255,251,246,.90), rgba(255,238,220,.26) 46%, rgba(255,238,220,0) 74%);
}

/* the label — a hairline caption, not a card */
.br-ball-tip {
  position: absolute; right: calc(100% + 10px); top: 50%;
  transform: translate3d(5px,-50%,0);
  white-space: nowrap; padding: 2px 0;
  background: none; border: none; color: #a29a89;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px; letter-spacing: .13em; text-transform: uppercase;
  opacity: 0; pointer-events: none;
  transition: opacity var(--orb-out) var(--orb-e-out) 0s,
              transform var(--orb-out) var(--orb-e-out) 0s;
}

/* ---- hover / focus: magnetic, not yippi ---- */
.br-ball:hover .br-ball-core, .br-ball:focus-visible .br-ball-core {
  transform: translate3d(0,-1px,0) scale(1.04);
}
.br-ball:hover::before, .br-ball:focus-visible::before { opacity: 1; }
.br-ball:hover .br-ball-tip, .br-ball:focus-visible .br-ball-tip {
  opacity: 1; transform: translate3d(0,-50%,0);
}
.br-ball:hover::before, .br-ball:hover .br-ball-core, .br-ball:hover .br-ball-tip,
.br-ball:focus-visible::before, .br-ball:focus-visible .br-ball-core,
.br-ball:focus-visible .br-ball-tip {
  transition-duration: var(--orb-in);
  transition-timing-function: var(--orb-e-in);
  transition-delay: 0s;
}
.br-ball:active .br-ball-core {
  transform: translate3d(0,0,0) scale(.96);
  transition-duration: var(--orb-press);
  transition-timing-function: cubic-bezier(.3,0,.7,1);
}
.br-ball:focus-visible { outline: 2px solid rgba(233,229,220,.55); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .br-ball, .br-ball::before, .br-ball-core, .br-ball-core::before, .br-ball-tip {
    transition: none !important; animation: none !important;
  }
  .br-ball:hover .br-ball-core, .br-ball:focus-visible .br-ball-core,
  .br-ball:active .br-ball-core { transform: none !important; }
  .br-ball:hover .br-ball-tip, .br-ball:focus-visible .br-ball-tip {
    transform: translate(0,-50%) !important;
  }
}
@media (hover: none) { .br-ball-tip { display: none; } }

/* ============================================================================
   BR-S290 — THE ORBIT: the room-nav button and its overview.
   Taken from the builder's reference: the whole map present at once, as objects in
   space rather than a list. Left behind: the ASMR audio, the chrome-ball cursor, the
   distorting type — that studio's voice, not this room's.
   COST WHEN CLOSED IS ZERO. The sheet is built on first open and, once built, sits at
   visibility:hidden with pointer-events:none — no paint, no hit-testing, no layer.
   will-change is applied only while .is-open, so no backing store is held at rest
   (the add-then-clear lifecycle from BR-S141).
   COST WHILE OPEN IS TRANSFORM AND OPACITY ONLY. Each plate's ring position is two
   custom properties multiplied by one radius inside a single translate, so the whole
   ring lays out once and animates on the compositor. No backdrop-filter — BR-S270
   measured what that costs. No blur, no shadow animation, no per-frame JS at all:
   the stagger is a CSS transition-delay, not a timer.
   ============================================================================ */
/* BR-S401 — ROOMS moves under the Codex orbs, on the RIGHT. It sat alone in the
   bottom-left while the two orbs sat bottom-right, so the page carried two separate
   floating docks that never spoke to each other. One stack: the orbs, then ROOMS
   beneath them, reading top-to-bottom as one column of ways out. The right offset is
   the orb dock's own 18px, so the two align on their right edge rather than
   approximately; the bottom clears the build flip. */
.orbitbtn {
  /* BR-S402: ROOMS takes the CORNER and the orbs sit above it. Stacking it between
     the orbs and the floor put it across the intake column's rule and its text; the
     corner is the emptiest ground on any page, and 'below the codex ball' is still
     exactly what it is. */
  /* ★ BR-S436 — ROOMS WAS SITTING ON THE GO-RIGHT CONTROL. Measured, not guessed:
     .menu__go--reliq (styles.css:3150) is `right: clamp(12px,2.6vw,40px); bottom:
     clamp(26px,6vh,54px)` and carries its caption, so that group occupies the bottom-
     right corner from y≈26 to y≈90. .orbitbtn was `right:18px; bottom:18px` — the same
     column, overlapping rows. And the right edge is already three-deep: the codex orbs
     sit above it at `bottom: clamp(68px,8.5vh,82px)` (styles.css:5067).
     BR-S402 put ROOMS in "the emptiest ground on any page" — that was true when it was
     written and the corner has since gained an arrow. The LEFT edge at this height is
     genuinely empty: .menu__go--desk ends at y≈90 and nothing else claims it. So ROOMS
     moves across and up, out of every other control's row, and keeps the corner idea. */
  /* ★ BR-S437 — BACK TO THE RIGHT EDGE, UNDER THE CODEX ORBS, CLEAR OF EVERYTHING.
     The builder: "i rather have rooms button under codex but not on anything else."
     That is the original BR-S402 intent — the orbs, then ROOMS beneath them, one
     right-hand column — and the only reason it broke is that the column has three
     tenants and the arithmetic was never redone when the third arrived:
         codex orbs      right 18   bottom clamp(68, 8.5vh, 82)   (styles.css:5067)
         .menu__go--reliq right clamp(12,2.6vw,40)  bottom clamp(26,6vh,54) + caption
         .orbitbtn        right 18   bottom 18       <- inside the arrow's rows
     The arrow group occupies roughly y 26-90 from the bottom. The orbs sit at 68-82
     PLUS their own height, so their top edge is near y 160. ROOMS goes in the gap the
     column actually has: right-aligned, above the arrow, below the orbs.
     BR-S401's note called this "one stack, not two floating docks" — this restores it. */
  /* ★★ BR-S439 — ROOMS JOINS THE COLUMN INSTEAD OF BEING SQUEEZED UNDER IT.
     "not symmetric and properly weighted visually" — correct, and measurable. The orbs
     are a stack with an exact rhythm, read out of their own rules:
         .mini  right: calc(clamp(12px,2.6vw,40px) + 7px)  bottom: calc(--orb-bottom + 54px)  30x30
         .seed  right: clamp(12px,2.6vw,40px)              bottom: var(--orb-bottom)          42x42
     → centres 48px apart, on one vertical axis. ROOMS was anchored to a different edge
     entirely (right:18px) and centred 6.2px off that axis, spaced 63px below instead of
     48 — near enough to look like a mistake, far enough to be one.
     Now it is expressed in the STACK'S OWN TERMS: the same right anchor minus half the
     width difference, so the centres line up at any viewport, and one more 48px step
     down. It is the third object in a column, not a pill parked beneath one. */
  position: fixed;
  right: calc(clamp(12px, 2.6vw, 40px) - 22px);   /* (86 - 42) / 2 — centred on the seal */
  left: auto;
  /* ★ --orb-bottom is declared on #menuView (styles.css:4681) and .orbitbtn is NOT inside
     it — the variable resolved to nothing, calc() became invalid, `bottom` fell back to
     auto and the button flowed to y2310, a full screen below the fold. Measured, which is
     the only reason it was caught: the horizontal was perfect and the vertical was gone.
     A custom property is scoped, and a calc() that references an unset one does not warn —
     it silently drops the whole declaration. So the value is written out here instead of
     borrowed across a scope it cannot see. Keep in step with styles.css:4681 if that moves. */
  /* BR-S441: "i want rooms button more downwards". The 48px stack step put it tight under
     the seal; with the arrows now inboard (BR-S439) the corner below is free, so it drops
     to roughly the floor line the arrows used to sit on. Still on the seal's axis. */
  bottom: calc(clamp(96px, 11vh, 110px) - 74px);
  z-index: 80;   /* BR-S294: ABOVE the sheet — it is the way out as well as the way in */
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 14px 9px 11px;
  /* BR-S402: it was transparent, which was fine in the empty left margin it used to
     live in and is not fine on the right, where it sits over the intake column and the
     text read straight through it. A floating control needs its own ground: the same
     near-opaque floor + blur the build flip uses, so it reads as furniture standing in
     front of the room rather than ink printed on top of it. */
  background: rgba(10, 11, 13, .86); border: 1px solid var(--line); border-radius: 999px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--t-meta); cursor: pointer;
  transition: color 200ms var(--ease-settle, cubic-bezier(.2,.7,.2,1)),
              border-color 200ms var(--ease-settle, cubic-bezier(.2,.7,.2,1)),
              background-color 200ms var(--ease-settle, cubic-bezier(.2,.7,.2,1)),
              opacity 220ms var(--ease-settle, cubic-bezier(.2,.7,.2,1));   /* BR-S300 M1: the background was the one thing in this feature that popped */
}
.orbitbtn:hover, .orbitbtn:focus-visible { color: var(--t-display); border-color: var(--t-meta); outline: none; }
/* BR-S404 — IT GETS OUT OF THE WAY. A fixed control is over SOMETHING on every page,
   so the fix is not another position: it is that the button stops competing while you
   are reading and comes back the moment you reach for it. Dim and unfilled at rest,
   full and grounded on hover or focus. On the MENU it stays at full strength, because
   there it is not furniture over a room — it is the way through the building. */
.orbitbtn { opacity: .42; }
.orbitbtn:hover, .orbitbtn:focus-visible { opacity: 1; }
body[data-view="menu"] .orbitbtn, html.orbit-open .orbitbtn { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .orbitbtn { transition: none; } }
.orbitbtn__txt { font-family: var(--font-mono); font-size: 9px; letter-spacing: .22em; }
/* the mark IS the concept: a hub with a ring around it, drawn in two dots and a rule */
.orbitbtn__dots { position: relative; width: 13px; height: 13px; }
.orbitbtn__dots::before, .orbitbtn__dots::after {
  content: ""; position: absolute; border-radius: 50%; background: currentColor;
}
.orbitbtn__dots::before { inset: 5px; }
.orbitbtn__dots::after {
  inset: 0; background: none; border: 1px solid currentColor; opacity: .55;
}
body[data-view="menu"] ~ .orbitbtn, .orbitbtn { display: inline-flex; }
/* BR-S297 — THE WAY OUT HAS TO BE VISIBLE ON THE PAPER.  The builder: "button cant be
   seen its all white."  A real defect and my own: the button is painted in the dark
   room's tokens (--t-meta ink on --line hairline), and BR-S292 put a bright sheet
   BEHIND it and BR-S294 raised it ABOVE that sheet to serve as the only way out. Pale
   ink on pale paper is invisible, and an invisible exit on a map you cannot dismiss by
   clicking the paper is a trap, not a nav.
   So while the hub is open the button crosses over to the paper's own palette: the
   deck's ink, a real hairline, and a faint parchment fill so it reads as a control
   sitting ON the sheet rather than a ghost behind it. It also says what it now does —
   the label is swapped to CLOSE by ::after, because the same control changing job
   should change word. */
html.orbit-open .orbitbtn {
  color: #1c150d;
  border-color: rgba(28, 21, 13, 0.30);
  background: rgba(255, 255, 255, 0.55);
}
html.orbit-open .orbitbtn:hover,
html.orbit-open .orbitbtn:focus-visible {
  color: #000; border-color: rgba(28, 21, 13, 0.55); background: rgba(255, 255, 255, 0.85);
}
html.orbit-open .orbitbtn__txt { visibility: hidden; position: relative; }
html.orbit-open .orbitbtn__txt::after {
  content: "CLOSE"; visibility: visible; position: absolute; left: 0; top: 0; white-space: nowrap;
}

.orbit {
  position: fixed; inset: 0; z-index: 70;
  visibility: hidden; pointer-events: none;                 /* closed: no paint, no hit-testing */
}
.orbit.is-open { visibility: visible; pointer-events: auto; }
/* BR-S292 — THE LIGHTBOX.  The builder chose light.  This is now the ONE bright
   surface in the building: you pull it out to see everything at once, and it is
   unmistakably a different place from the room you were standing in — which is the
   point of an overview.  The paper is the deck's own family (#efece4 against
   tarot-v2's #efe9db) so the lightbox and the cards belong to one material world, and
   every mark on it is ink, not glow.  A dark scrim would have been the safe choice and
   would also have made 40px line-drawings almost unreadable; small stroke art needs
   paper. */
.orbit__scrim {
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 42%, #f4f1ea 0%, #efece4 46%, #e2ded3 100%);
  opacity: 0; transition: opacity 320ms var(--ease-settle, cubic-bezier(.2,.7,.2,1));
}
.orbit.is-open .orbit__scrim { opacity: 1; }
.orbit__field { position: absolute; inset: 0; }
/* BR-S313 — the room stops painting while the map covers it. See app.js show().
   visibility, NOT display: layout is preserved, so #about still measures and the
   About plate's travel still lands on the right seat. */
html.orbit-sealed #menuView { visibility: hidden; }
/* BR-S313 — the two layers the field actually moves get their own compositor layer,
   so moving them cannot re-rasterise the plate they sit in. Six elements, only while
   the field is armed, dropped again on disarm — never a standing promotion. */
.orbit.has-field .orbit__mark { will-change: transform; }
/* BR-S300 — .orbit__hub deleted with its glyph: measured at 1440x900 the diamond sat at
   (708,443) and the prime mark's bottom edge at 444 — not an origin marker, an accidental
   rule between the card and its name. The prime plate already IS the centre. */

/* --orbit-r is the ring radius; the plate's own position is cos/sin baked in at build */
/* Tighter than the ring was — the reference CLUSTERS — but not so tight that two
   plates touch: at 25vh the 54px marks brought a pair into contact, and overlapping
   hit areas are a nav bug, not a look. 27.5vh is the last value where every pair
   still clears. Each plate rides --or between .78 and 1.06 of this. */
.orbit__field { --orbit-r: clamp(152px, 27.5vh, 268px); --orbit-rx: var(--orbit-r); --orbit-ry: var(--orbit-r); }
/* BR-S300 — S2, THE ELLIPSE. Width never entered the ring's formula, so a wider monitor
   only grew the void: the constellation measured 591px across a 1425px frame, 41% of it.
   Splitting the radius into rx/ry takes it to 60% with zero overlaps. Scoped to the wing
   A/B, because an ellipse under a ring just makes an oval clock. */
html.orbit-wings .orbit__field { --orbit-rx: clamp(200px, 25.5vw, 368px); --orbit-ry: clamp(150px, 27vh, 243px); }
.orbit__plate {
  /* centred on its ring point by translate(-50%,-50%) rather than by a negative
     margin: the margin assumed every plate was the same height, and a two-line label
     is not, which pushed those plates off the ring by up to 28px. */
  position: absolute; left: 50%; top: 50%;
  width: 132px; margin: 0;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  padding: 14px 10px 12px;
  background: none; border: 0; cursor: pointer; color: #5c503c;
  opacity: 0;
  transform: translate3d(calc(var(--ox) * var(--orbit-rx) * var(--or, 1) * 0.34), calc(var(--oy) * var(--orbit-ry) * var(--or, 1) * 0.34), 0) translate(-50%, -50%) rotate(var(--orot, 0deg)) scale(calc(var(--os, 1) * .96));
  transition: opacity 340ms var(--ease-settle, cubic-bezier(.2,.7,.2,1)) var(--od, 0ms),
              transform 460ms var(--ease-settle, cubic-bezier(.2,.7,.2,1)) var(--od, 0ms),
              color 180ms ease,
              /* BR-S312: `translate` is the RECEDE channel (see .is-detail below). It is
                 listed here, on the resting rule, so the way BACK is eased too — a rule
                 that only exists in the detail state snaps 30px on exit. The field never
                 writes plate translate (it uses scale/rotate there), so there is still
                 exactly one owner. */
              translate 420ms var(--ease-settle, cubic-bezier(.2,.7,.2,1));
}
.orbit.is-open .orbit__plate {
  opacity: 1; will-change: transform;
  transform: translate3d(calc(var(--ox) * var(--orbit-rx) * var(--or, 1)), calc(var(--oy) * var(--orbit-ry) * var(--or, 1)), 0) translate(-50%, -50%) rotate(var(--orot, 0deg)) scale(var(--os, 1));
}
.orbit__plate:hover, .orbit__plate:focus-visible { color: #1c150d; outline: none; }
.orbit.is-open .orbit__plate:hover,
.orbit.is-open .orbit__plate:focus-visible {
  transform: translate3d(calc(var(--ox) * var(--orbit-rx) * var(--or, 1)), calc(var(--oy) * var(--orbit-ry) * var(--or, 1) - 3px), 0) translate(-50%, -50%) rotate(0deg) scale(calc(var(--os, 1) * 1.03));   /* hover straightens it — the one you are pointing at squares up */
  transition-delay: 0ms;
}
/* BR-S309 — WHERE THE FIELD TAKES OVER. When the spring field is armed (.has-field, set
   by app.js only on a fine-pointer, motion-allowed browser that supports the independent
   transform properties) the rule above stands down completely: the plate's `transform`
   goes back to its resting value and the pointer response is carried by `translate` per
   layer, plus `scale` and `rotate` on the plate — none of which are in any transition
   list here, so the springs land on the frame they are written.
   THIS RULE IS THE CONTRACT. Without it the 460ms tween above and the field would both
   own the same plate, which is the exact "two owners for one property" failure the field
   is scoped to avoid. Specificity: 5 classes + :hover, so it beats the 4-class rule it
   suppresses. The suppressed rule is deliberately LEFT IN PLACE — it is the fallback for
   touch, for reduced motion, and for a browser without independent transforms, and in
   every one of those cases .has-field is never added. */
.orbit.has-field.is-open .orbit__plate:hover,
.orbit.has-field.is-open .orbit__plate:focus-visible {
  transform: translate3d(calc(var(--ox) * var(--orbit-rx) * var(--or, 1)), calc(var(--oy) * var(--orbit-ry) * var(--or, 1)), 0) translate(-50%, -50%) rotate(var(--orot, 0deg)) scale(var(--os, 1));
}
/* the plate IS the room's own object now, not an empty frame with a caption. The
   Desk's card, the deck's tarot back, the Shelf's case, U1's descending plates,
   the Codex's open book, Settings' two rules — all from AB_EMBLEMS' own grammar and
   all currentColor, so they take the ink without a second palette. An empty rectangle
   with a label under it is a placeholder pretending to be a system; recognising a
   room by seeing it is the whole reason this arrangement is worth having. */
/* BR-S295 — THE MARKS SPIN IN.  The builder asked for it fast, sleek, satisfying and
   "very optimized, that you could spam open close that room and it will work fine and
   without problem like clockwork."  That last clause is the engineering requirement and
   it dictates the implementation.
   IT IS A TRANSITION, NOT A KEYFRAME ANIMATION.  A @keyframes spin restarts from its
   first frame every time the class flips, so closing mid-arrival snaps the mark back to
   -132deg and then unwinds — the exact seam that makes a rapid toggle feel broken. A
   transition interpolates from the CURRENT computed value, so a close caught halfway
   simply reverses from wherever the mark actually is. Interruptibility is free, and it
   is the whole difference between clockwork and jitter.
   It is also nothing per frame: no JS, no timer, one composited transform on an element
   that is already there. The stagger is transition-delay on open and ZERO on close, so
   the marks arrive in sequence and leave together — a staggered exit reads as hesitation
   when you are dismissing something.
   -132deg and .58 scale: far enough that it reads as a turn rather than a nudge, short
   enough at 300ms that it never delays the map being usable. */
.orbit__mark {
  width: 54px; height: 54px; display: block;
  color: rgba(28, 21, 13, .70);
  transform: rotate(-132deg) scale(.58);
  transition: color 180ms ease,
              transform 300ms var(--ease-settle, cubic-bezier(.2,.7,.2,1));
}
.orbit.is-open .orbit__mark {
  transform: rotate(0deg) scale(1);
  transition-delay: 0ms, calc(var(--od, 0ms) + 120ms);   /* BR-S300 M2: the mark used to finish 120ms before its own plate — punctuation landing before the sentence stopped */
}
.orbit:not(.is-open) .orbit__mark { transition-delay: 0ms; }   /* leave together, never in sequence */
@media (prefers-reduced-motion: reduce) {
  .orbit__mark, .orbit.is-open .orbit__mark { transform: none; transition: color 180ms ease; }
}
.orbit__mark svg { width: 100%; height: 100%; display: block; }

/* ── BR-S311 — THE HALO. ──────────────────────────────────────────────────────
   The direction leans on a halo twice — "extremely light, DEFORMS rather than
   translates" in the field, and "closes around the icon" on click — and the hub had
   none. It is a ::before on the mark rather than a new element for one reason worth
   stating: a halo that is a SIBLING has to be kept centred on the icon by arithmetic,
   and the icon changes size three times (54 / 76 / 128px). As a child it is centred by
   construction and cannot drift, at any size, forever.
   IT IS ENGRAVED, NOT LIT. A 1px ink hairline at low alpha — this is museum paper, and
   a glow would be the first fake light on the sheet.
   INVISIBLE AT REST. The field raises it as you approach and deforms it: `rotate` to
   the pull axis, then an elliptical `scale` along it. That is the "deforms rather than
   translates" instruction taken literally — it is the one layer that never moves. */
.orbit__mark { position: relative; }
.orbit__mark::before {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(28, 21, 13, .34); border-radius: 50%;
  pointer-events: none;
  opacity: var(--haloo, 0);
  rotate: var(--halor, 0deg);
  scale: var(--halosx, 1.5) var(--halosy, 1.5);   /* the unset fallback IS the field's rest value — one number, two places, and they must agree */
}
/* THE DISARM WINDOW. While the field is armed the halo must land on the frame it is
   written, so it carries no transition at all. The moment the field lets go — a plate
   going on display, touch, reduced motion — these become the only thing moving it, and
   they are what makes the close read as a closing rather than a cut. Scoped to
   :not(.has-field) so the two can never both be true. */
.orbit:not(.has-field) .orbit__mark::before {
  transition: opacity 260ms var(--ease-settle, cubic-bezier(.2,.7,.2,1)) 60ms,
              scale 300ms var(--ease-settle, cubic-bezier(.2,.7,.2,1)) 60ms,
              rotate 220ms var(--ease-settle, cubic-bezier(.2,.7,.2,1)) 60ms;
}
/* CLOSES AROUND THE ICON — step three of the click sequence. Not a fade: it contracts
   from 1.5x to 1.06x, so it ends as a ring the icon is wearing rather than a ring the
   icon happens to be inside. Written as literals, not var()s, so it holds whether the
   field was ever armed — this beat has to exist on a phone too. */
.orbit__plate.is-display .orbit__mark::before { opacity: .55; rotate: 0deg; scale: 1.06; }
@media (prefers-reduced-motion: reduce) {
  .orbit__mark::before { transition: none; }
}
.orbit__plate:hover .orbit__mark, .orbit__plate:focus-visible .orbit__mark { color: #1c150d; }
.orbit__label {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase;
  line-height: 1.5; text-align: center;
}
/* BR-S293 — THE DESTINATION HOLDS THE CENTRE.  My first pass argued that a scatter's
   virtue was having no hierarchy — no first row, no top-left.  That is true of a
   constellation and wrong for a NAV.  There IS a room most people want, and the map
   should say so with position and size rather than make you read six labels to find
   it.  Rank 0 takes the centre at 1.3x with no jitter; the rest ring it in rank order,
   clockwise from the top, with half the previous wander.  Placed, not thrown.
   Post-pivot the Reading Rooms sell first, and someone who opens a map wants to LEAVE
   where they are — so the likeliest destination gets the easiest target, not the room
   they are already standing in. */
.orbit__plate--prime { width: 190px; z-index: 2; }
.orbit__plate--prime .orbit__mark { width: 76px; height: 76px; color: #1c150d; }
.orbit__plate--prime .orbit__label { font-size: 11px; letter-spacing: .2em; color: #1c150d; }
.orbit__plate--prime::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 168px; height: 168px; margin: -84px 0 0 -84px;
  border: 1px solid rgba(28, 21, 13, .13); border-radius: 50%;
  pointer-events: none;
  /* BR-S309 — the ORNAMENT layer of the field: the lightest thing on the sheet, so it
     travels furthest and settles last. A pseudo-element cannot take an inline style,
     so this is the one layer the field moves by custom property; unset it reads 0. */
  translate: var(--ornx, 0px) var(--orny, 0px);
}
/* meaning: a name says what a room is CALLED, this says what it is for */
.orbit__sub {
  font-family: var(--font-display); font-style: italic; font-size: 11.5px;
  line-height: 1.35; text-align: center; color: #635641; max-width: 15em;   /* BR-S300 U1: 5.51:1 -> 6.06:1 on the paper, still a step below the label */
}
/* BR-S294 — ON DISPLAY. Taken from the reference's video, which I had not watched when
   I built the first version: clicking a card does not navigate, it brings that card UP
   as the big box on the sheet, and clicking the paper puts it back down. It is better
   nav than firing on the first touch, because you get to inspect a room before
   committing to leave for it.
   The displayed plate is enlarged by SIZE, not by scale() — a scaled label is a
   softened label, and this one has to be read. The rest of the constellation recedes
   rather than disappearing, so you never lose the map you are standing in. */
/* ── BR-S311 — CLICK HAS CONSEQUENCE, IN ORDER. ───────────────────────────────
   The direction gives the click as a SEQUENCE, not a state change: the node goes
   still ~80ms, decorative geometry contracts inward, the halo closes around the icon,
   the other nodes lose contrast and recede, the node drifts to exact centre, and its
   icon grows into the destination. Every one of those beats already existed here as
   part of .is-display — they all fired on the same frame, which is why it read as a
   switch being thrown rather than as a consequence.
   Nothing below is a new mechanism. It is the same set of transitions with the
   ORDER written down: the 80ms stillness is a real pause in app.js, and these delays
   space the rest. Total 80 + 90 + 460 = 630ms to settled, against 460ms before —
   two beats slower and the whole reason the gesture reads.
   The two-press ladder is untouched: this is what the FIRST press now looks like. */
.orbit.is-detail .orbit__plate { opacity: .18; pointer-events: none; transition-delay: 40ms; }   /* 3 — the field loses contrast around what you chose */
/* ── BR-S312 — NOTHING MAY LAND ON TOP OF ANYTHING. ───────────────────────────
   THE BUG, exactly: a displayed plate travels to `translate(-50%,-50%)` — dead centre
   — and the PRIME plate is already at dead centre, because `--ox:0; --oy:0` is what
   makes it the prime. So every first press stacked two complete plate designs on the
   same spot, the one underneath still painting at .18. It was not a z-index problem
   and raising z-index would not have fixed it: two things were in one place.
   "The other nodes RECEDE" is the direction's own word and it is also the fix. The
   ring pushes 30px further out along each plate's OWN angle — one line, because every
   plate already carries its unit vector as --ox/--oy — which clears the centre and
   reads as the field opening to make room rather than dimming politely in place.
   THE PRIME IS THE EXCEPTION, AND IT HAS TO BE. Its vector is (0,0): it cannot recede
   outward because it has no outward. It is the centre. So when it is not the plate you
   chose it leaves entirely rather than lying underneath at .18 — the only honest answer
   for an object whose position is the one the arriving plate needs. */
@media (min-width: 720px) {
  /* 56px, and the number is measured, not chosen. BR-S313 made the displayed plate open
     WHERE IT STANDS at 300px wide, so it no longer lands on the prime — but it does now
     grow into its own neighbours. Swept 30/44/56/68/80px against every plate displayed in
     turn, at 852x906 and 1440x900: 30px still left one collision (Settings), 44px was the
     first clean value, 56px is that with a margin, and nothing leaves the viewport at any
     of them. */
  .orbit.is-detail .orbit__plate:not(.is-display) {
    translate: calc(var(--ox) * 56px) calc(var(--oy) * 56px);
  }
}
.orbit.is-detail .orbit__plate--prime:not(.is-display) { opacity: 0; }
.orbit.is-detail .orbit__plate.is-display { opacity: 1; pointer-events: auto; z-index: 3; }
/* ── BR-S313 — IT OPENS WHERE IT IS. ─────────────────────────────────────────
   Builder: "clicked don't need to go center." Correct, and it was costing on both
   counts. The travel WAS the crash — a plate arriving at dead centre lands on the
   prime, which lives there — and it was the longest single move on the sheet: a
   460ms transform across the whole field on every first press, for a plate that was
   already somewhere you were looking at.
   Opening in place is also the truer gesture. A map that moves the thing you pointed
   at makes you re-find it; a plate that grows where your eye already is stays the
   same object. It keeps its ring position and gives up only its jitter — the tilt and
   the scale wander — because those are what say "one of many", and it is not one of
   many any more. */
.orbit .orbit__plate.is-display {
  width: 300px;
  transform: translate3d(calc(var(--ox) * var(--orbit-rx) * var(--or, 1)), calc(var(--oy) * var(--orbit-ry) * var(--or, 1)), 0) translate(-50%, -50%) rotate(0deg) scale(1);
  transition-delay: 90ms;
}
.orbit__plate.is-display .orbit__mark { width: 128px; height: 128px; color: #1c150d; transform: rotate(0deg) scale(1); }
/* 5 — BR-S312: THE ICON'S GROWTH IS BACK TO INSTANT, ON PURPOSE. BR-S311 transitioned
   the mark's width and height so it would "grow into the destination". width and height
   are LAYOUT properties: that animation relaid out a 128px box inside a 300px flex
   column every frame for 320ms, and it re-flowed the label and the meaning under it on
   each of those frames — the single least smooth thing on this sheet, added by me, one
   commit ago. The beat is not worth a layout animation. The arrival is already carried
   by the plate's composited travel and the halo closing around the icon; the size lands
   with the rest of the layout, exactly as it did for every version before S311. */
.orbit__plate.is-display .orbit__label { font-size: 12.5px; letter-spacing: .22em; color: #1c150d; }
.orbit__plate.is-display .orbit__sub { font-size: 15px; color: #4b4133; max-width: 17em; }
/* 2 — BR-S311: "decorative geometry contracts inward". It used to only fade, which is a
   thing being switched off; contracting is a thing being drawn in. `translate` stays out
   of the transition list — that is the field's channel and it must never be tweened. */
.orbit__plate--prime::after {
  transition: opacity 240ms ease,
              scale 260ms var(--ease-settle, cubic-bezier(.2,.7,.2,1));
}
.orbit.is-detail .orbit__plate--prime::after { opacity: 0; scale: .78; }
/* the second press is the one that travels, so it has to be visible */
.orbit__enter {
  margin-top: 4px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .22em;
  /* BR-S300 U2 — the violet comes OFF free navigation. Violet is the kept/paid register,
     spent sparingly, and it was sitting on the go-affordance of Settings, About and the
     Codex. It also measured 3.57:1 on paper, failing AA on the one control that travels.
     Ink is 17.2:1 and the arrow already carries the affordance. Not copper (2.48:1). */
  text-transform: uppercase; color: #1c150d;
  opacity: 0; transform: translateY(-3px);
  /* BR-S311: 60ms -> 320ms. The invitation to travel is the LAST beat of the sequence —
     it used to appear while the plate was still crossing the sheet, which asked for the
     second press before the first had finished answering. */
  transition: opacity 240ms var(--ease-settle, cubic-bezier(.2,.7,.2,1)) 320ms,
              transform 240ms var(--ease-settle, cubic-bezier(.2,.7,.2,1)) 320ms;
}
.orbit__plate.is-display .orbit__enter { opacity: 1; transform: none; }

.orbit__plate--prime .orbit__sub { font-size: 13px; color: #5c503c; }

@media (prefers-reduced-motion: reduce) {
  .orbit__scrim, .orbit__plate, .orbit__enter, .orbit__plate--prime::after { transition: none; }
  .orbit__enter { transform: none; }
  .orbit__plate { transform: translate3d(calc(var(--ox) * var(--orbit-rx) * var(--or, 1)), calc(var(--oy) * var(--orbit-ry) * var(--or, 1)), 0) translate(-50%, -50%) rotate(var(--orot, 0deg)) scale(var(--os, 1)); }
}

/* ============================================================================
   BR-S300 — PHONE: below 720px the polar layout is abandoned, not retuned.
   It is not mistuned, it is OVER-SUBSCRIBED, and the constraint set is provably
   empty: a satellite must clear the 190px prime (r >= 161px) and stay on a 390px
   screen (r <= 129px). 161 > 129. A radius sweep confirms it — at 27.5vh four
   plates render off-screen; at 15.5vh none do but twelve pairs overlap and a tap
   on About's mark hit-tests to The Reading Rooms. No value of --orbit-r both fits
   and clears, so the arrangement changes rather than its numbers.
   WHAT SURVIVES THE TRIP: rank order top-to-bottom, the prime holding the first
   full-width row, the +-3.5deg rotation, the 26ms stagger, hover-straightens, the
   two-step display ladder, the paper, and every string. What does not: the polar
   arrangement, the ellipse, the wing rule, the prime's hairline ring, the 54/76px
   marks and the radius jitter.
   THREE TRAPS, all of them real:
   1. SPECIFICITY. `.orbit.is-open .orbit__plate` is (0,3,0) and a media query adds
      nothing — a bare `.orbit__plate` loses and the polar translate3d still applies
      on top of the grid. Every transform rule below is prefixed `.orbit` AND paired
      with `.orbit.is-open`.
   2. The entrance must not be spent on the stagger: the visual offset rides
      margin-top (layout) so translateY stays free to carry the arrival, or the open
      degrades to a pure opacity fade and the --od cascade animates nothing.
   3. Rotation costs width. At 100% wide, +-3.5deg pushed Settings to x -8; 90% plus
      14px padding buys it back and keeps the rotation, which is the entire reason
      this still reads as scattered objects rather than a settings list.
   ============================================================================ */
@media (max-width: 719px) {
  .orbit .orbit__field {
    display: grid; grid-template-columns: 1fr 1fr;
    align-content: start; justify-items: center;
    gap: 8px 10px; padding: 30px 14px 0; overflow-y: auto;
  }
  .orbit .orbit__plate, .orbit.is-open .orbit__plate {
    position: static; width: 90%;
    transform: translateY(10px) rotate(var(--orot, 0deg));
  }
  .orbit.is-open .orbit__plate { transform: translateY(0) rotate(var(--orot, 0deg)); }
  .orbit .orbit__plate:not(.orbit__plate--prime):nth-child(even) { margin-top: 14px; }
  .orbit .orbit__plate--prime, .orbit.is-open .orbit__plate--prime {
    grid-column: 1 / -1; width: 290px; transform: none; margin-top: 0;
  }
  .orbit .orbit__mark { width: 44px; height: 44px; }
  .orbit .orbit__plate--prime .orbit__mark { width: 58px; height: 58px; }
  .orbit .orbit__sub { max-width: none; font-size: 11px; }
  /* at grid-column 1/-1 the 168px ring no longer encloses a 290px plate; it would
     draw a circle through the mark */
  .orbit .orbit__plate--prime::after { display: none; }
}

/* ============================================================================
   U1 — WHAT IS OPEN, AND WHAT IS STILL BEING MADE          BR-S366

   Replaces the .about__ rail (BR-S251). The markup is emitted by renderAbout()
   from the ROOMS registry in app.js; nothing here knows what state a room is in
   except through the class the registry produced.

   THE OLD .about__ BLOCK ABOVE IS NOW DEAD and is left for a dedicated sweep
   rather than removed blind — this file has already lost one rule to a comment
   that closed early (BR-S360), and a 100-line delete is exactly where that
   happens again.

   STATUS IS NEVER COLOUR ALONE. Every chip carries a SHAPE and a WORD as well
   as its ink (WCAG 1.4.1), and the columns lighten left to right so priority is
   readable without reading — but the lightening is decoration on top of the
   label, never the label itself.
   ========================================================================== */
.u1 { max-width: min(1180px, 94vw); margin: 0 auto; padding: 30px 0 40px; }

.u1head__eyebrow { font-family: var(--font-mono); font-size: 9.5px; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.u1head__mark { color: var(--gold, #c9a35c); }
.u1head__title { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 600; line-height: 1.04; letter-spacing: -.01em; color: var(--t-display, #e9e5dc);
  margin: 0 0 16px; }
.u1head__ident { font-family: var(--font-display); font-size: 21px; line-height: 1.5;
  color: var(--silver, #c8c4bb); margin: 0 0 12px; max-width: 34em; }
.u1head__spec { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin: 0; }
.u1head__d { color: #4a463f; margin: 0 8px; }
.u1head__free { color: #7f9a86; }
.u1head__paid { color: #8a72c4; }

.u1sect { margin-top: 40px; padding-top: 40px; border-top: 1px solid rgba(233, 229, 220, .13); }
.u1sect__head { display: flex; align-items: baseline; gap: 12px; margin: 0 0 6px; }
.u1sect__mark { font-size: 12px; color: var(--gold, #c9a35c); }
.u1sect__mark--quiet { color: var(--muted); }
.u1sect__t { font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--t-display, #e9e5dc); margin: 0; }
.u1sect__lede { font-family: var(--font-display); font-size: 18px; line-height: 1.5;
  color: var(--muted); margin: 0 0 22px; max-width: 44em; }

/* the doors. auto-fit so a room that opens just joins the row — and per-card
   borders rather than a painted container, so an incomplete last row leaves no
   visible holes however many rooms there are. */
.u1doors { list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 14px; }
.u1door { background: #0d0e11; border: 1px solid rgba(233, 229, 220, .11);
  padding: 18px 20px 18px; display: flex; flex-direction: column; gap: 9px; min-height: 224px; }
.u1door__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.u1door__ord { font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em; color: #5d584f; }
.u1door__emblem { display: block; width: 30px; height: 30px; color: var(--gold, #c9a35c); opacity: .75; }
.u1door__emblem svg { width: 100%; height: 100%; display: block; }
.u1door__name { font-family: var(--font-display); font-size: 23px; line-height: 1.12;
  color: var(--t-display, #e9e5dc); margin: 0; }
.u1door__line { font-family: var(--font-display); font-size: 17px; line-height: 1.45;
  color: var(--muted); margin: 0; flex: 1; }
.u1door__cost { font-family: var(--font-mono); font-size: 9px; letter-spacing: .13em;
  text-transform: uppercase; color: #6f6a61; margin: 0; }
.u1door__go { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--silver, #c8c4bb); text-decoration: none;
  border-bottom: 1px solid rgba(200, 196, 187, .3); padding-bottom: 2px; align-self: flex-start;
  transition: color 180ms ease, border-color 180ms ease; }
.u1door__go:hover { color: var(--t-display, #e9e5dc); border-bottom-color: rgba(233, 229, 220, .7); }

.u1chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono);
  font-size: 8.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid; border-radius: 2px; padding: 3px 7px 2px; white-space: nowrap; }
.u1chip--open  { color: #8fae99; border-color: rgba(143, 174, 153, .42); }
.u1chip--bench { color: #c9a35c; border-color: rgba(201, 163, 92, .40); }
.u1chip--drawn { color: #9a94b8; border-color: rgba(154, 148, 184, .34); }
.u1chip--named { color: #7c766c; border-color: rgba(124, 118, 108, .30); }

.u1board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; }
.u1col__head { display: flex; align-items: baseline; gap: 9px; margin: 0 0 4px; flex-wrap: wrap; }
.u1col__mark { font-size: 11px; }
.u1col__h { font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; margin: 0; }
.u1col__lede { font-family: var(--font-display); font-size: 16.5px; line-height: 1.45;
  margin: 0 0 20px; min-height: 74px; }
.u1col__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.u1item__t { font-family: var(--font-display); font-size: 20px; line-height: 1.18; margin: 0 0 4px; }
.u1item__d { font-family: var(--font-display); font-size: 16.5px; line-height: 1.45; margin: 0; }

.u1col--bench .u1col__mark { color: #c9a35c; }
.u1col--bench .u1col__h { color: var(--t-display, #e9e5dc); }
.u1col--bench .u1col__lede, .u1col--bench .u1item__d { color: var(--muted); }
.u1col--bench .u1item__t { color: #dcd7cd; }
.u1col--drawn .u1col__mark { color: #9a94b8; }
.u1col--drawn .u1col__h { color: var(--silver, #c8c4bb); }
.u1col--drawn .u1col__lede, .u1col--drawn .u1item__d { color: #7c766c; }
.u1col--drawn .u1item__t { color: #bdb8ae; }
.u1col--named .u1col__mark { color: #6f6a61; }
.u1col--named .u1col__h { color: #9b968d; }
.u1col--named .u1col__lede, .u1col--named .u1item__d { color: #6b665e; }
.u1col--named .u1item__t { color: #96918a; }

.u1foot { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(233, 229, 220, .10);
  display: flex; align-items: center; gap: 12px; }
.u1foot__line { font-family: var(--font-display); font-size: 17px; color: #7c766c; margin: 0; }
.u1foot__seal { color: var(--gold, #c9a35c); font-size: 11px; opacity: .8; }

@media (max-width: 900px) {
  .u1board { grid-template-columns: 1fr; gap: 34px; }
  .u1col__lede { min-height: 0; }
}

/* ── BR-S367 · TWO REGISTERS ON ONE PAGE ──────────────────────────────────────
   The builder's read, and it is the right one: the page should not be written in
   one voice. What is OPEN is finished and should feel pressed and solid. What is
   COMING is a notebook — ideas as they are actually formed here, written down in
   the working. So the lower half stops pretending to be a product grid and owns
   being a scribble, and the contrast between the two halves does the work that a
   status label alone was doing.

   The rule that keeps this honest: the scribble is a MATERIAL, never a hedge. It
   is set with the same care as the finished half — the hand margin is on a datum,
   the italic is large enough to read, and every colour still clears 4.5:1. A note
   that looks careless reads as a plan that is careless.
   ────────────────────────────────────────────────────────────────────────────── */

/* ── FINISHED. A door is a pressed plate, not a bordered div. ─────────────── */
/* ── THE PLATE. One material, wherever a finished room is offered. ──────────
   BR-S371: the ROOMS panel's door tiles and U1's open doors are the same object
   said twice — a room you can walk into, now. So they are one rule with two
   selectors rather than two rules that drift, which is the fault this whole
   registry pass exists to stop. Anything that becomes a door later joins this
   list and inherits the material for free. */
.u1door,
#menuView .menu__door {
  background:
    linear-gradient(168deg, rgba(220, 215, 203, .045) 0%, rgba(220, 215, 203, 0) 46%),
    linear-gradient(#101216, #0c0d10);
  border: 1px solid rgba(220, 215, 203, .16);
  box-shadow:
    inset 0 1px 0 rgba(220, 215, 203, .07),          /* the lit top edge */
    inset 0 -1px 0 rgba(0, 0, 0, .5),                /* the shadowed sill */
    0 1px 0 rgba(0, 0, 0, .45);
  position: relative;
}
/* the engraved inner line — what makes a plate read as stock rather than a box */
.u1door::after,
#menuView .menu__door::after {
  content: ""; position: absolute; inset: 5px; pointer-events: none;
  border: 1px solid rgba(220, 215, 203, .05);
  border-radius: inherit;
}
.u1door__ord { color: #6d675c; }
.u1door__emblem { opacity: .9; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .6)); }
.u1door__name { text-shadow: 0 1px 0 rgba(0, 0, 0, .55); }
.u1door__cost { color: #78726a; }
/* the open chip stays a hard-edged stamp: the finished half is stamped, the
   coming half is annotated, and the two never borrow each other's form */
.u1chip--open { background: rgba(143, 174, 153, .07); }

/* ── THE NOTEBOOK. Everything below the second rule. ──────────────────────── */
/* the hand margin: one ruled line per column, on the same datum as the text it
   holds. Fading at both ends so it reads as drawn, not as a table border. */
.u1sect--made .u1col { position: relative; padding-left: 20px; }
.u1sect--made .u1col::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 6px; width: 1px;
  background: linear-gradient(rgba(233, 229, 220, 0), rgba(233, 229, 220, .16) 8%,
              rgba(233, 229, 220, .16) 88%, rgba(233, 229, 220, 0));
}
/* the horizon label is a pencil annotation, so its chip loses the box the open
   stamp keeps — same information, a different hand */
.u1sect--made .u1chip {
  border: 0; padding: 0; font-family: var(--font-display); font-style: italic;
  font-size: 14px; font-weight: 500; letter-spacing: .01em; text-transform: none;
}
.u1col__lede { font-style: italic; }
/* the item body is handwriting; the title stays upright so the eye can still
   scan the list. 16.5px italic is the floor at which this stays comfortable */
.u1item__d { font-style: italic; }
.u1item { position: relative; }
/* a struck-in margin tick beside each note, the mark you make next to a line you
   mean to come back to */
.u1item::before {
  content: ""; position: absolute; left: -20px; top: .62em; width: 7px; height: 1px;
  background: currentColor; opacity: .28;
}
.u1col--bench .u1item::before { opacity: .5; }

@media (prefers-reduced-motion: no-preference) {
  .u1door__go { transition: color 180ms ease, border-color 180ms ease; }
}

/* BR-S368: the board's tracks follow the columns that actually rendered — an
   empty horizon does not render a heading, and a three-track grid holding two
   columns leaves a hole where the third used to be. The measure is capped at a
   third of the column either way, so a two-column board does not stretch its
   lines to twice the length the three-column one reads at. */
.u1board[data-cols="1"] { grid-template-columns: minmax(0, 380px); }
.u1board[data-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 790px; }

/* BR-S371: THE PROFILE DOOR CARRIES MORE WEIGHT THAN ITS NEIGHBOURS.
   The builder's reason is frequency, not hierarchy: this is the door a returning
   visitor opens most, and it was sitting in a rail of three identical pills with
   Settings. It keeps the rail's shape — three pills still read as one group — but
   gains a lit edge, a brighter ink and more room to hit. The other two are
   unchanged, so the difference is legible without a legend. */
#menuView .menu__codex--reliq {
  border-color: rgba(220, 215, 203, .30);
  background: linear-gradient(rgba(220, 215, 203, .05), rgba(220, 215, 203, .015));
  box-shadow: inset 0 1px 0 rgba(220, 215, 203, .07);
  color: var(--t-display);
  padding-block: 11px;          /* a taller hit target on the door most often used */
}
#menuView .menu__codex--reliq .menu__codex__mark { color: var(--gold, #c9a35c); }
#menuView .menu__codex--reliq:hover { border-color: rgba(220, 215, 203, .5); }

/* BR-S397 — THE LEAK STRIP. Three crops of a card that already exists, under the one
   forward entry whose claim is that it already exists.
   The strip is DIM AT REST and comes up on hover of the whole item, because the
   forward column is a quiet list and a bright picture in it would outrank every
   working room in the column beside it. The fragments are cropped, never scaled down
   whole: a shrunken card reads as a screenshot of a feature, a fragment reads as an
   object only partly visible from here. Nothing animates but opacity. */
/* BR-S398 — ONE FRAGMENT, AND IT IS THE DOOR. Small enough to be FOUND rather than
   shown: 62px in a column of prose, dim, unlabelled, sharing the entry's own left
   margin so it reads as part of the item and not as an image block. It brightens on
   its own hover — not the item's — because a thing you find should answer to being
   touched, not to being passed. The asset is cut to 3:2 at source; the first pass let
   `object-fit` do the framing and sliced "BR-003-FSH-0001" to "BR-003-FS", which reads
   as a bug rather than a crop. Where a picture is cut is a decision, and it belongs in
   the file that makes the picture. */
/* BR-S399: a <button> that must not look or behave like one — no fill, no padding, no
   label. Open, it lights and grows a LITTLE (62 → 108px) so it can be read; it never
   leaves the column and never goes full screen. Width is the only geometry that moves,
   and the entries below shift by the difference — 30px once, on a deliberate press,
   which is a different thing from a page that jumps at you. */
.u1leak { display: inline-block; margin-top: 12px; border-radius: 2px; line-height: 0;
  padding: 0; border: 0; background: none; cursor: pointer; }
.u1leak__f--next { display: block; }
.u1leak__f[hidden] { display: none; }   /* explicit display beats [hidden] — BR-S381/385/395 */
/* the turn-target, drawn only while open: a hairline down the right edge saying where
   the next frame lives. Never a chevron — the fragment is not a carousel. */
.u1leak__turn { display: none; }
/* ★★ BR-S432 — THE FRAGMENT OPENS AS A POPUP, NOT IN PLACE. The builder: "the what
   coming the forge, photo snippet should be pop up so you can actually see with blurred
   backround and cllicking sides dismisses it."
   BR-S399 made it view-only and 108px so it could never grow past its own size and push
   the column around. That constraint was about the COLUMN, and a fixed overlay does not
   touch the column at all — so the thing it was protecting is not at risk. What survives
   from BR-S399 is the part that mattered: it still navigates nowhere and opens nothing,
   it is only larger. Right edge still turns to the next frame; anywhere else dismisses.
   The blur is the same recipe the ROOMS sheet and the What's-coming popup use, so the
   house has ONE way of putting something in front of you. */
.u1leakbox { position: fixed; inset: 0; z-index: 240; display: flex; align-items: center;
  justify-content: center; opacity: 0; pointer-events: none; transition: opacity 200ms ease; }
.u1leakbox.is-in { opacity: 1; pointer-events: auto; }
.u1leakbox__scrim { position: absolute; inset: 0; background: rgba(8, 9, 11, .66);
  backdrop-filter: blur(14px) saturate(.9); -webkit-backdrop-filter: blur(14px) saturate(.9); }
.u1leakbox__fig { position: relative; margin: 0; max-width: min(78vw, 900px); max-height: 82vh;
  border: 1px solid rgba(233, 229, 220, .16); border-radius: 3px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .7); cursor: pointer; }
.u1leakbox__fig img { display: block; width: 100%; height: auto; max-height: 82vh; object-fit: contain; }
.u1leakbox__cap { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 10px 14px;
  font-family: var(--font-mono, monospace); font-size: 9px; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(233, 229, 220, .72);
  background: linear-gradient(to top, rgba(8, 9, 11, .82), transparent); }
@media (prefers-reduced-motion: reduce) { .u1leakbox { transition: none; } }
.u1leak.is-open { position: relative; }
.u1leak.is-open .u1leak__turn {
  display: block; position: absolute; top: 6px; right: 0; bottom: 6px; width: 42%;
  border-right: 1px solid rgba(201, 163, 92, .55);
  pointer-events: none;
}
.u1leak.is-open .u1leak__f { width: 108px; opacity: 1; filter: none; border-color: var(--gold, #c9a35c); }
.u1leak__f {
  display: block; width: 62px; aspect-ratio: 3 / 2; height: auto;
  object-fit: cover; border-radius: 2px;
  border: 1px solid rgba(220, 215, 203, .10);
  opacity: .34; filter: saturate(.68);
  transition: opacity .22s ease, border-color .22s ease;
}
.u1leak:hover .u1leak__f, .u1leak:focus-visible .u1leak__f {
  opacity: .92; border-color: var(--gold, #c9a35c);
}
.u1leak:focus-visible { outline: none; }
@media (prefers-reduced-motion: reduce) { .u1leak__f { transition: none; } }

/* BR-S381 — THE THIRD TRACK: two boxes beside the horizons, and the room they open.
   A horizon column is a bare list on a ruled spine. These are BORDERED — that single
   difference is what stops "your idea" reading as a planned feature. Same row, same
   width, different kind of object. */
.u1aside { display: flex; flex-direction: column; gap: 14px; }
.u1box {
  display: block; text-decoration: none;
  padding: 16px 16px 14px; border-radius: 4px;
  border: 1px solid rgba(220, 215, 203, .12);
  background: linear-gradient(rgba(220, 215, 203, .028), rgba(220, 215, 203, .008));
  transition: border-color .2s ease, background .2s ease;   /* never box-shadow — BR-S141 */
}
.u1box:hover, .u1box:focus-visible { border-color: rgba(220, 215, 203, .30); outline: none; }
.u1box__k {
  display: block; font-family: var(--font-mono, monospace);
  font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold, #c9a35c); margin-bottom: 9px;
}
.u1box__t { font-family: var(--font-display, serif); font-size: 19px; color: var(--t-display, #e9e5dc); margin: 0 0 6px; }
.u1box__d { font-family: var(--font-display, serif); font-size: 15px; font-style: italic; line-height: 1.5; color: #8c867b; margin: 0 0 12px; }
/* BR-S383: the box is no longer the link — it holds them, because there can now be
   two doors inside one box. The primary keeps its weight; the second is a rule-topped
   afterline that only exists for someone already inside, so it must not compete. */
.u1box__go { display: block; font-family: var(--font-mono, monospace); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: #b9b3a8; text-decoration: none; }
.u1box__go:hover, .u1box__go:focus-visible { color: var(--gold-lit, #c9a35c); outline: none; }
                                                                                    
                                                                                    
                                                                                     
                                        
                                                                                      
                                                                                       
                                                                 
                                                                                      
                                                                                
.u1box--vision { position: relative; cursor: pointer; }
.u1box__go::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.u1box--vision:hover .u1box__go { color: var(--gold-lit, #c9a35c); }
.u1box__more { position: relative; z-index: 1; }
.u1box__more {
  display: block; margin-top: 13px; padding-top: 12px;
  border-top: 1px solid rgba(220, 215, 203, .09);
  font-family: var(--font-display, serif); font-size: 14.5px; font-style: italic;
  color: #8c867b; text-decoration: none;
}
.u1box__more:hover, .u1box__more:focus-visible { color: var(--t-display, #e9e5dc); outline: none; }

                                             
/* BR-S404 — protocol §5: measure in `ch`, not `rem`. rem tracks root font-size and
   drifts; ch is the thing the eye actually reads. 66ch for the manifesto, because
   narrow is part of the argument. */
.vis { max-width: 66ch; margin: 0 auto; padding: 40px 22px 96px; text-align: left; }
/* ★ THE PAGE PHYSICALLY OPENS AT THE MOMENT IT ASKS YOU TO PARTICIPATE, and closes
   again to say goodbye. The best idea in the audit, kept verbatim in intent. */
.vispost { max-width: 84ch; margin-left: auto; margin-right: auto; }
.visgive { max-width: 66ch; margin-left: auto; margin-right: auto; }
.visgive__use {
  font-family: var(--font-display, serif); font-size: 16px; line-height: 1.6;
  color: #8c867b; margin: 16px 0 0; max-width: 46ch;
}
.vis__top { margin-bottom: 44px; }
.vis__back { font-family: var(--font-mono, monospace); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: #8c867b; text-decoration: none; }
.vis__back:hover { color: var(--t-display, #e9e5dc); }
.vis__eyebrow { font-family: var(--font-mono, monospace); font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold, #c9a35c); margin: 0 0 14px; }
.vis__h1 { font-family: var(--font-display, serif); font-size: clamp(30px, 4.4vw, 44px); font-weight: 400; color: var(--t-display, #e9e5dc); margin: 0 0 26px; line-height: 1.1; }
.vis__h { font-family: var(--font-display, serif); font-size: 24px; font-weight: 400; color: var(--t-display, #e9e5dc); margin: 0 0 8px; }
.vis__lede { font-family: var(--font-display, serif); font-size: 16.5px; font-style: italic; line-height: 1.6; color: #8c867b; margin: 0 0 22px; max-width: 56ch; }
.vis__p { font-family: var(--font-display, serif); font-size: 17.5px; line-height: 1.68; color: #c8c4bb; margin: 0 0 18px; max-width: 62ch; }
.vis__p--empty { color: #8c867b; font-style: italic; }
/* BR-S393 — the three divisions. Quiet on purpose: a rule, a gold word and a whispered
   gloss. They exist to tell a reader WHEN each paragraph is true — now, or later, or
   always — not to chunk the page into cards. Generous air above, almost none below, so
   each one belongs to the paragraph it opens rather than floating between two. */
.vis__mark {
  display: flex; align-items: baseline; gap: 10px;
  margin: 52px 0 18px; padding-top: 15px;
  border-top: 1px solid rgba(220, 215, 203, .10);
}
.vis__mark:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.vis__mark__k {
  font-family: var(--font-mono, monospace); font-size: 9px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold, #c9a35c); white-space: nowrap;
}
.vis__mark__s { font-family: var(--font-display, serif); font-style: italic; font-size: 14.5px; color: #8c867b; }
/* the one emphasised clause carries the founding rule — italic, and brought up to the
   display tier so it reads as the sentence the rest of the page is built on */
.vis__p em { font-style: italic; color: var(--t-display, #e9e5dc); }
/* the closing line is the site's own footer sentence, returned to as a bookend */
.vis__p:last-child { margin-top: 30px; color: var(--gold-lit, #c9a35c); font-style: italic; }
.vis__body { margin-bottom: 64px; }

.vispost { border-top: 1px solid rgba(220, 215, 203, .10); padding-top: 34px; display: block; }
.vispost__kinds { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-bottom: 26px; }
.vispost__kind {
  text-align: left; padding: 12px 13px; border-radius: 4px; cursor: pointer;
  border: 1px solid rgba(220, 215, 203, .12); background: none;
  transition: border-color .18s ease, background .18s ease;
}
.vispost__kind:hover { border-color: rgba(220, 215, 203, .26); }
.vispost__kind.is-on { border-color: var(--gold, #c9a35c); background: rgba(201, 163, 92, .05); }
.vispost__kt { display: block; font-family: var(--font-display, serif); font-size: 16px; color: var(--t-display, #e9e5dc); margin-bottom: 3px; }
.vispost__kd { display: block; font-family: var(--font-display, serif); font-size: 13.5px; font-style: italic; line-height: 1.45; color: #8c867b; }
.vispost__lab { display: block; font-family: var(--font-mono, monospace); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: #8c867b; margin: 0 0 7px; }
/* BR-S393: #6f6a61 measured 3.67:1 — the worst on the page. #8c867b is 5.45:1. */
.vispost__opt { text-transform: none; letter-spacing: .04em; font-style: italic; color: #8c867b; }
.vispost__in, .vispost__ta {
  display: block; width: 100%; margin: 0 0 20px; padding: 11px 12px;
  border: 1px solid rgba(220, 215, 203, .14); border-radius: 3px;
  background: rgba(10, 11, 13, .6); color: var(--t-display, #e9e5dc);
  font-family: var(--font-display, serif); font-size: 16px; line-height: 1.5;
}
/* `hidden` is a UA rule (`display: none`) and the two rules above set `display: block`
   at class specificity, which beats it — so "Where were you?" rendered for an idea and
   a tip as well as a bug. Class+attribute wins it back. Anything given an explicit
   display MUST restate its own hidden case; that is the whole trap. */
.vispost__lab[hidden], .vispost__in[hidden], .vispost__ta[hidden] { display: none; }
.vispost__in:focus, .vispost__ta:focus { outline: none; border-color: var(--gold, #c9a35c); }
.vispost__ta { resize: vertical; }
.vispost__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.vispost__send {
  padding: 10px 20px; border-radius: 3px; cursor: pointer;
  border: 1px solid rgba(220, 215, 203, .22); background: none; color: var(--t-display, #e9e5dc);
  font-family: var(--font-mono, monospace); font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
}
.vispost__send:disabled { cursor: not-allowed; opacity: .38; }
/* BR-S393: was #7c766c — 4.37:1, the exact literal that was defect #10 on the
   Profile, reused here three weeks later. Measured, not guessed. #96918a is 6.29:1. */
.vispost__note { font-family: var(--font-display, serif); font-size: 14px; font-style: italic; color: #96918a; margin: 0; flex: 1 1 240px; }
.vispost--sealed .vis__lede { margin-bottom: 0; }

/* BR-S383 — LEAVING SOMETHING. The amounts are deliberately the QUIETEST controls on
   the page: no fill, no gold, nothing preselected. A donation row that looks like a
   pricing table is a nudge, and the builder's line at the foot of this block only
   reads as true if nothing above it is pushing. That line gets the weight instead —
   it is the one sentence here set larger than its lede. */
.visgive { border-top: 1px solid rgba(220, 215, 203, .10); padding-top: 34px; margin-top: 52px; }
.visgive__row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; }
.visgive__amt {
  min-width: 74px; padding: 11px 16px; border-radius: 3px; cursor: pointer;
  border: 1px solid rgba(220, 215, 203, .16); background: none; color: var(--t-display, #e9e5dc);
  font-family: var(--font-display, serif); font-size: 17px;
  transition: border-color .18s ease;
}
.visgive__amt--other { font-style: italic; font-size: 15.5px; color: #8c867b; }
.visgive__amt:hover, .visgive__amt:focus-visible { border-color: rgba(220, 215, 203, .34); outline: none; }
/* BR-S385: the chosen amount is marked, not filled — a filled swatch would read as a
   pricing table's "recommended". It also has to look PRESSABLE AGAIN, because pressing
   it again is how you leave. */
.visgive__amt.is-on { border-color: var(--gold, #c9a35c); color: var(--gold-lit, #c9a35c); }
.visgive__amt:disabled { cursor: not-allowed; opacity: .4; }
/* BR-S395: the letter now opens BELOW the law line, with nothing under it but the end
   of the page — so opening and closing it cannot move a single thing above it. The top
   margin is the block's own air; there is no bottom margin, because there is nothing
   left to push. */
.visgive__more { margin-top: 26px; }
.visgive__more[hidden] { display: none; }   /* .vispost__ta sets display:block — BR-S381 */
/* "another" turns INTO its field. The wrap matches the buttons' box exactly, so the row
   keeps its shape when the swap happens and no neighbour shifts. */
/* BR-S395 — THE SWAP MUST BE THE SAME SIZE, TO THE PIXEL. Measured, the button was
   77px and the wrap 74px, and those three pixels were enough to re-wrap the flex row
   from two lines to one — which moved the law line 55px, the exact thing this change
   set out to stop. Both are pinned to one width now, so the row cannot reflow when one
   becomes the other. If the word "another" is ever changed, this number changes with it. */
.visgive__amt--other, .visgive__otherwrap { width: 92px; min-width: 0; }
.visgive__otherwrap {
  display: inline-flex; align-items: center; justify-content: center; gap: 2px;
  padding: 11px 12px; border-radius: 3px;
  border: 1px solid var(--gold, #c9a35c);
}
/* ★ THE SAME TRAP, A THIRD TIME. `display: inline-flex` above beats the UA's
   `[hidden] { display: none }`, so this wrap was rendering even while hidden — the row
   carried FIVE items instead of four, wrapped a line early, and that line was the 55px
   the law was moving by. It is the identical defect as BR-S381's "Where were you?" and
   BR-S385's `.visgive__more`, and I wrote the rule for both of those. ANY selector in
   this file that sets an explicit display MUST restate its own hidden case. */
.visgive__otherwrap[hidden] { display: none; }
.visgive__cur { font-family: var(--font-display, serif); font-size: 17px; color: var(--gold-lit, #c9a35c); }
.visgive__other {
  width: 3.2ch; padding: 0; border: 0; background: none; outline: none;
  font-family: var(--font-display, serif); font-size: 17px; color: var(--t-display, #e9e5dc);
}
.visgive__other::placeholder { color: #6f6a61; }
/* the spinners would be a fourth way to change a number that already has three */
.visgive__other::-webkit-outer-spin-button, .visgive__other::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.visgive__law {
  font-family: var(--font-display, serif); font-size: 19px; line-height: 1.5;
  color: var(--t-display, #e9e5dc); margin: 0 0 14px; max-width: 46ch;
}

/* BR-S377 — THE BUILD FLIP (#brBuildFlip, injected by app.js#syncBuildFlip).
   A builder's instrument, not part of the room: it sits bottom-CENTRE because both
   bottom corners are taken (#brCodexDock right, the ROOMS dock left), and centred it
   reads as belonging to the window rather than to the page. Mono, small, dim at rest
   and lit on hover — the same restraint as the dev rail, so it never competes with
   anything the design is actually about. The side you are on is stated in cream and
   is not a link; the other side is the only thing that moves under the cursor. */
#brBuildFlip {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 12px; z-index: 41;
  display: flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px;
  border: 1px solid rgba(220, 215, 203, .12);
  background: rgba(10, 11, 13, .82);
  font-family: var(--font-mono, "IBM Plex Mono", monospace);
  font-size: 9px; letter-spacing: .18em; text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.br-flip__lab { color: rgba(220, 215, 203, .34); }
.br-flip__sep { color: rgba(220, 215, 203, .28); }
.br-flip__side {
  color: rgba(220, 215, 203, .46); text-decoration: none;
  transition: color .18s ease;      /* colour only — nothing here earns a repaint */
}
.br-flip__side:hover, .br-flip__side:focus-visible { color: var(--gold-lit, #c9a35c); outline: none; }
/* the side you are already on: stated, inert, and visibly not the control */
.br-flip__side.is-on { color: var(--t-display, #e9e5dc); pointer-events: none; cursor: default; }
/* ══ BR-S486 — THE PEEK IS GONE; THE PILL GOES TO THE BUILD ══════════════════
   The builder: "i dont want it like that, i want full screen that shows each of
   them naturally."

   BR-S480 opened each build in a scaled frame so you never left the page. The
   cost of that was the thing being judged: a build shown at 1440px scaled into a
   panel is never the build a visitor sees, it is a picture of it at some other
   size, inside a bar that says which one you are looking at. The point of three
   builds is to see each one AS ITSELF.

   So the sides are plain anchors again and the browser does what it is for —
   full screen, real URL, real width, back button returns you. There is nothing
   left to style, which is why this block is a comment and not a ruleset: the
   styles for a removed control are part of the removed control. */
@media (max-width: 560px) { #brBuildFlip { bottom: 8px; padding: 4px 10px; font-size: 8px; } }


/* ── BR-S400 — L1's SEAL. The desk behind it stays legible: this is a locked-room
   PREVIEW, so the visitor sees the real surface and sees that it is shut. The seal
   covers the panel and takes the pointer, which is what actually stops the desk from
   selling a card nothing can mint yet — dimming alone would leave every control live.
   It paints only while the panel is the one on stage; offstage it costs nothing. */
.l1seal {
  position: absolute; inset: 0; z-index: 6;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  /* BR-S403 - BLACKER. It read as a grey veil laid over the desk; it should read as the
     archive closing over it. Near-opaque at the edges and only a shade lighter at the
     centre, so the desk survives as a presence rather than as a picture. */
  background: radial-gradient(120% 90% at 50% 45%, rgba(6, 7, 9, .88), rgba(4, 5, 6, .975) 70%);
  -webkit-backdrop-filter: saturate(.35) blur(3px); backdrop-filter: saturate(.35) blur(3px);
}
.menu__panel--desk { position: relative; }
.l1seal__box { max-width: 34ch; text-align: center; }
.l1seal__mark { display: block; font-size: 15px; color: var(--gold, #c9a35c); margin-bottom: 14px; }
/* ★ BR-S501 — "UNDER CONSTRUCTION" BECOMES A STAMP, because a caption was not carrying it.
   BR-S437 added this line for a stated reason: a sealed panel taking a third of the track
   reads as BROKEN unless something says someone is working on it. But it shipped as 9px of
   mono sitting above a 38px display title, so the one word doing that job was the smallest
   thing in the box and the eye went straight past it to the title — which names a room that
   does not open, and lands as a dead end all over again.
   A ruled chip, not a bigger shout. The seal is a sealed crate; a stamp is the vocabulary
   that surface already speaks, and it is what makes the notice read as DELIBERATE rather
   than as apologetic small print. Still gold, still mono, still quiet — the register does
   not allow urgency and does not need it. Size up one step, a hairline box, a whisper of
   warm ground behind it, and room to breathe underneath. */
.l1seal__k {
  display: inline-block;
  font-family: var(--font-mono, monospace); font-size: 10px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--gold, #c9a35c);
  margin: 0 0 18px; padding: 6px 12px 5px;
  border: 1px solid rgba(201,163,92,.42); border-radius: 2px;
  background: rgba(201,163,92,.055);
  text-indent: .26em;   /* the tracking's trailing space, given back so the box reads centred */
}
.l1seal__t {
  font-family: var(--font-display, serif); font-weight: 400;
  font-size: clamp(26px, 3.6vw, 38px); color: var(--t-display, #e9e5dc);
  margin: 0 0 14px; line-height: 1.1;
}
.l1seal__t:focus-visible { outline: none; }
.l1seal__d {
  font-family: var(--font-display, serif); font-style: italic; font-size: 17px;
  line-height: 1.6; color: #8c867b; margin: 0 0 22px;
}
.l1seal__back {
  font-family: var(--font-mono, monospace); font-size: 9px; letter-spacing: .18em;
  text-transform: uppercase; color: #8c867b; margin: 0;
}
/* BR-S401: the right half of the seal is the way back, so it says so with the cursor
   before it says so in words. The left half stays a plain arrow — you are allowed to
   simply stand there and look at the desk. */
.l1seal { cursor: default; }
.l1seal__box { position: relative; z-index: 1; }

/* the right half of L1's seal, drawn only as a cursor affordance — no ink, because a
   visible hotspot would turn a quiet locked room into a control panel. */
.l1seal__half {
  position: absolute; top: 0; bottom: 0; width: 50%;
  opacity: 0; transition: opacity 260ms cubic-bezier(.2, .7, .2, 1);
}
/* BR-S404 — THE DARK LEANS, IT DOES NOT LIGHT UP. The first pass raised a pale wash
   from each edge and it read as a smudge on the glass: light added to a near-black
   room has nowhere to go but muddy, and it fought the seal it was drawn on.
   The hovered side DEEPENS instead. Black gathers at that edge, the room closing
   toward where the press would take you, and the only bright thing is the single
   hairline on the way back — which grows rather than glows. Dark is this page's
   material; the effect should be made of it. */
/* ★ BR-S406 — WHY THE LAST ONE FELT IFFY, AND IT WAS NOT THE COLOUR.
   Two faults, both of them the kind that read as "cheap" without being nameable:
   1. A HARD 50/50 SEAM. Two gradients meeting at an invisible midline means one
      snaps off and the other snaps on as the pointer crosses it. The eye reads a
      SWITCH, not a response — and a switch in the middle of nowhere is the single
      most common tell of an effect that was assembled rather than designed.
   2. BANDING. A large, soft, low-alpha gradient over a near-black ground is exactly
      where 8-bit displays fall apart: the ramp steps visibly, and the steps move
      when the opacity animates.
   The fix is ONE layer instead of two, moved by TRANSFORM instead of faded by
   opacity. A single wide radial shadow sits behind everything and LEANS toward the
   side you are on — continuous across the midline because it is one object, and
   band-free because a translated layer is composited, never re-ramped. The halves
   keep their cursors and their hit areas and stop drawing anything at all. */
.l1seal__half { background: none; opacity: 1; }
.l1seal__half--l { left: 0; cursor: default; }
.l1seal__half--r { right: 0; cursor: pointer; }
/* ★★ BR-S508 — IT HAD TO COMMIT TO A SIDE. The builder: "i was more thinking the shadow
   hover or visual of hovering on side makes one of the sides equally darker accordingly."

   BR-S406's architecture was already the right one and none of it changes: ONE layer,
   moved by TRANSFORM, so the seam stays continuous and a low-alpha ramp over near-black
   is never re-rasterised into bands. What was wrong was the AMOUNT. A core 58% as wide
   as its box, shifted 16%, still has its dense middle sitting over the middle — so the
   whole vignette drifted and neither half ever became "the dark one". It read as the
   image sliding, which is a different sentence from the one the builder is asking for.

   ★ AND THE FIRST ANSWER I WROTE WAS WRONG, WHICH THE ARITHMETIC CAUGHT BEFORE THE EYE
   DID. I pushed the travel 16% -> 34% on the reasoning that the core should clear the
   midline. Evaluating the gradient at each half's centre says it does the opposite:

       travel 16%   left a .675   right a .069   differential .61
       travel 34%   left a .385   right a 0      differential .385

   Past a point the core slides off the panel entirely and takes its own contrast with
   it. The shipped travel was not too small. So the numbers go back, and the actual
   fault gets named instead: A CENTRED VIGNETTE IS ALWAYS DARKEST IN THE MIDDLE. Whatever
   it does on hover, the middle is the dark part and the two halves are its shoulders —
   so the effect can only ever read as the shadow SLIDING, never as one side becoming
   the dark one. That is the sentence the builder is describing, and no amount of travel
   fixes it because it is the shape, not the distance.

   ★★ SO BOTH READINGS ARE BUILT AND NEITHER IS ARGUED FOR — the house rule from the M1
   rank reversal, where a redesign was talked about for a session and then lost to the
   original the moment the two stood side by side. `?lean=band` swaps the shape; the URL
   carries it, so a refresh keeps whichever you are judging. Default is unchanged.

   ★ THE TYPE IS UNTOUCHED IN BOTH, AND THAT IS STRUCTURAL RATHER THAN CAREFUL. The
   builder: "text unaffected" and "readable". This layer is z-index 0; .l1seal__box
   carries the copy at z-index 1, so every word sits ABOVE the shadow and none of it is
   dimmed. And the copy is light on near-black, so ink gathering behind it can only RAISE
   contrast — the hovered half is the more legible half, never the less. Nothing here can
   move the type's own colour, because nothing here is in front of it. */
.l1seal__lean {
  position: absolute; inset: -12% -22%; z-index: 0; pointer-events: none;
  background: radial-gradient(58% 70% at 50% 50%, rgba(0, 0, 0, .62), transparent 72%);
  transform: translateX(0) scale(1.02);
  transition: transform 420ms cubic-bezier(.2, .7, .2, 1);
  will-change: transform;
}
.l1seal__half--l:hover ~ .l1seal__lean { transform: translateX(-16%) scale(1.02); }
.l1seal__half--r:hover ~ .l1seal__lean { transform: translateX(16%) scale(1.02); }

/* ── THE BAND, `?lean=band` ────────────────────────────────────────────────────────
   The other reading of the same sentence. One layer still, transform still, but the
   shape is a PAIR OF EDGES with a clear middle instead of a core with shoulders:
   the layer is three times the seal wide, so at rest the seal sees only the flat
   transparent centre and there is NO resting vignette at all. Sliding it exactly one
   third brings one dark edge across the seal, and the ramp runs the full width of the
   half — so the hovered side genuinely IS the dark side and the other is genuinely
   clear. Same magnitude either way by construction.
   Whether losing the resting vignette is a gain or a loss is the builder's call, which
   is the entire reason both exist rather than one being argued for. */
.l1seal--band .l1seal__lean {
  inset: -12% -100%;
  background: linear-gradient(90deg,
    rgba(0, 0, 0, .60) 0%, rgba(0, 0, 0, .52) 10%, transparent 33.33%,
    transparent 66.67%, rgba(0, 0, 0, .52) 90%, rgba(0, 0, 0, .60) 100%);
}
.l1seal--band .l1seal__half--l:hover ~ .l1seal__lean { transform: translateX(33.333%) scale(1.02); }
.l1seal--band .l1seal__half--r:hover ~ .l1seal__lean { transform: translateX(-33.333%) scale(1.02); }
/* the way back earns a hairline as well as a wash; the edge does not, because there is
   nothing on the other side of it yet */
/* the way back keeps one hairline, and it GROWS from the centre rather than fading up
   — a line drawing itself is quieter than a light turning on, and it survives on a
   black ground where a glow does not. */
.l1seal__half--r::after {
  content: ""; position: absolute; top: 50%; bottom: 50%; right: 0; width: 1px;
  background: linear-gradient(transparent, rgba(201, 163, 92, .55), transparent);
  transition: top 320ms cubic-bezier(.2, .7, .2, 1), bottom 320ms cubic-bezier(.2, .7, .2, 1);
}
.l1seal__half--r:hover::after { top: 12%; bottom: 12%; }
@media (prefers-reduced-motion: reduce) { .l1seal__lean, .l1seal__half--r::after { transition: none; } }

/* BR-S401 — THE EDGE TUG. Left of L1 is where L2 will be. Until it exists, the track
   gives a little and comes back — the answer a drawer gives at its stop. Transform
   only, one class, 480ms, and a hairline that surfaces on the left edge for the
   duration: something IS over there, it is just not built. Under reduced motion the
   track holds still and only the hairline answers, so the reply survives without the
   movement. */
.menu.is-l1.is-edgeL .menu__track {
  transform: translateX(15px);
  transition: transform 480ms cubic-bezier(.28, 1.30, .38, 1);
}
.menu.is-edgeL::before {
  content: ""; position: fixed; left: 0; top: 0; bottom: 0; width: 1px; z-index: 8;
  background: linear-gradient(transparent, rgba(201, 163, 92, .5), transparent);
  animation: brEdgeMark 480ms ease-out;
  pointer-events: none;
}
@keyframes brEdgeMark { 0% { opacity: 0 } 30% { opacity: 1 } 100% { opacity: 0 } }
@media (prefers-reduced-motion: reduce) {
  .menu.is-l1.is-edgeL .menu__track { transform: translateX(0); transition: none; }
  .menu.is-edgeL::before { animation: none; opacity: .85; }
}

/* ══ BR-S458 — THE ROADMAP BOX ═══════════════════════════════════════════════
   "roadmap pop up on button in main menu small… as a box."

   Anchored to its own button so the answer lands where the question was asked.
   The wrapper is the positioning context and nothing else — the rail's flex
   layout is untouched, which is why the button does not move when the box opens.

   OPENS UPWARD BY DEFAULT because the rail sits low in the panel; `bottom: 100%`
   means the box grows away from the fold rather than through it. It is small
   enough (six names) that a flip-below case has not been needed — if a shorter
   viewport ever clips it, that is a max-height on .rmpop__l, not a JS measurer.

   MOTION: opacity + transform only, 180ms, and the closed state is `inert` so a
   keyboard never reaches a box nobody can see. ════════════════════════════════ */
.rmpop-wrap { position: relative; display: inline-flex; }
.rmpop {
  position: absolute; bottom: calc(100% + 8px); left: 0; z-index: 40;
  width: max-content; min-width: 190px; max-width: min(268px, 78vw);
  padding: 11px 13px 9px;
  background: linear-gradient(180deg, #17140f 0%, #100e0b 100%);
  border: 1px solid rgba(198,155,99,.26); border-radius: 10px;
  box-shadow: 0 14px 38px rgba(0,0,0,.55), inset 0 1px 0 rgba(233,226,213,.05);
  opacity: 0; transform: translateY(4px) scale(.985); transform-origin: bottom left;
  pointer-events: none; text-align: left;
  transition: opacity 180ms var(--ease-settle), transform 180ms var(--ease-settle);
}
.rmpop-wrap.is-open .rmpop { opacity: 1; transform: none; pointer-events: auto; }
.rmpop__t { margin: 0 0 8px; font-family: var(--font-mono); font-size: 8.5px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--t-meta); }
.rmpop__g { margin-top: 9px; }
.rmpop__g:first-of-type { margin-top: 0; }
.rmpop__gh { display: flex; align-items: baseline; gap: 6px; margin: 0 0 3px;
  font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .18em;
  text-transform: uppercase; color: #8c8175; }
.rmpop__mark { color: var(--cx-gold); font-size: 9px; }
.rmpop__n { margin-left: auto; color: #554e45; font-variant-numeric: tabular-nums; }
.rmpop__l { list-style: none; margin: 0; padding: 0; }
.rmpop__l li { font-family: var(--font-display); font-size: 13px; line-height: 1.5;
  color: #d3cabb; }
.rmpop__more { display: block; margin-top: 10px; padding-top: 8px;
  border-top: 1px solid #241f1a; font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .04em; color: var(--cx-gold); text-decoration: none; }
.rmpop__more:hover { color: #e0b070; }
.rmpop__foot { margin: 6px 0 0; font-family: var(--font-mono); font-size: 8px;
  letter-spacing: .08em; color: #554e45; }
@media (prefers-reduced-motion: reduce) {
  .rmpop { transition: none; transform: none; }
  .rmpop-wrap.is-open .rmpop { transform: none; }
}

/* ══ BR-S469 — THE TAROT FACE'S MISSING FURNITURE ════════════════════════════
   Mirrors .m2bface's own parts rather than inventing a second set: the headrule
   that closes the masthead and gives the card its top edge (BR-S360), and the
   foot wall that says how the card was come by (BR-S359). The birth face says
   "BY BIRTH ALONE"; this one says "CUT FROM THE FULL 78" — the same sentence in
   the same place about a different provenance.
   `margin-top:auto` on the wall is what makes the field between name and foot
   distribute, so the pair reads as ledges with the card strung between them
   instead of a list trailing off — the exact behaviour the birth face has. */
.m2face__headrule {
  width: 100%; margin: 9px 0 0;
  background: currentColor; opacity: .16;
}
.m2face__wall { margin-top: auto; width: 100%; text-align: center; }
.m2face__wallrule {
  display: block; height: 1px; width: 100%;
  background: currentColor; opacity: .16; margin: 0 0 7px;
}
.m2face__walltext {
  font-family: var(--font-mono); font-size: 7.5px; letter-spacing: .18em;
  text-transform: uppercase; opacity: .55;
}
