/* ───────── The thread into the castle ───────── */
.br-sec { position: relative; height: 380vh; /* was 520vh: fewer scrolls from her back to the core (2026-11-16) */ background: #e9d9c0; }
.br-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.br-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.br-clouds { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.br-clouds img { position: absolute; top: 18%; width: 80vw; will-change: transform, opacity; }
.br-clouds img:nth-child(1) { left: -20vw; }
.br-clouds img:nth-child(2) { right: -18vw; top: 34%; }
.br-clouds img:nth-child(3) { left: 10vw; top: 52%; width: 95vw; }
.br-faces { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.br-flash { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0;
  background: radial-gradient(75% 75% at 50% 60%, #fff4d6 0%, #f7d68c 38%, #e9b660 72%, #d49a45 100%); } /* the core's gold */
/* the first stop of the work section, fading in at the end of the core: the hand-off is this exact frame */
.br-next { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; }
/* where the castle meets the statue section: the top of the castle fades up into her ivory, under the clouds */
.br-fade { position: absolute; left: 0; right: 0; top: 0; height: 45%; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, #dcd9d5 0%, rgba(220,217,213,.85) 30%, rgba(233,217,192,0) 100%); }
.br-sec .sky-bank { top: -30vh; height: 46vh; }
/* the join itself: a band of soft cloud-white haze under the cloud bank, so the edge where her
   section ends (and its clipped clouds) can never show between two clouds */
.br-seam { position: absolute; left: 0; right: 0; top: -16vh; height: 34vh; z-index: 5; pointer-events: none;
  background: linear-gradient(180deg, rgba(228,222,216,0) 0%, rgba(228,222,216,.92) 30%, #e6e0da 47%, rgba(230,224,218,.9) 66%, rgba(230,224,218,0) 100%); }

/* the numbers, printed on the block faces: laid out flat at 600x360, then mapped onto the face */
.face { position: absolute; left: 0; top: 0; width: 600px; height: 360px; transform-origin: 0 0; opacity: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; color: #14110d; text-align: center; }
.face b { font: 800 158px/0.9 "Inter Tight", var(--display), sans-serif; letter-spacing: -.04em; white-space: nowrap; font-variant-numeric: tabular-nums; } /* plain zeros (the mono font dots them) */
.face span { font: 700 34px var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-top: 22px; color: #3a2f22; max-width: 520px; }
.face .ic { width: 170px; height: 56px; margin-bottom: 22px; overflow: visible; fill: #14110d; stroke: none; }
.face > * { scale: var(--fit, 1); } /* set by bridge-faces.js on narrow phones */
.face .ic.ln { fill: none; stroke: #14110d; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.face .ic.ln .ar { fill: rgba(20,17,13,.18); stroke: none; }
.face .ic.ln circle { fill: #14110d; }

/* the gold thread from her hand */
.gold-thread { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 45; pointer-events: none; opacity: 0;
  filter: drop-shadow(0 0 6px #f3c969) drop-shadow(0 0 2px #fff3c9); }
.gold-thread path { fill: none; stroke: #f3c969; stroke-width: 2.2; stroke-linecap: round; }
