/* DANIEL GOL — WET ARCHIVE Nº 01 (v40)
   120Hz Liquid Inertia Engine · Full-Height Shutter Triptychs · Optical 35mm Film-Edge Ruler
   Magnetic Lens Play Trigger · Focus-Dimming Reels + Full-Bleed Darkroom Lightbox · Spotlight Manifesto */

:root {
  --serif: "Didot", "Bodoni 72", "Playfair Display", Georgia, serif;
  --sans: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --red: #e8250e;
  --amber: #ffb648;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  /* Unified Swiss Plumb-Lines & Photographic Plate Gutter */
  --edge: clamp(22px, 3.2vw, 44px);
  --pad: clamp(28px, 6.5vw, 108px);
  --seam: 3px;
  /* Live Chromatic Toning Channels (Interpolated on every scroll frame) */
  --tone-cur-rgb: 8, 56, 42;
  --tone-next-rgb: 8, 56, 42;
  --tone-mix: 0;
  /* Live Video & Chapter Harmonic Smoked-Crystal Tones */
  --tone-rgb: 162, 182, 128;
  --tone2-rgb: 218, 210, 178;
  --glass-hi-rgb: 15, 19, 17;
  --glass-lo-rgb: 8, 10, 9;
}

/* ── Chapter Color Takeovers ── */
body[data-theme="dark"] {
  --bg: #04120d;
  --fg: #ecdfc8;
  --fg-dim: rgba(236, 223, 200, 0.45);
  --acc: #e8250e;
  --line: rgba(236, 223, 200, 0.16);
  --tile: #08201a;
}
body.cinema-mode[data-theme="dark"] {
  --bg: #010705;
  --fg: #ecdfc8;
  --fg-dim: rgba(236, 223, 200, 0.48);
  --acc: #e8f66e;
  --line: rgba(232, 246, 110, 0.20);
  --tile: #030d09;
}
body[data-theme="pool"] {
  --bg: #0f7a5c;
  --fg: #f3ead6;
  --fg-dim: rgba(243, 234, 214, 0.55);
  --acc: #ff3d1a;
  --line: rgba(243, 234, 214, 0.28);
  --tile: #0b644c;
}
body[data-theme="cream"] {
  --bg: #ecdfc8;
  --fg: #2a140a;
  --fg-dim: rgba(42, 20, 10, 0.5);
  --acc: #b8330f;
  --line: rgba(42, 20, 10, 0.18);
  --tile: #e2d2b6;
}
body[data-theme="rust"] {
  --bg: #8f2f10;
  --fg: #f3ead6;
  --fg-dim: rgba(243, 234, 214, 0.55);
  --acc: #ffb648;
  --line: rgba(243, 234, 214, 0.26);
  --tile: #7c2708;
}
body.cinema-mode[data-theme="rust"] {
  --bg: #190803;
  --fg: #f3ead6;
  --fg-dim: rgba(243, 234, 214, 0.52);
  --acc: #ffb648;
  --line: rgba(243, 234, 214, 0.18);
  --tile: #120502;
}
body[data-theme="grey"] {
  --bg: #b3bdc4;
  --fg: #1d2429;
  --fg-dim: rgba(29, 36, 41, 0.52);
  --acc: #e8250e;
  --line: rgba(29, 36, 41, 0.18);
  --tile: #aab4bb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
html, body {
  background: var(--bg);
}
body {
  font-family: var(--serif);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: clip;
  transition: background-color 1.1s ease, color 1.1s ease;
}
main {
  overflow-x: clip;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
em, i {
  font-style: normal;
}
::selection {
  background: var(--acc);
  color: var(--bg);
}

/* Hardware-tiled static bitmap grain (Zero SVG feTurbulence GPU cost) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.032;
  background-image: var(--grain-tex, none);
  background-repeat: repeat;
  background-size: 128px 128px;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* ── Labels: Architectural Code Language ── */
.label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg);
  transition: color 1.1s ease;
}
.label.dim { color: var(--fg-dim); }
.label.acc, .acc { color: var(--acc); }
.acc-em { color: var(--acc); font-style: normal; }
.topbar .label, .hero-foot .label, .hero-center .label, .striphead .label { white-space: nowrap; }

/* ── Preloader ── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #030d09;
  color: #ecdfc8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1);
}
#loader.done { transform: translateY(-100%); pointer-events: none; }
#loader.ready { cursor: pointer; }
#loader.ready .l-dim { color: var(--red); animation: lpulse 1.6s ease-in-out infinite; }
@keyframes lpulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.loader-inner { text-align: center; display: grid; gap: 26px; }
.l-label { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 0.34em; color: var(--red); }
.l-dim { color: rgba(236, 223, 200, 0.45); }
.l-count { font-size: clamp(70px, 14vw, 150px); line-height: 1; font-variant-numeric: tabular-nums; }

/* ── Dual-Horizon Optical Color Toner & Predictive Next-Chapter Bleed (Single-Pass GPU Layer) ── */
#toner {
  position: fixed;
  inset: 0;
  z-index: 62;
  pointer-events: none;
  mix-blend-mode: soft-light;
  transform: translateZ(0);
  backface-visibility: hidden;
  background: linear-gradient(
    180deg,
    rgba(var(--tone-cur-rgb), 0.34) 0%,
    rgba(var(--tone-cur-rgb), 0.14) 48%,
    rgba(var(--tone-next-rgb), calc(0.16 + var(--tone-mix) * 0.38)) 100%
  );
}

/* Predictive Bottom Horizon Glow: Next chapter bleeds upward before arrival */
body::before {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38vh;
  z-index: 61;
  pointer-events: none;
  transform: translateZ(0);
  backface-visibility: hidden;
  opacity: calc(var(--tone-mix) * 0.52);
  background: radial-gradient(
    ellipse 95% 100% at 50% 100%,
    rgba(var(--tone-next-rgb), 0.65) 0%,
    rgba(var(--tone-next-rgb), 0.22) 52%,
    transparent 100%
  );
}

/* ── Smoked-Crystal Topbar Capsules (From The Door) + 1px Scroll Laser ── */
.topbar {
  position: fixed;
  top: 14px;
  left: var(--edge);
  right: var(--edge);
  z-index: 80;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  font-family: var(--sans);
}
.tb-cap {
  pointer-events: auto;
  position: relative;
  height: 40px;
  padding: 0 16px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(160deg, rgba(var(--glass-hi-rgb), 0.68) 0%, rgba(var(--glass-lo-rgb), 0.86) 100%);
  -webkit-backdrop-filter: blur(34px) saturate(1.75) brightness(1.02);
  backdrop-filter: blur(34px) saturate(1.75) brightness(1.02);
  box-shadow:
    inset 0 1px 0 rgba(243, 234, 214, 0.16),
    0 14px 34px -10px rgba(0, 0, 0, 0.68);
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.tb-cap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    180px 110px at var(--mx, 80%) var(--my, 80%),
    rgba(var(--tone-rgb), 0.16),
    rgba(var(--tone2-rgb), 0.06) 48%,
    transparent 74%
  );
  opacity: 0.72;
}

.tb-cap > * {
  position: relative;
  z-index: 2;
}

/* 360° Proximity Specular Rim Illumination (Video & Chapter Harmonic) */
[data-door-glass]::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  z-index: 4;
  background: radial-gradient(
    280px circle at var(--mx, 50%) var(--my, 0%),
    rgba(243, 234, 214, 0.56) 0%,
    rgba(var(--tone-rgb), 0.38) 38%,
    rgba(243, 234, 214, 0.08) 76%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.tb-brand {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.024em;
  color: #f5efe2;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
}
.tb-sep {
  width: 1px;
  height: 12px;
  background: rgba(243, 234, 214, 0.24);
}
.tb-chap {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(243, 234, 214, 0.72);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
  transition: opacity 0.26s ease, transform 0.26s ease;
}
.tb-chap.swapping {
  opacity: 0;
  transform: translateY(-4px);
}
.tb-tc {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
  color: var(--acc);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
}
.tb-ctrl {
  background: none;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #f5efe2;
  cursor: pointer;
  padding: 5px 9px;
  margin: -5px -9px;
  border-radius: 6px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.tb-ctrl:hover {
  background: rgba(243, 234, 214, 0.12);
}
.tb-arrow {
  width: 11px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.eq {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 11px;
}
.eq i {
  display: block;
  width: 1.5px;
  height: 4px;
  border-radius: 1px;
  background: rgba(243, 234, 214, 0.45);
  transition: height 0.2s ease, background-color 0.2s ease;
}
.eq i:nth-child(2) { height: 8px; }
.eq i:nth-child(3) { height: 5px; }
.tb-ctrl[aria-pressed="true"] .eq i { background: rgb(var(--tone-rgb)); }
.tb-ctrl[aria-pressed="true"] .eq i:nth-child(1) { animation: eqbar 0.5s ease-in-out infinite alternate; }
.tb-ctrl[aria-pressed="true"] .eq i:nth-child(2) { animation: eqbar 0.36s ease-in-out 0.12s infinite alternate; }
.tb-ctrl[aria-pressed="true"] .eq i:nth-child(3) { animation: eqbar 0.58s ease-in-out 0.2s infinite alternate; }
@keyframes eqbar { from { height: 3px; } to { height: 10px; } }

.td-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(243, 234, 214, 0.35);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.tb-ctrl[aria-pressed="true"] .td-dot {
  background: #e8f66e;
  box-shadow: 0 0 8px rgba(232, 246, 110, 0.75);
}

/* ── TouchDesigner (TD_099) Real-Time Signal & Spline Patch Layer ── */
#tdcanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 65;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.45s var(--ease);
}
body.td-off #tdcanvas {
  opacity: 0;
}

.tb-laser {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  z-index: 95;
  background: linear-gradient(90deg, var(--red), var(--amber));
  box-shadow: 0 0 12px rgba(232, 37, 14, 0.65);
  pointer-events: none;
}

/* ── Optical 35mm Film-Edge Chapter Ruler (Right Margin) ── */
.film-ruler {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 75;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
}
.fr-tick {
  background: none;
  border: none;
  padding: 3px 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  color: var(--fg);
}
.fr-tick-lbl {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), color 0.28s ease;
  pointer-events: none;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75);
}
.fr-tick-bar {
  width: 8px;
  height: 1.5px;
  background: var(--fg);
  opacity: 0.28;
  transition: width 0.35s var(--ease-out), opacity 0.35s ease, background-color 0.35s ease;
}
.film-ruler:hover .fr-tick-lbl,
.fr-tick.active .fr-tick-lbl {
  opacity: 0.78;
  transform: translateX(0);
}
.fr-tick.active .fr-tick-lbl {
  color: var(--acc);
  opacity: 1;
}
.fr-tick:hover .fr-tick-bar {
  width: 18px;
  opacity: 0.85;
}
.fr-tick.active .fr-tick-bar {
  width: 24px;
  opacity: 1;
  background: var(--acc);
}

/* ── CHOREOGRAPHY 1: Sticky Kinetic Hero Stage (175vh Scroll Runway) ── */
#hero {
  position: relative;
  height: 175vh;
  background: #04120d;
}
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #04120d;
  will-change: clip-path, transform;
}
.flash {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
  will-change: transform, filter;
}
.flash-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(3, 13, 9, 0.42), rgba(3, 13, 9, 0) 26%, rgba(3, 13, 9, 0) 62%, rgba(3, 13, 9, 0.64));
}
.hero-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  text-align: center;
  padding: 0 24px;
  pointer-events: none;
}
.hero-red { color: var(--red) !important; }
.hero-center h1 {
  font-size: clamp(52px, 10.2vw, 180px);
  line-height: 0.94;
  font-weight: 400;
  letter-spacing: 0.015em;
  color: var(--red);
  text-shadow: 0 0 60px rgba(3, 13, 9, 0.35);
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
}
.ht-left, .ht-right {
  display: inline-block;
  will-change: transform, opacity, letter-spacing;
}
.hero-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px var(--edge);
}
.hero-foot .label { color: #ecdfc8; }
.hero-foot .label.dim { color: rgba(236, 223, 200, 0.45); }
#fcount { font-variant-numeric: tabular-nums; }

/* ── Chapters & Openers ── */
.chapter { padding: clamp(110px, 14vw, 200px) 0; }
.nopadtop { padding-top: clamp(70px, 9vw, 130px); }
.pad { padding-left: var(--pad); padding-right: var(--pad); max-width: 1560px; margin: 0 auto; }
.opener { margin-bottom: clamp(40px, 6vw, 88px); }
.o-kicker { display: block; margin-bottom: 22px; }
.o-title {
  font-size: clamp(46px, 8.6vw, 150px);
  line-height: 0.96;
  font-weight: 400;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.o-title em { color: var(--acc); }

/* ── CHOREOGRAPHY 2: Scroll-Illuminated Narrative Bands (.band) ── */
.band {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) 2fr;
  gap: clamp(36px, 6.5vw, 112px);
  align-items: start;
  padding: clamp(120px, 15vw, 210px) var(--pad);
  max-width: 1560px;
  margin: 0 auto;
}
.band-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(42px, 5.6vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.028em;
  padding-top: 0.08em;
  position: sticky;
  top: 120px;
}
.band-txt {
  font-size: clamp(20px, 1.85vw, 27px);
  line-height: 1.64;
  letter-spacing: -0.004em;
  max-width: 52ch;
  text-wrap: pretty;
}
.band-txt em { color: var(--acc); }
.s-sent {
  opacity: 0.16;
  transition: opacity 0.4s ease, color 0.4s ease;
}
.s-sent.lit {
  opacity: 1;
}

/* ── The Reciprocal Loop Ring ── */
.bloop { grid-template-columns: minmax(200px, 1fr) 2fr auto; }
.loopring {
  position: sticky;
  top: 120px;
  align-self: start;
  justify-self: end;
  width: clamp(180px, 16vw, 260px);
  aspect-ratio: 1;
}
.loopring svg { width: 100%; height: 100%; display: block; overflow: visible; }
.lr-sigil path, .lr-track {
  fill: none;
  stroke: rgba(236, 223, 200, 0.55);
  stroke-width: 1.6;
  stroke-linecap: butt;
}
.lr-sweep {
  fill: none;
  stroke: var(--red);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 47 418;
  transform-box: fill-box;
  transform-origin: center;
  transform: rotate(-90deg);
  animation: lrspin 16s linear infinite;
}
@keyframes lrspin { to { transform: rotate(270deg); } }
.lr-step { position: absolute; white-space: nowrap; opacity: 0.4; animation: lrpulse 16s linear infinite; }
.lr-n { top: -26px; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.lr-e { top: 55%; right: 2%; transform: translateY(-50%); writing-mode: vertical-rl; animation-delay: -12s; }
.lr-s { bottom: -26px; left: 50%; transform: translateX(-50%); animation-delay: -8s; }
.lr-w { top: 55%; left: 2%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; animation-delay: -4s; }
@keyframes lrpulse {
  0%, 7% { opacity: 1; color: var(--red); }
  16%, 100% { opacity: 0.4; color: inherit; }
}
body.still .lr-sweep, body.still .lr-step { animation-play-state: paused; }

/* ── CHOREOGRAPHY 3: Sticky 3-Act Horizontal Shutter Triptychs (.fullscene.triptych) ── */
.fullscene {
  position: relative;
  width: 100%;
  height: 195vh;
  margin-top: 0;
}
.pair + .pair,
.pair + .full,
.full + .pair,
.full + .full,
.pair + .fullscene,
.full + .fullscene,
.fullscene + .pair,
.fullscene + .full {
  margin-top: var(--seam);
}
.fs-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  display: flex;
  gap: var(--seam);
  overflow: hidden;
  background: var(--bg);
}
.fs-cell {
  position: relative;
  flex: 1 1 0%;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  will-change: clip-path, flex-grow;
  transition: flex-grow 0.75s var(--ease-out);
}
/* Interactive kinetic hover expansion on any triptych column! */
.fs-sticky:hover .fs-cell:hover {
  flex-grow: 1.68;
}
.fs-sticky:hover .fs-cell:not(:hover) {
  flex-grow: 0.76;
}
.fs-cell img,
.fs-cell video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transition: transform 0.85s var(--ease-out);
}
.fs-cell:hover img,
.fs-cell:hover video {
  transform: scale(1.03) !important;
}
.fs-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 50% 46%, rgba(3, 13, 9, 0.44), rgba(3, 13, 9, 0.1) 74%),
    linear-gradient(to top, rgba(3, 13, 9, 0.44), rgba(3, 13, 9, 0) 32%);
}
.fs-state {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  padding: 0 clamp(16px, 5vw, 70px);
}
.fs-state .st {
  font-family: var(--serif);
  font-size: clamp(26px, 4.6vw, 72px);
  line-height: 1.08;
  color: #ecdfc8;
  text-shadow: 0 2px 44px rgba(3, 13, 9, 0.55);
  will-change: letter-spacing, transform, opacity;
}
.fs-state .st em { color: var(--red); }
.fs-state .label { color: #ecdfc8; }
.stbrand {
  font-size: clamp(44px, 9vw, 144px);
  letter-spacing: 0.06em;
}
.fs-text {
  position: absolute;
  left: var(--edge);
  bottom: clamp(24px, 4vw, 48px);
  z-index: 2;
  display: grid;
  gap: 12px;
  pointer-events: none;
}
.fs-text .label { color: #ecdfc8; }

/* ── CHOREOGRAPHY 4: Full-Bleed Pairs & Fulls with Deep Window Parallax + Monumental Quotes ── */
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--seam);
  width: 100%;
  position: relative;
  align-items: stretch;
  overflow: hidden;
}
/* Whisper-subtle top scrim so .plabel stays 100% legible even on sunlit frames */
.pair::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 84px;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(2, 8, 6, 0.34) 0%, transparent 100%);
}
.plabel {
  position: absolute;
  top: clamp(20px, 2.6vw, 32px);
  left: var(--edge);
  z-index: 4;
  color: var(--red);
  text-shadow: 0 1px 16px rgba(2, 8, 6, 0.72);
}
/* Monumental Sculptural Poetic Statements over Full-Bleed Imagery */
.pquote {
  position: absolute;
  bottom: clamp(28px, 4.5vw, 60px);
  left: var(--edge);
  z-index: 4;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 54px);
  line-height: 1.14;
  letter-spacing: -0.012em;
  max-width: 22ch;
  text-wrap: balance;
  color: #f5efe2;
  text-shadow: 0 4px 38px rgba(2, 8, 6, 0.85), 0 0 80px rgba(2, 8, 6, 0.6);
  pointer-events: none;
  will-change: transform;
}
.pquote.right {
  left: auto;
  right: var(--edge);
  text-align: right;
}
.p-cell {
  position: relative;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 4 / 5;
  background: var(--tile);
  contain: layout paint;
  backface-visibility: hidden;
  will-change: transform, clip-path;
}
.pair--wide .p-cell {
  aspect-ratio: 16 / 9;
}
.p-cell img,
.p-cell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
}
.p-cell:has(.ontext)::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(2, 8, 6, 0.66) 0%, rgba(2, 8, 6, 0.24) 36%, transparent 58%);
}
.ontext {
  position: absolute;
  left: var(--edge);
  bottom: clamp(24px, 3.8vw, 48px);
  right: 10%;
  display: grid;
  gap: 8px;
  z-index: 3;
  color: #ecdfc8;
  text-shadow: 0 2px 28px rgba(2, 8, 6, 0.68);
}
.ontext em {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.ontext span {
  font-family: var(--serif);
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.54;
  max-width: 42ch;
  text-wrap: pretty;
}

/* Deal Pair (The Sitters): Intentional editorial breathing room around dealt cards */
.pair.deal {
  padding: clamp(56px, 7.5vw, 110px) var(--pad);
  gap: clamp(20px, 3vw, 44px);
  overflow: visible;
}
.pair.deal::before {
  display: none;
}
.pair.deal .plabel {
  left: var(--pad);
}

.full {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.full img,
.full video {
  width: 100%;
  max-height: 92svh;
  object-fit: cover;
  object-position: center 24%;
  display: block;
  will-change: transform;
}
.full--wide img,
.full--wide video {
  max-height: none;
  height: auto;
}
.full-state {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  padding: 0 clamp(16px, 5vw, 70px);
  background: radial-gradient(ellipse 90% 60% at 50% 50%, rgba(3, 13, 9, 0.42), rgba(3, 13, 9, 0.06) 76%);
}
.full-state .st {
  font-family: var(--serif);
  font-size: clamp(28px, 4.8vw, 74px);
  line-height: 1.08;
  color: #ecdfc8;
  text-shadow: 0 2px 44px rgba(3, 13, 9, 0.55);
}
.full-state .st em { color: var(--red); }
.full-state .label { color: #ecdfc8; }

/* ── CHOREOGRAPHY 5: Scroll-Expanding 4K Cinema Stages + Magnetic Play Lens ── */
.pause {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(52px, 8vw, 110px);
  padding: clamp(90px, 13vw, 180px) 20px;
}
.pause-media {
  width: min(94vw, 1280px);
  position: relative;
  margin: 0 auto;
  isolation: isolate;
  will-change: transform, clip-path;
}
/* Live 4K Ambilight Projection Halo behind Cinema Stages (From The Door) */
.pm-amb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  transform: translateZ(0) scale(1.18);
  filter: blur(56px) saturate(1.38) contrast(1.03) brightness(0.94);
  opacity: 0.72;
}
.pm-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  background: #000;
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.62);
}
.pm-stage img,
.pm-stage video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  will-change: transform;
}
.pause-media figcaption {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  text-align: center;
  justify-items: center;
}
.pause-media figcaption em {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.3;
  color: var(--acc);
}

.play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(calc(-50% + var(--mx, 0px)), calc(-50% + var(--my, 0px)), 0);
  width: clamp(82px, 9.4vw, 116px);
  height: clamp(82px, 9.4vw, 116px);
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: var(--red);
  color: #ecdfc8;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.55);
  will-change: transform;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.play:hover {
  background: #ff3517;
}

/* THE FIELD: Live 3D Audio Terrain */
.ns-wrap {
  position: relative;
  width: min(94vw, 1560px);
  height: clamp(220px, 34vh, 390px);
}
#nscanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: var(--tile);
}
.ns-head {
  position: absolute;
  top: 14px;
  left: clamp(14px, 2.5vw, 30px);
  right: clamp(14px, 2.5vw, 30px);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  z-index: 2;
  pointer-events: none;
}
.ns-ctl { display: flex; gap: clamp(14px, 2.5vw, 28px); }
.nsbtn {
  pointer-events: auto;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--fg-dim);
  transition: color 0.3s ease;
}
.nsbtn:hover { color: var(--fg); }

/* Widescreen Active 4K Cinema Stage & Minimalist HUD */
.c-stage {
  position: relative;
  width: 100%;
  background: #000;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.68);
  overflow: hidden;
}
.c-stage video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  cursor: pointer;
}
.c-hud {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 32px 24px 16px;
  background: linear-gradient(to top, rgba(3, 10, 7, 0.86), rgba(3, 10, 7, 0));
  opacity: 0;
  transition: opacity 0.35s ease;
}
.c-stage:hover .c-hud, .c-stage.is-paused .c-hud { opacity: 1; }
.c-btn {
  background: none;
  border: 0;
  padding: 4px 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: #ecdfc8;
  transition: color 0.25s ease;
  white-space: nowrap;
}
.c-btn:hover { color: var(--amber); }
.c-bar {
  flex: 1;
  height: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}
.c-track { width: 100%; height: 2px; background: rgba(236, 223, 200, 0.24); position: relative; overflow: hidden; }
.c-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; background: rgb(var(--tone-rgb)); transition: width 0.08s linear, background-color 0.35s ease; }
.c-time {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: rgba(236, 223, 200, 0.72);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Full Sprint 4K Section */
.sprint-cinema { gap: clamp(34px, 5vw, 60px); }
.sprint-head { text-align: center; display: grid; gap: 14px; max-width: 780px; margin: 0 auto; }
.sprint-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 5.6vw, 84px);
  line-height: 0.98;
  letter-spacing: 0.01em;
  color: var(--fg);
}
.sprint-title em { color: #e8f66e; }
.sprint-sub {
  font-family: var(--serif);
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.6;
  color: var(--fg);
  opacity: 0.82;
  max-width: 56ch;
  margin: 0 auto;
}
.sprint-specs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  padding-top: 6px;
}
.sprint-specs .spec-pill {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(236, 223, 200, 0.72);
  padding: 6px 12px;
  border: 1px solid var(--line);
}
.sprint-specs .spec-pill strong { color: #e8f66e; font-weight: 700; }
#sprintplayer .play {
  background: #e8f66e;
  color: #04120d;
  box-shadow: 0 12px 44px rgba(232, 246, 110, 0.28);
}
#sprintplayer .play:hover {
  background: #fffdf6;
  color: #04120d;
}
#sprintplayer .c-fill { background: #e8f66e; }
#sprintplayer .c-btn:hover { color: #e8f66e; }

/* ── CHOREOGRAPHY 6: Scroll-Driven Horizontal Galleries (.hreel) + Monumental Background Words + Focus Dimming ── */
.hreel {
  position: relative;
  height: 310vh;
}
.hreel--tall {
  height: 340vh;
}
.hr-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}
.hr-bgword,
.fr-bgword {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  font-family: var(--serif);
  white-space: nowrap;
  font-size: clamp(130px, 26vw, 420px);
  line-height: 1;
  letter-spacing: 0.04em;
  color: rgba(243, 234, 214, 0.04);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.striphead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  position: relative;
  z-index: 2;
}
.hr-track {
  display: flex;
  gap: clamp(16px, 2.2vw, 32px);
  padding: 0 var(--pad);
  align-items: flex-end;
  width: max-content;
  position: relative;
  z-index: 1;
  will-change: transform;
}
.hr-track figure {
  flex: 0 0 auto;
  margin: 0;
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease-out);
}
/* Tactile Spotlight Focus on Hover inside Horizontal Reels */
.hr-track:hover figure:not(:hover),
.fr-track:hover .fr-cell:not(:hover) {
  opacity: 0.42;
}
.hr-track figure:hover,
.fr-track .fr-cell:hover {
  transform: translate3d(0, -6px, 0) scale(1.025);
  z-index: 3;
}
.dtscroll video {
  height: min(64vh, 680px);
  width: auto;
  display: block;
  background: var(--tile);
}
.dtscroll figcaption,
.gwscroll figcaption,
#strip figcaption {
  padding-top: 12px;
  display: flex;
  gap: 12px;
}
#strip figure {
  cursor: zoom-in;
}
#strip img {
  height: min(62vh, 620px);
  width: auto;
  display: block;
  background: var(--tile);
}

/* Grey Wall Studio Giant Watermark & Feathered Garment Loops */
.gw-giant {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate3d(-50%, 0, 0);
  font-family: var(--serif);
  white-space: nowrap;
  font-size: clamp(120px, 25vw, 390px);
  line-height: 1;
  color: rgba(29, 36, 41, 0.07);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.gwscroll {
  --gwh: min(76vh, 840px);
  gap: clamp(28px, 5vw, 80px);
  align-items: flex-end;
  position: relative;
  z-index: 1;
}
.gwscroll .gw {
  flex: 0 0 auto;
  position: relative;
  width: max-content;
}
.gwscroll video {
  height: var(--gwh);
  width: auto;
  object-fit: contain;
  background: transparent;
  display: block;
}
.gwscroll .gw::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--gwh);
  pointer-events: none;
  box-shadow: inset 0 0 clamp(22px, 3.5vw, 48px) clamp(12px, 2vw, 26px) var(--bg);
  transition: box-shadow 1.1s ease;
}

/* ── Mirage Close Reads Sticky Filmreel ── */
.filmreel { position: relative; height: 420vh; }
.fr-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  will-change: transform;
}
.fr-head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 68px var(--pad) 0;
}
.fr-track {
  display: flex;
  gap: clamp(24px, 3.2vw, 48px);
  padding: 0 var(--pad);
  align-items: center;
  position: relative;
  z-index: 1;
  will-change: transform;
}
.fr-cell {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
  cursor: zoom-in;
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease-out);
}
.fr-cell img, .fr-cell video {
  height: min(70vh, 820px);
  width: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  background: var(--tile);
}
.vword {
  position: absolute;
  bottom: 12px;
  left: 18px;
  z-index: 3;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 7.6vw, 106px);
  line-height: 0.95;
  color: var(--amber);
  pointer-events: none;
  text-shadow: 0 4px 36px rgba(3, 13, 9, 0.72);
  will-change: transform;
}
.fr-veil {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: #04120d;
  opacity: 0;
  pointer-events: none;
}

/* ── Pool House Dissolve-Reel ── */
.dissolve { position: relative; height: 380vh; }
.dv-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.dv-cell { position: absolute; inset: 0; opacity: 0; will-change: opacity, transform; }
.dv-cell video { width: 100%; height: 100%; object-fit: cover; display: block; }
.dv-head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 68px var(--edge) 0;
}
#dvcount { font-variant-numeric: tabular-nums; }

/* ── Relay Deck ── */
.decksec { position: relative; height: 300vh; }
.decksec .plabel { top: 24px; }
.deck-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.deck { position: relative; width: min(86vw, 760px); aspect-ratio: 4 / 5; max-height: 88vh; }
.deck-card { position: absolute; inset: 0; margin: 0; will-change: transform; }
.deck-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── CHOREOGRAPHY 7: Scroll-Scrubbed Spotlight Manifesto ── */
#manifesto .opener { text-align: center; margin-bottom: clamp(50px, 7vw, 100px); }
.mani { display: grid; gap: clamp(28px, 3.8vw, 54px); max-width: 980px; margin: 0 auto; text-align: center; }
.m-line { overflow: hidden; }
.m-line span {
  display: block;
  font-size: clamp(22px, 2.7vw, 42px);
  line-height: 1.3;
  transform: translateY(112%);
  transition: transform 1.05s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.35s ease;
  text-wrap: balance;
}
.m-line:first-child span, .m-line.m-last span {
  font-size: clamp(28px, 3.8vw, 60px);
  line-height: 1.16;
}
.m-line.in span { transform: translateY(0); }
.m-line em { color: var(--acc); }

/* ── Contact & Kinetic Smoked-Crystal Portals (Exact v36 Architecture from The Door) ── */
.bigmail {
  display: inline-block;
  margin-top: 6px;
  padding-bottom: 12px;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.01em;
  font-size: clamp(18px, 4.6vw, 66px);
  line-height: 1.12;
  color: var(--fg);
  max-width: 100%;
  overflow-wrap: anywhere;
  background: linear-gradient(var(--acc), var(--acc)) no-repeat left 100% / 0% 3px;
  transition: background-size 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.4s ease;
}
.bigmail:hover { background-size: 100% 3px; color: var(--acc); }

.door-portals {
  margin-top: clamp(48px, 6vw, 84px);
  display: flex;
  gap: 12px;
}
.dp-card {
  position: relative;
  flex: 1 1 0%;
  min-width: 0;
  height: 172px;
  border-radius: 12px;
  padding: 22px 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(160deg, rgba(var(--glass-hi-rgb), 0.68) 0%, rgba(var(--glass-lo-rgb), 0.86) 100%);
  -webkit-backdrop-filter: blur(38px) saturate(1.75) brightness(1.02);
  backdrop-filter: blur(38px) saturate(1.75) brightness(1.02);
  box-shadow:
    inset 0 1px 0 rgba(243, 234, 214, 0.16),
    0 24px 56px -14px rgba(0, 0, 0, 0.82);
  transition:
    flex-grow 0.65s var(--ease-out),
    opacity 0.45s var(--ease),
    transform 0.5s var(--ease-out),
    background 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}
.dp-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(240px 180px at var(--mx, 80%) var(--my, 80%), rgba(var(--tone-rgb), 0.16), transparent 72%);
  opacity: 0.55;
  transition: opacity 0.4s var(--ease);
}
.dp-card:hover::after {
  opacity: 1;
}
.door-portals:hover .dp-card:hover {
  flex-grow: 1.36;
  transform: translate3d(0, -4px, 0);
  background: linear-gradient(160deg, rgba(var(--glass-hi-rgb), 0.78) 0%, rgba(var(--glass-lo-rgb), 0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(251, 247, 238, 0.34),
    0 34px 72px -14px rgba(0, 0, 0, 0.94);
}
.door-portals:hover .dp-card:not(:hover) {
  flex-grow: 0.88;
  opacity: 0.64;
}
.dp-aura {
  position: absolute;
  right: -42px;
  bottom: -52px;
  width: 240px;
  height: 220px;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(var(--tone-rgb), 0.34) 0%,
    rgba(var(--tone2-rgb), 0.15) 45%,
    transparent 74%
  );
  filter: blur(28px);
  opacity: 0.58;
  transition: transform 0.65s var(--ease-out), opacity 0.5s var(--ease);
}
.dp-card:hover .dp-aura {
  opacity: 1;
  transform: scale(1.16);
}
.dp-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--sans);
}
.dp-head {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.dp-name {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.024em;
  color: #f5efe2;
}
.dp-sub {
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: -0.01em;
  color: rgba(243, 234, 214, 0.68);
  max-width: 26ch;
}
.dp-idx {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: rgba(243, 234, 214, 0.34);
  transition: color 0.35s var(--ease);
}
.dp-card:hover .dp-idx {
  color: #f5efe2;
}
.dp-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 13px;
  margin-top: auto;
  border-top: 1px solid rgba(243, 234, 214, 0.11);
  font-family: var(--sans);
  transition: border-color 0.4s var(--ease);
}
.dp-card:hover .dp-foot {
  border-top-color: rgba(243, 234, 214, 0.24);
}
.dp-cta {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(243, 234, 214, 0.72);
  transition: color 0.3s var(--ease), transform 0.38s var(--ease-out);
}
.dp-card:hover .dp-cta {
  color: #f5efe2;
  transform: translate3d(3px, 0, 0);
}
.dp-node {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(243, 234, 214, 0.08);
  color: #f5efe2;
  box-shadow: inset 0 0 0 1px rgba(243, 234, 214, 0.16);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.38s var(--ease-out);
}
.door-portals:not(:hover) .dp-node--primary,
.dp-card:hover .dp-node {
  background: #fbf7ee;
  color: #080908;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 6px 18px rgba(243, 234, 214, 0.22), 0 2px 10px rgba(0, 0, 0, 0.34);
}
.dp-card:hover .dp-node {
  transform: translate3d(0, -1.5px, 0) scale(1.04);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 36px var(--edge);
  border-top: 1px solid var(--line);
}

/* ── Full-Bleed Darkroom Frame Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(2, 7, 5, 0.94);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px var(--edge);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.lb-top, .lb-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lb-close, .lb-nav {
  background: none;
  border: none;
  cursor: pointer;
  color: #ecdfc8;
  padding: 6px 0;
  transition: color 0.25s ease;
}
.lb-close:hover, .lb-nav:hover {
  color: var(--red);
}
.lb-img {
  max-height: 80vh;
  max-width: 90vw;
  width: auto;
  height: auto;
  margin: auto;
  object-fit: contain;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.85);
  transform: scale(0.96);
  transition: transform 0.55s var(--ease-out);
}
.lightbox.open .lb-img {
  transform: scale(1);
}

/* ── Reveals & Magnetic Cursor ── */
.r { opacity: 0; transform: translateY(30px); transition: opacity 0.95s ease, transform 0.95s cubic-bezier(0.2, 0.7, 0.2, 1); }
.r.in { opacity: 1; transform: none; }

#cursor { position: fixed; inset: 0; z-index: 210; pointer-events: none; }
.c-dot, .c-ring { position: absolute; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.c-dot { width: 7px; height: 7px; background: var(--acc); transition: opacity 0.22s ease; }
.c-ring {
  width: 36px;
  height: 36px;
  border: 1px solid var(--fg-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.32s cubic-bezier(0.16, 1, 0.3, 1), height 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s, background-color 0.25s;
}
.c-label {
  font-family: var(--sans);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: #ecdfc8;
  opacity: 0;
  transform: scale(0.82);
  white-space: nowrap;
  transition: opacity 0.22s ease, transform 0.25s ease;
}
#cursor.big .c-ring { width: 64px; height: 64px; border-color: var(--acc); }
#cursor.has-label .c-dot { opacity: 0; }
#cursor.has-label .c-ring {
  width: 86px;
  height: 86px;
  border-color: var(--acc);
  background: rgba(4, 18, 13, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
#cursor.has-label .c-label { opacity: 1; transform: scale(1); }
@media (hover: none) { #cursor { display: none; } }

@media (max-width: 720px) {
  .tb-chap, .tb-left .tb-sep, .film-ruler { display: none; }
  .hero-center .label { white-space: normal; letter-spacing: 0.22em; line-height: 1.9; }
  .hero-center h1 { font-size: clamp(40px, 14.5vw, 120px); }
  .band { grid-template-columns: 1fr; gap: 26px; }
  .band-name, .loopring { position: static; }
  .bloop { grid-template-columns: 1fr; }
  .loopring { justify-self: center; width: min(62vw, 280px); margin-top: 14px; }
  .pair { grid-template-columns: 1fr; }
  .fullscene { height: auto; }
  .fs-sticky { position: relative; height: auto; min-height: 100svh; flex-direction: column; }
  .fs-cell { flex: none; height: 58vh; }
  .stbrand { font-size: clamp(38px, 12vw, 86px); }
  .gwscroll { --gwh: 58vh; }
  .striphead { flex-direction: column; gap: 8px; }
  .hero-foot .label.dim { display: none; }
  footer { flex-direction: column; gap: 10px; }
}
