/* ============================================================
   Coded Mind — Checkpoint B expansion · phase C1

   Adds five chapters and one deeper-information layer to the
   approved proof. Nothing in styles.css or proof.css is modified
   by this branch: the approved chapters keep their own files
   untouched, so "did an approved scene change?" stays answerable
   by comparing two files that were never edited.

   Every constant used here already exists: the palette, Public
   Sans and its four voices, the Fibonacci spacing, --pad, --accent
   and the dark ground the chassis inverts against. The new
   chapters are drawn in code — canvas and SVG — because the
   photographic library carries an unresolved rights position and
   because the approved chapters are already at their best where
   they are drawn rather than photographed.
   ============================================================ */

/* the same track lengths discipline as the approved chapters:
   long enough for a chapter to be a place, short enough that
   nothing is held after it has been said */
.sc-track--nature   { --track: 1350vh; }
.sc-track--colour   { --track: 440vh; }
/* VESICA PASS 14 — this is Vesica Piscis's own length, and it is
   Julia's: she sets it by feel, having looked at the built chapter,
   and changing it means changing this one value and nothing else.
   Superseded: 260vh (pass 1 through pass 13, room for two beats of
   six). Lengthened here, once, to hold all six beats and the close;
   see CHANGE 2 in this pass's own prompt for how every existing
   scroll window was rescaled to keep beats 1 and 2 arriving exactly
   where they already do. */
.sc-track--lineage  { --track: 600vh; }
.sc-track--osc      { --track: 300vh; }
.sc-track--support  { --track: 300vh; }
.sc-track--between  { --track: 380vh; }

/* ═════════════════════════════════════════════════════════════
   THE DEEPER LAYER · "Look closer"
   One control, one panel, the same everywhere. It is a side field
   that arrives beside the chapter rather than a modal that stops
   it: the journey is never interrupted, and nothing essential
   lives in here. Reversible by the same control, by its own
   Close, and by Escape.
   ═════════════════════════════════════════════════════════════ */
.beneath { position: absolute; z-index: 20; }

.bn-open {
  display: inline-flex; align-items: center; gap: 0.7rem;
  margin: 0; padding: 0.55rem 0;
  background: none; border: 0; cursor: pointer;
  font: var(--v-structural); letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--graphite-2);
  transition: color 320ms var(--ease);
}
html[data-tone="dark"] .bn-open { color: var(--on-dark-2); }
.bn-tick {
  display: block; width: 22px; height: 1px;
  background: currentColor;
  transition: width 420ms var(--ease), background 320ms var(--ease);
}
.bn-open:hover, .bn-open:focus-visible { color: var(--accent); }
.bn-open:hover .bn-tick, .bn-open:focus-visible .bn-tick { width: 34px; background: var(--accent); }
.bn-open:focus-visible { outline: 1px solid var(--accent); outline-offset: 6px; }
.bn-open[aria-expanded="true"] { color: var(--accent); }
.bn-open[aria-expanded="true"] .bn-tick { width: 34px; background: var(--accent); }

/* ── the lens ─────────────────────────────────────────────────
   Phase C1 hybrid. The panel is no longer an absolutely-placed
   box that can be pushed off an edge: it is a fixed-position
   lens whose coordinates are written by JS from the trigger's
   own position and then clamped into the viewport, so it is
   never cut off at any width. Visually it is glass — translucent
   warm tint, a real backdrop blur, one hairline, softly rounded,
   with just enough depth to read as a material lying over the
   field rather than a card sitting in it. The chapter stays
   visible behind it, which is the whole point.
   ────────────────────────────────────────────────────────────── */
.bn-panel {
  position: fixed;
  left: var(--bn-x, 50%); top: var(--bn-y, 50%);
  width: min(26rem, calc(100vw - 2rem));
  max-height: min(30rem, calc(100vh - 2rem));
  overflow-y: auto; overscroll-behavior: contain;
  padding: var(--s4) var(--s4) var(--s3);
  z-index: 90;
  border-radius: 14px;
  /* opaque-enough fallback first; the glass is layered on top only
     where backdrop-filter is actually supported */
  background: rgba(250,247,242,0.96);
  border: 1px solid rgba(20,19,17,0.10);
  box-shadow: 0 1px 0 rgba(255,255,255,0.55) inset,
              0 18px 48px rgba(20,19,17,0.16),
              0 2px 8px rgba(20,19,17,0.08);
  color: var(--ink);
  opacity: 0; transform: translateY(6px) scale(0.985);
  transition: opacity 260ms var(--ease), transform 260ms var(--ease);
}
.bn-panel.is-open { opacity: 1; transform: none; }
/* it is focused programmatically so the reading can be scrolled and
   Tab is held inside it — but it is a field, not a control, and a
   ring drawn around the whole lens would read as a dialog */
.bn-panel:focus { outline: none; }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .bn-panel {
    background: linear-gradient(180deg, rgba(252,250,246,0.78), rgba(247,242,235,0.68));
    -webkit-backdrop-filter: saturate(1.4) blur(26px);
    backdrop-filter: saturate(1.4) blur(26px);
  }
  html[data-tone="dark"] .bn-panel {
    /* warm, not neutral: the tint is the same ochre the ground carries */
    background: linear-gradient(180deg, rgba(38,31,25,0.66), rgba(20,17,14,0.58));
    -webkit-backdrop-filter: saturate(1.3) blur(28px);
    backdrop-filter: saturate(1.3) blur(28px);
  }
}
html[data-tone="dark"] .bn-panel {
  background: rgba(18,16,13,0.95);
  border-color: rgba(251,243,232,0.16);
  box-shadow: 0 1px 0 rgba(251,243,232,0.10) inset,
              0 18px 48px rgba(0,0,0,0.55),
              0 2px 8px rgba(0,0,0,0.35);
  color: var(--on-dark);
}
.bn-panel[hidden] { display: none; }

.bn-head { margin: 0 0 var(--s3); color: var(--accent); letter-spacing: 0.19em; text-transform: uppercase; }
.bn-list { margin: 0; }
.bn-item + .bn-item { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--grey); }
html[data-tone="dark"] .bn-item + .bn-item { border-top-color: rgba(251,243,232,0.14); }

.bn-item dt {
  margin: 0 0 0.5rem;
  font: var(--v-structural); letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--graphite-2);
}
html[data-tone="dark"] .bn-item dt { color: var(--on-dark-2); }
/* Notice is the only one that is an invitation rather than a
   classification, so it is the only one that takes the accent */
.bn-item[data-kind="notice"] dt { color: var(--accent); }

.bn-item dd {
  margin: 0;
  font: var(--v-editorial);
  font-size: 0.9375rem; line-height: 1.6;
  color: var(--graphite);
}
html[data-tone="dark"] .bn-item dd { color: #CFC5B7; }

.bn-src {
  display: block; margin-top: 0.6rem;
  font: var(--v-structural); letter-spacing: 0.12em;
  color: var(--graphite-2); text-transform: none;
}
html[data-tone="dark"] .bn-src { color: var(--on-dark-2); }

.bn-link {
  display: block; margin-top: 0.6rem;
  font: var(--v-structural); letter-spacing: 0.12em;
  color: var(--accent);
  border-bottom: 1px solid rgba(255,77,0,0.34);
  width: fit-content; max-width: 100%;
}
.bn-link:hover, .bn-link:focus-visible { border-bottom-color: var(--accent); }
.bn-link:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }

.bn-close {
  margin: var(--s4) 0 0; padding: 0.55rem 0.9rem;
  background: none; border: 1px solid var(--grey-2); cursor: pointer;
  font: var(--v-structural); letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--graphite);
  transition: border-color 300ms var(--ease), color 300ms var(--ease);
}
html[data-tone="dark"] .bn-close { border-color: rgba(251,243,232,0.28); color: var(--on-dark); }
.bn-close:hover, .bn-close:focus-visible { border-color: var(--accent); color: var(--accent); }
.bn-close:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }

/* one shared button register for the new chapters, taken from the
   approved .four-start / .vb-btn rather than invented */
.cl-btn, .os-btn, .bt-btn, .na-reveal {
  padding: 0.7rem 1.05rem; margin: 0;
  background: none; cursor: pointer;
  border: 1px solid rgba(251,243,232,0.28);
  font: var(--v-structural); letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--on-dark);
  transition: border-color 300ms var(--ease), color 300ms var(--ease), background 300ms var(--ease);
}
.sc[data-tone="light"] .cl-btn, .sc[data-tone="light"] .os-btn,
.sc[data-tone="light"] .bt-btn, .sc[data-tone="light"] .na-reveal {
  border-color: var(--grey-2); color: var(--ink);
}
.cl-btn:hover, .os-btn:hover, .bt-btn:hover, .na-reveal:hover,
.cl-btn:focus-visible, .os-btn:focus-visible, .bt-btn:focus-visible, .na-reveal:focus-visible {
  border-color: var(--accent); color: var(--accent);
}
.cl-btn:focus-visible, .os-btn:focus-visible, .bt-btn:focus-visible, .na-reveal:focus-visible,
.sp-open:focus-visible, .os-hold-btn:focus-visible {
  outline: 1px solid var(--accent); outline-offset: 4px;
}
.cl-btn[aria-pressed="true"], .na-reveal[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.cl-btn[disabled], .os-btn[disabled], .bt-btn[disabled] { opacity: 0.3; cursor: default; }
.cl-btn[disabled]:hover, .os-btn[disabled]:hover, .bt-btn[disabled]:hover { border-color: inherit; color: inherit; }

/* ═════════════════════════════════════════════════════════════
   02 · SYMBOLS IN NATURE
   The specimen is oversize and cropped by the right edge, the way
   the architecture is in Symbols. The trace is a second canvas
   masked to a soft disc that follows the pointer, so measuring
   never covers the thing being measured.
   ═════════════════════════════════════════════════════════════ */
#stNature { background: var(--dark); }

/* ── 02 · IN NATURE — the garden that opens it ──
   The chapter begins on a whole garden, seen through an aperture that
   widens as the visitor arrives, then gives way as the first specimen
   comes forward. It drifts more slowly than the page, so the page
   moves past it rather than carrying it along.
   --garden-out is where it has finished leaving, as a fraction of the
   chapter's scroll. Four numbers, all Julia's to tune. */
.na-garden {
  position: absolute; inset: 0; z-index: 3;
  pointer-events: none;
  opacity: calc(
    clamp(0, (var(--p) - 0.005) * 40, 1) *
    clamp(0, (var(--garden-out, 0.17) - var(--p)) * var(--garden-leave, 14), 1)
  );
}
.na-garden img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: 50% 52%;
  /* slower than the page, and settling as it opens */
  transform:
    translateY(calc(var(--p) * var(--garden-drift, -22vh)))
    scale(calc(var(--garden-scale, 1.16) - var(--p) * 0.10));
  /* the aperture: a mask, never a clip */
  -webkit-mask-image: radial-gradient(circle at 50% 48%,
    #000 0,
    #000 calc(3% + var(--p) * var(--garden-open, 900%)),
    transparent calc(14% + var(--p) * var(--garden-open, 900%)));
  mask-image: radial-gradient(circle at 50% 48%,
    #000 0,
    #000 calc(3% + var(--p) * var(--garden-open, 900%)),
    transparent calc(14% + var(--p) * var(--garden-open, 900%)));
}

.na-specimen {
  position: absolute; z-index: 2;
  right: 3vw; top: 50%;
  width: min(74vh, 52vw); aspect-ratio: 1 / 1;
  transform: translateY(-50%) scale(calc(0.94 + var(--na-on, 0) * 0.06));
  opacity: var(--na-on, 0);
  outline: none; cursor: crosshair; touch-action: pan-y;
}
.na-specimen:focus-visible { outline: 1px solid var(--accent); outline-offset: 10px; }
.na-form, .na-trace {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
/* the reading lens */
.na-trace {
  -webkit-mask-image: radial-gradient(circle at var(--lx, 50%) var(--ly, 50%),
    #000 0, #000 var(--lr, 0px), transparent calc(var(--lr, 0px) + 9vmin));
  mask-image: radial-gradient(circle at var(--lx, 50%) var(--ly, 50%),
    #000 0, #000 var(--lr, 0px), transparent calc(var(--lr, 0px) + 9vmin));
  transition: opacity var(--na-fade, 220ms) var(--ease), -webkit-mask-image 220ms linear, mask-image 220ms linear;
}

.na-word {
  position: absolute; z-index: 4;
  left: -0.055em; bottom: calc(-0.13em + var(--nudge) * var(--na-up));
  margin: 0;
  font: var(--v-monument);
  font-size: clamp(3.4rem, 15vw, 12.5rem);
  letter-spacing: -0.05em; line-height: 0.84;
  color: var(--on-dark);
  opacity: calc(var(--na-word, 0) * 0.9);
  transform: translate3d(calc(var(--p) * -5vw + var(--nudge) * var(--na-right)), calc((1 - var(--na-word, 0)) * 4vh), 0);
  pointer-events: none; white-space: nowrap;
}

.na-lead {
  position: absolute; z-index: 5;
  left: var(--pad); top: 14vh;
  margin: 0; width: min(28rem, 40vw);
  font: var(--v-monument);
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  letter-spacing: -0.028em; line-height: 1.12;
  color: var(--on-dark);
  opacity: var(--na-lead, 0);
  transform: translateY(calc((1 - var(--na-lead, 0)) * 3vh));
}

.na-read {
  position: absolute; z-index: 5;
  left: var(--pad); top: 38vh;
  width: min(25rem, 34vw);
  opacity: var(--na-read, 0);
  transform: translateY(calc((1 - var(--na-read, 0)) * 2.5vh));
  text-shadow: 0 1px 24px rgba(11,10,8,0.8);
}
.na-read::before {
  content: ""; position: absolute; left: -1.6rem; top: 0.3rem; bottom: 0.3rem;
  width: 1px; background: rgba(251,243,232,0.24);
}
.na-name {
  margin: 0 0 var(--s3);
  font: var(--v-monument);
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  letter-spacing: -0.02em; line-height: 1.2;
  color: var(--accent);
  transition: opacity 240ms var(--ease);
}
.na-read.is-turning .na-name,
.na-read.is-turning .na-obs,
.na-read.is-turning .na-int { opacity: 0.12; }
.na-obs, .na-int { margin: 0; font: var(--v-editorial); color: #CFC5B7; transition: opacity 240ms var(--ease); }
.na-int { margin-top: var(--s3); }
/* the two readings are never allowed to look like one statement */
.na-k {
  display: block; margin-bottom: 0.45rem;
  font: var(--v-structural); letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--on-dark-2);
}
.na-int .na-k { color: var(--accent); }

.na-index {
  position: absolute; z-index: 6;
  right: var(--pad); bottom: 12vh;
  display: flex; align-items: flex-end; gap: clamp(0.9rem, 2vw, 1.6rem);
  margin: 0; padding: 0; list-style: none;
  opacity: var(--na-read, 0);
}
.na-ix {
  display: flex; flex-direction: column; align-items: center; gap: 0.65rem;
  padding: 0.35rem 0.2rem; margin: 0;
  background: none; border: 0; cursor: pointer;
  font: var(--v-structural); letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--on-dark-2);
  transition: color 340ms var(--ease);
}
.na-ix i { display: block; width: 1px; height: 16px; background: currentColor; transition: height 400ms var(--ease), background 340ms var(--ease); }
.na-ix:hover, .na-ix:focus-visible { color: var(--on-dark); }
.na-ix:focus-visible { outline: 1px solid var(--accent); outline-offset: 5px; }
.na-ix[aria-current="true"] { color: var(--accent); }
.na-ix[aria-current="true"] i { height: 30px; background: var(--accent); }

.na-tools {
  position: absolute; z-index: 6;
  left: var(--pad); bottom: 20vh;
  display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap;
  opacity: var(--na-read, 0);
}
.na-hint { margin: 0; color: var(--on-dark-2); letter-spacing: 0.19em; text-transform: uppercase; opacity: var(--na-hint, 1); transition: opacity 500ms var(--ease); }

/* the three stages: same rhythm and vertical alignment as .na-index —
   align-items: flex-end and the gap are copied from it, not invented */

.na-close {
  position: absolute; z-index: 7;
  left: 50%; top: 50%;
  width: min(36rem, 84vw); text-align: center; margin: 0;
  font: var(--v-monument);
  font-size: clamp(1.45rem, 3vw, 2.5rem);
  letter-spacing: -0.028em; line-height: 1.16;
  color: var(--on-dark);
  opacity: var(--na-close, 0);
  transform: translate(-50%, calc(-50% + (1 - var(--na-close, 0)) * 2vh));
  text-wrap: balance; pointer-events: none;
}

#stNature .beneath { right: var(--pad); top: 20vh; opacity: var(--na-read, 0); }

/* ═════════════════════════════════════════════════════════════
   06 · COLOUR
   A monumental field, never a palette. The second colour arrives
   as a plane with a hard edge, and the two squares that straddle
   it are one identical pigment — the demonstration is the thing
   itself, not a caption about it.
   ═════════════════════════════════════════════════════════════ */
#stColour { background: var(--dark); }

.cl-pair { position: absolute; inset: 0; }
.cl-plane {
  position: absolute; inset: 0;
  background: var(--cl-a, #C8442B);
  filter: brightness(var(--cl-l, 1)) saturate(var(--cl-s, 1));
  opacity: var(--cl-on, 0);
  transition: background 900ms var(--ease);
}
/* the second colour: an asymmetric plane with a real edge, wiping
   in from the right rather than blending into the first */
.cl-plane--b {
  background: var(--cl-b, #2F5FA8);
  clip-path: inset(0 0 0 calc(100% - var(--cl-split, 0) * 38%));
  opacity: calc(var(--cl-on, 0) * var(--cl-second, 0));
  transition: background 900ms var(--ease), clip-path 900ms var(--ease);
}
.cl-grain {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: calc(var(--cl-on, 0) * 0.5);
  mix-blend-mode: soft-light; pointer-events: none;
}
/* the closing field: every colour passed through, as unequal
   planes sharing one edge */
.cl-compose {
  position: absolute; inset: 0;
  background: var(--cl-composed, none);
  opacity: var(--cl-composed-on, 0);
  transition: opacity 900ms var(--ease);
  pointer-events: none;
}

.cl-sq {
  position: absolute; z-index: 3;
  width: clamp(72px, 9vw, 132px); aspect-ratio: 1 / 1;
  top: 50%; transform: translateY(-50%);
  background: #8C857A;                 /* one pigment, laid twice */
  opacity: calc(var(--cl-on, 0) * var(--cl-second, 0));
  transition: opacity 700ms var(--ease);
  pointer-events: none;
}
.cl-sq--a { left: 26%; }
.cl-sq--b { right: 12%; }

.cl-space {
  position: absolute; inset: 0; z-index: 4;
  outline: none; touch-action: pan-y; cursor: crosshair;
}
.cl-space:focus-visible { outline: 1px solid rgba(255,255,255,0.9); outline-offset: -16px; }

.cl-word {
  position: absolute; z-index: 6;
  left: -0.055em; bottom: calc(-0.14em + var(--nudge) * var(--cl-up));
  margin: 0;
  font: var(--v-monument);
  font-size: clamp(3.6rem, 17vw, 14rem);
  letter-spacing: -0.05em; line-height: 0.84;
  color: rgba(251,243,232,0.94);
  opacity: var(--cl-word, 0);
  transform: translate3d(calc(var(--p) * -4vw + var(--nudge) * var(--cl-right)), calc((1 - var(--cl-word, 0)) * 4vh), 0);
  mix-blend-mode: soft-light;
  pointer-events: none; white-space: nowrap;
}

.cl-lead, .cl-close {
  position: absolute; z-index: 7;
  margin: 0;
  font: var(--v-monument);
  color: #FFF;
  text-shadow: 0 1px 30px rgba(11,10,8,0.42);
  text-wrap: balance;
}
.cl-lead {
  right: var(--pad); top: 15vh; width: min(27rem, 38vw); text-align: right;
  font-size: clamp(1.35rem, 2.3vw, 1.95rem);
  letter-spacing: -0.026em; line-height: 1.18;
  opacity: var(--cl-lead, 0);
  transform: translateY(calc((1 - var(--cl-lead, 0)) * 3vh));
}
.cl-close {
  left: 50%; top: 46%; width: min(34rem, 84vw); text-align: center;
  font-size: clamp(1.5rem, 3.1vw, 2.6rem);
  letter-spacing: -0.03em; line-height: 1.14;
  opacity: var(--cl-close, 0);
  transform: translate(-50%, calc(-50% + (1 - var(--cl-close, 0)) * 2vh));
  pointer-events: none;
}

.cl-readout {
  position: absolute; z-index: 8;
  right: var(--pad); bottom: 12vh;
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem;
  margin: 0; text-align: right;
  letter-spacing: 0.19em; text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  font-variant-numeric: tabular-nums;
  opacity: var(--cl-ui, 0);
}
.cl-r-name { font-size: 0.8125rem; }
.cl-r-vals { opacity: 0.66; }

/* the record: every colour passed through, kept as a band on the
   right edge — the trace the closing field is composed from */
.cl-record {
  position: absolute; z-index: 8;
  right: 0; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 4px;
  margin: 0; padding: 0; list-style: none;
  opacity: var(--cl-ui, 0);
}
.cl-record li {
  width: 12px; height: 0; background: var(--c);
  transition: height 700ms var(--ease), width 400ms var(--ease);
}
.cl-record li[data-in="1"] { height: 30px; }
.cl-record li[data-now="1"] { width: 26px; }

.cl-tools {
  position: absolute; z-index: 8;
  right: var(--pad); bottom: 19vh;
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end;
  opacity: var(--cl-ui, 0);
}
.cl-tools .cl-btn { border-color: rgba(255,255,255,0.5); color: #FFF; }
.cl-tools .cl-btn:hover, .cl-tools .cl-btn:focus-visible { border-color: #FFF; background: rgba(255,255,255,0.14); color: #FFF; }
.cl-tools .cl-btn[aria-pressed="true"] { border-color: #FFF; background: rgba(255,255,255,0.2); color: #FFF; }

.cl-hint {
  position: absolute; z-index: 8;
  left: var(--pad); top: 15vh; margin: 0;
  letter-spacing: 0.19em; text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  opacity: calc(var(--cl-ui, 0) * var(--cl-hint, 1));
  transition: opacity 500ms var(--ease);
}

/* the trace this chapter hands on is a kept thing, so it is kept on a
   sheet — the same warm sheet the four seconds and Between Explorations
   use. Without a ground it reads as a smudge on the composed field
   rather than as a record taken off it. */
.cl-mark {
  position: absolute; z-index: 9;
  left: 50%; top: 58%;
  width: min(24vw, 30vh); aspect-ratio: 1 / 1;
  transform: translate(-50%, 0) rotate(-1.4deg) scale(calc(0.9 + var(--cl-mark, 0) * 0.1));
  opacity: var(--cl-mark, 0);
  background-color: #FCFAF7;
  background-image: url("../img/generated/TEMP-paper-grain.png");
  background-size: 300px 300px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset,
              0 18px 44px rgba(20,19,17,0.28),
              0 2px 5px rgba(20,19,17,0.16);
  pointer-events: none;
}
.cl-mark canvas { width: 100%; height: 100%; display: block; }
.cl-mark-cap {
  position: absolute; z-index: 9;
  left: 50%; top: calc(58% + min(24vw, 30vh) + 0.9rem);
  transform: translateX(-50%); margin: 0;
  letter-spacing: 0.19em; text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  opacity: var(--cl-mark, 0);
  pointer-events: none;
}

#stColour .beneath { left: var(--pad); bottom: 12vh; opacity: var(--cl-ui, 0); }
#stColour .bn-open { color: rgba(255,255,255,0.82); }
#stColour .bn-open:hover, #stColour .bn-open:focus-visible,
#stColour .bn-open[aria-expanded="true"] { color: #FFF; }
#stColour .bn-open:hover .bn-tick, #stColour .bn-open[aria-expanded="true"] .bn-tick { background: #FFF; }

/* ═════════════════════════════════════════════════════════════
   08 · WHAT THE STRUCTURE CARRIES
   A construction being drawn, not a plate being displayed. Every
   line is a hairline on near-black, and the chapter ends with the
   Bindu alone — which is where the next chapter's halo opens.
   ═════════════════════════════════════════════════════════════ */
#stLineage { background: var(--dark); }

.lg-draw {
  position: absolute; z-index: 2;
  left: 4vw; top: 50%;
  width: min(74vh, 46vw); aspect-ratio: 1 / 1;
  transform: translateY(-50%);
  opacity: var(--lg-on, 0);
  outline: none; touch-action: pan-y;
}
.lg-draw:focus-visible { outline: 1px solid var(--accent); outline-offset: 12px; }
.lg-svg { width: 100%; height: 100%; overflow: visible; display: block; }
.lg-g { fill: none; }
.lg-g line, .lg-g path, .lg-g circle, .lg-g rect {
  vector-effect: non-scaling-stroke;
  stroke: rgba(251,243,232,0.42); stroke-width: 1;
}
/* the stage being drawn is the only one in the accent; everything
   already drawn stays, quietly, so the construction accumulates */
.lg-g[data-state="pending"] { opacity: 0; }
.lg-g[data-state="drawn"]   { opacity: 0.5; transition: opacity 700ms var(--ease); }
.lg-g[data-state="now"]     { opacity: 1; transition: opacity 700ms var(--ease); }
.lg-g[data-state="now"] line, .lg-g[data-state="now"] path,
.lg-g[data-state="now"] circle, .lg-g[data-state="now"] rect { stroke: var(--accent); }

.lg-bindu-dot { fill: var(--accent); stroke: none; }
.lg-bindu-halo {
  fill: none; stroke: var(--accent); stroke-width: 1;
  transform-origin: 500px 500px;
  transform: scale(calc(1 + var(--lg-bindu, 0) * 11));
  opacity: calc((1 - var(--lg-bindu, 0)) * 0.5);
}

.lg-tag {
  position: absolute; z-index: 5;
  right: var(--pad); top: 16vh; margin: 0;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--on-dark-2);
  opacity: var(--lg-tag, 0);
}
.lg-line {
  position: absolute; z-index: 5;
  right: var(--pad); top: calc(16vh + 2.6rem);
  margin: 0; width: min(28rem, 38vw); text-align: right;
  font: var(--v-monument);
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  letter-spacing: -0.028em; line-height: 1.16;
  color: var(--on-dark);
  opacity: var(--lg-line, 0);
  transform: translateY(calc((1 - var(--lg-line, 0)) * 2.5vh));
  text-wrap: balance;
}

.lg-steps {
  position: absolute; z-index: 6;
  right: var(--pad); top: 46vh;
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.75rem;
  margin: 0; padding: 0; list-style: none;
  opacity: var(--lg-ui, 0);
}
.lg-step {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.3rem 0; margin: 0;
  background: none; border: 0; cursor: pointer;
  font: var(--v-structural); letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--on-dark-2);
  transition: color 340ms var(--ease);
}
.lg-step i { display: block; width: 14px; height: 1px; background: currentColor; transition: width 420ms var(--ease); }
.lg-step:hover, .lg-step:focus-visible { color: var(--on-dark); }
.lg-step:focus-visible { outline: 1px solid var(--accent); outline-offset: 5px; }
.lg-step[aria-current="true"] { color: var(--accent); }
.lg-step[aria-current="true"] i { width: 34px; }

.lg-read {
  position: absolute; z-index: 6;
  right: var(--pad); bottom: 16vh;
  width: min(26rem, 36vw); text-align: right;
  opacity: var(--lg-ui, 0);
}
.lg-kind { margin: 0 0 var(--s2); color: var(--accent); letter-spacing: 0.19em; text-transform: uppercase; transition: opacity 240ms var(--ease); }
.lg-body { margin: 0; font: var(--v-editorial); color: #CFC5B7; transition: opacity 240ms var(--ease); }
.lg-read.is-turning .lg-kind, .lg-read.is-turning .lg-body { opacity: 0.12; }

#stLineage .beneath { left: 4vw; bottom: 10vh; opacity: var(--lg-ui, 0); }

/* ═════════════════════════════════════════════════════════════
   12 · RHYTHM
   The instrument is the whole field. Stop is deliberately the
   heaviest control on the panel, and it is never more than one
   key away.
   ═════════════════════════════════════════════════════════════ */
#stOsc { background: var(--dark); }
.os-field { position: absolute; inset: 0; width: 100%; height: 100%; opacity: var(--os-on, 0); }

.os-word {
  position: absolute; z-index: 4;
  left: calc(-0.05em + var(--nudge) * var(--os-right)); top: 9vh; margin: 0;
  font: var(--v-monument);
  font-size: clamp(3rem, 12vw, 10rem);
  letter-spacing: -0.05em; line-height: 0.86;
  color: var(--on-dark);
  opacity: calc(var(--os-word, 0) * 0.9);
  pointer-events: none; white-space: nowrap;
}
.os-lead {
  position: absolute; z-index: 5;
  left: var(--pad); top: 27vh; margin: 0;
  width: min(24rem, 34vw);
  font: var(--v-monument);
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  letter-spacing: -0.026em; line-height: 1.18;
  color: var(--on-dark);
  opacity: var(--os-lead, 0);
  transform: translateY(calc((1 - var(--os-lead, 0)) * 2.5vh));
}

.os-panel {
  position: absolute; z-index: 7;
  right: var(--pad); top: 24vh;
  width: min(21rem, 30vw);
  display: flex; flex-direction: column; gap: var(--s3);
  opacity: var(--os-ui, 0);
}
.os-run { display: flex; gap: 10px; flex-wrap: wrap; }
.os-btn--stop { border-color: var(--accent); color: var(--accent); }
.os-btn--stop:not([disabled]):hover, .os-btn--stop:not([disabled]):focus-visible { background: var(--accent); color: #fff; }

.os-modes { margin: 0; padding: 0; border: 0; }
.os-modes legend { padding: 0 0 0.7rem; color: var(--on-dark-2); letter-spacing: 0.19em; text-transform: uppercase; }
.os-mode { display: flex; align-items: flex-start; gap: 0.65rem; padding: 0.3rem 0; cursor: pointer; }
.os-mode span { font: var(--v-editorial); font-size: 0.9375rem; line-height: 1.4; color: #CFC5B7; transition: color 300ms var(--ease); }
.os-mode input { margin: 0.3rem 0 0; accent-color: var(--accent); width: 13px; height: 13px; flex: none; }
.os-mode input:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
.os-mode:hover span { color: var(--on-dark); }
.os-mode input:checked + span { color: var(--accent); }

.os-pace { display: flex; flex-direction: column; gap: 0.6rem; }
.os-pace span { color: var(--on-dark-2); letter-spacing: 0.19em; text-transform: uppercase; }
.os-pace b { color: var(--accent); font-weight: 400; font-variant-numeric: tabular-nums; }
.os-pace input[type="range"] { width: 100%; accent-color: var(--accent); }
.os-pace input[type="range"]:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
.os-status { margin: 0; color: var(--on-dark-2); letter-spacing: 0.19em; text-transform: uppercase; }

.os-hold {
  position: absolute; z-index: 8;
  left: 50%; bottom: 16vh; transform: translateX(-50%);
}
.os-hold[hidden] { display: none; }
.os-hold-btn {
  display: flex; flex-direction: column; align-items: center; gap: 0.9rem;
  padding: 0.6rem; margin: 0;
  background: none; border: 0; cursor: pointer;
  color: var(--on-dark-2);
  -webkit-user-select: none; user-select: none; touch-action: none;
}
.os-hold-ring {
  display: block; width: clamp(56px, 7vw, 80px); aspect-ratio: 1 / 1;
  border-radius: 50%; border: 1px solid var(--accent);
  transform: scale(calc(0.82 + var(--os-hold, 0) * 0.34));
  background: rgba(255,77,0,calc(var(--os-hold, 0) * 0.22));
  transition: transform 120ms linear, background 120ms linear;
}
.os-hold-btn:hover, .os-hold-btn:focus-visible { color: var(--accent); }

.os-permission {
  position: absolute; z-index: 7;
  left: var(--pad); bottom: 12vh;
  width: min(25rem, 36vw); margin: 0;
  font: var(--v-editorial); font-size: 0.9375rem; line-height: 1.6;
  color: var(--on-dark-2);
  opacity: var(--os-ui, 0);
}
#stOsc .beneath { right: var(--pad); bottom: 12vh; opacity: var(--os-ui, 0); }

/* ═════════════════════════════════════════════════════════════
   13 · WHAT THE PRACTICE CAN SUPPORT
   The cluster is the chapter. Holding opens it; releasing closes
   it. Nothing appears that was not already in the space.
   ═════════════════════════════════════════════════════════════ */
#stSupport { background: var(--ground); }
#stSupport::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: url("../img/generated/TEMP-paper-grain.png");
  background-size: 512px 512px; opacity: 0.4; pointer-events: none;
}
.sp-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: var(--sp-on, 0); }

/* the anchor and the line under it are one reading, so they are one
   block: a fixed offset between them would collide the moment the
   headline took one more line than it was measured for */
.sp-read {
  position: absolute; z-index: 5;
  left: var(--pad); top: 15vh;
  width: min(31rem, 42vw);
}
.sp-anchor {
  margin: 0;
  font: var(--v-monument);
  font-size: clamp(1.45rem, 2.55vw, 2.15rem);
  letter-spacing: -0.028em; line-height: 1.16;
  color: var(--ink);
  opacity: var(--sp-anchor, 0);
  transform: translateY(calc((1 - var(--sp-anchor, 0)) * 3vh));
  text-wrap: balance;
}
.sp-sub {
  margin: var(--s4) 0 0; width: min(24rem, 100%);
  font: var(--v-editorial); color: var(--graphite);
  opacity: var(--sp-sub, 0);
}

/* the lines live in the room the cluster opens, not in a list
   beside it — their positions are the gaps between the marks */
.sp-list {
  position: absolute; inset: 0; z-index: 4;
  margin: 0; padding: 0; list-style: none; pointer-events: none;
}
.sp-item {
  position: absolute;
  left: calc(var(--sx) * 1%); top: calc(var(--sy) * 1%);
  transform: translate(-50%, -50%);
  margin: 0; max-width: min(15rem, 26vw);
  font: var(--v-editorial);
  font-size: clamp(0.875rem, 1.15vw, 1.0625rem); line-height: 1.35;
  color: var(--graphite);
  opacity: 0;
  transition: opacity 520ms var(--ease);
  text-wrap: balance;
}
.sp-item.is-in { opacity: calc(0.35 + var(--room, 0) * 0.65); }
.sp-item::before {
  content: ""; position: absolute; left: -0.85rem; top: 0.55em;
  width: 6px; height: 1px; background: var(--accent);
  opacity: var(--room, 0);
}

.sp-tools {
  position: absolute; z-index: 6;
  left: var(--pad); bottom: 15vh;
  display: flex; align-items: center; gap: var(--s4);
  opacity: var(--sp-sub, 0);
}
.sp-open {
  display: inline-flex; align-items: center; gap: 0.9rem;
  padding: 0.65rem 1.05rem 0.65rem 0.65rem; margin: 0;
  background: none; border: 1px solid var(--grey-2); cursor: pointer;
  font: var(--v-structural); letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--ink);
  -webkit-user-select: none; user-select: none; touch-action: none;
  transition: border-color 300ms var(--ease), color 300ms var(--ease);
}
.sp-open-ring {
  display: block; width: 22px; aspect-ratio: 1 / 1;
  border-radius: 50%; border: 1px solid var(--accent);
  transform: scale(calc(0.72 + var(--room, 0) * 0.5));
  background: rgba(255,77,0,calc(var(--room, 0) * 0.28));
  transition: transform 140ms linear, background 140ms linear;
}
.sp-open:hover, .sp-open:focus-visible { border-color: var(--accent); color: var(--accent); }
.sp-readout { margin: 0; color: var(--graphite-2); letter-spacing: 0.19em; text-transform: uppercase; font-variant-numeric: tabular-nums; }

.sp-bound {
  position: absolute; z-index: 6;
  left: var(--pad); bottom: 9vh; margin: 0;
  width: min(28rem, 40vw);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--graphite-2); line-height: 1.9;
  opacity: var(--sp-sub, 0);
}
#stSupport .beneath { right: var(--pad); top: 16vh; opacity: var(--sp-sub, 0); }

/* ═════════════════════════════════════════════════════════════
   14 · BETWEEN EXPLORATIONS
   One sheet, six stations standing around it. The sheet is the
   same material as the sheet in the four seconds, because it is
   the same sheet — carried out of the Exploration into the days
   between.
   ═════════════════════════════════════════════════════════════ */
#stBetween { background: var(--ground); }
#stBetween::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: url("../img/generated/TEMP-paper-grain.png");
  background-size: 512px 512px; opacity: 0.4; pointer-events: none;
}

.bt-tag {
  position: absolute; z-index: 6;
  left: var(--pad); top: 11vh; margin: 0;
  letter-spacing: 0.19em; text-transform: uppercase; color: var(--accent);
  opacity: var(--bt-head, 0);
}
.bt-title {
  position: absolute; z-index: 6;
  left: var(--pad); top: calc(11vh + 2.2rem);
  margin: 0; width: min(26rem, 36vw);
  font: var(--v-monument);
  font-size: clamp(1.5rem, 2.7vw, 2.3rem);
  letter-spacing: -0.03em; line-height: 1.12;
  color: var(--ink);
  opacity: var(--bt-head, 0);
  transform: translateY(calc((1 - var(--bt-head, 0)) * 3vh));
}

.bt-sheet {
  position: absolute; z-index: 3;
  right: 8vw; top: 50%;
  width: min(38vw, 52vh); aspect-ratio: 1 / 1;
  transform: translateY(-50%) rotate(-1.6deg) scale(calc(0.96 + var(--bt-on, 0) * 0.04));
  opacity: var(--bt-on, 0);
  background-color: #FCFAF7;
  background-image: url("../img/generated/TEMP-paper-grain.png");
  background-size: 300px 300px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset,
              0 20px 50px rgba(20,19,17,0.16),
              0 2px 6px rgba(20,19,17,0.10);
}
.bt-sheet canvas { width: 100%; height: 100%; display: block; }
.bt-sheet-cap {
  position: absolute; left: 0; bottom: -1.9rem; margin: 0;
  letter-spacing: 0.19em; text-transform: uppercase; color: var(--graphite-2);
}

/* the stations stand around the sheet on a ring — not a row of
   cards, and never a carousel */
.bt-ring {
  position: absolute; inset: 0; z-index: 5;
  margin: 0; padding: 0; list-style: none;
  opacity: var(--bt-on, 0);
}
.bt-station {
  position: absolute;
  left: calc(var(--bx) * 1%); top: calc(var(--by) * 1%);
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  padding: 0.45rem 0.6rem; margin: 0;
  background: none; border: 0; cursor: pointer;
  font: var(--v-structural); letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--graphite-2);
  transition: color 340ms var(--ease), transform 520ms var(--ease);
}
.bt-station .st-dot {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid currentColor;
  transition: width 420ms var(--ease), height 420ms var(--ease), background 420ms var(--ease);
}
.bt-station .st-name { white-space: nowrap; }
.bt-station:hover, .bt-station:focus-visible { color: var(--ink); }
.bt-station:focus-visible { outline: 1px solid var(--accent); outline-offset: 5px; }
.bt-station[aria-current="true"] { color: var(--accent); }
.bt-station[aria-current="true"] .st-dot { width: 13px; height: 13px; background: var(--accent); border-color: var(--accent); }
/* a station that has left its mark keeps a filled centre */
.bt-station[data-done="1"] .st-dot { background: var(--graphite); border-color: var(--graphite); }
.bt-station[data-done="1"][aria-current="true"] .st-dot { background: var(--accent); border-color: var(--accent); }

.bt-live {
  position: absolute; z-index: 6;
  left: var(--pad); top: 33vh;
  width: min(25rem, 33vw);
  opacity: var(--bt-on, 0);
}
.bt-live-num { margin: 0 0 0.5rem; color: var(--accent); letter-spacing: 0.19em; font-variant-numeric: tabular-nums; }
.bt-live-name {
  margin: 0 0 var(--s3);
  font: var(--v-monument);
  font-size: clamp(1.2rem, 1.9vw, 1.65rem);
  letter-spacing: -0.022em; line-height: 1.15;
  color: var(--ink);
}
.bt-live-body { margin: 0; font: var(--v-editorial); color: var(--graphite); }
.bt-live-alt {
  margin: var(--s3) 0 0; padding-left: 0.9rem;
  border-left: 1px solid var(--grey-2);
  letter-spacing: 0.1em; text-transform: none; line-height: 1.8;
  color: var(--graphite-2);
}
.bt-live-instrument { margin-top: var(--s4); min-height: 4.6rem; }
.bt-live-status { margin: var(--s3) 0 0; color: var(--graphite-2); letter-spacing: 0.19em; text-transform: uppercase; }
.bt-live.is-turning .bt-live-name,
.bt-live.is-turning .bt-live-body,
.bt-live.is-turning .bt-live-alt { opacity: 0.12; }
.bt-live-name, .bt-live-body, .bt-live-alt { transition: opacity 240ms var(--ease); }

/* the instruments themselves, all in the one register */
.bi-row { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.bi-btn {
  padding: 0.6rem 0.95rem; margin: 0;
  background: none; border: 1px solid var(--grey-2); cursor: pointer;
  font: var(--v-structural); letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--ink);
  transition: border-color 300ms var(--ease), color 300ms var(--ease);
}
.bi-btn:hover, .bi-btn:focus-visible { border-color: var(--accent); color: var(--accent); }
.bi-btn:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
.bi-btn[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.bi-btn[disabled] { opacity: 0.32; cursor: default; }
.bi-arc { display: block; width: 62px; height: 62px; }
.bi-arc circle { fill: none; stroke: var(--grey-2); stroke-width: 2; }
.bi-arc .bi-arc-run {
  stroke: var(--accent);
  stroke-dasharray: 175.9; stroke-dashoffset: calc(175.9 * (1 - var(--arc, 0)));
  stroke-linecap: round;
}
.bi-field {
  width: 100%; height: 4.2rem;
  background: var(--bi-c, #C8442B);
  transition: background 700ms var(--ease);
}
.bi-pad {
  width: 100%; height: 5.4rem;
  border: 1px dashed var(--grey-2); cursor: crosshair;
  touch-action: none; background: rgba(255,255,255,0.4);
}
.bi-pad:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
.bi-input {
  width: 100%; padding: 0.6rem 0.7rem;
  background: rgba(255,255,255,0.55); border: 1px solid var(--grey-2);
  font: var(--v-editorial); font-size: 0.9375rem; color: var(--ink);
}
.bi-input:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }
.bi-ticks { display: flex; gap: 6px; align-items: flex-end; height: 26px; margin-bottom: var(--s2); }
.bi-ticks i { display: block; width: 1px; height: 26px; background: var(--accent); }

.bt-tools {
  position: absolute; z-index: 6;
  left: var(--pad); bottom: 10vh;
  display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap;
  opacity: var(--bt-on, 0);
}
.bt-count { margin: 0; color: var(--graphite-2); letter-spacing: 0.19em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
#stBetween .beneath { right: var(--pad); bottom: 10vh; opacity: var(--bt-on, 0); }

/* ═════════════════════════════════════════════════════════════
   MOBILE
   Same journey, one column, every interaction reachable by touch
   and nothing important pushed off an edge.
   ═════════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  .sc-track--nature  { --track: 380vh; }
  .sc-track--colour  { --track: 420vh; }
  /* VESICA PASS 14 — the same chapter length as the desktop value
     above (:32), narrower breakpoint's own copy of it. It is
     Julia's, set by feel; changing it means changing this one value
     and nothing else. Superseded: 250vh (pass 1 through pass 13). */
  .sc-track--lineage { --track: 580vh; }
  .sc-track--osc     { --track: 300vh; }
  .sc-track--support { --track: 300vh; }
  .sc-track--between { --track: 400vh; }

  .bn-panel { width: calc(100vw - 1.5rem); max-height: min(24rem, 62vh); padding: var(--s3); border-radius: 16px; }

  /* Nature: the specimen moves up and the reading takes the floor */
  .na-specimen { right: -20vw; top: 33%; width: 92vw; }
  .na-lead { width: auto; right: var(--pad); top: 11vh; font-size: clamp(1.3rem, 5.6vw, 1.7rem); }
  .na-read { left: var(--pad); right: var(--pad); width: auto; top: auto; bottom: 27vh; }
  .na-read::before { display: none; }
  .na-word { font-size: clamp(2.6rem, 19vw, 6rem); }
  .na-index { left: var(--pad); right: var(--pad); bottom: 22vh; justify-content: space-between; gap: 0.4rem; }
  .na-tools { left: var(--pad); right: var(--pad); bottom: 12vh; }
  .na-close { top: 46%; width: min(28rem, 86vw); font-size: clamp(1.35rem, 6vw, 1.9rem); }
  #stNature .beneath { right: var(--pad); left: auto; top: auto; bottom: 6vh; }

  /* Colour: the second plane takes the bottom rather than the side,
     so both squares stay on screen at this width */
  .cl-plane--b { clip-path: inset(calc(100% - var(--cl-split, 0) * 42%) 0 0 0); }
  .cl-sq { top: auto; transform: none; width: clamp(64px, 22vw, 108px); }
  .cl-sq--a { left: 10%; top: 34%; }
  .cl-sq--b { right: 10%; left: auto; top: 68%; }
  .cl-word { font-size: clamp(2.8rem, 21vw, 7rem); }
  .cl-lead { left: var(--pad); right: var(--pad); width: auto; text-align: left; top: 11vh; font-size: clamp(1.2rem, 5.2vw, 1.6rem); }
  .cl-close { top: 42%; width: min(28rem, 86vw); font-size: clamp(1.35rem, 6vw, 1.9rem); }
  .cl-readout { left: var(--pad); right: auto; align-items: flex-start; text-align: left; bottom: 20vh; }
  .cl-tools { left: var(--pad); right: var(--pad); bottom: 26vh; justify-content: flex-start; }
  .cl-record { top: auto; bottom: 0; right: 0; left: 0; transform: none; flex-direction: row; gap: 3px; }
  .cl-record li { width: 0; height: 10px; flex: 1 1 0; }
  .cl-record li[data-in="1"] { height: 10px; }
  .cl-record li[data-now="1"] { width: 0; height: 18px; }
  .cl-hint { top: auto; bottom: 13vh; }
  .cl-mark { width: 42vw; top: 50%; }
  .cl-mark-cap { top: calc(50% + 42vw + 0.7rem); }
  #stColour .beneath { left: auto; right: var(--pad); bottom: 6vh; }

  /* Lineage */
  .lg-draw { left: 50%; top: 34%; width: 78vw; transform: translate(-50%, -50%); }
  .lg-tag { left: var(--pad); right: auto; top: 11vh; }
  .lg-line { left: var(--pad); right: var(--pad); width: auto; text-align: left; top: calc(11vh + 2rem); font-size: clamp(1.2rem, 5.2vw, 1.6rem); }
  .lg-steps { left: var(--pad); right: var(--pad); top: auto; bottom: 30vh; flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 0.5rem 1.1rem; }
  .lg-read { left: var(--pad); right: var(--pad); width: auto; text-align: left; bottom: 15vh; }
  #stLineage .beneath { left: auto; right: var(--pad); bottom: 6vh; }

  /* Rhythm: the panel takes the lower half, Stop stays reachable
     by the thumb and never scrolls away */
  .os-word { font-size: clamp(2.4rem, 17vw, 5rem); top: 8vh; }
  .os-lead { width: auto; right: var(--pad); top: 22vh; font-size: clamp(1.15rem, 5vw, 1.5rem); }
  .os-panel { left: var(--pad); right: var(--pad); width: auto; top: auto; bottom: 20vh; transform: none; gap: var(--s2); }
  .os-modes legend { padding-bottom: 0.4rem; }
  .os-mode { padding: 0.42rem 0; }
  /* the hold control moves out of the panel's way entirely: Stop must
     never be behind anything, at any width */
  .os-hold { left: auto; right: var(--pad); bottom: auto; top: 8vh; transform: none; }
  .os-hold-ring { width: 48px; }
  .os-hold-btn { gap: 0.6rem; padding: 0.4rem 0; }
  .os-permission { width: auto; right: var(--pad); bottom: 11vh; font-size: 0.8125rem; }
  #stOsc .beneath { right: var(--pad); bottom: 5vh; }

  /* Support */
  .sp-read { left: var(--pad); right: var(--pad); width: auto; top: 12vh; }
  .sp-anchor { font-size: clamp(1.25rem, 5.2vw, 1.7rem); }
  .sp-sub { width: auto; margin-top: var(--s3); font-size: 0.9375rem; }
  /* the room is a phone screen: the lines stack in it instead of
     being scattered across a field that is no longer there */
  .sp-list {
    inset: auto var(--pad) 34vh var(--pad);
    display: flex; flex-direction: column; gap: 0.45rem;
  }
  /* relative, not static: the item's own rule is what the accent mark
     is positioned against — static would stack all nine on one point */
  .sp-item {
    position: relative !important; left: auto; top: auto;
    transform: none !important;
    max-width: none; font-size: 0.8125rem; line-height: 1.3;
    padding-left: 0.9rem;
  }
  .sp-item::before { left: 0; top: 0.5em; }
  .sp-tools { left: var(--pad); right: var(--pad); bottom: 20vh; gap: var(--s3); }
  .sp-bound { width: auto; right: var(--pad); bottom: 12vh; }
  #stSupport .beneath { right: var(--pad); top: auto; bottom: 6vh; }

  /* Between: title, then the stations and the sheet side by side as
     one band, then the live instrument taking the whole lower half.
     A bow of stations the width of a phone is a scatter, so it
     becomes a measured column standing beside the sheet. */
  .bt-tag { top: 8vh; }
  .bt-title {
    top: calc(8vh + 2rem); width: min(20rem, 62vw);
    font-size: clamp(1.15rem, 4.6vw, 1.5rem);
  }
  .bt-sheet { right: var(--pad); top: 21vh; width: 34vw; transform: rotate(-1.6deg); }
  .bt-sheet-cap { bottom: -1.5rem; font-size: 0.5625rem; letter-spacing: 0.12em; }
  .bt-ring {
    inset: 21vh auto auto var(--pad);
    display: flex; flex-direction: column; align-items: flex-start; gap: 0.2rem;
  }
  .bt-station {
    position: static !important; transform: none !important;
    flex-direction: row; gap: 0.6rem; padding: 0.3rem 0.1rem;
  }
  .bt-station .st-name { font-size: 0.5625rem; }
  .bt-live { left: var(--pad); right: var(--pad); width: auto; top: 44vh; bottom: auto; }
  .bt-live-name { font-size: 1.15rem; margin-bottom: var(--s2); }
  .bt-live-body { font-size: 0.9375rem; line-height: 1.5; }
  .bt-live-alt { margin-top: var(--s2); font-size: 0.625rem; line-height: 1.6; }
  .bt-live-instrument { min-height: 3.4rem; margin-top: var(--s3); }
  .bt-live-status { margin-top: var(--s2); }
  .bt-tools { left: var(--pad); right: var(--pad); bottom: 11vh; gap: var(--s3); }
  #stBetween .beneath { right: var(--pad); bottom: 5vh; }
}

/* ═════════════════════════════════════════════════════════════
   REDUCED MOTION
   proof.css already turns every chapter into a composed static
   reading. These are the corrections the new chapters need on top
   of it: the canvases have to keep a size, the instruments have
   to stay operable, and anything whose only job was travel is
   simply gone.
   ═════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .na-specimen, .lg-draw, .bt-sheet {
    position: relative !important;
    width: min(30rem, 82vw) !important; max-width: none;
    aspect-ratio: 1 / 1; transform: none !important;
  }
  .os-field, .sp-field {
    position: relative !important;
    width: 100% !important; max-width: 46rem;
    height: 46vh !important; aspect-ratio: auto;
  }
  .na-form, .na-trace { position: absolute; }
  .na-trace { -webkit-mask-image: none !important; mask-image: none !important; }

  /* nothing may be positioned into a room that no longer exists */
  .sp-list { position: static !important; display: grid; gap: var(--s2); }
  .sp-item { position: static !important; transform: none !important; opacity: 1 !important; max-width: min(100%, 42rem); }
  .sp-item::before { opacity: 1; position: static; display: inline-block; margin-right: 0.6rem; vertical-align: middle; }
  .bt-ring { position: static !important; display: flex; flex-wrap: wrap; gap: var(--s3); }
  .bt-station { position: static !important; transform: none !important; flex-direction: row; gap: 0.6rem; }
  .cl-record { position: static !important; flex-direction: row !important; transform: none !important; gap: 4px; }
  .cl-record li { width: 26px !important; height: 26px !important; }
  .lg-g[data-state="pending"] { opacity: 0.5; }
  .lg-bindu-halo { display: none; }
  .cl-grain { display: none; }
  /* the composed field is content, not travel: it stays, as its own
     band, and the button that takes it apart still works */
  .cl-compose {
    position: relative !important; display: block;
    width: 100% !important; max-width: 46rem; height: 18vh !important;
    opacity: 1 !important;
  }
  .cl-word, .cl-lead, .cl-close, .os-word, .na-word, .na-close {
    font-size: clamp(1.6rem, 6vw, 2.6rem); line-height: 1.15; letter-spacing: -0.03em;
    mix-blend-mode: normal !important; text-shadow: none !important;
  }
  .cl-word, .na-word, .os-word { font-size: clamp(2.2rem, 8vw, 4.5rem); line-height: 1; letter-spacing: -0.04em; }
  /* the colour field is a real field, not a full-viewport wash, when
     the page is a document rather than a journey — but the pair of
     grounds and the two identical squares stay exactly as they are,
     because they are the demonstration, not decoration */
  .cl-pair {
    position: relative !important;
    width: 100% !important; max-width: 46rem; height: 38vh !important;
  }
  /* these two are inside .cl-pair now, so the blanket "everything is
     visible" reset in proof.css cannot reach them — they say it here */
  .cl-plane { position: absolute !important; inset: 0; height: auto !important; opacity: 1 !important; }
  .cl-sq { position: absolute !important; opacity: 1 !important; }
  .cl-space { position: static !important; height: 0; }
  /* right-aligned copy is a composition, and there is no composition
     here — a document reads from one edge */
  .cl-lead, .cl-close, .cl-readout, .lg-line, .lg-read, .cl-record {
    text-align: left !important; align-items: flex-start !important;
  }
  .cl-mark { position: relative !important; width: min(18rem, 60vw) !important; transform: none !important; }
  .cl-mark-cap { position: static !important; transform: none !important; }
  .na-read::before, .sp-open-ring, .os-hold-ring { transition: none !important; }
  /* the caption belongs under the sheet, not inside it */
  .bt-sheet-cap { bottom: -1.6rem; }
  .beneath { position: static !important; }
  .bn-panel { position: static !important; width: 100% !important; max-width: 46rem; max-height: none; margin-top: var(--s3); }
}

/* ═════════════════════════════════════════════════════════════
   FORCED COLOURS / HIGH CONTRAST
   The chapters are built out of colour and hairline, so in a
   forced-colours mode the structure has to be restated in the
   system's own terms rather than left invisible.
   ═════════════════════════════════════════════════════════════ */
@media (forced-colors: active) {
  .bn-panel { border: 1px solid CanvasText; background: Canvas; }
  .bn-tick, .sp-item::before { background: CanvasText; }
  .na-ix i, .lg-step i { background: CanvasText; }
  .cl-sq, .cl-record li { border: 1px solid CanvasText; }
  .sp-open-ring, .os-hold-ring { border-color: CanvasText; }
  .bt-station .st-dot { border-color: CanvasText; }
}

/* ═════════════════════════════════════════════════════════════
   ═══ PHASE C1 · HYBRID RECOVERY ══════════════════════════════

   Everything below is the controlled polish applied on top of the
   recovered pre-polish Phase C1. It is deliberately last in the
   file so that it wins over the rules it corrects, and it carries
   its own mobile and reduced-motion blocks for the same reason.

   The visual standard is the recovered chapter. Nothing here
   enlarges a graphic, adds a card, or puts a paragraph on a
   primary stage; every correction is either a position, a hit
   area, a state that was missing, or a reading moved into the
   lens.
   ═════════════════════════════════════════════════════════════ */

/* One nudge, defined once. Julia's corrections are given in
   centimetres at her review viewport, so this is exactly 1cm at
   1440 CSS px wide (37.8px at 96dpi) and stays proportional
   either side of it — bounded, because a real physical unit
   behaves badly at the extremes of the range. */
:root { --nudge: clamp(20px, 2.625vw, 44px); }

/* 02 · IN NATURE — the display word's own corrections.
   Kept separate from --nudge because --nudge carries Julia's
   Symbols corrections and the two words need different amounts.
   Both are expressed in nudges, so they stay in the same
   physical currency: 1 = one centimetre at her review viewport.
   --na-right  how far the word starts in from the left edge
   --na-up     how far it lifts off the bottom edge */
:root { --na-right: 1.33; --na-up: 1.5; --sy-right: 1.5; --sy-up: 0.5; }
/* 04 · VIBRATION, 06 · COLOUR, 13 · RHYTHM — same currency, added
   14 August. --vb-left pushes Vibration in from the right edge;
   Colour and Rhythm move in from the left and Colour also lifts. */
:root { --vb-left: 1; --cl-right: 1.5; --cl-up: 1.5; --os-right: 1; }

/* ── the third colour ──
   Orange is our mark; blue is what answers the visitor. It lives
   here rather than in styles.css because this branch adds exactly
   one stylesheet and leaves the approved files byte for byte.
   On merge it belongs in the token block beside --accent. */
:root { --light: #96BAE8; }

/* 04 · VIBRATION — the display word moves in from the right edge.
   The rule lives here, not in proof.css, for the same reason:
   expansion.css loads last, so it overrides the approved chapter
   file without touching it. */
.vb-word { right: calc(-0.04em + var(--nudge) * var(--vb-left)); }

/* ─────────────────────────────────────────────────────────────
   00 · ENTRANCE — the scroll cue
   Visitors do not know the page moves downward. The cue is the
   chapter rail's own language arriving early: a thin orange
   hairline on the left with a single point on it, the same
   figure the rail uses, at a fraction of its weight. No label,
   no chevron, no bounce.
   ───────────────────────────────────────────────────────────── */
.scroll-cue {
  position: fixed; z-index: 30;
  left: calc(var(--pad) * 0.62); top: 50%;
  width: 1px; height: clamp(72px, 12vh, 124px);
  transform: translateY(-50%);
  background: linear-gradient(to bottom,
    rgba(255,77,0,0) 0%, rgba(255,77,0,0.62) 22%,
    rgba(255,77,0,0.62) 74%, rgba(255,77,0,0) 100%);
  opacity: var(--cue, 0);
  transition: opacity 700ms var(--ease);
  pointer-events: none;
}
.scroll-cue::after {
  content: ""; position: absolute; left: -1.5px; top: 0;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent);
  /* one slow descent, not a loop: it travels the hairline twice
     and then simply rests. Composited — the dot moves on
     transform, never on top. */
  animation: cue-descend 3.4s var(--ease) 2 both;
}
@keyframes cue-descend {
  0%   { transform: translateY(4px);  opacity: 0; }
  22%  { opacity: 1; }
  78%  { opacity: 1; }
  100% { transform: translateY(var(--cue-travel, 64px)); opacity: 0; }
}

/* ─────────────────────────────────────────────────────────────
   01 · SYMBOLS — Julia's positional corrections
   The composition moves one centimetre right, the relic one
   right and one up, the display word one up. The aperture image
   already overflows its frame by 8%, so it can be moved without
   opening a gap at the edge it leaves.
   ───────────────────────────────────────────────────────────── */
.sy-arch { left: calc(-8% + var(--nudge)); }

/* the measured axis is the reading of the composition, so it
   travels with it and stays its true centre */
.sy-measure     { left: calc(50% + var(--nudge)); }
.sy-measure-cap { left: calc(50% + var(--nudge) + 12px); }

.sy-relic { left: calc(-12vw + var(--nudge)); bottom: calc(-8vh + var(--nudge)); }

.sy-word {
  bottom: calc(-0.15em + var(--nudge) + var(--nudge) * var(--sy-up));
  /* the crop at the left edge is the composition; the crop that
     took the whole first letter was not. Julia moved the word
     further in on 14 August; the composition's own crop stays. */
  left: calc(-0.02em + var(--nudge) * var(--sy-right));
}

/* the lens sits under the reading column, on the quiet side of
   the picture, and is only present once the column is */
#stSymbols .beneath { right: var(--pad); bottom: 16vh; opacity: var(--col1, 0); }

/* the opening construction, drawing itself once */
.entry-draw {
  position: absolute; z-index: 1;
  left: 50%; top: 50%;
  width: min(96vh, 78vw); aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  overflow: visible; pointer-events: none;
  opacity: var(--ed, 0);
  transition: opacity 900ms var(--ease);
}
.entry-draw .ed-c, .entry-draw .ed-lens {
  fill: none; vector-effect: non-scaling-stroke;
  /* the entrance stands on the warm white ground, so the hairline is
     graphite — the same hairline the chassis and the rail are drawn
     in. It inverts with the ground like everything else does. */
  stroke: rgba(20,19,17,0.22); stroke-width: 1;
  stroke-dasharray: var(--ed-len, 1200);
  stroke-dashoffset: calc(var(--ed-len, 1200) * (1 - var(--ed-draw, 0)));
}
html[data-tone="dark"] .entry-draw .ed-c,
html[data-tone="dark"] .entry-draw .ed-lens { stroke: rgba(251,243,232,0.26); }
.entry-draw .ed-lens { stroke: rgba(255,77,0,0.50); }
.entry-draw .ed-origin {
  fill: var(--accent); stroke: none;
  opacity: calc(var(--ed-draw, 0) * var(--ed-draw, 0));
}
/* the second circle follows the first rather than racing it */
.entry-draw .ed-c2 { stroke-dashoffset: calc(var(--ed-len, 1200) * (1 - var(--ed-draw2, 0))); }
.entry-draw .ed-lens { stroke-dashoffset: calc(var(--ed-len, 1200) * (1 - var(--ed-draw3, 0))); }

/* Julia's correction: the entrance held roughly a screen and a half
   of completely empty field between the identity sequence and the
   first construction. The track is shortened so that interval is
   crossed rather than endured. The sequence itself is unchanged —
   every beat keeps its place in the run, at a slightly quicker
   pace. */
.formation-scroll { height: 800vh; }

/* ─────────────────────────────────────────────────────────────
   02 · SYMBOLS IN NATURE — Julia's corrections

   The scale and composition of the recovered chapter are the
   standard and are not changed. What changes: the specimens are
   framed one at a time rather than by one global transform, the
   interference field is brought fully on screen, the living
   flower is revealed through the reading lens in the same
   registration as the code-native study, and the reading no
   longer runs into the controls under it.
   ───────────────────────────────────────────────────────────── */

/* the reading lens is written on the host now, so both the living
   example and the structural trace are cut by the same disc */
.na-form {
  z-index: 1;
  -webkit-mask-image: radial-gradient(circle at var(--lx, 50%) var(--ly, 50%),
    #000 0, #000 var(--lr, 0px), transparent calc(var(--lr, 0px) + 9vmin));
  mask-image: radial-gradient(circle at var(--lx, 50%) var(--ly, 50%),
    #000 0, #000 var(--lr, 0px), transparent calc(var(--lr, 0px) + 9vmin));
}
/* the structural trace is the top layer: it is the reading, and it is
   drawn over both the study and the living example */
.na-trace {
  z-index: 2;
  -webkit-mask-image: radial-gradient(circle at var(--lx, 50%) var(--ly, 50%),
    #000 0, #000 var(--lr, 0px), transparent calc(var(--lr, 0px) + 9vmin));
  mask-image: radial-gradient(circle at var(--lx, 50%) var(--ly, 50%),
    #000 0, #000 var(--lr, 0px), transparent calc(var(--lr, 0px) + 9vmin));
}

/* the living example: underneath the study, in the same frame,
   brought through only where the visitor is actually looking */
.na-photo {
  position: absolute; inset: 0; z-index: 0;
  display: none; pointer-events: none;
  background: var(--dark);
}
.na-specimen[data-living="1"] .na-photo { display: block; }
.na-photo img {
  width: 100%; height: 100%; display: block;
  object-fit: contain; object-position: center;
  /* the photograph is the base layer now: it is what the visitor
     sees, and the drawn study is revealed over it. Julia's
     instruction, 14 August: her photographs show their real
     colour — no dimming, no desaturation. The declaration is kept
     at neutral so the values stay in one place to tune. */
  filter: saturate(1) brightness(1) contrast(1);
  mix-blend-mode: lighten;
  -webkit-mask-image: none;
  mask-image: none;
}
/* while the living example is coming through, the study steps back
   just far enough that the two are not fighting for the same pixels */
.na-specimen[data-living="1"] .na-photo { opacity: calc(1 - var(--living-in, 0) * 0.12); }

/* ── specimen IV moves ──
   The interference field is a clip, not a still. It sits in the same
   frame, at the same z-index and with the same treatment as the
   photographs: the page's own dark behind it, and lighten on top, so
   its black is the page's black and it never reads as a pasted
   rectangle. Shown for the ripple and nowhere else. */
.na-video {
  position: absolute; inset: 0; z-index: 0;
  display: none; pointer-events: none;
  background: var(--dark);
}
.na-video video {
  width: 100%; height: 100%; display: block;
  object-fit: contain; object-position: center;
  mix-blend-mode: lighten;
  /* the wedge in the upper left is a dark grey, and lighten keeps
     anything brighter than the page. Raising the contrast pushes the
     low end below the page's own black, so the wedge disappears while
     the bright rings — already near white — are untouched. This is a
     black point, not a mask: the vignette above could never reach the
     wedge without eating the outer rings. One number. */
  filter: contrast(var(--water-contrast, 1.3));
  /* the clip filled more of the frame than the four photographs do,
     so specimen IV read as a different set. One number. */
  transform: scale(var(--water-scale, 0.85));
  /* and it carries a lit grey wedge in its upper left, which lighten
     keeps because it is brighter than the page. A soft vignette takes
     the corners without touching the figure — the interference field
     still has to be readable as one whole thing. */
  -webkit-mask-image: radial-gradient(circle at 50% 50%,
    #000 var(--water-vignette, 62%), transparent 100%);
  mask-image: radial-gradient(circle at 50% 50%,
    #000 var(--water-vignette, 62%), transparent 100%);
}

/* A soft patch of the page's own dark over the top-left corner.
   The clip carries a lit wedge there. Contrast alone would take the
   faint outer rings before it took the wedge, and a centre vignette
   cannot reach a corner without eating the figure — so the corner is
   covered instead, in exactly the colour of the page behind it, and
   nothing is masked or crushed. Two numbers, Julia's to tune. */
.na-video::before {
  content: "";
  position: absolute; top: 0; left: 0; z-index: 1;
  width: var(--water-corner-w, 30%);
  height: var(--water-corner-h, 50%);
  background: radial-gradient(ellipse at 0% 0%,
    var(--dark) 0, var(--dark) 50%, transparent 100%);
  pointer-events: none;
}
.na-specimen[data-kind="ripple"] .na-video { display: block; }
.na-specimen[data-kind="ripple"] .na-photo { display: none; }

/* it leaves with the photographs when the structure is shown */
.na-specimen[data-stage="2"] .na-video { opacity: 0; }

/* anyone who has asked their machine for less movement keeps the
   still, which is what the poster is for */
@media (prefers-reduced-motion: reduce) {
  .na-specimen[data-kind="ripple"] .na-video { display: none; }
  .na-specimen[data-kind="ripple"] .na-photo { display: block; }
}

/* ── the two stages ──
   1 the photograph alone · 2 the drawn study with the reading over
   it, and no photograph. There is deliberately no stage where the
   trace lies on the photograph: the trace is a drawing of a pattern,
   not a measurement of that particular specimen, and overlaying it
   would claim a correspondence that does not exist. Julia's
   decision, 14 August. The lens cuts the trace in stage 2 only. */
.na-specimen[data-stage="1"] .na-form,
.na-specimen[data-stage="1"] .na-trace { opacity: 0; }

.na-specimen[data-stage="2"] .na-photo { opacity: 0; }
.na-specimen[data-stage="2"] .na-form  { opacity: 1; }

/* ── one specimen dissolving into the next ──
   Moving between specimens used to be a cut. The layers now fade
   down, swap, and come back, using the same turn() helper the
   reading has always used — so the words and the picture change
   together, and neither snaps. turn() does nothing at all when the
   visitor has asked for reduced motion. */
.na-photo, .na-video, .na-form {
  transition: opacity var(--na-fade, 220ms) var(--ease);
}
.na-specimen.is-turning .na-photo,
.na-specimen.is-turning .na-video,
.na-specimen.is-turning .na-form,
.na-specimen.is-turning .na-trace { opacity: 0; }

/* ── one frame, whole specimen ──
   Every specimen is shown complete, in the same square frame, in
   the same place, at the same size. The crop that used to run the
   flower and the seed head off the right edge was written for code
   drawings dissolving into the page; on a photograph it reads as an
   accident. The interference field always required its whole figure
   on screen — Julia's decision, 14 August, is that its exception
   becomes the rule for all five. */
.na-specimen[data-kind="ripple"] {
  right: 3vw;
  width: min(74vh, 52vw);
}
.na-specimen[data-kind="cells"]  { right: 3vw; }
.na-specimen[data-kind="branch"] { right: 3vw; }

/* The birch was composed tighter than the other four — it fills its
   own frame edge to edge where they carry space around the subject.
   Nothing in the frame treats it differently; the correction belongs
   to this one photograph. One number, Julia's to tune. */
.na-specimen[data-kind="branch"] .na-photo img {
  transform: scale(var(--birch-photo, 0.78));
  /* it ends on a hard edge at top and bottom, so it is dissolved
     there instead — --birch-fade is how much of the height each
     fade takes. One number, Julia's to tune. */
  -webkit-mask-image: linear-gradient(to bottom,
    transparent 0,
    #000 var(--birch-fade, 20%),
    #000 calc(100% - var(--birch-fade, 20%)),
    transparent 100%);
  mask-image: linear-gradient(to bottom,
    transparent 0,
    #000 var(--birch-fade, 20%),
    #000 calc(100% - var(--birch-fade, 20%)),
    transparent 100%);
}

/* the reading is one name and one line now, so it is given a
   bounded column that ends above the controls instead of a top
   offset that could grow into them */
.na-read {
  top: 34vh; max-height: 26vh; overflow: hidden;
}
.na-obs {
  margin: 0; font: var(--v-editorial); color: #CFC5B7;
  transition: opacity 240ms var(--ease);
}
.na-read.is-turning .na-obs { opacity: 0.12; }

/* the controls sit clear of the reading at every height, and the
   lens control moves down beside them rather than floating at the
   top of the field on its own */
.na-tools  { bottom: 22vh; }
.na-index  { bottom: 13vh; }
#stNature .beneath { right: var(--pad); top: auto; bottom: 22vh; }

/* the reading stands clear of the chapter rail, which runs down the
   same edge and was crossing the first letter of the specimen name */
.na-read { left: calc(var(--pad) + 1.4rem); }

/* ─────────────────────────────────────────────────────────────
   03 · HARMONY — reliability and discoverability

   The instrument and its composition are unchanged. What was
   missing: the ratios were labels rather than controls, and
   nothing said the string could be plucked.
   ───────────────────────────────────────────────────────────── */

/* the ratios become real controls. The visible mark stays exactly
   the size it was; the thing you can hit is much larger and
   entirely invisible, which is what makes them dependable on a
   trackpad and under a thumb. */
.hm-ratios { pointer-events: none; }
.hm-ratios b {
  pointer-events: auto; cursor: pointer;
  /* no transition on the active colour: selection is acknowledged on
     the frame it happens, never after an animation */
  transition: opacity 500ms var(--ease), font-size 300ms var(--ease);
}
.hm-ratios b::before {
  content: ""; position: absolute;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 64px;
  border-radius: 8px;
}
.hm-ratios b:focus-visible { outline: 1px solid var(--accent); outline-offset: 8px; }
.hm-ratios b:hover { color: rgba(251,243,232,0.9); }
.hm-ratios b.is-on:hover { color: var(--accent); }
/* the selected division carries a mark of its own, so the active
   state does not rest on colour alone */
.hm-ratios b.is-on::after {
  content: ""; position: absolute;
  left: 50%; top: -0.85rem; transform: translateX(-50%);
  width: 14px; height: 1px; background: var(--accent);
}

/* the pluck cue: it exists only under the pointer, and only over
   the string. Nothing about it is hover-only — the hint line and
   the keyboard both say the same thing without it. */
.hm-cue {
  position: fixed; z-index: 40;
  left: var(--cue-x, 50%); top: var(--cue-y, 50%);
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.34rem 0.62rem 0.34rem 0.5rem;
  border-radius: 999px;
  transform: translate(14px, -50%) scale(calc(0.92 + var(--hm-cue, 0) * 0.08));
  background: rgba(28,24,20,0.6);
  border: 1px solid rgba(255,77,0,0.42);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--accent);
  font: var(--v-structural); letter-spacing: 0.19em; text-transform: uppercase;
  /* The string keeps its box after it fades, and an invisible element
     still catches the pointer — so the cue was appearing over the
     closing line, where there is no string to pluck. It now retires
     exactly as the instrument does. */
  opacity: calc(var(--hm-cue, 0) * (1 - var(--hm-close, 0)));
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
  pointer-events: none; white-space: nowrap;
}
.hm-cue-glyph { width: 11px; height: 15px; flex: none; overflow: visible; }
.hm-cue-glyph path { fill: none; stroke: currentColor; stroke-width: 1.2; }
.hm-cue-glyph ellipse { fill: currentColor; }

/* the hint under the string carries the three steps one at a time,
   in place, instead of a paragraph standing beside the instrument */
.hm-hint { transition: opacity 380ms var(--ease); }

#stHarmony .beneath { right: var(--pad); bottom: 12vh; opacity: var(--hm-str, 0); }

/* ─────────────────────────────────────────────────────────────
   DISPLAY COPY DOES NOT CATCH THE POINTER

   This is the answer to "the controls are sometimes unreliable".
   The chapters are composed in layers, and several of those
   layers are typography laid across the instrument underneath —
   including type that has been faded to nothing and is only
   waiting for its moment. An element at zero opacity still takes
   the pointer, so the closing line of Harmony was silently
   swallowing about half of the pluckable string for the whole
   chapter, and the same thing was happening in smaller ways in
   Explorations, Colour and Perception.

   None of this copy is interactive: it is headings, leads,
   readouts and closing lines. So it stops catching the pointer,
   and the instrument underneath answers everywhere it looks like
   it should. Controls are untouched — every button, radio, range
   and link stays exactly as interactive as it was.
   ───────────────────────────────────────────────────────────── */
.hm-lead, .hm-close, .hm-verse, .hm-readout, .hm-hint, .hm-rect,
.na-lead, .na-close,
.vb-line, .vb-word, .vb-mode,
.pc-line, .pc-sub, .pc-readout,
.cl-lead, .cl-close, .cl-hint, .cl-readout, .cl-word, .cl-mark, .cl-mark-cap,
.ex-word, .ex-what, .ex-count, .ex-ways, .ex-ways span,
.lg-tag, .lg-line, .lg-read,
.os-word, .os-lead, .os-permission, .os-status,
.sp-read, .sp-anchor, .sp-sub, .sp-bound,
.bt-tag, .bt-title, .bt-sheet-cap,
.fe-tag, .fe-title,
.pr-kicker, .pr-strip, .pr-copy, .four-lead, .four-body, .four-after,
.sy-lead, .sy-tag, .sy-measure-cap {
  pointer-events: none;
}
/* …but anything genuinely interactive inside them is put back */
.hm-ratios b,
.sp-read a, .bn-panel a, .ex-ways a {
  pointer-events: auto;
}

/* ─────────────────────────────────────────────────────────────
   07 · EXPLORATIONS — an open field, not a technical drawing
   ───────────────────────────────────────────────────────────── */

/* almost gone at rest */
.ex-grid {
  /* A Flower of Life, not a square grid: circles of equal radius with
     their centres exactly one radius apart on a triangular lattice.
     Nine circles in a tile 40 wide by 69.282 high — that height is
     40 x sqrt(3), and the pattern only closes if it stays exact.

     At rest this is deliberately almost absent. Julia took it down
     step by step across six passes and settled here: alpha 0.0143,
     stroke 0.585. Multiplied together that is an effective 0.0084
     against the page's own black — about two levels out of 255. The
     arcs do not resolve at this weight; what remains is the points
     where circles meet. That is the intent — the ground is sensed,
     and the pattern is what the pointer reveals. It is not a mistake
     and it should not be "corrected" upward.

     It is also the floor. Below roughly 0.0125 alpha at this stroke
     the difference falls under one level in 255 and the pattern stops
     rendering at all on some screens while surviving on others. If it
     needs to go quieter than this, the honest change is to remove the
     rest layer, not to keep reducing it. */
  background-image:
    url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='69.282'%20viewBox='0%200%2040%2069.282'%3E%3Cg%20fill='none'%20stroke='rgba(251,243,232,0.0143)'%20stroke-width='0.585'%20vector-effect='non-scaling-stroke'%3E%3Ccircle%20cx='-20'%20cy='34.641'%20r='40'/%3E%3Ccircle%20cx='0'%20cy='0'%20r='40'/%3E%3Ccircle%20cx='0'%20cy='69.282'%20r='40'/%3E%3Ccircle%20cx='20'%20cy='-34.641'%20r='40'/%3E%3Ccircle%20cx='20'%20cy='34.641'%20r='40'/%3E%3Ccircle%20cx='20'%20cy='103.923'%20r='40'/%3E%3Ccircle%20cx='40'%20cy='0'%20r='40'/%3E%3Ccircle%20cx='40'%20cy='69.282'%20r='40'/%3E%3Ccircle%20cx='60'%20cy='34.641'%20r='40'/%3E%3C/g%3E%3C/svg%3E");
  /* the tile is not square, so neither is background-size. proof.css
     sets 9vmin 9vmin for the old grid; this overrides it. If the two
     numbers ever stop being in the ratio 1 : sqrt(3), every circle
     becomes an ellipse. */
  background-size: 15.12vmin calc(15.12vmin * 1.7320508);
}

/* the same grid again, in a faint blue, shown only where the
   visitor is. The disc is a mask position — there is no loop and
   no frame budget at rest. */
.ex-grid-live {
  position: absolute; inset: -20%;
  /* the same Flower of Life again, in the blue, shown only where the
     visitor is. --light is #96BAE8 = rgb(150,186,232), and it is
     written out in full below because a custom property cannot be
     read inside a data URI. This is the one place in the chapter
     where the blue is not taken from the token: if --light ever
     changes, this string has to be changed by hand. */
  background-image:
    url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='69.282'%20viewBox='0%200%2040%2069.282'%3E%3Cg%20fill='none'%20stroke='rgba(150,186,232,0.091)'%20stroke-width='0.585'%20vector-effect='non-scaling-stroke'%3E%3Ccircle%20cx='-20'%20cy='34.641'%20r='40'/%3E%3Ccircle%20cx='0'%20cy='0'%20r='40'/%3E%3Ccircle%20cx='0'%20cy='69.282'%20r='40'/%3E%3Ccircle%20cx='20'%20cy='-34.641'%20r='40'/%3E%3Ccircle%20cx='20'%20cy='34.641'%20r='40'/%3E%3Ccircle%20cx='20'%20cy='103.923'%20r='40'/%3E%3Ccircle%20cx='40'%20cy='0'%20r='40'/%3E%3Ccircle%20cx='40'%20cy='69.282'%20r='40'/%3E%3Ccircle%20cx='60'%20cy='34.641'%20r='40'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 15.12vmin calc(15.12vmin * 1.7320508);
  opacity: var(--eg-on, 0);
  transition: opacity 520ms var(--ease);
  -webkit-mask-image: radial-gradient(circle at var(--eg-x, 50%) var(--eg-y, 50%),
    #000 0, rgba(0,0,0,0.55) 34%, transparent 72%);
  mask-image: radial-gradient(circle at var(--eg-x, 50%) var(--eg-y, 50%),
    #000 0, rgba(0,0,0,0.55) 34%, transparent 72%);
  -webkit-mask-size: var(--eg-r, 26vmin) var(--eg-r, 26vmin);
  mask-size: var(--eg-r, 26vmin) var(--eg-r, 26vmin);
  -webkit-mask-position: calc(var(--eg-x, 50%) - var(--eg-r, 26vmin) / 2) calc(var(--eg-y, 50%) - var(--eg-r, 26vmin) / 2);
  mask-position: calc(var(--eg-x, 50%) - var(--eg-r, 26vmin) / 2) calc(var(--eg-y, 50%) - var(--eg-r, 26vmin) / 2);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  pointer-events: none;
}
/* it never competes with the one open Exploration */
.ex-node[data-open="1"] { z-index: 3; }

/* the seventh marker stood exactly where the programme sentence
   is set. It moves down into the open left field instead. */
.ex-node[data-n="VII"] { --nx: 15; --ny: 57; }

#stExplorations .beneath { right: var(--pad); bottom: 11vh; opacity: var(--ex-head, 0); }

@media (prefers-reduced-motion: reduce) {
  /* a document: one static, extremely faint grid and nothing that
     depends on where a pointer happens to be */
  .ex-grid-live { display: none; }
}

/* ─────────────────────────────────────────────────────────────
   05 · PERCEPTION — the state reads first, the number second
   ───────────────────────────────────────────────────────────── */
.pc-readout { display: flex; flex-direction: column; align-items: flex-end; gap: 0.3rem; }
.pc-state {
  font: var(--v-structural); letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--graphite);
  transition: color 300ms var(--ease);
}
.pc-readout[data-state="on"] .pc-state { color: var(--accent); }
.pc-pct {
  font: var(--v-structural); letter-spacing: 0.14em; text-transform: uppercase;
  font-size: 0.5625rem; opacity: 0.5;
  font-variant-numeric: tabular-nums;
}
#stPerception .beneath { left: var(--pad); bottom: 12vh; opacity: var(--pc-ui, 1); }

/* ─────────────────────────────────────────────────────────────
   06 · COLOUR — the two squares, brought together to be checked
   ───────────────────────────────────────────────────────────── */
/* one ground, both squares on it, side by side: the second plane
   steps aside for as long as the question is being asked */
#stColour[data-checking="1"] .cl-plane--b { opacity: 0; }
#stColour[data-checking="1"] .cl-sq {
  top: 50%; transform: translateY(-50%);
  transition: left 620ms var(--ease), right 620ms var(--ease), opacity 400ms var(--ease);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.28);
}
#stColour[data-checking="1"] .cl-sq--a { left: 41%; right: auto; }
#stColour[data-checking="1"] .cl-sq--b { left: 53%; right: auto; }
.cl-sq { transition: left 620ms var(--ease), right 620ms var(--ease), opacity 700ms var(--ease); }

/* ─────────────────────────────────────────────────────────────
   12 · RHYTHM — the title and the reading stop overlapping

   The display word is set at 12vw and the lead was placed at a
   fixed offset measured for a shorter one, so at Julia's review
   width the two were printed over each other. The word keeps its
   scale; the reading is placed below its actual box instead of
   below an assumed one.
   ───────────────────────────────────────────────────────────── */
.os-word { top: 8vh; line-height: 0.82; }
.os-lead { top: calc(8vh + clamp(2.6rem, 10.4vw, 8.6rem)); }
.os-permission { width: min(22rem, 32vw); }

/* ─────────────────────────────────────────────────────────────
   13 · WHAT THE PRACTICE CAN SUPPORT
   ───────────────────────────────────────────────────────────── */
.sp-readout { max-width: 18rem; line-height: 1.5; }

/* the instruction was placed at a fixed offset measured for a
   two-line heading; at Julia's review width the heading takes
   three. Both are placed in one flow instead, so the offset
   cannot be wrong again. */
.pc-line { width: min(28rem, 42vw); }
.pc-sub { top: calc(16vh + clamp(9rem, 12.5vw, 11.5rem)); }

/* ─────────────────────────────────────────────────────────────
   TEXT COLLISIONS
   Found by walking every chapter at four positions and testing
   every visible text box against every other. Each of these is a
   place where two things that fade at overlapping moments were
   both legible at once.
   ───────────────────────────────────────────────────────────── */

/* Harmony: the closing line arrives across the ratio marks while
   the string is still 22% present. The instrument retires fully
   as the closing line lands. */
.hm-string, .hm-ratios, .hm-readout, .hm-rect {
  opacity: calc(var(--hm-str, 0) * (1 - var(--hm-close, 0)));
}

/* Colour: the lens control was set on top of the display word.
   It moves to the quiet side of the field. */
#stColour .beneath { left: auto; right: var(--pad); bottom: 26vh; }

/* Process: the reading column and the four-second lead were
   placed against different edges of the same band. */
.pr-copy { top: 26vh; }
.four { bottom: 9vh; }

/* ═════════════════════════════════════════════════════════════
   08 · THE APPROACH · 09 · THE INVITATION · THE DEEP EXPERIENCE
   ═════════════════════════════════════════════════════════════ */

/* ── 08 · the approach ──
   The figure itself, taken from the approved plate and held far
   back on the black ground. Depth is sensed here; it is not
   explained. */
.lg-draw { width: min(80vh, 50vw); }
.lg-plate {
  width: 100%; height: 100%; display: block;
  object-fit: contain;
  opacity: calc(0.10 + var(--lg-on, 0) * 0.16);
  filter: blur(0.2px);
}
.lg-bindu-pt {
  position: absolute; left: 50%; top: 50%;
  width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px;
  border-radius: 50%; background: var(--accent);
  opacity: var(--lg-on, 0);
  box-shadow: 0 0 0 calc(var(--lg-bindu, 0) * 46px) rgba(255,77,0,calc((1 - var(--lg-bindu, 0)) * 0.22));
}
.lg-next {
  position: absolute; z-index: 6;
  right: var(--pad); bottom: 22vh; margin: 0;
  letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--on-dark-2);
  opacity: var(--lg-ui, 0);
}
#stLineage .beneath { left: 4vw; bottom: 10vh; opacity: var(--lg-ui, 0); }

/* ── 09 · the invitation ──
   It was an anchor styled as a link; it is a control now, and it
   has to look and answer like one without changing the scene. */
/* only the button chrome is neutralised. The layout — the grid cell,
   the 13rem that stands it below the title, the column and the gap —
   is the approved scene's and is left exactly alone. */
.fe-enter {
  background: none; border: 0; padding: 0;
  font-family: inherit; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  text-align: center;
}
.fe-enter:focus-visible { outline: 1px solid var(--accent); outline-offset: 12px; }
.fe-pass {
  position: absolute; z-index: 5;
  left: 50%; transform: translateX(-50%);
  bottom: 16vh; margin: 0;
  letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--on-dark-2); opacity: calc(var(--fe-on, 1) * 0.5);
  pointer-events: none;
}

/* ── the deep experience ──
   Not a modal on top of the site: it takes the whole field, in the
   same black the approach was standing on, so entering reads as
   going further in rather than as a panel opening. */
.yd-deep {
  position: fixed; inset: 0; z-index: 80;
  background: #060505;
  opacity: 0; visibility: hidden;
  transition: opacity 620ms var(--ease), visibility 0s linear 620ms;
}
.yd-deep[hidden] { display: none; }
.yd-deep.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.yd-inner { position: absolute; inset: 0; }

.yd-figure {
  position: absolute;
  left: 6vw; top: 50%;
  width: min(78vh, 46vw); aspect-ratio: 1 / 1;
  transform: translateY(-50%) scale(calc(0.96 + var(--yd-in, 0) * 0.04));
  opacity: var(--yd-in, 0);
  transition: transform 800ms var(--ease), opacity 700ms var(--ease);
}
.yd-structure, .yd-hl {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: contain; display: block;
}
/* the whole figure, quiet, so the illuminated part is read against
   the structure it belongs to rather than in isolation */
.yd-structure { opacity: 0.22; }
.yd-hl {
  opacity: 0;
  transition: opacity 620ms var(--ease);
  filter: drop-shadow(0 0 14px rgba(255,77,0,0.32));
}
.yd-hl.is-on { opacity: 1; }
.yd-bindu {
  position: absolute; left: 50%; top: 50%;
  width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px;
  border-radius: 50%; background: var(--accent);
  opacity: 0; transition: opacity 500ms var(--ease);
  box-shadow: 0 0 22px 6px rgba(255,77,0,0.42);
}
.yd-deep[data-stage="bindu"] .yd-bindu { opacity: 1; }

.yd-read {
  position: absolute;
  right: var(--pad); top: 14vh;
  width: min(30rem, 40vw); text-align: right;
  opacity: var(--yd-in, 0);
  transition: opacity 700ms var(--ease) 120ms;
}
.yd-tag { margin: 0 0 var(--s3); letter-spacing: 0.28em; text-transform: uppercase; color: var(--on-dark-2); }
.yd-title {
  margin: 0 0 var(--s5);
  font: var(--v-monument);
  font-size: clamp(1.35rem, 2.4vw, 2.05rem);
  letter-spacing: -0.028em; line-height: 1.16;
  color: var(--on-dark);
  text-wrap: balance;
}
.yd-steps {
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.75rem;
  margin: 0 0 var(--s5); padding: 0; list-style: none;
}
.yd-step {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.34rem 0; margin: 0;
  background: none; border: 0; cursor: pointer;
  font: var(--v-structural); letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--on-dark-2);
  transition: color 300ms var(--ease);
}
.yd-step i { display: block; width: 14px; height: 1px; background: currentColor; transition: width 380ms var(--ease); }
.yd-step:hover { color: var(--on-dark); }
.yd-step:focus-visible { outline: 1px solid var(--accent); outline-offset: 5px; }
.yd-step[aria-current="true"] { color: var(--accent); }
.yd-step[aria-current="true"] i { width: 34px; }

.yd-kind { margin: 0 0 var(--s2); color: var(--accent); letter-spacing: 0.19em; text-transform: uppercase; }
.yd-text { margin: 0; font: var(--v-editorial); color: #CFC5B7; }
.yd-body.is-turning .yd-kind, .yd-body.is-turning .yd-text { opacity: 0.12; }
.yd-kind, .yd-text { transition: opacity 240ms var(--ease); }

.yd-tools {
  position: absolute; right: var(--pad); bottom: 12vh;
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end;
  opacity: var(--yd-in, 0);
  transition: opacity 700ms var(--ease) 200ms;
}
.yd-btn {
  padding: 0.7rem 1.05rem; margin: 0;
  background: none; cursor: pointer;
  border: 1px solid rgba(251,243,232,0.28);
  font: var(--v-structural); letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--on-dark);
  transition: border-color 300ms var(--ease), color 300ms var(--ease), background 300ms var(--ease);
}
.yd-btn:hover, .yd-btn:focus-visible { border-color: var(--accent); color: var(--accent); }
.yd-btn:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
.yd-btn--go { border-color: var(--accent); color: var(--accent); }
.yd-btn--go:hover, .yd-btn--go:focus-visible { background: var(--accent); color: #fff; }

.yd-deep .beneath { position: absolute; left: 6vw; bottom: 8vh; opacity: var(--yd-in, 0); }

/* ── the one transformation between black and white ──
   Leaving by "Continue into the Yantra" does not cut. The ground
   turns over while the illuminated part stays exactly where it is,
   so the same orange is what carries the visitor across. */
.yd-deep.is-crossing { background: var(--ground); }
.yd-deep.is-crossing .yd-structure { opacity: 0.9; filter: invert(1); }
.yd-deep.is-crossing .yd-read,
.yd-deep.is-crossing .yd-tools,
.yd-deep.is-crossing .beneath { opacity: 0; }
.yd-deep.is-crossing .yd-figure { transform: translateY(-50%) scale(1.06); }
.yd-deep.is-crossing {
  transition: background 900ms var(--ease), opacity 620ms var(--ease) 900ms,
              visibility 0s linear 1520ms;
}
.yd-deep.is-crossing .yd-structure,
.yd-deep.is-crossing .yd-figure,
.yd-deep.is-crossing .yd-read,
.yd-deep.is-crossing .yd-tools,
.yd-deep.is-crossing .beneath {
  transition: opacity 700ms var(--ease), filter 900ms var(--ease), transform 1100ms var(--ease);
}

@media (max-width: 860px) {
  .lg-draw { left: 50%; top: 32%; width: 76vw; transform: translate(-50%, -50%); }
  .lg-next { left: var(--pad); right: auto; bottom: 26vh; }
  .fe-pass { bottom: 12vh; }
  .yd-figure { left: 50%; top: 26vh; width: 74vw; transform: translateX(-50%); }
  .yd-deep.is-crossing .yd-figure { transform: translateX(-50%) scale(1.06); }
  .yd-read { left: var(--pad); right: var(--pad); width: auto; text-align: left; top: auto; bottom: 26vh; }
  .yd-title { font-size: clamp(1.1rem, 4.8vw, 1.45rem); margin-bottom: var(--s4); }
  .yd-steps { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 0.4rem 1rem; margin-bottom: var(--s4); }
  .yd-tools { left: var(--pad); right: var(--pad); bottom: 6vh; justify-content: flex-start; }
  .yd-deep .beneath { left: auto; right: var(--pad); bottom: 15vh; }
}

@media (prefers-reduced-motion: reduce) {
  /* the deep experience is a place, not a journey: it opens and
     closes without travel, and every stage is reachable */
  .yd-deep, .yd-deep.is-crossing,
  .yd-figure, .yd-hl, .yd-read, .yd-tools, .yd-structure {
    transition: none !important;
  }
  .lg-plate { opacity: 0.26; }
  .lg-bindu-pt { box-shadow: none; }
}

/* the reading and the controls were meeting at the foot of the
   field; the reading is bounded by where the controls begin */
.yd-read { top: 11vh; max-height: 66vh; }
.yd-text { font-size: 0.9375rem; line-height: 1.6; }
.yd-tools { bottom: 8vh; }
@media (max-height: 780px) {
  .yd-title { font-size: clamp(1.15rem, 1.9vw, 1.6rem); }
  .yd-read { top: 8vh; max-height: 64vh; }
  .yd-steps { gap: 0.5rem; margin-bottom: var(--s4); }
}

/* the layer lens sits under the reading column, not on the plate */
#stYantra .beneath { position: relative; margin-top: var(--s4); }

/* ═════════════════════════════════════════════════════════════
   14 · BETWEEN EXPLORATIONS — one instrument, one field
   ═════════════════════════════════════════════════════════════ */
.bx {
  position: absolute; z-index: 6;
  left: var(--pad); top: 30vh;
  width: min(27rem, 36vw);
  opacity: var(--bt-on, 0);
}
.bx-step {
  margin: 0 0 var(--s3);
  letter-spacing: 0.19em; text-transform: uppercase; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.bx-ask {
  margin: 0 0 var(--s4);
  font: var(--v-monument);
  font-size: clamp(1.1rem, 1.75vw, 1.45rem);
  letter-spacing: -0.022em; line-height: 1.28;
  color: var(--ink);
  text-wrap: balance;
}

/* the four ways: marks in the language of the chapters just
   passed, not radio buttons and not cards */
.bx-ways { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: var(--s3); }
.bx-way {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.55rem;
  flex: 1 1 7.5rem; min-width: 7rem;
  padding: 0.7rem 0.75rem; margin: 0;
  background: none; cursor: pointer;
  border: 1px solid var(--grey-2); border-radius: 3px;
  font: var(--v-structural); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--graphite);
  text-align: left;
  transition: border-color 260ms var(--ease), color 260ms var(--ease), background 260ms var(--ease);
}
.bx-way:hover, .bx-way:focus-visible { border-color: var(--accent); color: var(--accent); }
.bx-way:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
.bx-way[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); background: rgba(255,77,0,0.06); }
.bx-glyph { width: 30px; height: 26px; flex: none; overflow: visible; }
.bx-glyph path, .bx-glyph rect { fill: none; stroke: currentColor; stroke-width: 1.3; }
.bx-glyph .p-fill { fill: currentColor; stroke: none; }
.bx-way-n { line-height: 1.3; }

.bx-extra { margin: 0 0 var(--s3); }
.bx-extra-q { margin: 0 0 0.6rem; letter-spacing: 0.19em; text-transform: uppercase; color: var(--graphite-2); }
.bx-swatches { display: flex; gap: 6px; margin-bottom: 0.6rem; }
.bx-sw {
  width: 34px; height: 34px; padding: 0; margin: 0; cursor: pointer;
  background: var(--c); border: 1px solid rgba(20,19,17,0.16); border-radius: 2px;
  transition: transform 220ms var(--ease);
}
.bx-sw:hover, .bx-sw:focus-visible { transform: scale(1.1); }
.bx-sw:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
.bx-skip {
  margin: 0; padding: 0.4rem 0; background: none; border: 0; cursor: pointer;
  font: var(--v-structural); letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--graphite-2); border-bottom: 1px solid var(--grey-2);
}
.bx-skip:hover, .bx-skip:focus-visible { color: var(--accent); border-bottom-color: var(--accent); }
.bx-skip:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }

.bx-state { margin: 0 0 var(--s3); letter-spacing: 0.19em; text-transform: uppercase; color: var(--graphite-2); }
.bx-note {
  margin: 0 0 var(--s4);
  font: var(--v-editorial); font-size: 0.8125rem; line-height: 1.55;
  color: var(--graphite-2);
  padding-left: 0.9rem; border-left: 1px solid var(--grey-2);
}
.bx-tools { display: flex; gap: 10px; flex-wrap: wrap; }
.bx-go[disabled] { opacity: 0.32; cursor: default; }
.bx-go:not([disabled]) { border-color: var(--accent); color: var(--accent); }

/* the record, once the three moments are done */
.bx[data-done="1"] .bx-ways, .bx[data-done="1"] .bx-extra { display: none; }

@media (max-width: 860px) {
  .bx { left: var(--pad); right: var(--pad); width: auto; top: 40vh; }
  .bx-ask { font-size: clamp(1rem, 4.4vw, 1.2rem); }
  .bx-way { flex: 1 1 6.5rem; min-width: 6rem; padding: 0.55rem 0.6rem; }
  .bx-way-n { font-size: 0.5rem; }
  .bx-note { font-size: 0.6875rem; }
  .bt-sheet { right: var(--pad); top: 15vh; width: 32vw; }
}
@media (prefers-reduced-motion: reduce) {
  .bx { position: static !important; width: 100% !important; max-width: 46rem; opacity: 1 !important; }
  .bx-sw { transition: none !important; }
}

/* ═════════════════════════════════════════════════════════════
   09 · BREATH
   NEW · phase C1, bounded addition.

   The chapter is drawn in the register the rest of the journey is
   already drawn in: hairlines on near-black, one orange point, a
   circle and a square as the field. The breath is expressed as
   scale and light on a single hairline ring — not as a filled
   bubble, not as a gradient, and not as a glow. Six marks stand on
   the perimeter and fill as the cycles complete.

   The form is held to roughly half the short side, so it never
   crowds the composition or reaches an edge at any viewport.
   ═════════════════════════════════════════════════════════════ */
.sc-track--breath { --track: 220vh; }
#stBreath { background: var(--dark); }

.br-tag {
  position: absolute; z-index: 5;
  left: var(--pad); top: 15vh; margin: 0;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent);
  opacity: var(--br-head, 0);
}
.br-line {
  position: absolute; z-index: 5;
  left: var(--pad); top: calc(15vh + 2.2rem);
  margin: 0; width: min(24rem, 34vw);
  font: var(--v-monument);
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  letter-spacing: -0.028em; line-height: 1.16;
  color: var(--on-dark);
  opacity: var(--br-head, 0);
  transform: translateY(calc((1 - var(--br-head, 0)) * 2.5vh));
  pointer-events: none;
}
.br-sub {
  position: absolute; z-index: 5;
  left: var(--pad); top: calc(15vh + clamp(7.2rem, 10vw, 9.2rem));
  margin: 0; width: min(20rem, 30vw);
  font: var(--v-editorial); color: var(--on-dark-2);
  opacity: var(--br-ui, 0);
  pointer-events: none;
}

/* ── the instrument ── */
.br-instrument {
  position: absolute; z-index: 4;
  right: 9vw; top: 50%;
  width: min(52vh, 34vw); aspect-ratio: 1 / 1;
  transform: translateY(-50%);
  opacity: var(--br-on, 0);
}
.br-figure { width: 100%; height: 100%; display: block; overflow: visible; }
.br-figure circle, .br-figure rect, .br-figure line {
  fill: none; vector-effect: non-scaling-stroke;
}

/* the field: architecture held far back */
.br-echoes circle, .br-echoes rect {
  stroke: rgba(251,243,232,0.10); stroke-width: 1;
}
.br-echoes rect { transform-origin: 200px 200px; transform: rotate(45deg); }

/* the breath itself — one hairline, moving on scale and light */
.br-ring {
  stroke: var(--light); stroke-width: 1;
  transform-origin: 200px 200px;
  transform: scale(var(--br-scale, 0.62));
  opacity: calc(0.42 + var(--br-open, 0) * 0.58);
}
.br-core {
  fill: var(--accent); stroke: none;
  transform-origin: 200px 200px;
  transform: scale(calc(0.8 + var(--br-open, 0) * 0.55));
}

/* the six cycles, standing on the perimeter */
.br-marks line {
  stroke: rgba(251,243,232,0.22); stroke-width: 1;
  transition: stroke 520ms var(--ease);
}
.br-marks line[data-done="1"] { stroke: var(--accent); }

.br-phase {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  margin: 0; width: max-content; max-width: 90%;
  font: var(--v-structural); letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--on-dark);
  opacity: calc(0.5 + var(--br-open, 0) * 0.5);
  transition: opacity 400ms var(--ease);
  pointer-events: none; text-align: center;
}
.br-count {
  position: absolute; left: 50%; top: calc(50% + 2.1rem);
  transform: translateX(-50%); margin: 0;
  letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--on-dark-2);
  font-variant-numeric: tabular-nums;
  pointer-events: none; white-space: nowrap;
}

/* ── the two ways on, given equal weight ── */
.br-tools {
  position: absolute; z-index: 6;
  left: var(--pad); bottom: 24vh;
  display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap;
  opacity: var(--br-ui, 0);
}
.br-btn {
  padding: 0.7rem 1.05rem; margin: 0;
  background: none; cursor: pointer;
  border: 1px solid rgba(251,243,232,0.28);
  font: var(--v-structural); letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--on-dark);
  transition: border-color 300ms var(--ease), color 300ms var(--ease), background 300ms var(--ease);
}
.br-btn--go { border-color: var(--accent); color: var(--accent); }
.br-btn--go:hover, .br-btn--go:focus-visible { background: var(--accent); color: #fff; }
.br-btn:hover, .br-btn:focus-visible { border-color: var(--accent); color: var(--accent); }
.br-btn:focus-visible, .br-pass:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
.br-btn[hidden] { display: none; }
/* declining is not a lesser choice, so it is not a lesser control —
   it is simply quieter, in the same way the rail is */
.br-pass {
  font: var(--v-structural); letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--on-dark-2);
  border-bottom: 1px solid rgba(251,243,232,0.22);
  padding-bottom: 0.2rem;
  transition: color 300ms var(--ease), border-color 300ms var(--ease);
}
.br-pass:hover, .br-pass:focus-visible { color: var(--accent); border-bottom-color: var(--accent); }

.br-guide {
  position: absolute; z-index: 5;
  left: var(--pad); bottom: 15vh; margin: 0;
  width: min(22rem, 32vw);
  letter-spacing: 0.1em; text-transform: none; line-height: 1.8;
  color: var(--on-dark-2);
  opacity: calc(var(--br-ui, 0) * var(--br-guide, 1));
  transition: opacity 600ms var(--ease);
  pointer-events: none;
}

/* the composed still state: the ring rests open, the marks are all
   made, and the line that leads into the next scene is the only
   thing that moves */
#stBreath[data-state="done"] .br-ring { stroke: rgba(251,243,232,0.5); }
.br-done {
  position: absolute; z-index: 6;
  left: 50%; top: calc(50% + 5.2rem);
  transform: translateX(-50%); margin: 0;
  font: var(--v-monument);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  letter-spacing: -0.02em; color: var(--accent);
  opacity: 0; transition: opacity 800ms var(--ease);
  white-space: nowrap; pointer-events: none;
}
#stBreath[data-state="done"] .br-done { opacity: 1; }

#stBreath .beneath { right: var(--pad); bottom: 15vh; opacity: var(--br-ui, 0); }

@media (max-width: 860px) {
  .sc-track--breath { --track: 240vh; }
  .br-line { width: auto; right: var(--pad); font-size: clamp(1.2rem, 5.2vw, 1.6rem); }
  .br-sub { width: auto; right: var(--pad); top: calc(15vh + clamp(6rem, 22vw, 8rem)); }
  .br-instrument { right: auto; left: 50%; top: 52%; width: 68vw; transform: translate(-50%, -50%); }
  .br-tools { left: var(--pad); right: var(--pad); bottom: 16vh; gap: var(--s3); }
  .br-guide { width: auto; right: var(--pad); bottom: 9vh; font-size: 0.6875rem; }
  #stBreath .beneath { right: var(--pad); bottom: 4vh; }
  .br-count { top: calc(50% + 1.9rem); }
}

@media (prefers-reduced-motion: reduce) {
  /* the interval is still a real minute, still paced, and still
     counted — what goes is the travel. The ring rests at its open
     size and the phase label carries the rhythm on its own. */
  .br-instrument {
    position: relative !important; right: auto; top: auto;
    width: min(22rem, 70vw) !important; transform: none !important;
  }
  .br-ring { transform: scale(0.92) !important; transition: none !important; }
  .br-core { transform: scale(1) !important; }
  .br-phase, .br-ring { transition: none !important; }
  .br-tools, .br-guide, .br-tag, .br-line, .br-sub {
    position: static !important; width: auto !important; opacity: 1 !important;
    transform: none !important;
  }
  .br-done { position: static !important; transform: none !important; white-space: normal; }
}

@media (forced-colors: active) {
  .br-echoes circle, .br-echoes rect, .br-ring { stroke: CanvasText; }
  .br-marks line { stroke: GrayText; }
  .br-marks line[data-done="1"] { stroke: Highlight; }
  .br-core { fill: Highlight; }
}

/* the orange centre is the point the whole field is arranged
   around, so nothing is set on top of it: the reading stacks
   beneath it instead */
.br-core { r: 4; }
.br-phase { top: calc(50% + 2.4rem); transform: translateX(-50%); }
.br-count { top: calc(50% + 4.2rem); }
.br-done  { top: calc(50% + 6.4rem); }
@media (max-width: 860px) {
  .br-phase { top: calc(50% + 2.1rem); }
  .br-count { top: calc(50% + 3.7rem); }
  .br-done  { top: calc(50% + 5.6rem); }
}
@media (prefers-reduced-motion: reduce) {
  .br-phase, .br-count, .br-done { position: static !important; transform: none !important; }
}

/* the blanket "no fill" for the figure's shapes was beating the
   centre point's own rule, so the one orange thing in the scene
   was being drawn with no fill at all */
.br-figure .br-core { fill: var(--accent); stroke: none; }

/* one brief transition thought in the Respond column — a line, not
   a paragraph, in the same quiet register as the tag above it */
.pr-aside {
  margin: var(--s3) 0 0;
  letter-spacing: 0.1em; text-transform: none; line-height: 1.8;
  color: var(--graphite-2);
  padding-left: 0.9rem; border-left: 1px solid var(--grey-2);
}

/* ═════════════════════════════════════════════════════════════
   NARROW-VIEWPORT COLLISIONS

   Every chapter anchors its own controls to the bottom edge, and
   the lens control was added to that same edge. On a desk there
   is room for both; from tablet down there is not, and the two
   were printed on each other.

   So the foot of every chapter gets one order: the lens control
   sits in a reserved strip at the very bottom, and the chapter's
   own controls stand above it. Nothing moves on a desk.
   ═════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* the reserved strip */
  #stSymbols .beneath, #stNature .beneath, #stHarmony .beneath,
  #stPerception .beneath, #stColour .beneath, #stExplorations .beneath,
  #stLineage .beneath, #stBreath .beneath, #stOsc .beneath,
  #stSupport .beneath, #stBetween .beneath {
    left: auto; right: var(--pad); top: auto; bottom: 3vh;
  }

  /* …and everything else stands clear of it */
  .na-tools   { bottom: 26vh; }
  .na-index   { bottom: 18vh; }
  .hm-readout { bottom: 26vh; }
  .hm-hint    { bottom: 18vh; }
  .pc-align   { bottom: 12vh; }
  .pc-readout { bottom: 20vh; }
  .cl-tools   { bottom: 30vh; }
  .cl-hint    { bottom: 22vh; }
  .cl-readout { bottom: 24vh; }
  .ex-ways    { bottom: 11vh; }
  .lg-next    { bottom: 28vh; }
  .br-tools   { bottom: 18vh; }
  .br-guide   { bottom: 11vh; }
  .os-permission { bottom: 10vh; }
  .sp-tools   { bottom: 22vh; }
  .sp-bound   { bottom: 14vh; }
  .bt-tools, .bx-tools { margin-bottom: 0; }
}

@media (max-width: 860px) {
  /* Rhythm: the display word and the reading were measured against
     different assumptions about how many lines each would take */
  .os-word { font-size: clamp(2.1rem, 15vw, 4.4rem); top: 7vh; }
  .os-lead { top: calc(7vh + clamp(3.4rem, 17vw, 5.4rem)); }
  /* the status line belongs to the panel, not to the permission note */
  .os-panel { bottom: 26vh; }
  .os-permission { width: auto; right: var(--pad); }

  /* Between: the sheet caption and the instrument's own step line
     were both set against the same band */
  .bt-sheet { top: 13vh; }
  .bx { top: 38vh; }
}

@media (max-width: 480px) {
  /* the narrowest case: the chapters that carry the most controls
     need their readings smaller rather than their controls moved
     any further, or nothing has room to breathe */
  .na-read { max-height: 20vh; }
  .na-tools { bottom: 28vh; }
  .na-index { bottom: 20vh; }
  .hm-readout { bottom: 28vh; }
  .four-body { display: none; }          /* the lens carries this */
  .sp-tools { bottom: 25vh; }
  .sp-bound { bottom: 17vh; }
  .bx-state { margin-bottom: var(--s2); }
  .bt-sheet { width: 28vw; }
}

@media (max-width: 900px) {
  /* the monument words take the whole bottom band on a phone, so the
     lens control stands above them rather than across them */
  #stSymbols .beneath, #stNature .beneath, #stColour .beneath { bottom: 12vh; }

  /* Harmony's three editorial lines were crossing the readout at this
     width. They are the least load-bearing copy in the chapter and
     the lens carries the same thought, so they step out here. */
  .hm-verse { display: none; }
  .hm-readout { bottom: 30vh; }
}

@media (min-width: 701px) and (max-width: 900px) {
  /* tablet: the sheet is tall enough at this width to run into the
     instrument set beneath it */
  .bt-sheet { width: 26vw; top: 11vh; }
  .bx { top: 46vh; }
}

@media (max-width: 480px) {
  .na-tools { bottom: 30vh; }
  .na-index { bottom: 21vh; }
  .os-panel { bottom: 30vh; }
  .os-lead  { font-size: clamp(1rem, 4.4vw, 1.25rem); }
  .sp-tools { bottom: 29vh; }
  .sp-bound { bottom: 17vh; }
  /* the closing line arrives across the tools, so the tools retire
     into it exactly as the string does in Harmony */
  .cl-tools, .cl-readout, .cl-hint { opacity: calc(var(--cl-ui, 0) * (1 - var(--cl-close, 0))); }
  /* the instrument keeps its own foot clear of the reserved strip */
  .bx { padding-bottom: 7vh; }
}

@media (max-width: 400px) {
  /* 320 is the narrowest case in the matrix and the tightest. Four
     chapters need a little more room than the general narrow rules
     give them; none of it changes anything above this width. */
  #stSymbols .beneath { bottom: 15vh; }
  .na-tools { bottom: 33vh; }
  .na-index { bottom: 23vh; }
  .na-index { gap: 0.3rem; }
  /* Rhythm: the reading is set smaller so the panel has its band */
  .os-lead { font-size: 0.9rem; line-height: 1.35; }
  .os-panel { bottom: 27vh; }
  /* Between: the instrument starts higher so its foot clears the
     reserved strip the lens control stands in */
  .bx { top: 30vh; }
  .bx-ask { font-size: 0.95rem; }
  .bx-note { font-size: 0.625rem; }
  .bt-sheet { width: 26vw; }
}

@media (max-width: 400px) {
  /* At 320 the answer is less on screen at once, not more nudging.

     Nature drops the pointer hint — a phone has no pointer, the
     specimen's own label already says how to read it, and the
     reveal control does the same job explicitly. */
  .na-hint { display: none; }
  .na-read { max-height: 15vh; }

  /* Between moves its lens control to the top edge, where this
     chapter has room, so the instrument can use the whole lower
     field without meeting it */
  #stBetween .beneath { top: 4vh; bottom: auto; }
  .bt-sheet { top: 17vh; }
}

@media (max-width: 400px) {
  /* the last three at 320: the specimen index and the reveal control
     share one row, the chapter tag and the lens control share the top
     edge, and the sheet's caption sits where the instrument begins */
  .na-tools { bottom: 36vh; }
  .na-index { bottom: 24vh; }
  #stBetween .beneath { top: 4vh; right: var(--pad); }
  .bt-tag { top: 4vh; }
  .bt-title { top: calc(4vh + 1.7rem); }
  .bt-sheet { top: 20vh; }
  .bt-sheet-cap { bottom: -1.2rem; }
  .bx { top: 34vh; }
}

@media (max-width: 400px) {
  /* Between carries the most at once of any chapter, and 320×568 is
     the one field that cannot hold all of it in the desk order. So
     the order changes rather than the content: title at the top, the
     instrument through the middle, and the sheet kept small at the
     foot beside the lens — which is also the reading order. */
  .bt-tag   { top: 3vh; }
  .bt-title { top: calc(3vh + 1.6rem); font-size: 1.05rem; }
  .bx { top: 21vh; }
  .bt-sheet { top: auto; bottom: 3vh; right: var(--pad); width: 30vw; }
  .bt-sheet-cap { display: none; }
  #stBetween .beneath { top: auto; bottom: 4vh; right: auto; left: var(--pad); }
}

@media (max-width: 400px) {
  /* the lens takes the top edge, opposite a narrower title, which is
     the only band in this chapter nothing else needs at 320 */
  #stBetween .beneath { top: 3vh; bottom: auto; left: auto; right: var(--pad); }
  .bt-title { width: min(9rem, 46vw); }
}

@media (max-width: 400px) {
  /* the chapter tag is redundant at this width: the chassis already
     carries "15 · Between Explorations" along the foot of every
     screen, permanently */
  .bt-tag { display: none; }
  .bt-title { top: 3vh; }
}

@media (max-width: 400px) { .bt-title { width: min(7.5rem, 38vw); } }

/* ═════════════════════════════════════════════════════════════
   THE FOOT OF A NARROW SCREEN — one ladder, measured

   The chassis is permanent: the chapter indicator and the sound
   control stand along the bottom edge, and they reach about 6vh
   up at 390 and about 9vh up at 320. Anything a chapter places
   below that is printed on the instrument that never leaves.

   So on a narrow screen the foot has one order, and every chapter
   uses it:

       0  – 10vh   the chassis. Nothing else goes here.
      10vh         the lens control
      20vh         the chapter's first row of controls
      28vh         its second
      36vh         its third

   This block is last, so it settles every earlier narrow rule.
   Nothing here applies above 900px.
   ═════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  #stSymbols .beneath, #stNature .beneath, #stHarmony .beneath,
  #stPerception .beneath, #stColour .beneath, #stExplorations .beneath,
  #stLineage .beneath, #stBreath .beneath, #stOsc .beneath,
  #stSupport .beneath, #stBetween .beneath {
    left: auto; right: var(--pad); top: auto; bottom: 10vh;
  }

  .na-index      { bottom: 20vh; }
  .na-tools      { bottom: 28vh; }
  .hm-hint       { bottom: 20vh; }
  .hm-readout    { bottom: 28vh; }
  .pc-align      { bottom: 20vh; }
  .pc-readout    { bottom: 28vh; }
  .cl-hint       { bottom: 20vh; }
  .cl-readout    { bottom: 27vh; }
  .cl-tools      { bottom: 34vh; }
  .ex-ways       { bottom: 20vh; }
  .lg-next       { bottom: 20vh; }
  .br-guide      { bottom: 20vh; }
  .br-tools      { bottom: 27vh; }
  .os-permission { bottom: 20vh; }
  .os-panel      { bottom: 27vh; }
  .sp-bound      { bottom: 20vh; }
  .sp-tools      { bottom: 28vh; }
}

@media (max-width: 400px) {
  /* 320 has less height as well as less width, so the ladder is
     tighter and the readings that the lens already carries step
     out rather than being squeezed */
  .na-index      { bottom: 21vh; }
  .na-tools      { bottom: 30vh; }
  .hm-hint       { bottom: 21vh; }
  .hm-readout    { bottom: 30vh; }
  .pc-align      { bottom: 21vh; }
  .pc-readout    { bottom: 30vh; }
  .cl-hint       { bottom: 21vh; }
  .cl-readout    { bottom: 28vh; }
  .cl-tools      { bottom: 36vh; }
  .os-permission { display: none; }        /* the lens carries this */
  .os-panel      { bottom: 22vh; }
  .sp-bound      { bottom: 21vh; }
  .sp-tools      { bottom: 30vh; }
  .br-guide      { bottom: 21vh; }
  .br-tools      { bottom: 29vh; }
}

@media (max-width: 400px) {
  /* Between at 320×568: the instrument was 486px tall in a 568px
     field, so its foot landed in the chassis band. The answer is to
     compress the instrument — tighter marks, tighter rhythm — and to
     put the sheet back at the top beside the title, which is the only
     band with room. Nothing is removed; it is set closer.  */
  .bt-title { top: 3vh; width: min(7.5rem, 38vw); }
  .bt-sheet { top: 3vh; bottom: auto; right: var(--pad); width: 30vw; }
  .bt-sheet-cap { display: none; }
  #stBetween .beneath { top: auto; bottom: 10vh; left: auto; right: var(--pad); }

  .bx { top: 19vh; padding-bottom: 0; }
  .bx-step  { margin-bottom: var(--s2); }
  .bx-ask   { margin-bottom: var(--s3); font-size: 0.9rem; line-height: 1.25; }
  .bx-ways  { gap: 0.35rem; margin-bottom: var(--s2); }
  .bx-way   { flex: 1 1 40%; min-width: 0; padding: 0.4rem 0.45rem; gap: 0.35rem; }
  .bx-glyph { width: 24px; height: 20px; }
  .bx-way-n { font-size: 0.4375rem; letter-spacing: 0.1em; }
  .bx-state { margin-bottom: var(--s2); }
  .bx-note  { margin-bottom: var(--s3); font-size: 0.5625rem; line-height: 1.45; }
  .bx-extra { margin-bottom: var(--s2); }
  .bx-sw    { width: 26px; height: 26px; }
}

@media (max-width: 400px) {
  /* three last placements at 320: the Symbols lens stands above the
     display word's band rather than across it, the specimen index and
     its controls take separate rungs, and the Between title clears
     the identity mark in the corner above it */
  #stSymbols .beneath { bottom: 17vh; }
  .na-index { bottom: 22vh; }
  .na-tools { bottom: 33vh; }
  .bt-title { top: 11vh; }
}

@media (max-width: 400px) { .sp-tools { bottom: 34vh; } }

/* ─────────────────────────────────────────────────────────────
   1E · 03 · HARMONY — the reading, before its limit

   "Order creates harmony" is a claim, and this site never leaves a
   claim standing on its own. It sits inside the existing closing
   paragraph, above the line that qualifies it, so both arrive on the
   same scroll and read as one thought: the reading, then its edge.

   It is the page's own warm white, lit rather than coloured. Blue
   was tried here and rejected in 1E.1. It is set smaller than the
   line beneath it on purpose: the approved closing
   line is still the chapter's landing.

   No JavaScript. It inherits --hm-close from the paragraph it sits
   inside, so it needs no timing of its own.
   ───────────────────────────────────────────────────────────── */
.hm-order {
  display: block;
  margin-bottom: 0.62em;
  color: var(--on-dark);
  font-size: 0.72em;
  letter-spacing: -0.012em;
  /* Not blue, and not lit either. Blue was tried and rejected: the
     line is our reading, and blue is what answers the visitor. A glow
     was then tried twice, in 1E.1 and 1E.2, and could not be seen —
     warm white light around warm white letters on black has almost no
     contrast with the letters it comes off, so it read as haze rather
     than as illumination. Kept as an explicit none so that nobody
     adds it back a third time. */
  text-shadow: none;

  /* The line arrives by moving instead. Two parts, both driven by the
     visitor's own scroll, so this is a response and not a decoration:

       0.736 + --hm-close * 0.264   it grows from 0.736 to full size
                                    as the closing line arrives
       max(0, --p - 0.88) * 1.08    after that it keeps growing gently,
                                    reaching about 1.13 by the end of
                                    the chapter, so scrolling on feels
                                    like moving through the line

     0.736 + 0.264 = 1.000 exactly, so the line stands at full size at
     the moment the closing line lands. Deepened 20% in 1E.4.

     --p is the chapter's own scroll position, 0 to 1, published on
     every stage by proof.js. No JavaScript is needed here. */
  transform: scale(calc(0.736 + var(--hm-close, 0) * 0.264
                        + max(0, (var(--p, 0) - 0.88)) * 1.08));
}

/* Scroll-linked scale is movement, and this site lets people turn
   movement off. With reduced motion the line simply sits at its full
   size and still fades in with the paragraph. */
@media (prefers-reduced-motion: reduce) {
  .hm-order { transform: none; }
}

/* ─────────────────────────────────────────────────────────────
   PASS 9 · step 1 · 03 · HARMONY — the instrument says what it is

   The explainer behind "What am I hearing?" describes how the string
   behaves but never names the thing, and it sits behind a control.
   This is the one sentence a newcomer needs, in the open, beside the
   instrument. The panel stays: it is the plain opening that was
   missing, not the depth.

   It lives and leaves with the opening statement above it, so it
   needs no timing of its own. --hm-lead is published on the stage by
   proof.js.

   It sits below .hm-lead and well above .hm-string, and never catches
   the pointer.
   ───────────────────────────────────────────────────────────── */
.hm-what {
  position: absolute; z-index: 4;
  left: var(--pad); top: 26vh;
  margin: 0; width: min(30rem, 46vw);
  font: var(--v-editorial);
  color: var(--on-dark-2);
  opacity: var(--hm-lead, 0);
  transform: translateY(calc((1 - var(--hm-lead, 0)) * 3vh));
  pointer-events: none;
}

/* PASS 9 step 2 - 03 Harmony - clearing the ground.

   The proportion rectangles are hidden. They were the same four
   ratios a second time in another notation, and nothing the visitor
   did with the string changed them, so they read as a diagram
   standing beside the instrument rather than part of it. Hidden, not
   deleted: proof.css still holds the rule. What replaces them is
   step 3, two dots turning on a circle at the ratio the visitor is
   standing on.

   The interval numeral comes down from clamp(2.6rem, 6vw, 5rem). It
   was the loudest thing in the chapter. The direction is that the
   number arrives last and quiet. */

.hm-rect { display: none; }

.hm-ratio-big {
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
}

/* PASS 9 step 3 - the interval, turning. The figure belongs to the
   instrument, so it arrives and retires with it. */

.hm-orbit {
  position: absolute; z-index: 3;
  right: var(--pad); top: 7vh;
  width: min(32vh, 30vw); height: min(32vh, 30vw);
  opacity: calc(var(--hm-str, 0) * (1 - var(--hm-close, 0)));
  pointer-events: none;
}

/* PASS 9 step 3b - the figure says what it is doing. One line under
   the circle, rewritten whenever the visitor crosses a division. It
   sits directly beneath the canvas, so its top is the canvas top plus
   the canvas height plus a gap. */

.hm-tell {
  position: absolute; z-index: 4;
  right: var(--pad);
  /* The string sits at exactly 50% of the stage. The circle now ends
     at 7vh + 32vh = 39vh, this line starts at 40.8vh, and two lines of
     editorial type run to about 45vh - so roughly 5vh of clear black
     remains before the wire. If the circle moves, this moves with it. */
  top: calc(7vh + min(32vh, 30vw) + 1.8vh);
  margin: 0; width: min(28rem, 38vw);
  text-align: right;
  font: var(--v-editorial);
  color: var(--on-dark-2);
  opacity: calc(var(--hm-str, 0) * (1 - var(--hm-close, 0)));
  pointer-events: none;
}

/* PASS 9 step 4 - the second beat. The instrument steps back, four
   lines explain what was just watched, then the closing reading.
   Revised 15 August: the beats were overlapping each other and the
   opening copy was still fading behind them. */

/* The chapter grows so each beat gets real scroll. Named exception to
   rule 4, authorised by Julia 15 August. Overridden here, not edited
   in proof.css. The narrow-screen value in proof.css is untouched. */
.sc-track--harmony { --track: 620vh; }

/* THE ORDER OF THE ENDING, all keyed off --p, the chapter's own
   scroll position. Nothing here may overlap anything else:

     0.42 - 0.50   the instrument and the opening copy leave
     0.52 - 0.61   beat one
     0.62 - 0.71   beat two
     0.72 - 0.81   beat three
     0.82 - 0.91   beat four
     0.92 - 0.99   the closing reading

   Each beat is fully gone before the next begins to arrive. If any of
   these numbers move, check the neighbour on both sides. */

/* Everything belonging to the instrument leaves by 0.50, and so does
   the opening statement and the monochord sentence beneath it - they
   were still fading while the first beat arrived. */
.hm-string, .hm-ratios, .hm-readout, .hm-hint, .hm-orbit, .hm-tell,
.hm-lead, .hm-what, #stHarmony .beneath {
  opacity: calc(var(--hm-str, 0) * (1 - min(1, max(0, (var(--p, 0) - 0.42) / 0.08))));
}

/* .hm-lead and .hm-what carry --hm-lead, not --hm-str, so they need
   their own version of the same retirement. */
.hm-lead, .hm-what {
  opacity: calc(var(--hm-lead, 0) * (1 - min(1, max(0, (var(--p, 0) - 0.42) / 0.08))));
}

/* The verse is hidden. Its three lines gesture at what the four beats
   now say plainly, and beside the live caption they contradict it.
   Hidden, not deleted: proof.css still holds the rule. */
.hm-verse { display: none; }

/* The closing reading moves to the very end. proof.js writes
   --hm-close as an inline style, so this override needs !important to
   win. Everything already keyed off --hm-close follows automatically,
   including the 1E.4 zoom on .hm-order. */
#stHarmony { --hm-close: min(1, max(0, (var(--p, 0) - 0.92) / 0.07)) !important; }

.hm-say {
  position: absolute; z-index: 6;
  left: 50%; top: 50%;
  width: min(44rem, 82vw);
  transform: translateX(-50%);
  pointer-events: none;
}

/* Thinner than the rest of the editorial voice, on purpose: this is
   the quietest thing in the chapter and the last thing before the
   reading. Public Sans carries 200 as a real weight, not a faked one. */
.hm-say-p {
  position: absolute; left: 0; top: 0;
  margin: 0; width: 100%;
  transform: translateY(-50%);
  text-align: center;
  font: var(--v-editorial);
  font-weight: 200;
  font-size: clamp(1.05rem, 1.5vw, 1.45rem);
  line-height: 1.6;
  letter-spacing: -0.004em;
  color: var(--on-dark);
  text-wrap: balance;
}

.hm-say-1 { opacity: calc(min(1, max(0, (var(--p, 0) - 0.52) / 0.03)) * (1 - min(1, max(0, (var(--p, 0) - 0.59) / 0.02)))); }
.hm-say-2 { opacity: calc(min(1, max(0, (var(--p, 0) - 0.62) / 0.03)) * (1 - min(1, max(0, (var(--p, 0) - 0.69) / 0.02)))); }
.hm-say-3 { opacity: calc(min(1, max(0, (var(--p, 0) - 0.72) / 0.03)) * (1 - min(1, max(0, (var(--p, 0) - 0.79) / 0.02)))); }
.hm-say-4 { opacity: calc(min(1, max(0, (var(--p, 0) - 0.82) / 0.03)) * (1 - min(1, max(0, (var(--p, 0) - 0.89) / 0.02)))); }

/* PASS 10 - 04 Vibration - the note each pattern sounds.
   Revised: everything was stacked in one corner and overlapping, and
   pale text on white sand could not be read. */

/* THE SAND IS WHITE AND IT MOVES, so no fixed colour can be relied on
   behind any of this copy. Every line in the chapter takes the dark
   halo proof.css already uses for words over imagery. It is the only
   thing that works when the background will not hold still. */
.vb-line, .vb-mode, .vb-hz, .vb-note, .vb-press {
  text-shadow: 0 1px 26px rgba(11,10,8,0.85), 0 0 3px rgba(11,10,8,0.55);
}

/* The frequency cannot live inside .vb-mode: proof.js rewrites that
   label with textContent on every change and would wipe it. Its own
   element, directly beneath, and at full strength because it is the
   one piece of data on the screen. */
.vb-hz {
  position: absolute; z-index: 5;
  left: var(--pad); bottom: 16.5vh;
  margin: 0;
  font: var(--v-structural); letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--on-dark);
  font-variant-numeric: tabular-nums;
  opacity: var(--vb-line, 0);
  pointer-events: none;
}

/* Nothing on the page said the buttons make a sound. This sits beside
   them, inside .vb-controls, so it reads as belonging to them. */
.vb-press {
  align-self: center;
  margin-left: 12px;
  font: var(--v-structural); letter-spacing: 0.19em; text-transform: uppercase;
  color: rgba(251,243,232,0.62);
  white-space: nowrap;
  pointer-events: none;
}

/* The honest note about pitch. It has moved to the empty right-hand
   side: three lines of it at the foot of the left column ran straight
   up through the buttons. The sound is real in its relationships and
   ours in its absolute pitch - a real plate's note depends on its
   size, thickness and metal, none of which exist here. The hertz is
   true, it is the note this page plays, and saying where it comes
   from is the difference between a demonstration and a claim. */
.vb-note {
  position: absolute; z-index: 5;
  right: var(--pad); bottom: 12vh;
  margin: 0; width: min(30rem, 36vw);
  text-align: right;
  font: var(--v-editorial);
  font-weight: 200;
  font-size: clamp(0.88rem, 1vw, 1rem);
  line-height: 1.55;
  color: var(--on-dark);
  opacity: var(--vb-line, 0);
  pointer-events: none;
}

/* THE INSTRUMENT LEAVES WHEN THE PHOTOGRAPH ARRIVES.

   --vb-plate comes in from 0.50 of the chapter, but every one of
   these was keyed to --vb-line alone, which never retires - so the
   lead line, the mode, the hertz, the controls and the note all sat
   on top of the photograph. They now step back as it arrives. Same
   fault, and same fix, as the Harmony instrument. */
.vb-line, .vb-mode, .vb-hz, .vb-controls, .vb-note {
  opacity: calc(var(--vb-line, 0) * (1 - min(1, max(0, (var(--p, 0) - 0.50) / 0.10))));
}

/* PASS 10.2 - 04 Vibration - one thing at a time.

   proof.js fades the sand field only to 28 percent and leaves it
   there - "it never goes out, it is only taken over by the
   photograph" - while --vb-plate takes from 0.50 to 0.84 to arrive.
   The result was both on screen together for a third of the chapter,
   with sand streaks running across the plate.

   It becomes a real dissolve. The field leaves over 0.52 to 0.66. The
   photograph's opacity is brought in faster so it is whole by about
   0.70, while its scale and its circular clip still follow --vb-plate
   exactly as before - the motion is untouched, only the fade.

   Neither is ever absent: at 0.60 the field is about 40 percent and
   the plate about 50. */
.vb-field {
  opacity: calc(var(--vb-field, 0) * (1 - min(1, max(0, (var(--p, 0) - 0.52) / 0.14))));
}

.vb-plate {
  opacity: min(1, calc(var(--vb-plate, 0) * 1.7));
}

/* PASS 11 - 04 Vibration - where this comes from.

   Vibration was the only interactive chapter without a lens. The
   history belongs behind a control, not on the face of the chapter:
   confident in the open, detail one click away.

   THE LIMIT IS STATED IN THE OPEN INSTEAD. .vb-note reads "A
   simulated Chladni plate ... the pitches here are in proportion to
   one another". After 11.1 removed the lens item, that sentence is
   the only place the site says this is not a real plate. It is
   load-bearing. Do not shorten it again.

   IT ARRIVES WITH THE PHOTOGRAPH, not with the instrument. The
   history is about real plates, and the photograph is a real plate -
   reading about Hooke's glass plate and Chladni's bow while looking
   at sand on metal is the right pairing. Everything else in the
   chapter has retired by 0.60, so this comes in after that, from
   0.62, and stays to the end.

   On the right, with the other nine. Only Lineage and Perception sit
   left, and the markup here already said beneath--right. The trigger
   takes the same dark halo as the rest of the chapter because it sits
   on an image that fills the screen. */
#stVibration .beneath {
  right: var(--pad); left: auto; bottom: 12vh;
  opacity: min(1, max(0, calc((var(--p, 0) - 0.62) / 0.10)));
}

#stVibration .bn-open {
  text-shadow: 0 1px 26px rgba(11,10,8,0.85), 0 0 3px rgba(11,10,8,0.55);
}

/* PASS 12 - 04 Vibration - the plate becomes an object.

   The old image was a macro crop of ripples: at min(160vh, 130vw) the
   circle was wider than the viewport, so only the middle of the middle
   was ever visible and the rim - the thing that says "plate" - was
   always cropped away. Julia could not tell what she was looking at.

   The new image holds the whole plate, so it is sized to be seen
   whole: the circle now sits inside the frame with dark around it, and
   the plate reads as an object rather than a surface pressed against
   the screen. Smaller is min(80vh, 65vw) if it should be quieter.

   Only the width changes. The scale from 0.62, the circular clip and
   the opacity all still follow --vb-plate exactly as before. */
.vb-plate {
  width: min(98vh, 80vw);
}

/* PASS 13 - 04 Vibration - the plate's black matches the page.

   The circle read as a darker hole punched in the page. Two causes,
   and the second is the one that mattered.

   The image was generated on pure black, minimum 0,0,0, while the
   page is --dark #0B0A08 = 11,10,8. The file has now been regraded so
   its darkest pixel is exactly 11,10,8 and its surround disappears
   into the page.

   But proof.css also puts filter: contrast(1.16) brightness(0.95) on
   this image, and that crushes near-black below the page. Take 11 of
   255: contrast(1.16) gives (0.043 - 0.5) * 1.16 + 0.5 = -0.03, which
   clamps to 0. Any correction to the file would have been undone.

   So the filter comes off. The image no longer needs it: it is graded
   at source. Same problem, and the same answer, as 1A.19 - the nature
   photographs whose pure black was lifted to the page's own. */
.vb-plate img {
  filter: none;
}

/* PASS 15 - 05 Perception - the figure arrives a beat later.

   04 Vibration ends on a large circle and 05 opened on another one,
   so the two read as a pair when they have nothing to do with each
   other. The chapter now opens on the room and the sentence, and the
   planes arrive just afterwards.

   Only .pc-space is held back. --pc-on drives the headline, the
   sub-line, the readout and the button as well, so delaying that
   variable would delay the whole slide - which is not the point.

   It is a beat, not a wait. proof.js says of --pc-on: "the planes are
   present for the whole chapter - this is the one thing the visitor
   is here to operate", and that is right. They are in by 0.15, well
   before anyone reaches for them. */
.pc-space {
  opacity: calc(var(--pc-on, 0) * min(1, max(0, (var(--p, 0) - 0.06) / 0.09)));
}

/* PASS 17 - 10 The First Exploration - the invitation stands alone.

   "or keep scrolling" is hidden. NOTHING IS GATED: scrolling past
   works exactly as it does on every other chapter, and --fe-open
   still opens the aperture on its own as the chapter is left.

   The line goes because the site already said it one screen earlier.
   09 Breath offers "Begin one minute" and, beneath it, "Continue
   without it". Printing the same permission again here made the two
   most important thresholds on the site sound as though they expected
   to be declined.

   Said once, at Breath, the pattern holds. Said twice in a row, it
   reads as an apology for what is being offered.

   Hidden, not deleted. The .fe-pass rule twelve hundred lines above
   is untouched and the element stays in proof.html, so removing this
   one declaration brings the line back.

   yantraDeep in expansion.js holds a reference to #fePass and clears
   its inline opacity on scroll. That still runs and is harmless on a
   hidden element; no JavaScript changes. */
.fe-pass { display: none; }

/* ==== PASS 19 - THE OVERTURE =================================
   The four step buttons and the per-stage text are hidden, not
   deleted. Their rules eleven hundred lines above are untouched.

   display:none also takes the buttons out of the dialog's focus
   trap, because focusables() already filters on offsetParent. So
   this does not repeat the Checkpoint L family of controls that
   were invisible but still reachable.

   .is-settling slows the fade so the figure reads as choosing
   where to begin rather than as a door closing.
   ============================================================ */
.yd-steps { display: none; }
.yd-body { display: none; }
.yd-deep.is-settling .yd-hl { transition-duration: 1900ms; }

/* ==== PASS 20B - THE DRAWN FIGURE, TWO-TONE ==================
   The deep room's figure is drawn rather than assembled from
   raster highlights. A picture cannot be made thinner; a drawing
   can, and line work is what this figure was always meant to be.

   The raster layers are hidden, not deleted. Their rules above are
   untouched and the JavaScript that drives them still runs
   harmlessly on hidden elements.

   Two tones, and they carry the meaning. The outer square is the
   layer the visitor will work with, so it holds the accent. Every
   other ring is the figure it sits inside, so it is quiet.

   The interior is the subject while the figure is arriving and
   steps back once the figure settles onto Bhupura, so the settle
   is a change of attention rather than only a fade.
   ============================================================ */
#ydFigure .yd-structure,
#ydFigure .yd-hl { display: block; }

#ydFigure .sy-fig {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

#ydFigure .sy-bhupura { fill: var(--accent); }
#ydFigure .sy-bindu   { fill: var(--accent); }

#ydFigure .sy-interior {
  fill: #F2EAE0;
  fill-opacity: 0.50;
  transition: fill-opacity 900ms var(--ease);
}

/* while the figure is still arriving, the interior leads */
.yd-deep:not(.is-settling) #ydFigure .sy-interior { fill-opacity: 0.72; }

/* ==== PASS 22 - THE SIX BEATS, OUTWARD =======================
   The black room goes back to its own layer set. The plate has
   solid petals and nine registered highlights; the drawn vector
   is line work throughout and cannot fill a petal — tested, in
   two ways, including the free one.

   The drawn figure is not deleted. It is hidden here and it is
   what the white chapter will use, where it already renders
   better than it does on black.

   The naming panel comes back on. It was never removed, only
   switched off by Pass 19. #ydKind now carries the layer's name
   and #ydText its description, both written by show().
   ============================================================ */
#ydFigure .sy-fig { display: none; }

.yd-body { display: block; }

.yd-kind {
  font: var(--v-monument);
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--on-dark);
  margin: 0 0 var(--s2);
}

.yd-text {
  font: var(--v-structural);
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--on-dark-2);
  min-height: 1.4em;
}

/* the room's standing statement steps back so the layer's name is
   what the eye goes to. It is not removed — it is the voice of the
   room and it stays on screen throughout. */
.yd-title {
  font-size: clamp(0.95rem, 1.45vw, 1.2rem);
  color: var(--on-dark-2);
  margin-bottom: var(--s6);
}

/* ==== PASS 23 - THE WORKROOM BECOMES ONE LAYER ===============
   Three removals, all named in Julia's own list of 15 August:
   "Choose a layer", the ten-tick depth marker, and the ten-layer
   journey itself. Nothing is deleted — every rule below hides or
   holds something that is still in the markup and still driven by
   layers.js, which this branch has never edited.

   The name written by layers.js is hidden rather than prevented.
   It keeps writing Trikona and Bindu into an element nobody sees,
   which is the same arrangement the drawn figure already uses for
   the raster layers it replaced.
   ============================================================ */

/* Bhupura alone. The other nine are held at zero, so the guided
   pass and the arrow keys move through pictures that never show. */
#yantra .yantra-plate .yl { opacity: 0; }
#yantra .yantra-plate .yl[data-layer="1"] { opacity: 1; }

/* no hover journey: layers.js listens on the plate, and a plate
   that cannot receive a pointer never starts one */
#yantra .yantra-plate { pointer-events: none; }

/* the three removals */
#yantraName { display: none; }
#yantraHint { display: none; }
#stYantra .yt-depth { display: none; }

/* the words the room shows instead */
.yt-one { margin: 0 0 var(--s5); }

.yt-one-name {
  margin: 0 0 var(--s4);
  font: var(--v-monument);
  font-size: clamp(1.6rem, 3.2vw, 2.8rem);
  letter-spacing: -0.024em;
  line-height: 1.1;
}
.yt-one-name .yn-desc {
  display: block;
  margin-top: var(--s2);
  font: var(--v-structural);
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--grey-2);
}

.yt-one-promise {
  margin: 0 0 var(--s4);
  font: var(--v-structural);
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--accent);
}

.yt-one-see {
  margin: 0;
  font: var(--v-editorial);
  max-width: 34ch;
}

/* ==== PASS 25 - THE TWO JOURNEYS =============================
   The six beats run inward by default — boundary to centre — and
   the figure then goes quiet holding Bhupura, which is where the
   work begins whichever way the sequence ran.

   The handle switches the direction and replays. It is deliberately
   the quietest control in the room: no border, no accent at rest,
   and it does not exist until the sequence has finished, so it can
   never be mistaken for the invitation.

   Nothing on the page says what either direction is for.
   ============================================================ */
.yd-dir {
  position: absolute;
  left: 6vw;
  bottom: 14vh;
  padding: 0.4rem 0;
  margin: 0;
  background: none;
  border: 0;
  cursor: pointer;
  font: var(--v-structural);
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--on-dark-2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 700ms var(--ease), color 300ms var(--ease);
}

.yd-deep.is-settling .yd-dir { opacity: 0.62; pointer-events: auto; }
.yd-dir:hover, .yd-dir:focus-visible { color: var(--on-dark); }
.yd-dir:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

@media (max-width: 860px) {
  .yd-dir { left: var(--pad); bottom: 21vh; }
}

/* ==== PASS 35 2.1 - THE BLACK ROOM'S CONTROLS STOP BEING BOXES ==
   #ydGo, #ydClose (both .yd-btn, styled above) and .yd-dir (the
   OUTWARD handle, styled above) read as web furniture on a room
   that has none. The site's one control language — a hairline tick,
   a gap, a word in small caps, used fourteen times already (.bn-open
   at line 39, .yt-gatelabel, .yt-interior-back) — replaces it here.
   Every declaration below overrides one above; none of the rules
   above are edited or removed. */
#ydGo, #ydClose, .yd-dir {
  border: 0;
  background: none;
  padding: 0;
  padding-left: 30px;
  position: relative;
  font: var(--v-structural);
  font-weight: 500;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
#ydGo::before, #ydClose::before, .yd-dir::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
  transition: width 340ms cubic-bezier(.22,1,.36,1);
}
#ydGo:hover::before, #ydGo:focus-visible::before,
#ydClose:hover::before, #ydClose:focus-visible::before,
.yd-dir:hover::before, .yd-dir:focus-visible::before {
  width: 34px;
}

#ydGo { color: var(--accent); }
#ydClose { color: rgba(251,243,232,.55); }
#ydClose:hover, #ydClose:focus-visible { color: rgba(251,243,232,.9); }
/* the quietest thing in the room */
.yd-dir { font-size: 10.5px; color: rgba(251,243,232,.42); }

/* the old box layout's 10px gap (line 1949 above) was sized for
   bordered boxes; overridden, not deleted, now that the boxes are
   gone — about 44px between #ydGo and #ydClose */
.yd-tools { gap: 44px; }

/* ==== PASS 26 - THE EXPLORATION CLOSES ======================
   One quiet control at the foot of the reading column. It closes
   the Exploration rather than opening anything, so it carries no
   accent at rest and never competes with the invitation it points
   back to.

   Scrolling on to "How an Exploration works" already happens by
   itself and is not touched.
   ============================================================ */
.yt-back {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: var(--s5) 0 0;
  padding: 0.34rem 0;
  background: none;
  border: 0;
  cursor: pointer;
  font: var(--v-structural);
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--grey-2);
  transition: color 300ms var(--ease);
}

.yt-back-tick {
  display: block;
  width: 14px;
  height: 1px;
  background: currentColor;
  transition: width 380ms var(--ease);
}

.yt-back:hover, .yt-back:focus-visible { color: var(--accent); }
.yt-back:hover .yt-back-tick, .yt-back:focus-visible .yt-back-tick { width: 34px; }
.yt-back:focus-visible { outline: 1px solid var(--accent); outline-offset: 5px; }

/* ==== PASS 28 - THE WORKROOM GETS THE DRAWN FIGURE ==========
   Julia's third removal, from 15 August: the black figure's full
   weight. The ten plate images are held at zero and the drawing
   takes the room. Nothing is deleted — layers.js still runs and
   still lands on those images.

   Two tones, the same reasoning as the deep room used: Bhupura is
   the layer the visitor works with, so it carries the accent. The
   rest is the figure it sits inside, so it is quiet — and on white
   it can be quiet at a weight the plate could never reach.
   ============================================================ */
#yantra .yantra-plate .yl,
#yantra .yantra-plate .yl[data-layer="1"] { opacity: 0; }

#yantra .yantra-plate .sy-fig--work {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

#yantra .sy-fig--work .sy-bhupura { fill: var(--accent); }
#yantra .sy-fig--work .sy-bindu   { fill: var(--accent); }

#yantra .sy-fig--work .sy-interior {
  fill: #1A1A1A;
  fill-opacity: 0.86;
}

/* the plate's own drawn bindu belongs to the raster era and would
   sit on top of the drawing's own centre point */
#yantra .yantra-plate .yantra-bindu { opacity: 0; }

/* ==== PASS 29 - THE FOUR GATES ==============================
   Each opening is shown in turn, then all four settle to a quiet
   presence so the visitor can see the choice while they read the
   question. Nothing is clickable yet.

   The question is one question, deliberately. Four questions on
   four gates would make what the site asks depend on which gate
   was chosen, and that is read as a reading whatever the page says.
   ============================================================ */
/* PASS 31 - the fill is removed: #yantra .sy-gates .sy-gate painted a
   translucent rectangle of --accent over line art of the same colour,
   which reads as a sticker (styles.css: "--accent ... a mark, never a
   fill"). The rule stands, it just stops painting. What replaces it —
   ink added to the drawing itself — is under PASS 31 below. */
#yantra .sy-gates .sy-gate {
  fill: none;
  fill-opacity: 0;
  transition: fill-opacity 520ms var(--ease);
}

#yantra .sy-gates .sy-gate.is-on  { fill-opacity: 0; }
#yantra .sy-gates .sy-gate.is-lit { fill-opacity: 0; transition-duration: 260ms; }

.yt-ask {
  margin: var(--s4) 0 0;
  max-width: 34ch;
  font: var(--v-editorial);
  color: var(--ink, #14100C);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}

.yt-ask.is-on { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  #yantra .sy-gates .sy-gate, .yt-ask { transition: none !important; }
}

/* ==== PASS 30 - THE WORKROOM LEAVES THE FREE SCROLL =========
   Sri Yantra leaves the free path. The chapter is not deleted and
   not moved — it is taken out of the flow and put back when the
   crossing asks for it.

   Someone scrolling past the invitation now reaches "How an
   Exploration works" directly, which is what should always have
   happened.
   ============================================================ */
#scYantra { display: none; }
#scYantra.is-entered { display: block; }

/* ==== THE PROGRAMME LEAVES ==================================
   proof.js takes the Explorations field to 0.55 and stops. The two
   curves are multiplied here so the original is untouched and the
   field finishes at nothing instead of at half.

   Temporary: replaced by the handover into Vesica Piscis.
   ============================================================ */
.ex-field { opacity: calc(var(--ex-field, 0) * var(--ex-exit, 1)); }

/* ==== PASS 31 - THE GATES ARE NAMED, THEY OPEN, AND THE ROOM
   GOES INSIDE ==================================================
   Three additions, built in expansion.js:

   2.1 · The four #yantra .sy-gates .sy-gate rects become real
   controls, and .yt-gatelabel names each one — the direction word
   alone, nothing about what a direction might mean.

   2.2 · The fill removed from PASS 29 above is replaced by ink on
   the drawing itself: #ytFig .sy-gatemark clips a <use> of the
   bhupura path (id="ytBhupura", set in workroomDrawnFigure()) to
   that gate's own opening.

   2.3 · Pressing a gate opens #ytInterior, a fixed overlay appended
   to <body> by its own function in expansion.js. It never touches
   .sc-stage or .sc-track and is reversible by removing one class.
   ================================================================ */

/* 2.1 — pointer-events is re-enabled here on the four gate rects
   only. #yantra .yantra-plate keeps the pointer-dead rule PASS 23
   gave it (line 3176 above); this does not touch that rule — a
   descendant re-enabling pointer-events is ordinary inheritance.
   .sy-gate now has fill: none, and pointer-events: auto resolves to
   visiblePainted in SVG, which only registers a hit where there is a
   painted fill or stroke — with no paint, the rect was invisible to
   the pointer and the click fell through to the plate. all hits the
   geometry regardless of paint. */
#yantra .sy-gates .sy-gate {
  cursor: pointer;
  pointer-events: all;
}
#yantra .sy-gates .sy-gate:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: -2px;
}

/* the direction labels. Built by bhupuraGates() as spans inside
   #yantra .yantra-plate, positioned in the same coordinate space as
   the .sy-fig viewBox (25.43 115.43 560.94 560.94), so they inherit
   the plate's own parallax transform for free. */
.yt-gatelabel {
  position: absolute;
  /* PASS 32 2.1 — translate(-50%, -50%) centres the whole box (tick
     + gap + word) on the anchor point set by bhupuraGates() above;
     since the box's own computed width feeds the -50%, adding the
     tick below does not push the word off that centre */
  transform: translate(-50%, -50%);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: var(--v-structural);
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: #A8A096;
  opacity: 0;
  pointer-events: none;
  transition: opacity 700ms cubic-bezier(.22,1,.36,1),
              color 300ms cubic-bezier(.22,1,.36,1);
}
/* PASS 32 2.1 — the .bn-open / .bn-tick vocabulary (line 39 above):
   a hairline tick beside the word says "control" without a word of
   instructional copy */
.yt-gatelabel::before {
  content: "";
  display: block;
  width: 14px;
  height: 1px;
  flex: 0 0 auto;
  background: #A8A096;
  transition: width 320ms cubic-bezier(.22,1,.36,1), background 320ms ease;
}
.yt-gatelabel.is-shown { opacity: 1; }
.yt-gatelabel.is-on { color: var(--accent); }
.yt-gatelabel.is-on::before { width: 26px; background: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .yt-gatelabel, .yt-gatelabel::before { transition: none !important; }
}

/* ==== PASS 35 2.2 - THE GATE PAGE SAYS WHAT TO DO, AND NOTHING
   OVERLAPS ======================================================
   Three faults, all observed on Julia's own screen. (a) — the label
   position itself — is fixed in bhupuraGates() in expansion.js
   (LABEL_NUDGE is 0 now, not deleted). (b) and (c) are here. */

/* (b) — Julia's instruction: the words sit inside the boxes without
   lines. .yt-gatelabel::before (the tick, PASS 32, above) is turned
   off, not deleted — it stays in the CSS, unused, in case it is
   wanted back. The flex gap and padding are zeroed the same way. */
.yt-gatelabel::before { display: none; }
.yt-gatelabel {
  gap: 0;
  padding: 0;
  font-size: 10.5px;
  letter-spacing: 0.22em;
}

/* (c) — the figure must never reach the reading column. Caps
   #stYantra .yantra-plate's own min(84vh, 52vw, 760px) (proof.css,
   out of bounds to edit) with a hard ceiling; expansion.css loads
   after proof.css, so this equal-specificity rule wins. .yantra's
   own align-items: center (styles.css, untouched) already centres
   it. */
#stYantra .yantra-plate { max-width: 640px; max-height: 640px; }

/* the cue — the one sentence of instructional copy PASS 2.2 allows,
   because without it "a gate can be pressed" was never said. Built
   by bhupuraGates() in expansion.js, appended inside
   #yantra .yantra-plate so it shares the plate's own parallax.

   PASS 36 CORRECTION 5 — floating beneath the figure placed this
   beside the SOUTH gate and pulled the choice there. display: none
   below is the only change: the rule, and everything beneath it, is
   left in place, unused, in case it is wanted back. .yt-cue-read
   further down is what actually shows now. */
.yt-cue {
  display: none;
  position: absolute;
  left: 50%;
  bottom: -34px;
  transform: translateX(-50%);
  margin: 0;
  font: var(--v-structural);
  font-weight: 500;
  font-size: 10.5px;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  color: var(--accent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 700ms cubic-bezier(.22,1,.36,1);
}
.yt-cue::before {
  content: "";
  display: block;
  width: 1px;
  height: 10px;
  margin: 0 auto 6px;
  background: currentColor;
  opacity: 0.5;
}
.yt-cue.is-shown {
  opacity: 1;
  /* breathes between 0.55 and 1 on a 2600ms cycle, starting once
     the 700ms fade-in above has had time to land */
  animation: yt-cue-breathe 2600ms ease-in-out 700ms infinite;
}
@keyframes yt-cue-breathe {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}
/* fades out permanently the first time any gate is hovered, focused
   or pressed — bhupuraGates() adds .is-gone and never removes it.
   Placed after .is-shown so it wins the tie without !important. */
.yt-cue.is-gone {
  opacity: 0;
  animation: none;
  transition: opacity 500ms cubic-bezier(.22,1,.36,1);
}

@media (prefers-reduced-motion: reduce) {
  .yt-cue { transition: none !important; }
  .yt-cue.is-shown { animation: none !important; }
}

/* PASS 36 CORRECTION 5 — THE CUE IN THE READING COLUMN

   The only neutral position: off the figure entirely, in
   #scYantra .yt-read, immediately after #ytAsk (bhupuraGates() in
   expansion.js inserts it there). Styled in the site's own .bn-open
   control language (line 39) — an inline-flex row with a hairline
   tick — rather than the old centred, floating treatment above. */
.yt-cue-read {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 1.6rem;
  font: 500 10.5px/1 "Public Sans", sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 700ms cubic-bezier(.22,1,.36,1);
}
.yt-cue-read::before {
  content: "";
  display: block;
  width: 18px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
}
.yt-cue-read.is-shown {
  opacity: 1;
  /* CORRECTED — a pulse, not a breath: 0.35 to 1, 1400ms, roughly
     twice the range and twice the speed of yt-cue-read-breathe
     below, which stays in place unused rather than edited, in case
     the gentler version is wanted back */
  animation: yt-cue-read-pulse 1400ms ease-in-out infinite;
}
@keyframes yt-cue-read-breathe {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}
@keyframes yt-cue-read-pulse {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 1; }
}
/* fades out permanently the first time any gate is hovered, focused
   or pressed — the same showCue()/hideCueForever() pair in
   expansion.js that drives the old cue drives this one too */
.yt-cue-read.is-gone {
  opacity: 0;
  animation: none;
  transition: opacity 500ms cubic-bezier(.22,1,.36,1);
}

@media (prefers-reduced-motion: reduce) {
  .yt-cue-read { transition: none !important; }
  .yt-cue-read.is-shown { animation: none !important; }
}

/* 2.2 — the doorway itself. #ytFig .sy-gatemark sits above the
   figure's own groups in paint order, so it needs pointer-events:
   none or it would sit above #yantra .sy-gates .sy-gate too and
   steal the click the rect exists to receive. */
#ytFig .sy-gatemark {
  opacity: 0;
  pointer-events: none;
  transition: opacity 380ms cubic-bezier(.22,1,.36,1);
}
#ytFig .sy-gatemark.is-on { opacity: 1; }
#ytFig .sy-gatemark use {
  fill: var(--accent);
  stroke: var(--accent);
  stroke-width: 2.4;
  stroke-linejoin: round;
}

/* PASS 32 2.1 — after bhupuraGates()'s round() settles, it adds
   .is-breathing to all four #ytFig .sy-gatemark elements. This is
   the indication that a gate is live; it states nothing and
   interprets nothing. Staggered by data-gate so the four never
   move together. */
@keyframes yt-gatemark-breathe {
  0%, 100% { opacity: 0; }
  50%      { opacity: 0.34; }
}
#ytFig .sy-gatemark.is-breathing {
  animation: yt-gatemark-breathe 3600ms cubic-bezier(.37,0,.63,1) infinite;
}
#ytFig .sy-gatemark[data-gate="north"].is-breathing { animation-delay: 0ms; }
#ytFig .sy-gatemark[data-gate="east"].is-breathing  { animation-delay: 900ms; }
#ytFig .sy-gatemark[data-gate="south"].is-breathing { animation-delay: 1800ms; }
#ytFig .sy-gatemark[data-gate="west"].is-breathing  { animation-delay: 2700ms; }
/* hover/focus (.is-on, toggled by bhupuraGates()'s setGateNear())
   must override the breath, not fight it — both classes together
   outrank .is-breathing alone regardless of source order */
#ytFig .sy-gatemark.is-breathing.is-on { animation: none; }

@media (prefers-reduced-motion: reduce) {
  #ytFig .sy-gatemark { transition: none !important; animation: none !important; }
}

/* 2.3 — the overlay. Built once by expansion.js, appended to
   document.body, and independent of every scroll chapter. */
.yt-interior {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0C1226;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1000ms cubic-bezier(.22,1,.36,1);
}
.yt-interior.is-on { opacity: 1; pointer-events: auto; }

/* ==== PASS 35 2.3 - THE DARK ROOM BECOMES BEAUTIFUL ============
   Three additive changes: the room gains a direction (below), the
   question gets air, and the way out moves up. */

/* the room gains a direction — first child of #ytInterior (built in
   theGateOpensInward() in expansion.js), so it paints behind
   everything else. --gx is set at press time by open() below, to
   whichever side the visitor came in from. This is now where the
   visitor's choice lives once the gate has gone; nothing says so
   and nothing interprets it. */
.yt-roomglow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  /* PASS 36 CORRECTION 3 — tighter and quieter, to sit behind the
     new diffused gate-light rather than the old painted one; --gx
     narrowed to 90%/10% below to match */
  background: radial-gradient(56% 68% at var(--gx, 50%) 50%,
    rgba(255,150,80,.09) 0%, rgba(10,16,34,0) 62%);
  /* PASS 36 CORRECTION 1 — 900ms, matching beat 1 (0-900ms, "indigo
     arrives") rather than the old, longer 1800ms */
  transition: opacity 900ms cubic-bezier(.22,1,.36,1);
}
.yt-interior.is-on .yt-roomglow { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .yt-roomglow { transition: none !important; }
}

.yt-interior-figure {
  position: relative;
  /* min(100vw, 100vh) × 0.86, written as min(86vw, 86vh) — the same
     value, since min(a, b) × k = min(a×k, b×k) for positive k */
  /* PASS 32 2.3 — dropped to 0.78 on desktop, min(78vw, 78vh), so
     there is real space beneath the figure for .yt-interior-back to
     sit clear of it. The comment above describes the pre-Pass-32
     ratio; it is left exactly as written, per this pass's own
     "delete nothing" rule. Below 640px the figure keeps its existing
     min(94vw, 94vh) — untouched, in the media query beneath. */
  width: min(78vw, 78vh);
  height: min(78vw, 78vh);
  transform: scale(0.965);
  transition: transform 1600ms cubic-bezier(.22,1,.36,1);
}
.yt-interior.is-on .yt-interior-figure { transform: scale(1); }

@media (max-width: 640px) {
  .yt-interior-figure { width: min(94vw, 94vh); height: min(94vw, 94vh); }
}

.yt-interior-figure svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  /* PASS 32 2.2 — the gate they came through is the light source; it
     breathes on its own clock, out of phase with the question's
     7600ms bloom and the promise's 9400ms breath below */
  opacity: 1;
}
.yt-interior.is-on .yt-interior-figure svg {
  animation: yt-fig-breathe 6400ms ease-in-out 2200ms infinite;
}
@keyframes yt-fig-breathe {
  0%, 100% { opacity: 0.86; }
  50%      { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .yt-interior-figure svg { animation: none !important; opacity: 1; }
}

/* ==== PASS 34 - THE SQUARE DOES NOT STAY WITH THE QUESTION ====
   Today the square stays lit beside the question forever. Julia's
   decision: the choice is acknowledged once, in time, then the
   question is alone.

   PASS 36 CORRECTION 1 rebuilt the timing: four beats, each keyed
   off its own class, each class added by its own setTimeout at a
   fixed millisecond offset from the press (see theGateOpensInward()
   in expansion.js) rather than a chain of CSS transition-delays,
   which is what let the question and the way back appear from the
   very start instead of waiting their turn:

     beat 1  .sy-bhupura and the lit .yt-interior-litgate rise
             together, 900ms, on .is-on (0 – 900ms)
     beat 2  a 1500ms hold — no rule fires, nothing changes
             (900 – 2400ms)
     beat 3  both fall together, 900ms, on .is-fading (2400 – 3300ms)
     beat 4  the question fades in, 1500ms, on .is-question, starting
             2900ms — 400ms before beat 3 ends, so it arrives into
             the space the light is leaving — and the way back
             follows, 600ms, on .is-back, starting 4400ms

   Every property below carries only a duration now, no CSS delay:
   the delay is entirely which millisecond its class is added at.

   This is a value change to .yt-interior-figure svg's own opacity —
   it now ends at 0 instead of staying visible — not a removal. The
   rule above and PASS 32's yt-fig-breathe keyframe both stay exactly
   as written; the rule immediately below is what actually governs
   this selector's animation now, by simply coming after it. */
.yt-interior.is-on .yt-interior-figure svg { animation: none; }

/* the dim square: PASS 32/31's #ytFig .sy-bhupura clone. Held at
   0.22 through beats 1-2 originally; PASS 36 CORRECTION 3 sets that
   to 0 instead — the diffused .yt-gatelight below replaces it rather
   than sitting beside it. Not deleted: the rule stays, unused, in
   case it is wanted back. Scoped to > svg (the original clone is a
   direct child of .yt-interior-figure; .yt-gatelight's four copies
   are not) so it cannot dim the new copies' own .sy-bhupura too. */
.yt-interior-figure > svg .sy-bhupura { opacity: 0; }
.yt-interior.is-on .yt-interior-figure > svg .sy-bhupura {
  opacity: 0;
  transition: opacity 900ms cubic-bezier(.22,1,.36,1);
}
.yt-interior.is-fading .yt-interior-figure > svg .sy-bhupura {
  opacity: 0;
  transition: opacity 900ms cubic-bezier(.22,1,.36,1);
}
@media (prefers-reduced-motion: reduce) {
  .yt-interior-figure > svg .sy-bhupura { transition: none !important; opacity: 0; }
}

/* the lit gate — Pass 32's own mechanism, reused rather than
   reinvented: one clipPath per gate (theGateOpensInward() builds all
   four), clipping a <use> of the pressed gate's own bhupura path.
   Bright and warm, alone: not multiplied down by .sy-bhupura's own
   0.22 above — it is a sibling, not a descendant, of that group.

   PASS 36 CORRECTION 2 — the fill is the light, not a painted
   colour: a radial gradient (#gateLitGradient, built and centred on
   the pressed gate's own mouth in expansion.js) from near-white at
   its centre through warm amber to a deeper orange at the edge, with
   a three-layer drop-shadow bloom standing in for the glow a flat
   fill can't give. No stroke — a stroked edge is what made it read
   as a painted, pasted shape rather than an illuminated doorway. */
.yt-interior-litgate {
  opacity: 0;
  pointer-events: none;
  /* PASS 46 — percentages in this rule's own transform-origin (below)
     resolve against the parent <svg>'s viewBox rather than this
     element's own bounding box, matching how expansion.js's --gate-ox/
     --gate-oy are already computed as a fraction of that same viewBox */
  transform-box: view-box;
}
.yt-interior-litgate use {
  fill: url(#gateLitGradient);
  filter: drop-shadow(0 0 12px rgba(255,210,158,.85))
          drop-shadow(0 0 40px rgba(255,168,96,.50))
          drop-shadow(0 0 120px rgba(255,132,60,.26));
}
/* PASS 36 CORRECTION 3 — 0, not 1: .yt-gatelight below replaces
   this ink-and-gradient gate rather than sitting beside it. Not
   deleted: the rule, the gradient it references and the comment
   above all stay in place, unused, in case they are wanted back. */
.yt-interior.is-on .yt-interior-litgate.is-active {
  opacity: 0;
  transition: opacity 900ms cubic-bezier(.22,1,.36,1);
}
.yt-interior.is-fading .yt-interior-litgate.is-active {
  opacity: 0;
  transition: opacity 900ms cubic-bezier(.22,1,.36,1);
}
@media (prefers-reduced-motion: reduce) {
  .yt-interior-litgate { transition: none !important; opacity: 0; }
}

/* PASS 36 CORRECTION 3 — THE GATE BECOMES DIFFUSED LIGHT

   Four stacked, independently clipped copies of the overlay figure
   (theGateOpensInward() in expansion.js builds them; open() updates
   all four clip rects to the pressed gate), each .sy-bhupura flooded
   with a thick stroke of its own colour before being blurred, so the
   ribbon has mass before softening rather than staying a wire.
   Timing is exactly the beat's own: rises on .is-on, holds, falls on
   .is-fading — the same 900ms both ways as the ink gate it replaces. */
.yt-gatelight {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.yt-gatelight > svg { pointer-events: none; }
.yt-interior.is-on .yt-gatelight {
  opacity: 1;
  transition: opacity 900ms cubic-bezier(.22,1,.36,1);
}
.yt-interior.is-fading .yt-gatelight {
  opacity: 0;
  transition: opacity 900ms cubic-bezier(.22,1,.36,1);
}
/* back to front: softest and largest first, sharpest and smallest
   last — a real light's falloff built from more than one layer */
.yt-gatelight > svg:nth-child(1) { filter: blur(90px); opacity: .34; }
.yt-gatelight > svg:nth-child(2) { filter: blur(30px); opacity: .48; }
.yt-gatelight > svg:nth-child(3) { filter: blur(9px);  opacity: .72; }
.yt-gatelight > svg:nth-child(4) { filter: blur(3px);  opacity: 1; }
/* the flood: fill and stroke the same colour, so the thick stroke
   reads as the ribbon's own mass rather than an outline around it.
   6.6 is Julia's approved value — 11 was 40% heavier than she wants,
   52 washes the notches out entirely, 0 goes back to a wire. */
.yt-gatelight .sy-bhupura {
  fill: #FFEBCB;
  stroke: #FFEBCB;
  stroke-width: 6.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}
@media (prefers-reduced-motion: reduce) {
  .yt-gatelight { transition: none !important; }
  .yt-interior.is-on .yt-gatelight { opacity: 1 !important; }
}

/* ═════════════════════════════════════════════════════════════
   PASS 46 · THE GATE OPENS, AND YOU GO THROUGH IT

   Julia: "that gate opens and you enter... the feeling would be that
   they really enter through the gate." Replaces beats 1 and 3 as this
   whole section above describes them (0-900ms .is-on, 2400-3300ms
   .is-fading) with a three-part sequence of its own, entirely inside
   the same press-to-2900ms window — is-question below is untouched
   and still lands at 2900ms.

     0 – 900ms     .is-on        — unchanged timing; the whole bhupura
                                    now arrives with it (below), quietly
                                    lit, all four gates visible, the
                                    pressed one brighter — rather than
                                    staying at 0 while .yt-gatelight
                                    (superseded, above) rose in its
                                    place
     900 – 1900ms  .is-opening   — the pressed gate's own notch
                                    widens: theGateOpensInward()'s own
                                    .yt-interior-litgate, already
                                    clipped to that gate's true
                                    opening, scaled up around the
                                    gate's own centre (--gate-ox/-oy,
                                    expansion.js) rather than any new
                                    shape
     1900 – 2900ms .is-through   — .yt-interior-figure, the whole
                                    cloned figure this section already
                                    scales for beat 1's small bump,
                                    scaled far past the viewport from
                                    that same centre, so what's left on
                                    screen by 2900ms is #ytInterior's
                                    own indigo background, already
                                    behind everything else here

   Nothing here is a new door, panel or hinge — every rule below is
   opacity or transform: scale() on elements this section already
   builds, an aperture widening and a view scaling through it, the
   same two moves chapter 01's own aperture (.na-garden, above) and
   the chapter-01→02 crossing (.fe-enter::after, proof.css) already
   use elsewhere on this site.

   Committed rules are not edited, per this pass's own budget rule:
   each override below shares its target's exact selector (so it wins
   outright by coming later) or adds .is-opening/.is-through to it (so
   it wins outright on specificity, regardless of source order, once
   .is-fading — 2400ms, still scheduled, still harmless — is also
   present from 2400-2900ms). */

/* beat 1 — supersedes the two rules above that held these at 0 for
   .yt-gatelight's sake; same selectors, so this is what now governs
   them, without touching either committed rule */
.yt-interior.is-on .yt-interior-figure > svg .sy-bhupura {
  opacity: 0.55;
  transition: opacity 900ms cubic-bezier(.22,1,.36,1);
}
.yt-interior.is-on .yt-interior-litgate.is-active {
  opacity: 1;
  transition: opacity 900ms cubic-bezier(.22,1,.36,1);
}
/* .yt-gatelight itself stays superseded outright: this pass never
   lets it appear at all */
.yt-interior.is-on .yt-gatelight { opacity: 0; }

/* beat 2 — the notch widens. .is-on.is-opening, not .is-opening
   alone, so this always outranks .is-fading's own same-age rule
   above regardless of where either sits in the file */
.yt-interior.is-on.is-opening .yt-interior-litgate.is-active {
  opacity: 1;
  transform: scale(3);
  transform-origin: var(--gate-ox, 50%) var(--gate-oy, 50%);
  transition: transform 1000ms cubic-bezier(.22,1,.36,1),
              opacity 900ms cubic-bezier(.22,1,.36,1);
}

/* beat 3 — the view scales into the opening. Targets .yt-interior-figure
   > svg — the cloned drawing itself — rather than .yt-interior-figure:
   that div is also .yt-interior-copy's own parent (the question, the
   note and the way back all live there too), and scaling it would have
   carried them off with it. Scoping to > svg leaves copy exactly where
   it already sits, untouched by this beat, so the question lands in
   its normal place at 2900ms. 10×, anchored off-centre at the pressed
   gate, comfortably clears any viewport this figure (min(78vw, 78vh))
   is ever sized to before 2900ms, so what's left showing is
   .yt-interior's own indigo. */
.yt-interior.is-on.is-through .yt-interior-figure > svg {
  transform: scale(10);
  transform-origin: var(--gate-ox, 50%) var(--gate-oy, 50%);
  transition: transform 1000ms cubic-bezier(.22,1,.36,1);
}
/* the pressed gate's own three-layer drop-shadow bloom (above, PASS 36
   CORRECTION 2) is sized for the gate at its own scale; carried through
   a 10× (this rule) on top of beat 2's own 3× (above) — 30× compounded
   — its 120px outer layer becomes a blur several thousand pixels wide,
   expensive enough to stall the very timers driving this sequence.
   Dropped for this beat only: at this scale the bloom reads as nothing
   more than a soft-edged mass anyway, which the shape's own fill
   already gives it. */
.yt-interior.is-on.is-through .yt-interior-litgate use {
  filter: none;
}

/* reduced motion — no widening, no scaling through: is-opening and
   is-through are never added (expansion.js), so the two rules above
   never match. What reduced motion gets instead is the bhupura and
   the pressed gate already visible alongside the question, which
   these two overrides supply: same specificity reasoning as beat 1
   above, aimed at the always-0 reduced-motion rules this section
   already sets for these two selectors. */
@media (prefers-reduced-motion: reduce) {
  .yt-interior.is-on .yt-interior-figure > svg .sy-bhupura { opacity: 0.55; }
  .yt-interior.is-on .yt-interior-litgate.is-active { opacity: 1; }
  .yt-interior.is-on .yt-gatelight { opacity: 0 !important; }
}

/* ═════════════════════════════════════════════════════════════
   PASS 47 · THE LIGHT THROUGH THE GATE

   .yt-gate-glow (expansion.js, theGateOpensInward()) is new: a plain
   div, figureBox's first child — appended before fig, so it paints
   behind fig's own SVG, behind the litgate ink above, never on top of
   it. .yt-interior-litgate itself — its opacity, its fill, its
   drop-shadow filter — is not touched anywhere in this pass; it stays
   exactly as bright and as thin as it already is.

   Two layered radial gradients, not a clip-path: nothing here is cut
   to a rect, so no side of it is ever a straight line. One centred on
   the gate's own throat (--gate-ox/--gate-oy, expansion.js, already
   set by open()), tight; one centred further in (--gate-inner-x/
   --gate-inner-y, expansion.js, this pass), looser — so the falloff
   reaches further into the enclosure than out of it, brightest at the
   opening, fading to fully transparent well inside the box either way.
   color-mix() with var(--accent) throughout: the hue is the token's
   own, never a new hex value. */
.yt-gate-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--gate-ox, 50%) var(--gate-oy, 50%),
      color-mix(in srgb, var(--accent) 55%, transparent) 0%,
      color-mix(in srgb, var(--accent) 28%, transparent) 11%,
      transparent 24%),
    radial-gradient(circle at var(--gate-inner-x, 50%) var(--gate-inner-y, 50%),
      color-mix(in srgb, var(--accent) 38%, transparent) 0%,
      color-mix(in srgb, var(--accent) 14%, transparent) 18%,
      transparent 40%);
  transition: opacity 900ms cubic-bezier(.22,1,.36,1);
  /* CHANGE 2 — the chosen gate breathes. One shared element,
     repositioned per press (--gate-ox/-oy above), so only whichever
     gate is actually open ever pulses; the other three are never
     touched. 5s is the full dim -> bright -> dim cycle, not half of
     it: three keyframe stops (below) rather than alternate, so period
     and animation-duration are the same one number. brightness(1) to
     brightness(0.88) is a 12% swing, comfortably inside "not less
     than 80%". Only this filter varies — .yt-interior-litgate's own
     opacity and fill are untouched, so the drawn line never changes. */
  animation: yt-gate-glow-breathe 5s ease-in-out infinite;
}
.yt-interior.is-on .yt-gate-glow { opacity: 1; }
@keyframes yt-gate-glow-breathe {
  0%, 100% { filter: brightness(1); }
  50%      { filter: brightness(0.88); }
}
@media (prefers-reduced-motion: reduce) {
  /* the pulse does not run and the light sits at its brightest value —
     same pattern as .yt-note and the rest of this file's own
     reduced-motion rules just above and below this one */
  .yt-gate-glow { transition: none !important; animation: none !important; filter: none; }
}

/* the question, centred in the middle of the square */
/* PASS 36 CORRECTION 1 — beat 4 is 2900 – 4400ms now (.is-question,
   added by its own setTimeout — see theGateOpensInward() in
   expansion.js), not a 2400ms CSS transition-delay chained off
   .is-on: that delay was not surviving a class removed and re-added,
   which is why the question was appearing from the very start.
   .yt-interior-copy itself no longer gates opacity — only position,
   so the container is never what's hiding the text — the question's
   own opacity lives on .yt-interior-q below, where it can be
   sampled and verified directly rather than only inherited. */
.yt-interior-copy {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(30ch, 64vw);
  text-align: center;
  transform: translate(-50%, calc(-50% + 10px));
  transition: transform 1500ms cubic-bezier(.22,1,.36,1);
}
.yt-interior.is-question .yt-interior-copy {
  transform: translate(-50%, -50%);
}

/* PASS 35 2.3 — min(30ch, 58vw) on desktop, so the question breaks
   into four lines, not six; z-index: 2, above .yt-roomglow. Placed
   before the narrow media query below (unchanged, its own pass), so
   under 640px that rule still wins. */
.yt-interior-copy { width: min(30ch, 58vw); z-index: 2; }

@media (max-width: 640px) {
  .yt-interior-copy { width: min(24ch, 80vw); }
}

.yt-interior-q {
  margin: 0;
  font-weight: 300;
  font-size: clamp(21px, 2.15vw, 32px);
  line-height: 1.5;
  color: #F3EDE3;
  /* PASS 32 2.2 — a slow warm bloom, light only: no colour change,
     no scale, no letter-spacing movement. The dimmer of the two
     shadows below is also the reduced-motion resting value
     (section 3). */
  text-shadow: 0 0 22px rgba(255,214,160,.10), 0 0 60px rgba(255,180,110,.05);
  /* PASS 36 CORRECTION 1 — the question's own opacity, gated on
     .is-question (2900 – 4400ms) rather than inherited from
     .yt-interior-copy's, so it can be sampled and verified on this
     element directly, and so it cannot appear before its own beat */
  opacity: 0;
  transition: opacity 1500ms cubic-bezier(.22,1,.36,1);
}
.yt-interior.is-on .yt-interior-q {
  animation: yt-q-bloom 7600ms ease-in-out 1600ms infinite;
}
.yt-interior.is-question .yt-interior-q { opacity: 1; }
@keyframes yt-q-bloom {
  0%, 100% { text-shadow: 0 0 22px rgba(255,214,160,.10), 0 0 60px rgba(255,180,110,.05); }
  50%      { text-shadow: 0 0 30px rgba(255,222,175,.26), 0 0 90px rgba(255,180,110,.13); }
}

@media (prefers-reduced-motion: reduce) {
  .yt-interior-q { animation: none !important; transition: none !important; }
}

/* PASS 35 2.3 — the question gets air: weight, size, line-height and
   colour only. yt-q-bloom above (the "existing slow bloom") and its
   text-shadow values are untouched. */
.yt-interior-q {
  font-weight: 200;
  font-size: clamp(28px, 3.05vw, 46px);
  line-height: 1.3;
  letter-spacing: -0.006em;
  color: #F8F3EB;
}

/* PASS 32 2.2 — the promise detaches from the question: its own
   opacity/transform, not inherited from .yt-interior-copy's, so it
   can arrive on its own delay, long after the question has settled,
   and then breathe out of phase with it. */
.yt-interior-sub {
  margin: 3.2em 0 0;
  font-style: italic;
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: #F3EDE3;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 1400ms cubic-bezier(.22,1,.36,1) 2600ms,
              transform 1400ms cubic-bezier(.22,1,.36,1) 2600ms;
}
.yt-interior.is-on .yt-interior-sub {
  opacity: .34;
  transform: translateY(0);
  /* out of phase with the question's 7600ms bloom and the figure's
     6400ms breath above — 9400ms so the three never land together */
  animation: yt-sub-breathe 9400ms ease-in-out 4200ms infinite;
}
@keyframes yt-sub-breathe {
  0%, 100% { opacity: 0.26; }
  50%      { opacity: 0.46; }
}

@media (prefers-reduced-motion: reduce) {
  .yt-interior-sub {
    transition: none !important;
    animation: none !important;
    opacity: .34;
    transform: none;
  }
}

/* the way back, present the whole time the visitor is inside.
   PASS 32 2.3 — it was 11px, grey, .45 opacity, on the bottom gate's
   wall: technically present, practically invisible. Bigger, brighter,
   and the same tick vocabulary as .yt-gatelabel above, clear of the
   figure now that .yt-interior-figure is smaller. */
/* PASS 36 CORRECTION 1 — 4400 – 5000ms now (.is-back, added by its
   own setTimeout — see theGateOpensInward() in expansion.js), not a
   3000ms CSS transition-delay chained off .is-on. Plain 600ms
   duration, no delay left in the rule itself. */
.yt-interior-back {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.4rem 0.6rem;
  background: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: var(--v-structural);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: #F3EDE3;
  opacity: 0;
  transition: opacity 600ms cubic-bezier(.22,1,.36,1);
}
.yt-interior-back::before {
  content: "";
  display: block;
  width: 18px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
  transition: width 320ms cubic-bezier(.22,1,.36,1);
}
.yt-interior.is-back .yt-interior-back { opacity: .78; }
.yt-interior-back:hover, .yt-interior-back:focus-visible { opacity: 1; }
.yt-interior-back:hover::before, .yt-interior-back:focus-visible::before { width: 32px; }
.yt-interior-back:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }

/* PASS 35 2.3 — the way out moves up and gets sharper: appended
   inside .yt-interior-copy by theGateOpensInward() now (expansion.js),
   directly beneath the question. position: absolute plus its
   left/bottom/transform above are overridden here, not deleted —
   position: static makes left/bottom no-ops, but the old
   translateX(-50%) would still apply to a static box unless
   overridden too; text-align: center on .yt-interior-copy centres it
   the same way it centres the question. */
.yt-interior-back {
  position: static;
  transform: none;
  margin-top: 3.2em;
  gap: 11px;
  font: var(--v-structural);
  font-weight: 500;
  font-size: 10.5px;
  line-height: 1;
  letter-spacing: 0.26em;
  color: #F8F3EB;
}
.yt-interior-back::before { width: 18px; }
.yt-interior.is-back .yt-interior-back { opacity: .46; }
.yt-interior-back:hover::before, .yt-interior-back:focus-visible::before { width: 34px; }

@media (prefers-reduced-motion: reduce) {
  .yt-interior,
  .yt-interior-figure,
  .yt-interior-copy,
  .yt-interior-back,
  .yt-interior-back::before { transition: none !important; }
}

/* ═════════════════════════════════════════════════════════════
   PASS 36 · THE CROSSINGS
   ═════════════════════════════════════════════════════════════ */

/* 2.1 — the aperture (.fe-enter::after, proof.css) plays only on
   the deliberate act. proof.js's own --fe-open is untouched and
   still rises on scroll alone; --fe-gate (expansion.js) stays 0
   until #feEnter is pressed, so the aperture only ever shows once
   that click has happened. */
.fe-enter::after {
  opacity: calc(var(--fe-open, 0) * var(--fe-gate, 0));
}

/* PASS 36 CORRECTION — the halo (.fe-halo, proof.css) is wanted on
   arrival at the invitation slide, before anything is pressed, so it
   is deliberately NOT gated by --fe-gate the way the aperture is.
   Julia confirmed the earlier gating of this rule was wrong; this
   rule is kept, unchanged in effect, so the halo still reads on
   scroll alone exactly as proof.js drives it. */
.fe-halo {
  opacity: var(--fe-halo, 0);
}

/* 2.2 — the deep room's own figure and plate (.yd-figure, which
   holds .yd-structure and every .yd-hl layer) get a fast fade of
   their own the instant #ydGo is pressed, so the old room is gone
   before workroomBehindTheDoor() reveals the new one underneath.
   Not the deep room's own rules — a new class, additive. */
.yd-deep.is-vanishing .yd-figure {
  opacity: 0;
  transition: opacity 320ms var(--ease);
}

/* 2.3 — the empty block between chapter 11 and chapter 12.
   Chapter 11 leaves instead of sliding: its plate wrapper (.yt-art)
   and reading column (.yt-read) multiply their existing opacity by
   --yt-exit, written by a new chapter("scYantra", ...) callback in
   expansion.js. Chapter 12 arrives earlier: its kicker, strip and
   visual take the max of their existing driving value and
   --pr-early, written by a new chapter("scProcess", ...) callback,
   so the earlier curve wins without the original ever being
   removed. */
#scYantra .yt-art { opacity: calc(var(--yt-on, 0) * var(--yt-exit, 1)); }
#scYantra .yt-read { opacity: calc(var(--yt-read, 0) * var(--yt-exit, 1)); }

#scProcess .pr-kicker,
#scProcess .pr-strip { opacity: max(var(--pr-kick, 0), var(--pr-early, 0)); }
#scProcess .pr-visual { opacity: max(var(--pr-vis, 0), var(--pr-early, 0)); }

/* PASS 36 CORRECTION 6 — COVER THE JUMP

   landOn()'s instant scroll (above) can arrive before proof.js's own
   chapter() has drawn #scThreshold at its new position — one or two
   blank frames, --fe-halo and --fe-title still at 0, before the
   content pops in. Not a fix to proof.js, which stays untouched: a
   veil, above everything, timed by expansion.js to cover exactly the
   gap around the jump. */
.yt-scroll-veil {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: #0B0A09;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms linear;
}
.yt-scroll-veil.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  /* the sequence that turns this on and off still runs at the same
     timing — the blank frame is a correctness problem, not a
     decorative one — only the fade itself is removed */
  .yt-scroll-veil { transition: none !important; }
}

/* PASS 37 2.2 — THE AURELIUS MATERIAL MOVES UNDER THE QUESTION

   Measured: .yt-interior-copy computes to 300px today and the
   question sets in five lines; at min(46ch, 72vw) it sets in three,
   which is the approved setting. This overrides the width the
   existing rules set (above, .yt-interior-copy and its later
   min(30ch, 58vw) override) by coming after both — neither is
   edited or deleted. */
.yt-interior-copy { width: min(46ch, 72vw); }

/* PASS 48 — THE QUESTION CENTRES ON THE FIGURE, NOT THE WHOLE STACK

   Both rules below share their exact selector with the two committed
   ones above (this section's own opening block, and its
   .is-question companion) and come after every other .yt-interior-copy
   rule in the file, so they are what actually governs the transform
   now — neither committed rule is edited.

   -50% (the committed value) translates by half of copy's OWN
   rendered height, which already includes .yt-note's and
   .yt-interior-back's reserved flow space, whether or not is-note has
   fired — opacity: 0 does not remove an element from flow. That pulls
   the question off the figure's true centre by roughly half of
   note+back's combined height, and always by the same amount, note
   visible or not — so the question never appears to move when the
   note arrives, it simply never sat at the true centre to begin with.

   --q-half-h (expansion.js, centerQuestionOnFigure(), read fresh on
   every press and again on resize) is half of #ytInteriorQ's own
   rendered height alone — nothing else copy holds affects it — so
   translating by that instead puts the QUESTION's own centre, not
   copy's, on the figure's centre, and keeps it there regardless of
   what note or back are doing. 50% is kept as the fallback inside the
   var(), matching the committed value, in case this runs before the
   first centerQuestionOnFigure() call ever has. */
.yt-interior-copy {
  transform: translate(-50%, calc(-1 * var(--q-half-h, 50%) + 10px));
}
.yt-interior.is-question .yt-interior-copy {
  transform: translate(-50%, calc(-1 * var(--q-half-h, 50%)));
}

.yt-note { margin-top: 3.4em; text-align: center; }
.yt-note q { display: block; quotes: none;
  font: italic 300 clamp(15px,1.35vw,19px)/1.6 "Public Sans",system-ui,sans-serif;
  color: #F3EDE3; opacity: .62; letter-spacing: .004em; }
.yt-note cite { display: block; margin-top: 1.1em;
  font: 500 9.5px/1.6 "Public Sans",system-ui,sans-serif;
  letter-spacing: .20em; text-transform: uppercase; font-style: normal;
  color: #F3EDE3; opacity: .34; }
.yt-note p { margin: 2.0em auto 0; max-width: 48ch;
  font: 300 12.5px/1.8 "Public Sans",system-ui,sans-serif;
  color: #F3EDE3; opacity: .30; }

/* PASS 37 CORRECTION 1 — the note is scheduled the same way its
   neighbours (.is-question, .is-back) are: a JS-scheduled class,
   .is-note, added by its own setTimeout in theGateOpensInward()
   (expansion.js) at T + 1200ms, where T is when the question itself
   finishes arriving — not chained off .is-on with a CSS
   transition-delay, which does not reliably restart once leave()
   removes .is-on and open() re-adds it. Plain duration only here, no
   delay left in the rule itself; it never animates again after. */
.yt-note {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 1400ms cubic-bezier(.22,1,.36,1),
              transform 1400ms cubic-bezier(.22,1,.36,1);
}
.yt-interior.is-note .yt-note {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .yt-note { transition: none !important; opacity: 1; transform: none; }
}

/* ═════════════════════════════════════════════════════════════
   PASS 38 · THE MAHA MERU, AND PASS 38 CORRECTION 1's OWN SCREEN

   #meruFig no longer lives inside #ydFigure — Correction 1 moved it
   (in expansion.js) onto its own full-bleed screen, .meru-screen,
   built inside the black room. This base rule still applies while
   it sits in .meru-screen-figure (position/inset/size, so the SVG
   fills that box the same way it once filled #ydFigure); during the
   handover expansion.js switches it to position: fixed with explicit
   px measured live from .yd-structure's own rect, which this rule's
   position: absolute does not fight — an inline style always wins
   over a class rule of equal specificity. Every tier is stroke-only
   (fill: none): the mountain is meant to be seen through, never a
   solid that hides what is under it. Colour and the glow are the
   only things this file adds — geometry and layout are entirely
   expansion.js's, read from the artwork at runtime.
   ═════════════════════════════════════════════════════════════ */
#meruFig {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  opacity: 1;
}
#meruFig.is-handing-over {
  opacity: 0;
  transition: opacity 900ms var(--ease);
}

/* ═════════════════════════════════════════════════════════════
   PASS 44 · CHANGE 2 · THE MOUNTAIN ARRIVES AS A COVER

   #meruFig needs a transition of its own now, for the cross-fade in
   (.mf-cover-hold, below, losing its 0 opacity) — nothing above
   declares one for the plain element, only .is-handing-over (above,
   unused as of this pass) does, and only for itself. A new, separate
   rule rather than editing #meruFig's own block above: transition
   does not merge across rules the way most properties do, so this
   adds the one property that block never needed before without
   touching a line of it. PASS 44 CORRECTION 1 — 1200ms -> 2000ms,
   matching .meru-cover's own cross-fade below exactly, so the two
   still finish together. PASS 46 CORRECTION 1 · CHANGE 4 — 2000ms
   -> 3000ms, both here and on .meru-cover below, so the two still
   finish together at the new, slower length ("it should probably
   dissolve into the animation slower" — Julia). */
#meruFig {
  transition: opacity 3000ms var(--ease);
}
#meruFig.mf-cover-hold {
  opacity: 0;
}

/* Julia's own photograph (asset_log.md, this pass), sized by height
   to figureBox and centred horizontally (PASS 46 CORRECTION 1 ·
   CHANGE 2, below) — expansion.js appends .meru-cover after fig, so
   it paints on top by plain DOM order, covering the geometry until
   the exchange runs.

   PASS 44 CORRECTION 1 — object-fit: contain, not cover. The first
   photograph was 1456x816 and cover was the right call for it (see
   the report for that pass); the corrected photograph Julia prepared
   for this correction is square (1456x1456), already vignetted on
   all four of its own edges and keyed to the room's own real
   background colour, rgb(7,8,12) — cropping it with cover would cut
   that vignette off at the box's own edge and bring back exactly the
   hard rectangle this correction exists to remove. figureBox is
   square too (Change 3, this pass), so contain and cover would frame
   identically here regardless — contain is kept as the deliberate,
   correct choice, not an accident of the numbers matching.

   PASS 46 CORRECTION 1 · CHANGE 1/2 — superseded: the photograph is
   replaced again (asset_log.md, this pass), no longer square — its
   mountain now paints 69.4% of its own canvas height, top-aligned,
   the same proportion the drawing occupies in its own box, prepared
   so that sizing THIS image by height alone reproduces the drawing's
   own painted extent without any crop decision at all. object-fit:
   contain is gone along with the width: 100% it depended on for a
   square source; sizing is now height: 100% / width: auto (below),
   the new image's own intrinsic aspect ratio doing the work
   object-fit used to. overflow: hidden -> visible, since the image
   is now deliberately wider than the box and Julia asked it to bleed
   — clipping it would cut the same vignette the paragraph above
   already ruled out cutting, off the image's own wide edge rather
   than the box's. */
.meru-cover {
  position: absolute;
  inset: 0;
  overflow: visible;
  display: flex;
  justify-content: center;
  opacity: 1;
  transition: opacity 3000ms var(--ease);
}
.meru-cover picture {
  display: block;
  flex: 0 0 auto;
  height: 100%;
}
.meru-cover img {
  display: block;
  height: 100%;
  width: auto;
}
.meru-cover.is-exchanging {
  opacity: 0;
}

/* THE PARALLAX — PASS 46 CORRECTION 1 · CHANGE 3: rescaled to the
   window it actually plays in — the 4000ms hold plus the now-3000ms
   dissolve above, ~7s total — rather than the 20s cycle the cover
   never lived long enough to show more than a sliver of. Julia: "we
   forgot to add a parallax effect to the mountain. It is there and
   it is invisible." One pass now, not a ping-pong: alternate had
   somewhere to return to across a 20s loop the cover outlived many
   times over; across a single ~7s window that is also the whole of
   the photograph's onscreen life, there is nowhere to return to
   before it is gone. Scale 1 -> 1.05 and 10px of horizontal drift,
   tuned by eye at these values (reported) — still a slow breath, not
   the mountain turning, drifting or wobbling. Lives on the img, not
   on .meru-cover itself, so it never touches the opacity the
   exchange above (and the reduced-motion override below) already
   animate. */
.meru-cover img {
  animation: meruCoverBreathe 7s ease-in-out forwards;
}
@keyframes meruCoverBreathe {
  from { transform: scale(1) translateX(0); }
  to   { transform: scale(1.05) translateX(10px); }
}

@media (prefers-reduced-motion: reduce) {
  /* PASS 44 CORRECTION 1 — 1200ms -> 2000ms, matching the values
     above; still linear under reduced motion, unchanged. PASS 46
     CORRECTION 1 · CHANGE 4 — 2000ms -> 3000ms, matching Change 4
     above. */
  #meruFig { transition: opacity 3000ms linear; }
  .meru-cover { transition: opacity 3000ms linear; }
  .meru-cover img { animation: none; }
}

#meruFig .mf-tier path {
  fill: none;
  stroke-width: 1.1;
  vector-effect: non-scaling-stroke;
}

/* tier 0 (Bhupura, the outer square) and tier 9 (the Bindu, the
   summit) carry the site's one accent, same as the white room's own
   gates and the black room's own highlighted layer */
#meruFig .mf-tier[data-tier="0"] path,
#meruFig .mf-tier[data-tier="9"] path { stroke: var(--accent); }
#meruFig .mf-tier[data-tier="0"],
#meruFig .mf-tier[data-tier="9"] {
  filter: drop-shadow(0 0 2px rgba(255,77,0,0.55)) drop-shadow(0 0 15px rgba(255,77,0,0.30));
}

/* tiers 1–3 (the lotus rings and the first ring of the triangle
   field): the site's own warm ivory, stepping slightly darker the
   further in each ring sits — never pure white */
#meruFig .mf-tier[data-tier="1"] path { stroke: #EEE1C6; }
#meruFig .mf-tier[data-tier="2"] path { stroke: #DDCBA2; }
#meruFig .mf-tier[data-tier="3"] path { stroke: #C4AC7E; }
#meruFig .mf-tier[data-tier="1"] { filter: drop-shadow(0 0 2px rgba(238,225,198,0.42)) drop-shadow(0 0 16px rgba(238,225,198,0.18)); }
#meruFig .mf-tier[data-tier="2"] { filter: drop-shadow(0 0 2px rgba(221,203,162,0.40)) drop-shadow(0 0 16px rgba(221,203,162,0.17)); }
#meruFig .mf-tier[data-tier="3"] { filter: drop-shadow(0 0 2px rgba(196,172,126,0.38)) drop-shadow(0 0 16px rgba(196,172,126,0.16)); }

/* tiers 4–8 (the five inner rings of the triangle field, and the
   third ring at their outer edge): a cool blue, the mountain's own
   body rather than either the accent or the ivory rings above it,
   each ring a step deeper than the one before it */
#meruFig .mf-tier[data-tier="4"] path { stroke: #86B4DE; }
#meruFig .mf-tier[data-tier="5"] path { stroke: #78A7D6; }
#meruFig .mf-tier[data-tier="6"] path { stroke: #6A9BCE; }
#meruFig .mf-tier[data-tier="7"] path { stroke: #5C8FC6; }
#meruFig .mf-tier[data-tier="8"] path { stroke: #4E83BE; }
#meruFig .mf-tier[data-tier="4"] { filter: drop-shadow(0 0 2px rgba(134,180,222,0.42)) drop-shadow(0 0 16px rgba(134,180,222,0.19)); }
#meruFig .mf-tier[data-tier="5"] { filter: drop-shadow(0 0 2px rgba(120,167,214,0.41)) drop-shadow(0 0 16px rgba(120,167,214,0.18)); }
#meruFig .mf-tier[data-tier="6"] { filter: drop-shadow(0 0 2px rgba(106,155,206,0.40)) drop-shadow(0 0 16px rgba(106,155,206,0.17)); }
#meruFig .mf-tier[data-tier="7"] { filter: drop-shadow(0 0 2px rgba(92,143,198,0.39)) drop-shadow(0 0 16px rgba(92,143,198,0.16)); }
#meruFig .mf-tier[data-tier="8"] { filter: drop-shadow(0 0 2px rgba(78,131,190,0.38)) drop-shadow(0 0 16px rgba(78,131,190,0.15)); }

/* PASS 41 · 41.1 · THE WALLS
   #meruFig .mf-walls holds nine .mf-wall groups (tiers 1-9, one wall
   per tier, none for tier 0 — expansion.js). Each wall's own <path>
   'd' is rewritten every frame by updateWalls() (expansion.js); this
   file only ever gives it colour. Every colour below is copied
   verbatim from that tier's own rule above — .mf-wall[data-tier="N"]
   matches #meruFig .mf-tier[data-tier="N"] path exactly — so a wall
   always reads as the tier it descends FROM. Starting values, tuned
   by rendering: half the tier's own 1.1 stroke-width, and 0.45
   opacity, so the walls read as one stepped mass rather than
   competing with the tiers' own crisp lines or, at low bin counts,
   a wire hairball. No filter/glow: that stays the tiers' own accent,
   not spent on the mass between them. */
#meruFig .mf-wall path {
  fill: none;
  stroke-width: 0.55;
  opacity: 0.45;
  vector-effect: non-scaling-stroke;
}
#meruFig .mf-wall[data-tier="9"] path { stroke: var(--accent); }
#meruFig .mf-wall[data-tier="1"] path { stroke: #EEE1C6; }
#meruFig .mf-wall[data-tier="2"] path { stroke: #DDCBA2; }
#meruFig .mf-wall[data-tier="3"] path { stroke: #C4AC7E; }
#meruFig .mf-wall[data-tier="4"] path { stroke: #86B4DE; }
#meruFig .mf-wall[data-tier="5"] path { stroke: #78A7D6; }
#meruFig .mf-wall[data-tier="6"] path { stroke: #6A9BCE; }
#meruFig .mf-wall[data-tier="7"] path { stroke: #5C8FC6; }
#meruFig .mf-wall[data-tier="8"] path { stroke: #4E83BE; }

/* ═════════════════════════════════════════════════════════════
   PASS 38 CORRECTION 1 · THE MERU'S OWN SCREEN

   Full-bleed, appended last inside .yd-inner (expansion.js), so it
   covers the room's existing contents by plain DOM order. Two
   columns on desktop — figure, then copy — stacked below 900px, per
   Julia's instruction. No boxes, no borders: the type and the figure
   are the only two things on it.

   .is-visible fades the whole screen in (0.0–0.4s of the run() timer
   in expansion.js). .is-copy-out fades only the copy, the first step
   of the handover. .is-handing-over then fades the screen's own
   background away, uncovering the room underneath — #meruFig, by
   then measured and repositioned to sit exactly over .yd-structure
   (see #meruFig.is-handing-over above), fades on its own class at
   the same time, so the two reads as one crossfade rather than a cut. */
.meru-screen {
  position: absolute;
  inset: 0;
  background: #07080C;
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms var(--ease);
  z-index: 2;
}
.meru-screen.is-visible { opacity: 1; pointer-events: auto; }
.meru-screen.is-handing-over { opacity: 0; }

/* the room's own six-beat highlight cycle (yantraDeep()'s overture(),
   untouched) still runs on its own original schedule the instant the
   room opens — expansion.js does not delay that call, because the
   only way to delay it is a one-line edit to code that predates this
   pass, which the zero-deletions bound on this pass forbids. Instead
   its OUTPUT is held invisible for as long as #meruScreen is covering
   it: !important is needed because settle() (yantraDeep(), untouched)
   writes .yd-hl's opacity as an inline style, which an ordinary class
   rule cannot outrank. .yd-body is held with it so its layer label
   cannot read one thing while the figure beneath shows another once
   the handover starts revealing what is really there.

   The class lives on <html>, not on #ydDeep, and this is load-bearing,
   not stylistic: expansion.js watches #ydDeep's own class attribute
   (for is-open) with a MutationObserver, and toggling is-meru-active
   on that same element set up a mutation -> callback -> mutation
   cascade that hung the room open on the very first click — found by
   testing. <html> is written to but never watched. */
/* PASS 39 · 39.2 — the rule below is unused as of this pass, and left
   in place rather than removed, per this branch's own convention.
   overture() (yantraDeep(), expansion.js) now holds itself back for
   as long as html.is-meru-active is set — meruWalkthrough.holding, a
   new shared flag — so .yd-hl and .yd-body never receive a non-zero
   opacity to be forced back down to zero while the Meru screen is
   showing in the first place. is-meru-active itself is still added
   and removed exactly where it always was; only this one rule keyed
   off it is now dead weight, and .meru-go (below) has since given the
   class a second, live job: showing and hiding #meruGo. */
html.is-meru-active .yd-hl,
html.is-meru-active .yd-body {
  opacity: 0 !important;
  transition: none !important;
}

/* ═════════════════════════════════════════════════════════════
   PASS 44 CORRECTION 1 · CHANGE 2 · THE HELD SCREEN IS THE ONLY
   THING ON SCREEN

   REPRODUCED BUG, Julia's own words: "it overlays over the Yantra on
   the next page... It should not show the next slide underneath it."
   Traced to holdFlat() (expansion.js): its own screen.style.background
   = "none" (correct — it is what lets #ydGo/#ydClose, already raised
   above the screen since Pass 38 Correction 3, read as belonging to a
   real room rather than floating on black) also uncovers #ydFigure
   (the raster plate, all nine .yd-hl layers) and .yd-read (the room's
   own heading, its "A structure precise enough..." line, its
   Tradition/layer body text) — none of which is meant to be seen yet.

   A separate rule from html.is-meru-active .yd-hl/.yd-body above, on
   purpose: that class comes OFF during the hold (holdFlat(), so a
   hand-clicked .yd-step still lights up — see its own comment), but
   the room's own slide has to stay hidden for the WHOLE time the Meru
   screen is showing, hold included. is-meru-showing (expansion.js:
   turnMountain() adds it once, leave() removes it, whichever route
   reaches leave()) is what covers exactly that span. #ydFigure and
   .yd-read both carry their own opacity already (var(--yd-in,0),
   above); this selector combines an id and a class, out-specifying
   that plain single-class rule without !important. visibility:hidden
   alongside opacity, not opacity alone — .yd-read contains .yd-steps,
   real buttons, and opacity 0 alone would still leave them reachable
   by keyboard while invisible. */
html.is-meru-showing #ydFigure,
html.is-meru-showing .yd-read {
  opacity: 0;
  visibility: hidden;
}

/* PASS 49 — html.is-naming (expansion.js: the #meruName click handler
   adds it) combined with the committed html.is-meru-showing above beats
   that plain two-selector rule on specificity without !important, so
   it is not edited. #ydFigure is deliberately not named here — it must
   stay hidden for the whole visit, raster plate never revealed; only
   .yd-read (the room's own naming labels, driven by show()'s own
   data-stage writes, unedited) is uncovered. */
html.is-meru-showing.is-naming .yd-read { opacity: 1; visibility: visible; }

.meru-screen-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5vw;
  padding: 0 var(--pad);
}
.meru-screen-figure {
  position: relative;
  flex: 0 0 auto;
  width: min(46vw, 62vh);
  aspect-ratio: 1 / 1;
}
.meru-screen-copy {
  flex: 0 1 auto;
  max-width: 40ch;
  transition: opacity 250ms var(--ease);
}
.meru-screen.is-copy-out .meru-screen-copy { opacity: 0; }

.meru-kicker {
  margin: 0 0 1.3em;
  font: var(--v-structural);
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}
.meru-heading {
  margin: 0 0 0.5em;
  font-family: "Public Sans", sans-serif;
  font-weight: 300;
  font-size: clamp(34px, 3.5vw, 54px);
  letter-spacing: -0.012em;
  line-height: 1.08;
  color: var(--on-dark);
}
.meru-sub {
  margin: 0 0 1.7em;
  font: var(--v-structural);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.meru-body {
  margin: 0 0 1.2em;
  font-family: "Public Sans", sans-serif;
  font-weight: 300;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--on-dark);
  opacity: 0.66;
}
.meru-body:last-child { margin-bottom: 0; }
.meru-body em { font-style: italic; }

@media (max-width: 900px) {
  .meru-screen-inner {
    flex-direction: column;
    justify-content: center;
    gap: 4vh;
    padding: 8vh var(--pad);
  }
  .meru-screen-figure { width: min(70vw, 42vh); }
  .meru-screen-copy { max-width: 40ch; }
}

/* PASS 38 CORRECTION 2 · 4 — room at 900px. The copy's own last
   paragraph was reported running close to the room's own "Read
   beneath the surface" control below this width. The figure shrinks
   (freeing vertical room, not cutting copy — every paragraph stays)
   and the last paragraph gets its own explicit clearance, overriding
   the base rule's margin-bottom: 0 on .meru-body:last-child only
   below this width, where the room's own controls are close enough
   to matter.

   "Below 1000px" per Julia's own wording, not 900 — the query above
   this one is Pass 38's own and is left as it was, but its own break
   is 900px, and this one's is 999px: the 901-999px band needs the
   stacked layout too, or that band would sit in a half state, two
   columns wide but sized for one. So the stacking rules are repeated
   here rather than assumed from the query above, making this query
   correct for the whole sub-1000px range on its own. */
@media (max-width: 999px) {
  /* justify-content: flex-start, not center — measured directly:
     centering pushed the whole block down far enough that even the
     56px margin below still landed inside the room's own control
     zone, because the room's "beneath" trigger is independently
     positioned (bottom: 8vh) and does not participate in this flex
     layout at all — no amount of margin on the last paragraph moves
     it. Top-anchoring the content, and capping the figure's height
     as well as its width so it cannot dominate a short viewport, is
     what actually keeps the block clear. */
  .meru-screen-inner {
    flex-direction: column;
    justify-content: flex-start;
    gap: 2.4vh;
    padding: 4vh var(--pad) 0;
    overflow-y: auto;
  }
  .meru-screen-figure { width: min(46vw, 30vh); }
  .meru-screen-copy { max-width: 34ch; }
  .meru-screen-copy .meru-body:last-child { margin-bottom: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .meru-screen { transition: opacity 400ms linear; }
  .meru-screen-copy { transition: opacity 250ms linear; }
  #meruFig.is-handing-over { transition: opacity 900ms linear; }
}

/* PASS 38 CORRECTION 3 · NOTHING IS TRAPPED
   #ydClose, #ydGo and .yd-dir (the OUTWARD handle) sit earlier in the
   DOM than .meru-screen — expansion.js appends the screen last inside
   .yd-inner — and none of them carry a z-index of their own, so
   .meru-screen's z-index: 2 (above) painted its own opaque background
   over all three for the whole time the mountain was on screen: a
   pointer could not reach them, and Escape was the only way out.
   Raised above the screen here, after every rule above for these
   three selectors, so nothing already declared for them is undone —
   only which one paints on top changes. #ydGo and #ydClose already
   get position: relative from the block above (needed for z-index to
   apply at all) and are otherwise unconditionally clickable whenever
   the room is open, so pointer-events: auto is stated here directly
   for them. .yd-dir's own opacity/pointer-events stay exactly as
   .yd-deep.is-settling .yd-dir (above) already governs them — only
   its stacking is touched, not when it is allowed to be clicked. */
#ydClose, #ydGo {
  z-index: 3;
  pointer-events: auto;
}
.yd-dir {
  z-index: 3;
}

/* PASS 39 · 39.3 · #meruGo — THE TEN LAYERS
   A new, separate rule rather than joining #meruGo to the selector
   list above (#ydGo, #ydClose, .yd-dir and their own ::before block):
   nothing already declared for those three is touched. Every value
   below is copied from that block so the tick, the letter-spacing,
   the weight and the case treatment match exactly — no box, no
   border, no badge, same as Julia's own instruction for it.
   Hidden by default and revealed only while html.is-meru-active is
   set (expansion.js: turnMountain() adds it, handover() removes it —
   the same class the now-unused .yd-hl/.yd-body opacity rule above
   used to key off; that rule stays, unused, per 39.2's own note, and
   this is is-meru-active's new job). Given the same raised z-index as
   #ydClose/#ydGo (above), for the same reason: #meruGo sits in the
   same .yd-tools row, painted earlier in the DOM than .meru-screen,
   and needs it to stay reachable while the screen is showing. */
.meru-go {
  border: 0;
  background: none;
  padding: 0;
  padding-left: 30px;
  margin: 0;
  position: relative;
  cursor: pointer;
  font: var(--v-structural);
  font-weight: 500;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease);
}
.meru-go::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
  transition: width 340ms cubic-bezier(.22,1,.36,1);
}
.meru-go:hover::before, .meru-go:focus-visible::before { width: 34px; }
.meru-go:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
/* PASS 51 · CHANGE 2 — superseded, kept verbatim per this branch's own
   convention: html.is-meru-active .meru-go { opacity: 1; pointer-events: auto; }
   .meru-go is the class BOTH #meruGo and #meruName carry (#meruName's
   own comment, above), so this rule was making "NAME THEM" visible and
   clickable through the whole turn — the exact thing #meruName's own
   comment says should not happen. #meruGo in place of .meru-go scopes
   the reveal to THE TEN LAYERS alone; #meruName's own visibility stays
   keyed only on html.is-meru-held (below, unedited). */
html.is-meru-active #meruGo { opacity: 1; pointer-events: auto; }

@media (prefers-reduced-motion: reduce) {
  .meru-go { transition: none; }
}

/* PASS 49 — #meruName ("NAME THEM"), the second control. It carries
   the same .meru-go class as #meruGo above, so it already inherits
   that rule's raised z-index — #meruName sits in the same .yd-tools
   row, painted earlier in the DOM than .meru-screen, and needs to
   stay reachable while visible, for the same reason #meruGo does.
   Only its own visibility is new here, keyed on html.is-meru-held
   (expansion.js: holdFlat() adds it; #meruName's own click handler
   removes it) rather than on html.is-meru-active above, so #meruName
   is hidden and unreachable by default and becomes visible and
   clickable only while the flatten is held. */
html.is-meru-held #meruName { opacity: 1; pointer-events: auto; }

/* PASS 41 CORRECTION 1 · THE WALLS BECOME SURFACES
   #meruFig .mf-band (nine of them, tiers 1-9, one band per tier, none
   for tier 0 — expansion.js). Each band's own <path> 'd' is a closed
   ring, rewritten every frame by updateBands() (expansion.js); this
   file only ever gives it colour and fill. #meruFig .mf-wall (above)
   is untouched and unused — its own <path> elements never receive a
   'd' now (updateWalls(), expansion.js, returns before reaching
   them), so nothing there needs deleting for this to take over.

   FILL: #0B0A08, fully opaque (fill-opacity: 1, never reduced — a
   transparent fill would let whatever is behind the band show
   through it, undoing the whole point of a surface). Rendered at 3x
   zoom, at full strength this reads as a mass — every terrace shows
   as solid, occluding ground against the tier outlines' own glow —
   not as a flat void, so it is used exactly as given rather than
   lifted toward a grey.

   STROKE: the same per-tier colour, stroke-width and stroke-opacity
   #meruFig .mf-wall path (above) already used — copied, not tuned;
   this pass changes what the line needs to do (describe a filled
   surface's two edges rather than 36 disconnected drops), not the
   line's own weight or strength. */
#meruFig .mf-band {
  fill: #0B0A08;
  fill-opacity: 1;
  stroke-width: 0.55;
  stroke-opacity: 0.45;
  vector-effect: non-scaling-stroke;
}
#meruFig .mf-band[data-tier="9"] { stroke: var(--accent); }
#meruFig .mf-band[data-tier="1"] { stroke: #EEE1C6; }
#meruFig .mf-band[data-tier="2"] { stroke: #DDCBA2; }
#meruFig .mf-band[data-tier="3"] { stroke: #C4AC7E; }
#meruFig .mf-band[data-tier="4"] { stroke: #86B4DE; }
#meruFig .mf-band[data-tier="5"] { stroke: #78A7D6; }
#meruFig .mf-band[data-tier="6"] { stroke: #6A9BCE; }
#meruFig .mf-band[data-tier="7"] { stroke: #5C8FC6; }
#meruFig .mf-band[data-tier="8"] { stroke: #4E83BE; }

/* PASS 42 · THE MOUNTAIN IS BUILT FROM ITS OWN DRAWING
   #meruFig .mf-subwall — one per subpath, tiers 1-8 (expansion.js).
   Every value below is copied verbatim from #meruFig .mf-band
   (above) — "at the weights already in use," per Julia's own
   instruction — nothing here is tuned; only what geometry the line
   and fill describe has changed (a subpath's own d, not a tier's
   smoothed silhouette). #meruFig .mf-band[data-tier="1"] through
   [data-tier="8"] (above) are unused now, superseded by this; tier 9
   is untouched and still uses its own band (isTaper, expansion.js). */
#meruFig .mf-subwall {
  fill: #0B0A08;
  fill-opacity: 1;
  stroke-width: 0.55;
  stroke-opacity: 0.45;
  vector-effect: non-scaling-stroke;
}
#meruFig .mf-subwall[data-tier="1"] { stroke: #EEE1C6; }
#meruFig .mf-subwall[data-tier="2"] { stroke: #DDCBA2; }
#meruFig .mf-subwall[data-tier="3"] { stroke: #C4AC7E; }
#meruFig .mf-subwall[data-tier="4"] { stroke: #86B4DE; }
#meruFig .mf-subwall[data-tier="5"] { stroke: #78A7D6; }
#meruFig .mf-subwall[data-tier="6"] { stroke: #6A9BCE; }
#meruFig .mf-subwall[data-tier="7"] { stroke: #5C8FC6; }
#meruFig .mf-subwall[data-tier="8"] { stroke: #4E83BE; }

/* PASS 42 CORRECTION 1 · CHANGE 1 — tier 0 (Bhupura) now gets walls
   of its own too (expansion.js), the same accent colour its own tier
   outline already carries (#meruFig .mf-tier[data-tier="0"] path,
   above) — copied, not invented. */
#meruFig .mf-subwall[data-tier="0"] { stroke: var(--accent); }

/* ═════════════════════════════════════════════════════════════
   PASS 43 · FOURTEEN LEVELS, NOT TEN

   Every rule above (tier 0-9, .mf-tier/.mf-wall/.mf-subwall) is left
   exactly as it was — nothing above this point is edited or removed.
   These rules come later in the source, so for the tiers they share
   (1-9) they win on equal specificity, the ordinary CSS cascade, not
   a hack: no rule above is unreachable the way PASS 43's own JS
   superseded code is, they simply lose every tie from here down.

   THE MAP: 0,1,2 the bhupura's three rings; 3,4,5 the three circles
   (the drum); 6 the sixteen petals; 7 the eight petals; 8-12 the
   triangle field's five steps; 13 the bindu. Colour still marks the
   two named ends of the figure — level 0 (the outer square) and
   level 13 (the bindu) keep the site's one accent, the same glow the
   old tier 0/9 rule gave them. Levels 1-7 (the bhupura's inner two
   rings, the circle drum, both petal rings) step through the same
   warm ivory the old tiers 1-3 used, EEE1C6 to C4AC7E, now in seven
   steps instead of three. Levels 8-12 (the triangle field) step
   through the same cool blue the old tiers 4-8 used, 86B4DE to
   4E83BE, still five steps — the triangle field is still five rings,
   it is simply no longer sharing its outer edge with a petal ring
   that used to be counted as one of them. */
#meruFig .mf-tier[data-tier="13"] path { stroke: var(--accent); }
#meruFig .mf-tier[data-tier="13"] {
  filter: drop-shadow(0 0 2px rgba(255,77,0,0.55)) drop-shadow(0 0 15px rgba(255,77,0,0.30));
}
#meruFig .mf-tier[data-tier="1"] path { stroke: #EEE1C6; }
#meruFig .mf-tier[data-tier="2"] path { stroke: #E7D8BA; }
#meruFig .mf-tier[data-tier="3"] path { stroke: #E0CFAE; }
#meruFig .mf-tier[data-tier="4"] path { stroke: #D9C7A2; }
#meruFig .mf-tier[data-tier="5"] path { stroke: #D2BE96; }
#meruFig .mf-tier[data-tier="6"] path { stroke: #CBB58A; }
#meruFig .mf-tier[data-tier="7"] path { stroke: #C4AC7E; }
#meruFig .mf-tier[data-tier="1"] { filter: drop-shadow(0 0 2px rgba(238,225,198,0.42)) drop-shadow(0 0 16px rgba(238,225,198,0.18)); }
#meruFig .mf-tier[data-tier="2"] { filter: drop-shadow(0 0 2px rgba(231,216,186,0.41)) drop-shadow(0 0 16px rgba(231,216,186,0.18)); }
#meruFig .mf-tier[data-tier="3"] { filter: drop-shadow(0 0 2px rgba(224,207,174,0.41)) drop-shadow(0 0 16px rgba(224,207,174,0.17)); }
#meruFig .mf-tier[data-tier="4"] { filter: drop-shadow(0 0 2px rgba(217,199,162,0.40)) drop-shadow(0 0 16px rgba(217,199,162,0.17)); }
#meruFig .mf-tier[data-tier="5"] { filter: drop-shadow(0 0 2px rgba(210,190,150,0.39)) drop-shadow(0 0 16px rgba(210,190,150,0.17)); }
#meruFig .mf-tier[data-tier="6"] { filter: drop-shadow(0 0 2px rgba(203,181,138,0.39)) drop-shadow(0 0 16px rgba(203,181,138,0.16)); }
#meruFig .mf-tier[data-tier="7"] { filter: drop-shadow(0 0 2px rgba(196,172,126,0.38)) drop-shadow(0 0 16px rgba(196,172,126,0.16)); }
#meruFig .mf-tier[data-tier="8"] path { stroke: #86B4DE; }
#meruFig .mf-tier[data-tier="9"] path { stroke: #78A8D6; }
#meruFig .mf-tier[data-tier="10"] path { stroke: #6A9CCE; }
#meruFig .mf-tier[data-tier="11"] path { stroke: #5C8FC6; }
#meruFig .mf-tier[data-tier="12"] path { stroke: #4E83BE; }
#meruFig .mf-tier[data-tier="8"] { filter: drop-shadow(0 0 2px rgba(134,180,222,0.42)) drop-shadow(0 0 16px rgba(134,180,222,0.19)); }
#meruFig .mf-tier[data-tier="9"] { filter: drop-shadow(0 0 2px rgba(120,168,214,0.41)) drop-shadow(0 0 16px rgba(120,168,214,0.18)); }
#meruFig .mf-tier[data-tier="10"] { filter: drop-shadow(0 0 2px rgba(106,156,206,0.40)) drop-shadow(0 0 16px rgba(106,156,206,0.17)); }
#meruFig .mf-tier[data-tier="11"] { filter: drop-shadow(0 0 2px rgba(92,143,198,0.39)) drop-shadow(0 0 16px rgba(92,143,198,0.16)); }
#meruFig .mf-tier[data-tier="12"] { filter: drop-shadow(0 0 2px rgba(78,131,190,0.38)) drop-shadow(0 0 16px rgba(78,131,190,0.15)); }

/* the walls (nine of them under the old scheme, thirteen now — tiers
   1-13, one per level below the bhupura's own outermost ring) and the
   subwalls (every OUTER subpath, tiers 0-13) — same colours as their
   own tier above, same reasoning: a wall always reads as the level it
   descends FROM. */
#meruFig .mf-wall[data-tier="13"] path { stroke: var(--accent); }
#meruFig .mf-wall[data-tier="1"] path,
#meruFig .mf-subwall[data-tier="1"] { stroke: #EEE1C6; }
#meruFig .mf-wall[data-tier="2"] path,
#meruFig .mf-subwall[data-tier="2"] { stroke: #E7D8BA; }
#meruFig .mf-wall[data-tier="3"] path,
#meruFig .mf-subwall[data-tier="3"] { stroke: #E0CFAE; }
#meruFig .mf-wall[data-tier="4"] path,
#meruFig .mf-subwall[data-tier="4"] { stroke: #D9C7A2; }
#meruFig .mf-wall[data-tier="5"] path,
#meruFig .mf-subwall[data-tier="5"] { stroke: #D2BE96; }
#meruFig .mf-wall[data-tier="6"] path,
#meruFig .mf-subwall[data-tier="6"] { stroke: #CBB58A; }
#meruFig .mf-wall[data-tier="7"] path,
#meruFig .mf-subwall[data-tier="7"] { stroke: #C4AC7E; }
#meruFig .mf-wall[data-tier="8"] path,
#meruFig .mf-subwall[data-tier="8"] { stroke: #86B4DE; }
#meruFig .mf-wall[data-tier="9"] path,
#meruFig .mf-subwall[data-tier="9"] { stroke: #78A8D6; }
#meruFig .mf-wall[data-tier="10"] path,
#meruFig .mf-subwall[data-tier="10"] { stroke: #6A9CCE; }
#meruFig .mf-wall[data-tier="11"] path,
#meruFig .mf-subwall[data-tier="11"] { stroke: #5C8FC6; }
#meruFig .mf-wall[data-tier="12"] path,
#meruFig .mf-subwall[data-tier="12"] { stroke: #4E83BE; }
#meruFig .mf-subwall[data-tier="13"] { stroke: var(--accent); }

/* PASS 43 · CHANGE 3 · THE BALL
   styles.css line 61 — the accent is "a mark, never a fill" — so this
   is a stroked edge, not a lit disc: fill is the page's own black
   (matching #meruFig .mf-subwall's own fill, above, the same "solid
   face, not a hairline" material every other wall in the mountain is
   made of), the accent is only the outline. cx/cy are rewritten every
   frame by updateBinduBall() (expansion.js); r is constant (the drawn
   bindu's own radius) — that constancy is the entire point: a sphere
   reads as the same circle from every angle, never an ellipse. */
#meruFig .mf-bindu-ball {
  fill: #0B0A08;
  fill-opacity: 1;
  stroke: var(--accent);
  stroke-width: 1.1;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 2px rgba(255,77,0,0.55)) drop-shadow(0 0 15px rgba(255,77,0,0.30));
}

/* PASS 49 — THE DRAWING NAMES ITS OWN PARTS
   html.is-naming (expansion.js: the #meruName click handler adds it)
   quiets every tier of #meruFig — the flat drawing already on screen,
   never swapped, never cross-faded. 0.22 is .yd-structure's own
   existing value (expansion.css line 1891) for an un-lit bhupura in
   the white interior, not a new number. 620ms matches .yd-deep's own
   transition (expansion.css line 1871), not a new number. */
html.is-naming #meruFig .mf-tier {
  opacity: 0.22;
  transition: opacity 620ms var(--ease);
}
/* PASS 49 — the six rules below each raise only the tiers matching
   #ydDeep's own data-stage (expansion.js: show(), yantraDeep() line
   1940, unedited — read here, never reached into) back to opacity 1,
   beating the quiet rule above on specificity without !important.
   Opacity only — no transform, no scale, no filter, no stroke or fill
   change: the paths are filled ribbons and scaling one thickens it. */
html.is-naming #ydDeep[data-stage="bhupura"] #meruFig .mf-tier[data-tier="0"],
html.is-naming #ydDeep[data-stage="bhupura"] #meruFig .mf-tier[data-tier="1"],
html.is-naming #ydDeep[data-stage="bhupura"] #meruFig .mf-tier[data-tier="2"] { opacity: 1; }
html.is-naming #ydDeep[data-stage="circles"] #meruFig .mf-tier[data-tier="3"],
html.is-naming #ydDeep[data-stage="circles"] #meruFig .mf-tier[data-tier="4"],
html.is-naming #ydDeep[data-stage="circles"] #meruFig .mf-tier[data-tier="5"] { opacity: 1; }
html.is-naming #ydDeep[data-stage="sixteen"] #meruFig .mf-tier[data-tier="6"] { opacity: 1; }
html.is-naming #ydDeep[data-stage="eight"] #meruFig .mf-tier[data-tier="7"] { opacity: 1; }
html.is-naming #ydDeep[data-stage="triangles"] #meruFig .mf-tier[data-tier="8"],
html.is-naming #ydDeep[data-stage="triangles"] #meruFig .mf-tier[data-tier="9"],
html.is-naming #ydDeep[data-stage="triangles"] #meruFig .mf-tier[data-tier="10"],
html.is-naming #ydDeep[data-stage="triangles"] #meruFig .mf-tier[data-tier="11"],
html.is-naming #ydDeep[data-stage="triangles"] #meruFig .mf-tier[data-tier="12"] { opacity: 1; }
html.is-naming #ydDeep[data-stage="bindu"] #meruFig .mf-tier[data-tier="13"] { opacity: 1; }

/* ══════════════════════════════════════════════════════════════
   PASS 52 · ONE CONTROL, BOTH DIRECTIONS

   CHANGE 1 — #meruGo is the one control now (expansion.js:
   meruToggle()), not only while the mountain is turning: the
   existing html.is-meru-active #meruGo rule (above, unedited) goes
   dark the instant holdFlat() (expansion.js) removes is-meru-active,
   which now happens on every flatten, not just the first. is-meru-
   showing (expansion.js: turnMountain() adds it once; leave() is the
   only place that removes it) spans the whole visit, turning and
   flat alike, so this is what keeps the button lit throughout. */
html.is-meru-showing #meruGo { opacity: 1; pointer-events: auto; }

/* CHANGE 3 — PASS 49's own six rules (above, unedited) already quiet
   #meruFig's .mf-tier groups by the same #ydDeep[data-stage] attribute
   the flat drawing was always keyed on, never checking phi/is-meru-
   active/is-meru-held to do it — only html.is-naming and data-stage.
   CHANGE 1/2 (this pass) are what let is-naming reach the mountain
   while it turns for the first time, and .mf-tier's own quieting does
   reach it, unedited — but verified by rendering, reported: it reads
   as no mark at all on the turning mountain, because .mf-tier is only
   ever the crisp outline (PASS 41 CORRECTION 1's own comment, above:
   "the wire cage Julia saw straight through") — the mountain's actual
   visible surface, at every angle but the flat one, is .mf-wall and
   .mf-band (that same correction's own filled bands, unedited), which
   PASS 49 never had reason to touch, since the flat drawing this was
   built for shows no walls at phi=90 (every wall's own top and bottom
   edge project to the same point there — project()'s own maths,
   unedited, not this pass's to touch — so a wall's own opacity was
   never the flat view's concern). The six rules below add exactly the
   two element types PASS 49's own rules do not reach, same tiers, same
   #ydDeep[data-stage] condition, same 0.22 (PASS 49's own number,
   .yd-structure's, not a new one) — opacity only, no stroke touched,
   same as every #meruFig .mf-tier[data-tier] path's own scheme stays
   exactly as it was. */
html.is-naming #meruFig .mf-wall, html.is-naming #meruFig .mf-band { opacity: 0.22; }
html.is-naming #ydDeep[data-stage="bhupura"] #meruFig .mf-wall[data-tier="1"],
html.is-naming #ydDeep[data-stage="bhupura"] #meruFig .mf-wall[data-tier="2"],
html.is-naming #ydDeep[data-stage="bhupura"] #meruFig .mf-band[data-tier="1"],
html.is-naming #ydDeep[data-stage="bhupura"] #meruFig .mf-band[data-tier="2"] { opacity: 1; }
html.is-naming #ydDeep[data-stage="circles"] #meruFig .mf-wall[data-tier="3"],
html.is-naming #ydDeep[data-stage="circles"] #meruFig .mf-wall[data-tier="4"],
html.is-naming #ydDeep[data-stage="circles"] #meruFig .mf-wall[data-tier="5"],
html.is-naming #ydDeep[data-stage="circles"] #meruFig .mf-band[data-tier="3"],
html.is-naming #ydDeep[data-stage="circles"] #meruFig .mf-band[data-tier="4"],
html.is-naming #ydDeep[data-stage="circles"] #meruFig .mf-band[data-tier="5"] { opacity: 1; }
html.is-naming #ydDeep[data-stage="sixteen"] #meruFig .mf-wall[data-tier="6"],
html.is-naming #ydDeep[data-stage="sixteen"] #meruFig .mf-band[data-tier="6"] { opacity: 1; }
html.is-naming #ydDeep[data-stage="eight"] #meruFig .mf-wall[data-tier="7"],
html.is-naming #ydDeep[data-stage="eight"] #meruFig .mf-band[data-tier="7"] { opacity: 1; }
html.is-naming #ydDeep[data-stage="triangles"] #meruFig .mf-wall[data-tier="8"],
html.is-naming #ydDeep[data-stage="triangles"] #meruFig .mf-wall[data-tier="9"],
html.is-naming #ydDeep[data-stage="triangles"] #meruFig .mf-wall[data-tier="10"],
html.is-naming #ydDeep[data-stage="triangles"] #meruFig .mf-wall[data-tier="11"],
html.is-naming #ydDeep[data-stage="triangles"] #meruFig .mf-wall[data-tier="12"],
html.is-naming #ydDeep[data-stage="triangles"] #meruFig .mf-band[data-tier="8"],
html.is-naming #ydDeep[data-stage="triangles"] #meruFig .mf-band[data-tier="9"],
html.is-naming #ydDeep[data-stage="triangles"] #meruFig .mf-band[data-tier="10"],
html.is-naming #ydDeep[data-stage="triangles"] #meruFig .mf-band[data-tier="11"],
html.is-naming #ydDeep[data-stage="triangles"] #meruFig .mf-band[data-tier="12"] { opacity: 1; }
html.is-naming #ydDeep[data-stage="bindu"] #meruFig .mf-wall[data-tier="13"],
html.is-naming #ydDeep[data-stage="bindu"] #meruFig .mf-band[data-tier="13"] { opacity: 1; }

/* ══════════════════════════════════════════════════════════════
   PASS 53 · THE WORDS, AND WHAT CROSSES INTO THE WHITE ROOM

   CHANGE 2 — "Continue into the Yantra" (#ydGo) is not offered while
   the mountain turns: the visitor has not seen the layers yet, and it
   offers to skip the thing they came for, competing in the same row
   with "THE TEN LAYERS" / "THE MOUNTAIN" (#meruGo). #ydGo/#ydClose's
   own raised z-index and pointer-events (PASS 38 CORRECTION 3, above,
   unedited) are left exactly as they are — this only hides it, it
   does not lower it — because #ydClose ("Back", PASS 53 · CHANGE 1)
   and Escape (both wired to the same leave(), expansion.js, unedited)
   stay reachable throughout, so nothing is trapped by this rule.
   html.is-meru-active is turnMountain()'s own flag (expansion.js): set
   the instant the mountain starts turning, removed by holdFlat() the
   instant the flatten holds and re-added by resumeTurn() when #meruGo
   turns it again (PASS 52) — so #ydGo returns on its own, both times
   the mountain goes flat, with no new JS. */
html.is-meru-active #ydGo { display: none; }

/* CHANGE 3 — the crossing (.yd-deep.is-crossing, line 1967 above,
   unedited) is meant to carry the visitor from black to white without
   a cut, but it only ever named .yd-structure, the dark raster plate
   — invisible for the rest of the visit once the Meru has turned,
   since .meru-screen (expansion.css, unedited) then sits over it with
   #meruFig, the drawn vector, positioned to match its exact box
   (handover()/holdFlat(), expansion.js, unedited). #meruFig gets
   .yd-figure's own motion (translateY(-50%) scale(1.06), line 1976,
   unedited) so it moves through the same arc while it sits fixed over
   that same box.

   It does NOT get .yd-structure's own filter: invert(1) (line 1972,
   unedited): #meruFig's tiers already carry a full stroke scheme in
   cream, blue and orange (PASS 41/42/43, above) and its walls and
   bands are already filled (PASS 41 CORRECTION 1, above) — inverting
   a drawing that colourful would produce colours nobody chose.
   Instead it is carried toward how the white room paints this same
   drawing (#yantra .sy-fig--work .sy-bhupura/.sy-bindu/.sy-interior,
   line 3362 above, unedited): the interior recedes to that exact dark
   ink, #1A1A1A at 0.86 opacity, and the two ends the drawing itself
   already treats as named — tier 0, the outer square (PASS 43's own
   comment: "level 0 ... keep the site's one accent", same as
   .sy-bhupura) and tier 13, the bindu (same comment, same as
   .sy-bindu), plus .mf-bindu-ball, the summit's own separate
   accent-stroked element (PASS 43 · CHANGE 3, above) — are named by
   :not([data-tier="0"]):not([data-tier="13"]) in every rule below and
   so touched by none of them, keeping the accent and the glow they
   already carry into the crossing untouched, the same as .sy-bhupura
   and .sy-bindu keep it in the white room. Timing matches the
   companion rule at line 1981 exactly — same three durations, same
   var(--ease) — nothing there is touched; this is a new, separate
   rule for the elements it never named. */
.yd-deep.is-crossing #meruFig {
  opacity: 0.9;
  transform: translateY(-50%) scale(1.06);
}
.yd-deep.is-crossing #meruFig .mf-tier:not([data-tier="0"]):not([data-tier="13"]) path,
.yd-deep.is-crossing #meruFig .mf-wall:not([data-tier="0"]):not([data-tier="13"]) path,
.yd-deep.is-crossing #meruFig .mf-subwall:not([data-tier="0"]):not([data-tier="13"]) {
  stroke: #1A1A1A;
}
.yd-deep.is-crossing #meruFig .mf-tier:not([data-tier="0"]):not([data-tier="13"]),
.yd-deep.is-crossing #meruFig .mf-wall:not([data-tier="0"]):not([data-tier="13"]) {
  filter: none;
}
.yd-deep.is-crossing #meruFig .mf-band:not([data-tier="0"]):not([data-tier="13"]) {
  fill: #1A1A1A;
  fill-opacity: 0.86;
  stroke: #1A1A1A;
}
.yd-deep.is-crossing #meruFig,
.yd-deep.is-crossing #meruFig .mf-tier,
.yd-deep.is-crossing #meruFig .mf-wall path,
.yd-deep.is-crossing #meruFig .mf-subwall,
.yd-deep.is-crossing #meruFig .mf-band {
  transition: opacity 700ms var(--ease), filter 900ms var(--ease),
              transform 1100ms var(--ease), stroke 900ms var(--ease),
              fill 900ms var(--ease);
}

/* ══════════════════════════════════════════════════════════════
   PASS 54 · THE FIGURE KEEPS ITS PLACE

   The white room's figure is made to match the black room's exactly
   — same anchor, same size — so Pass 55 can carry one into the other
   without either moving. Both changes below are additions only:
   every committed rule they answer to (.yt-art and #stYantra
   .yantra-plate, proof.css, unedited; the 640px cap, expansion.css
   line 3539, unedited) stays exactly as written. expansion.css loads
   after proof.css, and this block loads after that cap, so an
   equal-specificity rule down here wins on source order alone —
   nothing above needed to change.

   Wrapped in @media (min-width: 861px): proof.css's own
   @media (max-width: 860px) block (line 977) already gives .yt-art
   and #stYantra .yantra-plate their narrow-screen values, and a media
   query adds no specificity of its own — without this guard, a rule
   loading later in the cascade would beat that query at every width,
   phones included. This guard is what keeps 390×844 and 860×600
   untouched.

   CHANGE 1 — .yt-art's own anchor (proof.css line 764-767) centres a
   POINT at 38% of the width via translate(-50%, -50%). Replaced with
   .yd-figure's own shape (expansion.css line 1877-1884, unedited,
   read and copied rather than invented): left edge at 6vw, vertically
   centred by translateY(-50%) alone, so 6vw is the figure's true left
   edge, not the centre of a point. top: 50% is already what proof.css
   gives it; restated here only so the shape being copied reads whole.
   .yantra-plate's own transform (proof.css line 771) is a different
   selector, carries layers.js's own parallax (--yp-x, --yp-y) and its
   own scale, and is not touched. */
@media (min-width: 861px) {
  .yt-art { left: 6vw; top: 50%; transform: translateY(-50%); }

  /* CHANGE 2 — #stYantra .yantra-plate's own width (proof.css line
     769-770) is replaced with .yd-figure's own formula, min(78vh,
     46vw) (expansion.css line 1880, unedited). The 640px cap (line
     3539) existed so the figure could never reach the reading column
     — CHANGE 1 supersedes that reason: anchored at 6vw the way the
     black room already is, a min(78vh, 46vw) figure sits beside
     .yt-read (proof.css, untouched) exactly as .yd-figure already
     sits beside .yd-read today. Neutralised rather than deleted, per
     this pass's own instruction: max-width/max-height are reset to
     none here, in the same selector, later in the same file, so the
     cascade resolves to no cap — the committed line at 3539 is
     unedited and would still apply at once if this block were ever
     removed. .yantra-plate's own aspect-ratio: 1/1 (styles.css line
     352, unedited) is what makes height follow width; confirmed by
     reading, not assumed. */
  #stYantra .yantra-plate { width: min(78vh, 46vw); max-width: none; max-height: none; }
}

/* ══════════════════════════════════════════════════════════════
   PASS 55 · CHANGE 2 · THE NAMED PART IS UNMISTAKABLE

   PASS 49's own html.is-naming #meruFig .mf-tier rule (line ~5147,
   unedited) quiets every tier to 0.22. Rendered side by side at
   data-stage="circles" and data-stage="triangles", that reads as no
   change at all: fourteen concentric drawings overlap, so eleven
   tiers at 0.22 still sum to as much ink as the one tier at 1, and
   every tier — dimmed or not — keeps its own filter (the drop-shadow
   rules above, PASS 41/43, unedited), so a "dimmed" tier keeps
   glowing regardless of its opacity.

   This rule shares PASS 49's own selector exactly, so it wins the
   same tie PASS 52 CHANGE 1 already relies on elsewhere in this file
   (min-width: 861px, above) — later in the source, equal specificity,
   no !important needed. opacity drops from 0.22 to 0.06 (first
   attempt, kept — see report) and filter is turned off outright, so
   an unnamed tier stops glowing as well as stops standing out. */
html.is-naming #meruFig .mf-tier {
  opacity: 0.06;
  filter: none;
}

/* The named tier is not restyled — PASS 49's own six rules (above)
   already win the opacity tie back to 1 on their own higher
   specificity (#ydDeep[data-stage], #meruFig, .mf-tier and
   [data-tier] together outweigh the plain #meruFig .mf-tier above).
   filter has no such override yet — the rule above is the first thing
   in this file to ever touch #meruFig .mf-tier's filter under
   html.is-naming — so without the fourteen rules below, turning the
   glow off above would also turn off the named tier's own glow, which
   this pass's own instruction forbids. Each rule restates that one
   tier's own filter value exactly as committed above (PASS 41 lines
   ~4598-4626, PASS 43 lines ~5066-5093) — copied, not invented — under
   the one data-stage where PASS 49's own opacity rules already raise
   that same tier to 1, so the named tier's glow comes back exactly
   where its brightness already does. */
html.is-naming #ydDeep[data-stage="bhupura"] #meruFig .mf-tier[data-tier="0"] {
  filter: drop-shadow(0 0 2px rgba(255,77,0,0.55)) drop-shadow(0 0 15px rgba(255,77,0,0.30));
}
html.is-naming #ydDeep[data-stage="bhupura"] #meruFig .mf-tier[data-tier="1"] {
  filter: drop-shadow(0 0 2px rgba(238,225,198,0.42)) drop-shadow(0 0 16px rgba(238,225,198,0.18));
}
html.is-naming #ydDeep[data-stage="bhupura"] #meruFig .mf-tier[data-tier="2"] {
  filter: drop-shadow(0 0 2px rgba(231,216,186,0.41)) drop-shadow(0 0 16px rgba(231,216,186,0.18));
}
html.is-naming #ydDeep[data-stage="circles"] #meruFig .mf-tier[data-tier="3"] {
  filter: drop-shadow(0 0 2px rgba(224,207,174,0.41)) drop-shadow(0 0 16px rgba(224,207,174,0.17));
}
html.is-naming #ydDeep[data-stage="circles"] #meruFig .mf-tier[data-tier="4"] {
  filter: drop-shadow(0 0 2px rgba(217,199,162,0.40)) drop-shadow(0 0 16px rgba(217,199,162,0.17));
}
html.is-naming #ydDeep[data-stage="circles"] #meruFig .mf-tier[data-tier="5"] {
  filter: drop-shadow(0 0 2px rgba(210,190,150,0.39)) drop-shadow(0 0 16px rgba(210,190,150,0.17));
}
html.is-naming #ydDeep[data-stage="sixteen"] #meruFig .mf-tier[data-tier="6"] {
  filter: drop-shadow(0 0 2px rgba(203,181,138,0.39)) drop-shadow(0 0 16px rgba(203,181,138,0.16));
}
html.is-naming #ydDeep[data-stage="eight"] #meruFig .mf-tier[data-tier="7"] {
  filter: drop-shadow(0 0 2px rgba(196,172,126,0.38)) drop-shadow(0 0 16px rgba(196,172,126,0.16));
}
html.is-naming #ydDeep[data-stage="triangles"] #meruFig .mf-tier[data-tier="8"] {
  filter: drop-shadow(0 0 2px rgba(134,180,222,0.42)) drop-shadow(0 0 16px rgba(134,180,222,0.19));
}
html.is-naming #ydDeep[data-stage="triangles"] #meruFig .mf-tier[data-tier="9"] {
  filter: drop-shadow(0 0 2px rgba(120,168,214,0.41)) drop-shadow(0 0 16px rgba(120,168,214,0.18));
}
html.is-naming #ydDeep[data-stage="triangles"] #meruFig .mf-tier[data-tier="10"] {
  filter: drop-shadow(0 0 2px rgba(106,156,206,0.40)) drop-shadow(0 0 16px rgba(106,156,206,0.17));
}
html.is-naming #ydDeep[data-stage="triangles"] #meruFig .mf-tier[data-tier="11"] {
  filter: drop-shadow(0 0 2px rgba(92,143,198,0.39)) drop-shadow(0 0 16px rgba(92,143,198,0.16));
}
html.is-naming #ydDeep[data-stage="triangles"] #meruFig .mf-tier[data-tier="12"] {
  filter: drop-shadow(0 0 2px rgba(78,131,190,0.38)) drop-shadow(0 0 16px rgba(78,131,190,0.15));
}
html.is-naming #ydDeep[data-stage="bindu"] #meruFig .mf-tier[data-tier="13"] {
  filter: drop-shadow(0 0 2px rgba(255,77,0,0.55)) drop-shadow(0 0 15px rgba(255,77,0,0.30));
}

/* PASS 55 · CHANGE 2, CONTINUED — .mf-tier IS NOT THE VISIBLE SURFACE.
   Rendered and compared (data-stage="circles" vs "triangles", #meruFig
   cropped): the rule above made no visible difference on its own —
   forcing #meruFig .mf-tier[data-tier="8"] to opacity:0 by hand, in
   the live page, left the triangle field almost exactly as bright.
   Reading PASS 52 CHANGE 3's own comment (above, unedited) explains
   why: at the flat angle every .mf-tier is drawn is "only ever the
   crisp outline" — the mountain's actual visible surface is .mf-wall,
   .mf-band and .mf-subwall, the filled bands that PASS 41/42 built.
   PASS 52 CHANGE 3 already dims .mf-wall and .mf-band under
   html.is-naming, but only to 0.22 — the same too-bright number this
   pass is correcting on .mf-tier — and .mf-subwall (305 of #meruFig's
   334 children, verified by counting in the live DOM: one per OUTER
   subpath, PASS 42's own comment above, not one per tier) is never
   touched by html.is-naming at all, at any opacity. Forcing every
   .mf-wall/.mf-band/.mf-subwall to display:none by hand, live, is
   what actually made the outer square and the triangle field recede
   and left one bright ring — confirming these three are the real
   surface and .mf-tier's own opacity was never the visible question.

   Same mechanism as the rule above (opacity, no new technique), same
   0.06, extended to the elements actually carrying the ink. No
   filter to turn off here — #meruFig .mf-wall/.mf-band/.mf-subwall
   (above, unedited) never set filter on any of the three, only fill/
   stroke/stroke-width/stroke-opacity, so there is no glow to disable.
   #meruFig .mf-bindu-ball (above, unedited) is left out on purpose:
   it is the permanent ball at the summit, drawn once and never
   swapped per tier or per stage, not one of the fourteen levels
   STAGES (expansion.js) ever names — PASS 49 never touched it either. */
html.is-naming #meruFig .mf-subwall, html.is-naming #meruFig .mf-band {
  opacity: 0.06;
}

/* the currently-named tier's own wall/subwall/band come back to full
   strength on the same #ydDeep[data-stage] condition PASS 49's own
   .mf-tier rules (above) already use — same six groupings, .mf-band
   simply skipping data-tier="0" (#meruFig .mf-band, above, unedited,
   has no tier-0 rule of its own; tier 0's own wall is a .mf-subwall
   only, PASS 42 CORRECTION 1's own comment, above). Stroke and fill
   are not restated — restoring opacity alone is enough, the same way
   PASS 49's own six .mf-tier rules only ever restore opacity. */
html.is-naming #ydDeep[data-stage="bhupura"] #meruFig .mf-subwall[data-tier="0"],
html.is-naming #ydDeep[data-stage="bhupura"] #meruFig .mf-subwall[data-tier="1"],
html.is-naming #ydDeep[data-stage="bhupura"] #meruFig .mf-subwall[data-tier="2"],
html.is-naming #ydDeep[data-stage="bhupura"] #meruFig .mf-band[data-tier="1"],
html.is-naming #ydDeep[data-stage="bhupura"] #meruFig .mf-band[data-tier="2"] { opacity: 1; }
html.is-naming #ydDeep[data-stage="circles"] #meruFig .mf-subwall[data-tier="3"],
html.is-naming #ydDeep[data-stage="circles"] #meruFig .mf-subwall[data-tier="4"],
html.is-naming #ydDeep[data-stage="circles"] #meruFig .mf-subwall[data-tier="5"],
html.is-naming #ydDeep[data-stage="circles"] #meruFig .mf-band[data-tier="3"],
html.is-naming #ydDeep[data-stage="circles"] #meruFig .mf-band[data-tier="4"],
html.is-naming #ydDeep[data-stage="circles"] #meruFig .mf-band[data-tier="5"] { opacity: 1; }
html.is-naming #ydDeep[data-stage="sixteen"] #meruFig .mf-subwall[data-tier="6"],
html.is-naming #ydDeep[data-stage="sixteen"] #meruFig .mf-band[data-tier="6"] { opacity: 1; }
html.is-naming #ydDeep[data-stage="eight"] #meruFig .mf-subwall[data-tier="7"],
html.is-naming #ydDeep[data-stage="eight"] #meruFig .mf-band[data-tier="7"] { opacity: 1; }
html.is-naming #ydDeep[data-stage="triangles"] #meruFig .mf-subwall[data-tier="8"],
html.is-naming #ydDeep[data-stage="triangles"] #meruFig .mf-subwall[data-tier="9"],
html.is-naming #ydDeep[data-stage="triangles"] #meruFig .mf-subwall[data-tier="10"],
html.is-naming #ydDeep[data-stage="triangles"] #meruFig .mf-subwall[data-tier="11"],
html.is-naming #ydDeep[data-stage="triangles"] #meruFig .mf-subwall[data-tier="12"],
html.is-naming #ydDeep[data-stage="triangles"] #meruFig .mf-band[data-tier="8"],
html.is-naming #ydDeep[data-stage="triangles"] #meruFig .mf-band[data-tier="9"],
html.is-naming #ydDeep[data-stage="triangles"] #meruFig .mf-band[data-tier="10"],
html.is-naming #ydDeep[data-stage="triangles"] #meruFig .mf-band[data-tier="11"],
html.is-naming #ydDeep[data-stage="triangles"] #meruFig .mf-band[data-tier="12"] { opacity: 1; }
html.is-naming #ydDeep[data-stage="bindu"] #meruFig .mf-subwall[data-tier="13"],
html.is-naming #ydDeep[data-stage="bindu"] #meruFig .mf-band[data-tier="13"] { opacity: 1; }

/* ═════════════════════════════════════════════════════════════
   PASS 58 · THE QUESTION CLEARS THE GATE, AND THE LIGHT COMES INWARD

   Julia, looking at the interior after a gate is pressed: it does not
   look good. Two faults, both of composition, neither of them in the
   drawing.

   Nothing here is edited or deleted. Both selectors below repeat the
   exact specificity of the committed rules they supersede and win on
   source order, which is what this branch's one stylesheet is for.
   ═════════════════════════════════════════════════════════════ */

/* CHANGE 1 — THE QUESTION IS MEASURED IN THE FIGURE'S OWN UNIT.

   The live width is line 4377's min(46ch, 72vw). 72vw is measured
   against the window; .yt-interior-figure (block at line 3748) is
   measured at line 3758 against min(78vw, 78vh) — that is, 78vmin,
   the same number in a single unit. Two different units, so
   at a wide, short window the text outgrows the square's clear middle
   and the last line reaches the lit gate.

   46vmin is 59% of the figure's own width at every window shape,
   because both are now in vmin. The line can no longer reach a gate,
   whatever the window does. 34ch holds the setting on a very tall
   narrow window where 46vmin would be generous.

   Wrapped in min-width: 641px so the committed phone rule at line
   4135 — min(24ch, 80vw), inside the @media (max-width: 640px) that
   opens at line 4134 — still governs below 640px. A media query
   adds no specificity — the wrapper is doing nothing but keeping this
   away from the narrow layout. */
@media (min-width: 641px) {
  .yt-interior-copy { width: min(34ch, 46vmin); }
}

/* CHANGE 2 — THE LIGHT REACHES IN, NOT OUT.

   Only the background is re-declared. .yt-gate-glow's position,
   inset, opacity, transition and its own breathing animation are not
   named here and keep exactly the values they already have.

   Both stops keep color-mix() against var(--accent). No new hex value
   is introduced, and no colour is changed — only how far each circle
   reaches and how strongly.

   The throat circle: transparent by 14% instead of 24%. It is centred
   ON the opening, so half of whatever radius it has always lands
   outside the box. Pulling it in is what stops the bloom reading as a
   lamp behind the wall.

   The inner circle (--gate-inner-x/-y, already set per press by
   theGateOpensInward()): stronger through the middle and reaching to
   58% instead of 40%, so the light carries across the floor of the
   enclosure. This is the circle that should be doing the work, and
   the committed comment above already says so.

   These are starting values chosen by eye from a screenshot, not
   measurements. Julia judges them. Do not tune them yourself. */
.yt-gate-glow {
  background:
    radial-gradient(circle at var(--gate-ox, 50%) var(--gate-oy, 50%),
      color-mix(in srgb, var(--accent) 52%, transparent) 0%,
      color-mix(in srgb, var(--accent) 22%, transparent) 6%,
      transparent 14%),
    radial-gradient(circle at var(--gate-inner-x, 50%) var(--gate-inner-y, 50%),
      color-mix(in srgb, var(--accent) 34%, transparent) 0%,
      color-mix(in srgb, var(--accent) 16%, transparent) 26%,
      transparent 58%);
}

/* ═════════════════════════════════════════════════════════════
   PASS 59 · THE ROOM GOES BLACK, AND THE LIGHT STOPS BEFORE ITS
   OWN EDGE

   Julia, on the interior after Pass 58: not a nice design in
   general, and should the background be black. Both faults below
   were found by looking at the screen.

   Nothing here is edited or deleted, Pass 58's own block included.
   ═════════════════════════════════════════════════════════════ */

/* CHANGE 1 — THE ONLY DARK ROOM ON THE SITE THAT IS NOT BLACK.

   Measured out of this file: .yd-deep, the black Meru room, paints
   at #060505; the dark surface at line 4676 paints at #07080C;
   .yt-interior, at line 3709, paints at #0C1226 — rgb(12, 18, 38),
   thirty-eight parts blue against five and twelve.

   #07080C is not a new value. It is already in this file at line
   4676, and it is the ground the palette names for the dark rooms.
   No new hex is introduced by this pass.

   Why it matters beyond consistency: --accent is orange, and orange
   light over a navy ground mixes toward brown. On near-black the
   same light stays light. */
.yt-interior { background: #07080C; }

/* CHANGE 2 — THE LIGHT STOPS BEFORE ITS OWN BOX.

   .yt-gate-glow is inset: 0 inside .yt-interior-figure, so its
   background paints to the figure's box and no further. Pass 58's
   `transparent 58%` on the inner circle reaches that edge before it
   reaches transparent, and the result is a hard vertical line down
   the screen — the exact thing the committed comment at line 4058
   says must never happen.

   The inner circle returns to `transparent 40%`, the committed
   value, which showed no straight edge on screen before Pass 58
   touched it. The throat circle keeps Pass 58's own tighter numbers
   — 22% at 6%, transparent at 14% — because that part was an
   improvement: it is what stopped the bloom spilling outside the
   square like a lamp behind the wall, and it introduced no edge.

   Carrying the light further across the floor is NOT attempted here.
   It cannot be done from inside a box the size of the figure, and it
   belongs to the recomposition that follows this pass. */
.yt-gate-glow {
  background:
    radial-gradient(circle at var(--gate-ox, 50%) var(--gate-oy, 50%),
      color-mix(in srgb, var(--accent) 52%, transparent) 0%,
      color-mix(in srgb, var(--accent) 22%, transparent) 6%,
      transparent 14%),
    radial-gradient(circle at var(--gate-inner-x, 50%) var(--gate-inner-y, 50%),
      color-mix(in srgb, var(--accent) 34%, transparent) 0%,
      color-mix(in srgb, var(--accent) 16%, transparent) 26%,
      transparent 40%);
}

/* ═════════════════════════════════════════════════════════════
   PASS 60 · THE QUESTION COMES DOWN TO THE DRAWING'S WEIGHT

   Julia: the font is too large, and it has to be more elegant.

   The governing rule is line 4172's second .yt-interior-q block —
   font-weight 200, clamp(28px, 3.05vw, 46px), line-height 1.3,
   letter-spacing -0.006em. The Bhupura beside it is drawn entirely
   in hairlines at low opacity. Type at that size sits in a different
   weight class from everything else on screen, and that difference is
   what reads as inelegant rather than any one value.

   Three declarations, no more. font-weight and color are NOT named
   here and keep the values they already have — 200 and #F8F3EB. The
   text-shadow bloom, the .is-question opacity gating and the
   yt-q-bloom animation are all untouched.

   font-size: about two thirds of what it was at every window width.
   The clamp keeps the same shape — a floor, a viewport term and a
   ceiling — so nothing about how it responds changes, only the scale.

   line-height 1.55, not 1.3: at a smaller size the lines need more
   air between them, and air is most of what elegance is here.

   letter-spacing +0.008em, not -0.006em: negative tracking on a
   200-weight face crowds the counters and is a large part of why this
   reads as a default hero setting. A trace of positive tracking opens
   it and matches the drawing's own thinness.

   The width of the question's box is NOT changed. Pass 58 set it at
   min(34ch, 46vmin) and it is not this pass's to revisit — smaller
   type in the same box simply gives longer lines, which is the
   intended effect. */
.yt-interior-q {
  font-size: clamp(20px, 2.05vw, 31px);
  line-height: 1.55;
  letter-spacing: 0.008em;
}

/* ═════════════════════════════════════════════════════════════
   PASS 61 · THE LIGHT LEAVES THE FIGURE'S BOX

   Julia approved this from a render before it was written. Every
   number below is measured off that render, converted into vmin so
   it does not depend on the size of the element that carries it.

   `inset: auto` first, then left/top/width/height: the committed
   `inset: 0` is overridden rather than removed, and the order matters
   because inset is the shorthand for all four offsets.

   300vmin square, centred: the element has to be big enough that
   turning it a quarter never brings one of its own edges into view,
   and square so that the turn changes nothing but direction. The
   light itself fades to nothing at 114vmin, well inside it.

   Because the element is centred on the room, and .yt-interior-figure
   is centred on the room too, `50%` in the gradients below is the
   figure's centre — so the anchors are measured from it. The figure
   is min(78vw, 78vh); half of it is 39vmin; the wedge is anchored at
   31vmin, just inside the gate's mouth.

   The rest of .yt-gate-glow — its opacity, its 900ms transition and
   its own breathing brightness animation — is not named here and
   keeps exactly the values it already has. */
.yt-gate-glow {
  inset: auto;
  left: 50%;
  top: 50%;
  width: 300vmin;
  height: 300vmin;
  transform-origin: 50% 50%;
  transform: translate(-50%, -50%) rotate(var(--gate-turn, 0deg));
  background:
    radial-gradient(ellipse 114vmin 36vmin at calc(50% + 31vmin) 50%,
      rgba(255, 77, 0, .155) 0%,
      rgba(255, 77, 0, .075) 34%,
      rgba(255, 77, 0, .022) 62%,
      transparent 84%),
    radial-gradient(ellipse 23vmin 21vmin at calc(50% + 30vmin) 50%,
      rgba(255, 150, 70, .16) 0%,
      rgba(255, 120, 40, .05) 46%,
      transparent 78%);
}

/* ═════════════════════════════════════════════════════════════
   PASS 62 · THE INTERIOR SETTLES

   Julia: there is still a hard vertical border separating the light,
   and the placement of the text has to be more harmonious. She
   approved the composition below from a render before this was
   written.

   Nothing here is edited or deleted.
   ═════════════════════════════════════════════════════════════ */

/* CHANGE 1 — THE GLOW MOVES OUTSIDE THE CLIP.

   The JavaScript half moves the clip rect from the group onto the
   <use>. This half moves the three drop-shadows the other way, from
   the <use> onto the group — so the shape is clipped first and the
   light is drawn from the clipped shape, unclipped.

   The three shadows are the committed values from line 3866, copied
   exactly. No colour, radius or alpha is changed.

   The third rule keeps the crossing behaving as it already does: the
   committed rule at line 4031 drops the bloom during .is-through by
   naming the <use>, which no longer carries it. Same intent, same
   beat, aimed at the element that now holds the filter. */
.yt-interior-litgate {
  filter: drop-shadow(0 0 12px rgba(255,210,158,.85))
          drop-shadow(0 0 40px rgba(255,168,96,.50))
          drop-shadow(0 0 120px rgba(255,132,60,.26));
}
.yt-interior-litgate use { filter: none; }
.yt-interior.is-on.is-through .yt-interior-litgate { filter: none; }

/* CHANGE 2 — THE QUESTION AND THE NOTE CENTRE TOGETHER.

   The committed rules at 4404 and 4407 translate by --q-half-h, half
   the QUESTION's own height, which puts the question's centre on the
   figure's centre and lets everything below it hang off the bottom —
   onto the bottom gate's own line.

   Translating by -50% instead centres the whole column: question,
   note, source line and the way out, together, inside the square.

   Both committed rules stay exactly as written; --q-half-h is still
   measured and still set by centerQuestionOnFigure(). It is simply
   no longer what positions this box. The +10px on the pre-question
   state is the committed offset, kept. */
.yt-interior-copy {
  transform: translate(-50%, calc(-50% + 10px));
}
.yt-interior.is-question .yt-interior-copy {
  transform: translate(-50%, -50%);
}

/* CHANGE 3 — THE NOTE GETS QUIETER.

   It arrives second and it is somebody else's sentence, so it should
   not compete with the question. Smaller, more space between the
   lines, a trace more tracking, and dimmer; the source line smaller,
   further away and dimmer again; the gaps above the note and above
   the way out both closed up, so the whole column stays inside the
   square once it is centred as one thing.

   The question itself is NOT touched. Pass 60 set its size and this
   pass does not revisit it. */
.yt-note { margin-top: 2.0em; }
.yt-note q {
  font: italic 300 clamp(12px, 1.1vw, 15px)/1.75 "Public Sans", system-ui, sans-serif;
  opacity: .50;
  letter-spacing: .012em;
}
.yt-note cite {
  margin-top: 1.5em;
  font-size: 8.5px;
  letter-spacing: .26em;
  opacity: .28;
}
.yt-interior-back { margin-top: 2.4em; }

/* ═════════════════════════════════════════════════════════════
   PASS 63 · ONE MARK, ONE LENGTH

   Julia, on the Maha Meru screen: the lines beside the commands are
   way too long, and check all the other lines like that.

   Read out of this file before this pass: five resting lengths for
   the same mark — 14, 18, 20, 22 and 26 — and a single 34px hover for
   every one of them. 34px beside 10.5px small caps is nearly three
   characters of line.

   One resting length and one hover length for every mark that belongs
   to a CONTROL. 14px at rest, already the commonest value in the file
   and already what .yt-back-tick and .yt-gatelabel::before use. 22px
   on hover: the mark grows when it is touched, it does not double.

   Position markers are deliberately NOT included — .lg-step i and
   .yd-step i at [aria-current], .yt-gatelabel.is-on::before, and
   .hm-ratios b.is-on::after. They say where you are, not what you may
   press, and they keep their own lengths.

   Nothing is edited or deleted. Every rule below is an addition.
   ═════════════════════════════════════════════════════════════ */

/* resting — 14px everywhere a control carries a mark */
.bn-tick { width: 14px; }
.yt-cue-read::before { width: 14px; }
.yt-interior-back::before { width: 14px; }
#ydGo::before, #ydClose::before, .yd-dir::before { width: 14px; }
.meru-go::before { width: 14px; }

/* touched — 22px, not 34px */
.bn-open:hover .bn-tick,
.bn-open:focus-visible .bn-tick,
.bn-open[aria-expanded="true"] .bn-tick { width: 22px; }
.yt-back:hover .yt-back-tick,
.yt-back:focus-visible .yt-back-tick { width: 22px; }
.yt-interior-back:hover::before,
.yt-interior-back:focus-visible::before { width: 22px; }
#ydGo:hover::before, #ydGo:focus-visible::before,
#ydClose:hover::before, #ydClose:focus-visible::before,
.yd-dir:hover::before, .yd-dir:focus-visible::before { width: 22px; }
.meru-go:hover::before, .meru-go:focus-visible::before { width: 22px; }

/* ═════════════════════════════════════════════════════════════
   PASS 64 · THE SECOND VOICE ARRIVES RATHER THAN APPEARS

   Julia: the Marcus Aurelius note comes too late — she wants the
   reader to think about the question, and she wants the note to give
   it a dimension.

   The committed rule at line 4431 fades the note in over 1400ms. At
   3000ms it becomes legible slowly enough that the reader is still
   with the question while it arrives, which is what buys the thinking
   time the eight-second wait was buying badly.

   Only transition is named. The committed opacity: 0, the 6px
   translateY, the .is-note rule that turns both on, and the
   reduced-motion override at line 4441 — which carries !important and
   still wins — are all untouched. */
.yt-note {
  transition: opacity 3000ms cubic-bezier(.22,1,.36,1),
              transform 3000ms cubic-bezier(.22,1,.36,1);
}

/* ═════════════════════════════════════════════════════════════
   PASS 65 · ONE SIZE ACROSS THE CROSSING

   Measured in Julia's browser at 1291 x 767, all four figures in
   this chapter:

     .meru-screen-figure      475.54px   min(46vw, 62vh)
     #ydFigure                593.86px   min(78vh, 46vw)
     #stYantra .yantra-plate  593.86px   min(78vh, 46vw)
     .yt-interior-figure      598.26px   min(78vw, 78vh)

   "Continue into the Yantra" leaves a 475.54px figure and lands on a
   593.86px one — 24.9% larger. That jump is what Julia saw.

   The white chapter takes the Maha Meru screen's own formula, so the
   crossing is seamless. Julia's decision, made after seeing those four
   numbers, and it knowingly reverses PASS 54 CHANGE 2 (line 5368,
   unedited, superseded here by source order): the white chapter and
   the deep room no longer match, and continuity across the crossing
   is preferred to that match.

   min(46vw, 62vh) is not a new value. It is .meru-screen-figure's own,
   at line 4773, copied rather than invented.

   Wrapped in the same @media (min-width: 861px) as PASS 54's rule, for
   the same reason it gave: below 861px proof.css and the narrow-screen
   rules govern this plate and neither is this pass's to touch. Only
   width is named — max-width: none and max-height: none from line 5368
   still apply, and .yt-art's own left: 6vw anchor is untouched. */
@media (min-width: 861px) {
  #stYantra .yantra-plate { width: min(46vw, 62vh); }
}

/* ═════════════════════════════════════════════════════════════
   PASS 66 · TWO SIZES, NOT THREE

   Measured in Julia's browser at 1291 x 767, after PASS 65:

     .meru-screen-figure      475.54px   min(46vw, 62vh)
     #stYantra .yantra-plate  475.54px   min(46vw, 62vh)
     #ydFigure                593.86px   min(78vh, 46vw)   <- the outlier
     .yt-interior-figure      598.26px   min(78vw, 78vh)

   The first three are built identically — figure anchored at 6vw on
   the left, reading column on the right — and one of them is a quarter
   larger than the other two. PASS 65 matched the white chapter to the
   Maha Meru screen and left the deep room behind.

   The fourth is different on purpose and is not touched: the gate
   interior is centred and alone because the visitor is inside the
   figure rather than looking at it. Two sizes — one for the screens
   you look at, one for the room you step into — and the difference
   between them is the moment of stepping through a gate.

   min(46vw, 62vh) is not a new value. It is .meru-screen-figure's own,
   at line 4773.

   Only width is named. .yd-figure's left: 6vw, its aspect-ratio, its
   transform (translateY(-50%) and the --yd-in scale), its opacity and
   its transitions are all untouched, and line 1880 is unedited and
   superseded by source order.

   Wrapped in @media (min-width: 861px) because the committed rule at
   line 1993, inside @media (max-width: 860px), gives .yd-figure an
   entirely different narrow-screen shape — left: 50%, top: 26vh,
   width: 74vw, translateX(-50%). An unwrapped rule here would beat it
   on source order and break the phone. A media query adds no
   specificity; the wrapper is doing nothing but keeping this away from
   the narrow layout. */
@media (min-width: 861px) {
  .yd-figure { width: min(46vw, 62vh); }
}

/* ═════════════════════════════════════════════════════════════
   PASS 67 · THE FIGURE CROSSES INSTEAD OF BEING REDRAWN

   Approved by Julia from a render on 6 September 2026, before any
   code was written.

   "Continue into the Yantra" was built to do one thing, and its own
   committed comment (lines 1967-1970, unedited) says what: "The
   ground turns over while the illuminated part stays exactly where
   it is, so the same orange is what carries the visitor across."

   That has not run since Pass 36. PASS 36 · 2.2 added
   .yd-deep.is-vanishing .yd-figure (line 4323, unedited and left in
   place), which takes the whole figure to opacity 0 in 320ms — so
   the invert running underneath it is never seen. Its own comment
   gives the reason it was added: the deep room's plate "sat over the
   newly-revealed white ground" at a different size from the figure
   underneath.

   PASS 66 removed that reason. .yd-figure and #stYantra
   .yantra-plate are now both min(46vw, 62vh) at left 6vw, both
   aspect-ratio 1/1, and their two pictures
   (assets/img/layers-dark/structure.png and assets/img/layers/01.png)
   are both 1024 x 1024. The crossing calls show(STAGES.length - 1),
   and STAGES[5] is bhupura, layers ["01"] — the same layer #stYantra
   opens on with .is-on. Same figure, same size, same place, same
   layer, opposite ground. The figure does not need to be redrawn.
   It can stay.

   Three changes, all additive, all inside @media (min-width: 861px).
   Nothing above is edited and nothing is deleted.

   THE GUARD. Below 861px the two elements do NOT agree: .yd-figure is
   left 50%, top 26vh, width 74vw (line 1993) while .yt-art is left
   50%, top 40% with its plate at min(74vw, 44vh) (proof.css
   1045-1046). A figure that stayed would jump on a phone. The media
   query does nothing but keep this away from the narrow layout; it
   adds no specificity, and source order is what makes each rule
   below win.
   ═════════════════════════════════════════════════════════════ */
@media (min-width: 861px) {

  /* 1 — THE FIGURE DOES NOT FADE.
     Superseded by source order, kept verbatim and NOT edited, at
     line 4323:
       .yd-deep.is-vanishing .yd-figure {
         opacity: 0;
         transition: opacity 320ms var(--ease);
       }
     Both selectors are given. is-vanishing is added by a
     capture-phase listener (expansion.js line 2702) and is-crossing
     by a bubble-phase one on the same click; the second also beats
     .yd-figure's own opacity: var(--yd-in) (line 1881) when
     setOpen(false, true) writes --yd-in to 0 at 900ms, which is what
     lets the room fade as one piece carrying the figure, rather than
     emptying first. */
  .yd-deep.is-vanishing .yd-figure { opacity: 1; }
  .yd-deep.is-crossing  .yd-figure { opacity: 1; }

  /* 2 — THE FIGURE DOES NOT GROW.
     Superseded by source order, kept verbatim and NOT edited, at
     line 1976:
       .yd-deep.is-crossing .yd-figure { transform: translateY(-50%) scale(1.06); }
     1.06 cannot land on a plate at 1.0. scale(1) is also .yd-figure's
     own resting value at --yd-in 1 (calc(0.96 + 1 * 0.04)), so the
     transform does not animate at all and the figure holds its rect
     across the crossing. translateY(-50%) is restated because it is
     part of the value being replaced, not a new anchor. Line 1994,
     the max-width:860px twin, is untouched and unreachable from
     inside this query. */
  .yd-deep.is-crossing .yd-figure { transform: translateY(-50%) scale(1); }

  /* 3 — THE LIT LAYER LOSES ITS GLOW AS THE GROUND TURNS.
     .yd-hl (lines 1892-1896, unedited) carries
     drop-shadow(0 0 14px rgba(255,77,0,0.32)). On #060505 that glow
     does real work. On white it becomes a halo the chapter's own
     plate does not have, and it is the one visible difference
     between the two pictures at the handover. Faded to transparent
     over the same 900ms the ground takes. The opacity transition
     from line 1894 is restated because `transition` is a single
     property and naming filter alone would drop it. */
  .yd-deep.is-crossing .yd-hl {
    filter: drop-shadow(0 0 14px rgba(255,77,0,0));
    transition: opacity 620ms var(--ease), filter 900ms var(--ease);
  }
}

/* ═════════════════════════════════════════════════════════════
   PASS 68 · THE DRAWING CROSSES, NOT THE PICTURE

   Julia, on Pass 67: the heavy figure stands on the white for two
   and a half seconds and only then does the thin one appear — and
   the thin one is what the visitor works with.

   She is right, and PASS 67 rested on a wrong belief: that
   #stYantra shows layers/01.png. It does not. All ten rasters are
   held at zero (lines 3351-3352) and the white chapter shows
   #ytFig, an SVG.

   That SVG is a clone of #ydFigure .sy-fig — proof.html line 1080,
   already inside the deep room, switched off at line 3126 since
   PASS 22, whose own comment reads: "The drawn figure is not
   deleted. It is hidden here and it is what the white chapter will
   use", and of the black room, "it can have it back if it is ever
   wanted." This is that.

   The crossing therefore hands over to the deep room's own drawing.
   What stands on the white is then the very element the chapter's
   figure is a clone of, and there is nothing left to swap.

   MEASURED, NOT ASSUMED. Both were rendered offline at 1000px in
   the box #ydFigure gives them. They are concentric to within half
   a pixel, and they are not the same size:

     structure.png, object-fit: contain     946px wide
     .sy-fig, inset: 0                      977px wide

   977 / 946 = 1.033. A straight cross-fade would step by 3.3%, so
   the picture is grown to 1.033 as it leaves and the two coincide
   at the handover. They share a centre, so scale alone does it —
   no offset, and transform-origin is left at its default 50% 50%.

   Three changes. Nothing edited, nothing deleted, all inside
   @media (min-width: 861px) for the reason PASS 67 gave: below
   861px .yd-figure and .yt-art have different widths and different
   vertical anchors, and the phone keeps the behaviour it has.
   ═════════════════════════════════════════════════════════════ */
@media (min-width: 861px) {

  /* 1 — THE DRAWING IS AVAILABLE, AND ARRIVES WITH THE WHITE.
     Supersedes line 3126 (#ydFigure .sy-fig { display: none; },
     unedited) by source order — same selector, same specificity,
     later in the file. It renders at zero in the black room and
     takes no pointer. The black room's figure is the picture and
     stays the picture: PASS 22's decision is not reopened here.
     LAYERING, corrected. In proof.html the SVG sits after
     .yd-structure and all nine .yd-hl, so it arrives on top of the
     picture rather than underneath it. It is not the last child:
     <span class="yd-bindu"> follows it. That span is opacity 0
     except under [data-stage="bindu"] (line 1905), and the crossing
     calls show(STAGES.length - 1) — bhupura — so it is invisible
     throughout and its position changes nothing. The first version
     of this pass asserted the SVG was last. It is not. An agent
     checked and stopped, and it was right to. */
  #ydFigure .sy-fig { display: block; opacity: 0; pointer-events: none; }

  .yd-deep.is-crossing #ydFigure .sy-fig {
    opacity: 1;
    transition: opacity 900ms var(--ease) 180ms;
  }

  /* 2 — THE PICTURE LEAVES, AND GROWS INTO THE DRAWING AS IT GOES.
     Superseded by source order, kept verbatim and NOT edited, at
     line 1972:
       .yd-deep.is-crossing .yd-structure { opacity: 0.9; filter: invert(1); }
     and PASS 67's own .yd-deep.is-crossing .yd-hl rule at the end of
     this file. The invert at 1972 stays in the cascade and simply no
     longer has anything visible to invert. The grouped transition at
     lines 1981-1986 is likewise untouched and overridden here for
     these two selectors only. 1.033 is the measured ratio above. */
  .yd-deep.is-crossing .yd-structure,
  .yd-deep.is-crossing .yd-hl {
    opacity: 0;
    transform: scale(1.033);
    transition: opacity 620ms var(--ease), transform 900ms var(--ease);
  }

  /* 3 — THE DRAWING'S INSIDE TRAVELS FROM THE ROOM'S CREAM TO THE
     CHAPTER'S INK.
     #ydFigure .sy-interior (line 3103, unedited) is #F2EAE0 at .50,
     which is right on #060505 and nearly invisible on white.
     #1A1A1A at .86 is #yantra .sy-fig--work .sy-interior's own value
     (lines 3365-3368), copied rather than invented, so the drawing
     lands already wearing the colour the chapter will give it.
     This also supersedes .yd-deep:not(.is-settling) #ydFigure
     .sy-interior (line 3110, fill-opacity .72, unedited) — equal
     specificity, later in the file. .sy-bhupura and .sy-bindu are
     var(--accent) in both places already and need nothing. */
  .yd-deep.is-crossing #ydFigure .sy-interior {
    fill: #1A1A1A;
    fill-opacity: 0.86;
    transition: fill 900ms var(--ease) 180ms,
                fill-opacity 900ms var(--ease) 180ms;
  }
}
/* ══════════════════════════════════════════════════════════════
   VESICA PASS 1 · THE CHAPTER CHANGES HANDS

   #scLineage's own Sri Yantra plate, tag, headline, next-cue and
   beneath panel are hidden here — never deleted — by opacity and
   visibility together, so #bnLineageBtn (a real button) is not left
   reachable by keyboard while invisible. #lgDraw itself stays: it is
   the box vesicaChapterHandover() (expansion.js) draws the Vesica
   figure into.

   #vpHead is this chapter's new accessible name, built at runtime.
   There is no visually-hidden utility anywhere on this site, so one
   is defined here, scoped to #vpHead only — clipped to a 1px box,
   not display:none or opacity alone, so it stays in the
   accessibility tree.

   #lgDraw is the containing block (position: absolute,
   expansion.css:550 and :1818, the second rule setting its real
   size); .lg-svg (expansion.css:559) sets width and height but not
   position, so the new figure gets its own rule to lay over the
   now-hidden plate instead of sitting below it in normal flow, the
   way .lg-bindu-pt (expansion.css:1825) already does.

   The lens sits outside any .lg-g on purpose: .lg-g sets fill:none
   (expansion.css:560), which would erase the fill this pass exists
   to draw. It gets its own selector and its own low-opacity fill
   below, in --light, never --accent — --accent is a mark, never a
   fill (styles.css).
   ══════════════════════════════════════════════════════════════ */
#scLineage .lg-plate,
#scLineage .lg-bindu-pt,
#scLineage .lg-tag,
#scLineage .lg-line,
#scLineage .lg-next,
#scLineage #bnLineageBtn,
#scLineage #bnLineagePanel {
  opacity: 0;
  visibility: hidden;
}

#scLineage #vpHead {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

#scLineage .vp-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#scLineage .vp-lens {
  fill: var(--light);
  opacity: 0.12;
}

/* ══════════════════════════════════════════════════════════════
   VESICA PASS 2 · THE FIGURE DRAWS ITSELF, AND SPEAKS

   Two beams of light behind the circles, mixed with screen so their
   cores stay separate and the black stays black — a flat fill was
   tried here and rejected, it read as frosted glass. The mandorla
   is found by its edge, not filled: the rule below replaces VESICA
   PASS 1's #scLineage .vp-lens fill (var(--light), authorised
   above) with a stroke, by a later rule with the same selector,
   never by editing that rule. Fuchsia and pale blue are literal
   here on purpose, a named exception to this site's "no new hex"
   rule for this block only — --accent stays a mark, never a fill,
   and a beam is the largest field on the site.

   --vp-1, --vp-2 and --vp-3 (vesicaBeatOne(), expansion.js) gate
   both the beams and .vp-p's three lines, so a line and its light
   always arrive together. Under reduced motion chapter() never
   calls the function that sets them (expansion.js ~43), so the
   media query below pins all three to 1 — the end state, both
   beams up, the edge found, all three lines present.
   ══════════════════════════════════════════════════════════════ */
#scLineage .vp-beam {
  position: absolute;
  width: 60%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  pointer-events: none;
}
#scLineage .vp-beam--1 {
  left: 35%;
  background: radial-gradient(circle at center, rgba(224,64,154,0.66) 0%, rgba(0,0,0,0) 54%);
  opacity: var(--vp-1, 0);
}
#scLineage .vp-beam--2 {
  left: 65%;
  background: radial-gradient(circle at center, rgba(150,186,232,0.62) 0%, rgba(0,0,0,0) 54%);
  opacity: var(--vp-2, 0);
}

/* the one authorised replacement of VESICA PASS 1's fill: var(--light) —
   a later rule, same selector, never an edit to that rule */
#scLineage .vp-lens {
  fill: none;
  stroke: #FFD9EC;
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
  opacity: var(--vp-3, 0);
  filter: drop-shadow(0 0 6px rgba(255,180,220,0.75))
          drop-shadow(0 0 22px rgba(255,140,200,0.35));
}

#scLineage .vp-read {
  position: absolute;
  z-index: 6;
  right: var(--pad);
  top: 50%;
  transform: translateY(-50%);
  width: min(26rem, 34vw);
}
#scLineage .vp-p {
  margin: 0 0 var(--s3);
  font: var(--v-editorial);
  color: #CFC5B7;
}
#scLineage .vp-p:last-child { margin-bottom: 0; }
#scLineage .vp-p[data-beat="1"] { opacity: var(--vp-1, 0); transform: translateY(calc((1 - var(--vp-1, 0)) * 1.2vh)); }
#scLineage .vp-p[data-beat="2"] { opacity: var(--vp-2, 0); transform: translateY(calc((1 - var(--vp-2, 0)) * 1.2vh)); }
#scLineage .vp-p[data-beat="3"] { opacity: var(--vp-3, 0); transform: translateY(calc((1 - var(--vp-3, 0)) * 1.2vh)); }

/* the effective mobile #lgDraw rule is the later @media (max-width: 860px)
   block at expansion.css:1989 (left: 50%; top: 32%; width: 76vw) — this is
   the one that actually wins the cascade, so .vp-read moves below the
   figure at the same breakpoint, full width inside the page padding,
   left-aligned, the way .lg-line does at expansion.css:1029 */
@media (max-width: 860px) {
  #scLineage .vp-read {
    left: var(--pad); right: var(--pad); width: auto;
    top: auto; bottom: 6vh;
    text-align: left;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #stLineage { --vp-1: 1; --vp-2: 1; --vp-3: 1; }
}

/* ══════════════════════════════════════════════════════════════
   VESICA PASS 3 · THE VISITOR DRAWS IT, AND IT IS DRAWN

   #scLineage's data-vp-step ("0" → "1" → "2", written by
   vesicaDrawConstruction(), expansion.js) is what every rule below
   reads. The two circles (.vp-c1, .vp-c2, classed onto pass 1's
   existing <circle> elements) reveal by stroke-dashoffset, using
   pathLength="1" so the reveal is exact regardless of viewBox
   scale — never a computed circumference, never a transform on the
   geometry itself. The two beams and the lens keep the selectors
   VESICA PASS 2 already used, but read new custom properties,
   --vpi-1/2/3, set only by the press handler: pass 2's
   chapter("scLineage", …) watcher (above) keeps writing --vp-1,
   --vp-2 and --vp-3 every scroll frame, untouched, simply no longer
   read by anything past this point. Same "hide, never remove"
   discipline as the rest of the branch, on the CSS side this time.

   .vp-press is the button a paragraph's text now lives inside —
   background, border, padding and text-align reset so it reads as
   the sentence it is; the tick is laid out with flex and gap, the
   site's safe pattern (.bn-open, .yt-back), not the padding-left
   + ::before pattern at #ydGo/#ydClose/.yd-dir and .meru-go, which
   is a recorded, known overlap bug. Once pressed, the button is
   disabled — native disabled removes it from the tab order on its
   own, nothing else is needed — and its own rule below strips the
   tick, the hover and the focus ring, so it reads as plain body
   text: it has been done, it is now just the sentence.
   ══════════════════════════════════════════════════════════════ */

#scLineage .vp-c1,
#scLineage .vp-c2 {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1600ms var(--ease);
}
#scLineage[data-vp-step="1"] .vp-c1,
#scLineage[data-vp-step="2"] .vp-c1,
#scLineage[data-vp-step="2"] .vp-c2 { stroke-dashoffset: 0; }

/* the light follows the line: a later rule, same selectors as
   VESICA PASS 2's, reading the new press-driven names instead */
#scLineage .vp-beam--1 {
  opacity: var(--vpi-1, 0);
  transition: opacity 1400ms var(--ease) 200ms;
}
#scLineage .vp-beam--2 {
  opacity: var(--vpi-2, 0);
  transition: opacity 1400ms var(--ease) 200ms;
}

/* the shared shape draws itself at step 2, 400ms after the second
   circle completes, so it reads as a third thing appearing once
   both circles exist rather than as part of either of them */
#scLineage .vp-lens {
  opacity: var(--vpi-3, 0);
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1500ms var(--ease) 400ms,
              opacity 900ms var(--ease) 400ms;
}
#scLineage[data-vp-step="2"] .vp-lens { stroke-dashoffset: 0; }

/* the three paragraphs stop being gated by scroll (beat 1 keeps
   its original VESICA PASS 2 trigger, --vp-1, restated here as a
   later rule so this block is complete on its own); beat 2 is
   never shown until the first circle exists, beat 3 not until the
   mandorla is found — visibility, not opacity alone, so a hidden
   press control cannot be tabbed to before its sentence exists */
#scLineage .vp-p[data-beat="1"] {
  opacity: var(--vp-1, 0);
  transform: translateY(calc((1 - var(--vp-1, 0)) * 1.2vh));
}
#scLineage .vp-p[data-beat="2"] {
  opacity: 0;
  visibility: hidden;
  transform: translateY(1.2vh);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease),
              visibility 0s 700ms;
}
#scLineage[data-vp-step="1"] .vp-p[data-beat="2"],
#scLineage[data-vp-step="2"] .vp-p[data-beat="2"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
#scLineage .vp-p[data-beat="3"] {
  opacity: 0;
  visibility: hidden;
  transform: translateY(1.2vh);
  transition: opacity 700ms var(--ease) 400ms, transform 700ms var(--ease) 400ms,
              visibility 0s 1100ms;
}
#scLineage[data-vp-step="2"] .vp-p[data-beat="3"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 700ms var(--ease) 400ms, transform 700ms var(--ease) 400ms;
}

/* CHANGE 4 · "DRAW A CIRCLE" MUST READ AS PRESSABLE

   color: inherit (superseded, below) made this control read exactly
   like the plain, non-interactive paragraphs around it — the tick
   (originally .vp-tick, replaced by .vp-ring's own always-accent
   stroke under CHANGE 2, 13 September) only widened on hover/focus,
   which a first-time visitor cannot see before ever interacting, and
   cursor: pointer (unedited) is not visible until the pointer is
   already over it. color: var(--accent) is this site's own already-
   established "this is actionable" signal — the exact resting
   treatment .bn-link (expansion.css ~156) already uses for a genuine
   inline text control in this project, applied here rather than a
   new style invented for this button alone. :disabled (below,
   unedited) still resets color to inherit once pressed — "it has
   been done, it is now just the sentence," the original VESICA PASS
   3 comment's own words — so the accent-to-plain shift at press time
   now also visibly marks the transition from pressable to done. */
#scLineage .vp-press {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  width: 100%;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  text-align: left;
  font: inherit;
  color: var(--accent);
  cursor: pointer;
}
/* CHANGE 2 (13 September) · .vp-tick, a flat dash, is retired in
   favour of .vp-ring — #vpEnter's own .fe-ring (proof.css), read not
   edited, reused at this button's own scale (22px against the door's
   own clamp(58px, 8vw, 84px)) rather than invented fresh: stroke:
   var(--accent) is .fe-ring circle's own fixed colour, not currentColor,
   on purpose — the ring stays the same accent mark whether the
   button's own text is at rest or hovered, exactly as the door's own
   ring never recolours either. stroke-width doubling on hover/focus,
   with no transition, matches .fe-enter:hover .fe-ring circle
   (proof.css) exactly as written there — an instant swap, not a
   guessed smoothing this pass would be inventing. */
#scLineage .vp-ring {
  display: block;
  flex: none;
  width: 22px; height: 22px;
  margin-top: 0.1em;
}
#scLineage .vp-ring svg { width: 100%; height: 100%; overflow: visible; }
#scLineage .vp-ring circle {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
#scLineage .vp-press:hover,
#scLineage .vp-press:focus-visible { color: var(--on-dark); }
#scLineage .vp-press:hover .vp-ring circle,
#scLineage .vp-press:focus-visible .vp-ring circle { stroke-width: 2; }
#scLineage .vp-press:focus-visible { outline: 1px solid var(--accent); outline-offset: 5px; }
#scLineage .vp-press:disabled {
  cursor: default;
  color: inherit;
  opacity: 1;
}
#scLineage .vp-press:disabled .vp-ring { display: none; }
#scLineage .vp-press:disabled:hover,
#scLineage .vp-press:disabled:focus-visible {
  color: inherit;
  outline: none;
}

/* the still route: presses keep working under reduced motion (this
   pass has no chapter() call, so nothing here returns early) —
   every duration and delay this pass introduced drops to 0, so the
   visitor still draws, it simply arrives without travel */
@media (prefers-reduced-motion: reduce) {
  #scLineage .vp-c1,
  #scLineage .vp-c2 { transition-duration: 0ms; }
  #scLineage .vp-beam--1,
  #scLineage .vp-beam--2 { transition: opacity 0ms; }
  #scLineage .vp-lens { transition: stroke-dashoffset 0ms, opacity 0ms; }
  #scLineage .vp-p[data-beat="2"] { transition: opacity 0ms, transform 0ms, visibility 0s; }
  #scLineage .vp-p[data-beat="3"] { transition: opacity 0ms, transform 0ms, visibility 0s; }
  #scLineage[data-vp-step="1"] .vp-p[data-beat="2"],
  #scLineage[data-vp-step="2"] .vp-p[data-beat="2"] { transition: opacity 0ms, transform 0ms; }
  #scLineage[data-vp-step="2"] .vp-p[data-beat="3"] { transition: opacity 0ms, transform 0ms; }
  #scLineage .vp-press,
  #scLineage .vp-ring { transition: none; }
}

/* CHANGE 1 (13 September) · .vp-progress — see its own build comment
   in vesicaProgress() (expansion.js) for why this mirrors the
   sitewide .rail (proof.css, read not edited) on the opposite edge,
   as a sibling of #stLineage rather than a child of it. --c-line and
   --accent (both proof.css/styles.css, read not edited) are the same
   two tokens .rail-line/.rail-now already use — no new colour. */
#scLineage .vp-progress {
  position: fixed;
  right: var(--pad);
  top: 22vh;
  bottom: 22vh;
  width: 1px;
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  transition: opacity 500ms var(--ease), visibility 0s 500ms;
}
#scLineage[data-vp-entered="1"] .vp-progress {
  opacity: 1;
  visibility: visible;
  transition: opacity 500ms var(--ease);
}
#scLineage .vp-progress-line {
  position: absolute;
  inset: 0;
  background: var(--c-line);
}
#scLineage .vp-progress-now {
  position: absolute;
  left: -2.5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  top: calc(var(--vp-progress, 0) * 100%);
  transform: translateY(-50%);
}

/* ══════════════════════════════════════════════════════════════
   VESICA PASS 4 · THE CHAPTER BECOMES A SECTION

   #vpHead (VESICA PASS 1) is undone from its 1px clip here and
   given the register .fe-title (proof.css ~711, chapter 10's own
   name) and .fe-tag/.fe-line (chapter 08's own former heading, now
   hidden, expansion.css ~588) already share: font: var(--v-monument),
   negative tracking, color: var(--on-dark) — sized for this column,
   not for .fe-title's full-screen hero clamp. It arrives on --vp-1,
   the same trigger VESICA PASS 2 already gives beat 1, so the name
   is present before any press. .vp-read (VESICA PASS 2) is widened
   and moved off centred 50% placement — eight paragraphs and the
   name no longer fit a block centred by its own height.

   The triangle (.vp-tri) reveals by stroke-dashoffset exactly as
   VESICA PASS 3 reveals the circles: pathLength="1", the same line
   treatment as expansion.css:561-564, an attribute selector for the
   dash, and its own opacity in --vpi-4 rather than a separate beam
   — the same shape VESICA PASS 3 already gave .vp-lens, which has
   no beam of its own either. Euclid's five lines (.vp-p[data-beat
   ="4"] through "8") read --vpi-4 through --vpi-8, VESICA PASS 4's
   own new watcher (expansion.js, above) — VESICA PASS 2's original
   --vp-1/2/3 watcher is untouched and these are new names, not a
   collision. .vp-close (the fifth line) is given more weight the
   only way this site's type system allows short of the hero
   Montserrat: Public Sans Regular in place of the editorial Light.

   .vp-beneath repositions this chapter's new "Read beneath the
   surface" group — new ids, #bnLineageBtn/#bnLineagePanel (VESICA
   PASS 1) stay hidden, untouched — off the generic #stLineage
   .beneath rule (expansion.css ~632, gated on the committed
   handler's --lg-ui, the wrong trigger for this chapter now) and
   onto --vp-1, the same early, always-available trigger #vpHead
   and beat 1 already use.

   R8, reported and not fixed here: expansion.css:108 sets
   html[data-tone="dark"] .bn-panel to a flat rgba(18,16,13,0.95)
   after the @supports frosted-glass block, same specificity, later
   in source order — every dark-chapter panel, including this one,
   renders flat rather than glass. Site-wide, out of this pass's
   three changes. */

#scLineage #vpHead {
  position: absolute;
  right: var(--pad);
  top: 4vh;
  width: min(30rem, 38vw);
  height: auto;
  overflow: visible;
  clip-path: none;
  white-space: normal;
  margin: 0;
  text-align: right;
  font: var(--v-monument);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.05em;
  line-height: 0.94;
  color: var(--on-dark);
  opacity: var(--vp-1, 0);
  transform: translateY(calc((1 - var(--vp-1, 0)) * 1.2vh));
}

#scLineage .vp-read {
  top: 10vh;
  bottom: 6vh;
  transform: none;
  width: min(30rem, 38vw);
}

#scLineage .vp-tri {
  fill: none;
  stroke: rgba(251,243,232,0.42);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  opacity: var(--vpi-4, 0);
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1800ms var(--ease), opacity 1800ms var(--ease);
}
/* not [data-vp-step="2"] — that flips the instant both circles are
   drawn, regardless of scroll position, and the dash would finish
   travelling while --vpi-4 (below) is still 0 and the path invisible.
   data-vp-tri (expansion.js, above) is set once, only once the
   opacity has actually begun to rise, so the two are seen together. */
#scLineage[data-vp-tri="on"] .vp-tri { stroke-dashoffset: 0; }

#scLineage .vp-p[data-beat="4"] { opacity: var(--vpi-4, 0); transform: translateY(calc((1 - var(--vpi-4, 0)) * 1.2vh)); }
#scLineage .vp-p[data-beat="5"] { opacity: var(--vpi-5, 0); transform: translateY(calc((1 - var(--vpi-5, 0)) * 1.2vh)); }
#scLineage .vp-p[data-beat="6"] { opacity: var(--vpi-6, 0); transform: translateY(calc((1 - var(--vpi-6, 0)) * 1.2vh)); }
#scLineage .vp-p[data-beat="7"] { opacity: var(--vpi-7, 0); transform: translateY(calc((1 - var(--vpi-7, 0)) * 1.2vh)); }
#scLineage .vp-p[data-beat="8"] { opacity: var(--vpi-8, 0); transform: translateY(calc((1 - var(--vpi-8, 0)) * 1.2vh)); }
#scLineage .vp-close { font-weight: 400; }

/* CHANGE 2's own .vp-continue ("There is more below.") was removed
   today, ruled by Julia: it and #vpGoDeeper appeared at the same
   data-vp-step="2" moment and said the same thing, and the button
   stays while the line goes. Both rules that gated it, and this
   comment's own predecessor, are removed rather than left dark —
   nothing else ever selected .vp-continue. --vpi-4, which the removed
   rule read for its own fade, is untouched: .vp-p[data-beat="4"]
   (above) and this chapter's own dash-timing latch (expansion.js)
   both still read it for their own unrelated reasons. */

/* PART 3 · #vpGoDeeper — .fe-leave for the shared look with #vpLeave
   (tick, colour, hover), .vp-go-deeper for its own, narrower gate: both
   selectors below add an attribute beyond plain [data-vp-entered="1"]
   .fe-leave (Change 3, above), so they win on specificity without
   touching that rule — visible only once data-vp-step is "2" (the
   same moment .vp-continue once used, before it was removed, above),
   not merely once entered. */
#scLineage[data-vp-entered="1"]:not([data-vp-step="2"]) .vp-go-deeper {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#scLineage[data-vp-entered="1"][data-vp-step="2"] .vp-go-deeper {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* .fe-leave's own base rule (expansion.css, Change 3 area) places
   every element carrying it at the same right/bottom: var(--pad)/14vh
   spot — fine for one control, wrong for two. Caught by a real click
   on #vpGoDeeper failing ("#vpLeave subtree intercepts pointer
   events"), not reasoned out. Stacked above #vpLeave rather than
   beside it: this chapter's own reading column is already the widest
   thing in the frame at her narrower viewport (763px), and two .fe-leave
   controls side by side would either crowd it or wrap. */
#scLineage .fe-leave.vp-go-deeper {
  bottom: calc(14vh + 2.6rem);
}

#scLineage .vp-beneath {
  position: absolute;
  right: var(--pad);
  bottom: 4vh;
  opacity: var(--vp-1, 0);
}

/* CHANGE 1 · ENTERING SHOULD NOT LAND ON AN EMPTY SCREEN

   Root cause, measured in a real browser (Playwright/Chromium),
   not assumed: #vpEnter's own forward scroll (vesicaEnterMoves(),
   expansion.js, VESICA PASS 8/15, untouched) computes and requests
   the correct landing point, but this site's own later, sitewide,
   unrelated scroll-snap system — html { scroll-snap-type: y
   proximity } (expansion.css, "THE SNAPPING PASS · PART 1") plus one
   .snap-mark per .sc-track at its own top, p = 0 (chapterSnapMarks(),
   expansion.js, "THE SNAPPING PASS · PART 2") — silently pulls that
   landing back to this chapter's own p = 0 every time, because
   vesicaEnterMoves()'s own target sits well within this browser's
   proximity threshold of that mark. Confirmed by measurement, not
   guessed: the requested scrollTo top is reached only for an instant
   before the browser's own snap correction returns the position to
   the track's own top; disabling and restoring scroll-snap-type
   around the jump does not help — tried and reverted — restoring it,
   by any method or delay, itself triggers a fresh snap correction
   back to the nearest mark regardless of how the current position was
   reached. This is sitewide (every chapter's own .sc-track carries
   the same mark) and out of this pass's own six changes to touch.

   Fixed instead where this chapter actually can: since the visitor
   provably always lands at p = 0 exactly, #vpHead, beat 1's own
   sentence and press button, and "Read beneath the surface" — the
   three real consumers of --vp-1 (vesicaBeatOne(), expansion.js,
   untouched; .vp-p[data-beat="2"]/[data-beat="3"] read --vp-2/--vp-3,
   both dead since VESICA PASS 3, per that pass's own comment, and are
   not touched here) — are given a floor the moment the chapter is
   entered, so something real is already on screen at the exact point
   a real visitor's browser settles, rather than waiting on a further
   scroll this chapter can no longer reliably produce. --vp-1 itself
   is untouched; every rule below only adds a floor on top of it,
   gated to [data-vp-entered="1"], so the scroll-driven fade-in this
   pass's own vesicaBeatOne() gives these same three elements still
   plays in full for a visitor who scrolls in by hand rather than
   pressing #vpEnter.

   Does not touch the figure's own per-line reveal: .vp-svg/.vp-c1/
   .vp-c2/.vp-lens and every data-vp-step-gated rule (VESICA PASS 3,
   above) are untouched — .lg-g[data-state="pending"] (expansion.css
   ~575) already keeps every undrawn construction line at opacity 0
   regardless of its own container's opacity, so nothing pre-drawn is
   ever exposed by a floor on the container. --lg-on itself (the
   empty drawing area's own scroll-driven opacity, expansion.js
   ~2281, seg(p, 0, 0.0384)) is left on its existing schedule,
   untouched.

   CORRECTION PASS, 13 September — #lgDraw itself was originally left
   out of the selector list below on the reasoning immediately above:
   since no individual line is ever exposed early, the container's
   own opacity seemed safe to leave alone. That reasoning covered
   premature exposure but missed the other half of the same fact:
   #lgDraw's own opacity (.lg-draw, expansion.css ~563,
   opacity: var(--lg-on, 0)) gates the WHOLE canvas, drawn lines
   included. Confirmed by measurement, not assumed: a real (non-
   forced) click on #vpEnter lands at p = 0.0000 every time (three
   consecutive Playwright runs, scrollY identical each time), where
   --lg-on's own seg(p, 0, 0.0384) is exactly 0 — so #lgDraw rendered
   at opacity: 0 the whole time. Pressing "Draw a circle" in that
   state still runs correctly end to end (data-vp-step advances,
   --vpi-1 is set, .vp-c1's stroke-dashoffset animates to 0, the
   button disables) — confirmed with getComputedStyle immediately
   after a real click — but every bit of it happens inside an
   invisible container, so a real visitor sees nothing happen at all.
   #lgDraw is added to this floor for exactly this reason: the same
   "something real is on screen the moment a real visitor's browser
   settles" this rule already gives #vpHead/beat 1/.vp-beneath. It is
   its own rule, not folded into the selector list above, because
   .lg-draw's own transform (translateY(-50%), permanent, unrelated
   to --vp-1) must not be overwritten by this floor's
   transform: translateY(0) — #lgDraw only ever needed the opacity
   half of it. */
#scLineage[data-vp-entered="1"] #vpHead,
#scLineage[data-vp-entered="1"] .vp-p[data-beat="1"],
#scLineage[data-vp-entered="1"] .vp-beneath {
  opacity: 1;
  transform: translateY(0);
}
#scLineage[data-vp-entered="1"] #lgDraw {
  opacity: 1;
}

/* CHANGE 1, CONTINUED · REDUCED MOTION HAS A DIFFERENT, DEEPER FAILURE

   Measured in a real browser (Playwright/Chrome, reducedMotion:'reduce'),
   not assumed: the floor above already works — a real click on #vpEnter
   correctly shows #vpHead, beat 1 and .vp-beneath at opacity 1. The
   owner's black screen is not that case: her own words ("I don't know
   what I'm supposed to do: scroll or do what") describe arriving BEFORE
   pressing anything, and reduced motion is a different route the floor
   was never gated for, exactly as this pass's own prompt warned.

   FIRST CAUSE TRIED, AND WHY IT DID NOT WORK — reported rather than
   silently replaced: position: sticky on #stLineage while un-entered
   measured as computing to "sticky" correctly, but produced no visible
   change and the screen stayed black. Measured why: #stLineage, its own
   .sc-track and #scLineage itself all share the exact same top and
   height (confirmed: scrolling 1000px further moved #stLineage exactly
   1000px too — zero stuck range). Sticky needs a containing block
   taller than the element it holds; here the "container" and the
   "content" are the same box, so there is no slack for it to hold
   inside. That rule has been removed rather than left as dead weight.

   REAL CAUSE: proof.css's own reduced-motion rule, read not edited,
   .sc-stage > * { opacity: 1 !important; position: static !important;
   ...} — written before this chapter existed in its current form —
   forces EVERY direct child of #stLineage to full opacity regardless of
   data-vp-entered, defeating every gate VESICA PASS 1 through the floor
   above rely on. Two consequences, both measured: #lgDraw (a 720×720
   canvas, empty pre-press) and .vp-read/.vp-beneath, meant to stay
   hidden pre-entry, are forced visible immediately; and .lg-plate/
   .lg-tag/.lg-line(#lineageHead)/.lg-next/#bnLineageBtn/#bnLineagePanel
   — the OLD Sri Yantra plate content VESICA PASS 1 deliberately retired
   ("hidden here — never deleted", expansion.css above) — comes back
   from the dead under reduced motion only, because !important beats
   that pass's own plain opacity: 0. A visitor arriving here scrolls
   into a resurrected, un-ordered pile of retired-plate content and
   not-yet-relevant drawing canvas, ahead of the one thing meant to be
   there — the invitation — which is why what she sees first reads as
   nothing at all.

   SECOND CAUSE TRIED, AND WHY IT ALSO WASN'T ENOUGH ALONE — the three
   groups below, first written with opacity/visibility to match this
   file's own "hide, never delete" convention (keeps things measurable,
   focusable-when-shown), measured correctly (opacity 0, hidden) but the
   screen stayed black regardless. Measured why: visibility: hidden, by
   spec, still reserves its own box in normal flow — and reduced motion
   is exactly that, a plain auto-height CSS Grid (proof.css's own
   .sc-stage rule, read not edited). #lgDraw alone reserves a 720px-tall
   row whether or not it is painted. Hidden-but-space-reserving content
   ahead of the invitation is the same dead scroll distance as visible
   clutter — the fix has to remove the row, not just the paint.

   Fixed here, not in proof.css: display: none does what visibility:
   hidden cannot under a normal-flow grid — it removes the row entirely,
   so the invitation is the first and only thing in flow pre-entry, and
   the reading/drawing group is the only thing in flow once entered.
   This departs from the rest of the site's own "hide, never delete"
   convention on purpose and only here: that convention exists to keep
   hidden content measurable and tab-reachable-when-shown, which matters
   for a pinned track a visitor never actually leaves; under reduced
   motion the track is a plain scrolling page and nothing here is ever
   measured while hidden, so there is nothing that convention protects
   in this one mode. Each group restated at matching !important weight,
   at higher specificity (#scLineage's own id beats .sc-stage's one
   class regardless of order), so this chapter's own gates hold under
   reduced motion exactly as they already do everywhere else. Once
   data-vp-entered is "1", groups B/C below stop matching and proof.css's
   own opacity: 1 !important (silently redundant now, since display:none
   no longer applies either) takes over cleanly — "every chapter becomes
   a complete, composed, static reading" (proof.css's own words) exactly
   as intended for the reading/drawing experience that follows entry. */
@media (prefers-reduced-motion: reduce) {
  /* Group A — permanently retired (VESICA PASS 1), regardless of
     data-vp-entered. */
  #scLineage .lg-plate,
  #scLineage .lg-bindu-pt,
  #scLineage .lg-tag,
  #scLineage .lg-line,
  #scLineage .lg-next,
  #scLineage #bnLineageBtn,
  #scLineage #bnLineagePanel {
    display: none !important;
  }

  /* Group B — entered-only content, hidden until data-vp-entered="1". */
  #scLineage:not([data-vp-entered="1"]) .vp-read,
  #scLineage:not([data-vp-entered="1"]) #lgDraw,
  #scLineage:not([data-vp-entered="1"]) .vp-beneath {
    display: none !important;
  }

  /* Group C — pre-entry-only content, hidden once entered. */
  #scLineage[data-vp-entered="1"] .fe-halo,
  #scLineage[data-vp-entered="1"] .fe-tag,
  #scLineage[data-vp-entered="1"] #vpEnter,
  #scLineage[data-vp-entered="1"] .fe-pass {
    display: none !important;
  }

  /* Group D — PART 3's #vpGoDeeper, same reasoning as A/B/C: proof.css's
     own opacity: 1 !important on every .sc-stage child would otherwise
     show it regardless of data-vp-step, the same way it once resurrected
     Group A's retired content. */
  #scLineage:not([data-vp-step="2"]) .vp-go-deeper {
    display: none !important;
  }
}

@media (max-width: 860px) {
  /* #lgDraw's effective mobile rule (expansion.css:1990, the later
     of two @media (max-width: 860px) blocks, so the one that wins)
     is top: 32%; width: 76vw, centred — its own footprint, not this
     pass's to move. #vpHead sits above it, .vp-read starts clear of
     its bottom edge; the reading column is long enough now that it
     is not guaranteed to fit above "Read beneath the surface" on a
     short phone in one screen without scrolling within the chapter
     — reported, not hidden, in this pass's own report. */
  #scLineage #vpHead {
    left: var(--pad); right: var(--pad); width: auto;
    top: 3vh;
    text-align: left;
    font-size: clamp(1.4rem, 6.5vw, 1.8rem);
  }
  #scLineage .vp-read {
    left: var(--pad); right: var(--pad); width: auto;
    top: 55vh;
    bottom: auto;
  }
  #scLineage .vp-p { margin-bottom: var(--s2); }
  #scLineage .vp-beneath {
    left: var(--pad); right: var(--pad);
    bottom: 2vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  #scLineage[data-vp-step="2"] #stLineage {
    --vpi-4: 1; --vpi-5: 1; --vpi-6: 1; --vpi-7: 1; --vpi-8: 1;
  }
  /* the still route has no scroll to wait for, so this is the one
     place data-vp-step drives the dash directly — data-vp-tri is
     never set under reduced motion, since the watcher that sets it
     (expansion.js) never runs (chapter()'s own contract) */
  #scLineage[data-vp-step="2"] .vp-tri { stroke-dashoffset: 0; }
  #scLineage .vp-tri { transition-duration: 0ms; }
}

/* ══════════════════════════════════════════════════════════════
   VESICA PASS 5 · THE READING PAGES INSTEAD OF PILING UP

   .vp-group overlays inside .vp-read (already position: absolute,
   VESICA PASS 4) rather than queuing below it — the whole fix for
   the column that only grew. --vpg-1/2/3 (expansion.js, above) are
   this group's own opacity; --vp-1..3 and --vpi-4..8 (VESICA PASS
   2/4, untouched) are still each paragraph's own, on the same
   .vp-p[data-beat="N"] descendant selectors those passes already
   wrote — a group fading and a line inside it fading compose by
   ordinary nested CSS opacity, so nothing here duplicates that
   arithmetic. .is-vp-active (expansion.js) is the discrete signal
   a continuous opacity can't give CSS alone: visibility and
   pointer-events flip on it, not on --vpg-N directly, so a group
   past the epsilon in expansion.js is not just faded but actually
   out of the tab order and unclickable — the same "opacity alone
   leaves a control reachable" concern VESICA PASS 1 first raised
   for #bnLineageBtn.
   ══════════════════════════════════════════════════════════════ */
#scLineage .vp-group {
  position: absolute;
  top: 0; left: 0; right: 0;
  opacity: var(--vpg-1, 0);
  visibility: hidden;
  pointer-events: none;
}
#scLineage .vp-group[data-vp-group="1"] { opacity: var(--vpg-1, 1); }
#scLineage .vp-group[data-vp-group="2"] { opacity: var(--vpg-2, 0); }
#scLineage .vp-group[data-vp-group="3"] { opacity: var(--vpg-3, 0); }
#scLineage .vp-group.is-vp-active {
  visibility: visible;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  /* nothing is pinned under reduced motion (proof.css:1070-1082),
     so chapter() never calls the watcher that sets --vpg-N or
     .is-vp-active at all (expansion.js:43) — every group is put
     back in normal flow and made unconditionally present here,
     the same discipline VESICA PASS 3's own still route already
     applied to the two press controls. The [data-vp-group="N"]
     rules above (this same pass) carry attribute-selector
     specificity a bare .vp-group cannot outrank on its own, even
     from inside a later media query — group 2 and 3's own fallback
     is 0, not 1, so without matching that specificity here they
     would render opacity: 0 under reduced motion despite their own
     paragraphs correctly being opacity: 1. Caught by rendering
     this, not by reading the rule. */
  #scLineage .vp-group,
  #scLineage .vp-group[data-vp-group="1"],
  #scLineage .vp-group[data-vp-group="2"],
  #scLineage .vp-group[data-vp-group="3"] {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  #scLineage .vp-read { min-height: 0; }
}

/* ══════════════════════════════════════════════════════════════
   VESICA PASS 6 · ONE GROUP AT A TIME

   CHANGE 2. #scLineage .vp-group (VESICA PASS 5) is top: 0 —
   every group hangs from the top of .vp-read's own reserved
   height (VESICA PASS 5's min-height, set in expansion.js from
   the tallest group's offsetHeight; .vp-read's own top/bottom are
   VESICA PASS 4's, untouched), so a short group sits with a void
   beneath it while a tall one fills the box. top: 50% plus
   transform: translateY(-50%) here — the same idiom VESICA PASS
   2's own #scLineage .vp-read rule already used to centre itself
   before VESICA PASS 4 replaced it with a top/bottom span — moves
   each group's own centre to .vp-read's own centre instead,
   whatever .vp-read's actual reserved height is at that
   breakpoint. Same specificity as VESICA PASS 5's rule, later in
   the file, so this is the value that wins; nothing in that
   earlier rule is edited.

   CHANGE 2, reduced motion. transform applies to a statically
   positioned box exactly as it does to an absolutely positioned
   one — only "top" is inert once VESICA PASS 5's own reduced-
   motion block sets position: static. Left alone, the
   translateY(-50%) above would still shift every always-visible,
   normal-flow group up by half its own height under reduced
   motion, which VESICA PASS 5 never had. Cancelled back to none
   here, for reduced motion only, so PASS 5's still route keeps
   its own already-correct stacking. */
#scLineage .vp-group {
  top: 50%;
  transform: translateY(-50%);
}
@media (prefers-reduced-motion: reduce) {
  #scLineage .vp-group { transform: none; }
}

/* CHANGE 3. #scLineage #vpHead (VESICA PASS 1, moved to this
   narrow layout by VESICA PASS 4) sits at top: 3vh at 390×844 —
   25px down, 49px at its own bottom — while the site's own
   header (proof.html, untouched) reaches to 65px at this width.
   The two overlap. Moved down only, not shrunk or clipped, to
   top: 10vh, clear of the site header's own bottom edge with a
   margin; #scLineage .vp-read (VESICA PASS 4) keeps its own
   top: 55vh here unchanged, so this does not touch the reading
   area this pass's own CHANGE 1 and CHANGE 2 depend on. */
@media (max-width: 860px) {
  #scLineage #vpHead { top: 10vh; }
}

/* ══════════════════════════════════════════════════════════════
   VESICA PASS 7 · THE SAME THRESHOLD AS SRI YANTRA

   #scLineage #stLineage is given display: grid so .fe-title (and
   this pass's own .fe-tag, button.fe-enter — all three carry the
   committed grid-area: 1/1; align-self: center; justify-self:
   center from .fe-tag/.fe-title/.fe-enter, proof.css, untouched)
   place themselves the same way chapter 10's #stThreshold does —
   no place-items here, since each of those three already sets its
   own align-self/justify-self and a container default would only
   fight proof.css's own reduced-motion .sc-stage rule
   (justify-items: start) for no visual gain. Every other child of
   #stLineage (.lg-tag, .lg-line, .lg-next, the old .beneath,
   #lgDraw, .vp-read, .vp-beneath) is position: absolute, already,
   in every earlier pass's own rules — an absolutely positioned
   grid child ignores the grid entirely, so none of that existing
   layout moves.

   --fe-halo/--fe-tag/--fe-title/--fe-enter/--fe-ring are set as
   constants, not a scroll ramp: nothing drives them here the way
   proof.js's chapter("scThreshold", …) drives chapter 10's own (see
   expansion.js, this pass's own comment, for why). --fe-open and
   --fe-gate are deliberately left unset. */
#scLineage #stLineage {
  display: grid;
  --fe-halo: 1;
  --fe-tag: 1;
  --fe-title: 1;
  --fe-enter: 1;
  --fe-ring: 1;
}

/* #vpHead.fe-title, pre-entry only. #scLineage #vpHead (VESICA
   PASS 1 and 4) is two IDs' worth of specificity; .fe-title is one
   class, so without this rule pass 4's own corner-heading treatment
   would always win the properties they share, and .fe-title's
   would never be seen. This rule matches #vpHead.fe-title — two IDs
   and a class, higher again — so it wins instead, restating
   .fe-title's own values (proof.css, read, never edited) for the
   properties pass 4's rule also sets: position, so grid-area can
   place it at all; width/height/overflow/clip-path, which pass 4
   needs for its own 1px-clip heritage and .fe-title does not;
   white-space, margin, font-size, opacity and transform, where the
   two committed rules genuinely differ. letter-spacing, line-height,
   color and font are identical in both already and are left alone.
   The :not([data-vp-entered="1"]) on the outer selector is what
   makes this temporary: once entered, this rule stops matching and
   #scLineage #vpHead resumes governing every one of these
   properties, unedited, exactly as it did before this pass. */
#scLineage:not([data-vp-entered="1"]) #vpHead.fe-title {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
  white-space: nowrap;
  text-align: center;
  margin: 0 0 4.5rem;
  font-size: clamp(2.6rem, 8.5vw, 7.5rem);
  opacity: var(--fe-title, 0);
  transform: translateY(calc((1 - var(--fe-title, 0)) * 2.4vh))
             scale(calc(0.985 + var(--fe-title, 0) * 0.015));
}

/* CHANGE 1 / CHANGE 2, the one-way gate. #scLineage's own
   data-vp-entered ("absent/0" then "1", set once, in expansion.js)
   decides which side is shown. Before "1": .fe-halo, .fe-tag,
   #vpEnter and .fe-pass need no rule here at all — they are already
   shown, by the constant --fe-* custom properties above (and by the
   plain browser defaults for visibility and pointer-events, which
   nothing before this pass ever set on them), the same way .fe-pass
   stays invisible without any rule here either, purely from
   expansion.css:3054's existing, global .fe-pass { display: none }
   — read, reported in this pass's own report, and not undone.
   .vp-read, #lgDraw and .vp-beneath ARE given a rule: opacity 0,
   visibility hidden and pointer-events none together, the way
   VESICA PASS 1 already hides #bnLineageBtn, so nothing inside them
   — the two press controls, the panel's own button — is reachable
   while invisible. After "1": the threshold's four pieces are
   hidden the same three-property way, and .vp-read/#lgDraw/
   .vp-beneath are only handed visibility and pointer-events back —
   never opacity, so .vp-beneath's own opacity: var(--vp-1, 0)
   (VESICA PASS 4, untouched) keeps deciding its reveal exactly as
   it always has, unchanged by this pass. */
#scLineage[data-vp-entered="1"] .fe-halo,
#scLineage[data-vp-entered="1"] .fe-tag,
#scLineage[data-vp-entered="1"] #vpEnter,
#scLineage[data-vp-entered="1"] .fe-pass {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 700ms var(--ease), visibility 0s 700ms;
}
#scLineage:not([data-vp-entered="1"]) .vp-read,
#scLineage:not([data-vp-entered="1"]) #lgDraw,
#scLineage:not([data-vp-entered="1"]) .vp-beneath {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 700ms var(--ease), visibility 0s 700ms;
}
#scLineage[data-vp-entered="1"] .vp-read,
#scLineage[data-vp-entered="1"] #lgDraw,
#scLineage[data-vp-entered="1"] .vp-beneath {
  visibility: visible;
  pointer-events: auto;
  transition: opacity 700ms var(--ease);
}

/* THE LEAVE LURCH — reproduced at her own viewport (763x639 and
   1180x639, real Chrome, real clicks) before this was touched, and
   measured to the frame: at the instant #vpLeave's own reset sets
   data-vp-entered back to "0", .fe-halo/.fe-tag/#vpEnter/.fe-pass POP
   to opacity 1 in a single frame — no transition was ever written for
   this direction, only for entering (above) — while .vp-read/#lgDraw/
   .vp-beneath are still mid-fade on their own correct 700ms transition
   (immediately above). For most of a second both the full-strength
   invitation and the still-fading drawing are on screen together. Not
   a scroll jump — scrollY barely moves across this same window,
   confirmed frame by frame — a picture change, exactly as she
   described it. Fixed the same way its mirror image already is: a
   transition on the state being returned to, not just the state being
   left, so the invitation fades in exactly as slowly as the drawing
   fades out instead of cutting in ahead of it.

   opacity only, on purpose — the very first attempt at this also
   added visibility: visible and pointer-events: auto here, matching
   the entered-state rule's own shape, and broke #vpEnter: .fe-halo's
   own base rule (proof.css, untouched) sets pointer-events: none
   deliberately, a 120vmax decorative ring that must never intercept
   the door sitting on top of it, and this pass's own higher-specificity
   #scLineage selector was overriding that the instant it left the
   entered state — caught by a real click actually failing (Playwright
   reported ".fe-halo intercepts pointer events"), not by reasoning
   about it. Visibility does not need restating either: it already
   reverts to the plain default the moment [data-vp-entered="1"] stops
   matching, exactly as it did before any of this chapter's own passes
   ever touched it. Only opacity was ever missing its transition. */
#scLineage:not([data-vp-entered="1"]) .fe-halo,
#scLineage:not([data-vp-entered="1"]) .fe-tag,
#scLineage:not([data-vp-entered="1"]) #vpEnter,
#scLineage:not([data-vp-entered="1"]) .fe-pass {
  opacity: 1;
  transition: opacity 700ms var(--ease);
}

/* .vp-group.is-vp-active (VESICA PASS 5) carries an explicit
   visibility: visible — group 1 is given that class unconditionally
   at load, before any scroll or press, so its own two PASS 3 press
   buttons were reachable by Tab straight through .vp-read's own
   inherited hidden state above, despite rendering at opacity: 0 the
   whole time — found by walking the actual tab order, not by
   reading the rule. Re-hidden here, pre-entry only, at higher
   specificity than PASS 5's own #scLineage .vp-group.is-vp-active
   rule; once entered this stops matching and PASS 5's rule governs
   again, exactly as it always has. */
#scLineage:not([data-vp-entered="1"]) .vp-group,
#scLineage:not([data-vp-entered="1"]) .vp-group.is-vp-active {
  visibility: hidden;
  pointer-events: none;
}

/* Reduced motion. proof.css's own .sc-stage > * rule forces
   opacity: 1 !important on every direct child of #stLineage —
   .vp-read, #lgDraw, .vp-beneath and this pass's own four threshold
   pieces among them — but never touches visibility or
   pointer-events, so the gate above (and the .vp-group fix above
   it) still holds entirely on those two properties; nothing here
   needs !important to keep working. .vp-group (VESICA PASS 5) is
   not a direct child of #stLineage, though — it is .vp-read's own
   child — so that blanket rule reaches it where it does not reach
   .vp-read itself, forcing .vp-group back to opacity: 1 regardless
   of .vp-read's own opacity: 0 above (the parent/child opacity
   compositing the non-reduced-motion gate quietly relies on).
   Re-zeroed here, pre-entry only, at higher specificity than PASS
   5's own reduced-motion rule; once entered this stops matching and
   PASS 5's rule governs again, untouched. Every duration this pass
   introduced is zeroed last — each selector below is repeated
   exactly as the rule above it that sets the transition it is
   meant to zero, not the bare #scLineage X this comment first tried
   (0,2,0,0): the gate's own rules above are two IDs plus an
   attribute or :not() (0,2,1,0 or 0,2,2,0 with .vp-group.is-vp-
   -active), so a same-media-query rule of lower specificity cannot
   reach their transition property at all, media query or not. Found
   by measuring the actual transitionDuration after a press, not by
   reading the rule — at 200ms under reduced motion the button was
   still visible, opacity and visibility both still animating on
   their full, un-reduced clocks. */
@media (prefers-reduced-motion: reduce) {
  #scLineage:not([data-vp-entered="1"]) .vp-group {
    opacity: 0;
  }
  #scLineage[data-vp-entered="1"] .fe-halo,
  #scLineage[data-vp-entered="1"] .fe-tag,
  #scLineage[data-vp-entered="1"] #vpEnter,
  #scLineage[data-vp-entered="1"] .fe-pass,
  #scLineage:not([data-vp-entered="1"]) .vp-read,
  #scLineage:not([data-vp-entered="1"]) #lgDraw,
  #scLineage:not([data-vp-entered="1"]) .vp-beneath,
  #scLineage[data-vp-entered="1"] .vp-read,
  #scLineage[data-vp-entered="1"] #lgDraw,
  #scLineage[data-vp-entered="1"] .vp-beneath {
    transition: none;
  }
}

/* ══════════════════════════════════════════════════════════════
   VESICA PASS 10 · THE VISITOR OPENS THE BOOK (positioning
   superseded by CHANGE 5, below — this comment kept for the parts
   still true: the flex + gap tick pattern .bn-open already uses,
   expansion.css:39, not the padding-left + ::before pattern at
   #ydGo/#ydClose/.yd-dir and .meru-go, a recorded 4px overlap bug;
   .vp-byrne-tick is its own class, not .bn-tick, since this button
   does not open a .bn-panel and should not inherit that system's
   own rules by sharing its selector; reachability still follows
   group 3's own .is-vp-active class via a MutationObserver
   (expansion.js, this pass), not a second opacity-epsilon computed
   here.

   CHANGE 5 — supersedes this pass's own position/right/bottom/
   z-index and opacity above: the trigger sat in the bottom-right
   corner, stacked with two other small text controls, easy to miss
   and disconnected from the two paragraphs (group 3, beats 7-8) it
   actually opens the book for. Moved in expansion.js (this pass) to
   be a normal, in-flow last child of .vp-group[data-vp-group="3"]
   itself, rather than an absolutely-positioned sibling of .vp-read —
   so it now sits directly under the text it relates to, in the same
   column, moving and fading with that group's own text rather than
   floating independently at a fixed corner. margin-top (below) gives
   it the same rhythm var(--s3) already gives the paragraphs above it
   (.vp-p, expansion.css, unedited). Opacity is 1, not var(--vpg-3,
   0): its own parent, .vp-group[data-vp-group="3"] (expansion.css,
   VESICA PASS 5, unedited), already carries that exact opacity, so
   reading it a second time here would have squared it instead of
   matching the original linear fade — this keeps the same effective
   curve as before the move, once via the parent instead of twice.
   visibility/pointer-events are untouched, still hidden until this
   element's own .is-vp-active is added (syncTrigger(), expansion.js,
   untouched) — the one-way latch this file's own comment there
   requires never removing, unaffected by which parent this button
   lives under. Position/z-index are dropped entirely: a normal flow
   element needs neither, and the z-index this pass's own comment
   above describes (clearing .vp-beneath's own stacking at .vp-read's
   bottom-left corner, ~92-96vh) does not apply at group 3's own
   position (~45-59vh, measured) — confirmed by an actual click after
   the move landing on the button, not assumed from the old rule. */
#scLineage .vp-byrne-open {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: var(--s3) 0 0;
  padding: 0.55rem 0;
  background: none;
  border: 0;
  cursor: pointer;
  font: var(--v-structural);
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 1;
  visibility: hidden;
  pointer-events: none;
  transition: color 320ms var(--ease);
}
#scLineage .vp-byrne-open.is-vp-active {
  visibility: visible;
  pointer-events: auto;
}
.vp-byrne-tick {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: width 420ms var(--ease), background 320ms var(--ease);
}
#scLineage .vp-byrne-open:hover,
#scLineage .vp-byrne-open:focus-visible {
  color: var(--accent);
}
#scLineage .vp-byrne-open:hover .vp-byrne-tick,
#scLineage .vp-byrne-open:focus-visible .vp-byrne-tick {
  width: 34px;
  background: var(--accent);
}
/* CHANGE 2's own named focus treatment — .lg-step:focus-visible
   (expansion.css:618), not .bn-open's own 6px offset */
#scLineage .vp-byrne-open:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 5px;
}
#scLineage .vp-byrne-open[aria-expanded="true"] {
  color: var(--accent);
}
#scLineage .vp-byrne-open[aria-expanded="true"] .vp-byrne-tick {
  width: 34px;
  background: var(--accent);
}

/* the book itself — a fixed overlay appended to <body> by
   vesicaByrneBook() (expansion.js), never to .sc-stage or
   .sc-track, following .yt-interior's own precedent
   (expansion.css ~3447) exactly: position: fixed; inset: 0;
   display: grid; place-items: center; the same top layer,
   z-index: 9999. */
.vp-book {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  display: grid;
  place-items: center;
}
.vp-book[hidden] { display: none; }

/* CHANGE 3. Height is the only fixed dimension; width is set in
   px by JS (sizeFrame(), expansion.js) from that measured height
   times each state's own true pixel aspect, so a board (state 0
   or 5, roughly 4:5) and a spread (states 1-4, roughly 3:2) share
   one height and differ only in width — the widening IS the
   opening, nothing else changes between the two. 56vw is sized to
   the wider case (a spread, ~1.52:1): at the narrowest supported
   width this keeps a spread's own computed width safely inside the
   viewport with room for both arrows either side; 78vh keeps the
   same box off the top and bottom edges at wide viewports, where
   width is no longer the binding constraint. This pass's own
   report works the arithmetic for both viewports and both states. */
.vp-book-frame {
  position: relative;
  height: min(78vh, 56vw);
  transition: width 520ms var(--ease);
}
.vp-book-page {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vp-book-page.is-current {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* height: 100%; width: auto — the same logic .meru-cover img uses
   (expansion.css:4569), chosen there for the same reason: the
   image's own aspect, not a box that would crop or stretch it */
.vp-book-page img {
  height: 100%;
  width: auto;
  max-width: none;
  display: block;
}

/* the turn controls — real <button>s, a hairline chevron (two 1px
   borders meeting at a corner, rotated), the same "hairline ticks"
   detailing as .vp-byrne-tick above, not an icon font or an SVG
   glyph library this site does not otherwise use */
.vp-book-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  color: rgba(251, 243, 232, 0.62);
  transition: color 300ms var(--ease), opacity 300ms var(--ease);
}
.vp-book-arrow span {
  display: block;
  width: 10px;
  height: 10px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}
.vp-book-arrow--prev { left: -4px; }
.vp-book-arrow--prev span { transform: rotate(-135deg); }
.vp-book-arrow--next { right: -4px; }
.vp-book-arrow--next span { transform: rotate(45deg); }
.vp-book-arrow:hover, .vp-book-arrow:focus-visible { color: var(--on-dark); }
.vp-book-arrow:focus-visible { outline: 1px solid var(--accent); outline-offset: 5px; }
.vp-book-arrow:disabled { opacity: 0; pointer-events: none; }

/* the way out — always visible, .bn-open's own safe tick pattern
   again, in #ydClose's own quiet register (rgba(251,243,232,.55)
   rising to .9) rather than its padding-left + ::before technique */
.vp-book-close {
  position: absolute;
  z-index: 2;
  top: var(--s3);
  right: var(--s3);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  padding: 0.4rem 0;
  background: none;
  border: 0;
  cursor: pointer;
  font: var(--v-structural);
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: rgba(251, 243, 232, 0.55);
  transition: color 300ms var(--ease);
}
.vp-book-close:hover, .vp-book-close:focus-visible { color: rgba(251, 243, 232, 0.9); }
.vp-book-close:focus-visible { outline: 1px solid var(--accent); outline-offset: 5px; }
.vp-book-close .vp-byrne-tick { width: 22px; }
.vp-book-close:hover .vp-byrne-tick, .vp-book-close:focus-visible .vp-byrne-tick { width: 34px; }

@media (prefers-reduced-motion: reduce) {
  /* the control: PASS 6's own .is-vp-active is set inside
     chapter("scLineage", …), which never runs under reduced motion
     (chapter()'s own contract) — the same gap PASS 6 itself had to
     close for .vp-group, closed the same way here */
  #scLineage .vp-byrne-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: none;
  }
  .vp-byrne-tick,
  .vp-book-frame,
  .vp-book-arrow,
  .vp-book-close {
    transition: none;
  }
}

/* ══════════════════════════════════════════════════════════════
   VESICA PASS 11 · THREE THINGS JULIA SAW AND DISLIKED

   A note on .lg-step:focus-visible, named in this pass's own
   prompt as living in proof.css alongside .fe-enter:focus-visible.
   Read, checked, reported rather than assumed: .fe-enter:focus-
   visible is confirmed at proof.css:731, but .lg-step:focus-visible
   is in this file, expansion.css:618 — part of the committed base
   this branch inherited, not one of proof.css's own rules, and not
   shared with chapter 10 (the "lg-" prefix is this chapter's own
   original name, Lineage). Nothing here edits it either way; it is
   only read, as CHANGE 3 asks, for its hairline-growth pattern. */

/* CHANGE 1 · THE FOCUS BOX BECOMES A LINE

   Five controls, one rule each, same selector as the rule being
   superseded, later in the file so it wins on outline alone —
   nothing else in any of the five original rules is touched.
   outline: none never appears without its own replacement in the
   same rule, here or below. */

/* #scLineage .vp-press:focus-visible (VESICA PASS 3, expansion.css
   :5393). No separate label element exists — makePress()
   (expansion.js) puts the sentence directly in the button, so the
   button itself is "the label" and the hairline goes under its own
   full width, not a child's. Ink already moves here (the ring's own
   stroke-width doubling on :focus-visible — CHANGE 2, 13 September,
   superseded the tick this comment originally named, which grew
   22px to 34px) and colour already changes (:hover, :focus-visible
   { color: var(--on-dark) }, untouched) — this rule adds the third
   signal, new ink, and removes the rectangle in the same declaration. */
#scLineage .vp-press:focus-visible {
  outline: none;
  box-shadow: inset 0 -1px 0 var(--accent);
}

/* #scLineage .vp-byrne-open:focus-visible (VESICA PASS 10,
   expansion.css:5907). Ink moves (the existing :focus-visible
   .vp-byrne-tick rule still grows 22px to 34px) and colour already
   changes (:focus-visible { color: var(--accent) }, untouched); new
   ink is the hairline, under the text label specifically — the
   span built right after .vp-byrne-tick in vesicaByrneBook()
   (expansion.js) — not under the tick itself, which already has
   its own growth as its own signal. */
#scLineage .vp-byrne-open:focus-visible {
  outline: none;
}
#scLineage .vp-byrne-open:focus-visible .vp-byrne-tick + span {
  box-shadow: inset 0 -1px 0 var(--accent);
}

/* .vp-book-close:focus-visible (VESICA PASS 10, expansion.css
   :6037). Same shape as .vp-byrne-open immediately above — ink
   moves (existing .vp-byrne-tick grow, untouched), colour already
   changes on :hover/:focus-visible (untouched), new ink is the
   hairline under vesicaByrneBook()'s own closeLabel span. */
.vp-book-close:focus-visible {
  outline: none;
}
.vp-book-close:focus-visible .vp-byrne-tick + span {
  box-shadow: inset 0 -1px 0 var(--accent);
}

/* #bnVesicaBtn:focus-visible. Its rule, found and reported: none —
   #bnVesicaBtn carries no dedicated rule anywhere in this file; it
   inherits .bn-open in full (expansion.css:39-57, committed,
   site-wide — #bnLineageBtn, #bnExplBtn, #bnBreathBtn and others
   all share it too), including .bn-open:focus-visible's own
   outline. Scoped here to the #bnVesicaBtn id alone — never
   .bn-open itself, which this pass does not touch — so no other
   chapter's own beneath button changes. Ink moves (.bn-tick already
   grows 22px to 34px on :hover/:focus-visible, untouched) and
   colour already changes (:focus-visible { color: var(--accent) },
   untouched); new ink is the hairline under the label span
   vesicaChapterOpens() (expansion.js, VESICA PASS 4) already builds
   after .bn-tick. */
#bnVesicaBtn:focus-visible {
  outline: none;
}
#bnVesicaBtn:focus-visible .bn-tick + span {
  box-shadow: inset 0 -1px 0 var(--accent);
}

/* .vp-book-arrow:focus-visible (VESICA PASS 10, expansion.css
   :6011). No label at all, so CHANGE 1 names its own three-part
   substitute: the chevron itself grows (ink moves) and turns
   var(--accent) (colour changes) via the two rules below; new ink
   is a 1px accent rule directly under the 44px hit area, a ::after
   on the button itself (already position: absolute, already this
   pass's own valid containing block for it — no extra position
   rule needed). CHANGE 3's own new base chevron size, 16px, is
   superseded here only while focused. */
.vp-book-arrow:focus-visible {
  outline: none;
  color: var(--accent);
}
.vp-book-arrow:focus-visible span {
  width: 24px;
  height: 24px;
}
.vp-book-arrow:focus-visible::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--accent);
}

/* #vpEnter is deliberately left alone. It carries .fe-enter, whose
   own :focus-visible (proof.css:731, outline: 1px solid var(--accent);
   outline-offset: 14px) is committed and shared with chapter 10's
   own #feEnter — not this pass's to touch, and not one of the five
   controls CHANGE 1 names. It still shows that outline; reported,
   not fixed, in this pass's own report. */

/* VESICA PASS 70 · THE DOOR'S OWN RING, FOR REAL THIS TIME

   The paragraph immediately above is PASS 11's own report, unedited
   — proof.css is still not this pass's file to touch. Fixed instead
   by out-specificity-ing proof.css:731 from inside this file: one id
   plus two classes/pseudo-classes below beats proof.css's own one
   class plus one pseudo-class, so this wins regardless of which
   stylesheet the page loads first or last.

   .vp-ring-off is added by expansion.js's own vesicaCloses() (the
   #vpLeave click handler, "PASS 70" there too) only when that click
   was a real mouse press (evt.detail > 0) rather than a keyboard
   Enter/Space activation (evt.detail === 0) — see that function's
   own comment for why the browser's ambient :focus-visible modality
   cannot be trusted alone to tell the two apart. Removed again on
   #vpEnter's own next blur, so a later Tab away and back still shows
   the ring exactly as before.

   Both properties :focus-visible ever changes on #vpEnter are reset
   here, not only the outline: proof.css:740 also thickens the ring's
   own circle under :focus-visible (shared with :hover, untouched),
   and resetting only the outline would leave the door looking
   different after a mouse-leave than it did before ever entering. */
#vpEnter.vp-ring-off:focus-visible { outline: none; }
#vpEnter.vp-ring-off:focus-visible .fe-ring circle { stroke-width: 1; }

/* CHANGE 2 · THE MANDORLA IS SHOWN WHERE IT IS

   A later rule, same selector as VESICA PASS 1/3's own #scLineage
   .vp-lens (expansion.css:5221 for stroke/stroke-width/filter,
   :5320 for opacity/stroke-dasharray/stroke-dashoffset/transition —
   neither edited), redeclaring only stroke-width and filter, driven
   continuously by --vpi-7 (VESICA PASS 4's own watcher, untouched)
   rather than switched by a threshold: at --vpi-7 = 0 the calc()
   below resolves to exactly the base rule's own 1.4 and the base
   rule's own two alpha values, so there is no seam between "this
   rule doesn't apply yet" and "it applies at zero." --vpi-3 (VESICA
   PASS 3) is not read or touched here — the lens's own draw-on and
   its beat-7 emphasis are two independent signals on the same
   element, composed by the ordinary cascade, not one rule doing
   both jobs.

   CHANGE 6 · THE ILLUMINATION COMES OUT FROM UNDER THE FIGURE

   Found by rendering, not by guessing a remembered variable name:
   with the construction drawn and Euclid's portrait risen (both
   forced on at once and screenshotted, this pass's own report), the
   lens's own two-layer glow — this rule, the only drop-shadow near
   #lgDraw driven by a custom property, both layers set on #stLineage
   by chapter("scLineage", …) watchers (vesicaEuclidBehindFigure() for
   --vpi-euclid, expansion.js, this pass's own diagnosis; VESICA PASS
   4 for --vpi-7, untouched) — sits, by DOM order (VESICA PASS 18's
   own comment, above), in front of .vp-euclid (.lg-draw's own paint
   order: beams, then the portrait, then .vp-svg, which carries this
   lens), painting a bright pink halo directly across the painting's
   own face every time both are on screen together. --vpi-euclid
   (0 outside its own band, 1 at peak, expansion.js) multiplies both
   layers' own alpha here, alongside the existing --vpi-7 term rather
   than replacing it: at --vpi-euclid = 0 the added factor is exactly
   1, so beat 7's own emphasis (immediately above) is unchanged
   outside the portrait's own window; as the portrait rises the same
   two layers recede toward fully transparent and return once it
   falls again (band(), not a one-way latch — expansion.js, this
   pass's own comment), reading through clearly for exactly as long as
   the portrait itself is shown, without a second rule and without
   touching stroke-width, the triangle, or either beam. */
#scLineage .vp-lens {
  stroke-width: calc(1.4 + 0.8 * var(--vpi-7, 0));
  filter: drop-shadow(0 0 6px rgba(255, 180, 220, calc((0.75 + 0.2 * var(--vpi-7, 0)) * (1 - var(--vpi-euclid, 0)))))
          drop-shadow(0 0 22px rgba(255, 140, 200, calc((0.35 + 0.2 * var(--vpi-7, 0)) * (1 - var(--vpi-euclid, 0)))));
  transition: stroke-width 500ms var(--ease), filter 500ms var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  #scLineage .vp-lens { transition-duration: 0ms; }
}

/* CHANGE 3 · THE BOOK SHOWS THAT IT TURNS

   Arrows: moved clear of the frame with a real 14px gap (the
   button's own far edge sits 58px from the frame's own edge; its
   near edge, 14px away, is what reads as "clear of the page"), a
   16px chevron (was 10px), and a resting colour raised to
   rgba(251,243,232,.85) (was .62) — chosen to match the same
   off-white family .vp-book-close (VESICA PASS 10) already uses at
   .55/.9, not a new hue. .vp-book-frame's own height formula is
   superseded — same selector, later rule — because moving the
   arrows outside the frame means the frame itself must now leave
   room for them or they overflow the viewport at 390px; the
   arithmetic (58px reserved either side, plus an 8px buffer to the
   viewport's own edge) is this pass's own report. */
.vp-book-frame {
  height: min(78vh, calc((100vw - 132px) / 1.5248));
}
.vp-book-arrow {
  width: 44px;
  height: 44px;
  color: rgba(251, 243, 232, 0.85);
}
.vp-book-arrow span {
  width: 16px;
  height: 16px;
}
.vp-book-arrow--prev { left: -58px; }
.vp-book-arrow--next { right: -58px; }

/* the state marks — six hairline <button>s, .lg-step i's own
   pattern (expansion.css:618: 14px growing to 34px, accent on
   [aria-current="true"]), read and matched, not edited or reused
   by selector. Built by vesicaByrneMarks() (expansion.js, this
   pass), appended inside #vpBook itself, so PASS 10's own
   focusables() (a live query over book.querySelectorAll("button
   :not([disabled])"), not a cached list) already includes them in
   the existing focus trap without this pass touching that
   function. */
.vp-book-marks {
  position: absolute;
  left: 50%;
  bottom: 5vh;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
}
.vp-book-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  color: rgba(251, 243, 232, 0.55);
  transition: color 340ms var(--ease);
}
.vp-book-mark i {
  display: block;
  width: 14px;
  height: 1px;
  background: currentColor;
  transition: width 420ms var(--ease), background 320ms var(--ease);
}
.vp-book-mark:hover,
.vp-book-mark:focus-visible { color: rgba(251, 243, 232, 0.9); }
.vp-book-mark[aria-current="true"] { color: var(--accent); }
.vp-book-mark[aria-current="true"] i { width: 34px; background: var(--accent); }
/* the same non-rectangular focus this pass gives every other
   control, applied to its own new one so CHANGE 1's own fault is
   not reintroduced here: ink moves (the hairline grows again, to
   the same 34px [aria-current="true"] already reaches) and colour
   changes (shared with :hover, above). outline: none is set
   explicitly, not left to the browser's own default — measured as
   inconsistent between renders otherwise, "auto" in one and "none"
   in another with nothing else changed. */
.vp-book-mark:focus-visible {
  outline: none;
}
.vp-book-mark:focus-visible i { width: 34px; }

@media (prefers-reduced-motion: reduce) {
  .vp-book-mark,
  .vp-book-mark i {
    transition: none;
  }
}

/* ══════════════════════════════════════════════════════════════
   VESICA PASS 13 · THE BOOK ON A PHONE — CHANGE 2 AND CHANGE 3

   Redeclares .vp-book-frame's height, later in the file than every
   existing rule for that selector, so cascade order — not
   specificity — is what makes this win below 640px. 0.762389 is a
   single page's own aspect, 1200 / 1574 (VESICA PASS 12's own
   dimensions, assets/img/byrne, asset_log.md §12.1), fitted to the
   same "reduced viewport height, or fixed pixel room subtracted
   then divided by the box's own aspect, whichever is smaller" shape
   VESICA PASS 11's rule already uses for the spread's own 1.5248.
   16px replaces VESICA PASS 11's own 132px because the arrows below
   move back inside the frame, so it no longer has to reserve room
   outside itself for them — 8px of breathing room either side is
   all that remains.

   Arrows: VESICA PASS 11's own -58px assumed 58px of room outside
   the frame; below 640px there is none, so they return to VESICA
   PASS 10's own -4px, in this query only — size, chevron, colour
   and focus treatment are all untouched.

   Marks: ten of VESICA PASS 11's own 28px .vp-book-mark at its own
   0.9rem gap overflow a 390px viewport; gap alone is narrowed here,
   selector and widths untouched. */
@media (max-width: 640px) {
  .vp-book-frame {
    height: min(72vh, calc((100vw - 16px) / 0.762389));
  }
  .vp-book-arrow--prev { left: -4px; }
  .vp-book-arrow--next { right: -4px; }
  .vp-book-marks { gap: 0.45rem; }
}

/* ══════════════════════════════════════════════════════════════
   VESICA PASS 14 · BEAT 3 IS BUILT

   .vp-width and .vp-height (expansion.js, vesicaBeatThree(), below
   vesicaChapterOpens()) are siblings of .vp-lens and .vp-tri inside
   #lgDraw .vp-svg, following .vp-tri's own precedent exactly: the
   committed .lg-g line treatment (:569-572) restated here rather
   than inherited, since neither new element carries the .lg-g
   class (the lens and the triangle do not either, for the same
   reason given at :5151 — this pass adds no new reason).
   pathLength="1" against stroke-dasharray/stroke-dashoffset,
   exactly as .vp-c1/.vp-c2/.vp-lens/.vp-tri already do.

   Opacity reads --vpi-9 (width) and --vpi-10 (height), set inside
   VESICA PASS 4's own watcher — see that function's own comment,
   expansion.js. The dash itself is gated on two new one-way
   attributes, data-vp-width="on" and data-vp-height="on", each set
   once its own property has begun to rise — the same reason
   data-vp-tri exists (expansion.js, VESICA PASS 4's own comment,
   restated there for these two): the dash must not finish
   travelling before the opacity has risen enough to show it. */
#scLineage .vp-width,
#scLineage .vp-height {
  fill: none;
  stroke: rgba(251,243,232,0.42);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1800ms var(--ease), opacity 1800ms var(--ease);
}
#scLineage .vp-width  { opacity: var(--vpi-9, 0); }
#scLineage .vp-height { opacity: var(--vpi-10, 0); }
#scLineage[data-vp-width="on"] .vp-width { stroke-dashoffset: 0; }
#scLineage[data-vp-height="on"] .vp-height { stroke-dashoffset: 0; }

/* the fourth group — VESICA PASS 5's own .vp-group rule
   (:5602-5604) gives groups 1, 2 and 3 each their own opacity, by
   an attribute selector pinned to --vpg-1/2/3; there is no such
   rule for group 4 (GROUPS array, expansion.js, CHANGE 2), so
   without one it falls through to the bare .vp-group rule just
   above those three, which reads --vpg-1 — group 4 would silently
   track group 1's own opacity instead of its own. This rule is the
   fix, added at the same specificity and after those three so
   cascade order need not be relied on. None of the three existing
   [data-vp-group] rules is touched. */
#scLineage .vp-group[data-vp-group="4"] { opacity: var(--vpg-4, 0); }

/* the fifth group — VESICA PASS 21, same precedent as the rule just
   above: without its own [data-vp-group="5"] rule, group 5 would
   fall through to the bare .vp-group rule (:5595-5601) and silently
   track --vpg-1 instead of its own --vpg-5. Added at the same
   specificity, after the group 4 rule, so cascade order need not be
   relied on; none of the existing [data-vp-group] rules is touched. */
#scLineage .vp-group[data-vp-group="5"] { opacity: var(--vpg-5, 0); }

@media (prefers-reduced-motion: reduce) {
  /* the still route: VESICA PASS 4's own reduced-motion block
     (:5566) pins --vpi-4 through --vpi-8 to 1 and both new marks'
     dash to 0 the same way; data-vp-width/data-vp-height are never
     set under reduced motion since the watcher that sets them
     never runs (chapter()'s own contract, expansion.js:43) */
  #scLineage[data-vp-step="2"] #stLineage {
    --vpi-9: 1; --vpi-10: 1;
  }
  #scLineage[data-vp-step="2"] .vp-width,
  #scLineage[data-vp-step="2"] .vp-height { stroke-dashoffset: 0; }
  #scLineage .vp-width,
  #scLineage .vp-height { transition-duration: 0ms; }
}

/* ══════════════════════════════════════════════════════════════
   VESICA PASS 18 · EUCLID BEHIND THE FIGURE

   Supersedes VESICA PASS 17's own rules for .vp-euclid — see
   expansion.js's own VESICA PASS 18 comment for why (measured at one
   window size, overflowed Julia's own smaller one). Nothing here was
   committed, so this replaces rather than guards it off.

   .vp-euclid (expansion.js, vesicaEuclidBehindFigure()) is now
   inside #lgDraw itself, filling that box — #lgDraw's own size,
   position and opacity (VESICA PASS 1) are untouched and already
   scale with the viewport (width: min(74vh, 46vw), aspect-ratio:
   1/1), so this element can never overflow a real window the way a
   fixed-pixel placement inside .vp-read did. pointer-events: none is
   load-bearing: without it, this box would sit over .vp-svg's own
   two circles in hit-testing order and the visitor's press to draw
   them would land here instead.

   max-width: 480px on the image itself, not the wrapper — the
   painting's true width, never displayed larger, independent of how
   large #lgDraw itself grows at wider viewports.

   Layering is DOM order, not z-index — #scLineage .vp-beam--1,
   .vp-beam--2 (:5210, :5220, :5225) and #scLineage .vp-svg (:5177)
   declare no z-index among them, all computing to auto; expansion.js
   inserts .vp-euclid immediately before .vp-svg, after both beams
   (VESICA PASS 2's own draw.insertBefore(beam, svg) calls already
   put both there), so it paints above the beams and below the drawn
   lines with no z-index added anywhere.

   Opacity: --vpi-euclid (expansion.js, this pass) carries raw 0-1
   scroll progress; 0.55 is the peak, applied here in one place —
   Julia's own value, to move after looking, not tuned by this pass.
   No transition (the value already arrives eased from JavaScript,
   same reasoning VESICA PASS 17 gave for --vpi-4). No filter, no
   blur, no blend mode, no border, no shadow, no scale, no slide —
   CHANGE 2's own words.

   #scLineage .vp-euclid picture { display: contents; } is not named
   in CHANGE 2 and is required for CHANGE 2's own max-height: 100% to
   do anything: percentage heights resolve against a containing
   block with a definite height, and <picture>, left as its default
   inline display, has none — computed to auto — so without this the
   img's own max-height: 100% is ignored and it paints at its full
   808px native height regardless of #lgDraw's own size, overflowing
   exactly the way pass 17's own fixed-pixel placement did, just by a
   different mechanism. display: contents removes <picture> from the
   box tree entirely, so <img> becomes the flex item directly — flex
   items' own percentage heights resolve against the flex container's
   definite cross size, which #scLineage .vp-euclid (above) has, from
   inset: 0 inside #lgDraw's own sized box. Found by measuring at
   1280×800 and 1366×768, not assumed from the rule alone — the
   1440×900 case this pass first tested happened to leave enough
   headroom (#lgDraw is 720×720 there) that the same bug produced no
   visible overflow, the same kind of single-size blind spot this
   pass exists to correct. */
/* VESICA PASS 22 · THE PAINTING JOINS THE ROOM

   Julia, looking at the real page: the portrait "looks like it is
   pasted on the background." It was — a rectangle of painting at
   0.55 opacity over a room that paints at rgb(7, 8, 12), no
   vignette, no mask, no blend mode. This project already solved
   exactly this problem once, for the photographs in the Naturalist
   chapter (.na-photo img, expansion.css ~1390) and again for
   specimen IV's interference clip (.na-video video, ~1413): lighten
   plus a radial-gradient mask, so a photograph's own dark ground
   dissolves into the page's dark instead of forming a visible edge,
   and only what is brighter than the room survives. Applied here,
   not invented here.

   mix-blend-mode: lighten goes on .vp-euclid itself, not the img,
   on purpose: this element already carries opacity: calc(var(--vpi-
   euclid, 0) * 0.55) (VESICA PASS 18, below), and an element with
   both opacity and a blend mode is rendered into a group at that
   opacity and then the whole group is blended with the backdrop —
   which is the behaviour wanted here. Putting the blend on the img
   instead would blend the img against its own parent (.vp-euclid,
   a transparent flex box) rather than against the room.

   0.55 is untouched — Julia's own number, CHANGE 1's own words: "do
   not move it." Rendered and looked at with lighten applied: the
   painting reads fainter than before, since lighten can only ever
   keep a pixel or lighten it toward the backdrop, never darken one,
   so the overall painting loses some presence next to the flat 0.55
   rectangle it replaces. See this pass's own report for the number
   this pass would suggest instead, not applied here. */
#scLineage .vp-euclid {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: calc(var(--vpi-euclid, 0) * 0.55);
  mix-blend-mode: lighten;
}
#scLineage .vp-euclid picture {
  display: contents;
}
#scLineage .vp-euclid img {
  display: block;
  max-height: 100%;
  max-width: 480px;
  width: auto;
  height: auto;
  /* VESICA PASS 23 — Julia, looking at the real page: "the picture
     has a white border around it... it looks pasted under the
     screen." Measured directly from TEMP-euclid-panel.jpg (480×808):
     a roughly 3px white scan margin on top, left and bottom (none on
     the right), and a cream caption band running from about y=750 to
     y=807 under a dark frame line at y=747-748 — the bottom 62px of
     808, about 7.7%. mix-blend-mode: lighten (VESICA PASS 22) keeps
     whatever is brighter than the room, so that margin was preserved
     at nearly full strength while the painting's own darks dissolved
     — pass 22 did not create the border, it made it the brightest
     object on screen. Cropped here, in CSS, not on disk: the file
     keeps the whole panel, inscription included (asset_log.md); the
     page shows a detail of it. Percentages, not pixels, because this
     img carries max-height: 100% and can scale down on a short
     viewport, where a pixel inset would cut the wrong amount. top/
     bottom resolve against the img's own 808px height, left/right
     against its 480px width, per the property's own definition:
       top    0.6% of 808 ≈ 5px  — takes the 3px margin with headroom
       sides  0.9% of 480 ≈ 4px  — takes the 3px left margin; the
                                    right edge has none but is cut to
                                    match, at a cost of about 4px of
                                    painting
       bottom 8%   of 808 ≈ 65px — takes the caption band and the
                                    frame line above it
     The element keeps its own full box, so cutting more from the
     bottom than the top shifts the visible figure up within it — see
     this pass's own report for how that reads; no compensating
     offset is added here on purpose, CHANGE 2's transform is not for
     that. */
  clip-path: inset(0.6% 0.9% 8% 0.9%);
  /* an ellipse, not the precedent's circle (.na-video video, ~1436):
     that block masks a square-ish plate, this masks a tall panel —
     480 wide by about 808 tall — and a circle would cut the top and
     bottom off the figure. Centred at 50% 44%, not 50% 50%, because
     the head sits above the panel's own centre. Both the shape and
     the centre are the director's own choices, named so they can be
     argued with. --vp-euclid-vignette is one number in one place to
     tune after looking, the same pattern --water-vignette already
     uses just above; built at 58%, not tuned by this pass. */
  --vp-euclid-vignette: 58%;
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 44%,
    #000 var(--vp-euclid-vignette, 58%), transparent 100%);
  mask-image: radial-gradient(ellipse 72% 70% at 50% 44%,
    #000 var(--vp-euclid-vignette, 58%), transparent 100%);
  /* VESICA PASS 23 — the parallax. No new JavaScript: chapter()'s own
     render() (expansion.js:55) already writes --p onto the stage
     every frame, and this file already reads var(--p, …) in twelve
     other places — confirmed before writing this, not assumed. On
     the img, not on .vp-euclid: that element carries mix-blend-mode:
     lighten (VESICA PASS 22), and a transform creates a stacking
     context, which could change what the blend blends against;
     keeping the transform on the child leaves the blending layer
     untouched. Drifts up as the page scrolls down, so the picture
     lags the fixed geometry rather than racing it. 0.42 and -36vh are
     the director's own numbers, not derived here — see this pass's
     own report for how they read. */
  transform: translateY(calc((var(--p, 0) - 0.42) * -36vh));
}

@media (prefers-reduced-motion: reduce) {
  #scLineage[data-vp-step="2"] #stLineage { --vpi-euclid: 1; }
}

/* ══════════════════════════════════════════════════════════════
   VESICA PASS 17 · BYRNE'S EUCLID LOOKS PRESSABLE

   Julia: "The BYRNE'S EUCLID line has to show that it's clickable."
   #scLineage .vp-byrne-open and .vp-byrne-tick (VESICA PASS 10,
   expansion.css ~5868-5929) are read, not edited — this is a new
   rule, scoped to .vp-byrne-open's own tick specifically
   (#scLineage .vp-byrne-open .vp-byrne-tick), not the bare
   .vp-byrne-tick class that selector shares with .vp-book-close
   (VESICA PASS 10/13, the book's own close button) — a pulse here
   must not reach that unrelated control.

   One property, one choice: width, between the committed rule's own
   resting 22px and hover/focus/active's own 34px — the same
   dimension that rule already moves on press, now moving slowly at
   rest too, so the resting signal reads as the same gesture
   softened, not a second one. Not opacity (the button is already at
   its own steady --vpg-3-driven opacity when reachable — pulsing
   that would read as the button itself flickering in and out, not
   inviting) and not colour (colour is reserved for the committed
   hover/focus/active state — accent on an unpressed control would
   misreport it as already active, and --accent is a mark, never a
   fill, CHANGE 3's own words). 2600ms, ease-in-out, infinite — slow
   enough to read as breathing, not an alert.

   animation: none on hover/focus-visible/[aria-expanded="true"] —
   without this, the running animation would keep pulling width back
   toward 22px mid-cycle, fighting the committed rule's own 34px
   instead of yielding to it cleanly.

   VESICA PASS 19 — Julia has since agreed to colour at rest; added
   to the one keyframe block above rather than a second animation,
   as that pass's own CHANGE 3 asks. background now moves between
   currentColor (this pass's own resting colour, var(--on-dark-2) —
   the committed rule, above) and var(--accent) across the same
   0%/50%/100% keyframe width already moves on, so rest reads as
   breathing at 28px/dim-to-accent and hover stays still and bright
   at 34px/full accent — distinguishable by both motion and colour,
   not colour alone. --accent stays a mark, never a fill: this is
   still a 1px-tall, 22-28px hairline, not a filled or glowing
   shape. */
@keyframes vp-byrne-pulse {
  0%, 100% { width: 22px; background: currentColor; }
  /* VESICA PASS 20 — was background: var(--accent); at the 50% stop,
     which meant the breath's peak and the hovered/active state
     (#scLineage .vp-byrne-open:hover .vp-byrne-tick, below) shared
     the exact same colour, six pixels of width the only difference
     at that instant — the resting control could read as already
     pressed. color-mix() against currentColor, not transparent, is
     this file's own idiom for keeping a hue on-token while pulling
     it short of the mark (.yt-gate-glow, expansion.css ~4077, same
     reasoning). 40% is the director's own number, not derived here —
     see this pass's own report for how it reads. */
  50% { width: 28px; background: color-mix(in srgb, var(--accent) 40%, currentColor); }
}
#scLineage .vp-byrne-open .vp-byrne-tick {
  animation: vp-byrne-pulse 2600ms var(--ease) infinite;
}
#scLineage .vp-byrne-open:hover .vp-byrne-tick,
#scLineage .vp-byrne-open:focus-visible .vp-byrne-tick,
#scLineage .vp-byrne-open[aria-expanded="true"] .vp-byrne-tick {
  animation: none;
}
@media (prefers-reduced-motion: reduce) {
  /* rests at the pulse's own most visible state, 28px/the mixed
     colour the 50% keyframe now uses (VESICA PASS 20 — was
     background: var(--accent), which sat this control permanently
     at full accent from zero scroll, before any interaction, under
     reduced motion; the same discipline every other animated rule
     on this branch follows */
  #scLineage .vp-byrne-open .vp-byrne-tick {
    animation: none;
    width: 28px;
    background: color-mix(in srgb, var(--accent) 40%, currentColor);
  }
}

/* ══════════════════════════════════════════════════════════════
   VESICA PASS 19 · THE WAY INTO THE BOOK NEVER LEAVES

   #scLineage .vp-byrne-open.is-vp-active (VESICA PASS 10,
   expansion.css ~5897) is read, not edited — a later rule, same
   selector-weight problem CHANGE 2 names: group 3 (VESICA PASS 15)
   now has an exit window, so .is-vp-active is removed from the
   button the moment that reading leaves, and from about 40% of the
   track onward the only way into the book was invisible.
   syncTrigger() (vesicaByrneBook(), above) no longer removes the
   class once added — see that function's own comment — but the fix
   Julia actually asked for is this one: a one-way latch,
   data-vp-byrne="on" (expansion.js, vesicaEuclidBehindFigure(),
   above), set the first time --vpi-euclid rises, never unset, so
   the way in appears at the same moment the picture does and stays
   for the rest of the chapter regardless of which group is active.
   #scLineage[data-vp-byrne="on"] .vp-byrne-open — id + attribute +
   class, the same specificity as VESICA PASS 10's own
   .is-vp-active rule, later in the file, so this is the value that
   wins; nothing in that earlier rule is touched. visibility and
   pointer-events travel with opacity here on purpose: opacity alone
   would leave a control that is either invisible and still
   clickable, or visible and dead, both faults this branch has
   already had once. */
#scLineage[data-vp-byrne="on"] .vp-byrne-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  /* VESICA PASS 20 — addition, not an edit to the committed base
     rule (expansion.css:5868, opacity: var(--vpg-3, 0); transition:
     color 320ms var(--ease);): that rule's own transition is colour
     only, so without this the latch switched opacity 0→1 in a
     single frame while every other reveal in this chapter fades.
     color 320ms var(--ease) is restated verbatim, not reinvented,
     so this declaration does not silently drop the base rule's own
     colour transition — the last transition declaration to match
     wins as a whole, it does not merge property-by-property with an
     earlier one on the same element. 520ms is the director's own
     number, not derived from the tick's 420ms width transition
     (expansion.css:5906) or the base rule's 320ms — see this pass's
     own report for how it reads. */
  transition: opacity 520ms var(--ease), color 320ms var(--ease);
}

/* ══════════════════════════════════════════════════════════════
   PASS 49 · THE CHAPTER GOES BEHIND ITS OWN DOOR

   (Numbered 49, not 25 — the prompt that requested this pass named
   it PASS 25, but that number is already this file's own, at
   expansion.css:3228, "PASS 25 - THE TWO JOURNEYS", for an
   unrelated Sri Yantra control. 48 is the highest pass number
   already in use across this file and expansion.js; 49 is the next
   free one. Reported in this pass's own report, not silently
   renumbered without saying so.)

   Julia, 22 August: chapter 08 should be entered like Sri Yantra,
   as an Exploration — but "vesica should be seen," so unlike Sri
   Yantra the invitation itself has to stay in the free scroll,
   visible and reachable without a click. Chapter 11's own
   precedent (workroomBehindTheDoor(), expansion.js, 16 August)
   takes its whole section out of flow with display:none until a
   crossing adds .is-entered — read before writing this, as asked.
   Copying it literally would break the one thing this pass
   changes: #scYantra's own invitation lives outside its section,
   in chapter 10 (#scThreshold), so hiding #scYantra never hides its
   own door. #scLineage's invitation is built INSIDE #stLineage
   itself (vesicaThreshold(), expansion.js) — .fe-halo, .fe-tag,
   #vpHead.fe-title, #vpEnter and .fe-pass. display:none on
   #scLineage would take the door out with the room and make the
   chapter unreachable.

   So this pass gates the TRACK, not the section. #scLineage and
   its stage stay in flow and visible at every scroll position;
   only .sc-track--lineage's own height collapses, from six screens
   to one, so scrolling past the invitation costs one screen instead
   of six and the chapter after it arrives immediately. Nothing
   inside the stage needs a new visibility rule for this alone: the
   existing one-way gate (expansion.css ~5748, PASS 7/CHANGE 1-2,
   untouched) already keeps the reading hidden and the invitation
   shown pre-entry on #scLineage's own data-vp-entered attribute —
   this reuses that exact attribute rather than adding a second one,
   and reads it, never sets it.

   #scLineage:not([data-vp-entered="1"]) .sc-track--lineage — one ID
   plus a :not() on an attribute plus a class, specificity (1,2,0) —
   outweighs both .sc-track--lineage { --track: 600vh } (expansion.
   css:32) and its narrow-breakpoint copy (~1000, --track: 580vh),
   each specificity (0,1,0), at every width, so one rule here beats
   both without a matching @media block of its own. Neither of those
   two rules is edited: 600vh and 580vh are Julia's own numbers, set
   by feel, and this rule only ever wins before the visitor presses
   #vpEnter — once data-vp-entered is "1" it stops matching and
   whichever of those two rules the current width already selects
   resumes governing, exactly as it always has.

   At --track: 100vh, .sc-stage's own height: 100vh (proof.css:144)
   leaves chapter()'s own travel = b.height - window.innerHeight at
   0 or negative, so chapter()'s own render() (expansion.js ~51-53)
   sets p = 0 unconditionally — every scroll-driven value in this
   chapter already reads 0 at p = 0, so nothing before entry needs
   its own zeroing rule here; confirmed by rendering, in this pass's
   own report. */
#scLineage:not([data-vp-entered="1"]) .sc-track--lineage { --track: 100vh; }

/* PASS 49 · A WAY BACK OUT

   Chapter 11's own comment: "Leaving by 'Back to the invitation'
   takes it out again, so the free scroll is clean whichever way
   the visitor arrived." Chapter 08 had no way out at all before
   this pass. One new control, #vpLeave, built in vesicaCloses()
   (expansion.js) the same way #vpEnter is built in
   vesicaThreshold() (untouched). "Back to the invitation" is
   chapter 11's own wording (.yt-back's own label), reused rather
   than invented, as asked.

   Tried first as a plain child of .vp-read, the way #ytBack is a
   child of .yt-read — reverted. .vp-read carries its own z-index: 6
   (expansion.css:5245), so nothing inside it can out-stack
   .vp-beneath's z-index: 20 (expansion.css:45) no matter what
   z-index the child itself is given; found by an actual click at
   .vp-read's own bottom-left corner timing out on
   ".beneath.beneath--right.vp-beneath" intercepting it, the same
   class of bug (a hidden .beneath wrapper winning every pointer
   event nearby) VESICA PASS 10's own comment already named for
   .vp-byrne-open, below. #vpLeave is now built as a direct sibling
   of #vpEnter and .vp-byrne-open on #stLineage instead, positioned
   and stacked the way .vp-byrne-open already solves exactly this —
   z-index: 21, above .beneath's 20 — and given its own row above
   .vp-byrne-open's own (bottom: 9vh) rather than sharing it.
   (CHANGE 5, later, moves .vp-byrne-open out of this absolutely-
   positioned corner stack entirely, into normal flow under its own
   group's text — the bottom: 9vh named here is this paragraph's own
   history, at the time this pass ran, not .vp-byrne-open's current
   rule.)

   Because #vpLeave is no longer a descendant of .vp-read, it does
   not inherit that element's own reachability from the existing
   one-way gate (expansion.css ~5748, untouched). The two rules
   below extend that same gate to .fe-leave by name, in the exact
   three-property shape (opacity, visibility, pointer-events) the
   committed gate already uses for .vp-read/#lgDraw/.vp-beneath —
   an addition, not an edit to that gate's own selector list.

   Focus treatment matches .yt-back:focus-visible's own values
   (outline-offset: 5px) rather than #vpEnter's own ring
   (outline-offset: 14px, proof.css:731, untouched) — #vpLeave is a
   small quiet text control like #ytBack, not a large ring like
   #vpEnter, so it takes that control's own numbers instead. */
/* CHANGE 2/3 · THE WAY OUT MOVES TO THE END, AFTER THE READING

   Read first, not assumed: this control (#vpLeave, "Back to the
   invitation") already exists, already carries the exact wording
   this chapter's own change 2 was asked to preserve, and is already
   built the same way this pass found the Sri Yantra room's own real
   close control built — explorationCloses()'s own #ytBack
   (expansion.js), a plain scroll-and-collapse control with no second
   attribute-setting path of its own — not #ydClose, which this pass
   traced to a different room entirely (mahaMeru()'s own Maha Meru
   overlay, expansion.js, a full-screen 3D walkthrough with its own
   #ydGo/#ydClose pair, unrelated to this chapter or to Sri Yantra's
   own in-flow reading room). So change 2 ("comes off the first
   screen") and change 3 ("a real way out at the end, modelled on Sri
   Yantra's own close control") turned out, on reading the code, to
   both describe this one control: it already leaves the same way
   #ytBack does, it was only visible from the wrong moment. Reported
   here rather than building a second control that would duplicate
   the first.

   Previously, both rules below keyed off [data-vp-entered="1"]
   alone: opacity, visibility and pointer-events all flipped together
   the instant the chapter opened — before any reading had happened,
   greeting the visitor with an exit first. Opacity now follows
   --vpg-4 instead of a flat 1: --vpg-4 (vesicaReadingGroups(),
   expansion.js, untouched) is already set on this same element's own
   ancestor, #stLineage, and is already the chapter's own signal for
   "the final reading group has arrived and is holding" (group 4's
   own `in` window is [0.5300, 0.5500]; its own `out` is null on
   purpose — VESICA PASS 21's own comment on that array — so --vpg-4
   holds at 1 for the rest of the chapter once it arrives). No new
   watcher, no new attribute: reusing a value this file already
   computes for exactly this moment.

   Reachability (visibility, pointer-events) stays a discrete switch
   rather than riding the continuous opacity alone — the same
   "opacity alone leaves a control reachable" concern VESICA PASS 1
   raised for #bnLineageBtn (expansion.css, .vp-group's own comment,
   above) — gated here on .vp-group[data-vp-group="4"]'s own
   .is-vp-active class, the exact class vesicaReadingGroups() already
   toggles at the same > 0.02 epsilon every other group in this
   chapter already uses for reachability (expansion.js). :has() is
   already used elsewhere in this file (eight times), not introduced
   here for the first time. */
/* VESICA PASS 71 · THE WAY OUT STAYS ON SCREEN THE WHOLE VISIT

   The three rules this comment used to sit above (CHANGE 2/3, kept
   in full just above this one) faded #vpLeave in only once group 4
   arrived (--vpg-4, opacity; .vp-group[4].is-vp-active, reachability)
   so a visitor was not "greeted with an exit first." That was fine
   while free scroll could always carry a visitor stuck early back
   out past either end of this chapter by hand. It stops being fine
   the moment scroll is held inside those two ends while entered
   (this pass's own other half, vesicaHoldsTheVisitor(), expansion.js)
   — a visitor sitting anywhere before group 4 arrives would then
   have no visible way out and no way to scroll past either end to
   find one: a trap, not a room, the exact failure mode named and
   rejected on 2026-09-11. Superseded here, by a flat rule, for
   [data-vp-entered="1"] alone: opacity 1, reachable, for the entire
   time the chapter is entered, no fade, no gate on group 4 — the
   one property this pass's own prompt states as a hard requirement,
   ahead of CHANGE 2/3's own quieter aesthetic. Reported, not
   silently chosen either way: CHANGE 2/3's own fade-in is gone, not
   merely superseded in the cascade, because a partial fade (opacity
   under 1 for most of the chapter) is not "visible" by the plain
   reading of this pass's own requirement — the project owner can
   ask for a floor above 0 instead if a quiet entrance still matters
   more to her than this pass judged. The reduced-motion override
   this replaces (restoring a flat, always-present state only under
   reduced motion, because --vpg-4 is never set there) is now
   redundant — this rule already gives every visitor that same flat
   state — and is removed rather than left duplicating it. */
#scLineage:not([data-vp-entered="1"]) .fe-leave {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#scLineage[data-vp-entered="1"] .fe-leave {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
#scLineage .fe-leave {
  position: absolute;
  z-index: 21;
  right: var(--pad);
  bottom: 14vh;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.34rem 0;
  background: none;
  border: 0;
  cursor: pointer;
  font: var(--v-structural);
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--grey-2);
  transition: color 300ms var(--ease), opacity 700ms var(--ease);
}
#scLineage .fe-leave-tick {
  display: block;
  width: 14px;
  height: 1px;
  background: currentColor;
  transition: width 380ms var(--ease);
}
#scLineage .fe-leave:hover,
#scLineage .fe-leave:focus-visible { color: var(--accent); }
#scLineage .fe-leave:hover .fe-leave-tick,
#scLineage .fe-leave:focus-visible .fe-leave-tick { width: 34px; }
#scLineage .fe-leave:focus-visible { outline: 1px solid var(--accent); outline-offset: 5px; }

/* ══════════════════════════════════════════════════════════════
   VESICA PASS 27 · THE CHAPTER EMPTIES BEFORE IT LETS YOU GO

   --vp-exit is written by a new, independent chapter("scLineage",
   …) watcher at the end of expansion.js's one outer IIFE (this
   pass's own report has the full measurement behind seg(p, 0.90,
   1.00)). One rule here, on the stage itself rather than multiplied
   into each existing consumer's own opacity expression the way
   #scYantra .yt-art/.yt-read read --yt-exit (PASS 36 2.3,
   expansion.css:4349-4350) — see expansion.js, this pass's own
   comment, for why that shortcut was taken and what it was checked
   against.

   Default is 1, never 0: under reduced motion chapter() returns
   before this pass's own watcher ever runs, so --vp-exit is never
   written, and this fallback is the only thing holding #stLineage
   visible for those visitors.

   VESICA PASS 29 correction — gated to [data-vp-entered="1"]: the
   exit envelope must only run inside the room, because chapter 08's
   door is built INSIDE #stLineage itself and would otherwise fade
   with it, unlike #scYantra, whose own room does not exist in the
   DOM until it is entered. */
#scLineage[data-vp-entered="1"] #stLineage { opacity: var(--vp-exit, 1); }

/* CHANGE 3 (13 September) · THE ENDING

   MEASURED, NOT ASSUMED — before this rule existed, a visitor who
   scrolled to the track's own true end (p = 1, where
   vesicaHoldsTheVisitor(), expansion.js, stops a further wheel scroll)
   found #stLineage at computed opacity: 0. --vp-exit (immediately
   above) is 0 there by its own design (seg(p, 0.90, 1.00)) — correct
   for a chapter a visitor scrolls PAST, wrong for one that HOLDS them
   at that exact point with nowhere else to look. Confirmed with a
   screenshot at p = 1.0000 in this pass's own report: a fully black
   frame, #vpLeave's own opacity reading 1 yet rendering invisible,
   composited through its opacity: 0 parent.

   Fixed here, not by editing --vp-exit's own formula (out of this
   pass's own three changes, and correct for every fraction below
   0.6800 regardless): once data-vp-ending is "1" (expansion.js,
   vesicaExit()), this higher-specificity rule (the extra attribute
   beats the plain [data-vp-entered="1"] rule above regardless of
   order) forces #stLineage back to fully opaque, overriding whatever
   --vp-exit is computing underneath — which by p = 1.0 is 0, and
   would otherwise win. */
#scLineage[data-vp-ending="1"] #stLineage {
  opacity: 1 !important;
}

/* Everything already on the stage clears — "nothing else goes on
   that screen," Julia's own words — except #vpLeave, the one thing
   this ending is for. #stLineage > * rather than naming #vpRead,
   #lgDraw, .vp-beneath, #vpGoDeeper individually: broader than the
   four names above on purpose, so anything already on the stage or
   added to it later is caught by the same rule without a fifth,
   sixth name added by hand each time. !important because several of
   the excluded elements' own opacity is already governed by other
   !important-free rules this pass does not otherwise touch (--vpi-*
   custom properties, VESICA PASS 4 and others) at lower specificity,
   which this rule must beat regardless of which one last computed a
   value. */
#scLineage[data-vp-ending="1"] #stLineage > *:not(#vpLeave) {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 500ms var(--ease) !important;
}

/* #vpLeave itself moves to the centre of the screen and stays the
   door it already is — same id, same click handler (vesicaCloses(),
   expansion.js, untouched), same words ("Back to the invitation," not
   changed in this pass per the prompt's own instruction) — only its
   position changes. Specificity: two IDs plus an attribute beats
   .fe-leave's own #scLineage .fe-leave (Change 3, the leave cross-
   fade pass, above) without touching that rule. right/bottom set to
   auto so top/left/transform (new here) are what place it, not a
   leftover corner offset composited underneath. */
#scLineage[data-vp-ending="1"] #vpLeave {
  opacity: 1 !important;
  pointer-events: auto !important;
  position: fixed;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%);
  transition: top 700ms var(--ease), left 700ms var(--ease), opacity 500ms var(--ease);
}

/* ══════════════════════════════════════════════════════════════
   VESICA PASS 28 · THE FADE GOES TO BLACK

   PASS 27's own agent proved --vp-exit was fading the wrong thing:
   .sc[data-tone="dark"] .sc-stage (proof.css:149) paints --dark on
   the STAGE, site-wide — #scLineage, the section itself, carries no
   background of its own (confirmed by search, nothing found). So
   PASS 27's opacity on #stLineage fades the one and only opaque
   layer in its own ancestor chain, and what shows through underneath
   is <html>'s own cream, not black.

   This is a backstop, not the house pattern. The house pattern is
   Sri Yantra's own (#scYantra .yt-art / .yt-read, expansion.css:
   4349-4350): each piece of content multiplies its own opacity by
   --yt-exit directly, and the stage itself is never faded at all, so
   there is never a second layer to backstop. That pattern was not
   available to PASS 27 without editing several already-committed,
   independently-driven consumers (.vp-read, #lgDraw, .vp-beneath,
   #vpLeave, .vp-byrne-open), which PASS 27's own instructions
   forbade. Given the stage is faded, the simplest correct fix is one
   level up: paint #scLineage itself the chapter's own black, so
   fading the stage above it reveals that black instead of the page's
   cream. Recorded here so the next reader can argue with the
   trade-off rather than rediscover it: this patches the one shortcut
   PASS 27 took: it does not revisit whether fading the stage was the
   right call in the first place. */
#scLineage { background: var(--dark); }

/* ═════════════════════════════════════════════════════════════
   COLOUR PASSES 1–15
   There is no pass 7 — it was written, superseded by pass 8, and
   never run.
   Chapter 06 (#scColour) was built against a "measure the light"
   direction the approved brief replaced: "No spectrum. No
   wavelengths. No numbers anywhere in this section." This block
   retires the two on-screen instances of that direction and adds
   the still grey-on-grey figure the current brief asks for.
   Nothing above this line in this file is touched. Both changes
   are new rules only: CHANGE 1 targets markup already committed
   in proof.html (#clReadout, #bnColourPanel); CHANGE 2 styles
   #clGrey and its children, built at runtime by expansion.js's
   new colourPass1() block, appended the same way.

   PASS 2 — rendered and looked at, Pass 1's demonstration did not
   fire: both faces shared the same far surround (top edge, rims,
   near-black either side) and read as one grey wrapped around a
   corner. CHANGE A changes the mechanism — the faces stop being
   the test and become each other's immediate surround, with one
   small enclosed patch of the declared grey inset in each. CHANGE
   B fixes a hard-edged glow (radial reach exceeding its own box).
   CHANGE C moves the figure clear of the chapter's own scale rule
   and #clSqA. Every line touched or added carries a PASS 2 comment
   naming the change letter.

   PASS 3 — rendered and looked at again: the mechanism (one declared
   value, read once, two fully enclosed patches) is right, but the
   staging was a grey cube pasted on the chapter's own colour field
   with no words. CHANGE A stops the figure adding light of its own —
   the bright field is the light now, and only a cast shadow remains.
   CHANGE B rebuilds the form as two plates meeting at one vertical
   edge, in the chapter's own pigment (--cl-a) rather than grey; the
   test value's property is renamed to --cl-test throughout (from its
   Pass 1/2 name). CHANGE C
   adds the words and a claim that waits for a click, Enter or Space
   before it states what CHANGE B demonstrates. Every line touched or
   added carries a PASS 3 comment naming the change letter.

   PASS 4 — verified and looked at again: the demonstration itself is
   correct, but three things around it are not, one of them (B) this
   director's own error in the Pass 3 prompt. CHANGE A drops the fold
   and the perspective — two flat, symmetrical squares side by side,
   so there is no 3D reading left for a sceptic to point at. CHANGE B
   moves #clGreyWords from z-index 3 to 7 (the chapter's own .cl-lead
   band): at 3 it sat under .cl-space (z-index 4, inset:0), which
   swallowed every click meant for #clGreyAsk — LOOK AGAIN was dead
   to mouse and touch. CHANGE C raises the second block and the
   control to 88% of --on-dark (checked against ochre, the lightest
   pigment in the chapter) and rewrites its line breaks. Every line
   touched or added carries a PASS 4 comment naming the change
   letter.

   PASS 5 — the plate and the demonstration are correct and untouched
   this pass; the beat's own words were given their own treatment
   instead of the chapter's. CHANGE A replaces every --on-dark mix in
   the five word rules with .cl-lead's own #FFF + text-shadow
   (expansion.css:439-440, read for reference only, never edited).
   CHANGE B raises .clg-line and .clg-claim to .cl-lead's own
   headline size — they are the beat's statements, not captions.
   CHANGE C retires .clg-sub and #clGreyAsk once the claim is shown,
   so the control does not sit stranded above its own answer. Every
   line touched or added carries a PASS 5 comment naming the change
   letter.

   PASS 6 — the chapter has a second demonstration, beat 2's two
   squares (.cl-sq, expansion.css:403), and it was wrong in the same
   two ways beat 3 once was: its square was a hardcoded site colour
   (#8C857A, --on-dark-2) called "one pigment," and it did not answer
   the visitor's hand (.cl-plane's filter never reached it). CHANGE A
   adds one new, more specific rule — .cl-sq's own rule at :403 is
   untouched — giving it the chapter's own near-neutral hue and
   .cl-plane's own filter. CHANGE B makes the two demonstrations take
   turns: #clGrey and #clGreyWords fade aside whenever beat 2 or the
   composed field is on, driven by a MutationObserver on #stColour's
   style attribute, not by any button listener. CHANGE C rewrites
   beat 3's smaller claim line so it stops repeating beat 2's own
   sentence. Every line touched or added carries a PASS 6 comment
   naming the change letter.

   PASS 8 — two changes specified in an earlier, misfiled draft of
   pass 5 and never built. CHANGE A gives #clGrey the same filter
   pass 6 already gave beat 2's square (.cl-sq) — .cl-plane's own
   brightness/saturate, so the plate stops sitting inert while
   everything else on screen answers the visitor's hand. CHANGE B
   corrects the one line of copy CHANGE A makes untrue: the squares
   now do change, together with the field. Every line touched or
   added carries a PASS 8 comment naming the change letter.

   PASS 9 — the bug and the missing referent Julia found by pressing
   the button. CHANGE A adds one property to the same #stColour
   .cl-sq rule pass 6 created: the squares now leave when the field
   composes, not only when the second colour is out, so .cl-compose
   is no longer hidden beneath them. CHANGE B gives the composed
   field the one line that names what "them" in "Compose them" means,
   shown by pass 6's own observer in the space beat 2's words vacate.
   Every line touched or added carries a PASS 9 comment naming the
   change letter, appended after this section — nothing above it is
   touched.

   PASS 10 — the composed screen built correctly and still argued
   with itself: a claim (pass 9's second line) with no demonstration
   to check it against, and a card that covered the start of a
   button's own label. CHANGE A is expansion.js-only (both of
   #clGreyCompose's lines replaced in place, and the class each
   carries swapped so the chapter's own closing sentence takes the
   larger size) — no CSS change for that. CHANGE B adds one new,
   more specific rule moving .cl-mark and .cl-mark-cap clear of
   #clSecond, #clSame and #clComposeBtn at wide viewports only.
   Every line touched or added carries a PASS 10 comment naming the
   change letter, appended after this section — nothing above it is
   touched.

   COLOUR PASS 12 — the handover has never faded, in either
   direction: the visibility delay was on the rule for the visible
   state instead of the rule for the hidden state, on both beat 3's
   handover and the ending's fade-in. CHANGE A swaps the delay on
   #clGrey's and #clGreyWords's own base rules (now 0s — the visible
   state, so the fade-in is seen) against .is-aside (now 700ms — the
   hidden state, so the fade-out finishes before vanishing), and
   extends the reduced-motion selector list to also cover
   #clGreyCompose. CHANGE B gives #clGreyCompose.is-shown its own 0s
   visibility delay so the ending fades in too, without touching
   #clGreyCompose's own base rule (already the correct 700ms — it is
   the hidden state there, the opposite of beat 3). Every line touched
   carries a COLOUR PASS 12 comment naming the change letter — not a
   bare "PASS 12": chapter 04 has its own numbering in this file.

   COLOUR PASS 13 — the card's canvas (drawMark()) painted a muddy
   blot mixing every visited pigment; the argument is two colours and
   what happens between them, drawn from --cl-a/--cl-b alone. CHANGE
   A hides the canvas (opacity, not display:none — drawMark() still
   measures it with getBoundingClientRect() and keeps drawing, unseen)
   without touching drawMark() or #clMarkCanvas's own rule. CHANGE B
   styles #clGreyMark (built expansion.js, appended into the existing
   .cl-mark card): two overlapping circles, plain alpha, no blend
   mode, no filter, no border, no shadow — the overlap itself is the
   third colour. It is a child of .cl-mark and fades with .cl-mark's
   own opacity var, no new class or logic. Every line touched or added
   carries a COLOUR PASS 13 comment naming the change letter.

   COLOUR PASS 14 — two corrections. CHANGE A: pass 13's own overlap
   arithmetic was wrong, not its implementation — 16% put the centres
   32% of a diameter apart (68% overlap, thin crescents); 30% puts
   them 60% apart (40% overlap, the two-circles-with-a-lens figure
   Julia approved). The two transform values are replaced in place,
   an authorised named replacement; nothing else on either rule
   changes. CHANGE B is expansion.js-only: #clGreyCompose's first
   line ("These are the colors you passed through.") is removed —
   Julia's decision, a visitor does not experience "passing through"
   colours — leaving the chapter's closing sentence alone, with
   nothing added in its place. Every line touched carries a COLOUR
   PASS 14 comment naming the change letter. */

/* CHANGE 1 · THE MEASURING LEAVES
   #clReadout is the numeric readout ("Vermilion · lightness 50 ·
   saturation 50" — proof.html lines 686-689). Retired by the
   deletion rule (house rules §5): opacity AND visibility, never
   display:none, never removed. #clReadout already carries an ID
   rule elsewhere in this file setting `opacity: var(--cl-ui, 0)`
   (line ~459) — an ID selector here outranks that class rule on
   specificity alone, so no !important is needed and that earlier
   rule is untouched.

   #bnColourPanel holds TWO `.bn-item[data-kind="measured"]`
   entries (proof.html lines 711 and 718), not one: the CIE
   colorimetry citation, and a second entry describing the
   approved beat-2 mechanism (the two squares, one pigment) that
   this pass's own brief says stays. "WHAT THIS PASS IS FOR" names
   three things leaving — the measurement claim, the numeric
   readout, and the colorimetry citation, singular — so this rule
   is scoped with :has(a.bn-link) to the one entry that actually
   carries the CIE citation link, leaving the beat-2 entry alone.
   Flagged in full in this pass's report. */
#clReadout {
  opacity: 0;
  visibility: hidden;
}
#bnColourPanel .bn-item[data-kind="measured"]:has(a.bn-link) {
  opacity: 0;
  visibility: hidden;
}

/* CHANGE 2 · THE GREYS, STILL
   PASS 4 — this comment is corrected in place again; the mechanism
   changed under CHANGE A (this pass). The figure is one flat plate,
   two symmetrical halves side by side with no fold and no
   perspective, built in the chapter's own pigment (--cl-a), one half
   taken up (--plate-light) and one taken down (--plate-dark) — same
   hue, same saturation, only lightness moved. The test is --cl-test:
   declared once on #clGrey, read once by .cl-grey-patch, one patch
   (now a fixed size, identical on both sides) centred in each half
   by the flex layout on .cl-grey-face. No gradient, filter, opacity,
   blend mode or cast shadow ever touches a patch or a half. The
   figure casts no shadow and adds no light of its own — .cl-grey-glow
   and .cl-grey-ground both paint nothing — so the chapter's own
   bright field stays the only light in the room. Static: no
   transition, no animation, arrives with the chapter, identical
   under reduced motion. */
/* PASS 2 · C1 — the figure moves clear of the chapter's own scale
   rule (left) and #clSqA (right/below): left/top replaced in place.
   PASS 3 · A3 — left/top/transform/width/height/perspective replaced
   again in place: the figure is repositioned and enlarged to read as
   a corner in the field rather than a cube pasted on it. --clg-s,
   z-index and pointer-events are unchanged.
   PASS 4 · A1 — the fold is dropped: perspective replaced with
   `none` and the box replaced with a 2:1 rectangle, so the two
   halves built by CHANGE A3 below read as one flat plate rather than
   a corner. left/top/transform unchanged from Pass 3's position;
   --clg-s, --cl-test, --plate-light, --plate-dark, z-index and
   pointer-events are unchanged. */
#clGrey {
  --clg-s: clamp(84px, 8vw, 124px);
  /* PASS 3 · B1 — the earlier test property is renamed to --cl-test
     and re-based on the chapter's own pigment (--cl-a), replacing
     this line and the two --cl-face-* lines added in Pass 2.
     Declared once here, read once
     by .cl-grey-patch below. The doubled declarations are deliberate
     — color-mix is the fallback, the hsl(from …) relative-colour
     line wins where supported — this is one declaration site per
     property, not two. */
  --cl-test: color-mix(in srgb, var(--cl-a, #C8442B) 92%, var(--dark) 8%);
  --cl-test: hsl(from var(--cl-a, #C8442B) h calc(s * 1.14) calc(l * 0.96));
  /* the two plates: the same colour, one taken up, one taken down.
     Same hue, same saturation — only the lightness moves. Context,
     never the test. */
  --plate-light: color-mix(in srgb, var(--cl-a, #C8442B) 55%, var(--on-dark) 45%);
  --plate-light: hsl(from var(--cl-a, #C8442B) h calc(s * 1.10) calc(l * 1.62));
  --plate-dark:  color-mix(in srgb, var(--cl-a, #C8442B) 55%, var(--dark) 45%);
  --plate-dark:  hsl(from var(--cl-a, #C8442B) h calc(s * 1.06) calc(l * 0.40));
  position: absolute; z-index: 2;
  left: 26%; top: 50%;
  transform: translate(-50%, -50%);
  width: calc(var(--clg-s) * 5);
  height: calc(var(--clg-s) * 2.5);
  perspective: none;
  pointer-events: none;
  /* PASS 8 · A1 — the plate answers the visitor's hand: copied
     verbatim from .cl-plane (expansion.css:377), identical to the
     line pass 6 added to #stColour .cl-sq. One filter on this common
     ancestor, not three edited colour expressions on --cl-test/
     --plate-light/--plate-dark — the two squares are painted from
     one declared value and then put through one operation, so they
     stay identical by construction; multipliers on the colour
     expressions could let them drift. */
  filter: brightness(var(--cl-l, 1)) saturate(var(--cl-s, 1));
  /* PASS 6 · B2 — the handover transition, added to this base rule
     so #clGrey.is-aside (below) fades rather than cuts. 700ms matches
     .cl-sq's own transition (expansion.css:409/1759) so beat 2 and
     beat 3 hand over at the same speed.
     COLOUR PASS 12 · A1 — the visibility delay was on the wrong
     rule: this is the VISIBLE state, so becoming visible must happen
     immediately (0s) for the opacity fade-in to be seen at all. The
     700ms delay this line used to carry belongs on .is-aside (below,
     CHANGE A2, this pass) — the HIDDEN state, where it is now. */
  transition: opacity 700ms var(--ease), visibility 0s linear 0s;
}
/* PASS 2 · B1 — box and background replaced in place: the previous
   values clipped (centre − reach < 0 on both axes at 28%/28% with a
   68% last stop), reading as a visible rectangle on the glow's own
   left and top. New reach on both axes now fades to transparent
   before it reaches this box's own edge.
   PASS 3 · A1 — background replaced again, to `none`: on the
   chapter's own bright field this pale wash was either invisible or
   dirt. The element stays, it simply stops painting — the field is
   the only light in the room now. */
#clGrey .cl-grey-glow {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  background: none;
}
/* PASS 3 · A2 — .cl-grey-ground stops being an ambient contact
   shadow between two faces and becomes the shadow this corner casts
   on the field it now sits in front of: box and background replaced
   in place. Edge-rule arithmetic (centre − reach > 0, centre + reach
   < 100, both axes) reported in this pass's report.
   PASS 4 · A5 — background replaced again, to `none`: a flat plate
   casts no shadow. The element stays, it simply stops painting,
   matching .cl-grey-glow (already `none` since Pass 3 · A1,
   unchanged this pass). */
#clGrey .cl-grey-ground {
  position: absolute;
  left: -16%; right: -24%; top: 56%; bottom: -46%;
  background: none;
}
/* PASS 3 · B3 — replaced in place: the cube stops being a cube (no
   left/top/width/height of its own; it now fills #clGrey's own,
   enlarged box under CHANGE A) and the two faces become two plates
   meeting at one vertical edge, laid out with flex so each centres
   its own patch (CHANGE B4, below) rather than positioning it.
   PASS 4 · A2 — replaced again: no longer a 3D stage.
   transform-style: preserve-3d is removed, nothing replaces it; the
   row is now a plain flex row of two, laid out flat. */
#clGrey .cl-grey-cube {
  position: absolute; inset: 0;
  display: flex;
}
#clGrey .cl-grey-face {
  position: relative;
  width: 50%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
/* the form's other surface, catching the most light — never the
   declared grey, this is context, not the demonstration */
#clGrey .cl-grey-top {
  background: color-mix(in srgb, var(--on-dark) 85%, var(--dark) 15%);
  transform: rotateX(90deg) translateZ(calc(var(--clg-s) / 2));
}
/* PASS 3 · B3 — .cl-grey-a and .cl-grey-b replaced in place: two
   plates meeting at one vertical edge, in the chapter's own pigment
   (--plate-light / --plate-dark, declared on #clGrey above) — same
   hue, same saturation, only lightness moved.
   PASS 4 · A3 — replaced again: every transform, transform-origin,
   left and top removed. Two flat, symmetrical halves, laid out by
   the flex row above rather than folded at an angle. */
#clGrey .cl-grey-a { background: var(--plate-light); }
#clGrey .cl-grey-b { background: var(--plate-dark); }
/* PASS 3 · B4 — the test, now: one small patch of the one declared
   value (--cl-test, this pass's renamed and re-based property, on
   the chapter's own pigment, #clGrey above), centred by its face's
   own flex layout rather than positioned. This is the only rule that
   reads --cl-test.
   PASS 4 · A4 — width/height replaced with a fixed size (in --clg-s
   units, not a percentage of the face) so both squares are identical
   on screen now that the fold — and with it the last thing that made
   them read as different sizes — is gone. */
#clGrey .cl-grey-patch {
  width: calc(var(--clg-s) * 1.06);
  height: calc(var(--clg-s) * 1.06);
  background: var(--cl-test);
}
/* the form's edges: hairline rims sharing each visible face's own
   plane (same transform, pinned to that face's own outer edge), so
   they sit exactly at the seam with the top face rather than
   floating off it. Never on .cl-grey-a/.cl-grey-b themselves. */
#clGrey .cl-grey-rim {
  position: absolute; top: 0; bottom: 0; width: 3px;
}
#clGrey .cl-grey-rim--hi {
  left: 0;
  background: linear-gradient(to bottom,
    color-mix(in srgb, var(--on-dark) 90%, transparent),
    color-mix(in srgb, var(--on-dark) 10%, transparent));
  transform: translateZ(calc(var(--clg-s) / 2));
}
#clGrey .cl-grey-rim--lo {
  right: 0;
  background: linear-gradient(to bottom,
    color-mix(in srgb, var(--dark) 25%, transparent),
    color-mix(in srgb, var(--dark) 96%, transparent));
  transform: rotateY(90deg) translateZ(calc(var(--clg-s) / 2));
}

@media (max-width: 860px) {
  #clGrey {
    --clg-s: clamp(72px, 20vw, 96px);
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
  }
}

/* PASS 3 · C1/C3 — the words, on the field, exactly as specified:
   no panel, no border, no card, no frosted glass.
   PASS 4 · B1 — z-index replaced in place: 3 becomes 7, the
   chapter's own .cl-lead/.cl-close band. At 3 the words sat under
   .cl-space (z-index 4, inset:0, expansion.css line 415-416), which
   swallowed every pointer event meant for #clGreyAsk. Verified by
   hit-testing this pass, reported below — this director's own error
   in the Pass 3 prompt, not fixed there. */
#clGreyWords {
  position: absolute; z-index: 7;
  right: var(--pad); top: 44%;
  width: min(40ch, 38vw);
  text-align: right;
  pointer-events: none;
  /* PASS 6 · B2 — the same handover transition as #clGrey, above.
     COLOUR PASS 12 · A1 — same fix as #clGrey's base rule (above):
     this is the VISIBLE state, so the visibility delay moves to 0s. */
  transition: opacity 700ms var(--ease), visibility 0s linear 0s;
}
/* PASS 5 · A/B — .clg-line takes the chapter's own #FFF + shadow
   (expansion.css:439-440, .cl-lead/.cl-close, read for reference
   only, never edited) in place of --on-dark, and the chapter's own
   headline size/tracking/leading (expansion.css:445-446, .cl-lead)
   in place of --v-editorial's smaller size — this is the beat's own
   statement, not a caption beneath the chapter's lead. */
#clGreyWords .clg-line {
  margin: 0 0 0.6em;
  font: var(--v-editorial);
  font-size: clamp(1.35rem, 2.3vw, 1.95rem);
  letter-spacing: -0.026em; line-height: 1.18;
  color: #FFF;
  text-shadow: 0 1px 30px rgba(11,10,8,0.42);
}
/* PASS 3 · C3 — the smaller block, at 82% of --on-dark: an OPAQUE
   mix toward --dark, never a lowered opacity/alpha fade — a fainter,
   translucent grey lets a bright pigment (ochre, etc.) show through
   and stops being readable, which is the exact fault this rule
   exists to avoid.
   PASS 4 · C1 — 82% raised to 88%, checked against ochre (this
   chapter's lightest pigment); reported below.
   PASS 5 · A — the 88% mix is dropped entirely for the chapter's own
   #FFF + shadow (expansion.css:439-440, .cl-lead/.cl-close). Size
   and line-height (0.9375rem / 1.55) are unchanged — CHANGE B only
   raises .clg-line and .clg-claim, not this block. */
#clGreyWords .clg-sub {
  margin: 0 0 1.1em;
  font: var(--v-structural);
  font-size: 0.9375rem; line-height: 1.55;
  color: #FFF;
  text-shadow: 0 1px 30px rgba(11,10,8,0.42);
}
/* PASS 3 · C2/C3 — the control: the site's existing tick treatment
   (a hairline rule in var(--accent) before small-caps letterspaced
   text), built with flex + gap rather than padding-left plus an
   absolutely positioned ::before — the known tick-overlap bug. A
   real <button>, so Enter and Space work natively alongside click;
   this pass's only listener is attached to it in expansion.js.
   PASS 4 · C1 — resting colour raised from --on-dark-2 (far below
   88%) to the same 88%-of-on-dark mix as .clg-sub, so LOOK AGAIN
   meets the same contrast floor. Hover/focus (--accent) unchanged —
   already well above it.
   PASS 5 · A — the 88% mix is dropped for the chapter's own #FFF +
   shadow, matching the other four word elements. Small-caps size and
   letterspacing (--v-structural, 0.19em, uppercase) unchanged — this
   pass's CHANGE B does not touch the control. Hover/focus (--accent)
   and the focus outline are unchanged. */
#clGreyAsk {
  pointer-events: all;
  display: inline-flex; align-items: center; gap: 0.7rem;
  margin: 0.9em 0 0; padding: 0.3em 0;
  background: none; border: 0; cursor: pointer;
  font: var(--v-structural); letter-spacing: 0.19em; text-transform: uppercase;
  color: #FFF;
  text-shadow: 0 1px 30px rgba(11,10,8,0.42);
}
#clGreyAsk .clg-tick {
  display: block; width: 22px; height: 1px;
  background: var(--accent);
}
#clGreyAsk:hover, #clGreyAsk:focus-visible { color: var(--accent); }
#clGreyAsk:focus-visible { outline: 1px solid var(--accent); outline-offset: 6px; }
/* PASS 3 · C2 — the claim: hidden until asked for, opacity AND
   visibility (deletion-rule precedent, house rules §5), revealed by
   the .is-shown class expansion.js toggles on click/Enter/Space. */
#clGreyClaim {
  margin: 1.1em 0 0;
  opacity: 0; visibility: hidden;
  transition: opacity 420ms var(--ease), visibility 0s linear 420ms;
}
#clGreyClaim.is-shown {
  opacity: 1; visibility: visible;
  transition: opacity 420ms var(--ease), visibility 0s linear 0s;
}
/* PASS 5 · C1 — the control gives way to its own answer: once
   #clGreyClaim carries .is-shown, .clg-sub and #clGreyAsk retire —
   opacity + visibility, same deletion-rule precedent as CHANGE 1's
   #clReadout, never display:none, nothing removed from the DOM. No
   new class, no new listener: this is a parent-state selector off
   the existing .is-shown class (:has(), already precedented in this
   block by CHANGE 1's :has(a.bn-link)), since .clg-sub and
   #clGreyAsk are #clGreyClaim's PRECEDING siblings and CSS has no
   previous-sibling combinator. Reduced motion: CHANGE C3's existing
   rule below already sets transition: none on #clGreyClaim; the same
   selector is extended here so the retiring lines snap too. */
#clGreyWords:has(#clGreyClaim.is-shown) .clg-sub,
#clGreyWords:has(#clGreyClaim.is-shown) #clGreyAsk {
  opacity: 0;
  visibility: hidden;
  transition: opacity 420ms var(--ease), visibility 0s linear 420ms;
}
@media (prefers-reduced-motion: reduce) {
  #clGreyWords:has(#clGreyClaim.is-shown) .clg-sub,
  #clGreyWords:has(#clGreyClaim.is-shown) #clGreyAsk {
    transition: none;
  }
}
/* PASS 5 · C2 — the claim's own top margin absorbs the space CHANGE
   C1's retired lines leave (visibility:hidden preserves their layout
   box, it does not collapse it) so #clGreyClaim.is-shown lands where
   .clg-sub began and #clGreyWords's first line does not move.
   Measured against the live render, reported in this pass's report:
   the combined reserved height of .clg-sub + #clGreyAsk (with their
   own margins) at this copy and this font stack. */
#clGreyClaim.is-shown {
  margin-top: -7.383rem;
}
/* PASS 5 · A/B — .clg-claim takes the chapter's own #FFF + shadow
   and the chapter's own headline size/tracking/leading, exactly as
   CHANGE A/B do for .clg-line above — this is the beat's second
   statement, not a caption. */
#clGreyClaim .clg-claim {
  margin: 0 0 0.4em;
  font: var(--v-editorial);
  font-size: clamp(1.35rem, 2.3vw, 1.95rem);
  letter-spacing: -0.026em; line-height: 1.18;
  color: #FFF;
  text-shadow: 0 1px 30px rgba(11,10,8,0.42);
}
/* PASS 5 · A — the 82% mix pass 4 left behind (and flagged) is
   dropped here too, for the same #FFF + shadow as the other four
   word elements. Size/line-height unchanged. */
#clGreyClaim .clg-claim-sub {
  margin: 0;
  font: var(--v-structural);
  font-size: 0.9375rem; line-height: 1.55;
  color: #FFF;
  text-shadow: 0 1px 30px rgba(11,10,8,0.42);
}
/* PASS 3 · C3 — reduced motion: the claim appears, it does not
   transition in. */
@media (prefers-reduced-motion: reduce) {
  #clGreyClaim, #clGreyClaim.is-shown { transition: none; }
}

/* PASS 6 · A2/A3 — beat 2's square joins the chapter. .cl-sq's own
   rule (expansion.css:403-413) is not edited: this is a new, more
   specific rule (#stColour .cl-sq), loading later in the file, that
   sets only background and filter — the two properties confirmed
   (A1, reported in this pass's report) that no existing .cl-sq rule,
   at any specificity, sets. background is a fallback pair (A1) —
   color-mix for browsers without relative colour syntax, then the
   hsl(from …) line winning where supported — one declaration site,
   not two. filter is copied verbatim from .cl-plane
   (expansion.css:377), so both squares receive the identical rule
   and cannot drift apart from the field or from each other. Neither
   property is set with !important; none was needed. */
#stColour .cl-sq {
  background: color-mix(in srgb, var(--cl-a, #C8442B) 22%, #8C857A 78%);
  background: hsl(from var(--cl-a, #C8442B) h calc(s * 0.22) 55%);
  filter: brightness(var(--cl-l, 1)) saturate(var(--cl-s, 1));
  /* PASS 9 · A2 — .cl-sq's own opacity expression (expansion.css:409)
     extended, not replaced: one factor added so the squares also
     leave when the field composes. This rule (#stColour .cl-sq,
     specificity 1,1,0 — confirmed A1, reported in this pass's
     report) already outranks .cl-sq's own rule (0,1,0), so no
     !important is needed. */
  opacity: calc(var(--cl-on, 0) * var(--cl-second, 0) * (1 - var(--cl-composed-on, 0)));
}

/* PASS 6 · B2 — the two demonstrations take turns. #clGrey and
   #clGreyWords already carry the handover transition (added to their
   base rules, above); this is the state that triggers it. Never
   display:none: visibility:hidden also removes #clGreyAsk from the
   tab order, which is the point of CHANGE C1's test below.
   COLOUR PASS 12 · A2 — the visibility delay was on the wrong rule
   (pass 6's own error, never stated which rule "the way in" meant):
   this is the HIDDEN state, so becoming hidden must wait (700ms) for
   the opacity fade-out to finish before vanishing. The 0s this line
   used to carry moved to #clGrey's and #clGreyWords's own base rules
   (above, CHANGE A1, this pass) — the VISIBLE state, where an
   immediate visibility change lets the fade-in be seen. */
#clGrey.is-aside,
#clGreyWords.is-aside {
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms var(--ease), visibility 0s linear 700ms;
}
/* PASS 6 · B3 — reduced motion: the handover has no transition,
   on either side of it.
   COLOUR PASS 12 · A3 — selector list extended to also cover
   #clGreyCompose: this block already reached #clGrey and
   #clGreyWords (both directions) before this pass; #clGreyCompose
   (pass 9) was not yet in it, so the ending's fade-in (CHANGE B1,
   below) would otherwise still animate under reduced motion. What
   this rule sets — transition: none — is unchanged; only the
   selector list is extended. */
@media (prefers-reduced-motion: reduce) {
  #clGrey, #clGreyWords, #clGreyCompose,
  #clGrey.is-aside, #clGreyWords.is-aside {
    transition: none;
  }
}

/* PASS 9 · B3 — #clGreyCompose, the composed field's one line. Same
   position and treatment as #clGreyWords (above): no panel, no
   border, no card, no frosted glass. Hidden on load (opacity AND
   visibility, deletion-rule precedent), revealed by expansion.js's
   existing updateAside() observer (CHANGE B2, expansion.js) toggling
   .is-shown — no new listener, no timer. */
#clGreyCompose {
  position: absolute; z-index: 7;
  right: var(--pad); top: 44%;
  width: min(40ch, 38vw);
  text-align: right;
  pointer-events: none;
  opacity: 0; visibility: hidden;
  /* PASS 9 · B3 — the same handover transition #clGreyWords carries
     (expansion.css, PASS 4 · B1 / PASS 6 · B2 base rule), so the two
     never cut against each other on handover; the reduced-motion
     override two rules below removes it, which presupposes it
     exists here. */
  transition: opacity 700ms var(--ease), visibility 0s linear 700ms;
}
/* COLOUR PASS 12 · B1 — #clGreyCompose is the other way round from
   beat 3: its base rule (above) is the HIDDEN state and already
   carries the correct 700ms delay, untouched by this pass. This is
   the VISIBLE state and had no transition of its own, so it inherited
   the base's 700ms delay and popped in instead of fading. Its own
   transition, visibility at 0s, lets the fade-in be seen. */
#clGreyCompose.is-shown {
  opacity: 1;
  visibility: visible;
  transition: opacity 700ms var(--ease), visibility 0s linear 0s;
}
/* PASS 9 · B3 — the two lines take the chapter's own #FFF + shadow
   and the same two sizes #clGreyWords's own .clg-line/.clg-sub use
   (expansion.css, PASS 5 · A/B, read for reference only, never
   edited) — this is the beat's statement, not a caption. Scoped
   under #clGreyCompose so #clGreyWords's own rules are untouched.
   COLOUR PASS 14 · B3 — corrected in place: #clGreyCompose carries
   one line now, not two (CHANGE B, expansion.js, the first line's
   construction removed). This rule (.clg-line) is the one that
   still matches; #clGreyCompose .clg-sub (below) now matches no
   element here and is kept, unused, by the no-deletion rule. */
#clGreyCompose .clg-line {
  margin: 0 0 0.6em;
  font: var(--v-editorial);
  font-size: clamp(1.35rem, 2.3vw, 1.95rem);
  letter-spacing: -0.026em; line-height: 1.18;
  color: #FFF;
  text-shadow: 0 1px 30px rgba(11,10,8,0.42);
}
#clGreyCompose .clg-sub {
  margin: 0;
  font: var(--v-structural);
  font-size: 0.9375rem; line-height: 1.55;
  color: #FFF;
  text-shadow: 0 1px 30px rgba(11,10,8,0.42);
}
/* PASS 10 · A2 — the class swap (CHANGE A2, expansion.js) moved
   .clg-sub's own margin:0 onto the first line, so the quiet line and
   the closing sentence rendered with no gap between them (measured
   this pass's report). A structural selector, not a third class:
   #clGreyCompose's child order is fixed by CHANGE A1
   (expansion.js) — the quiet line is always :first-child, whichever
   class it carries. Specificity (1,1,1) outranks .clg-sub's margin:0
   (1,1,0) without !important. Restores the same 0.6em gap .clg-line's
   own rule (above) already uses between two stacked lines elsewhere
   in this chapter. */
#clGreyCompose p:first-child {
  margin: 0 0 0.6em;
}
@media (prefers-reduced-motion: reduce) {
  #clGreyCompose { transition: none; }
}

/* PASS 10 · B1 — the card clears the buttons. .cl-mark's own rule
   (expansion.css:511) and .cl-mark-cap's own rule (expansion.css:526)
   are not edited: this is a new, more specific rule (#stColour
   .cl-mark, specificity 1,1,0), confirmed (B2, reported in this
   pass's report) to outrank the only other rule that sets left on
   either element — their own base rule, 0,1,0. No !important needed.
   top, transform, z-index and opacity are untouched.
   PASS 10 · B2 — wrapped at the same 861px boundary the file's own
   narrow-screen block (expansion.css:985, @media max-width: 860px)
   already uses, so the narrow layout keeps winning below it: that
   block sets width/top on these two elements but never left, so
   below 861px they still resolve left from .cl-mark's own base rule
   (50%, centred) with no interference from this rule. This pass's
   fix is for the wide layout only, as specified. */
@media (min-width: 861px) {
  #stColour .cl-mark,
  #stColour .cl-mark-cap {
    left: 33%;
  }
}

/* COLOUR PASS 13 · A1 — the canvas stops being seen, not stops
   drawing: drawMark() (expansion.js:1390, read for reference only,
   never edited) measures #clMarkCanvas with getBoundingClientRect(),
   so a zero box (display:none) would make it draw at the wrong size.
   opacity only; #clMarkCanvas's own rule and .cl-mark's own rule
   (both read for reference only) are untouched. */
#stColour #clMarkCanvas {
  opacity: 0;
}

/* COLOUR PASS 13 · B2 — the two circles, and what happens between
   them. #clGreyMark is built expansion.js, appended into the
   existing .cl-mark card (proof.html) — it is a child of .cl-mark
   and fades with .cl-mark's own opacity var(--cl-mark, 0)
   (expansion.css:511-517, read for reference only), so it needs no
   fade logic of its own. Plain alpha over the card's own paper: no
   blend mode, no filter, no border, no shadow. The two circles read
   --cl-a/--cl-b live, so they track whatever #stColour is currently
   publishing without this pass reading or storing either value. */
#stColour #clGreyMark {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  pointer-events: none;
}
#stColour #clGreyMark i {
  position: absolute;
  width: 46%; aspect-ratio: 1 / 1;
  border-radius: 50%;
  opacity: 0.72;
}
/* COLOUR PASS 13 · B2 — the overlap is the point: translateX()'s
   percentage is relative to each circle's own box (CSS transform
   spec), not the card.
   COLOUR PASS 14 · A2 — corrected in place: pass 13's 16% put the
   centres 32% of a diameter apart, an overlap of 68% — thin
   crescents, not the two-circles-with-a-lens figure Julia approved.
   30% (below, CHANGE A1) puts the centres 60% of a diameter apart —
   overlap 40%, measured this pass's report. */
#stColour #clGreyMark i:first-child { background: var(--cl-a, #C8442B); transform: translateX(-30%); }
#stColour #clGreyMark i:last-child  { background: var(--cl-b, #2F5FA8); transform: translateX(30%); }

/* ══════════════════════════════════════════════════════════════
   COLOUR PASS 18 — THE DOORWAY (expansion.js:colourDoorway, near
   the end of the file, read alongside this block)

   #clDoor sits above everything else in #stColour (z-index 10,
   above .cl-mark's own 9 — expansion.css:511, read for reference
   only) on the chapter's own dark ground, and is visible only for
   as long as expansion.js's updateDoor() says --cl-ui < 0.5 and
   --cl-close <= 0.01 hold. Full inset:0 and an opaque background
   are deliberate: for that span of scroll, the doorway is the
   chapter, and everything behind it (.cl-plane, .cl-word, .cl-lead
   — all still fading themselves in on schedule underneath, read
   for reference only, untouched) is meant to be covered rather than
   raced against.

   The visible/hidden swap borrows the exact delay pattern COLOUR
   PASS 12 already established for #clGrey/#clGreyWords (this file,
   read for reference only): 0s visibility delay on the visible
   state, so the fade in is seen; a delay matching the opacity
   duration on the hidden state, so the fade out finishes before
   visibility:hidden removes the band from the tab order. */
#clDoor {
  position: absolute; inset: 0; z-index: 10;
  background: var(--dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(1.35rem, 3vw, 2.2rem);
  padding: var(--pad);
  text-align: center;
  opacity: 1; visibility: visible;
  transition: opacity 900ms var(--ease), visibility 0s linear 0s;
}
#clDoor.cl-door-hidden {
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 900ms var(--ease), visibility 0s linear 900ms;
}

#clDoor .cl-door-head {
  font: var(--v-monument);
  color: #FFF;
  text-shadow: 0 1px 30px rgba(11,10,8,0.42);
  font-size: clamp(1.6rem, 3.4vw, 2.7rem);
  letter-spacing: -0.03em; line-height: 1.16;
  margin: 0; max-width: 40rem; text-wrap: balance;
}

#clDoor .cl-door-block { max-width: 32rem; }
#clDoor .cl-door-label {
  color: rgba(255,255,255,0.66);
  text-shadow: 0 1px 30px rgba(11,10,8,0.42);
  margin: 0 0 0.4em;
}
#clDoor .cl-door-body {
  font: var(--v-monument);
  color: #FFF;
  text-shadow: 0 1px 30px rgba(11,10,8,0.42);
  font-size: clamp(0.98rem, 1.4vw, 1.15rem);
  line-height: 1.44; letter-spacing: -0.006em;
  margin: 0; text-wrap: pretty;
}

/* the argument the visitor has not yet made cannot be stated yet:
   space is reserved (opacity/visibility only, no height change —
   house rules §6, "space held for a hidden element still counts")
   so revealing it never shifts anything else in this column. */
#clDoor .cl-door-seen {
  opacity: 0; visibility: hidden;
  transition: opacity 700ms var(--ease), visibility 0s linear 700ms;
}
#clDoor.cl-door-touched .cl-door-seen {
  opacity: 1; visibility: visible;
  transition: opacity 700ms var(--ease), visibility 0s linear 0s;
}

/* CHANGE 1 · the band. ⚠ HONESTY REQUIREMENT: this gradient is an
   sRGB approximation of a spectrum, not a physical one — a screen
   cannot reproduce most spectral wavelengths at all (most spectral
   loci fall outside sRGB gamut entirely), and nothing about these
   seven stops is a measurement. It exists to be dragged, not read
   as a spectrophotometer trace. The seven stops are the chapter's
   own committed COLOURS hexes (expansion.js:1242-1248, read for
   reference only, never edited), reordered violet-to-red: Violet
   #6B4A7A, Indigo #3A3E76, Ultramarine #2F5FA8, Verdigris #3F7A5C,
   Ochre #E0A11B, Burnt orange #D2541B, Vermilion #C8442B — no new
   hex value. */
#clDoorBand {
  position: relative;
  width: min(44rem, 82vw);
  height: clamp(46px, 5.6vw, 60px);
  border-radius: 999px;
  cursor: pointer; touch-action: pan-y; outline: none;
  background: linear-gradient(90deg,
    #6B4A7A 0%,
    #3A3E76 16.6%,
    #2F5FA8 33.3%,
    #3F7A5C 50%,
    #E0A11B 66.6%,
    #D2541B 83.3%,
    #C8442B 100%);
  box-shadow: 0 1px 30px rgba(11,10,8,0.42);
}
#clDoorBand:focus-visible { outline: 1px solid rgba(255,255,255,0.9); outline-offset: 4px; }

#clDoorHandle {
  position: absolute; top: 50%;
  left: calc(var(--cl-door-t, 0.5) * 100%);
  width: clamp(20px, 2.2vw, 26px); aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #FFF;
  box-shadow: 0 1px 14px rgba(11,10,8,0.55), 0 0 0 2px rgba(11,10,8,0.3);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

#clDoorReadout {
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  margin: 0;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 30px rgba(11,10,8,0.42);
  letter-spacing: 0.19em; text-transform: uppercase;
  font: var(--v-structural);
  font-variant-numeric: tabular-nums;
}
#clDoor .cl-door-row { display: flex; gap: 0.6em; }
#clDoor .cl-door-row span:last-child { color: #FFF; opacity: 0.92; }

/* ══════════════════════════════════════════════════════════════
   COLOUR PASS 21 — A CLICK KEEPS THE COLOUR (expansion.js:
   colourKeep, near the end of the file, read alongside this block)

   The cue: Julia's own words, verbatim. Positioned below #clHint's
   own committed "Move across the field" (expansion.css:498-505,
   read for reference only, never edited) — same left edge, same
   z-index, one line lower — and never inside it: a new element,
   never a rewrite of that one. --cl-kept is set only by
   expansion.js's colourKeep(), alongside --cl-l/--cl-s, never
   reaching into --cl-hint (the committed "have they moved yet"
   flag #clHint's own rule already reads) at all — the two hide for
   different reasons and neither rule needs to know about the
   other. The opacity formula mirrors #clHint's own shape —
   var(--cl-ui, 0) times a second 0..1 term — but the colour is the
   chapter's own #FFF-plus-text-shadow body treatment (.cl-lead/
   .cl-close, :435-441; .cl-door-body, Pass 18, :5876-5883 — both
   read for reference only), not #clHint's own dimmer
   rgba(255,255,255,0.72): this cue is closer to an instruction
   than a label. No box, no border, no card. */
.cl-keep-cue {
  position: absolute; z-index: 8;
  left: var(--pad); top: calc(15vh + 1.7rem); margin: 0;
  color: #FFF;
  text-shadow: 0 1px 30px rgba(11,10,8,0.42);
  opacity: calc(var(--cl-ui, 0) * (1 - var(--cl-kept, 0)));
  transition: opacity 500ms var(--ease);
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════
   COLOUR PASS 22 — THE CARD AND THE GROUND SHOW THE COLOUR THE
   VISITOR CHOSE

   Julia: the colours she composes "do not reflect on the white
   sheet of paper" — the card stays muted no matter how bright or
   saturated she makes the field. The cause: .cl-plane (:376-377),
   #clGrey (:5361, read for reference only) and #stColour .cl-sq
   (:5646, read for reference only) all carry
   `filter: brightness(var(--cl-l, 1)) saturate(var(--cl-s, 1))` —
   the visitor's own hand, multiplied onto the pigment. #clGreyMark
   i (:5808-5813, background/transform only at :5822-5823) and
   .cl-compose (:395-401) carry neither: they paint var(--cl-a),
   var(--cl-b) and Pass 19's own --cl-composed (expansion.js:
   colourGroundFollowsPair, read for reference only, never edited)
   straight, at the pigment's own strength, never the visitor's.

   Both new rules below add ONLY `filter`, the chapter's own
   committed line, unchanged, to selectors that already exist and
   already carry every other property they need — the same shape
   #stColour .cl-sq's own comment already argues for (:5356-5361,
   read for reference only): one filter on a shared selector, not
   edited per-element, so the elements it reaches stay identical to
   the field by construction.

   #stColour #clGreyMark i — both circles, :first-child and
   :last-child alike, since the shared rule at :5808 is what already
   governs both and neither per-child rule (:5822-5823) touches
   anything but background/transform. This also filters the lens
   between them, which is exactly right: the lens is alpha overlap
   of the two circles (Pass 13, read for reference only, never
   computed or painted by this pass), so once both circles carry the
   visitor's hand, the overlap they produce carries it too, without
   this pass touching the lens at all.

   .cl-mark itself (:511-524, background-color: #FCFAF7) is NOT
   given this filter — it is the paper the card is kept on, not a
   swatch, and .cl-mark's own background-image/background-color stay
   exactly as committed. #clGreyMark is a child of .cl-mark
   (expansion.js, read for reference only) but a child's own filter
   does not apply to its parent's background, so the paper is
   unaffected by construction, not by any exclusion written here.

   .cl-compose — proof.html:751, a sibling of .cl-plane
   (proof.html:670-671, read for reference only), never a child of
   it, which is why .cl-plane's own filter (:377) never reached it.
   Pass 19's lensColour() and composedGradient() (both read for
   reference only, never edited) still write --cl-composed from the
   raw hexes; this filter applies afterwards, at paint time, to the
   finished gradient as a whole, so its three bands and #clGreyMark's
   two circles receive identical treatment from the same two custom
   properties and continue to agree with each other. */
#stColour #clGreyMark i {
  filter: brightness(var(--cl-l, 1)) saturate(var(--cl-s, 1));
}
.cl-compose {
  filter: brightness(var(--cl-l, 1)) saturate(var(--cl-s, 1));
}

/* ══════════════════════════════════════════════════════════════
   COLOUR PASS 23 — THE DOORWAY'S BAND MUST NOT BE CRUSHED

   Julia's window is 727 points tall. #clDoor (:5846, read for
   reference only) is `display: flex; flex-direction: column`, so
   #clDoorBand's own committed `height: clamp(46px, 5.6vw, 60px)`
   (:5909-5924, read for reference only) is a flex MAIN size on a
   short window, and the default flex-shrink: 1 is free to consume
   it — measured on this worktree, headless, 1300 wide: 704x60 at
   900 tall, 704x0 at 727 (Julia's height) and below.
   #clDoorHandle stays position:absolute (:5927, read for reference
   only) and so keeps its size regardless — which is exactly the
   white dot on an empty black field Julia reported and the 21
   August investigation could not reproduce (that investigation's
   own 1440x900 measurement never crossed the height where the band
   collapses).

   flex-shrink: 0 alone restores the band, but then the column
   overflows #clDoor's own box below about 720pt: the band is saved
   and the Notice is clipped instead. The two min() wrappers hold
   that off by giving #clDoor's own committed gap and .cl-door-head's
   own committed font-size a ceiling in vh, alongside — never instead
   of — the committed clamp(). min() takes whichever is smaller, so
   on any window tall enough that the committed clamp() was already
   smaller than the new ceiling, nothing changes: measured identical
   at 1440x900 and 1300x900, this pass's own report. */
#clDoorBand {
  flex-shrink: 0;
}
#clDoor {
  gap: min(clamp(1.35rem, 3vw, 2.2rem), 4.2vh);
}
#clDoor .cl-door-head {
  font-size: min(clamp(1.6rem, 3.4vw, 2.7rem), 5.4vh);
}

/* ══════════════════════════════════════════════════════════════
   COLOUR PASS 25 — THE DOORWAY STOPS BEING BLACK

   Julia approved a replacement design on 22 August 2026, after
   calling the doorway "horrible design" twice. This pass builds the
   first half of it: the ground and the band's colour. Composition —
   where the heading, the two blocks, the readout and the Notice sit
   — is Pass 26 and is not touched here.

   CHANGE 2 · #clDoor (:5846, read for reference only, never edited)
   carries the doorway's own committed `background: var(--dark)`
   shorthand. The longhand properties below — background-color,
   background-image, background-repeat, background-size,
   background-position — are a later rule in cascade order, so they
   win without editing or removing the committed shorthand.
   background-color stays a solid rgb(7, 8, 12) ground underneath,
   so a failed image request leaves the doorway readable rather than
   transparent. The photograph is `assets/img/colour/cl-prism.jpg`
   (asset_log.md §9, this pass) — Julia's own Midjourney generation,
   on her own account `femageart`, rights owned, copied byte for
   byte from the `sample4-visual-concept` worktree's derivative,
   1344×610, never re-encoded, cropped, resized or re-graded.

   The two gradients are not decoration; they are what keeps the
   words in .cl-door-head, .cl-door-block and .cl-door-seen
   (:5860-5906, read for reference only, never edited) readable over
   a photograph instead of a flat colour. The first darkens top and
   bottom. The second darkens the left, where the text sits, and
   lets the light burn out to the right. Neither is removed or
   reordered by this pass. */
#clDoor {
  background-color: rgb(7, 8, 12);
  background-image:
    linear-gradient(180deg,
      rgba(6,7,10,0.62) 0%, rgba(6,7,10,0) 20%,
      rgba(6,7,10,0) 46%, rgba(6,7,10,0.62) 74%, rgba(6,7,10,0.93) 100%),
    linear-gradient(96deg,
      rgba(6,7,10,0.985) 0%, rgba(6,7,10,0.975) 28%, rgba(6,7,10,0.90) 44%,
      rgba(6,7,10,0.58) 58%, rgba(6,7,10,0.30) 76%, rgba(6,7,10,0.46) 100%),
    url("../img/colour/cl-prism.jpg");
  background-repeat: no-repeat;
  background-size: cover, cover, 128% auto;
  background-position: center, center, 58% 40%;
}

/* CHANGE 3 · #clDoorBand's committed rule (:5909, read for
   reference only, never edited) paints the chapter's seven
   historical pigments (expansion.js:1242-1248, read for reference
   only) — paint, on a screen that is now about light. This
   replacement is a 380-700nm spectrum approximation, one stop every
   20nm across seventeen stops, matching NM_MIN/NM_MAX
   (expansion.js:7304, read for reference only, never edited) so the
   handle's own committed readout (nmFromT, expansion.js:7427, read
   for reference only) still agrees with the colour beneath it at
   every position. Julia: "make it brighter and more saturated.
   These are not nice colors" — these seventeen stops are bright,
   saturated sRGB, distinct from the muted pigment field the rest of
   the chapter paints.

   height: 4px and border-radius: 0 are the design: a blade of
   light, not a rounded control. Pass 23's own committed
   `flex-shrink: 0` (:6065-6067, read for reference only, never
   edited) still governs and is not touched here — the band must
   still measure 4px tall, never 0, on a short window. */
#clDoorBand {
  background: linear-gradient(90deg,
    rgb(95,0,95) 0.0%, rgb(128,0,179) 6.2%, rgb(104,0,255) 12.5%,
    rgb(0,0,255) 18.8%, rgb(0,120,255) 25.0%, rgb(0,212,255) 31.2%,
    rgb(0,255,144) 37.5%, rgb(52,255,0) 43.8%, rgb(127,255,0) 50.0%,
    rgb(194,255,0) 56.2%, rgb(255,255,0) 62.5%, rgb(255,189,0) 68.8%,
    rgb(255,116,0) 75.0%, rgb(255,31,0) 81.2%, rgb(214,0,0) 87.5%,
    rgb(157,0,0) 93.8%, rgb(95,0,0) 100.0%);
  height: 4px;
  border-radius: 0;
  box-shadow: 0 0 30px rgba(255,255,255,0.26), 0 6px 26px rgba(6,7,10,0.85);
}

/* ══════════════════════════════════════════════════════════════
   COLOUR PASS 26 — THE DOORWAY'S COMPOSITION

   ⚠ HONESTY REQUIREMENT, CARRIED FORWARD. The committed band
   comment (Pass 18, read for reference only) states that the
   gradient is an sRGB approximation of a spectrum and not a
   physical one — a screen cannot reproduce most spectral
   wavelengths at all. Pass 25 replaced the seven pigment stops
   with a 380-700nm conversion, which is a closer approximation
   and NOT a measurement. That warning still stands and is
   restated here so it is not lost with the stops it was written
   about. Nothing on this screen is a spectrophotometer trace. */

/* CHANGE 1 — the doorway becomes a left column, and the photograph
   is left to burn out on the right. The padding clears the
   chapter's own chrome: the mark top left, the scroll rail down
   the left edge, and "06 Color" bottom left — none of which belong
   to this pass and none of which are edited. */
#clDoor {
  display: grid;
  grid-template-columns: minmax(0, 46ch) minmax(0, 1fr);
  grid-template-rows: auto auto auto minmax(0, 1fr) auto auto auto;
  justify-items: start; align-items: start;
  text-align: left;
  row-gap: 0;
  padding: clamp(4.4rem, 10vh, 6.2rem) var(--pad)
           clamp(3.6rem, 8vh, 5rem) clamp(4.6rem, 5.4vw, 6.4rem);
}
#clDoor .cl-door-measured { grid-column: 1; grid-row: 2; }
#clDoor .cl-door-seen {
  grid-column: 1; grid-row: 3;
  margin-top: clamp(0.7rem, 2vh, 1.3rem);
}
#clDoor .cl-door-block { max-width: 41ch; }

/* CHANGE 2 — the type carries the argument. Measured recedes, Seen
   comes forward. No label is asked to do that work. */
#clDoor .cl-door-head {
  grid-column: 1; grid-row: 1;
  max-width: 23ch; text-wrap: balance;
  font-size: min(clamp(1.5rem, 3.1vw, 2.7rem), 6vh);
  line-height: 1.1; letter-spacing: -0.033em;
  margin: 0 0 clamp(0.9rem, 2.4vh, 1.6rem);
}
#clDoor .cl-door-measured .cl-door-body {
  font-size: clamp(0.76rem, 1vw, 0.85rem);
  line-height: 1.64;
  color: rgba(255, 255, 255, 0.66);
}
#clDoor .cl-door-seen .cl-door-body {
  font-size: clamp(0.9rem, 1.24vw, 1.04rem);
  line-height: 1.56;
  color: rgba(255, 255, 255, 0.97);
}
#clDoor .cl-door-label {
  font-size: 0.60rem; letter-spacing: 0.26em;
  color: rgba(255, 255, 255, 0.52);
  margin: 0 0 0.7em;
}

/* CHANGE 3 — the instrument and the note. The band spans the whole
   screen; the handle becomes a fine mark with a hairline through
   it rather than a disc; the reading sits under it, left; the
   Notice takes the weight of a legal line. Not one word is cut. */
#clDoorBand {
  grid-column: 1 / -1; grid-row: 5;
  width: 100%; align-self: end;
  margin: 0 0 clamp(0.9rem, 2.4vh, 1.5rem);
}
#clDoorHandle {
  width: 7px; height: 7px;
  box-shadow: 0 0 16px rgba(255, 255, 255, 1);
}
#clDoorHandle::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 1px; height: 30px; background: #FFF;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.95);
}
#clDoorReadout {
  grid-column: 1; grid-row: 6;
  align-items: flex-start; text-align: left;
  gap: 0.4rem;
  margin: 0 0 clamp(0.8rem, 2.2vh, 1.3rem);
}
#clDoor .cl-door-notice { grid-column: 1; grid-row: 7; max-width: 58ch; }
#clDoor .cl-door-notice .cl-door-label {
  font-size: 0.55rem; color: rgba(255, 255, 255, 0.46);
  margin-bottom: 0.5em;
}
#clDoor .cl-door-notice .cl-door-body {
  font-size: clamp(0.55rem, 0.74vw, 0.63rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.42);
}

/* ══════════════════════════════════════════════════════════════
   COLOUR PASS 27 — THE MARKER SHOWS THAT IT MOVES

   Both invitations below are scoped to
   #clDoor:not(.cl-door-touched) — the chapter's own latch
   (expansion.js:7439, read for reference only), set the first time
   the handle moves and never unset. So this shows until the
   visitor has done it once, then never again, on the same terms
   .cl-door-seen is already revealed on. No new class, no new
   element, no listener, no words. */

/* CHANGE 1 — the mark drifts along the one axis it can be dragged
   along. Not a pulse: a drift, so it shows WHICH WAY as well as
   THAT it moves. The keyframes carry the committed rule's own
   translate(-50%, -50%) inside them, so the handle stays centred
   on its own left: calc(var(--cl-door-t) * 100%). */
@keyframes cl-door-invite {
  0%   { transform: translate(calc(-50% - 4px), -50%); }
  100% { transform: translate(calc(-50% + 4px), -50%); }
}
#clDoor:not(.cl-door-touched) #clDoorHandle {
  animation: cl-door-invite 2600ms var(--ease) infinite alternate;
}

/* CHANGE 2 — a thin ring while untouched. This is not decoration:
   CHANGE 3 switches the drift off under reduced motion, and
   without the ring those visitors would be given no invitation at
   all. ::before, so Pass 26's own ::after hairline is untouched. */
#clDoor:not(.cl-door-touched) #clDoorHandle::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.34);
  transform: translate(-50%, -50%);
}

/* CHANGE 3 — no movement where movement is refused. The ring
   stays and carries the invitation alone. */
@media (prefers-reduced-motion: reduce) {
  #clDoor:not(.cl-door-touched) #clDoorHandle { animation: none; }
}

/* ══════════════════════════════════════════════════════════════
   COLOUR PASS 28 — THE DOORWAY GETS TIME

   The doorway owns the chapter's first 13% — it closes when
   --cl-ui crosses 0.5, and --cl-ui ramps across 8%-18% of p
   (expansion.js:1483, read for reference only, NOT edited). At
   the committed --track: 440vh (:23) that is 300px of scroll at
   1300x717 and 375px at 1440x900: less than half a screen, and
   one trackpad flick takes the whole of it.

   Julia's ruling: lengthen the chapter, leave the JavaScript
   alone. She authorised editing :1483 and then withdrew that in
   favour of this. 700vh was chosen over 880vh because 880
   doubles every beat in the chapter to fix one screen.

   ⚠ The second rule below restates the committed mobile value
   (:987) UNCHANGED. It exists only because this block sits later
   in the file and would otherwise override the media query it
   never intended to touch. Phones keep exactly the length they
   have today. */
.sc-track--colour { --track: 700vh; }
@media (max-width: 860px) {
  .sc-track--colour { --track: 420vh; }
}

/* ══════════════════════════════════════════════════════════════
   COLOUR PASS 30 — THE CUE FOLLOWS THE HAND

   Gated on .cl-cue-hand (added once, by the JS in this same pass,
   on the first qualifying pointermove) so nothing moves until the
   visitor's pointer has actually moved. The fallbacks are the
   committed corner values from :5972, character for character, so
   a missing --cl-cx/--cl-cy changes nothing. Opacity is untouched —
   the committed rule at :5975 already owns visibility. */
#stColour.cl-cue-hand .cl-keep-cue {
  left: var(--cl-cx, var(--pad));
  top: var(--cl-cy, calc(15vh + 1.7rem));
}

/* ══════════════════════════════════════════════════════════════
   COLOUR PASS 31 — THE CHAPTER ENDS ON THE DEMONSTRATION

   Four things retire so the chapter ends on the two squares and
   "Are they the same?" rather than on a second, unequal statement
   of the same idea: .cl-compose (the composed field), #clComposeBtn
   (the button that made it), .cl-mark/.cl-mark-cap (the kept mark
   and its caption), and #clGreyCompose (the reduced-motion document's
   own composed-field line). House deletion rule: nothing below is
   removed, only opacity/visibility, added new, at higher specificity
   than each element's own committed rule. expansion.js is NOT
   touched by this pass — drawMark() (:1390) and setComposed()
   (:1374) keep running exactly as committed, unseen. #clGreyMark
   is a child of .cl-mark and retires with it; #clMarkCanvas's own
   rule (:5790, COLOUR PASS 13 · A1) is untouched.

   Julia's ruling, 6 September 2026: a retirement may also close its
   own box where leaving it open would move elements being kept. This
   is not a general licence — CHANGE 1's box collapse on #clComposeBtn
   is scoped to exactly that: it is a flex item in .cl-tools, and
   visibility:hidden alone leaves its box in place, pulling .cl-tools'
   justify-content: flex-end layout rightward past where the two
   remaining buttons already sit. CHANGE 4 is the same ruling applied
   to the reduced-motion branch, where .sc-stage becomes a grid and a
   hidden child would otherwise still claim a row and a row-gap.

   CHANGE 4 supersedes, in reading only, the comment at :1135-1136
   ("the composed field is content, not travel: it stays, as its own
   band, and the button that takes it apart still works") — an
   earlier pass's ruling for the reduced-motion branch, correct until
   Julia's 6 September ruling above replaced it. That comment is NOT
   edited: the parallel-work rule forbids touching anything above
   this block. This paragraph is what corrects the record. */
#stColour .cl-compose {
  opacity: 0;
  visibility: hidden;
}
#stColour #clComposeBtn {
  opacity: 0;
  visibility: hidden;
  /* the box collapses too: this is a flex item and visibility alone
     would leave a hole at the right edge of .cl-tools */
  width: 0;
  padding-left: 0;
  padding-right: 0;
  margin: 0;
  border-width: 0;
}
#stColour .cl-mark,
#stColour .cl-mark-cap {
  opacity: 0;
  visibility: hidden;
}
#stColour #clGreyCompose {
  opacity: 0;
  visibility: hidden;
}

/* COLOUR PASS 31 · CHANGE 4 — the same ending, in the document
   branch. Under prefers-reduced-motion, .sc-stage becomes a grid
   with row-gap (proof.css:1071-1077) and proof.css:1078's own
   .sc-stage > * forces opacity:1 !important and position:static
   !important on every direct child, including .cl-compose,
   .cl-mark, .cl-mark-cap and #clGreyCompose (all four are direct
   children of #stColour, confirmed live). expansion.css:1140 adds a
   second opacity:1 !important of its own onto .cl-compose. Neither
   is a stop condition: both are beaten below by a rule of equal or
   higher specificity, also !important, so the normal cascade still
   decides it. Retired here with position:absolute !important rather
   than display:none, so #clMarkCanvas keeps a measurable box
   (Colour Pass 13 requires this) while the element itself takes no
   row and no row-gap in the reduced-motion grid — the alternative,
   visibility:hidden with position left static, would leave three
   empty rows where the third act was. visibility carries no
   !important: nothing in any of the three stylesheets sets
   visibility on any of these four with !important (confirmed by
   search), so the plain declaration already wins.
   .cl-pair, .cl-plane and .cl-sq are not part of this rule and are
   not touched by it: the two grounds and the two squares are the
   demonstration and stay exactly as committed, in both branches
   (expansion.css:1152-1155 already says so for this branch). */
@media (prefers-reduced-motion: reduce) {
  #stColour .cl-compose,
  #stColour .cl-mark,
  #stColour .cl-mark-cap,
  #stColour #clGreyCompose {
    position: absolute !important;
    opacity: 0 !important;
    visibility: hidden;
  }
}

/* ══════════════════════════════════════════════════════════════
   COLOUR PASS 32 — THE WAY BACK IS SAID

   Julia found the way back off screen: .cl-keep-cue (Pass 21,
   colourKeep(), expansion.js) has carried "Click to keep this
   color." since it was built, but its own committed rule
   (expansion.css:5970-5978, NOT edited) reads
   opacity: calc(var(--cl-ui, 0) * (1 - var(--cl-kept, 0))) — the
   --cl-kept term was written to HIDE the cue once a colour is held,
   because Pass 21's own comment (expansion.js:7759-7760, "There is
   no approved wording for a release cue, so none is invented") had
   no second sentence to show. That comment is now superseded: Julia
   approved the release wording on 6 September 2026, so the cue no
   longer needs to disappear. This rule only removes the --cl-kept
   term; the --cl-ui term is kept exactly as committed, so the cue
   still shows only while the chapter's controls are up, and the
   committed rule's own 500ms opacity transition still applies. */
#stColour .cl-keep-cue {
  opacity: var(--cl-ui, 0);
}

/* ═══════════════════════════════════════════════════════════════
   HARMONY PASS 3 · THE FIGURE FOR THE EXPLAINING SCREENS

   Supersedes the uncommitted passes 1 and 2, both rebuilt away
   rather than patched. What each got wrong is recorded in the
   commit message, not here.

   THE THREE ELEMENTS ARE OUT OF FLOW AND ANCHOR-PROOF AT EVERY
   WIDTH. They are positioned and hidden in a base rule, OUTSIDE the
   media query, so that adding them to the stage can never change
   layout at any window size — including below 861px, where the
   geometry below does not apply. `overflow-anchor: none` also keeps
   the browser from ever choosing one of them when it adjusts scroll
   for content that changed size. Julia saw the page jump back to the
   top of the chapter exactly once, at the moment the chapter loaded,
   and never again; appending elements is the one thing here that
   happens exactly once.

   MEASURED at 1291x767: figure 92-430, label 441-483, words 523-646.
   11px figure to label, 40px label to sentence, no overlap. All of it
   in viewport units. */

/* base — out of flow and invisible at every width */
.hm-trace, .hm-trace-live, .hm-trace-ratio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  overflow-anchor: none;
  margin: 0;
}

@media (min-width: 861px) {

  .hm-trace, .hm-trace-live {
    z-index: 5;
    left: 50%; top: 12vh;
    width: min(44vh, 34vw); height: min(44vh, 34vw);
    transform: translateX(-50%);
    opacity: calc(min(1, max(0, (var(--p, 0) - 0.500) / 0.020)) *
                  (1 - min(1, max(0, (var(--p, 0) - 0.880) / 0.040))));
  }

  .hm-trace-ratio {
    z-index: 5;
    left: 50%; top: calc(12vh + min(44vh, 34vw) + 1.5vh);
    transform: translateX(-50%);
    width: 26rem; text-align: center;
    opacity: calc(min(1, max(0, (var(--p, 0) - 0.500) / 0.020)) *
                  (1 - min(1, max(0, (var(--p, 0) - 0.880) / 0.040))));
  }
  .hm-trace-ratio .r {
    font: 300 1.35rem/1 "Public Sans", sans-serif;
    color: var(--accent); letter-spacing: 0.01em;
  }
  .hm-trace-ratio .n {
    display: block; margin-top: 0.62rem;
    font: 400 10.5px/1 "Public Sans", sans-serif;
    letter-spacing: 0.19em; text-transform: uppercase;
    color: var(--on-dark-2);
  }

  /* THE WORDS MOVE CLEAR OF THE FIGURE. The committed rule is
     .hm-say-p { transform: translateY(-50%) } at expansion.css:2841,
     unedited and superseded here by source order. Every line is
     opacity 0 outside its own beat, so a constant offset is invisible
     everywhere else. */
  .hm-say-p {
    transform: translateY(-50%) translateY(26.2vh);
  }
}

/* ══════════════════════════════════════════════════════════════
   PASS 53 · 05 PERCEPTION — ONE SOLID, TURNING

   The chapter used to hold three flat drawings at three depths (a
   circle, a cross, a rectangle) that lined up from one hidden
   viewpoint. It now holds ONE SOLID, turning, whose outline is a
   circle from above, a square from the front and a triangle from
   the side — with three buttons that hold those viewpoints.

   NOTHING IN proof.css OR proof.js IS EDITED. The old figure and
   its one control are hidden here; expansion.js (this pass, its own
   block at the foot of that file) draws the new figure on a canvas
   and rewrites every word the old figure owned.

   WHY #pcSpace IS HIDDEN RATHER THAN REUSED: proof.js's own
   perception() block holds pointer, drag and arrow-key listeners on
   that element and writes "Registration 53%" into the readout from
   them. display:none takes it out of the layout AND the
   accessibility tree, so getBoundingClientRect() returns zero width,
   fromPoint() returns early, the element can never take focus, and
   none of those listeners can fire again. proof.js's one remaining
   job on this chapter — writing --pc-room and --pc-on from scroll —
   is untouched and this pass depends on it.  */

#pcSpace,
#pcAlign { display: none !important; }

/* the new figure sits where the old planes sat, at the same size
   (min(72vh,58vw)) and on the same entrance beat — the expression
   below is copied exactly from this file's own .pc-space rule so
   the figure arrives when it always did */
.pc-solid-space {
  position: absolute; inset: 0; z-index: 3;
  display: grid; place-items: center;
  pointer-events: none;
  opacity: calc(var(--pc-on, 0) * min(1, max(0, (var(--p, 0) - 0.06) / 0.09)));
}
#pcSolid {
  width: min(72vh, 58vw); height: min(72vh, 58vw);
  display: block;
}

/* the three controls, in the slot .pc-align held */
.pc-views {
  position: absolute; z-index: 6;
  right: var(--pad); bottom: 13vh;
  display: flex; gap: 0.5rem;
  opacity: var(--pc-on, 0);
}
.pc-view {
  padding: 0.7rem 1.1rem;
  background: none; border: 1px solid var(--grey-2); cursor: pointer;
  font: var(--v-structural); letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--graphite);
  transition: border-color 300ms var(--ease), color 300ms var(--ease);
}
.pc-view:hover,
.pc-view:focus-visible,
.pc-view[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.pc-view:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }

/* THE FOOT ORDER ON A NARROW SCREEN — .pc-views TAKES #pcAlign'S PLACE
   IN IT, NOT ITS OWN.

   expansion.css already gives every chapter one order below 900px:
   the lens control ("What am I seeing?") sits in a reserved strip at
   the very bottom, and the chapter's own controls stand above it. The
   last of those two blocks moves #pcAlign to bottom: 20vh for exactly
   that reason.

   .pc-views REPLACES #pcAlign, so it inherits that job. Without this
   it stays at 13vh while the lens control moves to 10vh — 3vh apart
   for a control 42px tall — and the two print on each other. That is
   not a near miss, it is a collision by construction, and Julia
   photographed it: "WHAT AM I SEEING?" across FROM THE SIDE, at a
   viewport narrowed below 900px by an open DevTools panel.

   An earlier version of this block set its own bottom: 12vh at 860px,
   which fought that ordering rather than joining it. This joins it.

   flex-wrap is not phone design — the phone is a phase not started.
   It only stops three buttons overflowing a viewport too narrow to
   hold them in one row, which would otherwise be a new fault created
   at the moment the old one was fixed. */
@media (max-width: 900px) {
  .pc-views {
    bottom: 20vh;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

/* ══════════════════════════════════════════════════════════════
   PASS C · 05 PERCEPTION — THE STAGING

   Pass B gave the chapter its object. This gives it its order:
   the visitor is given ONE view and accepts it before learning
   there are others.

   Everything below is an ADDITION to the Pass B block above. No
   rule above is edited; this block sits after it and wins on
   source order, which is how every pass on this branch works.
   ══════════════════════════════════════════════════════════════ */

/* BEAT 3 · the two lines, on the screen and not in a panel.
   The chapter's best sentence used to sit inside the lens panel,
   behind a button almost nobody opens. */
.pc-say {
  position: absolute; z-index: 6;
  left: 50%; transform: translateX(-50%);
  bottom: 21vh;
  margin: 0; width: min(46ch, 84vw); text-align: center;
  font: var(--v-body-s, 300 1.05rem/1.5 inherit);
  color: var(--graphite);
  pointer-events: none;
}
.pc-say span {
  display: block;
  opacity: 0; transform: translateY(6px);
  transition: opacity 1600ms var(--ease), transform 1600ms var(--ease);
}
.pc-say[data-on="1"] span { opacity: 1; transform: none; }
.pc-say[data-on="1"] span:nth-child(2) { transition-delay: 700ms; }

/* THE SUB-LINE ARRIVES WITH THE BUTTONS, NOT AT THE START.
   Approved by Julia, 8 September, from the staging render, and it
   closes DRIFT 11. ONE SOLID. THREE PLACES TO STAND. is the right
   line and was always the right line — but printed at the first
   beat it announces the solid and the three viewpoints, which is
   exactly what that beat exists to withhold. It arrives at the
   moment the three buttons do, where it stops being a spoiler and
   becomes the label for what they do. */
.pc-sub[data-pc] {
  opacity: 0;
  transition: opacity 1400ms var(--ease);
}
.pc-sub[data-pc="1"] { opacity: 1; }

/* ⚠ THE FOOT ORDER BELOW 900px — .pc-say IS A NEW ELEMENT IN IT.

   This is the 8 September lesson arriving in a second place, and it
   was caught by rendering rather than by reasoning. expansion.css
   gives every chapter one order below 900px: the lens control sits
   in a reserved strip at the very bottom, and the chapter's own
   controls stand above it — which is why the block above moves
   .pc-views to 20vh.

   .pc-say is new furniture in that same region. Left at its
   wide-screen 21vh it lands on top of the buttons: measured at 900,
   880 and 760, the lines end at 530 and the buttons begin at 502.
   A collision by construction, exactly like #pcAlign and .pc-views
   before it. So it takes the next place up. */
@media (max-width: 900px) {
  .pc-say { bottom: 31vh; }
}

/* ══════════════════════════════════════════════════════════════
   EYE PASS 2 — BEATS 1 TO 4, AND THE APPLE

   The track lengthens from 340vh to 600vh: beat 0 (the eye) is now
   one beat among five rather than the whole chapter. Its own
   fractions are rescaled in expansion.js so it keeps the exact
   scroll length Julia approved for it — read there, not here.

   .ey-plate is centred in the stage. Its <video> uses
   object-fit: contain, never cover — the clip's edges are already
   feathered onto #060505, so letterboxing is invisible but
   cropping would cut the feather off and show a hard edge.

   The stage's ground is already handled by
   .sc[data-tone="dark"] .sc-stage — no background is set here on
   either the plate or the stage. */
/* CORRECTION 3 — laid out from a rule, once: three gaze beats with
   real pauses need 166vh, and the eye was only at full presence for
   104vh at the previous track length — it did not fit, with or
   without the pauses. 880vh grew to 960vh (820vh to 900vh on the
   narrow layout, always 60vh below); travel is this value's own live
   height minus 100vh, so every fraction in expansion.js is a fraction
   of the new 860vh/800vh travel. Roughly the last tenth (~0.90-1.0) is
   reserved for the afterimage and carries nothing in this pass. */
.sc-track--eye { --track: 960vh; }
@media (max-width: 860px) {
  .sc-track--eye { --track: 900vh; }
}
/* ⚠ The eye is composed, not full-bleed. Julia approved this beat at a size
   where the eye sat inside darkness, and a plate that fills the viewport
   loses exactly that — there is nothing left for the dark to arrive out of.
   One value governs it. object-fit stays contain: the clip's edges are
   already feathered onto #060505, so a smaller plate sits on the ground
   seamlessly, and cropping would cut the feather off. */
.ey-plate {
  position: absolute;
  inset: 0;
  margin: auto;                 /* replaces inset: 0 as the centring */
  width: min(1000px, 58vw);
  height: min(563px, 33vw);
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform, opacity;
  /* ⚠ The plate's edge is dissolved, not colour-matched.
     A codec cannot deliver (11,10,8): H.264 and VP9 store limited-range
     YUV with subsampled chroma, and at this end of the scale the clip
     decodes to (10,10,7) — darker than the stage and a different hue,
     which reads as a rectangle. Matching it in the file is not durable,
     because a browser's colour management can shift it again. So the
     boundary is removed instead. The assets are already feathered, so
     this mask sits inside near-black picture and costs nothing. */
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right,  transparent 0%, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 9%, #000 91%, transparent 100%);
  mask-composite: intersect;
}
.ey-plate video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* CORRECTION 2 · A — chapter 06 is the only one of eight with a
   -word element kept visually hidden; this adopts the family's own
   treatment instead of inventing one. Values taken from .vb-word
   (proof.css:434) — same font (--v-monument), same letter-spacing,
   same colour, same corner-anchored placement (that chapter's plate
   is also centred, the same shape of problem this one has), so a
   corner word and a centred plate are already proven to coexist.
   Still #eyeHead / aria-labelledby's target — element type, id and
   role are all unchanged, only the visual treatment moves. Opacity
   is not copied from .vb-word: expansion.js binds it to the plate's
   own arrived/departure instead, see eyeBeat(). */
.ey-word {
  position: absolute;
  z-index: 4;
  right: -0.04em;
  top: 8vh;
  margin: 0;
  font: var(--v-monument);
  font-size: clamp(3.2rem, 13.5vw, 12rem);
  letter-spacing: -0.05em;
  line-height: 0.86;
  color: var(--on-dark);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}
.ey-say {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 24ch;
  text-wrap: balance;
  text-align: center;
  font-family: "Public Sans", sans-serif;
  font-weight: 200;
  font-size: clamp(24px, 3.2vw, 42px);
  line-height: 1.3;
  color: var(--on-dark);
  opacity: 0;
}
/* the fact, not a line of poetry — a step smaller and wider.
   PASS A — moved from .ey-say--4 to .ey-say--5, since the single
   two-fact paragraph split in two and this is the second fact. */
.ey-say--5 {
  font-size: clamp(19px, 2.2vw, 28px);
  max-width: 34ch;
}

/* PASS A · THE TWO FACTS — .ey-say's own base rule centres itself
   absolutely at 50%/50%, which is how two of them ended up landing on
   top of each other and both landing on the apple. This wrapper takes
   over the positioning instead, in the lower third, and the two
   paragraphs flow inside it in normal document order. */
.ey-facts {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6em;
}
.ey-facts .ey-say {
  position: static;
  left: auto;
  top: auto;
  transform: none;
}

/* PASS 3A — the gaze copy. .ey-say centres itself at left:50%;
   top:50%, exactly where the eye sits, so these anchor below the
   plate instead, off the plate's own height (min(563px, 33vw),
   copied from :9494). If the plate's height changes, these two
   values must change with it.

   PASS A — three lines now, replacing one another in the same spot
   rather than stacking, so centring moves from a translateX to
   inset+margin: expansion.js needs this element's own `transform`
   free for the arrival scale (the same reason .ey-apple is centred
   this way, :9576), and a shared `top` with no per-line offset is
   what makes them land on top of each other. */
.ey-gaze {
  position: absolute;
  left: 0;
  right: 0;
  width: fit-content;
  margin-inline: auto;
  top: calc(50% + min(563px, 33vw) / 2 + 5vh);
  max-width: 30ch;
  text-wrap: balance;
  text-align: center;
  font-family: "Public Sans", sans-serif;
  font-weight: 200;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.45;
  color: var(--on-dark);
  opacity: 0;
  will-change: transform, filter;
}
/* CORRECTION 2 · B — "or is way too small. I don't like it." Large
   now, roughly 3.5x the two statements either side (still clamp(18px,
   2vw, 26px)) — alone on a black screen it is the pivot of the
   chapter and should look like one. Still does not blur in; scale now
   carries the size distinction and one contrast is enough. */
.ey-gaze--2 {
  color: var(--on-dark);
  font-weight: 200;
  font-size: clamp(44px, 7vw, 96px);
}
/* the line that turns, in the same blue the apple will put on screen
   a beat later */
.ey-gaze--3 { color: var(--light); }
/* ⚠ centred with inset:0 + margin:auto, not a translate, because
   expansion.js writes this element's own transform (its arrival
   scale) — the same reason .ey-plate (above) is centred this way.

   ⚠ CORRECTION 2 — the apple arrives by light, not by fading.
   expansion.js grows --ey-r from 0% to 62% across the apple's
   in-window and holds it there. This is the eye's departure run
   backwards, and the single radial gradient's soft outer stop does
   the edge-dissolve that the old two-gradient mask did for
   .ey-plate, so no mask-composite is needed here.

   ⚠ CORRECTION 34 — opacity does NOT stay 1 throughout. At
   --ey-r: 0% the mask above is fully opaque at its centre and only
   fades over the outer 22%, so a mask at zero radius shows a soft
   disc of the apple rather than hiding it. opacity is the gate that
   keeps the apple genuinely absent until expansion.js ramps it in
   just ahead of the mask opening; the mask stays the reveal. */
.ey-apple {
  --ey-r: 0%;
  position: absolute;
  inset: 0;
  margin: auto;
  /* CORRECTION 1 · B — square, and was constrained only by width: at
     1440x800 that made it 984px tall in an 800px viewport, taller
     than the screen. 88vh is a ceiling, not a resize — it does not
     bind at 1080px (still 984px) but caps it at 800px. */
  width: min(984px, 72vw, 88vh);
  aspect-ratio: 1 / 1;
  opacity: 0;
  will-change: transform;
  -webkit-mask-image: radial-gradient(circle at 50% 48%,
      #000 0 var(--ey-r), transparent calc(var(--ey-r) + 22%));
  mask-image: radial-gradient(circle at 50% 48%,
      #000 0 var(--ey-r), transparent calc(var(--ey-r) + 22%));
}
.ey-apple img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
/* the Look closer trigger and its panel: unreachable during beat 0,
   brought into play once expansion.js sets data-ey-ui="1" on #stEye
   at p >= 0.45. Positioned like every other chapter's .beneath — left
   here because the markup is beneath--left — since .beneath's own
   base rule (:45) is position:absolute with no offsets, and without
   one it collapses to (0,0), under the site's fixed header. */
#stEye .beneath {
  left: var(--pad);
  bottom: 12vh;
  opacity: 0;
  pointer-events: none;
}
#stEye[data-ey-ui="1"] .beneath {
  opacity: 1;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  /* ⚠ The attribute that lifts this gate is written by render(), and
     render() never runs here — eyeBeat returns before its observer is
     installed. The site's own reduced-motion rules restore opacity and
     position but not pointer-events, so without this the Look closer
     button is visible and dead. proof.css states the rule this serves:
     every interaction still operable, only the travel is gone. */
  #stEye .beneath { pointer-events: auto; }

  /* CORRECTION 34 — --ey-r and opacity are written by render(), which
     never runs here, so without this the apple sits at opacity 0
     behind a mask shut to 0% — the chapter's reveal, invisible. Park
     both at the values the animation ends on: the apple is simply
     already arrived. Do NOT use mask:none — the mask's soft outer
     stop is also what dissolves the apple's edge into the ground,
     and removing it brings back the hard rectangle this chapter
     spent a pass eliminating. */
  #stEye .ey-apple { --ey-r: 62%; opacity: 1; }

  /* PASS A — .ey-facts's own two paragraphs are no longer direct
     children of .sc-stage (the wrapper is), so proof.css:1078's
     blanket rule reaches the wrapper but not them; without this they
     sit at their scripted opacity:0 default forever, since render()
     never runs here to write anything else. */
  #stEye .ey-facts .ey-say {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

/* ══════════════════════════════════════════════════════════════
   THE SNAPPING PASS — one message per scroll

   proximity, never mandatory: it only takes effect when a scroll
   comes to rest near a point, so a deliberate long scroll passes
   through untouched. html is the actual scroll container (proof.css
   never sets overflow on it, on purpose — :33's own comment: that
   would make it a scroll container and break every pinned stage on
   the site), so this is site-wide by construction, not by choice —
   see expansion.js for the two scopes this pass keeps separate. */
html { scroll-snap-type: y proximity; }
@media (prefers-reduced-motion: reduce) {
  /* required, not cautious: .sc-track collapses to height:auto under
     reduced motion (proof.css:1071), so every marker below, positioned
     in vh or in a fraction of the track's own height, stops
     corresponding to anything on screen. */
  html { scroll-snap-type: none; }
}

/* one marker per .sc-track, at its own top (p=0) — chapter
   boundaries, built for every chapter, not just six. */
.snap-mark {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 0;
  visibility: hidden;
  pointer-events: none;
  scroll-snap-align: start;
}

/* chapter 06 only — one per beat's own hold-midpoint. `top` is written
   inline as calc(P * (100% - 100vh)): P is the exact fraction eyeBeat()
   itself uses, and 100% - 100vh is exactly `travel` (the track's own
   height less the pinned viewport, the same quantity p's own
   denominator is) — so one formula holds for both the wide and narrow
   layouts with nothing hand-duplicated per breakpoint. */
.ey-beat-mark {
  position: absolute;
  left: 0;
  width: 1px;
  height: 0;
  visibility: hidden;
  pointer-events: none;
  scroll-snap-align: start;
}

/* ══════════════════════════════════════════════════════════════
   EYE PASS · THE AFTERIMAGE, CHAPTER 06's ENDING

   Row 13, p 0.9014-0.9944 of chapter 06's track, was left carrying
   nothing on purpose (the CORRECTION 3 comment above .sc-track--eye,
   and eyeBeat()'s own comment above say4/say5 in expansion.js). This
   is what goes there.

   ONE OWNER PER ELEMENT. The first build of this beat had eyeBeat()
   and this beat writing the same elements on every scroll event,
   sixty times a second, each overwriting the other — Julia saw the
   blue apple flicker behind the yellow one and the build was
   reverted. Nothing below is a selector eyeBeat() or this file's own
   earlier rules ever reach: every class here is new (.ey-after and
   its descendants), so there is nothing to collide with. .ey-plate,
   .ey-word, .ey-say, .ey-gaze, .ey-apple, .ey-facts and #stEye's own
   data-ey-ui are untouched, above and below this block.

   NARROW CORRECTION, same night: .ey-after-field's background was
   var(--dark) as its BASE state, unconditionally, from page load —
   not invisible, an opaque panel the same colour as what it covers.
   z-index: 10 put it over the eye video, the blue apple and every
   line of copy in the chapter, the entire time, not only during the
   beat. Julia saw the eye and the blue apple gone. The same family of
   error this codebase already names elsewhere: a mask at zero radius
   does not hide its element; opacity gates, masks reveal. Fixed here,
   on the container, not the field: visibility, not opacity, so the
   900ms rise below (background-color alone, never opacity, kept
   exactly as it was) is untouched, and forced-colors/reduced-
   transparency readers still get it. Gated on data-entered — the same
   state that already governs the apple and the dot, set only while
   chapter 06's own stage is intersecting the viewport (expansion.js).
   Before that: visibility: hidden, paints nothing, is not in the hit-
   test or the accessibility tree's exposed layer for painting purposes
   (pointer-events: none below still holds regardless). The rise is to
   the site's own light ground: styles.css:55, --ground, #FAF8F5. Read
   off disk, not assumed. */
.ey-after {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  visibility: hidden;
}
.ey-after[data-entered="1"] { visibility: visible; }

/* background-color alone animates — never opacity, so the beat still
   reads under a forced-colors or reduced-transparency setting, and
   never a cut: 900ms, eased, matching the prompt's own photosensitivity
   requirement. expansion.js adds/removes data-lit; it never writes a
   style property here. */
.ey-after-field {
  position: absolute;
  inset: 0;
  background: var(--dark);
  transition: background 900ms var(--ease);
}
.ey-after[data-lit="1"] .ey-after-field { background: var(--ground); }

/* the mark the visitor is asked to hold: on through the stare, through
   the rise, through the empty field, and only released at the very
   end, together with everything else here. var(--accent) both because
   it reads on the dark ground and the light one and because this
   codebase already keeps --accent for a mark, never a fill
   (styles.css) — a dot is exactly a mark. */
.ey-after-dot {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px 4px rgba(255, 77, 0, 0.38);
  opacity: 0;
  transition: opacity 600ms var(--ease);
}
/* held back a beat past data-entered — expansion.js sets data-dot once
   the pause copy has had its own time on screen, so the dot never
   arrives with the words, only after them. */
.ey-after[data-dot="1"] .ey-after-dot { opacity: 1; }
.ey-after[data-stage="end"] .ey-after-dot { opacity: 0; transition: opacity 500ms var(--ease); }

/* the shape: alpha only, assets/img/eye/apple-mask.webp, no colour of
   its own. #FFE800 is declared here and masked through that alpha —
   Julia's own choice over two softer candidates, because the
   strongest stimulus gives the strongest afterimage. A MASK AT ZERO
   RADIUS DOES NOT HIDE ITS ELEMENT — unlike .ey-apple (:10205), this
   mask is not itself the reveal, so opacity alone gates this element,
   fully off until expansion.js sets data-entered. Same footprint as
   .ey-apple (min(984px, 72vw, 88vh), square) for a stimulus the
   visitor already has a frame of reference for — not that element: a
   new one, at a new id, so nothing here is ever written by eyeBeat(). */
.ey-after-apple {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(984px, 72vw, 88vh);
  aspect-ratio: 1 / 1;
  background: #FFE800;
  -webkit-mask-image: url("../img/eye/apple-mask.webp");
  mask-image: url("../img/eye/apple-mask.webp");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  opacity: 0;
  transition: opacity 600ms var(--ease);
}
/* held back through the pause (data-stage="1"); arrives when the
   stare begins, not on entry — moved off data-entered on purpose. */
.ey-after[data-stage="2"] .ey-after-apple { opacity: 1; }
/* moment 3 — the apple goes, ahead of the rise it shares a duration
   with */
.ey-after[data-stage="3"] .ey-after-apple,
.ey-after[data-stage="4"] .ey-after-apple,
.ey-after[data-stage="5"] .ey-after-apple,
.ey-after[data-stage="end"] .ey-after-apple {
  opacity: 0;
  transition: opacity 900ms var(--ease);
}

/* the held pause's own copy, on the dark field, before the apple
   arrives — same footprint and type as .ey-after-say below. */
.ey-after-pause {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin-top: 14vh;
  max-width: 24ch;
  text-wrap: balance;
  text-align: center;
  font-family: "Public Sans", sans-serif;
  font-weight: 200;
  font-size: clamp(24px, 3.2vw, 42px);
  line-height: 1.3;
  color: var(--on-dark);
  opacity: 0;
  transition: opacity 500ms var(--ease);
}
/* arrives with the beat itself, before the dot, not held for stage 1 —
   a scrolling visitor meets the words before there is anything to look
   at. Leaves exactly as the apple arrives (stage 2), same as before. */
.ey-after[data-entered="1"] .ey-after-pause { opacity: 1; }
.ey-after[data-stage="2"] .ey-after-pause,
.ey-after[data-stage="3"] .ey-after-pause,
.ey-after[data-stage="4"] .ey-after-pause,
.ey-after[data-stage="5"] .ey-after-pause,
.ey-after[data-stage="end"] .ey-after-pause {
  opacity: 0;
}

/* the stare's own two lines, the exact copy, held together as one
   block the way .ey-say--1 (:10100) already holds its own two lines.
   Same footprint and type as .ey-say — a new element, not that one.
   Gated on data-say, not data-stage="2" directly, so it can fade
   partway through the stare instead of lasting all twenty seconds. */
.ey-after-say {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin-top: 14vh;
  max-width: 24ch;
  text-wrap: balance;
  text-align: center;
  font-family: "Public Sans", sans-serif;
  font-weight: 200;
  font-size: clamp(24px, 3.2vw, 42px);
  line-height: 1.3;
  color: var(--on-dark);
  opacity: 0;
  transition: opacity 500ms var(--ease);
}
.ey-after[data-say="1"] .ey-after-say { opacity: 1; }

/* the countdown, in the apple's own colour (#FFE800, plain — this
   element has no mask to read alpha through), at the outer edge.
   Persists the whole stare; the zero pulse makes the end unmistakable. */
.ey-after-clock {
  position: absolute;
  top: 6vh;
  right: 6vw;
  font-family: "Public Sans", sans-serif;
  font-weight: 200;
  font-variant-numeric: tabular-nums;
  font-size: clamp(20px, 2.4vw, 32px);
  color: #FFE800;
  opacity: 0;
  transform: scale(1);
  transition: opacity 500ms var(--ease), transform 300ms var(--ease);
}
.ey-after[data-stage="2"] .ey-after-clock { opacity: 1; }
.ey-after-clock[data-zero="1"] { transform: scale(1.35); }

/* the line that was missing entirely: appears the instant the apple
   goes and the field starts to rise, cleared 500ms before "Nothing on
   this screen is blue" arrives so the two never overlap. Read against
   the light ground with the site's own --dark token (styles.css:55),
   not an assumed color. Kept clear of the apple's own footprint: at
   min(984px, 72vw, 88vh) square and centered, the apple leaves only
   ~38px above and below it at 1180x639 (not enough for a line of
   text) but a wide, generous margin either side of it — so this sits
   in the left margin, not above or below center. */
.ey-after-empty-line {
  position: absolute;
  top: 50%;
  left: 3vw;
  transform: translateY(-50%);
  width: 20vw;
  max-width: 220px;
  text-wrap: balance;
  text-align: left;
  font-family: "Public Sans", sans-serif;
  font-weight: 200;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.35;
  color: var(--dark);
  opacity: 0;
  transition: opacity 500ms var(--ease);
}
.ey-after[data-empty-line="1"] .ey-after-empty-line { opacity: 1; }

/* moment 5's own line, read against the risen field — var(--dark),
   not var(--on-dark): the ground under it is light by the time this
   is on screen. */
.ey-after-blue {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin-top: 14vh;
  max-width: 26ch;
  text-wrap: balance;
  text-align: center;
  font-family: "Public Sans", sans-serif;
  font-weight: 200;
  font-size: clamp(24px, 3.2vw, 42px);
  line-height: 1.3;
  color: var(--dark);
  opacity: 0;
  transition: opacity 500ms var(--ease);
}
.ey-after[data-stage="5"] .ey-after-blue { opacity: 1; }
.ey-after[data-stage="end"] .ey-after-blue { opacity: 0; transition: opacity 600ms var(--ease); }

/* REDUCED MOTION — no stare, no tone change, no timed sequence. Built
   by expansion.js as a second, separate element (.ey-after-static),
   never the timed .ey-after above; that element is not even created
   under reduced motion. Direct child of .sc-stage, so proof.css:1078's
   own blanket reset (position:static, opacity:1, a normal document
   flow) already applies to it exactly as it does to .ey-facts. */
.ey-after-static { display: none; }
@media (prefers-reduced-motion: reduce) {
  .ey-after-static {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s5);
    align-items: flex-start;
    justify-content: center;
  }
  .ey-after-static-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s3);
    width: min(220px, 40vw);
  }
  .ey-after-static-shape {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
  }
  .ey-after-static-shape--yellow {
    background: #FFE800;
    -webkit-mask-image: url("../img/eye/apple-mask.webp");
    mask-image: url("../img/eye/apple-mask.webp");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
  }
  .ey-after-static-shape--blue img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }
  .ey-after-static-label {
    font: var(--v-structural);
    letter-spacing: 0.19em;
    text-transform: uppercase;
    color: var(--on-dark-2);
  }
}

/* THE CHASSIS FADES OUT, NOT THE TONE. #chassis (proof.html:32) is a
   fixed sibling of #main, always on top by its own base rule
   (proof.css:39) — pinned above chapter content, including this
   stage. It is not this beat's to restructure, so it is faded by a
   new, higher-specificity rule instead, keyed to a class this beat
   alone adds to <html> and removes when the beat ends or is left
   early. proof.css:1134 already keeps .chassis-id/.chapter-now at
   opacity:1 under reduced motion; this rule does not fire there
   because the class is never added under reduced motion. */
html.ey-after-live .chassis {
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms var(--ease);
}

/* ══════════════════════════════════════════════════════════════
   THE RAIL BECOMES NAVIGATION

   chassis() (proof.js, untouched) already builds one empty <li
   data-for="[section id]"> per .sc section inside #railMarks and
   positions it with --at. railLinks() (expansion.js) adds one real
   <a href="#[that id]"> inside each <li>, carrying the chapter's own
   name as its own text content — read from data-chapter at runtime,
   never hard-coded, because chapters here are still being merged,
   renamed and reordered.

   Eighteen ticks in 56vh (top: 22vh to bottom: 22vh, proof.css:75)
   cannot show eighteen names at once, so the name is a label that is
   present at all times in the accessible tree (opacity only, never
   display:none or visibility:hidden) and shown visually one at a
   time, on hover or keyboard focus.

   The vertical inset below is 1.5px, not a rounder number: measured
   in a real browser, the tightest real gap between two adjacent
   ticks' own --at (chassis()'s own placement, untouched) is 4.47px
   (data-for="scLineage" to data-for="scBreath"), well under the
   "roughly twenty pixels" this pass was drafted against. 1.5px a
   side is the largest value that does not make that pair's own hit
   areas overlap and start stealing each other's clicks; horizontal
   inset is not load-bearing the same way, since ticks do not compete
   with page content beside them, so it is more generous. */
.rail-link {
  position: absolute;
  inset: -1.5px -6px -1.5px -3px;
  display: block;
}
.rail-link:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}
.rail-label {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(-4px);
  white-space: nowrap;
  font: var(--v-structural);
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--c-ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}
.rail-link:hover .rail-label,
.rail-link:focus-visible .rail-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* CHANGE 2 · the rail is navigation, not motion. Under reduced
   motion proof.css:1133 hides .rail entirely, which left those
   visitors with no chapter navigation at all. Shown again here
   because expansion.css loads last; the --hdr opacity gate on .rail
   (proof.css:77) is untouched, so it still only appears once the
   header itself does. Only .rail-now's own transition — the moving
   dot that tracks --journey every scroll frame — is removed; the
   rail-label reveal above is a hover/focus response, not autoplaying
   motion, and is left alone. */
@media (prefers-reduced-motion: reduce) {
  .rail { display: block; }
  .rail-now { transition: none; }
}


/* PHONE PASS 1 (20 Nov 2026) - three phone-only fixes, one block.
   Plain copy only, nothing here is committed. Everything is moved,
   nothing is clipped, hidden or recolored. Applies at 480px and under.

   1. HARMONY. Selectors: .hm-what, .hm-string, .hm-readout.
      The monochord sentence (.hm-what) ran through the string and its
      ratio labels. The sentence rises to sit under the headline and
      the string drops below its last line. The readout moves down to
      make room for the labels under the string.

   2. COLOR. Selectors: .cl-tools, .cl-btn.
      The two buttons crossed the text block (#clGreyWords) and sat on the
      two plates. They now drop below the plates,
      sit in the left column, with their words allowed to wrap, and the
      text keeps the right column it already had.

   3. HOW AN EXPLORATION WORKS. Selectors: .pr-strip, .pr-step, .pr-copy.
      The steps were one sideways line that ran off both edges and over
      the photograph. On a phone they become a short list in the left
      margin, and .pr-copy moves down so the two do not touch. */
@media (max-width: 480px) {
  .hm-what    { top: 21vh; }
  .hm-string  { top: 58%; }
  .hm-readout { bottom: 24vh; }

  .cl-tools {
    right: calc(var(--pad) + 38vw + 12px);
    bottom: 17.5vh;
    justify-content: flex-start; gap: 4px;
  }
  .cl-tools .cl-btn { white-space: normal; text-align: left; line-height: 1.3; }

  .pr-strip {
    left: var(--pad); right: auto; padding-left: 0;
    width: 56vw; top: 15vh;
    flex-direction: column; gap: 0.6rem;
    transform: none; white-space: normal;
  }
  .pr-step { white-space: normal; }
  .pr-copy { top: 40vh; }
}


/* PHONE PASS 2, 21 Nov 2026 - Symbols, Symbols in Nature and the Entrance
   threshold, phone only. Plain copy, nothing here is committed. Things are
   moved, nothing is clipped, hidden or recolored, and no drawing is
   transformed. Applies at 480px and under.

   1. SYMBOLS. Selectors: .sc-track--symbols, .sy-col, .sy-word, .sy-relic,
      #stSymbols .beneath.
      The track is 600vh (set by Julia). The reading column (.sy-col) sits
      high. The arch (.sy-relic) stands whole above the word. The word
      (.sy-word) is a little smaller, so it no longer crosses the right
      edge, and it sits above the footer label. "Look closer"
      (#stSymbols .beneath) sits between the arch and the word.

   2. SYMBOLS IN NATURE. Selectors: .sc-track--nature, #stNature (holds the
      --na-size picture size), .na-lead, .na-specimen, .na-read,
      .na-tools, .na-index, #stNature .beneath, .na-word, .na-close.
      The track is 900vh (set by Julia). Each picture (.na-specimen) is
      whole and centred under the headline (.na-lead), with its caption
      (.na-read) under it, then the controls (.na-tools, .na-index), then
      the word (.na-word) above the footer label. The closing line
      (.na-close) takes the headline's place, so it no longer lands on the
      picture or the caption. The picture size falls with screen height.

   3. ENTRANCE. Selector: .threshold-text.
      The phrase "symbols begin." sits higher, so the orange dot and the
      golden spiral drawn at the centre stay clear of it. The drawing
      itself is not touched. */
@media (max-width: 480px) {
  .sc-track--symbols { --track: 600vh; }
  .sc-track--nature  { --track: 900vh; }

  .sy-col    { top: max(9vh, 68px); }
  .sy-word   { font-size: clamp(3.4rem, 24vw, 8rem); bottom: 88px; }
  .sy-relic  { left: 17vw; width: 62vw; bottom: 220px; }
  #stSymbols .beneath { top: auto; bottom: 175px; }

  .na-lead     { top: max(9vh, 68px); }
  #stNature    { --na-size: clamp(120px, calc(100vh - 544px), 80vw); }
  .na-specimen {
    width: var(--na-size); right: auto;
    left: calc((100% - var(--na-size)) / 2);
    top: calc(max(9vh, 68px) + 98px + var(--na-size) / 2);
  }
  .na-read     { top: calc(max(9vh, 68px) + 98px + var(--na-size) + 24px); bottom: auto; left: var(--pad); right: var(--pad); width: auto; }
  .na-tools    { right: auto; bottom: 207px; }
  .na-index    { bottom: 141px; }
  #stNature .beneath { top: auto; bottom: 207px; }
  .na-word     { bottom: 70px; }
  .na-close    { top: calc(max(9vh, 68px) + 37px); }

  .threshold-text { margin-bottom: 22vh; }
}


/* PHONE PASS 3, 21 Nov 2026 - Entrance scroll, phone only. Plain copy,
   nothing here is committed. Things are moved, nothing is clipped,
   hidden or recolored. The Mark and the drawings are not moved,
   transformed or resized, and no track length changes. Applies at
   480px and under.

   1. THE HEADLINE AND THE MARK. Selector: .formation-word (its
      .statement is the headline "Some things about you are easier to
      draw than to say."). The headline used to arrive on the line the
      Mark was still crossing, so the Mark passed through it at about
      33 percent of the Entrance. It now arrives below the Mark's
      starting disc and slides up as it arrives. --w is the headline's
      own arrival value, written by formation.js. The Mark is not
      touched.

   2. SCROLL SNAPPING. Selector: html. The proximity snap
      (html { scroll-snap-type: y proximity }, expansion.css, "THE
      SNAPPING PASS") pulls a scroll that rests within about 250px of
      a chapter top back to that top, so a wheel scroll to 6 percent
      into Symbols or Symbols in Nature lands at 0 percent. It is
      switched off on phones. The Entrance itself has no snap point.

   3. THE DOT AND THE DRAWINGS AGAINST "symbols begin." Pass 2's rule
      (.threshold-text) already keeps them clear at every frame
      measured, so nothing is added here. */
@media (max-width: 480px) {
  .formation-word { margin-top: calc(50vh + 90px - var(--w) * 160px); }

  html { scroll-snap-type: none; }
}


/* PHONE PASS 4, 21 Nov 2026 - a scroll indicator and a gentle glow on
   what can be tapped, phone only. Plain copy, nothing here is committed.
   Nothing is moved, clipped, hidden or recolored; no new color is
   introduced (--ink, --on-dark and --accent only). Applies at 480px
   and under.

   1. THE SCROLL INDICATOR. Selector: html::after. A thin line on the
      outer 4px of the left edge, where no text begins (the nearest
      text starts about 4px in), from 12vh to 88vh of the screen. The
      part above the dot is filled, the
      dot is --accent, and its place is --journey, the share of the
      whole page already scrolled (written on html by proof.js on every
      scroll, so this needs no script of its own). It shows on every
      chapter, and takes the light or dark ink of the chapter through
      html[data-tone].

   2. THE GLOW. Selector list in :is() below, the keyframes pp4-glow and
      pp4-glow-wire: #naReveal (Show the trace), .hm-ratios b and
      .hm-wire (the strings), .vb-btn (the Vibration buttons), .pc-view
      and #pcAlign (From above, From the front, From the side, Align the
      planes), .bn-open (every Look closer, including What am I hearing
      and What am I seeing), .cl-btn and #clGreyAsk (the Color buttons),
      .fe-enter (Enter the figure, Enter the Yantra), .meru-go (The ten
      layers), and #ytBack, #ydClose and #vpLeave (Back). The glow stops
      on a thing once it has been tapped: expansion.js, "PHONE PASS 4",
      sets data-pp4-done on it. Under prefers-reduced-motion the glow
      does not move; it stays as a steady soft glow. */
@media (max-width: 480px) {
  html { --pp4-ink: var(--ink); }
  html[data-tone="dark"] { --pp4-ink: var(--on-dark); }

  html::after {
    content: "";
    position: fixed; z-index: 91;
    left: 0; top: 12vh;
    box-sizing: content-box; width: 4px; height: 76vh; padding: 3px 0;
    pointer-events: none;
    background:
      radial-gradient(circle at 50% calc(var(--journey, 0) * 100%), var(--accent) 0 1.8px, transparent 2.2px) no-repeat,
      linear-gradient(to bottom, var(--pp4-ink) 0, var(--pp4-ink) calc(var(--journey, 0) * 100%), transparent calc(var(--journey, 0) * 100%)) center / 1.5px 100% no-repeat,
      linear-gradient(to bottom, color-mix(in srgb, var(--pp4-ink) 24%, transparent), color-mix(in srgb, var(--pp4-ink) 24%, transparent)) center / 1px 100% no-repeat;
    background-origin: content-box;
  }

  @keyframes pp4-glow {
    0%, 100% { filter: drop-shadow(0 0 0 color-mix(in srgb, var(--accent) 0%, transparent)); }
    50%      { filter: drop-shadow(0 0 7px color-mix(in srgb, var(--accent) 85%, transparent)); }
  }
  @keyframes pp4-glow-wire {
    0%, 100% { filter: drop-shadow(0 0 10px color-mix(in srgb, var(--on-dark) 28%, transparent)); }
    50%      { filter: drop-shadow(0 0 12px color-mix(in srgb, var(--accent) 90%, transparent)); }
  }

  :is(#naReveal, .hm-ratios b, .vb-btn, .pc-view, #pcAlign, .bn-open, .cl-btn, #clGreyAsk, .fe-enter, .meru-go, #ytBack, #ydClose, #vpLeave):not([data-pp4-done], :disabled, [aria-pressed="true"]) {
    filter: drop-shadow(0 0 4px color-mix(in srgb, var(--accent) 60%, transparent));
  }
  .hm-wire:not([data-pp4-done]) {
    filter: drop-shadow(0 0 12px color-mix(in srgb, var(--accent) 60%, transparent));
  }
  @media (prefers-reduced-motion: no-preference) {
    :is(#naReveal, .hm-ratios b, .vb-btn, .pc-view, #pcAlign, .bn-open, .cl-btn, #clGreyAsk, .fe-enter, .meru-go, #ytBack, #ydClose, #vpLeave):not([data-pp4-done], :disabled, [aria-pressed="true"]) {
      animation: pp4-glow 2.8s ease-in-out infinite;
    }
    .hm-wire:not([data-pp4-done]) { animation: pp4-glow-wire 2.8s ease-in-out infinite; }
  }
}


/* PHONE PASS 5, 21 Nov 2026 - three changes from Julia's own phone,
   phone only (480px and under). Plain copy, nothing here is committed.
   Appended; nothing above is removed. No new color: --accent (orange),
   --ink (near-black) and --on-dark (ivory) only.

   WHY PASS 4 DID NOT SHOW ON HER PHONE. Measured on the live preview:
   the files served were pass 4's, so it was not a cache fault, but the
   glow was a drop-shadow on a 1px outline, 7px at its peak, a dull haze
   inside the button; on an iPhone with Reduce Motion on it did not move
   at all; and the bar was 1.5px of ink on the outermost 4px of the
   screen. The files are also cached for an hour (max-age=3600), so a
   phone can hold the older version after a deploy. This pass makes all
   three unmistakable.

   1. THE GLOW IS A RING. Selector list in :is() below (the same things
      as pass 4): #naReveal, .hm-ratios b, .vb-btn, .pc-view, #pcAlign,
      .bn-open, .cl-btn, #clGreyAsk, .fe-enter, .meru-go, #ytBack,
      #ydClose, #vpLeave, and .hm-wire (the string). Keyframes pp5-ring
      and pp5-ring-wire. It still stops once tapped (data-pp4-done, set
      by pass 4's script). Under prefers-reduced-motion the ring does
      not move; it stays as a steady ring.

   2. THE SCROLL INDICATOR. html::after is the orange line (3px, filled
      above the dot), body::after is the dot (black, ivory on dark
      chapters, with a gently pulsing orange ring), html::before is the
      small "Scroll" hint with a down arrow on the opening screen;
      expansion.js, "PHONE PASS 5", sets data-pp5-scrolled on html after
      the first scroll and the hint fades out.

   3. LOOK CLOSER AS AN IVORY SHEET (Julia's choice, option 1 of
      https://claude.ai/artifact/1PXV3faKahXmq4qhhgCqYN). Selectors:
      .bn-panel (and its ::before, the top band with the tag and the grab handle), .bn-head,
      .bn-item (dt, dd), .bn-src, .bn-link, .bn-close, for all 16 panels,
      on light and dark chapters. A solid sheet (#faf7f2) that slides up
      from the bottom and covers about 78% of the screen, rounded top
      corners, a grab handle, the chapter behind it dimmed about 55%
      (the box-shadow spread of the sheet itself), near-black text
      (#0c0b0a), labels #1d1b18 at weight 500, kicker and source links
      #c2410c, a round close button inside at the top right. The sheet
      scrolls inside itself (overflow-y: auto is older code, unchanged),
      so the whole text is reachable. The chapter tag ("06 SEEING") and
      closing by pulling the sheet down come from expansion.js, "PHONE
      PASS 5". Tapping outside the sheet already closes it (older code). */
@media (max-width: 480px) {

  /* ---------- 1. the ring ---------- */
  @keyframes pp5-ring {
    0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 0%, transparent),
                           0 0 0 0 color-mix(in srgb, var(--accent) 0%, transparent); }
    50%      { box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 60%, transparent),
                           0 0 20px 5px color-mix(in srgb, var(--accent) 55%, transparent); }
  }
  @keyframes pp5-ring-wire {
    0%, 100% { filter: drop-shadow(0 0 3px color-mix(in srgb, var(--accent) 30%, transparent))
                       drop-shadow(0 0 0 color-mix(in srgb, var(--accent) 0%, transparent)); }
    50%      { filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 100%, transparent))
                       drop-shadow(0 0 16px color-mix(in srgb, var(--accent) 85%, transparent)); }
  }

  :is(#naReveal, .hm-ratios b, .vb-btn, .pc-view, #pcAlign, .bn-open, .cl-btn, #clGreyAsk, .fe-enter, .meru-go, #ytBack, #ydClose, #vpLeave):not([data-pp4-done], :disabled, [aria-pressed="true"], [aria-expanded="true"]) {
    filter: none;
    animation: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 55%, transparent),
                0 0 14px 2px color-mix(in srgb, var(--accent) 45%, transparent);
  }
  /* a ring needs a shape: round the ones that had none, with their
     padding given back as margin so nothing moves */
  .bn-open:not([data-pp4-done], [aria-expanded="true"]) { border-radius: 999px; padding-inline: 0.8rem; margin-inline: -0.8rem; }
  .hm-ratios b:not([data-pp4-done]) { border-radius: 999px; padding: 4px 9px; }
  .fe-enter:not([data-pp4-done]) { border-radius: 999px; }
  .hm-wire:not([data-pp4-done]) {
    animation: none;
    filter: drop-shadow(0 0 5px color-mix(in srgb, var(--accent) 90%, transparent))
            drop-shadow(0 0 12px color-mix(in srgb, var(--accent) 70%, transparent));
  }
  @media (prefers-reduced-motion: no-preference) {
    :is(#naReveal, .hm-ratios b, .vb-btn, .pc-view, #pcAlign, .bn-open, .cl-btn, #clGreyAsk, .fe-enter, .meru-go, #ytBack, #ydClose, #vpLeave):not([data-pp4-done], :disabled, [aria-pressed="true"], [aria-expanded="true"]) {
      animation: pp5-ring 2.2s ease-in-out infinite;
    }
    .hm-wire:not([data-pp4-done]) { animation: pp5-ring-wire 2.2s ease-in-out infinite; }
  }

  /* ---------- 2. the scroll indicator ---------- */
  html { --pp5-dot: var(--ink); --pp5-dot-ring: var(--on-dark); }
  html[data-tone="dark"] { --pp5-dot: var(--on-dark); --pp5-dot-ring: var(--ink); }

  html::after {
    left: 1px; width: 3px;
    background: linear-gradient(to bottom,
      var(--accent) 0, var(--accent) calc(var(--journey, 0) * 100%),
      color-mix(in srgb, var(--accent) 30%, transparent) calc(var(--journey, 0) * 100%));
    background-origin: content-box;
  }
  body::after {
    content: "";
    position: fixed; z-index: 92;
    left: -1px; width: 7px; height: 7px; border-radius: 50%;
    top: calc(12vh + 3px + var(--journey, 0) * 76vh - 3.5px);
    background: var(--pp5-dot);
    box-shadow: 0 0 0 1px var(--pp5-dot-ring), 0 0 0 3px color-mix(in srgb, var(--accent) 40%, transparent);
    pointer-events: none;
  }
  @keyframes pp5-dot {
    0%, 100% { box-shadow: 0 0 0 1px var(--pp5-dot-ring), 0 0 0 0 color-mix(in srgb, var(--accent) 0%, transparent); }
    50%      { box-shadow: 0 0 0 1px var(--pp5-dot-ring), 0 0 0 7px color-mix(in srgb, var(--accent) 45%, transparent); }
  }
  @keyframes pp5-hint {
    0%, 100% { transform: translate(-50%, 0); }
    50%      { transform: translate(-50%, 7px); }
  }
  html::before {
    content: "SCROLL\A \2193";
    white-space: pre; text-align: center;
    position: fixed; z-index: 91;
    left: 50%; bottom: 11vh; transform: translateX(-50%);
    font: var(--v-structural); letter-spacing: 0.24em; line-height: 1.7;
    color: var(--pp5-dot);
    pointer-events: none;
    opacity: 1; transition: opacity 700ms var(--ease);
  }
  html[data-pp5-scrolled]::before { opacity: 0; }
  @media (prefers-reduced-motion: no-preference) {
    body::after { animation: pp5-dot 2.4s ease-in-out infinite; }
    html::before { animation: pp5-hint 1.8s ease-in-out infinite; }
  }

  /* ---------- 3. Look closer, ivory sheet ---------- */
  html[data-tone] .bn-panel:not([hidden]) { display: flex; flex-direction: column; }
  html[data-tone] .bn-panel {
    left: 0; right: 0; width: auto; bottom: 0; top: 22vh; max-height: none;
    padding: 0 26px 30px;
    border: 0; border-radius: 22px 22px 0 0;
    background: #faf7f2;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    /* the dim behind the sheet: its own shadow, spread over the screen */
    box-shadow: 0 0 0 100vmax color-mix(in srgb, #0c0b0a 55%, transparent);
    color: #0c0b0a;
    opacity: 0; transform: translateY(100%);
    transition: opacity 260ms var(--ease), transform 340ms var(--ease);
    -webkit-overflow-scrolling: touch;
  }
  html[data-tone] .bn-panel.is-open { opacity: 1; transform: none; }
  @supports (height: 100dvh) { html[data-tone] .bn-panel { top: 22dvh; } }

  /* the top band: grab handle and chapter tag, solid and sticky, so scrolled
     text never shows above it or under the close button */
  html[data-tone] .bn-panel::before {
    content: attr(data-pp5-tag); order: -2; flex: none;
    position: sticky; top: 0; z-index: 3;
    margin: 0 -26px 0; padding: 34px 70px 14px 26px;
    font: 500 9.5px/1.2 var(--font-sans, sans-serif); letter-spacing: 0.24em; text-transform: uppercase;
    color: color-mix(in srgb, #1d1b18 72%, transparent);
    background:
      linear-gradient(color-mix(in srgb, #1d1b18 22%, transparent), color-mix(in srgb, #1d1b18 22%, transparent)) center 10px / 38px 4px no-repeat,
      #faf7f2;
  }
  html[data-tone] .bn-head { margin: 0 0 14px; color: #c2410c; font-size: 10px; letter-spacing: 0.26em; }
  html[data-tone] .bn-item dt {
    margin: 0 0 6px; font: 500 9.5px/1.3 var(--font-sans, sans-serif); letter-spacing: 0.24em; text-transform: uppercase;
    color: #1d1b18;
  }
  html[data-tone] .bn-item[data-kind="notice"] dt { color: #1d1b18; }
  html[data-tone] .bn-item dd { font-size: 13.5px; line-height: 1.6; color: #0c0b0a; }
  html[data-tone] .bn-item + .bn-item { margin-top: 16px; padding-top: 16px; border-top: 1px solid color-mix(in srgb, #1d1b18 14%, transparent); }
  html[data-tone] .bn-src { color: #c2410c; font-size: 11px; }
  html[data-tone] .bn-link { color: #c2410c; border-bottom: 1px solid #c2410c; font-size: 11px; }
  html[data-tone] .bn-close {
    order: -1; align-self: flex-end;
    position: sticky; top: 14px; z-index: 4;
    flex: none; width: 32px; height: 32px; margin: -45px 0 20px; padding: 0;
    border: 1px solid color-mix(in srgb, #1d1b18 28%, transparent); border-radius: 50%;
    background: #faf7f2; color: #0c0b0a;
    font-size: 0; line-height: 0;
  }
  html[data-tone] .bn-close::before {
    content: "\00D7";
    display: block; font: 400 20px/30px var(--font-sans, sans-serif); text-align: center;
  }
  html[data-tone] .bn-close:hover, html[data-tone] .bn-close:focus-visible { background: #faf7f2; color: #c2410c; border-color: #c2410c; }
  html[data-tone] .bn-close:focus-visible { outline: 2px solid #c2410c; outline-offset: 2px; }

}


/* ══════════════════════════════════════════════════════════════
   PHONE PASS 7 · 01 SYMBOLS, 02 SYMBOLS IN NATURE, 03 HARMONY
   Phones only (max-width 480px, motion allowed). Desktop, tablets and
   reduced motion are untouched. Appended; nothing above is edited and
   proof.js is not touched.

   THE IDEA. The chapters keep their pinned stage, so the pictures stay
   where they are and transform as you scroll, exactly as on desktop.
   The stage is split in two zones:
     picture zone  from 60px (under the header band) to --tz
     text zone     from --tz to the bottom, leaving 86px for the
                   chapter label and Safari's bar
   Text and buttons live only in the text zone, one step at a time, each
   step with its own opacity window on the chapter's own scroll
   progress (var(--p)), so nothing is ever drawn over a picture.
   Heights use svh so the bottom is never hidden behind Safari's bar.
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) and (prefers-reduced-motion: no-preference) {

  /* longer chapters: every step gets its own stretch of scroll */
  .sc-track--symbols { --track: 820vh; }
  .sc-track--nature  { --track: 1150vh; }
  .sc-track--harmony { --track: 1050vh; }

  #stSymbols, #stNature, #stHarmony {
    --pz-top: 60px;
    --tz: max(44svh, calc(100svh - 300px));
    --tz-bot: 86px;
    --row: calc(100svh - 126px);
    --pad7: var(--pad, 1.25rem);
    background: var(--dark);
  }

  /* the text zone: its own quiet ground, softly joined to the picture */
  #stSymbols::after, #stNature::after, #stHarmony::after {
    content: ""; position: absolute; z-index: 6; pointer-events: none;
    left: 0; right: 0; bottom: 0;
    top: calc(var(--tz) - 22px);
    background: linear-gradient(to bottom, rgba(11,10,8,0) 0, var(--dark) 22px);
  }

  /* ---------- the sound pill: top right, in the header band, clear of everything ---------- */
  .sound {
    top: calc(env(safe-area-inset-top, 0px) + 12px); bottom: auto;
    right: var(--pad); z-index: 3;
    padding: 0.55rem 0.9rem; min-height: 36px;
    border: 1px solid var(--c-line); border-radius: 999px;
    background: color-mix(in srgb, var(--ground) 92%, transparent);
  }
  html[data-tone="dark"] .sound { background: color-mix(in srgb, var(--dark) 92%, transparent); }
  .sound-text { display: none; }

  /* ---------- one calm button style; only the next action pulses ---------- */
  :is(#stSymbols, #stNature, #stHarmony) :is(.bn-open, .na-reveal) {
    box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
    gap: 0.6rem; min-height: 44px; max-width: 100%;
    padding: 0.65rem 1.25rem; margin: 0;
    border: 1px solid color-mix(in srgb, currentColor 50%, transparent);
    border-radius: 999px; outline: 0; background: transparent;
    box-shadow: none !important; filter: none !important; animation: none !important;
    white-space: nowrap; line-height: 1.2;
  }
  :is(#stNature, #stHarmony, #stSymbols) .hm-ratios b {
    box-shadow: none !important; animation: none !important; filter: none !important;
    border-radius: 999px; padding: 4px 9px;
  }
  #stHarmony .hm-wire { animation: none !important; filter: none !important; }
  @keyframes pp7-breathe {
    0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 0%, transparent); border-color: color-mix(in srgb, currentColor 50%, transparent); }
    50%      { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 24%, transparent); border-color: var(--accent); }
  }
  @keyframes pp7-wire {
    0%, 100% { filter: drop-shadow(0 0 0 transparent); }
    50%      { filter: drop-shadow(0 0 3px color-mix(in srgb, var(--accent) 80%, transparent)); }
  }
  :is(#stSymbols, #stNature, #stHarmony) [data-pp7-next]:is(.bn-open, .na-reveal):not([data-pp4-done], [data-pp7-done], [aria-expanded="true"], [aria-pressed="true"]) {
    animation: pp7-breathe 2.4s ease-in-out infinite !important;
  }
  #stHarmony .hm-wire[data-pp7-next]:not([data-pp4-done], [data-pp7-done]) {
    animation: pp7-wire 2.4s ease-in-out infinite !important;
  }

  /* =====================================================================
     01 SYMBOLS   steps: the word (.03-.30) / the sentence (.32 on) /
                  Look closer (.62 on). Pictures: aperture, arch, relief.
     ===================================================================== */
  #stSymbols .sy-aperture {
    inset: auto; left: 0; right: 0; top: var(--pz-top);
    height: calc(var(--tz) - var(--pz-top)); overflow: hidden;
    clip-path: circle(calc(2px + var(--ap, 0) * 80vmax) at 50% 50%);
  }
  #stSymbols .sy-word {
    left: var(--pad); right: var(--pad); bottom: auto;
    top: calc(var(--tz) + 20px); z-index: 8;
    font-size: clamp(3.6rem, 21vw, 5.2rem); line-height: 1;
    transform: none;
    opacity: calc(min(1,max(0,(var(--p,0) - 0.03)/0.04)) * (1 - min(1,max(0,(var(--p,0) - 0.27)/0.05))));
  }
  #stSymbols .sy-relic {
    --rw: min(56vw, calc(var(--tz) - var(--pz-top) - 28px));
    left: 0; right: 0; margin-inline: auto; bottom: auto;
    width: var(--rw); height: var(--rw);
    top: calc(var(--tz) - var(--rw) - 6px); z-index: 4;
  }
  #stSymbols .sy-relic img { object-position: bottom center; }
  #stSymbols .sy-measure {
    top: var(--pz-top); height: calc(var(--tz) - var(--pz-top));
  }
  #stSymbols .sy-col {
    left: var(--pad); right: var(--pad); width: auto; top: calc(var(--tz) + 18px);
    z-index: 8; text-shadow: none; transform: none;
    opacity: calc(min(1,max(0,(var(--p,0) - 0.32)/0.05)));
  }
  #stSymbols .sy-col::before, #stSymbols .sy-col::after { display: none; }
  #stSymbols .sy-lead { font-size: clamp(1.4rem, 6vw, 1.7rem); }
  #stSymbols .sy-relief {
    left: 0; right: 0; bottom: auto; height: 16svh; top: calc(var(--tz) - 16svh);
    z-index: 3;
  }
  #stSymbols .beneath {
    left: var(--pad); right: auto; top: var(--row); bottom: auto; z-index: 9;
    opacity: calc(min(1,max(0,(var(--p,0) - 0.62)/0.05)));
  }

  /* =====================================================================
     02 IN NATURE  steps: "In nature" + the sentence (.03-.30) / the
                  specimen, its name and reading (.18-.88) / the closing
                  line (.88 on). Pictures: garden, then the specimen.
     ===================================================================== */
  #stNature .na-garden {
    inset: auto; left: 0; right: 0; top: var(--pz-top);
    height: calc(var(--tz) - var(--pz-top)); overflow: hidden;
  }
  #naSpecimen.na-specimen {
    --sw: min(78vw, calc(var(--tz) - var(--pz-top) - 66px));
    left: 0; right: 0; margin-inline: auto; bottom: auto;
    top: calc(var(--pz-top) + 6px);
    width: var(--sw); height: var(--sw); z-index: 5;
    transform: scale(calc(0.94 + var(--na-on, 0) * 0.06));
  }
  #stNature .na-word {
    left: var(--pad); right: var(--pad); bottom: auto;
    top: calc(var(--tz) + 18px); z-index: 8;
    font-size: clamp(2.6rem, 15vw, 3.6rem); line-height: 1;
    opacity: calc(min(1,max(0,(var(--p,0) - 0.03)/0.04)) * (1 - min(1,max(0,(var(--p,0) - 0.13)/0.04))));
  }
  #stNature .na-lead {
    left: var(--pad); right: var(--pad); width: auto;
    top: calc(var(--tz) + 18px + 4.4rem); z-index: 8;
    font-size: clamp(1.1rem, 4.9vw, 1.35rem);
    opacity: calc(min(1,max(0,(var(--p,0) - 0.04)/0.04)) * (1 - min(1,max(0,(var(--p,0) - 0.13)/0.04))));
  }
  #stNature .na-read {
    left: var(--pad); right: var(--pad); width: auto; bottom: auto;
    top: calc(var(--tz) + 16px); z-index: 8;
    max-height: calc(var(--row) - var(--tz) - 20px); overflow: hidden;
    opacity: calc(min(1,max(0,(var(--p,0) - 0.22)/0.05)) * (1 - min(1,max(0,(var(--p,0) - 0.84)/0.05))));
  }
  #stNature .na-index {
    left: var(--pad); right: var(--pad); bottom: auto; top: calc(var(--tz) - 58px);
    z-index: 9; justify-content: center; gap: 1.1rem;
    opacity: calc(min(1,max(0,(var(--p,0) - 0.22)/0.05)) * (1 - min(1,max(0,(var(--p,0) - 0.84)/0.05))));
  }
  #stNature .na-ix { gap: 0.35rem; padding: 0.2rem 0.3rem; }
  #stNature .na-tools {
    left: var(--pad); right: auto; bottom: auto; top: var(--row); z-index: 9;
    opacity: calc(min(1,max(0,(var(--p,0) - 0.24)/0.04)) * (1 - min(1,max(0,(var(--p,0) - 0.84)/0.05))));
  }
  #stNature .beneath {
    left: auto; right: var(--pad); bottom: auto; top: var(--row); z-index: 9;
    opacity: calc(min(1,max(0,(var(--p,0) - 0.24)/0.04)) * (1 - min(1,max(0,(var(--p,0) - 0.84)/0.05))));
  }
  #stNature .na-close {
    left: var(--pad); right: var(--pad); width: auto; top: calc(var(--tz) + 20px);
    text-align: left; transform: none; z-index: 8;
    font-size: clamp(1.4rem, 6.2vw, 1.8rem);
  }

  /* =====================================================================
     03 HARMONY    steps: heading (.01-.16) / the monochord (.19-.31) /
                  the figure speaks (.33-.46) / four explanations
                  (.52-.91, the circle turning above them) / closing (.92)
     ===================================================================== */
  #stHarmony {
    --os: min(34vw, calc((var(--tz) - var(--pz-top)) * 0.34));
    --cs: min(80vw, calc(var(--tz) - var(--pz-top) - 70px));
  }
  #stHarmony .hm-orbit {
    left: 0; right: 0; margin-inline: auto; top: calc(var(--pz-top) + 6px);
    width: var(--os); height: var(--os); z-index: 4;
  }
  #stHarmony .hm-string {
    left: -4vw; width: 108vw; right: auto; bottom: auto;
    top: calc(var(--pz-top) + var(--os) + 22px);
    height: calc(var(--tz) - var(--pz-top) - var(--os) - 36px);
    z-index: 4;
  }
  #stHarmony .hm-lead {
    left: var(--pad); right: var(--pad); width: auto; top: calc(var(--tz) + 18px);
    z-index: 8; font-size: clamp(1.35rem, 5.8vw, 1.65rem);
    opacity: calc(min(1,max(0,(var(--p,0) - 0.01)/0.04)) * (1 - min(1,max(0,(var(--p,0) - 0.15)/0.04))));
  }
  #stHarmony .hm-what {
    left: var(--pad); right: var(--pad); width: auto; top: calc(var(--tz) + 16px);
    z-index: 8; transform: none; font-size: 0.9rem; line-height: 1.4;
    opacity: calc(min(1,max(0,(var(--p,0) - 0.19)/0.04)) * (1 - min(1,max(0,(var(--p,0) - 0.3)/0.04))));
  }
  #stHarmony .hm-tell {
    left: var(--pad); right: var(--pad); width: auto; text-align: left;
    top: calc(var(--tz) + 16px); z-index: 8; font-size: 0.95rem; line-height: 1.4;
    opacity: calc(var(--hm-str,0) * min(1,max(0,(var(--p,0) - .33)/.03)) * (1 - min(1,max(0,(var(--p,0) - .42)/.08))));
  }
  #stHarmony .hm-readout {
    left: var(--pad); right: auto; bottom: auto; top: calc(var(--row) - 68px); z-index: 8;
  }
  #stHarmony .hm-hint {
    left: var(--pad); right: auto; bottom: auto; top: calc(var(--row) - 22px); z-index: 8; width: auto; text-align: left; transform: none;
  }
  #stHarmony .beneath {
    left: auto; right: var(--pad); bottom: auto; top: var(--row); z-index: 9;
  }
  /* the explanations: one at a time, in the text zone */
  #stHarmony .hm-say { left: 0; right: 0; top: 0; width: auto; height: 0; margin: 0; transform: none; z-index: 8; }
  #stHarmony .hm-say-p {
    left: var(--pad); right: var(--pad); width: auto; top: calc(var(--tz) + 14px);
    transform: none; z-index: 8; font-size: 0.9rem; line-height: 1.38; text-align: left;
  }
  #stHarmony .hm-close {
    left: var(--pad); right: var(--pad); width: auto; top: calc(var(--tz) + 18px);
    text-align: left; transform: none; z-index: 8;
    font-size: clamp(1.3rem, 5.6vw, 1.6rem);
  }

  /* the explaining circle (drawn by the phone loop in expansion.js) */
  
  #stHarmony .pp7-trace, #stHarmony .pp7-trace-live {
    position: absolute; z-index: 5; pointer-events: none;
    left: 0; right: 0; margin-inline: auto; top: calc(var(--pz-top) + 8px);
    width: var(--cs); height: var(--cs);
    opacity: calc(min(1, max(0, (var(--p,0) - 0.46) / 0.04)));
  }
  #stHarmony .pp7-trace-ratio {
    position: absolute; z-index: 5; pointer-events: none; margin: 0;
    left: 0; right: 0; text-align: center;
    top: calc(var(--pz-top) + 8px + var(--cs) + 6px);
    opacity: calc(min(1, max(0, (var(--p,0) - 0.48) / 0.04)));
  }
  #stHarmony .pp7-trace-ratio .r { font: 300 1.3rem/1 "Public Sans", sans-serif; color: var(--accent); }
  #stHarmony .pp7-trace-ratio .n {
    display: block; margin-top: 0.5rem;
    font: 400 10px/1 "Public Sans", sans-serif; letter-spacing: 0.19em; text-transform: uppercase;
    color: var(--on-dark-2);
  }
}
@media (min-width: 481px) {
  .pp7-trace, .pp7-trace-live, .pp7-trace-ratio { display: none; }
}
@media (max-width: 480px) and (prefers-reduced-motion: reduce) {
  .pp7-trace, .pp7-trace-live, .pp7-trace-ratio { display: none; }
}

.pp8-cl-t, .pp8-cl-block, .pp8-cl-name, .pp8-vb-sound, .pp8-vb-lab, .pp8-vb-hzgrid, .bn-item[data-pp8] { display: none; }

/* ══════════════════════════════════════════════════════════════
   PHONE PASS 8 · 04 VIBRATION, 05 PERCEPTION, 07 COLOR
   Same method as pass 7 (phones only, motion allowed, desktop and
   tablets untouched): pinned stage, picture zone on top, text and
   buttons in their own zone below, one step at a time with its own
   window of the chapter's scroll (var(--p)), calm buttons, only the
   next action pulses. Appended; proof.js is not touched.
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) and (prefers-reduced-motion: no-preference) {

  .sc-track--vibration { --track: 900vh; }
  .sc-track--perception { --track: 760vh; }

  #stVibration, #stPerception, #stColour {
    --pz-top: 60px;
    --tz: max(44svh, calc(100svh - 300px));
    --row: calc(100svh - 126px);
  }
  #stPerception { --tz: max(40svh, calc(100svh - 360px)); background: #F1EDE6; }
  #stVibration { background: var(--dark); }

  #stVibration::after, #stPerception::after {
    content: ""; position: absolute; z-index: 6; pointer-events: none;
    left: 0; right: 0; bottom: 0; top: calc(var(--tz) - 22px);
    background: linear-gradient(to bottom, rgba(11,10,8,0) 0, var(--dark) 22px);
  }
  #stPerception::after {
    background: linear-gradient(to bottom, rgba(241,237,230,0) 0, #F1EDE6 22px);
  }

  /* calm buttons for these chapters; pass 5's ring is switched off here */
  :is(#stVibration, #stPerception, #stColour) :is(.bn-open, .pc-view, .cl-btn, .pp8-btn, .pp8-hz) {
    box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
    gap: 0.6rem; min-height: 44px; max-width: 100%;
    padding: 0.6rem 1.1rem; margin: 0;
    border: 1px solid color-mix(in srgb, currentColor 50%, transparent);
    border-radius: 999px; outline: 0; background: transparent;
    box-shadow: none !important; filter: none !important; animation: none !important;
    white-space: nowrap; line-height: 1.2; text-align: center;
  }
  @keyframes pp8-breathe {
    0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 0%, transparent); border-color: color-mix(in srgb, currentColor 50%, transparent); }
    50%      { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 24%, transparent); border-color: var(--accent); }
  }
  :is(#stVibration, #stPerception, #stColour) [data-pp8-next]:not([data-pp8-done], [aria-expanded="true"], [aria-pressed="true"], :disabled) {
    animation: pp8-breathe 2.4s ease-in-out infinite !important;
  }

  /* =====================================================================
     04 VIBRATION   steps: the word (.02-.14) / the sentence and
       "Turn on sound" (.15-.35) / the six notes, tap = hear it
       (.37 on) / "watch the pattern change" (.62 on) and Look closer.
       The sand plate stays in the picture zone for the whole chapter.
     ===================================================================== */
  #stVibration .vb-field {
    left: 0; right: auto; width: 100%; top: var(--pz-top);
    height: calc(var(--tz) - var(--pz-top)); bottom: auto; inset-inline: 0;
    opacity: calc(min(1,max(0,(var(--p,0) - 0.0)/0.05)));
  }
  #stVibration .vb-plate { display: none; }
  #stVibration .vb-word {
    left: var(--pad); right: var(--pad); top: calc(var(--tz) + 20px); bottom: auto;
    z-index: 8; font-size: clamp(3.4rem, 19vw, 4.8rem); line-height: 1; transform: none;
    opacity: calc(min(1,max(0,(var(--p,0) - 0.02)/0.03)) * (1 - min(1,max(0,(var(--p,0) - 0.12)/0.03))));
  }
  #stVibration .vb-line {
    left: var(--pad); right: var(--pad); width: auto; top: calc(var(--tz) + 18px); bottom: auto;
    z-index: 8; font-size: clamp(1.3rem, 5.6vw, 1.55rem); line-height: 1.25; transform: none;
    opacity: calc(min(1,max(0,(var(--p,0) - 0.15)/0.03)) * (1 - min(1,max(0,(var(--p,0) - 0.52)/0.03))));
  }
  #stVibration :is(.vb-mode, .vb-controls, .vb-hz, .vb-note) { display: none !important; }
  .pp8-vb-lab, .pp8-cl-t, .pp8-cl-block, .pp8-cl-name, .bn-item[data-pp8] { display: block; }
  .pp8-vb-sound, .pp8-vb-lab, .pp8-vb-hzgrid {
    position: absolute; z-index: 9; left: var(--pad); right: var(--pad); margin: 0;
  }
  .pp8-vb-sound {
    top: calc(var(--tz) + 18px + 4.6rem); display: flex; align-items: center; gap: 0.9rem;
    opacity: calc(min(1,max(0,(var(--p,0) - 0.17)/0.03)) * (1 - min(1,max(0,(var(--p,0) - 0.52)/0.03)))); pointer-events: none;
  }
  .pp8-vb-sound[data-on="1"] { pointer-events: auto; }
  .pp8-vb-lab {
    top: calc(var(--tz) + 16px); font: var(--v-structural); letter-spacing: 0.19em; text-transform: uppercase;
    color: var(--on-dark-2); font-size: 0.78rem; pointer-events: none;
  }
  .pp8-vb-lab1 { opacity: calc(min(1,max(0,(var(--p,0) - 0.58)/0.03)) * (1 - min(1,max(0,(var(--p,0) - 0.78)/0.03)))); }
  .pp8-vb-lab2 { opacity: calc(min(1,max(0,(var(--p,0) - 0.82)/0.03))); color: var(--accent); }
  .pp8-vb-hzgrid {
    top: calc(var(--tz) + 48px);
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 12px;
    opacity: calc(min(1,max(0,(var(--p,0) - 0.58)/0.03))); pointer-events: none; color: var(--on-dark);
  }
  .pp8-vb-hzgrid[data-on="1"] { pointer-events: auto; }
  .pp8-hz { cursor: pointer; font: var(--v-structural); letter-spacing: 0.08em; color: var(--on-dark); padding: 0.55rem 0.4rem !important; }
  .pp8-hz[aria-pressed="true"] { border-color: var(--accent) !important; color: var(--accent); }
  #stVibration .beneath {
    left: auto; right: var(--pad); top: var(--row); bottom: auto; z-index: 9;
    opacity: calc(min(1,max(0,(var(--p,0) - 0.82)/0.04)));
  }
  .pp8-btn { cursor: pointer; font: var(--v-structural); letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark); }
  .pp8-btn[aria-pressed="true"] { border-color: var(--accent) !important; color: var(--accent); }

  /* =====================================================================
     05 PERCEPTION  steps: the sentence (.02-.28) / it turns (.30-.56,
       caption under the picture) / "each is complete" (.58-.72) /
       the three views as a calm column (.74 on).
       The room (arch) stays as the background of the picture zone.
     ===================================================================== */
  #stPerception .pc-room {
    inset: auto; left: 0; right: 0; top: var(--pz-top);
    height: calc(var(--tz) - var(--pz-top)); overflow: hidden;
  }
  #stPerception .pc-room img { transform: scale(calc(1.10 - var(--p) * 0.06)); opacity: 1; }
  #stPerception .pc-solid-space {
    --ps: min(78vw, calc(var(--tz) - var(--pz-top) - 52px));
    inset: auto; left: 0; right: 0; top: calc(var(--pz-top) + 8px);
    height: var(--ps); display: grid; place-items: center;
  }
  #stPerception #pcSolid { width: var(--ps); height: var(--ps); }
  #stPerception .pc-line {
    left: var(--pad); right: var(--pad); width: auto; top: calc(var(--tz) + 16px);
    z-index: 8; font-size: clamp(1.45rem, 6.2vw, 1.8rem); transform: none;
    opacity: calc(min(1,max(0,(var(--p,0) - 0.02)/0.04)) * (1 - min(1,max(0,(var(--p,0) - 0.26)/0.04))));
  }
  #stPerception .pc-sub { display: none; }
  #stPerception .pc-readout {
    left: 0; right: 0; bottom: auto; top: calc(var(--tz) - 40px); z-index: 7;
    align-items: center; text-align: center; flex-direction: row; justify-content: center; gap: 0.8rem;
    color: var(--accent);
  }
  #stPerception .pc-readout .pc-pct { display: none; }
  #stPerception .pc-say {
    left: var(--pad); right: var(--pad); transform: none; width: auto; text-align: left;
    top: calc(var(--tz) + 14px); bottom: auto; z-index: 8; font-size: 1rem; line-height: 1.4;
  }
  #stPerception .pc-views {
    left: var(--pad); right: auto; bottom: auto; top: calc(var(--tz) + 76px); z-index: 9;
    width: min(260px, calc(100vw - 2 * var(--pad)));
    flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start; gap: 8px;
    opacity: calc(min(1,max(0,(var(--p,0) - 0.74)/0.04)));
  }
  #stPerception .pc-view {
    min-height: 40px; padding: 0.5rem 1rem; width: 100%;
    color: var(--ink); letter-spacing: 0.14em; font-size: 0.72rem;
  }
  #stPerception .pc-view[aria-pressed="true"] { border-color: var(--accent) !important; color: var(--accent); }
  #stPerception .beneath {
    left: var(--pad); right: auto; bottom: auto; top: var(--row); z-index: 9;
    opacity: calc(min(1,max(0,(var(--p,0) - 0.74)/0.04)));
  }
  #stPerception .bn-open { color: var(--ink); }
}


/* ══════════════════════════════════════════════════════════════
   PHONE PASS 8 · 07 COLOR (continued)
   steps: the field, one color, the strip to pick another (.16-.37) /
   set the saturation (.38-.55) / tap to save this color (.56-.67) /
   two plates, one after the other (.68-.81) / are they the same?
   (.82-.91) / the closing line (.92 on). Changing the color jumps back
   to step 1. The explanation moved into Look closer.
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) and (prefers-reduced-motion: no-preference) {
  .sc-track--colour { --track: 1300vh; }

  #stColour .cl-pair { inset: auto; left: 0; right: 0; top: var(--pz-top); height: calc(var(--tz) - var(--pz-top)); overflow: hidden; }
  #stColour .cl-plane--b, #stColour .cl-sq, #stColour .cl-compose, #stColour .cl-mark, #stColour .cl-mark-cap,
  #stColour .cl-readout, #stColour .cl-tools, #stColour .cl-hint, #stColour .cl-keep-cue, #stColour .cl-word, #stColour .cl-lead,
  #stColour #clGreyWords, #stColour #clGreyCompose { display: none !important; }
  #stColour .cl-grain { inset: auto; left: 0; right: 0; top: var(--pz-top); height: calc(var(--tz) - var(--pz-top)); width: 100%; }
  #stColour .cl-space { inset: auto; left: 0; right: 0; top: var(--pz-top); height: calc(var(--tz) - var(--pz-top)); touch-action: pan-y; }
  #stColour[data-pp8-saved="1"] .cl-space { pointer-events: none; }

  /* the strip: seven swatches you can tap */
  #stColour .cl-record {
    position: absolute; z-index: 9; left: var(--pad); right: var(--pad); top: calc(var(--tz) + 100px); bottom: auto; transform: none;
    flex-direction: row; justify-content: space-between; gap: 6px;
    opacity: calc(min(1,max(0,(var(--p,0) - 0.16)/0.03))); pointer-events: none;
  }
  #stColour:is([data-pp8="s1"],[data-pp8="s2"],[data-pp8="s3"],[data-pp8="s4"],[data-pp8="s5"],[data-pp8="s6"]) .cl-record { pointer-events: auto; }
  #stColour .cl-record li {
    width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--c);
    border: 2px solid transparent; box-sizing: border-box; cursor: pointer; transition: transform 300ms, border-color 300ms;
  }
  #stColour .cl-record li[data-in="1"] { height: 38px; }
  #stColour .cl-record li[data-now="1"] { width: 38px; height: 38px; border-color: var(--on-dark); transform: scale(1.12); }
  #stColour .cl-record li:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  #stColour .cl-readout {
    left: var(--pad); right: auto; bottom: auto; top: calc(var(--tz) + 142px); z-index: 8;
    align-items: flex-start; text-align: left; color: var(--on-dark);
    opacity: calc(min(1,max(0,(var(--p,0) - 0.16)/0.03)) * (1 - min(1,max(0,(var(--p,0) - 0.66)/0.03))));
  }

  .pp8-cl-name {
    position: absolute; z-index: 8; left: var(--pad); right: var(--pad); margin: 0; top: calc(var(--tz) + 144px);
    font: var(--v-structural); letter-spacing: 0.19em; text-transform: uppercase; font-size: 0.74rem; color: var(--on-dark);
    opacity: calc(min(1,max(0,(var(--p,0) - 0.16)/0.03))); pointer-events: none;
  }
  .pp8-cl-name span { display: block; opacity: 0.66; margin: 3px 0 0; }
  .pp8-cl-t, .pp8-cl-block { position: absolute; z-index: 8; left: var(--pad); right: var(--pad); margin: 0; pointer-events: none; color: var(--on-dark); }
  .pp8-cl-t { top: calc(var(--tz) + 14px); font: var(--v-editorial); font-size: 1.05rem; line-height: 1.35; }
  .pp8-cl-t1 { opacity: calc(min(1,max(0,(var(--p,0) - 0.16)/0.03)) * (1 - min(1,max(0,(var(--p,0) - 0.37)/0.03)))); }
  .pp8-cl-t4 { opacity: calc(min(1,max(0,(var(--p,0) - 0.68)/0.03)) * (1 - min(1,max(0,(var(--p,0) - 0.89)/0.03)))); }
  .pp8-cl-block { top: calc(var(--tz) + 12px); }
  .pp8-cl-slider { opacity: calc(min(1,max(0,(var(--p,0) - 0.38)/0.03)) * (1 - min(1,max(0,(var(--p,0) - 0.54)/0.03)))); }
  .pp8-cl-slider label { display: block; font: var(--v-structural); letter-spacing: 0.19em; text-transform: uppercase; font-size: 0.78rem; margin-bottom: 10px; }
  .pp8-cl-slider input { width: 100%; height: 44px; margin: 0; accent-color: var(--accent); background: transparent; }
  #stColour[data-pp8="s2"] .pp8-cl-slider { pointer-events: auto; }
  .pp8-cl-save { opacity: calc(min(1,max(0,(var(--p,0) - 0.56)/0.03)) * (1 - min(1,max(0,(var(--p,0) - 0.66)/0.03)))); }
  #stColour[data-pp8="s3"] .pp8-cl-save { pointer-events: auto; }
  .pp8-cl-ask { opacity: calc(min(1,max(0,(var(--p,0) - 0.82)/0.03)) * (1 - min(1,max(0,(var(--p,0) - 0.89)/0.03)))); top: calc(var(--tz) + 46px); }
  #stColour[data-pp8="s5"][data-pp8-claim="0"] .pp8-cl-ask { pointer-events: auto; }
  .pp8-cl-claim { top: calc(var(--tz) + 14px); opacity: 0; font: var(--v-editorial); font-size: 0.98rem; line-height: 1.35; }
  #stColour[data-pp8-claim="1"] .pp8-cl-claim { opacity: calc(min(1,max(0,(var(--p,0) - 0.82)/0.03)) * (1 - min(1,max(0,(var(--p,0) - 0.89)/0.03)))); }
  #stColour[data-pp8-claim="1"] .pp8-cl-t4 { opacity: 0; }
  #stColour[data-pp8-claim="1"] .pp8-cl-ask { opacity: 0; pointer-events: none; }
  .pp8-cl-claim b { display: block; font-weight: 400; font-size: 1.2rem; margin-bottom: 4px; }

  #stColour .cl-close {
    left: var(--pad); right: var(--pad); width: auto; top: calc(var(--tz) + 16px); text-align: left; transform: none; z-index: 8;
    font-size: clamp(1.3rem, 5.6vw, 1.6rem); opacity: calc(min(1,max(0,(var(--p,0) - 0.92)/0.04)));
  }
  #stColour .beneath {
    left: auto; right: var(--pad); top: var(--row); bottom: auto; z-index: 9; opacity: calc(min(1,max(0,(var(--p,0) - 0.38)/0.04)));
  }
  #stColour .bn-open, #stColour .pp8-btn { color: var(--on-dark); }
  #stColour .pp8-btn { cursor: pointer; font: var(--v-structural); letter-spacing: 0.14em; text-transform: uppercase; }
  #stColour .pp8-btn[aria-pressed="true"] { border-color: var(--accent) !important; }

  /* the two plates, in the picture zone, one after the other */
  #stColour #clGrey {
    --clg-s: min(24vw, 92px);
    left: 50%; top: calc((var(--pz-top) + var(--tz)) / 2); transform: translate(-50%, -50%);
    width: min(84vw, 330px); height: min(46vw, calc(var(--tz) - var(--pz-top) - 28px), 190px);
    opacity: 1 !important; visibility: visible !important; transition: none !important; z-index: 5;
  }
  #stColour #clGreyA { opacity: calc(min(1,max(0,(var(--p,0) - 0.68)/0.04)) * (1 - min(1,max(0,(var(--p,0) - 0.89)/0.04)))); }
  #stColour #clGreyB { opacity: calc(min(1,max(0,(var(--p,0) - 0.76)/0.04)) * (1 - min(1,max(0,(var(--p,0) - 0.89)/0.04)))); }
}


/* ══════════════════════════════════════════════════════════════
   PHONE PASS 9 (phones only: max-width 480px, motion allowed)
   Rule for every chapter: nothing overlaps. The picture has its own
   zone, the text and buttons theirs, one thin line between. Desktop,
   tablets and reduced motion are untouched. Appended; proof.js is not
   touched.
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) and (prefers-reduced-motion: no-preference) {

  /* ---------- taller picture zones, one thin line instead of a faded edge ---------- */
  #stSymbols, #stNature, #stHarmony, #stVibration, #stColour { --tz: max(46svh, calc(100svh - 272px)); --row: calc(var(--tz) + 142px); }
  #stPerception { --tz: max(40svh, calc(100svh - 352px)); }
  #stSymbols::after, #stNature::after, #stHarmony::after, #stVibration::after {
    top: var(--tz); background: var(--dark); border-top: 1px solid rgba(251,243,232,0.24);
  }
  #stPerception::after { top: var(--tz); background: #F1EDE6; border-top: 1px solid rgba(53,48,42,0.28); }
  #stColour::after {
    content: ""; position: absolute; z-index: 6; pointer-events: none; left: 0; right: 0; bottom: 0; top: var(--tz);
    background: var(--dark); border-top: 1px solid rgba(251,243,232,0.24);
  }

  /* ---------- every button on the site: a thin, quiet line, soft color only on tap ---------- */
  :is(#naReveal, .hm-ratios b, .vb-btn, .pc-view, #pcAlign, .bn-open, .cl-btn, #clGreyAsk, .fe-enter, .fe-leave, .meru-go, #ytBack, #ydClose, #vpLeave,
      .pp8-btn, .pp8-hz, .na-reveal, .br-btn, .os-btn, .sp-open, .four-start, .vp-btn, [class*="-go"], [class*="-back"]):not([data-pp4-done], :disabled, [aria-pressed="true"], [aria-expanded="true"]) {
    box-shadow: none !important; filter: none !important; animation: none !important; outline: 0 !important;
    border: 1px solid color-mix(in srgb, currentColor 32%, transparent) !important;
    border-radius: 999px !important; background: transparent !important;
    -webkit-tap-highlight-color: transparent;
  }
  :is(#naReveal, .vb-btn, .pc-view, #pcAlign, .bn-open, .cl-btn, #clGreyAsk, .fe-enter, .fe-leave, .meru-go, #ytBack, #ydClose, #vpLeave, .pp8-btn, .pp8-hz, .na-reveal, .br-btn, .os-btn, .sp-open, .four-start):active {
    border-color: color-mix(in srgb, var(--accent) 70%, transparent) !important; color: var(--accent);
  }
  :is(.bn-open, .pc-view, .cl-btn, .fe-enter, .meru-go, #ytBack, #ydClose, #vpLeave)::before { box-shadow: none !important; }
  /* the pass 7 and 8 soft breath stays, but only 3px and very pale */
  @keyframes pp8-breathe {
    0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 0%, transparent); }
    50%      { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
  }
  @keyframes pp7-breathe {
    0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 0%, transparent); }
    50%      { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
  }

  /* =====================================================================
     01 SYMBOLS: one whole picture at a time, never over one another.
       photo (.00-.30) / the whole arch (.32-.62) / the whole relief (.64 on)
     ===================================================================== */
  #stSymbols {
    --sq: calc(min(1, max(0, (var(--p,0) - 0.30) / 0.04)) * (1 - min(1, max(0, (var(--p,0) - 0.62) / 0.04))));
    --tz: calc(max(46svh, calc(100svh - 272px)) + (min(max(46svh, calc(100svh - 272px)), calc(60px + 100vw)) - max(46svh, calc(100svh - 272px))) * var(--sq));
  }
  #stSymbols .sy-aperture { opacity: calc(min(1,max(0,(var(--p,0) - 0.0)/0.02)) * (1 - min(1,max(0,(var(--p,0) - 0.29)/0.04)))); }
  #stSymbols .sy-arch { inset: 0; }
  #stSymbols .sy-arch img { object-fit: cover; object-position: 50% 50%; transform: none; filter: none; }
  #stSymbols .sy-grade, #stSymbols .sy-measure, #stSymbols .sy-measure-cap { display: none !important; }
  #stSymbols .sy-relic {
    --rw: min(100vw, calc(var(--tz) - var(--pz-top)));
    left: 0; right: 0; margin-inline: auto; top: var(--pz-top); bottom: auto;
    width: var(--rw); height: var(--rw); transform: none; filter: none; opacity: calc(min(1,max(0,(var(--p,0) - 0.32)/0.04)) * (1 - min(1,max(0,(var(--p,0) - 0.61)/0.04))));
  }
  #stSymbols .sy-relic img { object-fit: contain; object-position: center; }
  #stSymbols .sy-relief {
    left: 0; right: 0; top: var(--pz-top); bottom: auto; height: calc(var(--tz) - var(--pz-top));
    transform: none; mask-image: none; -webkit-mask-image: none; z-index: 3; opacity: calc(min(1,max(0,(var(--p,0) - 0.63)/0.04)));
  }
  #stSymbols .sy-relief img { object-fit: contain; object-position: center; filter: none; }
  #stSymbols .sy-col { opacity: calc(min(1,max(0,(var(--p,0) - 0.34)/0.04))); }

  /* =====================================================================
     02 IN NATURE: the whole garden (a wide picture) gets a zone its own
     height; the zone grows to the specimen's square as it arrives.
     ===================================================================== */
  #stNature {
    --nz: min(1, max(0, (var(--p,0) - 0.12) / 0.06));
    --tz: calc((60px + 100vw / 1.78 + 8px) + (max(46svh, calc(100svh - 272px)) - (60px + 100vw / 1.78 + 8px)) * var(--nz));
  }
  #stNature .na-garden img { object-fit: contain; object-position: center top; transform: none; }
  #stNature .na-garden { overflow: hidden; }

  /* 04 VIBRATION: a thin frame instead of a faded edge; the six notes fit above Look closer */
  #stVibration .vb-field { outline: 0; }
  .pp8-vb-hzgrid { top: calc(var(--tz) + 36px); gap: 10px 12px; }
  .pp8-vb-lab { top: calc(var(--tz) + 10px); }

  /* =====================================================================
     03 HARMONY: the instrument fills the picture zone (circle, the string,
     the four ratios as tappable pills in two tiers). Text zone below holds
     one thing at a time; nothing stands on the picture.
     ===================================================================== */
  #stHarmony {
    --H: calc(var(--tz) - var(--pz-top));
    --os: min(82vw, calc(var(--H) - 232px));
    --cs: min(82vw, calc(var(--H) - 74px));
  }
  #stHarmony .hm-orbit { top: calc(var(--pz-top) + 8px); width: var(--os); height: var(--os); }
  #stHarmony .hm-string {
    top: calc(var(--pz-top) + 8px + var(--os) + 40px); height: 56px; left: -4vw; width: 108vw;
  }
  #stHarmony .hm-string .hm-wire { stroke-width: 1.4; }
  #stHarmony .hm-ratios b {
    opacity: 1 !important; top: calc(50% + 32px); font-size: 0.82rem !important; letter-spacing: 0.04em;
    padding: 5px 11px; border: 1px solid color-mix(in srgb, currentColor 38%, transparent); border-radius: 999px;
    color: rgba(251,243,232,0.82); background: transparent; white-space: nowrap;
  }
  #stHarmony .hm-ratios b.pp9-t2 { top: calc(50% + 70px); }
  #stHarmony .hm-ratios b.pp9-t3 { top: calc(50% + 108px); }
  #stHarmony .hm-ratios b.is-on { color: var(--accent); border-color: var(--accent); font-size: 0.82rem !important; }
  #stHarmony .hm-ratios b::before { width: 60px; height: 40px; }
  #stHarmony .hm-ratios b.is-on::after { display: none; }
  .pp9-hm-tap {
    position: absolute; z-index: 5; left: 0; right: 0; margin: 0; text-align: center; pointer-events: none;
    top: calc(var(--pz-top) + 8px + var(--os) + 12px);
    font: var(--v-structural); letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.72rem; color: var(--on-dark);
    opacity: calc(var(--hm-str, 0) * (1 - min(1, max(0, (var(--p, 0) - 0.42) / 0.08))));
  }
  .pp9-hm-tap[data-done="0"] { animation: pp9-soft 2.4s ease-in-out infinite; }
  @keyframes pp9-soft { 0%, 100% { color: color-mix(in srgb, var(--on-dark) 70%, transparent); } 50% { color: var(--accent); } }
  #stHarmony .hm-wire[data-pp7-next]:not([data-pp4-done], [data-pp7-done]) { animation: pp7-wire 2.4s ease-in-out infinite !important; }
  #stHarmony .hm-hint { display: none !important; }
  #stHarmony .hm-readout {
    left: var(--pad); right: auto; top: calc(var(--tz) + 108px); bottom: auto; flex-direction: row; align-items: baseline; gap: 0.9rem;
  }
  #stHarmony .hm-ratio-big { font-size: 1.45rem; }
  #stHarmony .beneath { top: var(--row); }
  #stHarmony .hm-say-p { font-size: 0.88rem; }
  #stHarmony .pp7-trace, #stHarmony .pp7-trace-live { top: calc(var(--pz-top) + 6px); }

  /* =====================================================================
     05 PERCEPTION: the arch background and the circle sit in the picture
     zone; the three views arrive early (p .30) as a calm column in the
     beige below; the state word moves into the text zone.
     ===================================================================== */
  #stPerception { --pe: calc(var(--tz) + 222px); }
  #stPerception .pc-room img { transform: none; }
  #stPerception .pc-solid-space {
    --ps: min(80vw, calc(var(--tz) - var(--pz-top) - 16px));
    top: calc(var(--pz-top) + 8px); opacity: 1;
  }
  #stPerception .pc-readout {
    left: var(--pad); right: auto; top: calc(var(--tz) + 14px); text-align: left; justify-content: flex-start; z-index: 8;
    opacity: calc(min(1, max(0, (var(--p, 0) - 0.28) / 0.04)));
  }
  #stPerception .pc-say { top: calc(var(--tz) + 36px); font-size: 0.95rem; line-height: 1.35; }
  #stPerception .pc-views {
    top: calc(var(--tz) + 84px); gap: 6px;
    opacity: calc(min(1, max(0, (var(--p, 0) - 0.30) / 0.04)));
  }
  #stPerception .pc-view { min-height: 38px; padding: 0.4rem 1rem; }
  #stPerception .beneath { top: var(--pe); opacity: calc(min(1, max(0, (var(--p, 0) - 0.30) / 0.04))); }
  #stPerception .pc-line { top: calc(var(--tz) + 14px); }
  /* =====================================================================
     06 SEEING: the eye, then the blue apple, alone in the picture zone;
     every line of text underneath, one at a time.
     ===================================================================== */
  #stEye {
    --pz-top: 60px; --tz: max(46svh, calc(100svh - 272px)); --row: calc(var(--tz) + 142px); background: var(--dark);
    --H: calc(var(--tz) - var(--pz-top));
  }
  #stEye::after {
    content: ""; position: absolute; z-index: 6; pointer-events: none; left: 0; right: 0; bottom: 0; top: var(--tz);
    background: var(--dark); border-top: 1px solid rgba(251,243,232,0.24);
  }
  #stEye .ey-plate { inset: auto; left: 0; right: 0; top: var(--pz-top); height: var(--H); width: auto; display: flex; align-items: center; justify-content: center; overflow: hidden; }
  #stEye .ey-plate video { width: 100%; height: 100%; object-fit: contain; }
  #stEye .ey-apple {
    --aw: min(100vw, var(--H));
    inset: auto; left: 0; right: 0; margin-inline: auto; top: var(--pz-top); width: var(--aw); height: var(--aw);
  }
  #stEye .ey-word { left: var(--pad); right: auto; top: calc(var(--tz) + 12px); bottom: auto; font-size: clamp(2.6rem, 14vw, 3.4rem); text-align: left; transform: none; z-index: 8; }
  #stEye .ey-gaze { left: var(--pad); right: var(--pad); width: auto; top: calc(var(--tz) + 84px); bottom: auto; text-align: left; transform: none; z-index: 8; font-size: 1.05rem; }
  #stEye .ey-say { left: var(--pad); right: var(--pad); width: auto; top: calc(var(--tz) + 16px); bottom: auto; text-align: left; transform: none; z-index: 8; font-size: 1.2rem; line-height: 1.3; }
  #stEye .ey-facts { inset: auto; left: var(--pad); right: var(--pad); top: calc(var(--tz) + 16px); width: auto; height: auto; display: block; z-index: 8; }
  #stEye .ey-facts .ey-say { position: absolute; left: 0; right: 0; top: 0; width: auto; }
  #stEye .ey-facts .ey-say--5 { top: 56px; }
  #stEye .beneath { left: var(--pad); right: auto; top: var(--row); bottom: auto; z-index: 9; }
  #stEye .ey-after { z-index: 7; }
  #stEye .ey-after-field { inset: auto; left: 0; right: 0; top: var(--pz-top); height: var(--H); }
  #stEye .ey-after-apple { inset: auto; left: 0; right: 0; margin-inline: auto; top: var(--pz-top); width: min(100vw, var(--H)); height: min(100vw, var(--H)); }
  #stEye .ey-after-dot { top: calc(var(--pz-top) + var(--H) / 2); }
  #stEye .ey-after :is(.ey-after-pause, .ey-after-say, .ey-after-blue) {
    left: var(--pad) !important; right: var(--pad) !important; width: auto !important; top: calc(var(--tz) + 16px) !important; bottom: auto !important; text-align: left !important; transform: none !important; margin-top: 0 !important;
  }
  #stEye .ey-after .ey-after-empty-line { left: var(--pad) !important; right: auto !important; top: calc(var(--tz) + 16px) !important; bottom: auto !important; width: auto !important; transform: none !important; text-align: left !important; margin-top: 0 !important; }
  #stEye .ey-after .ey-after-clock { top: calc(var(--tz) + 96px) !important; right: var(--pad) !important; left: auto !important; bottom: auto !important; }
  #stEye .ey-facts { opacity: calc(1 - min(1, max(0, (var(--p, 0) - 0.915) / 0.02))); }
  /* =====================================================================
     07 COLOR, the door: the prism picture edge to edge first, the text
     below; the light bar is swipeable (hint on the bar), the name below
     it changes with the color and is large; the notice is enlarged.
     ===================================================================== */
  #stColour { --pz-top: 60px; }
  #clDoor {
    --dy: calc(60px + 100vw / 2.2 + 20px);
    display: block; padding: 0; text-align: left;
    background-image: url("../img/colour/cl-prism.jpg"); background-repeat: no-repeat;
    background-size: 100% auto; background-position: center 60px; background-color: var(--dark);
    overflow: hidden;
  }
  #clDoor::after { content: ""; position: absolute; left: 0; right: 0; top: calc(60px + 100vw / 2.2); border-top: 1px solid rgba(251,243,232,0.24); }
  #clDoor .cl-door-head, #clDoor .cl-door-block, #clDoor #clDoorBand, #clDoor #clDoorReadout, #clDoor .pp9-door-hint {
    position: absolute; left: var(--pad); right: var(--pad); margin: 0; max-width: none; width: auto;
  }
  #clDoor .cl-door-head { top: var(--dy); font-size: clamp(1.4rem, 6vw, 1.7rem); opacity: calc(1 - min(1, max(0, (var(--p, 0) - 0.045) / 0.01))); }
  #clDoor .cl-door-measured { top: calc(var(--dy) + 68px); opacity: calc(1 - min(1, max(0, (var(--p, 0) - 0.045) / 0.01))); }
  #clDoor .cl-door-measured .cl-door-body { font-size: 1rem; }
  #clDoor #clDoorBand {
    top: calc(var(--dy) + 6px); height: 22px; border-radius: 999px; width: auto; touch-action: pan-y;
    box-shadow: none; opacity: calc(min(1, max(0, (var(--p, 0) - 0.05) / 0.01)));
  }
  #clDoor #clDoorBand::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; bottom: -14px; }
  #clDoor .pp9-door-hint {
    top: calc(var(--dy) + 36px); font: var(--v-structural); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.74rem;
    color: rgba(255,255,255,0.8); text-align: center; pointer-events: none;
    opacity: calc(min(1, max(0, (var(--p, 0) - 0.05) / 0.01)));
  }
  #clDoor .pp9-door-hint b { font-weight: 400; color: #FFF; animation: pp9-swipe 1.8s ease-in-out infinite; display: inline-block; }
  #clDoor.cl-door-touched .pp9-door-hint b { animation: none; opacity: 0.5; }
  @keyframes pp9-swipe { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }
  #clDoor #clDoorReadout {
    top: calc(var(--dy) + 66px); display: block; text-align: left; opacity: calc(min(1, max(0, (var(--p, 0) - 0.05) / 0.01)));
  }
  #clDoor #clDoorReadout .cl-door-row { display: flex; gap: 0.8em; align-items: baseline; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
  #clDoor #clDoorName { font-size: 1.7rem; letter-spacing: 0; text-transform: capitalize; color: var(--pp9-name, #fff) !important; opacity: 1 !important; line-height: 1.2; }
  #clDoor .cl-door-seen { top: calc(var(--dy) + 128px); }
  #clDoor .cl-door-seen .cl-door-body, #clDoor .cl-door-notice .cl-door-body { font-size: 0.98rem; line-height: 1.4; }
  #clDoor .cl-door-notice { top: calc(var(--dy) + 128px); opacity: calc(min(1, max(0, (var(--p, 0) - 0.095) / 0.01))); }
  #clDoor.cl-door-touched .cl-door-notice { top: calc(var(--dy) + 224px); }
  #clDoor .cl-door-notice .cl-door-label { color: rgba(255,255,255,0.8); }

  #stColour:has(#clDoor:not(.cl-door-hidden)) :is(.cl-pair, .cl-grain, .cl-space) { visibility: hidden; }
  .pp8-cl-name { right: auto; width: 60%; }

  #stColour .beneath { width: fit-content !important; }
  .pp8-cl-name { width: 172px; max-width: 172px; font-size: 0.7rem; }
  /* =====================================================================
     08 EXPLORATIONS: the intro text sits above the constellation, the
     constellation has its own space, labels sit on small dark pills so
     no line runs through a word, the two lines and Look closer below.
     ===================================================================== */
  #stExplorations { --pz-top: 60px; --ft: 250px; background: var(--dark); }
  #stExplorations .ex-word { left: var(--pad); right: auto; top: 70px; bottom: auto; font-size: clamp(2.1rem, 10vw, 2.6rem); text-align: left; transform: none; z-index: 8; }
  #stExplorations .ex-what { left: var(--pad); right: var(--pad); width: auto; top: 128px; bottom: auto; font-size: 0.95rem; line-height: 1.4; text-align: left; transform: none; z-index: 8; }
  #stExplorations .ex-field {
    inset: auto; left: 0; right: 0; top: var(--ft); height: calc(100svh - var(--ft) - 200px); border-top: 1px solid rgba(251,243,232,0.24); overflow: hidden;
  }
  #stExplorations .ex-plane { inset: 0; transform: none !important; }
  #stExplorations .ex-node .nd-state { display: none; }
  #stExplorations .ex-node[data-open="1"] .nd-state { display: block; }
  #stExplorations .ex-node .nd-label, #stExplorations .ex-node .nd-state { background: var(--dark); padding: 1px 6px; border-radius: 999px; font-size: 0.7rem; }
  #stExplorations .ex-ways { left: var(--pad); right: var(--pad); width: auto; top: calc(100svh - 192px); bottom: auto; height: 50px; z-index: 8; text-align: left; }
  #stExplorations .beneath { left: var(--pad); right: auto; top: calc(100svh - 132px); bottom: auto; z-index: 9; }

  /* =====================================================================
     09 VESICA PISCIS: the figure in the top zone, the reading below it
     (scrolls inside its own space if long), Back to the invitation and
     Go deeper side by side in their own row below the text, then
     Read beneath the surface in its own row.
     ===================================================================== */
  #stLineage { --pz-top: 60px; --tz: max(34svh, calc(100svh - 440px)); --H: calc(var(--tz) - 60px); }
  #scLineage[data-vp-entered="1"] #lgDraw {
    inset: auto !important; left: 50% !important; top: 60px !important; transform: translateX(-50%) !important;
    width: min(var(--H), calc(100vw - 40px)) !important; height: min(var(--H), calc(100vw - 40px)) !important;
  }
  #scLineage[data-vp-entered="1"] #stLineage #vpHead { left: var(--pad) !important; right: auto !important; top: calc(var(--tz) + 8px) !important; transform: none !important; font-size: 1.4rem !important; text-align: left !important; }
  #scLineage[data-vp-entered="1"] #stLineage #vpRead {
    left: var(--pad) !important; right: var(--pad) !important; width: auto !important; top: calc(var(--tz) + 48px) !important; bottom: auto !important;
    height: calc(100svh - 236px - var(--tz)) !important; overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  #scLineage[data-vp-entered="1"] #vpRead .vp-group { transform: none !important; margin: 0 !important; top: 0 !important; bottom: auto !important; left: 0 !important; right: 0 !important; width: auto !important; }
  #scLineage #vpRead .vp-p { font-size: 0.86rem !important; line-height: 1.32 !important; }
  #stLineage #vpLeave { left: var(--pad) !important; right: auto !important; top: calc(100svh - 176px) !important; bottom: auto !important; transform: none !important; min-height: 44px; padding: 0 1rem; }
  #stLineage #vpGoDeeper { left: auto !important; right: var(--pad) !important; top: calc(100svh - 176px) !important; bottom: auto !important; transform: none !important; min-height: 44px; padding: 0 1rem; }
  #stLineage .vp-beneath { left: var(--pad) !important; right: auto !important; top: calc(100svh - 128px) !important; bottom: auto !important; }
  #scLineage[data-vp-ending="1"] #vpLeave { left: 50% !important; top: 50% !important; transform: translate(-50%, -50%) !important; }

  /* =====================================================================
     11 MAHA MERU and the Sri Yantra layers (the full-screen reading): the
     figure has the top zone, the copy sits below it (and scrolls inside
     its own space if it is long), the buttons have rows of their own.
     ===================================================================== */
  #ydDeep { --dz: min(calc(100vw - 100px), 32svh); --dt: calc(60px + var(--dz) + 14px); }
  #ydDeep .yd-figure { position: absolute !important; top: 60px !important; left: 50% !important; right: auto !important; bottom: auto !important; width: var(--dz) !important; height: var(--dz) !important; transform: translateX(-50%) !important; }
  #ydDeep .yd-read { position: absolute !important; left: var(--pad) !important; right: var(--pad) !important; width: auto !important; top: var(--dt) !important; bottom: auto !important; height: calc(100svh - 232px - var(--dt)); overflow-y: auto; -webkit-overflow-scrolling: touch; transform: none !important; }
  #ydDeep .yd-tools { position: absolute !important; left: var(--pad) !important; right: var(--pad) !important; top: calc(100svh - 128px) !important; bottom: auto !important; display: flex !important; justify-content: space-between; align-items: center; gap: 12px; width: auto !important; height: 44px; }
  #ydDeep #ydGo { position: fixed !important; left: var(--pad) !important; top: calc(100svh - 224px) !important; }
  #ydDeep .beneath { position: fixed !important; left: var(--pad) !important; right: auto !important; top: calc(100svh - 176px) !important; bottom: auto !important; }
  :is(#ydClose, #meruGo, #ydGo, #ydDir, #vpLeave, #vpGoDeeper, #ytBack) { min-height: 44px; padding: 0 1rem; display: inline-flex; align-items: center; }
  #meruScreen .meru-screen-figure { position: fixed !important; top: 60px !important; left: 50% !important; right: auto !important; bottom: auto !important; width: var(--dz) !important; height: var(--dz) !important; transform: translateX(-50%) !important; }
  #meruScreen .meru-screen-copy {
    position: fixed !important; left: var(--pad) !important; right: var(--pad) !important; width: auto !important; max-width: none !important;
    top: var(--dt) !important; bottom: auto !important; transform: none !important; max-height: calc(100svh - 232px - var(--dt));
    overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  #meruScreen .meru-heading { font-size: 1.9rem; }
  #meruScreen .meru-body { font-size: 0.9rem; line-height: 1.38; margin-bottom: 0.7em; }

  /* =====================================================================
     12 SRI YANTRA: the figure in the top zone, the words below it, the two
     buttons in rows of their own at the bottom.
     ===================================================================== */
  #stYantra { --pz-top: 60px; --tz: max(40svh, calc(100svh - 320px)); }
  #stYantra .yt-glow { display: none; }
  #stYantra .yt-art { inset: auto !important; left: 50% !important; top: 60px !important; transform: translateX(-50%) !important; width: min(calc(var(--tz) - 68px), calc(100vw - 40px)) !important; height: min(calc(var(--tz) - 68px), calc(100vw - 40px)) !important; }
  #stYantra .yt-art .yantra, #stYantra .yt-art .yantra-plate { width: 100% !important; height: 100% !important; }
  #stYantra .yt-read { inset: 0 !important; width: auto !important; height: auto !important; pointer-events: none; }
  #stYantra .yt-read > * { pointer-events: auto; }
  #stYantra #yantraHead { position: absolute; left: var(--pad); right: var(--pad); top: calc(var(--tz) + 6px); margin: 0; font-size: 0.72rem; }
  #stYantra #ytOne { position: absolute; left: var(--pad); right: var(--pad); width: auto; top: calc(var(--tz) + 30px); height: calc(100svh - 232px - var(--tz)); overflow-y: auto; -webkit-overflow-scrolling: touch; margin: 0; }
  #stYantra .yt-read .beneath { position: absolute; left: var(--pad); right: auto; top: calc(100svh - 176px); bottom: auto; }
  #stYantra #ytBack { position: absolute; left: var(--pad); top: calc(100svh - 128px); bottom: auto; }
  #stYantra .yt-cue-read { position: static; }
  /* =====================================================================
     10 BREATH, 13 HOW AN EXPLORATION WORKS, 14 RHYTHM, 15 WHAT IT CAN
     SUPPORT, 16 BETWEEN EXPLORATIONS: the picture or figure is in the top
     zone, one thin line, and the words and controls follow below it.
     ===================================================================== */
  #stBreath, #stProcess, #stOsc, #stSupport, #stBetween { --pz-top: 60px; }
  /* ---- 10 BREATH ---- */
  #stBreath { --tz: max(30svh, calc(100svh - 380px)); background: var(--dark); }
  #stBreath::after { content: ""; position: absolute; z-index: 1; pointer-events: none; left: 0; right: 0; bottom: 0; top: var(--tz); background: var(--dark); border-top: 1px solid rgba(251,243,232,0.24); }
  #stBreath #brInstrument { --S: min(calc(100vw - 60px), calc(var(--tz) - 60px - 52px)); inset: auto; left: 50%; top: 64px; transform: translateX(-50%); width: var(--S); height: var(--S); }
  #stBreath #brPhase, #stBreath .br-done { top: calc(100% + 4px); left: 0; right: 0; bottom: auto; width: auto; text-align: center; transform: none; }
  #stBreath #brCount { top: calc(100% + 26px); left: 0; right: 0; bottom: auto; width: auto; text-align: center; transform: none; }
  #stBreath .br-tag { left: var(--pad); right: auto; top: calc(var(--tz) + 10px); bottom: auto; z-index: 2; }
  #stBreath .br-line { left: var(--pad); right: var(--pad); width: auto; top: calc(var(--tz) + 30px); bottom: auto; text-align: left; transform: none; z-index: 2; font-size: 1.4rem; }
  #stBreath .br-sub { left: var(--pad); right: var(--pad); top: calc(var(--tz) + 84px); bottom: auto; text-align: left; transform: none; z-index: 2; }
  #stBreath .br-tools { left: var(--pad); right: var(--pad); top: calc(var(--tz) + 118px); bottom: auto; z-index: 3; }
  #stBreath #brGuide { left: var(--pad); right: var(--pad); width: auto; top: calc(var(--tz) + 206px); bottom: auto; text-align: left; transform: none; z-index: 2; }
  #stBreath .beneath { left: var(--pad); right: auto; top: calc(100svh - 130px); bottom: auto; z-index: 3; }
  /* ---- 13 HOW AN EXPLORATION WORKS ---- */
  #stProcess { --tz: max(28svh, calc(100svh - 430px)); background: #F1EDE6; }
  #stProcess::after { content: ""; position: absolute; z-index: 1; pointer-events: none; left: 0; right: 0; bottom: 0; top: var(--tz); background: #F1EDE6; border-top: 1px solid rgba(53,48,42,0.28); }
  #stProcess .pr-visual { inset: auto; left: 0; right: 0; top: 60px; width: auto; height: calc(var(--tz) - 60px); overflow: hidden; opacity: calc(1 - min(1, max(0, (var(--p, 0) - 0.5) / 0.04))); }
  #stProcess .pr-visual img { width: 100%; height: 100%; object-fit: cover; transform: none; }
  #stProcess #fourSheet { inset: auto; left: 50%; top: 66px; transform: translateX(-50%); width: min(calc(var(--tz) - 72px), 60vw); height: min(calc(var(--tz) - 72px), 60vw); }
  #stProcess .pr-kicker { left: var(--pad); top: calc(var(--tz) + 10px); z-index: 2; }
  #stProcess .pr-strip { left: var(--pad); top: calc(var(--tz) + 34px); z-index: 2; }
  #stProcess .pr-copy { left: var(--pad); right: var(--pad); width: auto; top: calc(var(--tz) + 176px); bottom: auto; transform: none; z-index: 2; }
  #stProcess #four { left: var(--pad); right: var(--pad); width: auto; top: calc(var(--tz) + 176px); bottom: auto; transform: none; z-index: 2; }
  /* ---- 14 RHYTHM ---- */
  #stOsc { --tz: max(124px, calc(100svh - 520px)); }
  #stOsc::after { content: ""; position: absolute; z-index: 1; pointer-events: none; left: 0; right: 0; bottom: 0; top: var(--tz); background: var(--dark); border-top: 1px solid rgba(251,243,232,0.24); }
  #stOsc #osField { inset: auto; left: 0; right: 0; top: 60px; width: 100%; height: calc(var(--tz) - 60px); }
  #stOsc .os-word { left: var(--pad); right: auto; top: calc(var(--tz) + 6px); bottom: auto; font-size: 2.4rem; transform: none; z-index: 2; }
  #stOsc .os-lead { left: var(--pad); right: var(--pad); width: auto; top: calc(var(--tz) + 58px); bottom: auto; font-size: 0.85rem; transform: none; z-index: 2; }
  #stOsc .os-panel { left: var(--pad); right: var(--pad); width: auto; top: calc(var(--tz) + 116px); bottom: auto; z-index: 3; }
  #stOsc .beneath { left: var(--pad); right: auto; top: calc(100svh - 130px); bottom: auto; z-index: 3; }
  /* ---- 15 WHAT IT CAN SUPPORT ---- */
  #stSupport { --tz: max(150px, calc(100svh - 476px)); background: #F1EDE6; }
  #stSupport::after { content: ""; position: absolute; z-index: 1; pointer-events: none; left: 0; right: 0; bottom: 0; top: var(--tz); background: #F1EDE6; border-top: 1px solid rgba(53,48,42,0.28); }
  #stSupport #spField { inset: auto; left: 0; right: 0; top: 60px; width: 100%; height: calc(var(--tz) - 60px); }
  #stSupport .sp-read { left: var(--pad); right: var(--pad); width: auto; top: calc(var(--tz) + 8px); bottom: auto; z-index: 2; opacity: calc(1 - var(--room, 0)); }
  #stSupport .sp-anchor { font-size: 1.15rem; }
  #stSupport .sp-read { display: flex; flex-direction: column; gap: 8px; }
  #stSupport .sp-sub { font-size: 0.9rem; margin-top: 8px; }
  #stSupport #spList { left: var(--pad); right: var(--pad); width: auto; top: calc(var(--tz) + 8px); bottom: auto; z-index: 2; }
  #stSupport .sp-tools { left: var(--pad); right: var(--pad); width: auto; top: calc(100svh - 252px); bottom: auto; z-index: 3; }
  #stSupport .sp-bound { left: var(--pad); right: var(--pad); width: auto; top: calc(100svh - 196px); bottom: auto; z-index: 2; }
  #stSupport .beneath { left: var(--pad); right: auto; top: calc(100svh - 130px); bottom: auto; z-index: 3; }
  /* ---- 16 BETWEEN EXPLORATIONS ---- */
  #stBetween { --tz: max(110px, calc(100svh - 520px)); }
  #stBetween::after { content: ""; position: absolute; z-index: 1; pointer-events: none; left: 0; right: 0; bottom: 0; top: var(--tz); background: var(--ground, #F1EDE6); border-top: 1px solid rgba(53,48,42,0.28); }
  #stBetween .bt-sheet { inset: auto; left: 50%; top: 66px; transform: translateX(-50%); width: min(calc(var(--tz) - 72px), 60vw); height: min(calc(var(--tz) - 72px), 60vw); }
  #stBetween .bt-title { left: var(--pad); right: var(--pad); width: auto; top: calc(var(--tz) + 8px); bottom: auto; z-index: 2; font-size: 1.3rem; }
  #stBetween #bx { left: var(--pad); right: var(--pad); width: auto; top: calc(var(--tz) + 52px); bottom: auto; z-index: 2; }
  #stBetween .beneath { left: var(--pad); right: auto; top: calc(100svh - 130px); bottom: auto; z-index: 3; }

}


/* ══════════════════════════════════════════════════════════════
   PHONE PASS 11 (phones only: max-width 480px, motion allowed)
   Back to the full-screen look: every picture fills the phone edge to
   edge, words arrive one at a time in clear space, buttons are thin
   and small, the one to tap glows softly. Appended; proof.js is not
   touched. Pass 9's picture-box and text-box split is dropped; its
   other fixes stay.
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) and (prefers-reduced-motion: no-preference) {

  /* ---------- the boxes are gone: pictures fill the screen, a soft scrim holds the words ---------- */
  #stSymbols, #stNature, #stHarmony, #stVibration, #stColour, #stEye, #stPerception, #stExplorations,
  #stLineage, #stBreath, #stProcess, #stOsc, #stSupport, #stBetween, #stYantra { --pz-top: 0px; }
  #stHarmony, #stPerception, #stEye { --pz-top: 96px; }
  #stSymbols::after, #stHarmony::after, #stVibration::after, #stEye::after,
  #stBreath::after, #stOsc::after {
    top: calc(var(--tz) - 90px); border-top: 0; background: linear-gradient(to bottom, rgba(11,10,8,0) 0, rgba(11,10,8,0.72) 90px, rgba(11,10,8,0.86) 100%);
  }
  #stPerception::after, #stProcess::after, #stSupport::after, #stBetween::after {
    top: calc(var(--tz) - 90px); border-top: 0; background: linear-gradient(to bottom, rgba(241,237,230,0) 0, rgba(241,237,230,0.82) 90px, rgba(241,237,230,0.9) 100%);
  }
  #stExplorations::after { display: none; }
  /* pictures: full stage */
  #stSymbols .sy-aperture, #stNature .na-garden, #stVibration .vb-field, #stPerception .pc-room { inset: 0 !important; top: 0 !important; height: auto !important; left: 0 !important; right: 0 !important; width: auto !important; }
  #stSymbols .sy-arch img { object-fit: cover; }
  #stNature .na-garden img { object-fit: cover; object-position: 50% 52%; }
  #stPerception .pc-room img { object-fit: cover; }
  #stProcess .pr-visual { inset: 0 !important; top: 0 !important; height: auto !important; width: auto !important; }
  #stOsc #osField, #stSupport #spField { inset: 0 !important; top: 0 !important; height: auto !important; width: 100% !important; }
  #stExplorations .ex-field { inset: 0 !important; top: 0 !important; height: auto !important; border-top: 0; overflow: visible; }
  /* =====================================================================
     01 SYMBOLS (full screen, like the desktop). The photo opens; the word
     "Symbols" and the big arch stand low on one line and slide left together;
     the photo slides off left as the relief rises from the bottom; then the
     words arrive, one at a time, in clear space; then the button.
     ===================================================================== */
  #stSymbols {
    --tz: max(46svh, calc(100svh - 272px));
    --ws: clamp(3.6rem, 23vw, 6rem);
    --sl: min(1, max(0, (var(--p, 0) - 0.26) / 0.16));
    --ex: min(1, max(0, (var(--p, 0) - 0.50) / 0.12));
    --rs: min(1, max(0, (var(--p, 0) - 0.48) / 0.14));
  }
  #stSymbols .sy-aperture { opacity: 1 !important; transform: none !important; }
  #stSymbols .sy-word {
    left: var(--pad) !important; right: auto !important; top: auto !important; bottom: 15svh !important; z-index: 3;
    font-size: var(--ws) !important; line-height: 0.82 !important; text-shadow: 0 2px 34px rgba(11,10,8,0.6), 0 0 3px rgba(11,10,8,0.4); color: #FBF3E8 !important; transform: translateX(calc(var(--sl) * -118vw)) !important;
    opacity: calc(min(1, max(0, (var(--p, 0) - 0.03) / 0.05)) * (1 - min(1, max(0, (var(--p, 0) - 0.40) / 0.04)))) !important;
  }
  #stSymbols .sy-relic {
    --rw: 104vw;
    left: -2vw !important; right: auto !important; margin: 0 !important; top: auto !important; bottom: calc(15svh + var(--ws) * 0.16) !important;
    width: var(--rw) !important; height: var(--rw) !important; z-index: 4;
    transform: translateX(calc(var(--sl) * -118vw)) !important;
    opacity: calc(min(1, max(0, (var(--p, 0) - 0.08) / 0.06)) * (1 - min(1, max(0, (var(--p, 0) - 0.40) / 0.04)))) !important;
  }
  #stSymbols .sy-relic img { object-fit: contain; object-position: bottom center; }
  /* the white relief fades in on the same screen once the symbols have gone: smaller, with softly rounded corners */
  #stSymbols { --rh: min(calc(72vw / 0.81), calc(var(--tz) - 124px)); }
  #stSymbols .sy-relief {
    inset: auto !important; left: 50% !important; right: auto !important; top: calc((var(--tz) + 96px) / 2) !important; bottom: auto !important;
    width: calc(var(--rh) * 0.81) !important; height: var(--rh) !important; transform: translate(-50%, -50%) !important;
    border-radius: 18px; overflow: hidden; z-index: 5; box-shadow: 0 10px 40px rgba(0,0,0,0.35);
    opacity: calc(min(1,max(0,(var(--p,0) - 0.46)/0.06))) !important; mask-image: none !important; -webkit-mask-image: none !important;
  }
  #stSymbols .sy-relief img { width: 100%; height: 100%; object-fit: cover; filter: none !important; }
  #stSymbols .sy-col { z-index: 8; top: calc(var(--tz) + 24px) !important; opacity: calc(min(1, max(0, (var(--p, 0) - 0.62) / 0.05))) !important; }
  #stSymbols .beneath { opacity: calc(min(1, max(0, (var(--p, 0) - 0.72) / 0.05))) !important; z-index: 9; }
  #stSymbols::after { z-index: 6; }
  /* =====================================================================
     02 IN NATURE: the picture is big, the words are small and low, the
     word "In nature" stands well above the bottom bar.
     ===================================================================== */
  #stNature { --nz: 1; --tz: max(48svh, calc(100svh - 258px)); }
  #stNature .na-garden img { transform: none !important; }
  #naSpecimen.na-specimen { --sw: min(96vw, calc(var(--tz) - 40px)); top: calc((var(--tz) - var(--sw)) / 2 + 16px); }
  #stNature .na-word { top: calc(var(--tz) - 4px) !important; font-size: clamp(2.2rem, 12vw, 3rem) !important; }
  #stNature .na-lead { top: calc(var(--tz) + 56px) !important; font-size: 0.95rem !important; line-height: 1.4; }
  #stNature .na-read { top: calc(var(--tz) + 40px) !important; }
  #stNature .na-name { font-size: 0.92rem; }
  #stNature .na-obs, #stNature .na-int { font-size: 0.8rem; line-height: 1.45; }
  #stNature .na-close { top: calc(var(--tz) + 20px) !important; font-size: clamp(1.15rem, 5.2vw, 1.4rem) !important; }
  #stNature .na-index { top: calc(var(--tz) - 34px) !important; }
  #stNature .na-tools { top: calc(var(--tz) + 156px) !important; }
  #stNature .beneath { top: calc(var(--tz) + 150px) !important; }

  /* the photo in its full colors: no dark filter, no mask, no scrim; words get a soft shadow only */
  #stNature::after { display: none !important; }
  #stNature { filter: none !important; }
  #stNature .na-garden img { -webkit-mask-image: none !important; mask-image: none !important; filter: none !important; transform: none !important; }
  #stNature :is(.na-word, .na-lead, .na-read, .na-name, .na-obs, .na-int, .na-close, .na-index, .na-tools) { text-shadow: 0 1px 12px rgba(0,0,0,0.85), 0 0 3px rgba(0,0,0,0.7); }
  #stNature .na-word { color: #FBF3E8; }
  #naReveal, .na-reveal { text-decoration: none !important; }
  #naReveal { border: 0 !important; }

  /* =====================================================================
     06 SEEING, one step per screen: the eye ("Look at the eye" and a ten
     second clock) / the questions in their own space / "What are you
     seeing?" with its letters fading in / the blue apple / the exercise on
     its own screen (scroll is held until it is done or skipped).
     ===================================================================== */
  #stEye .ey-word, #stEye .ey-gaze { display: none !important; }
  #stEye .ey-plate {
    inset: auto !important; left: 0 !important; right: 0 !important; top: 96px !important; height: calc(var(--tz) - 112px) !important;
    opacity: calc(min(1,max(0,(var(--p,0) - 0.0)/0.03)) * (1 - min(1,max(0,(var(--p,0) - 0.33)/0.04)))) !important;
    background: url("../img/eye/eye-poster.jpg") center / contain no-repeat;
  }
  #stEye .ey-plate video { opacity: 1; }
  #stEye .ey-apple { top: 96px !important; }
  #stEye .ey-after-apple { top: 96px !important; }
  .pp10-ey-look, .pp10-ey-clock, .pp10-ey-q, .pp10-ey-skip { position: absolute; z-index: 9; margin: 0; }
  .pp10-ey-look { left: var(--pad); right: var(--pad); top: calc(var(--tz) + 22px); font: var(--v-editorial); font-size: 1.35rem; color: var(--on-dark); opacity: calc(min(1,max(0,(var(--p,0) - 0.02)/0.04)) * (1 - min(1,max(0,(var(--p,0) - 0.3)/0.04)))); pointer-events: none; }
  .pp10-ey-clock { left: var(--pad); top: calc(var(--tz) + 82px); width: 46px; height: 46px; opacity: calc(min(1,max(0,(var(--p,0) - 0.04)/0.04)) * (1 - min(1,max(0,(var(--p,0) - 0.3)/0.04)))); pointer-events: none; }
  .pp10-ey-clock svg { width: 46px; height: 46px; transform: rotate(-90deg); }
  .pp10-ey-clock circle { fill: none; stroke-width: 1; }
  .pp10-ey-clock .bg { stroke: color-mix(in srgb, var(--on-dark) 25%, transparent); }
  .pp10-ey-clock .fg { stroke: var(--accent); stroke-dasharray: 125.7; stroke-dashoffset: 0; }
  .pp10-ey-clock b { position: absolute; inset: 0; display: grid; place-items: center; font: 300 0.95rem/1 "Public Sans", sans-serif; color: var(--on-dark); font-weight: 300; }
  .pp10-ey-q { left: var(--pad); right: var(--pad); top: 36svh; font: var(--v-monument); font-size: clamp(1.9rem, 9vw, 2.4rem); line-height: 1.12; letter-spacing: -0.02em; color: var(--on-dark); pointer-events: none; opacity: calc(min(1,max(0,(var(--p,0) - 0.555)/0.005)) * (1 - min(1,max(0,(var(--p,0) - 0.665)/0.01)))); }
  .pp10-ey-q span { opacity: 0; display: inline-block; white-space: pre; }
  .pp10-ey-skip { left: var(--pad); top: calc(var(--tz) + 120px); opacity: calc(min(1,max(0,(var(--p,0) - 0.935)/0.015))); pointer-events: none; }
  html:not(.pp10-ey-skipon) .pp10-ey-skip { pointer-events: none; }
  .pp10-ey-skip[data-on="1"] { pointer-events: auto; }
  #stEye .ey-say, #stEye .ey-after-pause, #stEye .ey-after-say, #stEye .ey-after-blue { font-size: 1.3rem !important; line-height: 1.3 !important; }
  html.pp10-lock, html.pp10-lock body { overflow: hidden !important; touch-action: none; overscroll-behavior: none; }

  #stEye .ey-facts { opacity: calc(1 - min(1, max(0, (var(--p, 0) - 0.89) / 0.02))) !important; }

  .pp11-ey-stay { position: absolute; z-index: 9; left: var(--pad); right: var(--pad); top: calc(var(--tz) + 84px); margin: 0; font: var(--v-editorial); font-size: 1.05rem; color: var(--accent); opacity: 0; pointer-events: none; }
  .pp11-ey-stay[data-on="1"] { opacity: 1; animation: pp11-stay 1.7s ease-in-out 3; }
  @keyframes pp11-stay { 0% { opacity: 0.25; } 50% { opacity: 1; text-shadow: 0 0 12px color-mix(in srgb, var(--accent) 50%, transparent); } 100% { opacity: 0.25; } }
  .pp10-ey-skip { top: calc(var(--tz) + 134px) !important; }

  /* =====================================================================
     07 COLOR: back to the pass 9b look (hard line between the color and the
     dark ground, no blur). Only the door keeps its pass 10 spacing.
     ===================================================================== */
  /* the door */
  #clDoor { --ph: clamp(140px, min(38svh, calc(100svh - 508px)), 340px); --dy: calc(60px + var(--ph) + 20px); background-size: auto var(--ph) !important; background-position: center 60px !important; }
  #clDoor::after { display: none; }
  #clDoor .cl-door-head { opacity: calc(1 - min(1, max(0, (var(--p, 0) - 0.045) / 0.01))); }
  #clDoor .cl-door-seen { top: calc(var(--dy) + 128px) !important; }
  #clDoor .cl-door-seen { opacity: 0 !important; }
  #clDoor.cl-door-touched .cl-door-seen { opacity: calc(min(1, max(0, (var(--p, 0) - 0.05) / 0.01))) !important; }
  #clDoor:not([data-pp10-bar="1"]) #clDoorBand { pointer-events: none; }
  #clDoor .cl-door-notice, #clDoor.cl-door-touched .cl-door-notice { top: auto !important; bottom: 84px !important; }
  #clDoor .cl-door-seen .cl-door-body, #clDoor .cl-door-notice .cl-door-body { font-size: 0.88rem !important; line-height: 1.38 !important; }
  #clDoor #clDoorBand { height: 16px; }
  #stColour .cl-tools { flex-wrap: nowrap !important; gap: 8px !important; }
  #stColour .cl-tools .cl-btn { padding: 0.3rem 0.7rem !important; font-size: 0.6rem !important; letter-spacing: 0.08em !important; white-space: nowrap; }

  #stColour .pp8-btn[aria-pressed="true"] { border-color: var(--accent) !important; }
  /* =====================================================================
     10 BREATH: the figure is big and centered, its words sit below it, Stop
     and Continue are small and on one line, "Why an interval?" waits until
     the breathing is done.
     ===================================================================== */
  #stBreath { --tz: max(34svh, calc(100svh - 372px)); }
  #stBreath #brInstrument { --S: min(92vw, calc(var(--tz) - 112px)); top: 66px; }
  #stBreath .br-tools { display: flex !important; align-items: center; gap: 16px; flex-wrap: nowrap; }
  #stBreath .br-pass { white-space: nowrap; font-size: 0.7rem; }
  #stBreath .beneath { opacity: 0 !important; pointer-events: none !important; transition: opacity 900ms ease; }
  #stBreath[data-pp10-bdone="1"] .beneath { opacity: 1 !important; pointer-events: auto !important; }
  /* ---------- every button: small, a hairline you can see on a picture, a soft glow only on the one to tap ---------- */
  :is(.bn-open, .na-reveal, #naReveal, .vb-btn, .pc-view, #pcAlign, .cl-btn, #clGreyAsk, .fe-enter, .fe-leave, .meru-go, #ytBack, #ydClose, #ydGo, #ydDir, #vpLeave, #vpGoDeeper,
      .pp8-btn, .pp8-hz, .br-btn, .os-btn, .sp-open, .four-start, .bt-btn, .bx-way, .yd-btn, .vp-byrne-open, .vp-press):not(.hm-ratios b) {
    min-height: 34px !important; padding: 0.3rem 0.85rem !important; font-size: 0.66rem !important; letter-spacing: 0.12em !important;
    border: 1px solid color-mix(in srgb, currentColor 46%, transparent) !important; border-radius: 999px !important;
    background: color-mix(in srgb, var(--dark, #0B0A08) 26%, transparent) !important; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
    box-shadow: none !important; filter: none !important; animation: none !important; text-shadow: 0 1px 10px rgba(11,10,8,0.55);
  }
  #stPerception :is(.bn-open, .pc-view), #stProcess :is(.four-start, .bn-open), #stSupport :is(.sp-open, .bn-open), #stBetween :is(.bt-btn, .bx-way, .bn-open) {
    background: color-mix(in srgb, #F1EDE6 40%, transparent) !important; text-shadow: none;
  }
  #naReveal, .na-reveal { border: 0 !important; background: none !important; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0.3rem 0 !important; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: color-mix(in srgb, currentColor 50%, transparent); min-height: 30px !important; }
  /* the glow: a hairline in the accent colour and a soft halo, never a thick ring */
  @keyframes pp10-glow {
    0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 0%, transparent); border-color: color-mix(in srgb, currentColor 46%, transparent); }
    50%      { box-shadow: 0 0 12px 0 color-mix(in srgb, var(--accent) 34%, transparent); border-color: color-mix(in srgb, var(--accent) 85%, transparent); }
  }
  @keyframes pp10-glow-text { 0%, 100% { text-shadow: 0 0 0 transparent; } 50% { text-shadow: 0 0 12px color-mix(in srgb, var(--accent) 70%, transparent); color: var(--accent); } }
  :is(#stSymbols, #stNature, #stHarmony, #stVibration, #stPerception, #stColour, #stEye, #stBreath, #stExplorations, #stLineage) [data-pp7-next]:is(.bn-open, .na-reveal):not([data-pp4-done], [data-pp7-done], [aria-expanded="true"], [aria-pressed="true"]),
  :is(#stVibration, #stPerception, #stColour, #stEye) [data-pp8-next]:not([data-pp4-done], [data-pp8-done], [aria-expanded="true"], [aria-pressed="true"], :disabled),
  [data-pp10-next]:not([data-pp10-done], [aria-expanded="true"], :disabled) { animation: pp10-glow 2.8s ease-in-out infinite !important; }
  #naReveal[data-pp7-next]:not([data-pp7-done], [aria-pressed="true"]) { animation: pp10-glow-text 2.8s ease-in-out infinite !important; }
  #stHarmony .hm-wire[data-pp7-next]:not([data-pp4-done], [data-pp7-done]) { animation: pp7-wire 2.8s ease-in-out infinite !important; }
  /* the Sri Yantra rooms: the buttons line up on one left edge, same height */
  #ydDeep .yd-tools { justify-content: flex-start !important; gap: 10px !important; flex-wrap: nowrap; }
  #ydDeep #ydGo, #ydDeep .beneath { left: var(--pad) !important; }
  /* canvases must fill the stage, not keep their own size */
  #stVibration .vb-field, #stColour .cl-grain, #stOsc #osField, #stSupport #spField { width: 100% !important; height: 100% !important; }
  .pp8-vb-lab1 { color: var(--on-dark) !important; text-shadow: 0 1px 12px rgba(11,10,8,0.8); }
  /* =====================================================================
     FLOW. Where a picture can carry on into the next, the next section is
     pulled up under the last one's final stretch, so the next picture rises
     as the last one dims and leaves. The interactive sections (Vesica,
     Breath, the Yantra rooms, How it works, Rhythm, Support, Between) stay
     separate, compact and calm.
     ===================================================================== */
  #scNature, #scHarmony, #scVibration, #scPerception, #scEye, #scExplorations, #scLineage { margin-top: -46vh; }
  #scSymbols .sc-stage, #scNature .sc-stage, #scHarmony .sc-stage, #scVibration .sc-stage, #scPerception .sc-stage, #scExplorations .sc-stage {
    --fd: calc(1 - 0.55 * min(1, max(0, (var(--p, 0) - 0.93) / 0.07)));
  }
  #stSymbols, #stHarmony, #stVibration, #stPerception, #stExplorations { filter: brightness(var(--fd, 1)); }
  /* the first picture of a section drifts up slowly as it arrives */
  #stVibration .vb-field, #stPerception .pc-room img { transform: translateY(calc((1 - min(1, max(0, var(--p, 0) / 0.10))) * 6svh)); }

  /* =====================================================================
     PASS 11, ALL SCREENS: a smaller Sound button high in the corner; no dash
     in front of any button label; figures stay clear of the top bar.
     ===================================================================== */
  .sound {
    top: calc(env(safe-area-inset-top, 0px) + 7px) !important; right: 18px !important; bottom: auto;
    min-height: 26px !important; padding: 0.22rem 0.6rem !important; font-size: 0.56rem !important; letter-spacing: 0.12em !important; gap: 0.4rem;
  }
  .sound .sound-bars { height: 9px; }
  .bn-tick, .fe-leave-tick, .yt-back-tick, .clg-tick, .vp-byrne-tick, button [class*="-tick"], a.bn-src [class*="-tick"] { display: none !important; }
  .bn-open, .fe-leave, #ytBack, #clGreyAsk, .vp-byrne-open { gap: 0 !important; }
  /* the Sri Yantra title: no ring, no pill, only a plain link that glows softly */
  #stThreshold .fe-ring { display: none !important; }
  #stThreshold .fe-enter {
    border: 0 !important; background: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; box-shadow: none !important;
    min-height: 40px !important; padding: 0.5rem 0.4rem !important; border-radius: 0 !important; text-shadow: none;
    animation: pp11-linkglow 2.8s ease-in-out infinite !important;
  }
  @keyframes pp11-linkglow { 0%, 100% { text-shadow: 0 0 0 transparent; color: var(--on-dark-2, #b7ada0); } 50% { text-shadow: 0 0 14px color-mix(in srgb, var(--accent) 65%, transparent); color: var(--accent); } }
  #stThreshold .fe-enter .fe-enter-text { letter-spacing: 0.18em; }
  /* =====================================================================
     04 VIBRATION: the whole figure sits in its own compact square above the
     buttons (so you can see what the particles form); the full-screen
     particles stay behind, a little quieter; the buttons sit lower.
     ===================================================================== */
  #stVibration .vb-field { opacity: 0.5 !important; }
  .pp11-vib {
    position: absolute; z-index: 4; left: 50%; top: 100px; transform: translateX(-50%);
    width: var(--vs); height: var(--vs); border: 1px solid rgba(251,243,232,0.22); border-radius: 4px; pointer-events: none;
    background: rgba(11,10,8,0.5);
    opacity: calc(min(1, max(0, (var(--p, 0) - 0.01) / 0.04)));
  }
  #stVibration { --vs: min(92vw, calc(var(--tz) - 116px)); }
  #stVibration .vb-word { top: calc(var(--tz) + 40px) !important; }
  #stVibration .vb-line { top: calc(var(--tz) + 70px) !important; }
  .pp8-vb-sound { top: calc(var(--tz) + 128px) !important; }
  .pp8-vb-lab { top: calc(var(--tz) + 46px) !important; }
  .pp8-vb-hzgrid { top: calc(var(--tz) + 76px) !important; gap: 10px 12px !important; }
  #stVibration .beneath { top: calc(var(--tz) + 182px) !important; }

  /* 05 PERCEPTION: the room photo fills the whole screen; the turning figure sits in the middle of the open area, clear of the top bar */
  #stPerception .pc-room picture { display: block; width: 100%; height: 100%; }
  #stPerception .pc-room img { width: 100% !important; height: 100% !important; object-fit: cover; }
  #stPerception .pc-solid-space { top: 96px !important; height: calc(var(--tz) - 108px) !important; display: grid !important; place-items: center !important; }

  /* =====================================================================
     13 HOW AN EXPLORATION WORKS. The five steps light up one after another
     with time to read; the interval is ten seconds; seven bright colors; the
     answer lands on the star as a bright blot; the photo text is easier to read.
     ===================================================================== */
  .sc-track--process { --track: 1000vh; }
  #stProcess .pr-kicker { top: 84px !important; opacity: 1 !important; }
  #stProcess .pr-strip { top: 112px !important; left: var(--pad); width: auto; right: var(--pad); transform: none !important; display: block; opacity: 1 !important; }
  #stProcess .pr-strip .pr-step { display: block; margin: 0 0 6px; font-size: 0.8rem; white-space: normal; }
  #stProcess .pr-step[data-step="1"] { opacity: calc(0.1 + 0.9 * min(1,max(0,(var(--p,0) - 0.04)/0.03)) - 0.45 * min(1,max(0,(var(--p,0) - 0.13)/0.03))) !important; color: var(--ink) !important; transform: none !important; }
  #stProcess .pr-step[data-step="2"] { opacity: calc(0.1 + 0.9 * min(1,max(0,(var(--p,0) - 0.13)/0.03)) - 0.45 * min(1,max(0,(var(--p,0) - 0.22)/0.03))) !important; color: var(--ink) !important; transform: none !important; }
  #stProcess .pr-step[data-step="3"] { opacity: calc(0.1 + 0.9 * min(1,max(0,(var(--p,0) - 0.22)/0.03)) - 0.45 * min(1,max(0,(var(--p,0) - 0.42)/0.03))) !important; color: var(--ink) !important; transform: none !important; }
  #stProcess .pr-step[data-step="4"] { opacity: calc(0.1 + 0.9 * min(1,max(0,(var(--p,0) - 0.42)/0.03)) - 0.45 * min(1,max(0,(var(--p,0) - 0.86)/0.03))) !important; color: var(--ink) !important; transform: none !important; }
  #stProcess .pr-step[data-step="5"] { opacity: calc(0.1 + 0.9 * min(1,max(0,(var(--p,0) - 0.86)/0.03))) !important; color: var(--ink) !important; transform: none !important; }

  #stProcess .pr-strip { z-index: 8; text-shadow: 0 0 10px rgba(241,237,230,0.9); }
  #stProcess .pr-visual { opacity: calc(min(1, max(0, (var(--p, 0) - 0.18) / 0.04)) * (1 - min(1, max(0, (var(--p, 0) - 0.40) / 0.04)))) !important; }
  #stProcess .pr-copy { top: calc(var(--tz) + 56px) !important; opacity: calc(min(1,max(0,(var(--p,0) - 0.23)/0.03)) * (1 - min(1,max(0,(var(--p,0) - 0.38)/0.03)))) !important; padding: 14px 16px 12px; border-radius: 14px; background: rgba(241,237,230,0.86); }
  #stProcess .pr-line { font-size: 1.5rem !important; line-height: 1.22 !important; color: #1b1814 !important; text-shadow: none !important; }
  #stProcess .pr-aside { font-size: 0.78rem !important; line-height: 1.4 !important; color: #3a342c !important; letter-spacing: 0.1em; text-transform: none; margin-top: 10px; }
  #stProcess .pr-tag { color: var(--accent) !important; }
  #stProcess { --fz: max(var(--tz), 282px); }
  #stProcess #four { top: calc(var(--fz) + 20px) !important; opacity: calc(min(1,max(0,(var(--p,0) - 0.43)/0.04))) !important; pointer-events: none; }
  #stProcess #four .four-instrument { display: none !important; }
  #stProcess #four .four-lead { font-size: 1.5rem; margin: 0 0 8px; }
  #stProcess #four .four-body { font-size: 0.86rem !important; line-height: 1.4; margin: 0; max-width: none; }
  #stProcess #four .four-after { position: absolute !important; left: 0; right: 0; top: 262px !important; bottom: auto !important; font-size: 0.8rem !important; line-height: 1.4; opacity: 0; transition: opacity 600ms; }
  #stProcess #four.is-done .four-after { opacity: 1 !important; }
  #stProcess #fourSheet { opacity: calc(min(1,max(0,(var(--p,0) - 0.45)/0.04))) !important; }
  .pp11-four { position: absolute; z-index: 9; left: var(--pad); right: var(--pad); top: calc(var(--fz) + 104px); opacity: calc(min(1,max(0,(var(--p,0) - 0.47)/0.04))); pointer-events: none; }
  .pp11-four[data-on="1"] { pointer-events: auto; }
  .pp11-four .row { display: flex; align-items: center; gap: 14px; }
  .pp11-four button.go { min-height: 34px; padding: 0.3rem 0.9rem; font: var(--v-structural); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); background: rgba(241,237,230,0.5); border: 1px solid rgba(53,48,42,0.5); border-radius: 999px; }
  .pp11-four button.go:disabled { opacity: 0.45; }
  .pp11-four .clk { position: relative; width: 44px; height: 44px; }
  .pp11-four .clk svg { width: 44px; height: 44px; transform: rotate(-90deg); }
  .pp11-four .clk circle { fill: none; stroke-width: 1.3; }
  .pp11-four .clk .t { stroke: rgba(53,48,42,0.22); }
  .pp11-four .clk .r { stroke: var(--accent); stroke-dasharray: 131.9; stroke-dashoffset: 131.9; }
  .pp11-four .clk b { position: absolute; inset: 0; display: grid; place-items: center; font: 300 0.8rem/1 "Public Sans", sans-serif; color: var(--ink); }
  .pp11-four .sws { display: flex; gap: 9px; margin-top: 18px; }
  .pp11-four .sws button { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.9); background: var(--c); box-shadow: 0 0 0 1px rgba(53,48,42,0.35); padding: 0; }
  .pp11-four .sws button[data-chosen="1"] { box-shadow: 0 0 0 2px var(--ink); }
  .pp11-four .st { margin: 14px 0 0; font: var(--v-structural); font-size: 0.68rem; letter-spacing: 0.1em; color: #3a342c; min-height: 1.2em; text-transform: none; }
  #stProcess[data-pp11four="1"] .pr-step[data-step="1"], #stProcess[data-pp11four="1"] .pr-step[data-step="2"], #stProcess[data-pp11four="1"] .pr-step[data-step="3"] { display: none !important; }
  #stProcess #fourSheet { inset: auto !important; top: 176px !important; left: 50% !important; right: auto !important; bottom: auto !important; transform: translateX(-50%) !important; width: clamp(96px, calc(var(--fz) - 200px), 176px) !important; height: clamp(96px, calc(var(--fz) - 200px), 176px) !important; }
  /* figures in the rooms stay below the top bar */
  #stBreath #brInstrument { top: 96px !important; --S: min(90vw, calc(var(--tz) - 150px)); }
  #stBetween .bt-sheet { top: 96px !important; }
  #scLineage[data-vp-entered="1"] #lgDraw { top: 96px !important; width: min(calc(var(--tz) - 108px), calc(100vw - 40px)) !important; height: min(calc(var(--tz) - 108px), calc(100vw - 40px)) !important; }
  #stYantra .yt-art { top: 96px !important; width: min(calc(var(--tz) - 108px), calc(100vw - 40px)) !important; height: min(calc(var(--tz) - 108px), calc(100vw - 40px)) !important; }
  #ydDeep { --dz: min(calc(100vw - 100px), calc(32svh - 24px)); --dt: calc(96px + var(--dz) + 14px); }
  #ydDeep .yd-figure, #meruScreen .meru-screen-figure { top: 96px !important; }
  /* 11 MAHA MERU: the mountain, then the turning Meru, large and centered; the same single switch as the desktop (The ten layers / The mountain) */
  #ydDeep { --dz: min(80vw, calc(36svh - 12px)); --dt: calc(96px + var(--dz) + 14px); }

  /* =====================================================================
     PASS 11, NEW STORY SCREENS (phones only): an opening before 01, a
     bridge after 04, a bridge after 07, and the Go deeper screen after the
     Sri Yantra. Words arrive one at a time in clear space. Text approved by
     Julia on 22 Nov, used word for word.
     ===================================================================== */
  .pp11-story { display: block; position: relative; }
  .pp11-story .sc-track { height: var(--track, 300vh); }
  .pp11-story .sc-stage { background: var(--dark); color: var(--on-dark); }
  .pp11-story .pp11-line {
    position: absolute; z-index: 5; left: var(--pad); right: var(--pad); top: 36svh; margin: 0; opacity: 0;
    font: var(--v-monument); font-size: clamp(1.45rem, 6.6vw, 1.75rem); line-height: 1.22; letter-spacing: -0.02em; color: var(--on-dark); text-wrap: balance;
    text-shadow: 0 1px 18px rgba(11,10,8,0.6);
  }
  .pp11-story .pp11-line.small { font-size: clamp(1.15rem, 5vw, 1.35rem); line-height: 1.35; letter-spacing: -0.01em; }
  #scStoryOpen { --track: 330vh; } #scStoryB1 { --track: 330vh; } #scStoryB2 { --track: 460vh; }
  #stStoryOpen .l1 { opacity: calc(min(1,max(0,(var(--p,0) - 0.1)/0.1)) * (1 - min(1,max(0,(var(--p,0) - 0.46)/0.06)))); }  #stStoryOpen .l2 { opacity: calc(min(1,max(0,(var(--p,0) - 0.54)/0.1))); }
  #stStoryB1 .l1 { opacity: calc(min(1,max(0,(var(--p,0) - 0.1)/0.1)) * (1 - min(1,max(0,(var(--p,0) - 0.46)/0.06)))); }  #stStoryB1 .l2 { opacity: calc(min(1,max(0,(var(--p,0) - 0.54)/0.1))); }
  #stStoryB2 .l1 { opacity: calc(min(1,max(0,(var(--p,0) - 0.08)/0.08)) * (1 - min(1,max(0,(var(--p,0) - 0.3)/0.06)))); }  #stStoryB2 .l2 { opacity: calc(min(1,max(0,(var(--p,0) - 0.38)/0.08)) * (1 - min(1,max(0,(var(--p,0) - 0.66)/0.06)))); }  #stStoryB2 .l3 { opacity: calc(min(1,max(0,(var(--p,0) - 0.74)/0.08))); }
  /* the glow behind the story words: one soft point of light, as on the other screens */
  .pp11-story .pp11-glow { position: absolute; inset: 0; background: radial-gradient(60% 40% at 50% 62%, rgba(255,77,0,0.10), rgba(255,77,0,0) 70%); opacity: calc(min(1,max(0,(var(--p,0) - 0.02)/0.1))); pointer-events: none; }
  /* the course screens: black, words arrive a few at a time (each element carries its own window in --a/--b/--c/--d) */
  .pp11-story .sc-stage.black { background: #000; }
  .pp11-line.v {
    opacity: calc(min(1, max(0, (var(--p, 0) - var(--a)) / (var(--b) - var(--a)))) * (1 - min(1, max(0, (var(--p, 0) - var(--c)) / (var(--d) - var(--c))))));
  }
  .pp11-line.hd { top: 98px; font-size: clamp(1.5rem, 7vw, 1.9rem); letter-spacing: -0.02em; }
  .pp11-slot { position: absolute; z-index: 5; left: var(--pad); right: var(--pad); top: 164px; pointer-events: none; }
  .pp11-slot .pp11-line { position: static; margin: 0 0 16px; font-size: clamp(1rem, 4.4vw, 1.18rem); line-height: 1.42; letter-spacing: 0; text-shadow: 0 1px 12px rgba(0,0,0,0.6); }
  #scGoDeeper .pp11-slot { top: calc(96px + min(64vw, calc(30svh - 8px)) + 26px); }
  .pp11-gd-fig { position: absolute; z-index: 3; left: 50%; top: 96px; transform: translateX(-50%); width: min(64vw, calc(30svh - 8px)); aspect-ratio: 1 / 1; opacity: calc(min(1, max(0, (var(--p, 0) - 0.02) / 0.06))); }
  .pp11-gd-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
  .pp11-gd-fig img.hl { opacity: 0; transition: opacity 1400ms ease; }
  .pp11-gd-fig img.hl.on { opacity: 1; }
  .pp11-gd-btn {
    position: absolute; z-index: 6; left: var(--pad); top: calc(100svh - 128px); min-height: 34px; padding: 0.3rem 1rem; font: var(--v-structural); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--on-dark); background: transparent; border: 1px solid color-mix(in srgb, var(--on-dark) 55%, transparent); border-radius: 999px;
    opacity: calc(min(1, max(0, (var(--p, 0) - 0.62) / 0.06))); pointer-events: none; cursor: default;
  }
  .pp11-gd-btn[data-on="1"] { pointer-events: auto; animation: pp10-glow 2.8s ease-in-out infinite; }
  /* on this black screen the top bar is light on dark, whatever chapter came before */
  html.pp11-black { --c-ink: #FBF3E8; --c-dim: rgba(251,243,232,0.62); --c-line: rgba(251,243,232,0.3); --ground: #0B0A08; }
  html.pp11-black[data-tone] .sound { color: #FBF3E8; background: rgba(11,10,8,0.8); border-color: rgba(251,243,232,0.3); }
  html.pp11-black .chassis-id, html.pp11-black .chapter-now, html.pp11-black .chassis-id * { color: #FBF3E8 !important; }
  /* the small quiet link in the top bar, on every screen */
  .pp11-course {
    position: fixed; z-index: 60; top: calc(env(safe-area-inset-top, 0px) + 10px); right: 150px; padding: 0.3rem 0.1rem; font: var(--v-structural); font-size: 0.56rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--c-dim, #8d857b); text-decoration: none; border-bottom: 1px solid transparent;
  }
  html.pp11-black .pp11-course { color: rgba(251,243,232,0.7); }

}

@media (min-width: 481px) {
  .pp11-story, .pp11-course { display: none !important; }
}
