/* ═══════════════════════════════════════════════
   FREE FALL SAGA — Redesign
   Black · Spectral Light · Fluid Fabric · Bold
═══════════════════════════════════════════════ */

/* ─── PASSWORD GATE ─── */
#password-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
}
#password-gate.fade-out {
  opacity: 0;
  pointer-events: none;
}
.pg-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
  padding: 40px 24px;
  background: rgba(0,0,0,0.92);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
}
.pg-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  gap: 4px;
}
.pg-logo-main {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5rem);
  color: #f0ead8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pg-logo-sub {
  font-family: var(--font-tech);
  font-size: clamp(0.65rem, 2vw, 0.9rem);
  letter-spacing: 0.55em;
  color: var(--amber);
  text-transform: uppercase;
}
.pg-label {
  font-family: var(--font-tech);
  font-size: 0.58rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin: 0;
}
.pg-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 320px;
}
.pg-field-wrap {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  background: rgba(255,255,255,0.03);
  transition: border-color 0.3s;
}
.pg-field-wrap:focus-within {
  border-color: var(--amber);
}
.pg-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 18px;
  font-family: var(--font-tech);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: #f0ead8;
  caret-color: var(--amber);
}
.pg-input::placeholder {
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.15em;
}
.pg-submit {
  width: 48px;
  height: 48px;
  background: var(--amber);
  border: none;
  color: #000;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
.pg-submit:hover { background: var(--amber2); }
.pg-error {
  font-family: var(--font-tech);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 80, 80, 0.8);
  margin: 0;
  min-height: 16px;
  transition: opacity 0.3s;
}

/* ─── VARIABLES ─── */
:root {
  --black:      #000000;
  --black2:     #050507;
  --black3:     #0a0a0f;
  --black4:     #111118;
  --surface:    #1c1a17;
  --surface2:   #232018;
  --white:      #f0ead8;
  --white-dim:  rgba(240,234,216,0.75);
  --white-faint:rgba(240,234,216,0.12);
  --white-ghost:rgba(240,234,216,0.05);
  --light:      rgba(240,234,216,0.88);
  --border:     rgba(240,234,216,0.1);
  --border2:    rgba(240,234,216,0.22);
  --glow-white: rgba(240,234,216,0.15);

  /* Spectral accent from image */
  --spectral:   rgba(120,80,200,0.5);
  --spectral2:  rgba(0,140,180,0.4);
  --spectral3:  rgba(200,60,90,0.35);
  --gold:       #c8a040;
  --gold-dim:   rgba(200,160,64,0.3);

  /* Amber / bark palette — brightened for dark bg */
  --amber:        #d4a030;
  --amber2:       #f0c060;
  --amber-ghost:  rgba(212,160,48,0.10);
  --amber-dim:    rgba(212,160,48,0.35);
  --bark2:        #a06828;

  --font-display: 'Bebas Neue', 'Orbitron', sans-serif;
  --font-tech:    'Orbitron', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-tech-weight: 700;

  --radius:   6px;
  --radius2:  12px;
  --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);

  /* ─── GOLDEN RATIO SPACING SCALE (base: 10px × φ) ───
     φ  = 1.618
     F1 =  6px   (10 / φ²)
     F2 = 10px   (base)
     F3 = 16px   (10 × φ)
     F4 = 26px   (10 × φ²)
     F5 = 42px   (10 × φ³)
     F6 = 68px   (10 × φ⁴)
     F7 =110px   (10 × φ⁵)
     F8 =178px   (10 × φ⁶)
  ─────────────────────────────────────── */
  --f1:  6px;
  --f2: 10px;
  --f3: 16px;
  --f4: 26px;
  --f5: 42px;
  --f6: 68px;
  --f7: 110px;
  --f8: 178px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; background: #14120e; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: #14120e;
  color: #f0ead8;
  line-height: 1.618;
  overflow-x: hidden;
  position: relative;
  font-size: 17px;
}

/* Force all sections to transparent so off-white body shows through */
section, #about, #videos, #docs, #source {
  background-color: transparent;
}

/* ─── ORBITRON GLOBAL: bold + bright ─── */
[style*="font-family: var(--font-tech)"],
.nav-links a,
.section-label,
.vs-title,
.vs-desc,
.ns-eyebrow,
.ns-book-title,
.ns-book-year,
.ns-nyt-label,
.team-dept-label,
.footer-col-label,
.doc-tag,
.dr-tag,
.dr-btn,
.kendy-log-header,
.pg-logo-sub,
.pg-label,
.ht-season,
.ht-season-main,
.hero-season,
.pillar-label,
.qb-label,
.section-label {
  font-weight: 700;
}

/* ─── BARK BACKGROUND CANVAS ─── */
#bark-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Ensure all main content sits above the bark canvas */
#password-screen,
header, nav, main, section, footer,
.video-modal, .pdf-modal, #pdf-modal,
#video-modal {
  position: relative;
  z-index: 1;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── DUST CANVAS ─── */
#dust-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 2px; }

/* ─── CONTAINER ─── */
/* max-width ≈ 1200 · φ⁻¹ ≈ 741 content + 459 visual = golden split at 61.8% / 38.2% */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--f4); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--f2);           /* 10px */
  padding: var(--f3) var(--f5); /* 16px 42px — height:width ≈ φ */
  font-family: var(--font-tech);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  border-radius: 2px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber), var(--bark2));
  color: #0b0a0e;
  letter-spacing: 0.1em;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--amber2), var(--amber));
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200,134,42,0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border2);
}
.btn-ghost:hover {
  background: var(--amber-ghost);
  border-color: var(--amber-dim);
  color: var(--amber2);
  transform: translateY(-2px);
}

/* 3D Map button */
.btn-map {
  background: transparent;
  color: var(--amber);
  border: 1px solid var(--amber-dim);
  position: relative;
  overflow: hidden;
}
.btn-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,154,60,0.12), transparent);
  opacity: 0;
  transition: var(--transition);
}
.btn-map:hover {
  background: rgba(255,154,60,0.1);
  border-color: var(--amber);
  color: var(--amber2);
  transform: translateY(-2px);
}
.btn-map:hover::before { opacity: 1; }

/* Nav map link — same as other nav links */
.nav-map-link {
  color: inherit !important;
}

/* ─── SECTION LABEL ─── */
/* ─── SECTION LABEL ─── */
.section-label {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 1;
  margin-bottom: var(--f3);
  display: block;
  text-align: center;
}

/* ─── SECTION TITLE ─── */
/* section-title bottom margin = F5 = 42px ≈ φ³ × base */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #f0ead8;
  margin-bottom: var(--f5);
  text-transform: uppercase;
  text-align: center;
}

/* ═══════════════════════════════════
   NAVIGATION
═══════════════════════════════════ */
/* navbar padding: F4 = 26px — Fibonacci node */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: var(--f4) 0;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(18,16,12,0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 16px 0;
  border-bottom: 1px solid rgba(240,234,216,0.1);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
#navbar.scrolled .nav-logo {
  opacity: 1;
  pointer-events: auto;
}
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) saturate(100%) invert(18%) sepia(20%) saturate(600%) hue-rotate(10deg) brightness(0.6);
}
.logo-main {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  color: var(--white);
}
.logo-saga {
  font-family: var(--font-tech);
  font-size: 0.52rem;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.4);
  margin-top: 1px;
}

/* nav gap: between F5(42) and F4(26) — 34px (Fib: 34 is in the pure sequence) */
.nav-links {
  display: flex;
  gap: 34px;
}
.nav-links a {
  font-family: var(--font-tech);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240,234,216,0.75);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--amber);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: #f0ead8; }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--amber); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: #f0ead8;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Close X button inside mobile nav panel */
.nav-close {
  display: none;
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: 1px solid var(--border2);
  color: rgba(255,255,255,0.5);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
}
.nav-close:hover {
  color: var(--amber2);
  border-color: var(--amber-dim);
}

/* ═══════════════════════════════════
   HERO
═══════════════════════════════════ */
#hero {
  position: relative;
  height: 100svh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

@media screen and (max-width: 900px) {
  #hero {
    align-items: center;
    justify-content: center;
    padding-top: 0;
  }
  .hero-content {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 24px 40px;
    width: 100%;
  }
  .hero-logo-free {
    font-size: clamp(2.2rem, 10vw, 5rem);
  }
  .hero-logo-fall {
    font-size: clamp(4rem, 20vw, 10rem);
  }
  .hero-logo-saga {
    font-size: clamp(1.2rem, 4.5vw, 2.5rem);
  }
  .hero-quote {
    font-size: 0.82rem;
    max-width: 90%;
    color: rgba(240,234,216,0.7);
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: contrast(1.0) brightness(1.1);
  transition: opacity 0.3s ease;
}

/* iOS play button */
#hero-play-btn {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  font-size: 4rem;
}
#hero-play-btn i {
  background: rgba(0,0,0,0.45);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.5);
}

/* Vimeo cover — wrapper que recorta el iframe */
.vimeo-cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000;
}
.vimeo-cover iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  /* El video de Vimeo es 16:9.
     Para que llene pantalla en CUALQUIER ratio (portrait, landscape, tablet):
     hacemos el iframe mucho más grande que el viewport y lo centramos.
     100vmax es el mayor de vw/vh — garantiza cobertura total. */
  width: calc(100vmax * 16 / 9);
  height: calc(100vmax * 9 / 16);
  /* Mínimo absoluto por si acaso */
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: none;
  pointer-events: none;
}

/* Fallback background when video fails on mobile */
.hero-bg {
  background: linear-gradient(160deg, #1a0e04 0%, #0d0b08 50%, #0a0a12 100%);
}

/* ─── INTEGRAL TREE EXPLORER ─── */
.tree-explore-wrap {
  max-width: 820px;
  margin: 0 auto var(--f5) auto;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(138,90,16,0.3);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.tree-explore-hint {
  font-family: var(--font-tech);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(138,90,16,0.14);
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(138,90,16,0.2);
  user-select: none;
}
.tree-explore-img {
  width: 100%; height: auto;
  display: block;
  transition: filter 0.3s;
  cursor: zoom-in;
}
.tree-explore-wrap:hover .tree-explore-img { filter: brightness(1.08); }
.tree-explore-btn {
  width: 100%;
  padding: 13px 20px;
  background: rgba(138,90,16,0.10);
  border: none;
  border-top: 1px solid rgba(138,90,16,0.25);
  color: var(--amber);
  font-family: var(--font-tech);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.tree-explore-btn:hover { background: rgba(255,154,60,0.22); color: #fff; }

/* ─── TREE LIGHTBOX ─── */
#tree-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0d0b08;
  flex-direction: column;
}

/* ─── SKULL SECTION ─── */
#skull-visual {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 400px;
  overflow: hidden;
}

.skull-wrap {
  position: absolute;
  inset: 0;
}

.skull-full-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(0.85);
}

@media (max-width: 768px) {
  #skull-visual {
    height: auto;
    min-height: unset;
    overflow: visible;
  }
  .skull-wrap {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-areas: "stack";
  }
  .skull-wrap > * {
    grid-area: stack;
  }
  .skull-full-img {
    width: 100%;
    height: auto;
    object-fit: unset;
    display: block;
    position: relative;
  }
  .skull-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
  }
  .skull-thankyou {
    position: absolute;
    inset: 0;
    z-index: 2;
    font-size: clamp(2.5rem, 10vw, 5rem);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

.skull-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #14120e 0%, transparent 20%, transparent 75%, #14120e 100%);
}

.skull-thankyou {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240,234,216,0.9);
  text-shadow:
    0 2px 8px rgba(0,0,0,0.95),
    0 8px 32px rgba(0,0,0,0.7),
    0 0 80px rgba(0,0,0,0.5);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  pointer-events: none;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(8,7,10,0.15)  0%,
    rgba(8,7,10,0.05)  30%,
    rgba(30,18,8,0.35) 65%,
    rgba(8,7,10,0.97) 100%
  );
}

/* Film grain noise */
.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
}

/* Hero Content */
/* hero content bottom pad = F6 = 68px; side = F4 = 26px */
.hero-content {
  position: absolute;
  z-index: 10;
  top: clamp(80px, 12vh, 140px);
  left: 0;
  right: 0;
  padding: 0 clamp(var(--f3), 4vw, var(--f5));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* eyebrow margin = F4-ish = 26px */
.hero-eyebrow {
  font-family: var(--font-tech);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--f4);
  display: block;
  animation: heroFadeUp 1s 0.1s ease both;
}

/* hero-title margin = F4+F3 ≈ 42px but use F5 for clean rhythm */
.hero-title {
  display: flex;
  flex-direction: column;
  line-height: 0.95;
  margin-bottom: var(--f4);
  gap: 0;
}

.ht-free,
.ht-fall,
.ht-saga {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* FREE: base large unit
   FALL: FREE × φ  — dominant focal mass
   SAGA: FREE × φ⁻² — small anchoring line
   Ratio: 0.62 : 1 : 1.618 → pure golden triple */
.ht-free {
  font-size: clamp(4.5rem, 11.8vw, 10rem);
  color: #f0ead8;
  animation: heroFadeUp 1s 0.1s ease both;
}

.ht-fall {
  font-size: clamp(7rem, 19vw, 16.18rem); /* FREE × φ */
  color: #ffffff;
  line-height: 0.88;
  animation: heroFadeUp 1s 0.2s ease both;
}

.ht-saga {
  font-size: clamp(1.6rem, 4.3vw, 3.82rem); /* FREE × φ⁻¹ */
  letter-spacing: 0.38em;
  color: #f0ead8;
  opacity: 0.55;
  margin-top: var(--f2);
  animation: heroFadeUp 1s 0.3s ease both;
}

.ht-season {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(0.62rem, 1vw, 0.82rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(240,234,216,0.72);
  font-weight: 300;
  font-style: italic;
  text-align: center;
  margin-top: 0;
  padding-left: 0;
  animation: heroFadeUp 1s 0.4s ease both;
}

/* New minimal hero title — Season One only */
.ht-season-main {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(240,234,216,0.75);
  font-weight: 300;
  font-style: italic;
  animation: heroFadeUp 1.2s 0.3s ease both;
}

/* Logo image title */
.hero-logo-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  line-height: 0.88;
  position: relative;
}

.hero-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -20% -15%;
  background: radial-gradient(ellipse at 40% 50%, rgba(0,0,0,0.55) 0%, transparent 75%);
  filter: blur(24px);
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.hero-logo-free {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 11vw, 9rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #f0e8d0;
  line-height: 1;
  animation: heroFadeUp 1s 0.1s ease both;
}

.hero-logo-fall {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 22vw, 16rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #c8922a;
  line-height: 0.85;
  animation: heroFadeUp 1s 0.15s ease both;
}

.hero-logo-saga {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.4rem, 5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #c8922a;
  margin-top: 6px;
  padding-left: 0.18em;
  margin-left: 0;
  animation: heroFadeUp 1s 0.25s ease both;
}

.hero-season {
  font-family: var(--font-tech);
  font-size: clamp(0.62rem, 1.8vw, 0.85rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(240,234,216,0.5);
  margin-top: var(--f3);
  animation: heroFadeUp 1s 0.35s ease both;
}

.hero-quote {
  font-size: clamp(0.78rem, 1.8vw, 0.95rem);
  font-style: italic;
  color: rgba(240,234,216,0.4);
  line-height: 1.6;
  margin-top: var(--f2);
  max-width: 380px;
  animation: heroFadeUp 1s 0.45s ease both;
}

.hero-cta {
  display: flex;
  gap: var(--f3);
  flex-wrap: wrap;
  margin-top: var(--f4);
  animation: heroFadeUp 1s 0.55s ease both;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-tech);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transition: var(--transition);
  cursor: pointer;
}

.hero-btn--primary {
  background: var(--amber);
  color: #0e0c09;
  border: none;
}
.hero-btn--primary:hover {
  background: var(--amber2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,146,42,0.4);
}

.hero-btn--secondary {
  background: transparent;
  color: rgba(240,234,216,0.8);
  border: 1px solid rgba(240,234,216,0.3);
}
.hero-btn--secondary:hover {
  background: rgba(240,234,216,0.08);
  border-color: rgba(240,234,216,0.6);
  transform: translateY(-2px);
}

.hero-logo-img {
  display: block;
  width: clamp(240px, 38vw, 540px);
  height: auto;
  filter: drop-shadow(0 4px 32px rgba(0,0,0,0.8));
  animation: heroFadeUp 1s 0.1s ease both;
}

/* sub max-width ≈ 1200 × φ⁻² = 457px → use 460px */
.hero-sub {
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  color: rgba(240,234,216,0.5);
  font-style: italic;
  max-width: 460px;
  margin-bottom: var(--f5); /* 42px */
  line-height: 1.618;        /* φ itself */
  animation: heroFadeUp 1s 0.4s ease both;
}

.hero-cta {
  display: flex;
  gap: var(--f3); /* 16px */
  flex-wrap: wrap;
  animation: heroFadeUp 1s 0.5s ease both;
}

/* Hero skip (×) button — top right */
.hero-skip {
  position: absolute;
  top: 32px;
  right: 40px;
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: var(--transition);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-skip:hover {
  background: rgba(200,134,42,0.25);
  border-color: var(--amber-dim);
  color: var(--amber2);
  transform: scale(1.08);
}

/* Scroll dot */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: 40px;
  z-index: 1;
}
.scroll-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-8px); opacity: 1; }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════
   INTRO BAND (ticker)
═══════════════════════════════════ */
.intro-band {
  background: var(--amber);
  color: var(--black);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ib-track {
  display: inline-flex;
  gap: 0;
  animation: tickerMove 20s linear infinite;
}

.ib-track span {
  font-family: var(--font-tech);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0 28px;
}

.ib-dot {
  opacity: 0.3;
}

@keyframes tickerMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════
   ABOUT / THE WORLD
═══════════════════════════════════ */
/* about padding: top = F7 = 110px, bottom = F6+F3 ≈ 84 → use F7/φ = 68px */
#about {
  padding: var(--f7) 0 var(--f6);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(200,160,100,0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(160,180,140,0.08) 0%, transparent 60%);
}

/* world-title margin = F6 = 68px */
.world-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: #f0ead8;
  margin-bottom: var(--f6);
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.world-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 2px;
  background: var(--amber);
  margin-top: 24px;
  opacity: 0.6;
}

/* world-grid: equal columns for text balance */
.world-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--f6);
  margin-bottom: var(--f7);
}

.world-col p {
  color: rgba(240,234,216,0.65);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: var(--f4);
}

.world-col-left p:first-child {
  color: rgba(240,234,216,0.88);
  font-size: 1.15rem;
}

/* Season One subtitle under section-title */
.world-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.8vw, 1.5rem);
  letter-spacing: 0.18em;
  color: var(--amber);
  opacity: 0.8;
  text-transform: uppercase;
  margin-top: calc(-1 * var(--f4));
  margin-bottom: var(--f6);
}

/* Narrative single-column text */
.world-narrative {
  max-width: 820px;
  margin: 0 auto var(--f5) auto;
  text-align: justify;
}
.world-narrative p {
  color: rgba(240,234,216,0.78);
  font-size: 1.1rem;
  line-height: 1.85;
  margin-bottom: var(--f4);
  text-align: justify;
}
.world-narrative p:first-child {
  color: rgba(240,234,216,0.9);
  font-size: 1.2rem;
}
.world-narrative strong {
  color: var(--amber2);
  font-weight: 600;
}
.world-narrative .world-closing {
  color: rgba(240,234,216,0.82);
  font-style: italic;
  font-size: 1.08rem;
  border-left: 2px solid var(--amber);
  padding-left: var(--f4);
  margin-top: var(--f5);
}

.world-col strong { color: var(--amber2); }

/* Pillars */
/* pillars: gap=1px grid, padding uses F5=42 F4=26 — ratio 42:26 ≈ φ */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: var(--f6);
}

.pillar {
  background: rgba(5,5,7,0.75);
  padding: var(--f5) var(--f4); /* 42px 26px — ratio ≈ φ */
  transition: var(--transition);
}

.pillar:hover {
  background: linear-gradient(160deg, rgba(74,52,32,0.3), var(--black3));
}

.pillar-icon {
  font-size: 1.2rem;
  color: var(--amber);
  opacity: 0.4;
  margin-bottom: var(--f4); /* 26px */
  transition: var(--transition);
}

.pillar:hover .pillar-icon {
  opacity: 1;
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.35rem; /* body × φ ≈ 1.618 → round to 1.35 for density */
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: var(--f2); /* 10px */
  text-transform: uppercase;
}

.pillar p {
  font-size: 0.85rem;
  color: rgba(240,234,216,0.35);
  line-height: 1.618;
}

/* Chapters row */
.chapters-row {
  display: flex;
  align-items: center;
  gap: 0;
}

/* ch-card: padding ratio 26:42 ≈ 0.618 (inverse φ) */
.ch-card {
  flex: 1;
  padding: var(--f4) var(--f5); /* 26px 42px */
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: var(--f4); /* 26px */
  transition: var(--transition);
  cursor: default;
}

.ch-card:hover {
  background: var(--amber-ghost);
  border-color: var(--amber-dim);
}

.ch-num {
  font-family: var(--font-tech);
  font-size: 0.62rem;
  color: var(--amber);
  opacity: 0.5;
  letter-spacing: 0.1em;
  min-width: 24px;
}

.ch-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: rgba(240,234,216,0.7);
  text-transform: uppercase;
}

.ch-divider {
  color: rgba(255,255,255,0.15);
  font-size: 1.2rem;
  padding: 0 8px;
}

/* ═══════════════════════════════════
   VIDEOS
═══════════════════════════════════ */
#videos {
  padding: var(--f7) 0 var(--f6);
  background: radial-gradient(ellipse at 50% 0%, rgba(180,160,120,0.08) 0%, transparent 60%);
}

/* ═══════════════════════════════════
   VIDEO STRIP — horizontal scroll row
═══════════════════════════════════ */
.video-strip-wrap {
  width: 100%;
  overflow-x: scroll;
  overflow-y: visible;
  padding: var(--f4) clamp(var(--f4),5vw,var(--f6)) var(--f4);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* hide native scrollbar Firefox */
  box-sizing: border-box;
  cursor: grab;
}
.video-strip-wrap:active {
  cursor: grabbing;
}
.video-strip-wrap::-webkit-scrollbar {
  display: none; /* hide native scrollbar Chrome/Safari */
}

/* ─── Scroll controls: arrows + progress bar ─── */
.vs-scroll-bar-wrap {
  padding: 0 clamp(var(--f4),5vw,var(--f6)) var(--f5);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--f3);
  width: 100%;
  box-sizing: border-box;
}

.vs-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: 1px solid rgba(200,134,42,0.4) !important;
  border-radius: 50%;
  opacity: 0.85;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: opacity 0.2s ease, background 0.2s ease;
  background: rgba(200,134,42,0.06) !important;
  -webkit-appearance: none !important;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  outline: none !important;
  box-shadow: none !important;
  position: relative;
}
.vs-arrow:hover, .vs-arrow:active {
  opacity: 1;
  background: rgba(200,134,42,0.18) !important;
}

/* CSS-only triangles — no unicode, no emoji */
.vs-arrow--left::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 8px solid var(--amber);
  margin-left: -2px;
}

.vs-arrow--right::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--amber);
  margin-right: -2px;
}
.vs-arrow:hover, .vs-arrow:active {
  opacity: 1;
  background: rgba(200,134,42,0.18);
}

.vs-scroll-track {
  flex: 1;
  height: 4px;
  background: rgba(240,234,216,0.12);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.vs-scroll-thumb {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  background: var(--amber);
  border-radius: 2px;
  width: 20%;
  transition: left 0.1s linear;
  min-width: 32px;
}

@media (max-width: 768px) {
  .vs-scroll-track { height: 6px; }
}


.video-strip {
  display: flex;
  flex-direction: row;
  gap: var(--f4);
  padding-bottom: var(--f2);
  width: 100%;
  align-items: stretch;
}

.vs-card {
  flex: 1 1 0;
  min-width: clamp(200px, 18vw, 280px);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(240,234,216,0.1);
  border-radius: var(--radius2);
  overflow: hidden;
  background: rgba(255,255,255,0.03);
}
.vs-card:hover {
  transform: translateY(-4px);
  border-color: var(--amber-dim);
}

.vs-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #0a0f1a;
  overflow: hidden;
}
.vs-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.vs-card:hover .vs-img {
  transform: scale(1.05);
}
.vs-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.7));
}
.vs-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,154,60,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 0.9rem;
  opacity: 0;
  transition: var(--transition);
}
.vs-card:hover .vs-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.vs-num {
  position: absolute;
  bottom: 8px;
  left: 10px;
  font-family: var(--font-tech);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--amber);
  opacity: 0.9;
}

.vs-info {
  padding: var(--f3) var(--f3) var(--f4);
}
.vs-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: #f0ead8;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.vs-desc {
  font-size: 0.88rem;
  color: rgba(240,234,216,0.55);
  line-height: 1.5;
}

/* ─── Video strip responsive ─── */
@media (max-width: 768px) {
  #videos {
    padding: var(--f6) 0 var(--f5);
  }
  .video-strip-wrap {
    padding: var(--f3) var(--f3) var(--f4);
  }
  .video-strip {
    display: inline-flex;
    min-width: max-content;
    width: auto;
  }
  .vs-card {
    flex: 0 0 auto;
    width: clamp(200px, 72vw, 260px);
  }
}

@media (max-width: 480px) {
  .video-strip-wrap {
    padding: var(--f3) var(--f3) var(--f4);
  }
  .video-strip {
    display: inline-flex;
    min-width: max-content;
    width: auto;
  }
  .vs-card {
    flex: 0 0 auto;
    width: clamp(180px, 80vw, 240px);
  }
  .vs-title {
    font-size: 0.95rem;
  }
  .vs-desc {
    font-size: 0.82rem;
  }
}

/* ─── Old video grid (kept for backward compat) ─── */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}

.video-card {
  background: rgba(5,5,7,0.80);
  cursor: default;
  transition: var(--transition);
  overflow: hidden;
}

.video-card:hover {
  background: linear-gradient(160deg, rgba(74,52,32,0.25), var(--black3));
}

.vc-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
}

/* Thumbnail image — loaded via oEmbed JS */
.vc-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}
.vc-thumb-img.loaded {
  opacity: 1;
}
/* Overlay so text stays readable over the thumbnail */
.vc-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
  pointer-events: none;
}
.vc-num, .vc-play, .vc-tag { position: relative; z-index: 2; }

/* Four unique cinematic gradients per card */
.vc-thumb--1 {
  background:
    radial-gradient(ellipse at 30% 40%, rgba(120,60,20,0.55) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(60,30,10,0.4) 0%, transparent 55%),
    linear-gradient(160deg, #0d0806 0%, #1a0f06 50%, #0a0608 100%);
}
.vc-thumb--2 {
  background:
    radial-gradient(ellipse at 65% 35%, rgba(80,45,10,0.6) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 75%, rgba(40,20,5,0.4) 0%, transparent 50%),
    linear-gradient(140deg, #0a0804 0%, #160e05 50%, #080a0c 100%);
}
.vc-thumb--3 {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(40,20,60,0.5) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 80%, rgba(100,50,20,0.4) 0%, transparent 50%),
    linear-gradient(150deg, #08060e 0%, #100810 50%, #0c0806 100%);
}
.vc-thumb--4 {
  background:
    radial-gradient(ellipse at 25% 55%, rgba(10,20,50,0.6) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 25%, rgba(30,15,5,0.5) 0%, transparent 50%),
    linear-gradient(170deg, #04060e 0%, #080a12 50%, #0c0808 100%);
}
.vc-thumb--5 {
  background:
    radial-gradient(ellipse at 60% 40%, rgba(40,10,10,0.6) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 70%, rgba(10,25,15,0.5) 0%, transparent 50%),
    linear-gradient(160deg, #0a0604 0%, #0d0a08 50%, #060c0a 100%);
}

/* Large roman numeral — cinematic watermark */
.vc-num {
  position: absolute;
  bottom: -10px;
  right: 12px;
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7rem);
  color: rgba(255,255,255,0.04);
  letter-spacing: 0.04em;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}
.video-card:hover .vc-num {
  color: rgba(200,134,42,0.07);
}

.vc-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  transition: var(--transition);
  z-index: 2;
}

/* play button: 55px ≈ F6/φ² — close to Fibonacci 55 */
.vc-play i {
  width: 55px; height: 55px;
  border-radius: 50%;
  background: rgba(200,134,42,0.15);
  border: 1px solid rgba(200,134,42,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--amber2);
  transition: var(--transition);
}

.video-card:hover .vc-play {
  background: rgba(200,134,42,0.08);
}
.video-card:hover .vc-play i {
  background: var(--amber);
  color: var(--black);
  border-color: var(--amber);
  transform: scale(1.1);
}

/* vc-tag: padding F1×1.5 F3/φ */
.vc-tag {
  position: absolute;
  top: var(--f3); left: var(--f3);
  font-family: var(--font-tech);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.72);
  border: 1px solid rgba(255,255,255,0.18);
  padding: var(--f1) var(--f2);
  border-radius: 2px;
  z-index: 3;
}

/* vc-body: F4=26 F5=42 — ratio ≈ φ */
.vc-body { padding: var(--f4) var(--f5); }

.vc-body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: var(--f2);
}

.vc-body p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.618;
  margin-bottom: var(--f4);
}

.vc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vimeo-link {
  font-family: var(--font-tech);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: rgba(240,234,216,0.3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  pointer-events: all;
  position: relative;
  z-index: 10;
  cursor: pointer;
}
.vimeo-link:hover { color: var(--amber2); }

.vc-watch {
  font-family: var(--font-tech);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: rgba(240,234,216,0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  z-index: 10;
  pointer-events: all;
}
.vc-watch:hover,
.video-card:hover .vc-watch { color: var(--amber2); gap: 12px; }

/* ═══════════════════════════════════
   STORY BOOK
═══════════════════════════════════ */
/* storybook padding: F7=110 */
#storybook {
  padding: var(--f7) 0;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(74,52,32,0.2) 0%, transparent 55%);
  position: relative;
  overflow: hidden;
}

.sb-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(100,60,200,0.06) 0%, transparent 60%);
  pointer-events: none;
}

/* sb-inner golden split: 61.8% text | 38.2% book */
.sb-inner {
  display: grid;
  grid-template-columns: 61.8% 1fr;
  gap: var(--f7);
  align-items: center;
}

.sb-lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.618;
  margin-bottom: var(--f5);
  max-width: 560px;
}

.sb-chapters {
  display: flex;
  flex-direction: column;
  gap: var(--f2);
  margin-bottom: var(--f5);
}

.sbc {
  display: flex;
  align-items: center;
  gap: var(--f3);
  padding: var(--f2) 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.sbc:hover { padding-left: 8px; border-color: rgba(255,255,255,0.2); }
.sbc-n {
  font-family: var(--font-tech);
  font-size: 0.62rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.1em;
  min-width: 28px;
}
.sbc span:last-child {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.03em;
}

.sb-actions {
  display: flex;
  gap: var(--f3);
  flex-wrap: wrap;
}

/* Book 3D */
.book-wrap {
  perspective: 800px;
}

.book {
  position: relative;
  transform-style: preserve-3d;
  animation: bookHover 7s ease-in-out infinite;
}

@keyframes bookHover {
  0%, 100% { transform: rotateY(-12deg) rotateX(3deg) translateY(0); }
  50%       { transform: rotateY(-9deg)  rotateX(5deg) translateY(-14px); }
}

/* book-front: 260×420 ≈ ratio 260/420 = 0.619 ≈ φ⁻¹ */
.book-front {
  width: 260px;
  height: 420px;
  border-radius: 3px 10px 10px 3px;
  background: linear-gradient(160deg, #1e1408 0%, #120d06 50%, #1a1208 100%);
  border: 1px solid rgba(200,134,42,0.25);
  box-shadow: 10px 10px 50px rgba(0,0,0,0.8), -2px 0 8px rgba(0,0,0,0.5), inset 0 0 40px rgba(200,134,42,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.book-front::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 35% 25%, rgba(200,134,42,0.1), transparent 55%);
}

.bf-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px;
}

.bf-series {
  font-family: var(--font-tech);
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
  display: block;
}

.bf-mark {
  font-family: var(--font-tech);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--amber);
  opacity: 0.25;
  margin-bottom: 12px;
}

.bf-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.bf-sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.12em;
}

.book-side {
  position: absolute;
  width: 22px;
  height: 350px;
  left: -11px;
  top: 0;
  background: linear-gradient(90deg, #050505, #111);
  border-left: 1px solid rgba(255,255,255,0.05);
  transform: rotateY(-90deg) translateX(-11px);
}

.book-bottom {
  position: absolute;
  width: 260px;
  height: 22px;
  bottom: -11px;
  background: linear-gradient(180deg, #111, #0a0a0a);
  border-top: 1px solid rgba(255,255,255,0.05);
  transform: rotateX(-90deg) translateY(11px);
}

/* Making Of styles removed — section deleted */

/* ═══════════════════════════════════
   QUOTE BREAK
═══════════════════════════════════ */
/* quote-break: F7=110 top/bottom — φ sequence */
.quote-break {
  padding: var(--f7) var(--f4);
  background: transparent;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.qb-inner {
  max-width: 760px;
  margin: 0 auto;
}

.qb-mark {
  display: block;
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 0.5;
  color: rgba(255,255,255,0.06);
  margin-bottom: 32px;
}

.quote-break p {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: rgba(255,255,255,0.55);
  line-height: 1.618;
  letter-spacing: 0.01em;
  margin-bottom: var(--f4);
}

.qb-source {
  font-family: var(--font-tech);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
}

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
footer {
  border-top: 1px solid rgba(240,234,216,0.1);
  padding: 64px 0 40px;
  background: #0e0c09;
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* ── Left & Right columns ── */
.footer-col--left,
.footer-col--right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col--left { align-items: flex-start; }
.footer-col--right { align-items: flex-end; text-align: right; }

.footer-col-label {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 1;
}

.footer-team-text {
  font-size: 0.75rem;
  color: rgba(240,234,216,0.22);
  line-height: 1.75;
  max-width: 320px;
}

.footer-team-tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.footer-team-tag i { color: var(--amber); opacity: 0.6; }

.footer-team-sub {
  font-family: var(--font-tech);
  font-size: 0.48rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(212,169,78,0.35);
  margin-top: 4px;
}

/* ── Center column — ahora es la única columna ── */
.footer-col--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  width: 100%;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.14em;
  color: #f0ead8;
  text-transform: uppercase;
  line-height: 1;
}

.footer-divider {
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(240,234,216,0.07);
}

.footer-sub {
  font-family: var(--font-tech);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: rgba(240,234,216,0.5);
  text-transform: uppercase;
}

.footer-copy {
  font-size: 0.72rem;
  color: rgba(240,234,216,0.45);
  font-family: var(--font-tech);
  letter-spacing: 0.06em;
  line-height: 1.7;
  text-align: center;
  margin-top: 6px;
}

/* ── Right credits ── */
.footer-credits {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-credit {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.fc-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240,234,216,0.75);
}

.fc-role {
  font-family: var(--font-tech);
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240,234,216,0.35);
}

.fc-credit {
  font-size: 0.7rem;
  color: rgba(240,234,216,0.3);
  font-style: italic;
  line-height: 1.5;
}

.fc-email {
  font-family: var(--font-tech);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: rgba(200,134,42,0.85);
  text-decoration: none;
  transition: color var(--transition);
}
.fc-email:hover { color: var(--amber2); }

/* ── Responsive ── */
@media (max-width: 860px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-col--center { order: -1; }
  .footer-col--left,
  .footer-col--right { align-items: center; text-align: center; }
  .footer-team-text { max-width: 100%; }
  .footer-col--right { align-items: center; }
}

/* ═══════════════════════════════════
   MODALS
═══════════════════════════════════ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(0,0,0,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none !important;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: flex !important;
  opacity: 1;
  pointer-events: all;
}

.modal-inner {
  background: var(--black3);
  border: 1px solid var(--border2);
  border-radius: var(--radius2);
  width: 100%;
  max-width: 900px;
  padding: 28px 32px;
  position: relative;
  transform: scale(0.96) translateY(10px);
  transition: transform 0.35s ease;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(200,134,42,0.05);
}

.modal.active .modal-inner {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 2px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
}

.modal-close:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.modal-label {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-right: 40px;
}

.modal-video {
  position: relative;
  aspect-ratio: 16/9;
  width: 100%;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}

.modal-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.modal-foot {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

.modal-foot a {
  font-family: var(--font-tech);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: rgba(240,234,216,0.25);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.modal-foot a:hover { color: var(--amber2); }

/* PDF Modal */
.modal-pdf {
  max-width: 1000px;
  height: 90vh;
  display: flex;
  flex-direction: column;
}

.pdf-wrap {
  flex: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  min-height: 0;
}

.pdf-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ═══════════════════════════════════
   ANIMATIONS
═══════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile: forzar todo visible — IntersectionObserver falla en iOS a veces */
@media (max-width: 900px) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ═══════════════════════════════════
   WORLD VISUAL BAND (freeflight.jpg)
═══════════════════════════════════ */
.world-visual-band {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: var(--black);
}

.wvb-img-wrap {
  position: relative;
  width: 100%;
  max-height: 420px;
  overflow: hidden;
}

.wvb-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: grayscale(20%) contrast(1.05);
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center center;
}

.wvb-img-wrap:hover .wvb-img {
  transform: scale(1.08);
}

.wvb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.1) 40%,
    rgba(0,0,0,0.6) 100%
  );
}

.wvb-caption {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-tech);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}

/* ═══════════════════════════════════
   SECTION FULL-WIDTH IMAGE
═══════════════════════════════════ */
.section-img {
  width: 100%;
  max-width: 820px;
  margin: 0 auto 72px auto;
  position: relative;
}

/* ─── KENDY Archive CTA ─── */
.kendy-cta {
  margin: 0 0 var(--f7);
  display: flex;
  justify-content: center;
  align-items: center;
}
.kendy-cta-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 820px;
  padding: 22px 52px;
  border: 1.5px solid var(--amber);
  border-radius: var(--radius);
  background: rgba(255,154,60,0.06);
  color: var(--amber);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 0 32px rgba(255,154,60,0.08), inset 0 0 32px rgba(255,154,60,0.03);
  animation: cta-pulse 2.8s ease-in-out infinite;
  position: relative;
}
.kendy-cta-btn::after {
  content: '↗';
  font-size: 0.75em;
  opacity: 0.7;
  transition: var(--transition);
  margin-left: 4px;
}
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 18px rgba(255,154,60,0.10), inset 0 0 20px rgba(255,154,60,0.03); }
  50%       { box-shadow: 0 0 44px rgba(255,154,60,0.28), inset 0 0 32px rgba(255,154,60,0.07); }
}
.kendy-cta-btn:hover {
  background: rgba(255,154,60,0.18);
  color: #fff;
  border-color: #fff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 48px rgba(255,154,60,0.30), inset 0 0 40px rgba(255,154,60,0.08);
  letter-spacing: 0.16em;
  animation: none;
}
.kendy-cta-btn:hover::after {
  opacity: 1;
  transform: translate(3px, -3px);
}
.kendy-cta-hint {
  display: block;
  font-family: var(--font-tech);
  font-size: 0.55rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,154,60,0.55);
  text-align: center;
  width: 100%;
  margin-top: 2px;
}
@media (max-width: 640px) {
  .kendy-cta-btn {
    padding: 18px 28px;
    font-size: clamp(0.85rem, 4vw, 1.1rem);
    letter-spacing: 0.08em;
    white-space: normal;
    text-align: center;
  }
}

/* ─── KENDY PREVIEW BUILDS ─── */
.kendy-previews {
  margin-top: var(--f4);
  margin-bottom: var(--f5);
}

.kendy-previews-label {
  display: block;
  font-family: var(--font-tech);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(240,234,216,0.3);
  margin-bottom: var(--f3);
}

.kendy-previews-row {
  display: flex;
  gap: var(--f4);
  flex-wrap: wrap;
}

.kendy-preview-card {
  flex: 1 1 260px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(212,160,48,0.2);
  border-radius: var(--radius);
  padding: var(--f4);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: var(--transition);
}

.kendy-preview-card:hover {
  border-color: rgba(212,160,48,0.45);
  background: rgba(212,160,48,0.04);
  transform: translateY(-2px);
}

.kpc-badge {
  font-family: var(--font-tech);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(212,160,48,0.35);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  width: fit-content;
}

.kpc-badge--glitch {
  color: #4cffee;
  border-color: rgba(76,255,238,0.35);
}

.kpc-desc {
  font-size: 0.82rem;
  color: rgba(240,234,216,0.5);
  line-height: 1.6;
}

.kpc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-tech);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(240,234,216,0.65);
  border: 1px solid rgba(240,234,216,0.2);
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: var(--transition);
  margin-top: auto;
  width: fit-content;
}

.kpc-btn:hover {
  color: var(--amber2);
  border-color: var(--amber-dim);
  background: var(--amber-ghost);
  transform: translateY(-1px);
}

.kpc-btn--glitch:hover {
  color: #4cffee;
  border-color: rgba(76,255,238,0.4);
  background: rgba(76,255,238,0.05);
}

.kpc-badge--prev {
  color: #c8aaff;
  border-color: rgba(200,170,255,0.35);
}

.kpc-btn--prev:hover {
  color: #c8aaff;
  border-color: rgba(200,170,255,0.4);
  background: rgba(200,170,255,0.05);
}

.section-img img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

.smoke-ring-video {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

/* KENDY robot image — replaces smoke ring video */
.smoke-ring-img {
  width: 100%;
  max-width: 820px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 4px 40px rgba(80,255,100,0.2)) brightness(0.95) contrast(1.06);
}

@media (max-width: 768px) {
  .smoke-ring-video { aspect-ratio: 16/9; height: auto; }
}
@media (max-width: 480px) {
  .smoke-ring-video { aspect-ratio: 16/9; height: auto; }
}

.section-img:hover img {
  transform: none;
}

/* ── Tree CSS removed — static image only ── */

.tree-media-wrap .si-caption {
  z-index: 3;
}

.si-caption {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 48px 32px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  font-family: var(--font-tech);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* Season One Setting label above the tree image */
.season-setting-label {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 0.82;
  text-align: center;
  margin: 0 auto var(--f3) auto;
  display: block;
}

/* Tree zoom button */
.tree-zoom-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(0,0,0,0.82);
  border: 1.5px solid var(--amber);
  color: var(--amber);
  font-family: var(--font-tech);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 12px rgba(200,134,42,0.2);
}
.tree-zoom-btn i {
  font-size: 0.9rem;
}
.tree-zoom-btn:hover {
  background: rgba(200,134,42,0.25);
  border-color: var(--amber2);
  color: var(--amber2);
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(0,0,0,0.6), 0 0 18px rgba(200,134,42,0.35);
}

/* ═══════════════════════════════════
   CLOUDS FIGURE BREAK (clouds-figure.jpg)
═══════════════════════════════════ */
.clouds-break {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(80,40,60,0.3) 0%, transparent 65%),
    radial-gradient(ellipse at 20% 80%, rgba(50,30,20,0.25) 0%, transparent 55%),
    linear-gradient(170deg, #0c0608 0%, #080a10 50%, #0a0608 100%);
}

.cb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  filter: brightness(0.7);
}

.cb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.5) 0%,
    rgba(0,0,0,0.15) 40%,
    rgba(0,0,0,0.7) 100%
  );
}

.cb-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 32px;
}

.cb-text p {
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  font-style: italic;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  max-width: 780px;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

.cb-text span {
  font-family: var(--font-tech);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
}

/* ═══════════════════════════════════
   NIVEN SHELF
═══════════════════════════════════ */
/* niven-shelf: F6=68 top, F5=42 bottom — ratio ≈ φ */
.niven-shelf {
  margin-bottom: var(--f6);
  padding: var(--f6) 0 var(--f5);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ns-header {
  text-align: center;
  margin-bottom: var(--f5);
}

.ns-eyebrow {
  font-family: var(--font-tech);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 12px;
}

.ns-name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #f0ead8;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 10px;
}

.ns-credits {
  font-size: 0.95rem;
  color: rgba(240,234,216,0.65);
  letter-spacing: 0.04em;
}
.ns-credits em { color: rgba(240,234,216,0.65); font-style: italic; }

.ns-often {
  display: none;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(240,234,216,0.6);
  letter-spacing: 0.03em;
  line-height: 1.75;
  max-width: 520px;
  margin-top: var(--f3);
  animation: heroFadeUp 1s 0.4s ease both;
}

/* The row of 5 columns: book · book · badge+quote · book · book */
.ns-books {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 24px;
  align-items: center;
  justify-items: center;
}

/* Individual book slot */
.ns-book {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  text-align: center;
}

/* Cover image wrapper — perspective tilt on hover */
.ns-cover-wrap {
  position: relative;
  width: 100%;
  max-width: 180px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow:
    0 8px 24px rgba(0,0,0,0.7),
    0 2px 6px rgba(0,0,0,0.5),
    inset 0 0 0 1px rgba(255,255,255,0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
  cursor: pointer;
}

.ns-cover-wrap:hover {
  transform: translateY(-8px) rotateY(-4deg) scale(1.03);
  box-shadow:
    0 20px 48px rgba(0,0,0,0.8),
    0 4px 12px rgba(200,134,42,0.25),
    inset 0 0 0 1px rgba(255,255,255,0.1);
}

.ns-cover {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Glare shine overlay */
.ns-cover-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.08) 0%,
    transparent 50%,
    rgba(0,0,0,0.15) 100%
  );
  pointer-events: none;
}

/* Book label below cover */
.ns-book-meta {
  text-align: center;
  width: 100%;
}

.ns-book-title {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240,234,216,0.8);
  margin-bottom: 3px;
}

.ns-book-year {
  display: block;
  font-family: var(--font-tech);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--amber);
  text-transform: uppercase;
}

/* Center column — NYT badge + quote */
.ns-book--center {
  gap: 24px;
  padding: 0 8px;
}

.ns-nyt-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border: 1px solid rgba(212,169,78,0.45);
  border-radius: 6px;
  padding: 16px 24px;
  background: rgba(212,169,78,0.05);
  width: 100%;
  text-align: center;
}

.ns-nyt-label {
  font-family: var(--font-tech);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240,234,216,0.55);
}

.ns-nyt-main {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.1;
}

.ns-nyt-sub {
  font-size: 0.72rem;
  color: rgba(240,234,216,0.6);
  letter-spacing: 0.06em;
}

.ns-quote {
  font-size: 1rem;
  font-style: italic;
  color: rgba(240,234,216,0.72);
  line-height: 1.75;
  text-align: center;
  border: none;
  padding: 0;
  margin: 0;
}

.ns-quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-family: var(--font-tech);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: rgba(240,234,216,0.5);
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 900px) {
  .ns-books {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .ns-book {
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 300px;
  }
  .ns-cover-wrap {
    margin: 0 auto;
  }
  .ns-book--center {
    flex-direction: column;
    align-items: center;
    max-width: 340px;
    gap: 24px;
  }
}

@media (max-width: 540px) {
  .ns-books {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    justify-items: center;
  }
  .ns-cover-wrap { max-width: 130px; }
  .ns-book { align-items: center; }
}

/* ═══════════════════════════════════
   DOCS / DOWNLOADS
═══════════════════════════════════ */
#docs {
  padding: var(--f7) 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(160,180,140,0.06) 0%, transparent 55%);
}

.doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(240,234,216,0.1);
}

/* doc-row: gap F4=26, padding F3/1.5 F5 — 26px:42px ≈ φ⁻¹ */
.doc-row {
  display: flex;
  align-items: center;
  gap: var(--f4);
  padding: var(--f3) var(--f4);
  border-bottom: 1px solid rgba(240,234,216,0.1);
  transition: background var(--transition);
}

.doc-row:hover {
  background: rgba(200,134,42,0.06);
}

/* Icon box */
.dr-icon {
  width: var(--f5);
  height: var(--f5);
  border-radius: 8px;
  border: 1px solid rgba(240,234,216,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(240,234,216,0.6);
  flex-shrink: 0;
  transition: var(--transition);
}

.doc-row:hover .dr-icon            { color: #f0ead8; border-color: rgba(240,234,216,0.5); }
.doc-row:hover .gold-icon          { color: rgba(138,90,16,1) !important;  border-color: rgba(138,90,16,0.6) !important; }
.doc-row:hover .concept-icon       { color: rgba(0,130,160,1) !important; border-color: rgba(0,130,160,0.5) !important; }
.doc-row:hover .game-icon          { color: rgba(40,140,60,1) !important;  border-color: rgba(40,140,60,0.5) !important; }
.doc-row:hover .char-icon          { color: rgba(180,90,20,1) !important;  border-color: rgba(180,90,20,0.5) !important; }

/* Info block */
.dr-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
}

.dr-tag {
  font-family: var(--font-tech);
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}

.gold-tag   { color: rgba(212,169,78,0.55) !important; }
.concept-tag{ color: rgba(0,212,255,0.55) !important; }
.game-tag   { color: rgba(120,255,120,0.55) !important; }
.char-tag   { color: rgba(255,160,80,0.55) !important; }

.dr-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f0ead8;
  line-height: 1.2;
}

.dr-desc {
  font-size: 0.9rem;
  color: rgba(240,234,216,0.55);
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Action buttons */
.dr-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.dr-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 6px;
  font-family: var(--font-tech);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.dr-download {
  background: var(--amber);
  color: #f5f0e8;
  border: none;
}
.dr-download:hover {
  background: var(--amber2);
  color: #f0ead8;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(138,90,16,0.3);
}

.dr-open {
  background: rgba(240,234,216,0.05);
  color: rgba(240,234,216,0.8);
  border: 1px solid rgba(240,234,216,0.3);
}
.dr-open:hover {
  background: rgba(240,234,216,0.1);
  color: #f0ead8;
  border-color: rgba(240,234,216,0.25);
  transform: translateY(-1px);
}

/* Doc icon colour classes — dark on light bg */
.gold-icon    { color: rgba(138,90,16,0.8) !important;  border-color: rgba(138,90,16,0.35) !important; }
.concept-icon { color: rgba(0,130,160,0.8) !important;  border-color: rgba(0,130,160,0.3) !important; }
.game-icon    { color: rgba(40,140,60,0.8) !important;  border-color: rgba(40,140,60,0.3) !important; }
.char-icon    { color: rgba(180,90,20,0.8) !important;  border-color: rgba(180,90,20,0.3) !important; }

/* Script icon */
.script-icon { color: rgba(80,100,160,0.8) !important; border-color: rgba(80,100,160,0.3) !important; }
.doc-row:hover .script-icon { color: rgba(80,100,160,1) !important; border-color: rgba(80,100,160,0.6) !important; }
.script-tag  { color: rgba(80,100,160,0.7) !important; }

/* ═══════════════════════════════════
   PDF READER MODAL
═══════════════════════════════════ */
.pdf-reader-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(12px);
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.pdf-reader-modal.active { display: flex; }

.prm-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Header toolbar */
.prm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(10,10,15,0.97);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
  gap: 16px;
  flex-wrap: wrap;
}

.prm-title {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prm-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.prm-btn {
  width: 34px; height: 34px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  text-decoration: none;
}
.prm-btn:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.prm-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.prm-close {
  border-color: rgba(255,80,80,0.3);
  color: rgba(255,120,120,0.8);
}
.prm-close:hover {
  background: rgba(255,60,60,0.15);
  border-color: rgba(255,80,80,0.6);
  color: #ff8080;
}

.prm-dl {
  border-color: rgba(200,134,42,0.4);
  color: var(--amber);
  width: auto;
  padding: 0 14px;
  gap: 7px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-tech);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.prm-dl:hover {
  background: rgba(200,134,42,0.12);
  border-color: var(--amber);
  color: var(--amber2);
}

.prm-page-info {
  font-family: var(--font-tech);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  min-width: 60px;
  text-align: center;
}

.prm-zoom-label {
  font-family: var(--font-tech);
  font-size: 0.58rem;
  color: rgba(255,255,255,0.3);
  min-width: 36px;
  text-align: center;
}

/* Viewport — iframe area */
.prm-viewport {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  background: #1a1a1a;
  position: relative;
}

#prm-iframe {
  flex: 1;
  width: 100%;
  height: 100%;
  border: none;
  background: #fff;
}

/* Loading spinner */
.prm-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-tech);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: #1a1a1a;
  z-index: 2;
}
.prm-loading.hidden { display: none; }

.prm-spinner {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.08);
  border-top-color: var(--amber);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════
   RESPONSIVE
═══════════════════════════════════ */
@media (max-width: 1024px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .docs-grid, .docs-grid-3, .docs-grid-5 { grid-template-columns: 1fr; }
  .sb-inner { grid-template-columns: 1fr; }
  .sb-book { display: flex; justify-content: center; }
  .world-grid { gap: 40px; }
  .chapters-row { flex-direction: column; gap: 0; }
  .ch-divider { transform: rotate(90deg); opacity: 0.2; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(0,0,0,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    transition: right 0.4s ease;
    border-left: 1px solid var(--border);
  }
  .nav-links.open { right: 0; }
  .nav-links a {
    font-size: 1rem;
    color: rgba(240,234,216,0.75);
    letter-spacing: 0.2em;
  }
  .nav-links a:hover { color: #f5f0e8; }
  .nav-links a.active { color: var(--amber); }
  .nav-map-link { color: rgba(240,234,216,0.75) !important; }
  .nav-close { display: flex; color: rgba(240,234,216,0.6); }

  .world-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .doc-row { flex-wrap: wrap; gap: 10px; padding: 16px 12px; }
  .dr-desc  { display: block; font-size: 0.8rem; } /* restore description */
  .dr-actions { width: 100%; justify-content: flex-start; }
  .dr-btn span { display: inline; } /* restore Open Document text */
  .dr-btn { font-size: 0.65rem; padding: var(--f2) var(--f3); }
  .dr-btn span { display: inline; } /* keep visible at 768px too */
  .videos-grid { grid-template-columns: 1fr; }
  .making-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .hero-content {
    position: absolute !important;
    top: auto !important;
    bottom: 40px !important;
    left: 0 !important;
    right: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 0 20px;
  }

  .section-title { font-size: clamp(2.2rem, 8vw, 4rem); }
  .hero-logo-free { font-size: clamp(2rem, 9vw, 4.5rem); }
  .hero-logo-fall { font-size: clamp(3.8rem, 18vw, 9rem); }
  .hero-logo-saga { font-size: clamp(1.1rem, 4vw, 2.2rem); }
  .hero-logo-img { width: clamp(200px, 55vw, 380px); }

  .wvb-img { height: 280px; }
  .section-img img { height: 260px; }
  .clouds-break { height: 360px; }
  .cb-text p { font-size: 0.95rem; }

  .book { animation: none; transform: rotateY(-5deg); }
  .book-front { width: 220px; height: 300px; }
  .book-side, .book-bottom { display: none; }

  /* reduce gap between KENDY CTA and Videos section */
  .kendy-cta { margin-bottom: var(--f4); }
  #videos { padding-top: var(--f4) !important; }

  .doc-card { padding: 32px 24px; gap: 20px; flex-direction: column; }

  .footer-inner { padding: var(--f5) 0; }

  /* Docs */
  .dr-btn { padding: var(--f2) var(--f3); }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .pillars { grid-template-columns: 1fr; }
  .modal-inner { padding: 20px 16px; }
  .intro-band { display: none; }
  body { font-size: 15px; }
  .section-title { font-size: clamp(2rem, 10vw, 3.5rem); }
  .hero-logo-img { width: clamp(180px, 72vw, 300px); }
  .ht-season { font-size: 0.58rem; letter-spacing: 0.18em; }
  #about, #videos, #docs { padding-top: var(--f6); padding-bottom: var(--f5); }
  .world-narrative p { font-size: 1rem; }
  .kendy-log-header { font-size: 0.68rem; padding-left: var(--f3); }
  .doc-row { flex-wrap: wrap; }
  .dr-title { font-size: 0.9rem; }
  .kendy-cta-title { font-size: clamp(1.2rem, 5vw, 1.8rem); }
  .section-img img { height: 200px; }
  .footer-inner { gap: 28px; }
}

/* ─── KENDY LOG ENTRY STYLE ─── */
/* ─── KENDY STATUS BLOCK ─── */
.kendy-status {
  font-family: var(--font-tech);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  border-left: 3px solid var(--amber);
  padding: var(--f4);
  margin: 0 auto var(--f5) auto;
  background: rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
  width: 100%;
}

/* ─── KENDY WIDE IMAGE: full width below status box ─── */
.kendy-wide-img {
  max-width: 820px;
  margin: 0 auto var(--f5) auto;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
}

.kendy-wide-photo {
  width: 100%;
  height: auto;
  display: block;
}

.kendy-wide-caption {
  padding: var(--f3) var(--f4) var(--f4);
  border-left: 3px solid var(--amber);
  border-bottom: 1px solid rgba(255,154,60,0.15);
  border-right: 1px solid rgba(255,154,60,0.08);
  background: rgba(0,0,0,0.3);
  border-radius: 0 0 var(--radius) var(--radius);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kendy-wide-label {
  font-family: var(--font-tech);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(240, 234, 216, 0.6);
}

.kendy-wide-quote {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 1rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(240, 234, 216, 0.82);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  letter-spacing: 0.01em;
}


  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--f5);
  align-items: stretch;
  max-width: 820px;
  margin: 0 auto var(--f5) auto;
}

.kendy-top-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
  background: transparent;
  overflow: visible;
}

.kendy-ship-img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: contain;
  object-position: center center;
  display: block;
  border-radius: var(--radius);
  /* Darken white BG slightly to blend with page; green glow echo */
  filter: brightness(0.72) contrast(1.15) saturate(1.2)
          drop-shadow(0 0 18px rgba(80,255,100,0.4))
          drop-shadow(0 4px 32px rgba(0,0,0,0.8));
}

.kendy-img-caption {
  font-family: var(--font-tech);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(240, 234, 216, 0.55);
  text-align: center;
  padding-top: 10px;
  border-top: 1px solid rgba(255,154,60,0.2);
  width: 100%;
}

@media (max-width: 640px) {
  .kendy-top {
    grid-template-columns: 1fr;
  }
  .kendy-top-img {
    max-height: 260px;
  }
}

.ks-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.ks-mission {
  font-size: 1rem;
  letter-spacing: 0.3em;
  color: rgba(240,234,216,1);
  font-weight: 800;
  margin-bottom: 4px;
  text-shadow: 0 0 20px rgba(240,234,216,0.15);
}

.ks-label {
  color: rgba(240,234,216,0.65);
  flex-shrink: 0;
  font-weight: 700;
}

.ks-value {
  color: rgba(240,234,216,1);
  font-weight: 700;
}

.ks-dim {
  color: rgba(240,234,216,0.8);
  font-weight: 600;
}

.ks-note {
  color: rgba(240,234,216,0.55);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: none;
  line-height: 1.6;
  font-style: italic;
  border-top: 1px solid rgba(240,234,216,0.12);
  padding-top: 10px;
}

/* Green flicker — KENDY functions */
.ks-green {
  color: #4cff80;
  text-shadow: 0 0 8px rgba(76,255,128,0.6);
}
@keyframes flickerGreen {
  0%,100% { opacity: 1; text-shadow: 0 0 8px rgba(76,255,128,0.7); }
  8%  { opacity: 0.6; text-shadow: none; }
  9%  { opacity: 1; }
  45% { opacity: 1; }
  46% { opacity: 0.3; text-shadow: none; }
  47% { opacity: 1; }
  72% { opacity: 1; }
  73% { opacity: 0.5; }
  74% { opacity: 1; text-shadow: 0 0 12px rgba(76,255,128,0.9); }
}
.ks-flicker {
  animation: flickerGreen 4s infinite;
}

/* Red flicker — ship functions */
.ks-red {
  color: #ff4040;
  text-shadow: 0 0 8px rgba(255,64,64,0.6);
}
@keyframes flickerRed {
  0%,100% { opacity: 1; text-shadow: 0 0 8px rgba(255,64,64,0.6); }
  15% { opacity: 0.2; text-shadow: none; }
  16% { opacity: 0.8; }
  17% { opacity: 0.1; }
  18% { opacity: 1; }
  55% { opacity: 1; }
  56% { opacity: 0.3; text-shadow: none; }
  57% { opacity: 1; text-shadow: 0 0 14px rgba(255,64,64,1); }
  80% { opacity: 1; }
  81% { opacity: 0.4; }
  82% { opacity: 1; }
}
.ks-flicker-red {
  animation: flickerRed 3.5s infinite;
}

/* Slow pulse — time */
.ks-dim-flash {
  color: rgba(240,234,216,0.7);
  animation: dimPulse 3s ease-in-out infinite;
}
@keyframes dimPulse {
  0%,100% { opacity: 0.7; }
  50%      { opacity: 0.2; }
}

/* ─── END KENDY STATUS ─── */

.kendy-log-header {
  font-family: var(--font-tech);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  line-height: 2;
  color: var(--amber);
  opacity: 1;
  text-transform: uppercase;
  border-left: 2px solid var(--amber);
  padding-left: var(--f4);
  margin-bottom: var(--f5);
}

.kendy-log p {
  color: rgba(240,234,216,0.78);
  font-size: 1.1rem;
  line-height: 1.85;
  margin-bottom: var(--f4);
}

.kendy-log p:first-child {
  color: rgba(240,234,216,0.9);
}

.kendy-log .world-closing {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  letter-spacing: 0.06em;
  color: #f0ead8;
  text-transform: uppercase;
  line-height: 1.5;
  margin-top: var(--f5);
  border-top: 1px solid rgba(138,90,16,0.25);
  padding-top: var(--f4);
}


/* ═════════════════════════════════════════════════════
   CHARACTERS SECTION — horizontal scroll strip
═════════════════════════════════════════════════════ */
#characters {
  padding: var(--f7) 0 0;
  background: transparent;
}

#characters .container {
  padding-bottom: 0;
  margin-bottom: var(--f4);
}

#characters .section-label {
  padding: 0;
}

#characters .section-title {
  margin-bottom: var(--f3);
}

/* ═══════════════════════════════════
   HUMANS INVOLVED MODAL
═══════════════════════════════════ */
.hi-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  background: rgba(200,134,42,0.1);
  border: 1px solid rgba(200,134,42,0.6);
  border-radius: 6px;
  color: rgba(240,234,216,0.9);
  font-family: var(--font-tech);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 24px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.hi-trigger:hover {
  color: #fff;
  border-color: var(--amber);
  background: rgba(200,134,42,0.22);
}

.hi-modal {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hi-modal-box {
  background: #0d0b08;
  border: 1px solid rgba(200,134,42,0.25);
  border-radius: 8px;
  width: 100%;
  max-width: 820px;
  height: 88vh;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.hi-close-btn {
  position: fixed;
  top: 24px;
  right: 32px;
  z-index: 100000;
  background: rgba(180,30,30,0.15);
  border: 1px solid rgba(220,50,50,0.6);
  color: #ff4444;
  cursor: pointer;
  border-radius: 6px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-tech);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s;
}
.hi-close-btn:hover {
  background: rgba(220,50,50,0.3);
  border-color: rgba(220,50,50,0.9);
  color: #ff6060;
}

/* ── Gate (password screen) ── */
.hi-gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 48px 32px 40px;
  position: relative;
}

.hi-gate-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.hi-gate-icon {
  font-size: 1.8rem;
  color: rgba(200,134,42,0.5);
  margin-bottom: 8px;
}

.hi-gate-label {
  font-family: var(--font-tech);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--amber);
  text-transform: uppercase;
}

.hi-gate-sub {
  font-size: 0.85rem;
  color: rgba(240,234,216,0.4);
  margin-bottom: 8px;
}

.hi-gate-form { width: 100%; max-width: 300px; }

.hi-field-wrap {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  transition: border-color 0.2s;
}
.hi-field-wrap:focus-within { border-color: rgba(200,134,42,0.6); }

.hi-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 13px 14px;
  color: #f0ead8;
  font-family: var(--font-tech);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}
.hi-input::placeholder { color: rgba(240,234,216,0.2); }

.hi-submit {
  background: rgba(200,134,42,0.12);
  border: none;
  border-left: 1px solid rgba(200,134,42,0.25);
  color: var(--amber);
  padding: 13px 16px;
  cursor: pointer;
  transition: background 0.2s;
}
.hi-submit:hover { background: rgba(200,134,42,0.3); }

.hi-error {
  margin-top: 8px;
  font-family: var(--font-tech);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  color: #ff5555;
  text-transform: uppercase;
  min-height: 1em;
  text-align: center;
}

/* ── Credits (after password) ── */
.hi-credits {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

.hi-credits-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 80px 18px;
  border-bottom: 1px solid rgba(200,134,42,0.2);
  background: #0d0b08;
  flex-shrink: 0;
}

.hi-credits-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  color: #f0ead8;
  text-align: center;
}

.hi-credits-body {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: scroll;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.hi-credit-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 24px 0;
  border-bottom: 1px solid rgba(240,234,216,0.08);
}
.hi-credit-block:last-child { border-bottom: none; }

.hi-credit-dept {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(200,134,42,0.75);
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(200,134,42,0.2);
}

.hi-credit-person {
  display: grid;
  grid-template-columns: 220px 1fr;
  column-gap: 32px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid rgba(240,234,216,0.06);
}

.hi-credit-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #ffffff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  padding-top: 2px;
  line-height: 1.3;
}

.hi-credit-name--tbd {
  color: rgba(240,234,216,0.35);
  font-style: italic;
  font-size: 0.88rem;
}

.hi-credit-bio {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.85rem;
  color: rgba(240,234,216,0.55);
  font-style: italic;
  line-height: 1.7;
  padding-top: 2px;
}

@media (max-width: 700px) {
  .hi-modal-box { max-height: 92vh; }
  .hi-gate { padding: 40px 20px 32px; }
  .hi-credits-body { padding: 24px 20px; }
  .hi-credit-block { padding: 20px 0; }
  .hi-credit-person {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .hi-credit-name { font-size: 0.95rem; }
  .hi-credit-bio { font-size: 0.8rem; }
}

/* scroll hint row */
.char-scroll-hint {
  display: flex;
  align-items: center;
  gap: var(--f2);
  padding: 0 0 var(--f4);
  opacity: 0.5;
}
.char-scroll-hint span {
  font-family: var(--font-tech);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(240,234,216,0.6);
}
.char-scroll-hint i {
  color: var(--amber);
  font-size: 0.65rem;
}

/* Outer wrapper: full viewport width, horizontal scroll */
.char-strip-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 var(--f5);
  scrollbar-width: thin;
  scrollbar-color: var(--amber-dim) transparent;
  cursor: grab;
}
.char-strip-wrap:active {
  cursor: grabbing;
}

.char-strip-wrap::-webkit-scrollbar {
  height: 3px;
}
.char-strip-wrap::-webkit-scrollbar-track {
  background: rgba(240,234,216,0.04);
}
.char-strip-wrap::-webkit-scrollbar-thumb {
  background: var(--amber-dim);
  border-radius: 2px;
}

/* Inner flex row */
.char-strip {
  display: inline-flex;
  flex-direction: row;
  gap: 0;
  align-items: stretch;
  min-width: min-content;
  padding: 0 clamp(var(--f4), 5vw, var(--f6));
}

/* ─── Individual character card ─── */
.char-card {
  flex: 0 0 auto;
  width: clamp(320px, 38vw, 500px);
  background: #1a1712;
  border-right: 1px solid rgba(240,234,216,0.08);
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.char-card:first-child {
  border-left: 1px solid rgba(240,234,216,0.08);
}

.char-card:hover {
  background: #221e14;
  box-shadow: 0 12px 48px rgba(200,134,42,0.15);
  z-index: 2;
}

/* INTEGRAL TREE EXPLORER duplicate removed — defined above */
/* placeholder-keep-line */
.tree-explore-wrap-UNUSED {
  max-width: 820px;
  margin: var(--f5) auto var(--f5);
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(138,90,16,0.25);
  border-radius: var(--radius2);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

/* Hint bar above image */
.tree-explore-hint {
  background: rgba(138,90,16,0.18);
  font-family: var(--font-tech);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  padding: 9px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(138,90,16,0.25);
  user-select: none;
}

/* Thumbnail image */
.tree-explore-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: filter 0.3s ease, transform 0.3s ease;
  transform-origin: center center;
}

.tree-explore-wrap:hover .tree-explore-img {
  filter: brightness(1.1);
  transform: scale(1.01);
}

/* CTA button below image */
.tree-explore-btn {
  width: 100%;
  background: rgba(138,90,16,0.12);
  border: none;
  border-top: 1px solid rgba(138,90,16,0.25);
  color: var(--amber);
  font-family: var(--font-tech);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 13px 20px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.tree-explore-btn:hover {
  background: rgba(255,154,60,0.18);
  color: #fff;
}

/* tree-lb UNUSED — lightbox uses #tree-lightbox above */
.tree-lb-UNUSED {
  position: fixed;
  inset: 0;
  z-index: 9900;
  background: #0d0b08;
  display: none;
  flex-direction: column;
  opacity: 1;
  pointer-events: all;
}

.tree-lb.is-open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

/* Top bar */
.tree-lb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(20,16,8,0.95);
  border-bottom: 1px solid rgba(138,90,16,0.3);
  flex-shrink: 0;
  gap: 12px;
  flex-wrap: wrap;
}

.tree-lb-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.tree-lb-zbtn {
  background: rgba(138,90,16,0.15);
  border: 1px solid rgba(138,90,16,0.4);
  color: var(--amber);
  font-family: var(--font-tech);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 7px 14px;
  cursor: pointer;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, color 0.2s;
}

.tree-lb-zbtn:hover {
  background: rgba(255,154,60,0.22);
  color: #fff;
}

.tree-lb-close {
  background: rgba(200,40,40,0.15);
  border: 1px solid rgba(200,40,40,0.5);
  color: #ff6060;
  font-family: var(--font-tech);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 18px;
  cursor: pointer;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, color 0.2s;
}

.tree-lb-close:hover {
  background: rgba(200,40,40,0.35);
  color: #fff;
}

/* Drag / pinch hint */
.tree-lb-hint {
  text-align: center;
  font-family: var(--font-tech);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240,234,216,0.35);
  padding: 6px 16px;
  flex-shrink: 0;
  background: rgba(13,11,8,0.8);
  border-bottom: 1px solid rgba(138,90,16,0.12);
}

/* Scrollable/zoomable viewport */
.tree-lb-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  cursor: grab;
  touch-action: none;
}

.tree-lb-viewport:active {
  cursor: grabbing;
}

.tree-lb-image {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
  max-width: none; /* allow zoom beyond container */
  display: block;
}

@media (max-width: 640px) {
  .tree-lb-bar { padding: 8px 10px; gap: 8px; }
  .tree-lb-zbtn { padding: 6px 10px; font-size: 0.6rem; }
  .tree-lb-close { padding: 6px 12px; font-size: 0.62rem; }
  .tree-explore-hint { font-size: 0.62rem; padding: 8px 12px; }
}

/* ─── Images block ─── */
.char-images {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #0e0c09;
  overflow: hidden;
}

.char-img--main {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.7s ease;
}
.char-card:hover .char-img--main {
  transform: scale(1.03);
}

.char-img-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.char-img--sub {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}
.char-card:hover .char-img--sub {
  transform: scale(1.05);
}

/* ─── Text info block ─── */
.char-info {
  padding: var(--f4) clamp(var(--f3), 2.5vw, var(--f4)) var(--f5);
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  background: #1a1712;
  transition: background 0.3s ease;
}
.char-card:hover .char-info {
  background: #221e14;
}

.char-tribe {
  display: inline-block;
  font-family: var(--font-tech);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 1;
  margin-bottom: 2px;
}

.char-name {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f0ead8;
  line-height: 0.95;
  margin: 0 0 4px;
}

.char-role {
  font-family: var(--font-tech);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240,234,216,0.48);
  margin: 0 0 var(--f3);
  font-style: italic;
}

.char-desc {
  font-family: var(--font-body);
  font-size: 0.97rem;
  line-height: 1.78;
  color: rgba(240,234,216,0.74);
  margin: 0;
  font-weight: 400;
}

.char-desc--quote {
  margin-top: var(--f3);
  padding: var(--f3) 0 0 var(--f3);
  border-top: none;
  border-left: 3px solid var(--amber);
  font-style: italic;
  color: rgba(240,234,216,0.6);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ─── "More Characters — Coming Soon" placeholder card ─── */
.char-card--coming {
  width: clamp(220px, 24vw, 320px);
  background: rgba(200,134,42,0.04);
  border-right: 1px solid rgba(200,134,42,0.2);
  border-left: none;
  border-top: none;
  border-bottom: none;
  border-style: solid;
  border-color: transparent rgba(200,134,42,0.18) transparent transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.char-card--coming:hover {
  background: rgba(200,134,42,0.06);
  box-shadow: none;
}

.char-coming-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--f3);
  padding: var(--f4);
  text-align: center;
}

.char-coming-label {
  font-family: var(--font-tech);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 0.65;
}

.char-coming-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240,234,216,0.25);
  margin: 0;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .char-strip {
    padding: 0 var(--f3);
  }
}
@media (max-width: 640px) {
  .char-card {
    width: clamp(280px, 82vw, 360px);
  }
  .char-card--coming {
    width: clamp(180px, 50vw, 240px);
  }
}

.team-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  border: none;
  min-height: auto;
}

.tcs-label {
  font-family: var(--font-tech);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 0.6;
  margin-bottom: var(--f3);
}

.tcs-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: rgba(240,234,216,0.2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tcs-coming {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(240,234,216,0.25);
  font-style: italic;
  letter-spacing: 0.08em;
  margin-top: var(--f2);
}


