/* ═══════════════════════════════════════════════════════════
   LOCK IN. — CINEMATIC DESIGN SYSTEM v2
   ═══════════════════════════════════════════════════════════ */

/* ── CUSTOM PROPERTIES ─────────────────────────────────────── */
:root {
  --red: #FF2D2D;
  --red-dim: rgba(255, 45, 45, 0.15);
  --red-glow: rgba(255, 45, 45, 0.35);
  --black: #000000;
  --off-black: #080808;
  --surface: #0d0d0d;
  --surface-2: #141414;
  --white: #ffffff;
  --off-white: #e8e8e8;
  --muted: #555555;
  --muted-2: #333333;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Libre Baskerville', Georgia, serif;
  --ease-cinema: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Header heights — drives all spacing */
  --nav-h: 72px;
  --ticker-h: 40px;
  --header-total: calc(var(--nav-h) + var(--ticker-h));

  --section-pad: clamp(90px, 13vh, 160px);
}

/* ── RESET & BASE ───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--black);
  color: var(--off-white);
  overflow-x: hidden;
  scroll-behavior: auto;
}

body {
  font-family: var(--font-body);
  background: var(--off-black);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* ── WEBGL BACKGROUND ───────────────────────────────────────── */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

/* ── GRAIN ──────────────────────────────────────────────────── */
.grain-overlay {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  animation: grain 0.65s steps(1) infinite;
  opacity: 0.3;
  mix-blend-mode: overlay;
}

@keyframes grain {
  0% {
    transform: translate(0, 0);
  }

  20% {
    transform: translate(4%, -5%);
  }

  40% {
    transform: translate(-3%, 6%);
  }

  60% {
    transform: translate(5%, 2%);
  }

  80% {
    transform: translate(-4%, -3%);
  }

  100% {
    transform: translate(2%, 5%);
  }
}

/* ── UTILITIES ──────────────────────────────────────────────── */
.red {
  color: var(--red);
}

.section {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--section-pad) clamp(24px, 6vw, 100px);
}

.section-label {
  font-family: var(--font-body);
  font-size: clamp(10px, 1.1vw, 12px);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.section-giant-title {
  font-family: var(--font-display);
  font-size: clamp(72px, 13vw, 190px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: 0.16em;
  padding: 14px 34px;
  border: 1.5px solid;
  transition: all 0.4s var(--ease-cinema);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-101%);
  transition: transform 0.5s var(--ease-cinema);
}

.btn:hover::before {
  transform: translateX(0);
}

.btn-primary {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.btn-primary::before {
  background: #c00;
}

.btn-primary:hover {
  box-shadow: 0 0 40px var(--red-glow);
  letter-spacing: 0.23em;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--off-white);
}

.btn-ghost::before {
  background: rgba(255, 255, 255, 0.05);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-xl {
  font-size: clamp(15px, 1.9vw, 21px);
  padding: 20px 58px;
  letter-spacing: 0.2em;
}

/* ══════════════════════════════════════════════════════════════
   MAIN NAV HEADER — Layer 1
══════════════════════════════════════════════════════════════ */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  transition: height 0.4s var(--ease-cinema), background 0.4s var(--ease-cinema);
}

.main-header.scrolled {
  height: 56px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
}

.main-header-inner {
  height: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 30px);
  letter-spacing: 0.06em;
  color: var(--red);
  transition: letter-spacing 0.35s var(--ease-cinema), opacity 0.3s;
  line-height: 1;
}

.header-logo:hover {
  letter-spacing: 0.1em;
  opacity: 0.85;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
}

.header-nav-link {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.3vw, 16px);
  letter-spacing: 0.12em;
  color: #1a1a1a;
  position: relative;
  transition: color 0.3s;
}

.header-nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-cinema);
}

.header-nav-link:hover {
  color: var(--red);
}

.header-nav-link:hover::after {
  transform: scaleX(1);
}

.header-nav-cta {
  font-family: var(--font-display);
  font-size: clamp(12px, 1.2vw, 14px);
  letter-spacing: 0.18em;
  color: var(--white);
  background: var(--red);
  padding: 9px 22px;
  transition: background 0.3s, box-shadow 0.3s, letter-spacing 0.3s var(--ease-cinema);
}

.header-nav-cta:hover {
  background: #c00;
  box-shadow: 0 4px 20px rgba(255, 45, 45, 0.4);
  letter-spacing: 0.22em;
}

.header-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
}

.header-menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #1a1a1a;
  transition: transform 0.35s var(--ease-cinema), opacity 0.3s;
}

/* ══════════════════════════════════════════════════════════════
   TICKER BAND — Layer 2
══════════════════════════════════════════════════════════════ */
.ticker-band {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  height: var(--ticker-h);
  z-index: 999;
  overflow: hidden;
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
  transition: top 0.4s var(--ease-cinema);
}

/* When header shrinks */
.main-header.scrolled~.ticker-band {
  top: 56px;
}

.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
}

.ticker-inner {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker-inner span {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.8vw, 20px);
  letter-spacing: 0.12em;
  color: var(--red);
  padding: 0 32px;
  display: inline-block;
}

.ticker-inner span::after {
  content: '·';
  margin-left: 32px;
  color: rgba(255, 45, 45, 0.28);
}

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding-top: var(--header-total);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--black);
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: transform;
}

.layer-deep {
  background: radial-gradient(ellipse 80% 60% at 50% 50%, #1a0000 0%, transparent 70%);
  opacity: 0.7;
}

.layer-mid {
  background: radial-gradient(ellipse 50% 40% at 50% 55%, rgba(255, 45, 45, 0.07) 0%, transparent 65%);
}

.layer-near {
  background: linear-gradient(to bottom, transparent 55%, rgba(0, 0, 0, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1100px;
  padding: 0 clamp(24px, 6vw, 80px);
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: clamp(11px, 1.3vw, 13px);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
}

/* Hero title — glow lives on ::before pseudo, NOT clipped by overflow */
.hero-title-wrap {
  margin-bottom: 0.5rem;
  padding: 0.25em 0 0.35em;
  position: relative;
}

.hero-title-wrap::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(950px, 140vw);
  height: min(520px, 85vw);
  background: radial-gradient(ellipse 55% 50% at 50% 50%,
      rgba(255, 45, 45, 0.38) 0%,
      rgba(255, 45, 45, 0.12) 42%,
      transparent 72%);
  filter: blur(52px);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.01s;
}

.hero-title-wrap.glow-visible::before {
  opacity: 1;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(100px, 22vw, 340px);
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: var(--red);
  display: block;
  position: relative;
  z-index: 1;
  clip-path: inset(0 0 100% 0);
  will-change: clip-path;
  text-shadow: 0 2px 20px rgba(255, 45, 45, 0.5);
}

.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.8vw, 50px);
  letter-spacing: 0.08em;
  color: var(--off-white);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  will-change: transform, opacity;
}

.hero-desc {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(14px, 1.7vw, 19px);
  color: var(--muted);
  margin-bottom: 3.5rem;
  opacity: 0;
  transform: translateY(30px);
  will-change: transform, opacity;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  will-change: transform, opacity;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  color: var(--muted);
  z-index: 4;
}

.scroll-line {
  width: 1px;
  height: 55px;
  background: linear-gradient(to bottom, transparent, var(--muted));
  animation: line-pulse 2.2s ease-in-out infinite;
}

.hero-scroll-hint span {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.4em;
}

@keyframes line-pulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(1);
  }

  50% {
    opacity: 1;
    transform: scaleY(1.15);
  }
}

/* ══════════════════════════════════════════════════════════════
   MANUAL SECTION — Numbered Blocks
══════════════════════════════════════════════════════════════ */
.manual-section {
  background: var(--black);
  position: relative;
}

.manual-intro-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--section-pad) clamp(24px, 6vw, 100px) 0;
}

.manual-main-title {
  font-size: clamp(52px, 10vw, 140px);
  line-height: 0.95;
  margin-bottom: 1.5rem;
}

.manual-subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(15px, 1.9vw, 21px);
  color: var(--muted);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 0;
}

.manual-blocks {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(40px, 6vh, 80px) clamp(24px, 6vw, 100px) var(--section-pad);
}

.manual-block {
  position: relative;
  padding: clamp(36px, 5.5vh, 70px) 0;
  opacity: 0;
  transform: translateY(50px);
  will-change: transform, opacity;
}

.manual-block-inner {
  display: flex;
  align-items: flex-start;
  gap: clamp(24px, 4vw, 70px);
}

.manual-block-num {
  font-family: var(--font-display);
  font-size: clamp(12px, 1.3vw, 15px);
  letter-spacing: 0.3em;
  color: var(--muted);
  padding-top: 10px;
  flex-shrink: 0;
  width: 36px;
}

.manual-block-body {
  flex: 1;
}

.manual-block-heading {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 150px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin-bottom: 0.9rem;
}

.manual-block-text {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(15px, 1.9vw, 22px);
  color: var(--muted);
  max-width: 620px;
  line-height: 1.65;
}

.manual-block-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--muted-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease-cinema);
}

.manual-block.revealed .manual-block-line {
  transform: scaleX(1);
}

/* ══════════════════════════════════════════════════════════════
   WHAT IS LOCK IN. — Cinematic Story
══════════════════════════════════════════════════════════════ */
.whatis-section {
  background: var(--surface);
  border-top: 1px solid var(--muted-2);
  position: relative;
  transition: background-color 0.8s ease;
}

.whatis-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(150px, 30vw, 400px);
  color: rgba(255, 255, 255, 0.015);
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
  user-select: none;
}

.whatis-inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(80px, 15vh, 200px) clamp(24px, 6vw, 100px);
  text-align: center;
}

.whatis-label {
  margin-bottom: 2rem;
}

.whatis-title {
  font-family: var(--font-display);
  font-size: clamp(60px, 11vw, 160px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin-bottom: clamp(120px, 20vh, 250px);
}

.whatis-story {
  display: grid;
  place-items: center;
  min-height: 60vh;
  margin-bottom: 10vh;
}

.ws-group {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vh, 32px);
  width: 100%;
  opacity: 0;
  visibility: hidden;
  will-change: opacity, transform, filter, visibility;
}

.ws-line {
  font-family: var(--font-body);
  font-size: clamp(20px, 2.6vw, 36px);
  line-height: 1.6;
  color: var(--off-white);
  margin: 0;
}

.ws-line--lead {
  font-size: clamp(22px, 3vw, 42px);
}

.ws-line--accent {
  font-style: italic;
  color: var(--off-white);
}

.ws-line--muted {
  color: var(--muted);
}

.ws-line--pause {
  font-weight: 700;
  margin: clamp(12px, 2.5vh, 24px) 0;
}

.ws-line--emphasis {
  font-style: italic;
  font-weight: 700;
  color: var(--red);
  font-size: clamp(24px, 3.2vw, 46px);
}

.ws-line--small {
  font-size: clamp(16px, 2vw, 24px);
  color: var(--muted);
  margin-top: clamp(12px, 2.5vh, 24px);
}

/* ══════════════════════════════════════════════════════════════
   FORMATS
══════════════════════════════════════════════════════════════ */
.formats-section {
  background: var(--off-black);
  border-top: 1px solid var(--muted-2);
}

.formats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: clamp(30px, 4vh, 60px);
}

.format-card {
  position: relative;
  background: var(--surface);
  padding: clamp(36px, 4.5vw, 60px) clamp(22px, 3.5vw, 44px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid transparent;
  opacity: 0;
  transform: translateY(44px);
  transition: background 0.5s var(--ease-cinema),
    transform 0.45s var(--ease-cinema);
}

.format-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255, 45, 45, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.format-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 3px 10px;
  align-self: flex-start;
}

.format-badge--soon {
  color: var(--muted);
  border-color: var(--muted-2);
}

.format-active {
  border-color: rgba(255, 45, 45, 0.18);
  background: #0e0000;
}

.format-active:hover {
  background: #130000;
  border-color: rgba(255, 45, 45, 0.4);
  box-shadow: 0 0 50px rgba(255, 45, 45, 0.1), inset 0 0 30px rgba(255, 45, 45, 0.04);
  transform: translateY(-5px) !important;
}

.format-coming {
  opacity: 0.55;
}

.format-coming:hover {
  opacity: 0.75;
}

.format-icon {
  height: 100px;
  display: flex;
  align-items: center;
}

.format-icon svg {
  height: 82px;
  filter: drop-shadow(0 0 18px rgba(255, 45, 45, 0.28));
}

/* 3D Book */
.format-book-3d-wrap {
  perspective: 600px;
  height: 100px;
}

.book-3d {
  width: 68px;
  height: 92px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-26deg) rotateX(5deg);
  transition: transform 0.65s var(--ease-cinema);
}

.book-3d--large {
  width: 78px;
  height: 102px;
}

.format-card:hover .book-3d {
  transform: rotateY(-16deg) rotateX(3deg) scale(1.05);
}

.book-face {
  position: absolute;
  backface-visibility: hidden;
}

.book-cover {
  width: 68px;
  height: 92px;
  background: #1c1c1c;
  border: 1px solid #333;
  left: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(5px);
}

.book-cover--hard {
  background: #111;
  border: 1px solid #444;
  width: 78px;
  height: 102px;
}

.book-cover-text {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--red);
  writing-mode: vertical-lr;
}

.book-spine {
  width: 9px;
  height: 92px;
  background: #242424;
  left: 0;
  transform: rotateY(-90deg) translateZ(5px);
  transform-origin: left;
}

.book-spine--hard {
  background: #1d1d1d;
  height: 102px;
  width: 11px;
}

.book-page {
  width: 66px;
  height: 90px;
  background: #282828;
  left: 6px;
  top: 1px;
  transform: translateZ(-3px);
}

.format-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 44px);
  letter-spacing: 0.04em;
  color: var(--off-white);
  line-height: 1;
}

.format-sub {
  font-family: var(--font-body);
  font-size: clamp(12px, 1.4vw, 15px);
  color: var(--red);
  font-weight: 700;
}

.format-desc {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(11px, 1.2vw, 14px);
  color: var(--muted);
  flex-grow: 1;
}

.format-cta {
  font-family: var(--font-display);
  font-size: clamp(11px, 1.3vw, 14px);
  letter-spacing: 0.16em;
  color: var(--red);
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 45, 45, 0.14);
  transition: letter-spacing 0.3s var(--ease-cinema);
}

.format-active:hover .format-cta {
  letter-spacing: 0.26em;
}

/* ══════════════════════════════════════════════════════════════
   RESOURCES
══════════════════════════════════════════════════════════════ */
.resources-section {
  background: var(--black);
  border-top: 1px solid var(--muted-2);
}

.resources-title {
  margin-bottom: 0.8rem;
}

.resources-sub {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(13px, 1.7vw, 17px);
  color: var(--muted);
  margin-bottom: clamp(44px, 6vh, 88px);
}

.resources-list {
  display: flex;
  flex-direction: column;
}

.resource-category {
  border-top: 1px solid var(--muted-2);
  padding: clamp(28px, 4vh, 56px) 0;
  opacity: 0;
  transform: translateX(-28px);
}

.resource-category:last-child {
  border-bottom: 1px solid var(--muted-2);
}

.resource-cat-label {
  font-family: var(--font-display);
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 0.38em;
  color: var(--red);
  margin-bottom: 1.4rem;
}

.resource-items {
  display: flex;
  flex-direction: column;
}

.resource-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.35s var(--ease-cinema);
  position: relative;
}

.resource-item::before {
  content: '';
  position: absolute;
  left: -18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s var(--ease-cinema);
}

.resource-item:hover {
  transform: translateX(11px);
}

.resource-item:hover::before {
  transform: scaleY(1);
}

.resource-item:last-child {
  border-bottom: none;
}

.resource-name {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.9vw, 21px);
  color: var(--off-white);
  transition: text-decoration 0s;
}

.resource-item:hover .resource-name {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: rgba(255, 45, 45, 0.4);
}

.resource-arrow {
  font-size: 17px;
  color: var(--muted);
  transition: color 0.3s, transform 0.3s var(--ease-cinema);
}

.resource-item:hover .resource-arrow {
  color: var(--red);
  transform: translate(4px, -4px);
}

/* ══════════════════════════════════════════════════════════════
   CURRENT — System Dashboard
══════════════════════════════════════════════════════════════ */
.current-section {
  background: var(--surface);
  border-top: 1px solid var(--muted-2);
}

.system-modules {
  margin-top: clamp(36px, 5.5vh, 72px);
  border-top: 1px solid var(--muted-2);
}

.sys-module {
  border-bottom: 1px solid var(--muted-2);
  opacity: 0;
  transform: translateY(36px);
  will-change: transform, opacity;
  position: relative;
  transition: background 0.35s var(--ease-cinema);
}

.sys-module::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s var(--ease-cinema);
}

.sys-module:hover::before {
  transform: scaleY(1);
}

.sys-module:hover {
  background: rgba(255, 45, 45, 0.025);
}

.sys-module-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(26px, 4vh, 48px) clamp(0px, 2vw, 36px) clamp(26px, 4vh, 48px) clamp(0px, 2vw, 28px);
}

.sys-module-left {
  display: flex;
  align-items: flex-start;
  gap: clamp(18px, 2.8vw, 48px);
}

.sys-index {
  font-family: var(--font-display);
  font-size: clamp(11px, 1.3vw, 14px);
  letter-spacing: 0.25em;
  color: var(--muted);
  padding-top: 7px;
  flex-shrink: 0;
}

.sys-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.2vw, 62px);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--off-white);
  margin-bottom: 7px;
}

.sys-desc {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(12px, 1.3vw, 15px);
  color: var(--muted);
  line-height: 1.65;
}

.sys-status {
  font-family: var(--font-display);
  font-size: clamp(11px, 1.4vw, 14px);
  letter-spacing: 0.22em;
  padding: 9px 22px;
  border: 1px solid;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.35s var(--ease-cinema);
}

.sys-status--live {
  color: var(--red);
  border-color: rgba(255, 45, 45, 0.28);
  background: rgba(255, 45, 45, 0.05);
}

.sys-status--live:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 0 28px var(--red-glow);
}

.sys-status--active {
  color: #00c853;
  border-color: rgba(0, 200, 83, 0.28);
  background: rgba(0, 200, 83, 0.05);
  font-family: var(--font-display);
  font-size: clamp(11px, 1.4vw, 14px);
  letter-spacing: 0.22em;
}

.sys-status--active:hover {
  background: rgba(0, 200, 83, 0.08);
  box-shadow: 0 0 24px rgba(0, 200, 83, 0.18);
}

.sys-status--expanding {
  color: #ffc400;
  border-color: rgba(255, 196, 0, 0.28);
  background: rgba(255, 196, 0, 0.05);
}

.status-arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease-cinema);
}

.sys-status:hover .status-arrow {
  transform: translateX(5px);
}

/* ══════════════════════════════════════════════════════════════
   FUTURE
══════════════════════════════════════════════════════════════ */
.future-section {
  background: var(--black);
  border-top: 1px solid var(--muted-2);
}

.future-section .section-giant-title {
  opacity: 0.65;
}

.future-items {
  margin-top: clamp(36px, 5.5vh, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.future-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  opacity: 0;
  transform: translateX(-36px);
  will-change: transform, opacity;
}

.future-item-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: clamp(22px, 3.2vh, 44px) 0;
  transition: padding-left 0.4s var(--ease-cinema);
}

.future-item:hover .future-item-inner {
  padding-left: 18px;
}

.future-name {
  font-family: var(--font-display);
  font-size: clamp(30px, 5.2vw, 76px);
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.35);
  flex: 1;
  transition: color 0.4s var(--ease-cinema);
}

.future-item:hover .future-name {
  color: rgba(255, 255, 255, 0.72);
}

.future-desc {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(13px, 1.5vw, 17px);
  color: rgba(255, 255, 255, 0.18);
  flex: 1;
  transition: color 0.4s var(--ease-cinema);
}

.future-item:hover .future-desc {
  color: rgba(255, 255, 255, 0.38);
}

.future-tag {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--muted);
  border: 1px solid var(--muted-2);
  padding: 3px 11px;
  flex-shrink: 0;
}

.future-item--more .future-name {
  color: rgba(255, 45, 45, 0.55);
}

/* ══════════════════════════════════════════════════════════════
   FINAL CTA
══════════════════════════════════════════════════════════════ */
.cta-section {
  background: var(--black);
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--muted-2);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(255, 45, 45, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section::after {
  content: 'LOCK IN.';
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(140px, 28vw, 440px);
  color: rgba(255, 45, 45, 0.025);
  letter-spacing: -0.02em;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  white-space: nowrap;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(60px, 9vh, 110px) clamp(24px, 6vw, 80px);
}

.cta-eyebrow {
  font-family: var(--font-body);
  font-size: clamp(10px, 1.2vw, 13px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.8rem;
  opacity: 0;
  transform: translateY(20px);
}

.cta-giant {
  font-family: var(--font-display);
  font-size: clamp(58px, 11.5vw, 170px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: var(--off-white);
  margin-bottom: 1.8rem;
  opacity: 0;
  transform: translateY(40px);
}

.cta-body {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(14px, 1.9vw, 21px);
  color: var(--muted);
  margin-bottom: 3.5rem;
  opacity: 0;
  transform: translateY(28px);
}

#cta-join {
  opacity: 0;
  transform: translateY(28px);
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--black);
  border-top: 1px solid var(--muted-2);
  padding: clamp(48px, 7.5vh, 96px) clamp(24px, 6vw, 100px);
  position: relative;
  z-index: 2;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: clamp(30px, 5.5vw, 76px);
  letter-spacing: 0.05em;
  color: var(--red);
}

.footer-url {
  font-family: var(--font-body);
  font-size: clamp(12px, 1.5vw, 17px);
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ══════════════════════════════════════════════════════════════
   MODAL
══════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: opacity 0.4s var(--ease-cinema);
}

.modal-overlay.open {
  pointer-events: all;
  opacity: 1;
}

.modal-box {
  background: var(--surface-2);
  border: 1px solid var(--muted-2);
  padding: clamp(36px, 5.5vw, 72px);
  max-width: 540px;
  width: 100%;
  position: relative;
  transform: translateY(38px) scale(0.96);
  transition: transform 0.52s var(--ease-cinema);
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 17px;
  color: var(--muted);
  transition: color 0.3s;
  line-height: 1;
}

.modal-close:hover {
  color: var(--white);
}

.modal-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.modal-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.5vw, 64px);
  line-height: 0.95;
  margin-bottom: 2.4rem;
}

.modal-links {
  display: flex;
  flex-direction: column;
}

.modal-link {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 19px 0;
  border-top: 1px solid var(--muted-2);
  transition: all 0.35s var(--ease-cinema);
}

.modal-link:last-child {
  border-bottom: 1px solid var(--muted-2);
}

.modal-link:hover {
  padding-left: 9px;
}

.modal-link-icon {
  font-size: 19px;
  color: var(--red);
  flex-shrink: 0;
}

.modal-link-title {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(12px, 1.4vw, 15px);
  color: var(--muted);
  margin-bottom: 2px;
}

.modal-link-sub {
  font-family: var(--font-display);
  font-size: clamp(17px, 2.4vw, 26px);
  letter-spacing: 0.05em;
  color: var(--off-white);
}

.modal-link-arrow {
  margin-left: auto;
  font-size: 19px;
  color: var(--muted);
  transition: color 0.3s, transform 0.3s var(--ease-cinema);
}

.modal-link:hover .modal-link-arrow {
  color: var(--red);
  transform: translateX(5px);
}

/* ══════════════════════════════════════════════════════════════
   JOIN MODAL
══════════════════════════════════════════════════════════════ */
.join-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-cinema);
}

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

.join-modal {
  background: #0A0A0A;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(36px, 5.5vw, 64px);
  max-width: 500px;
  width: 100%;
  position: relative;
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  transition: transform 0.6s var(--ease-cinema), opacity 0.6s var(--ease-cinema);
}

.join-modal-overlay.open .join-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.join-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 20px;
  color: var(--muted);
  transition: color 0.3s;
  line-height: 1;
  padding: 8px;
}

.join-close:hover {
  color: var(--white);
}

.join-content {
  display: block;
  transition: opacity 0.4s;
}

.join-content.hidden {
  display: none;
}

.join-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 60px);
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 0.5rem;
}

.join-sub {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(14px, 1.8vw, 18px);
  color: var(--muted);
  margin-bottom: 2rem;
}

.join-note {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(12px, 1.4vw, 14px);
  color: var(--muted-2);
  margin-top: 1rem;
}

.join-benefits {
  list-style: none;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.join-benefits li {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--off-white);
  padding-left: 20px;
  position: relative;
}

.join-benefits li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: bold;
}

.join-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.join-input {
  background: #111;
  border: 1px solid #333;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 16px 20px;
  width: 100%;
  transition: border-color 0.3s var(--ease-cinema), box-shadow 0.3s var(--ease-cinema);
  outline: none;
}

.join-input::placeholder {
  color: var(--muted);
}

.join-input:focus {
  border-color: rgba(255, 45, 45, 0.5);
  box-shadow: 0 0 15px rgba(255, 45, 45, 0.15);
}

.join-submit {
  width: 100%;
  justify-content: center;
  background: var(--red);
  color: var(--black);
  border: none;
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  font-size: 16px;
  padding: 18px 0;
  cursor: pointer;
  transition: all 0.4s var(--ease-cinema);
}

.join-submit:hover {
  background: #ff4040;
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(255, 45, 45, 0.3);
  letter-spacing: 0.22em;
}

.join-success {
  display: none;
  text-align: center;
  padding: 2rem 0;
  opacity: 0;
}

.join-success.active {
  display: block;
  animation: fadeIn 0.6s var(--ease-cinema) forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE SIDEBAR
══════════════════════════════════════════════════════════════ */
.mobile-sidebar-overlay {
  position: fixed;
  inset: 0;
  z-index: 1001; /* Above header */
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-cinema);
}

.mobile-sidebar-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(85vw, 400px);
  background: var(--surface);
  border-left: 1px solid var(--muted-2);
  z-index: 1002;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-cinema);
  display: flex;
  flex-direction: column;
}

.mobile-sidebar.open {
  transform: translateX(0);
}

.mobile-sidebar-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(20px, 4vw, 40px);
}

.mobile-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.mobile-sidebar-logo {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.06em;
  color: var(--red);
  line-height: 1;
}

.mobile-sidebar-close {
  font-size: 24px;
  color: var(--muted);
  transition: color 0.3s;
  padding: 8px;
  margin: -8px;
}

.mobile-sidebar-close:hover {
  color: var(--white);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.04em;
  color: var(--off-white);
  transition: color 0.3s, padding-left 0.3s var(--ease-cinema);
}

.mobile-nav-link:hover, .mobile-nav-link:active {
  color: var(--red);
  padding-left: 10px;
}

.mobile-nav-cta {
  margin-top: 2rem;
  text-align: center;
  justify-content: center;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .formats-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .sys-module-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
  }

  .future-item-inner {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .future-desc {
    flex: 0 0 100%;
  }

  .header-nav {
    display: none;
  }

  .header-menu-toggle {
    display: flex;
  }

  .manual-block-inner {
    flex-direction: column;
    gap: 10px;
  }

  .manual-block-num {
    padding-top: 0;
  }
}

@media (max-width: 600px) {
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .manual-block-heading {
    font-size: clamp(46px, 16vw, 90px);
  }

  .story-line {
    font-size: clamp(16px, 5vw, 22px);
  }

  :root {
    --nav-h: 58px;
    --ticker-h: 36px;
  }
}

/* ── SELECTION & SCROLLBAR ───────────────────────────────────── */
::selection {
  background: var(--red);
  color: var(--white);
}

::-webkit-scrollbar {
  width: 2px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: var(--red);
}