/* =========================================================================
   K'OS MOS CINEMATIC EXPERIENCE — AESTHETIC STYLESHEET
   Themes: Japanese Noir, Foxfire Luminescence, Split Depth Parallax, 
   Award-Winning Editorial Typography & Spacing
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
  --bg-deep: #07080c;
  --bg-surface: #0e111a;
  --bg-card: rgba(16, 20, 32, 0.72);
  --border-subtle: rgba(245, 176, 65, 0.16);
  --border-bright: rgba(255, 68, 85, 0.45);
  
  --crimson: #ff2a44;
  --crimson-glow: rgba(255, 42, 68, 0.55);
  --foxfire-gold: #f5b041;
  --gold-glow: rgba(245, 176, 65, 0.45);
  --amber-core: #e07a3c;
  --silver-mist: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-bright: #f1f5f9;

  --font-atkinson: 'Atkinson Hyperlegible', sans-serif;
  --font-serif: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-jp: 'Noto Serif JP', serif;

  --depth-bar-width: 14px;
  --depth-bar-color: #ffffff;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg-deep);
  color: var(--silver-mist);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
}

body {
  position: relative;
  min-height: 100vh;
  background-color: var(--bg-deep);
  user-select: text;
}

/* =========================================================================
   CINEMATIC POST-FX LAYERS (Vignette, Grain, Flare)
   ========================================================================= */

#webgl-stage {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

#webgl-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Atmospheric bottom blur shield: disabled on middle sections to avoid softening card text */
.stage-bottom-blur {
  display: none;
}

.fx-vignette {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(3, 4, 8, 0.88) 95%);
  z-index: 2;
  pointer-events: none;
}

.fx-grain {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.035'/%3E%3C/svg%3E");
  z-index: 3;
  pointer-events: none;
}

.fx-anamorphic-flare {
  display: none;
}

.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--crimson), var(--foxfire-gold));
  box-shadow: 0 0 10px var(--crimson-glow);
  z-index: 100;
  transition: width 0.1s cubic-bezier(0.1, 0.9, 0.2, 1);
}

/* =========================================================================
   AUDIO PILL CONTROLLER
   ========================================================================= */

.audio-pill {
  position: fixed;
  bottom: 28px;
  left: 32px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(14, 17, 26, 0.85);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s ease;
  user-select: none;
}

.audio-pill:hover {
  border-color: var(--foxfire-gold);
  box-shadow: 0 0 16px var(--gold-glow);
  transform: translateY(-2px);
}

.audio-waves {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 14px;
}

.audio-waves span {
  width: 2px;
  height: 4px;
  background: var(--foxfire-gold);
  border-radius: 2px;
  transition: height 0.2s ease;
}

.audio-pill.playing .audio-waves span:nth-child(1) { animation: wave 1.1s ease-in-out infinite 0.1s; }
.audio-pill.playing .audio-waves span:nth-child(2) { animation: wave 0.8s ease-in-out infinite 0.3s; }
.audio-pill.playing .audio-waves span:nth-child(3) { animation: wave 1.3s ease-in-out infinite 0.2s; }
.audio-pill.playing .audio-waves span:nth-child(4) { animation: wave 0.9s ease-in-out infinite 0.4s; }

@keyframes wave {
  0%, 100% { height: 4px; }
  50% { height: 14px; background: var(--crimson); }
}

.audio-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* =========================================================================
   FLOATING HUD & NAVIGATION
   ========================================================================= */

.cinematic-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  background: linear-gradient(180deg, rgba(7, 8, 12, 0.85) 0%, rgba(7, 8, 12, 0) 100%);
  backdrop-filter: blur(6px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-crest {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: radial-gradient(circle at 30% 30%, var(--crimson), #450a11);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px var(--crimson-glow);
  border: 1px solid rgba(255, 68, 85, 0.4);
}

.fox-emblem {
  font-family: var(--font-jp);
  font-size: 1.25rem;
  color: #fff;
  line-height: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--foxfire-gold);
}

.nav-chapters {
  display: flex;
  align-items: center;
  gap: 24px;
}

.chapter-link {
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.25s ease;
}

.ch-num {
  color: var(--foxfire-gold);
  font-weight: 600;
  opacity: 0.7;
}

.chapter-link:hover, .chapter-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.chapter-link.active .ch-num {
  opacity: 1;
  color: var(--crimson);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 42, 68, 0.08);
  border: 1px solid rgba(255, 42, 68, 0.25);
  padding: 5px 12px;
  border-radius: 9999px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 8px var(--crimson);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

.status-text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--crimson);
  font-weight: 600;
}

/* =========================================================================
   TELEMETRY HUD & QUICK RAIL
   ========================================================================= */

.telemetry-hud {
  position: fixed;
  bottom: 28px;
  right: 48px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  background: rgba(14, 17, 26, 0.75);
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.hud-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hud-lbl {
  color: var(--text-dim);
}

.hud-val {
  color: var(--silver-mist);
}

.accent-val {
  color: var(--foxfire-gold);
  font-weight: 600;
}

.quick-rail {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 90;
  pointer-events: auto;
}

.rail-dot {
  display: block;
  width: 18px;
  height: 18px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  position: relative;
  transition: transform 0.25s ease;
}

.rail-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
  transition: all 0.3s ease;
}

.rail-dot:hover::after, .rail-dot.active::after {
  background: var(--crimson);
  box-shadow: 0 0 10px var(--crimson);
  transform: translate(-50%, -50%) scale(1.6);
}

/* =========================================================================
   SCROLLYTELLING CONTAINER & LAYOUT BLOCKS
   ========================================================================= */

#scrolly-container {
  position: relative;
  z-index: 10;
  /* clip, not hidden: stops the hero glow/kanji widening the page on phones
     without creating a scroll container (hidden would break position: sticky) */
  overflow-x: clip;
}

.story-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 48px;
}

.story-section.act-traits {
  min-height: 650vh;
  padding: 0;
  display: block;
  background: transparent;
}

.section-container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
}

.chapter-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--foxfire-gold);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tag-num {
  color: var(--crimson);
  font-weight: 700;
}

.section-heading {
  font-family: 'Atkinson Hyperlegible', sans-serif !important;
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.section-heading em {
  font-family: 'Atkinson Hyperlegible', sans-serif !important;
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(135deg, var(--crimson) 0%, var(--foxfire-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-subtext {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 640px;
}

.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.1, 0.9, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.glass-panel:hover {
  border-color: rgba(245, 176, 65, 0.35);
  box-shadow: 0 25px 60px rgba(255, 42, 68, 0.12), 0 0 20px rgba(245, 176, 65, 0.08);
}

/* =========================================================================
   ACT 01: HERO SECTION
   ========================================================================= */

.act-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 140px;
}

.hero-backdrop-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 780px;
  height: 780px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 176, 65, 0.16) 0%, rgba(255, 42, 68, 0.12) 35%, rgba(224, 122, 60, 0.05) 60%, transparent 80%);
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
}

.kanji-background {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-jp);
  font-size: clamp(6rem, 18vw, 16rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.018);
  letter-spacing: 0.1em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 980px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: var(--foxfire-gold);
  margin-bottom: 20px;
}

.diamond-sep {
  color: var(--crimson);
  font-size: 0.65rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
}

.title-line-1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: 0.35em;
  color: var(--silver-mist);
  opacity: 0.9;
}

.title-line-2 {
  font-size: clamp(3.4rem, 8vw, 7.2rem);
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, #ffffff 20%, var(--silver-mist) 60%, var(--foxfire-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.2));
}

.hero-lead-card {
  max-width: 840px;
  padding: 36px 42px;
  text-align: left;
}

.card-edge-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--crimson), var(--foxfire-gold), transparent);
}

.hero-lead {
  font-size: 1.22rem;
  line-height: 1.7;
  color: #f1f5f9;
  margin-bottom: 28px;
}

.hero-specs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}

.spec-data {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--silver-mist);
  font-weight: 500;
}

.glowing-red {
  color: var(--crimson);
  text-shadow: 0 0 10px var(--crimson);
}

.spec-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-scroll-cue {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 5;
  padding: 12px 24px;
  background: rgba(7, 8, 12, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.cue-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid var(--foxfire-gold);
  border-radius: 12px;
  position: relative;
  box-shadow: 0 0 10px rgba(245, 176, 65, 0.25);
}

.cue-wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: var(--foxfire-gold);
  animation: mouseWheel 2s infinite ease-in-out;
}

@keyframes mouseWheel {
  0% { transform: translate(-50%, 0); opacity: 0; }
  40% { opacity: 1; }
  80% { transform: translate(-50%, 14px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 0; }
}

.cue-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--text-bright);
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

/* =========================================================================
   ACT 02: DOSSIER & THE BARD'S HARP
   ========================================================================= */

.split-story-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}

.story-text-column {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.scrolly-card {
  padding: 32px;
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.panel-icon {
  color: var(--crimson);
  font-size: 1.1rem;
}

.panel-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--foxfire-gold);
  font-weight: 600;
}

.quote-stripe {
  margin-top: 24px;
  padding-left: 18px;
  border-left: 2px solid var(--crimson);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.6;
}

.dossier-matrix {
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.matrix-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.matrix-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.matrix-key {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

.matrix-val {
  font-size: 0.92rem;
  color: #f1f5f9;
  font-weight: 500;
  text-align: right;
}

/* Character Portal Frame: 3D Heavy Glass Cuboid Block */
.story-visual-column {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1200px;
  perspective-origin: 50% 50%;
}

.cinematic-portal-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: 28px;
  transform-style: preserve-3d;
  /* Thick glass slab backing with visible refraction tint */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(18, 24, 38, 0.75) 40%, rgba(8, 11, 18, 0.90) 100%);
  border: 2px solid rgba(255, 255, 255, 0.45);
  /* Strong 3D glass cuboid depth: outer cast shadows, inner bevel refraction, and foxfire ambient rim */
  box-shadow:
    inset 0 3px 6px rgba(255, 255, 255, 0.75),
    inset 3px 0 8px rgba(255, 255, 255, 0.35),
    inset -3px 0 8px rgba(0, 0, 0, 0.7),
    inset 0 -4px 10px rgba(0, 0, 0, 0.85),
    0 10px 25px rgba(0, 0, 0, 0.85),
    0 30px 70px rgba(0, 0, 0, 0.95),
    0 0 35px rgba(245, 176, 65, 0.35),
    0 0 70px rgba(255, 42, 68, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px;
  transform: rotateY(-6deg) rotateX(4deg);
  transition: transform 0.3s cubic-bezier(0.1, 0.9, 0.2, 1), box-shadow 0.4s ease;
}

/* Glass Block Prismatic Glare Reflection Across Top Edge */
.cinematic-portal-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.15) 25%, transparent 55%, rgba(255, 68, 85, 0.25) 100%);
  pointer-events: none;
  z-index: 15;
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
  border-left: 1.5px solid rgba(255, 255, 255, 0.65);
}

/* Glass Cuboid Outer Dimensional Lip / Refractive Edge */
.cinematic-portal-frame::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 34px;
  border: 1.5px solid rgba(245, 176, 65, 0.45);
  box-shadow: 0 0 25px rgba(245, 176, 65, 0.25);
  pointer-events: none;
  z-index: -1;
  filter: blur(0.5px);
}

.cinematic-portal-frame .split-frame-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1215 / 2160; /* Exact aspect ratio of monochrome artwork */
  border-radius: 18px;
  overflow: hidden;
  background: #040508;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  transform: translateZ(30px); /* Deep physical suspension inside the glass cuboid */
  box-shadow:
    inset 0 0 25px rgba(0, 0, 0, 0.95),
    0 15px 35px rgba(0, 0, 0, 0.85);
}

.portal-backplate {
  position: absolute;
  inset: 0;
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  filter: brightness(0.98) contrast(1.05);
  transform: scale(1.0);
  transition: transform 0.6s cubic-bezier(0.1, 0.9, 0.2, 1);
}

.portal-gradient-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 8, 12, 0.0) 0%, rgba(7, 8, 12, 0.25) 75%, rgba(7, 8, 12, 0.75) 100%);
  pointer-events: none;
}

.portal-floating-cutout {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  mix-blend-mode: screen;
  opacity: 0.35;
  pointer-events: none;
}

.portal-hud-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(7, 8, 12, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--foxfire-gold);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--foxfire-gold);
  box-shadow: 0 0 8px var(--foxfire-gold);
}

.portal-floating-tag {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.tag-japanese {
  font-family: var(--font-jp);
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1;
  text-shadow: 0 0 16px var(--crimson-glow);
}

.tag-latin {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--crimson);
  font-weight: 700;
}

/* =========================================================================
   ACT 03: SPLIT DEPTH THEATER (Award-Winning Depth Illusion)
   ========================================================================= */

.center-heading-block {
  text-align: center;
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.split-depth-theater {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.split-depth-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.split-frame-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 42, 68, 0.15);
  cursor: crosshair;
}

/* 1. Deep Receded Background */
.layer-deep-bg {
  position: absolute;
  inset: 0;
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  filter: brightness(0.98);
  transform: scale(1.0);
  transition: transform 0.2s cubic-bezier(0.1, 0.9, 0.2, 1);
}

.layer-fx-smoke {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 60%, rgba(255, 42, 68, 0.2) 0%, transparent 70%);
  mix-blend-mode: screen;
  pointer-events: none;
}

/* 2. SPLIT DEPTH BARS — Anchored in Middle Depth Plane */
.depth-bar {
  display: none; /* Removed neon bars to reveal the full bow, arrow, and illustration seamlessly */
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--depth-bar-width);
  background: var(--depth-bar-color);
  z-index: 10;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.6), inset 0 0 4px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  transition: transform 0.2s cubic-bezier(0.1, 0.9, 0.2, 1);
}

.depth-bar-left {
  left: 28%;
}

.depth-bar-right {
  right: 28%;
}

/* 3. Popout Foreground Layer */
.layer-subject-popout {
  position: absolute;
  inset: 0;
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 20;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.95)) brightness(1.05);
  transform: scale(1.0);
  transition: transform 0.15s cubic-bezier(0.1, 0.9, 0.2, 1);
  pointer-events: none;
}

.glass-block-embers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  pointer-events: none;
  z-index: 30; /* Directly at the forefront of the inner stage, over the monochrome artwork */
}

.split-stage-caption {
  padding: 4px 12px;
}

.caption-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--foxfire-gold);
}

.caption-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 4px 0 8px 0;
}

.caption-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =========================================================================
   ACT 03: FIVE KITSUNE TRAITS (Hub & Spoke Clockwise Constellation)
   ========================================================================= */

.act-traits {
  position: relative;
  min-height: 650vh !important; /* Extended leisurely scroll runway for reading the five traits */
  padding: 0 !important;
  display: block !important;
}

.traits-pinned-stage {
  position: -webkit-sticky;
  position: sticky;
  top: 130px;
  left: 0;
  width: 100%;
  height: calc(100vh - 145px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  pointer-events: none;
  z-index: 40; /* Elevated above background stage and vignette */
}

.traits-hub-container {
  position: relative;
  width: min(94vw, 1340px);
  height: min(74vh, 700px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  perspective: 1200px;
  perspective-origin: 50% 50%;
}

/* Canvas for dynamic wavy threads with sparks & embers */
.traits-threads-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

/* Background Compass Orbit Rings & Spoke Lines */
.traits-orbit-svg {
  position: absolute;
  top: 50%;
  left: 7%;
  width: 1000px;
  height: 1000px;
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%) rotateX(28deg) rotateY(-18deg);
  opacity: 0.65;
  transition: opacity 0.2s ease;
}

.orbit-ring {
  fill: none;
  stroke: rgba(245, 176, 65, 0.12);
  stroke-width: 1;
  stroke-dasharray: 4 6;
}

.ring-inner {
  stroke: rgba(255, 42, 68, 0.22);
  stroke-width: 1.5;
  stroke-dasharray: 6 8;
  animation: orbitRotateRev 90s linear infinite;
  transform-origin: 500px 500px;
}

.ring-mid {
  stroke: rgba(245, 176, 65, 0.16);
  animation: orbitRotate 140s linear infinite;
  transform-origin: 500px 500px;
}

.ring-outer {
  stroke: rgba(255, 255, 255, 0.06);
  stroke-dasharray: 2 10;
}

.orbit-axis {
  stroke: rgba(255, 255, 255, 0.04);
  stroke-width: 1;
}

.orbit-spoke {
  display: none;
}

@keyframes orbitRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbitRotateRev {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* Central 3D Celestial Sphere: Wireframe Orb with Inner Embers */
.traits-sphere-globe {
  position: absolute;
  top: 50%;
  left: 7%;
  transform: translate(-50%, -50%);
  z-index: 10; /* Cards passing in front have z-index 25-40 */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: min(220px, 24vw);
  height: min(220px, 24vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  transform-style: preserve-3d;
  pointer-events: auto;
  background: radial-gradient(circle at 50% 50%, rgba(255, 42, 68, 0.12) 0%, rgba(14, 18, 28, 0.35) 60%, rgba(5, 6, 10, 0.6) 100%);
  border: 1.5px solid rgba(255, 215, 120, 0.65);
  box-shadow:
    inset 0 0 30px rgba(255, 42, 68, 0.35),
    inset 0 0 50px rgba(245, 176, 65, 0.2),
    0 0 40px rgba(255, 42, 68, 0.35),
    0 0 70px rgba(245, 176, 65, 0.2);
  transition: box-shadow 0.4s ease, opacity 0.2s ease;
  overflow: hidden; /* Ensures inner canvas and surface stay perfectly clipped to the sphere */
}

.traits-sphere-globe:hover {
  box-shadow:
    inset 0 0 40px rgba(255, 42, 68, 0.5),
    inset 0 0 65px rgba(245, 176, 65, 0.35),
    0 0 60px rgba(255, 42, 68, 0.55),
    0 0 95px rgba(245, 176, 65, 0.35);
}

.sphere-surface {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

/* 3D Wireframe Armillary Rings & Latitude/Longitude Web */
.sphere-grid-latitude {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 16px, rgba(255, 215, 120, 0.22) 17px, transparent 18px),
    repeating-linear-gradient(90deg, transparent 0, transparent 16px, rgba(255, 68, 85, 0.2) 17px, transparent 18px);
  mask-image: radial-gradient(circle, black 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle, black 60%, transparent 100%);
}

.sphere-grid-longitude {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 210, 120, 0.7);
  box-shadow: 0 0 15px rgba(245, 176, 65, 0.5);
  animation: sphereOrbitSpin 22s linear infinite;
  transform: rotateX(65deg) rotateY(25deg);
  pointer-events: none;
}

/* Second oblique wireframe ring for rich armillary sphere depth */
.sphere-grid-longitude::after {
  content: '';
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px dotted rgba(255, 68, 85, 0.65);
  animation: sphereOrbitSpinRev 16s linear infinite;
  transform: rotateX(-50deg) rotateY(40deg);
}

.sphere-core-glow {
  position: absolute;
  top: 25%;
  left: 25%;
  width: 50%;
  height: 50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 230, 160, 0.55) 0%, rgba(255, 42, 68, 0.3) 50%, transparent 80%);
  filter: blur(12px);
  pointer-events: none;
}

.sphere-embers-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 6; /* Floats over the armillary grid and behind the title text */
}

@keyframes sphereOrbitSpin {
  from { transform: rotateX(65deg) rotateY(25deg) rotateZ(0deg); }
  to { transform: rotateX(65deg) rotateY(25deg) rotateZ(360deg); }
}

.sphere-content {
  position: relative;
  z-index: 5;
  padding: 10px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.hub-crest {
  margin-bottom: 2px;
}

.hub-emblem {
  font-size: 0.82rem;
  letter-spacing: 0.25em;
  color: #fff;
  text-shadow: 0 0 10px #ff2a44, 0 0 20px #ff2a44;
}

.hub-title {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 20px rgba(245, 176, 65, 0.6);
  margin: 3px 0 0 0;
}

/* Satellites positioned along angled 3D carousel */
.trait-satellite {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 25;
  width: clamp(300px, 28vw, 380px);
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease;
}

.trait-satellite.sat-active .sat-inner {
  border-color: rgba(245, 176, 65, 0.95);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.98), 0 0 40px rgba(255, 42, 68, 0.55);
}

.sat-inner {
  padding: 24px 28px;
  border-radius: 16px;
  background: rgba(8, 10, 16, 0.98); /* Solid opaque ground so text is 100% crisp */
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.95), 0 0 24px rgba(255, 42, 68, 0.25);
  transition: all 0.25s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.sat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.sat-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--crimson);
  background: rgba(255, 42, 68, 0.14);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 42, 68, 0.25);
}

.sat-label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  color: var(--text-dim);
}

.sat-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.sat-quote {
  font-family: var(--font-sans);
  font-style: italic;
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.6;
  color: #ffffff;
  margin: 0 0 10px 0;
  display: block;
}

.sat-subline {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--foxfire-gold);
  text-transform: uppercase;
  font-weight: 500;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  white-space: normal;
  line-height: 1.4;
}

/* Exact Hub-and-Spoke Radial Coordinates (Clockwise, 5 Spoke Symmetry)
   Angle 0:  -90° (Top 12 o'clock)
   Angle 1:  -18° (Top-Right ~2:30 o'clock)
   Angle 2:  +54° (Bottom-Right ~4:45 o'clock)
   Angle 3: +126° (Bottom-Left ~7:15 o'clock)
   Angle 4: +198° (Top-Left ~9:30 o'clock)
*/

/* 3D Angled Path Positioning (Controlled dynamically by JS) */
.sat-0, .sat-1, .sat-2, .sat-3, .sat-4 {
  top: 50%;
  left: 50%;
}

/* Mobile, small tablet & short landscape screens: the pinned carousel becomes a
   plain stacked list. Keep this query in sync with traitsStackedMQ in cinematic.js.
   !important is needed to beat the desktop .act-traits runway rules above. */
@media (max-width: 900px), (max-height: 560px) {
  .act-traits {
    min-height: auto !important;
    padding: 100px 20px 60px !important;
  }
  .traits-pinned-stage {
    position: static;
    top: auto;
    height: auto;
    width: 100%;
    overflow: visible;
  }
  .traits-hub-container {
    height: auto;
    width: 100%;
    flex-direction: column;
    gap: 24px;
    perspective: none;
  }
  .traits-orbit-svg,
  .traits-threads-canvas {
    display: none;
  }
  .traits-sphere-globe {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 160px;
    height: 160px;
    flex-shrink: 0;
    margin-bottom: 8px;
    opacity: 1 !important;
  }
  .trait-satellite {
    position: relative;
    top: auto !important;
    left: auto !important;
    width: 100%;
    max-width: 520px;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }
}

/* =========================================================================
   ACT 05: 12-IMAGE ARCHIVES & LIGHTBOX
   ========================================================================= */

.act-gallery {
  scroll-margin-top: 80px;
  padding-top: 140px !important;
}

.gallery-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  overflow: visible;
}

.gallery-header-row .section-heading {
  line-height: 1.25;
  padding-top: 6px;
  padding-bottom: 4px;
  overflow: visible;
}

.gallery-metrics {
  display: flex;
  gap: 12px;
}

.gallery-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.gallery-badge.highlight {
  color: var(--foxfire-gold);
  border-color: rgba(245, 176, 65, 0.3);
  background: rgba(245, 176, 65, 0.06);
}

.gallery-cinematic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cinematic-tile {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s cubic-bezier(0.1, 0.9, 0.2, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.tile-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.1, 0.9, 0.2, 1), filter 0.4s ease;
  filter: brightness(0.8) contrast(1.05);
}

.tile-depth-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 80%, rgba(255, 42, 68, 0.4), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.tile-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 8, 12, 0.95) 100%);
  display: flex;
  flex-direction: column;
  transform: translateY(8px);
  transition: transform 0.4s ease;
}

.tile-idx {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--foxfire-gold);
  font-weight: 600;
}

.cinematic-tile:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--foxfire-gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 24px rgba(245, 176, 65, 0.25);
  z-index: 5;
}

.cinematic-tile:hover .tile-inner {
  transform: scale(1.08);
  filter: brightness(1) contrast(1.1);
}

.cinematic-tile:hover .tile-depth-glow {
  opacity: 1;
}

.cinematic-tile:hover .tile-info {
  transform: translateY(0);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 8, 0.92);
  backdrop-filter: blur(16px);
}

.lightbox-container {
  position: relative;
  z-index: 10;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#lightbox-img {
  max-width: 82vw;
  max-height: 78vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 42, 68, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-caption {
  margin-top: 16px;
  text-align: center;
}

#lightbox-idx {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  color: var(--foxfire-gold);
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: -20px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #fff;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lightbox-close:hover {
  color: var(--crimson);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(14, 17, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.lightbox-prev { left: -72px; }
.lightbox-next { right: -72px; }

.lightbox-nav:hover {
  background: var(--crimson);
  border-color: var(--crimson);
  box-shadow: 0 0 20px var(--crimson);
}

/* =========================================================================
   ACT 06: SANCTUARIES, WORKPLACES & FOOTER
   ========================================================================= */

.act-sanctuaries {
  position: relative;
}

.act-sanctuaries::before {
  content: '';
  position: absolute;
  inset: -60px -20px 0 -20px;
  background: radial-gradient(ellipse at 50% 65%, rgba(7, 8, 12, 0.96) 0%, rgba(7, 8, 12, 0.85) 60%, transparent 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1;
  pointer-events: none;
}

.act-sanctuaries > .section-container {
  position: relative;
  z-index: 3;
}

.venues-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 96px;
}

.venue-card {
  padding: 38px 42px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  background: rgba(14, 18, 28, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.venue-decor {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--foxfire-gold);
  margin-bottom: 12px;
}

.venue-name {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.venue-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
  flex-grow: 1;
}

.venue-link-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--crimson);
  font-weight: 600;
  transition: color 0.2s ease;
}

.venue-card:hover .venue-link-cta {
  color: var(--foxfire-gold);
}

.cinematic-footer {
  text-align: center;
  padding: 48px 24px 24px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: rgba(7, 8, 12, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
}

.footer-fox-emblem {
  font-size: 1.5rem;
  color: var(--crimson);
  text-shadow: 0 0 16px var(--crimson);
}

.footer-credit {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: 0.06em;
}

.footer-subtext {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

/* =========================================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ========================================================================= */

@media (max-width: 1080px) {
  .cinematic-nav {
    padding: 16px 24px;
  }
  .nav-chapters {
    display: none;
  }
  .split-story-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .sticky-column {
    position: static;
  }
  .gallery-cinematic-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-depth-theater {
    grid-template-columns: 1fr;
  }
  .venues-grid {
    grid-template-columns: 1fr;
  }
  .telemetry-hud {
    display: none;
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

@media (max-width: 640px) {
  .story-section {
    padding: 80px 20px;
  }
  .act-gallery {
    padding-top: 110px !important;
  }
  .cinematic-nav {
    padding: 12px 16px;
  }
  .hero-lead-card {
    padding: 26px 22px;
  }
  .hero-lead {
    font-size: 1.05rem;
  }
  .cue-text {
    letter-spacing: 0.12em;
    text-align: center;
  }
  .scrolly-card,
  .dossier-matrix {
    padding: 22px 20px;
  }
  .matrix-row {
    gap: 12px;
  }
  .venue-card {
    padding: 28px 24px;
  }
  .venue-name {
    font-size: 1.4rem;
  }
  .gallery-cinematic-grid {
    gap: 12px;
  }
  .quick-rail {
    right: 4px;
    gap: 10px;
  }
  .audio-pill {
    left: 12px;
    bottom: 12px;
    padding: 9px 11px;
  }
  .audio-label {
    display: none;
  }
  .lightbox-container {
    max-width: 100vw;
  }
  #lightbox-img {
    max-width: 94vw;
    max-height: 72vh;
  }
  .lightbox-close {
    top: -52px;
    right: 6px;
  }
  .lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 1.6rem;
  }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .hero-specs-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .spec-divider {
    display: none;
  }
}
