/* ================================================
   BOTS & PRAYERS — Investor Pitch Site
   Gothic Digital Aesthetic
   Created by Malice Arts
   ================================================ */

/* ================================================
   CUSTOM PROPERTIES
   ================================================ */
:root {
  /* Colours */
  --bg:            #080808;
  --bg-mid:        #0d0d0d;
  --bg-surface:    #131313;
  --bg-raised:     #1a1a1a;

  --text:          #e2d9cc;
  --text-muted:    #7a7068;
  --text-dim:      #4a4540;

  --gold:          #c9a84c;
  --gold-dim:      #6b5928;
  --gold-glow:     rgba(201, 168, 76, 0.12);

  --teal:          #4ecdc4;
  --teal-dim:      rgba(78, 205, 196, 0.15);

  --red:           #a83232;
  --red-dim:       rgba(168, 50, 50, 0.08);
  --green-dim:     rgba(60, 100, 60, 0.08);

  --border:        rgba(201, 168, 76, 0.1);
  --border-mid:    rgba(201, 168, 76, 0.2);
  --border-bright: rgba(201, 168, 76, 0.4);

  /* Typography */
  --f-display: 'Cinzel', 'Georgia', serif;
  --f-serif:   'EB Garamond', 'Georgia', serif;
  --f-mono:    'Space Mono', 'Courier New', monospace;
  --f-sans:    'Inter', system-ui, sans-serif;

  /* Layout */
  --max-w: 1200px;
  --pad:   clamp(1.25rem, 4vw, 2.5rem);

  /* Motion */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t:    0.3s;
  --t-lg: 0.6s;
}

/* ================================================
   RESET
   ================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-serif);
  font-size: 1rem;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
p { font-size: 1.1rem; }
em { color: var(--gold); font-style: italic; }

/* ================================================
   LOADING SCREEN
   ================================================ */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.8s ease 0.2s, visibility 0.8s ease 0.2s;
  visibility: visible;
}

#loading-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
  max-width: 300px;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 2px solid var(--gold-dim);
  border-top-color: var(--gold);
  border-radius: 50%;
  margin: 0 auto 2rem;
  animation: spin 1.2s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 2rem;
  text-transform: uppercase;
  animation: pulse-text 1.5s ease-in-out infinite;
}

@keyframes pulse-text {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.loading-bar {
  width: 100%;
  height: 2px;
  background: var(--gold-dim);
  border-radius: 1px;
  overflow: hidden;
}

.loading-progress {
  height: 100%;
  background: var(--gold);
  border-radius: 1px;
  animation: progress-bar 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--gold);
}

@keyframes progress-bar {
  0% { width: 0%; }
  50% { width: 100%; }
  100% { width: 0%; }
}

/* ================================================
   PASSWORD GATE
   ================================================ */
#password-gate {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.8s ease 0.2s, visibility 0.8s ease 0.2s;
  visibility: visible;
  pointer-events: auto;
}

#password-gate.unlocked {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.password-overlay {
  position: absolute;
  inset: 0;
  background: var(--bg);
  z-index: -1;
}

.password-modal {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  padding: 0 1.5rem;
}

.password-content {
  text-align: center;
  padding: 3rem 2.5rem;
  background: var(--bg-raised);
  border: 1px solid var(--border-mid);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
              inset 0 1px 0 rgba(201, 168, 76, 0.08);
}

.password-content h2 {
  font-family: var(--f-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.password-content > p {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

#password-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#password-input {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--f-mono);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  padding: 0.9rem 1rem;
  transition: border-color var(--t) var(--ease),
              box-shadow var(--t) var(--ease);
}

#password-input::placeholder {
  color: var(--text-dim);
}

#password-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold-glow), inset 0 0 8px rgba(201, 168, 76, 0.04);
}

.password-btn {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--bg);
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.9rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  transition: all var(--t) var(--ease);
}

.password-btn:hover {
  background: #d4b856;
  border-color: #d4b856;
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.2);
  transform: translateY(-2px);
}

.password-btn:active {
  transform: translateY(0);
}

.password-error {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-top: 1rem;
  min-height: 1rem;
  opacity: 0;
  transition: opacity var(--t) var(--ease);
}

.password-error.show {
  opacity: 1;
}

/* ================================================
   TYPOGRAPHY UTILITIES
   ================================================ */
.mono {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.body {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  font-family: var(--f-serif);
}

.body-lg {
  font-size: 1.35rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 1.5rem;
  font-family: var(--f-serif);
}

.emphasis {
  color: var(--gold);
  font-style: italic;
}

/* ================================================
   LAYOUT
   ================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 2;
}

.section-dark { background: var(--bg); padding: 6rem 0; position: relative; overflow: hidden; }
.section-mid  { background: var(--bg-mid); padding: 6rem 0; position: relative; overflow: hidden; }

/* Section labels */
.section-label {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  color: var(--gold);
}
.label-rule {
  flex: 1;
  height: 1px;
  background: var(--border-mid);
}
.label-center {
  justify-content: center;
  margin-bottom: 2rem;
}
.label-tag {
  color: var(--gold);
  white-space: nowrap;
}

/* Section titles */
.section-title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.9rem 2.25rem;
  border: 1px solid;
  cursor: pointer;
  transition: background var(--t) var(--ease),
              color var(--t) var(--ease),
              border-color var(--t) var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}
.btn-primary:hover {
  background: transparent;
  color: var(--gold);
}

.btn-secondary {
  background: transparent;
  border-color: var(--text-muted);
  color: var(--text-muted);
}
.btn-secondary:hover {
  border-color: var(--text);
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-mid);
  color: var(--text-muted);
}
.btn-ghost:hover {
  border-color: var(--border-bright);
  color: var(--text);
}

.btn-lg {
  padding: 1.1rem 3rem;
  font-size: 0.75rem;
}

/* ================================================
   NAVIGATION
   ================================================ */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem var(--pad);
  transition: background var(--t), border-bottom var(--t);
}

#main-nav.scrolled {
  background: rgba(8, 8, 8, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: 0.08em;
}
.logo-amp {
  color: var(--gold);
  font-style: italic;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--t);
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  border: 1px solid var(--gold-dim) !important;
  padding: 0.5rem 1.25rem;
  color: var(--gold) !important;
  transition: background var(--t) !important, border-color var(--t) !important;
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--bg) !important;
  border-color: var(--gold) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: var(--t);
}

/* ================================================
   HERO
   ================================================ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Animated grid background */
.hero-bg { position: absolute; inset: 0; z-index: 0; }

/* Background video */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: blur(2px);
  transform: scale(1.02); /* prevent blur edge fringing */
}

/* Dark overlay on top of the video */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 1;
}

.hero-grid {
  position: absolute;
  inset: -60px;
  z-index: 2;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.045) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: grid-drift 25s linear infinite;
}
@keyframes grid-drift {
  from { transform: translateY(0); }
  to   { transform: translateY(60px); }
}

/* CRT scanlines */
.hero-scanlines {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 3px,
    rgba(0, 0, 0, 0.04) 3px,
    rgba(0, 0, 0, 0.04) 4px
  );
  pointer-events: none;
}

/* Radial vignette */
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--pad);
  max-width: 880px;
}

/* ================================================
   SECTION BACKGROUND VIDEOS
   ================================================ */
.section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.02);
}

.section-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 1;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.eyebrow-sep { opacity: 0.4; }

.hero-title {
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 12vw, 8.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25em;
  margin-bottom: 1.75rem;
  text-shadow: 0 0 80px rgba(201, 168, 76, 0.15),
               0 0 160px rgba(201, 168, 76, 0.06);
  flex-wrap: nowrap;
}
.title-amp {
  color: var(--gold);
  font-style: italic;
  font-size: 0.65em;
}
/* Glitch effect for hero title */
.hero-title.glitch { animation: glitch 4s ease-in-out infinite; }
@keyframes glitch {
  0%, 87%, 100% { clip-path: none; transform: none; }
  88% {
    clip-path: polygon(0 8%, 100% 8%, 100% 22%, 0 22%);
    transform: translateX(-4px);
  }
  89% {
    clip-path: polygon(0 55%, 100% 55%, 100% 72%, 0 72%);
    transform: translateX(4px);
  }
  90% {
    clip-path: polygon(0 82%, 100% 82%, 100% 92%, 0 92%);
    transform: translateX(-2px);
  }
  91% { clip-path: none; transform: none; }
}

.hero-sub {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2.5vw, 1.45rem);
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.hero-tagline {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.65;
  margin-bottom: 3rem;
}

.hero-ctas {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Corner stats */
.hero-corner {
  position: absolute;
  bottom: 3.5rem;
  z-index: 2;
}
.hero-corner--left { left: 3.5rem; }
.hero-corner--right { right: 3.5rem; text-align: right; }

.corner-num {
  display: block;
  font-family: var(--f-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.corner-label {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  max-width: 110px;
  line-height: 1.4;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  opacity: 0.4;
}
.scroll-bar {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-pulse 2.4s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}

/* ================================================
   THE CRISIS
   ================================================ */
.crisis-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: start;
}

.crisis-data {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-top: 0.5rem;
}

.data-point {
  border-left: 2px solid var(--gold-dim);
  padding-left: 1.5rem;
}

.data-val {
  font-family: var(--f-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.data-desc {
  font-family: var(--f-sans);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ================================================
   THE EXHIBITION
   ================================================ */
.exhibition-header {
  max-width: 780px;
  margin-bottom: 4rem;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 5rem;
}

.pillar {
  background: var(--bg-mid);
  padding: 2rem 1.75rem;
  transition: background var(--t);
}
.pillar:hover { background: var(--bg-surface); }

.pillar-glyph {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  display: block;
  filter: grayscale(0.3);
}

.pillar h3 {
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.pillar p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.exhibition-quote {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 0 1rem;
}
.exhibition-quote blockquote {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.exhibition-quote cite {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.12em;
}

/* ================================================
   THE ROOMS
   ================================================ */
/* Rooms intro block */
.rooms-intro-block {
  max-width: 900px;
  margin-bottom: 4rem;
}
.rooms-intro-block .body-lg {
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.rooms-intro-block .body {
  color: var(--text-muted);
  max-width: 720px;
}

/* Journey stages visualization */
.rooms-journey-stages {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-bottom: 5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.journey-stage {
  text-align: center;
  padding: 1.5rem;
  border: 1px solid var(--border-mid);
  background: rgba(201, 168, 76, 0.04);
  transition: all var(--t);
  position: relative;
}
.journey-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(201, 168, 76, 0.08);
  opacity: 0;
  transition: opacity var(--t);
  pointer-events: none;
}
.journey-stage:hover::after {
  opacity: 1;
}
.journey-stage:hover {
  border-color: var(--gold);
}

.stage-label {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.stage-name {
  display: block;
  font-family: var(--f-display);
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.stage-desc {
  display: block;
  font-family: var(--f-sans);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Rooms grid */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}

.room-card {
  background: var(--bg);
  padding: 3.5rem 3rem;
  position: relative;
  transition: all var(--t-lg) var(--ease);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

/* Sanctuary card spans full width */
.room-card[data-tag="SANCTUARY"] {
  grid-column: 1 / -1;
}

/* Room body — flex container to align tags at bottom */
.room-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Glowing top border accent */
.room-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-lg) var(--ease);
  box-shadow: 0 0 16px var(--gold);
}
.room-card:hover::before  { transform: scaleX(1); }
.room-card:hover {
  background: var(--bg-surface);
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6), 0 0 32px rgba(201, 168, 76, 0.15);
}

/* Room-specific styling by emotional journey */
.room-card[data-tag="SEDUCTION"],
.room-card[data-tag="REVELATION"] {
  border-left: 3px solid rgba(201, 168, 76, 0.4);
}
.room-card[data-tag="SEDUCTION"]:hover,
.room-card[data-tag="REVELATION"]:hover {
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6), 0 0 32px rgba(201, 168, 76, 0.2);
}

.room-card[data-tag="INTIMACY"],
.room-card[data-tag="COMPULSION"] {
  border-left: 3px solid rgba(201, 168, 76, 0.5);
  background: #0a0908;
}
.room-card[data-tag="INTIMACY"]:hover,
.room-card[data-tag="COMPULSION"]:hover {
  background: #0f0d0b;
}

.room-card[data-tag="GRIEF"] {
  border-left: 3px solid rgba(168, 50, 50, 0.5);
  background: #09080a;
  position: relative;
}
.room-card[data-tag="GRIEF"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top-left, rgba(168, 50, 50, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
.room-card[data-tag="GRIEF"]:hover {
  background: #0d0a0c;
  border-color: rgba(168, 50, 50, 0.8);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.8), 0 0 32px rgba(168, 50, 50, 0.1);
}

.room-card[data-tag="COMPLICITY"],
.room-card[data-tag="EXPOSURE"],
.room-card[data-tag="CONSEQUENCE"] {
  border-left: 3px solid rgba(78, 205, 196, 0.3);
}
.room-card[data-tag="COMPLICITY"]:hover,
.room-card[data-tag="EXPOSURE"]:hover,
.room-card[data-tag="CONSEQUENCE"]:hover {
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6), 0 0 32px rgba(78, 205, 196, 0.1);
}

.room-card[data-tag="CHOICE"] {
  border-left: 3px solid rgba(150, 120, 200, 0.5);
}
.room-card[data-tag="CHOICE"]:hover {
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6), 0 0 32px rgba(150, 120, 200, 0.15);
}

.room-card[data-tag="SANCTUARY"] {
  background: #08090a;
  border-left: 3px solid rgba(100, 160, 120, 0.5);
}
.room-card[data-tag="SANCTUARY"]:hover {
  background: #0a0d0b;
  border-color: rgba(100, 160, 120, 0.8);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6), 0 0 32px rgba(100, 160, 120, 0.1);
}

.room-num {
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 1.25rem;
  opacity: 0.8;
  transition: opacity var(--t);
}
.room-card:hover .room-num {
  opacity: 1;
  text-shadow: 0 0 12px var(--gold);
}

.sanctuary-num {
  color: rgba(100, 160, 120, 0.7);
}
.room-card[data-tag="SANCTUARY"]:hover .sanctuary-num {
  color: rgba(100, 160, 120, 1);
  text-shadow: 0 0 12px rgba(100, 160, 120, 0.5);
}

.room-name {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.room-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}
.room-card:hover .room-desc {
  color: var(--text);
}

.room-tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  border: 1.5px solid var(--gold-dim);
  padding: 0.4rem 0.85rem;
  background: var(--gold-glow);
  transition: all var(--t);
  text-transform: uppercase;
}
.room-card:hover .room-tag {
  background: rgba(201, 168, 76, 0.2);
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(201, 168, 76, 0.3);
}

.room-tag--sanctuary {
  color: rgba(100, 160, 120, 0.8);
  border-color: rgba(100, 160, 120, 0.4);
  background: rgba(100, 160, 120, 0.05);
}
.room-card[data-tag="SANCTUARY"]:hover .room-tag--sanctuary {
  color: rgba(100, 160, 120, 1);
  border-color: rgba(100, 160, 120, 0.7);
  background: rgba(100, 160, 120, 0.15);
  box-shadow: 0 0 16px rgba(100, 160, 120, 0.2);
}

/* ================================================
   TRACK RECORD
   ================================================ */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin: 3.5rem 0;
}

.metric {
  background: var(--bg-mid);
  padding: 2.25rem 1.75rem;
  text-align: center;
  transition: background var(--t);
}
.metric:hover { background: var(--bg-surface); }

.metric-num {
  font-family: var(--f-display);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.metric-label {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  line-height: 1.5;
}

.press-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 4rem;
}
.press-name {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-muted);
}
.press-dot { color: var(--gold-dim); }

.shows {
  margin-bottom: 3.5rem;
}
.shows-heading {
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.shows-list {
  display: flex;
  flex-direction: column;
}
.show-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}
.show-row:first-child { border-top: 1px solid var(--border); }

.show-title {
  font-family: var(--f-display);
  font-size: 0.95rem;
  color: var(--text);
  min-width: 260px;
  flex-shrink: 0;
}
.show-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.show-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: right;
}

.track-quote {
  max-width: 720px;
  padding: 3rem;
  border-left: 2px solid var(--border-mid);
}
.track-quote p { margin-bottom: 1rem; font-size: 1.05rem; color: var(--text-muted); }
.track-quote .body-lg { margin-bottom: 0; font-size: 1.2rem; }

/* ================================================
   INVESTMENT CASE
   ================================================ */
.case-intro {
  max-width: 760px;
  margin-bottom: 3.5rem;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 5rem;
}

.case-card {
  background: var(--bg);
  padding: 2.5rem;
  transition: background var(--t);
}
.case-card:hover { background: var(--bg-surface); }

.case-num {
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

.case-card h3 {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.9rem;
}

.case-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.subsection-label {
  color: var(--gold);
  margin-bottom: 1.75rem;
  display: block;
}

.why-now {
  margin-bottom: 5rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.why-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.why-arrow {
  font-family: var(--f-display);
  font-size: 1.25rem;
  color: var(--gold);
  flex-shrink: 0;
  width: 1.25rem;
  margin-top: 0.15rem;
}

.why-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Timeline */
.timeline-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
}

.tl-item {
  padding: 2rem 1.5rem 2rem 0;
  position: relative;
}
.tl-item + .tl-item { padding-left: 1.5rem; border-left: 1px solid var(--border); }

.tl-date {
  display: block;
  color: var(--gold);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  margin-bottom: 0.75rem;
}
.tl-date--future { color: var(--teal); }

.tl-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.tl-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-dim);
  position: absolute;
  top: -4px;
  left: -3px;
}
.tl-dot--active  { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.tl-dot--premiere { background: var(--gold); box-shadow: 0 0 14px var(--gold), 0 0 28px var(--gold-glow); }
.tl-dot--future  { background: var(--teal); box-shadow: 0 0 8px var(--teal); }
.tl-item:first-child .tl-dot { left: 0; }

/* ================================================
   CREATOR
   ================================================ */
.creator-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 5rem;
  align-items: start;
}

.creator-quote {
  padding: 2.25rem;
  border: 1px solid var(--border-mid);
  background: var(--gold-glow);
  margin-bottom: 1.5rem;
}
.creator-quote p {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text);
}

.malice-badge {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.badge-title { color: var(--gold); font-size: 0.75rem; }
.badge-sub {
  font-family: var(--f-sans);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.creator-works {
  padding: 1.5rem;
  border: 1px solid var(--border);
}
.works-label {
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
  font-size: 0.65rem;
}
.creator-works ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.creator-works li {
  font-family: var(--f-serif);
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.creator-works li:last-child { border-bottom: none; padding-bottom: 0; }
.works-current {
  color: var(--gold) !important;
  font-style: italic;
}

/* ================================================
   CTA SECTION
   ================================================ */
.section-cta {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}

.cta-bg { position: absolute; inset: 0; }
.cta-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin: 2rem auto 2rem;
}

.cta-inner .body-lg {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
}

.cta-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.cta-footnote {
  color: var(--text-dim);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
}

/* ================================================
   FOOTER
   ================================================ */
#footer {
  background: #050505;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

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

.footer-logo {
  font-family: var(--f-display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--text);
}
.footer-sub {
  color: var(--text-muted);
  margin-top: 0.3rem;
  font-size: 0.62rem;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}
.footer-nav a {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--t);
}
.footer-nav a:hover { color: var(--gold); }

.footer-legal { text-align: right; }
.footer-legal p {
  font-family: var(--f-mono);
  font-size: 0.58rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

/* ================================================
   SCROLL ANIMATIONS
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1000px) {
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-track { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .crisis-layout { grid-template-columns: 1fr; gap: 3rem; }
  .creator-layout { grid-template-columns: 1fr; gap: 3rem; }
  .case-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .metrics-row { grid-template-columns: repeat(2, 1fr); }
  .hero-corner { display: none; }
  .show-row { flex-wrap: wrap; gap: 0.5rem; }
  .show-title { min-width: auto; }
  .show-line { display: none; }
  .show-desc { text-align: left; }
}

@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(8, 8, 8, 0.97);
    padding: 1.5rem var(--pad);
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
  }
  .hamburger { display: flex; }

  .hero-content { padding: 0 1rem; }
  .hero-title { font-size: clamp(2rem, 10vw, 4.5rem); gap: 0.15em; }

  .rooms-grid { grid-template-columns: 1fr; }
  .rooms-journey-stages { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .timeline-track { grid-template-columns: 1fr; }
  .tl-item + .tl-item { padding-left: 0; border-left: none; padding-top: 1.5rem; border-top: 1px solid var(--border); }
  .tl-dot { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .metrics-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-legal { text-align: center; }
  .footer-nav { flex-wrap: wrap; justify-content: center; }
  .section-dark, .section-mid { padding: 4rem 0; }
  .section-cta { padding: 5rem 0; }
  .press-strip { flex-wrap: wrap; gap: 0.75rem; }
}

@media (max-width: 420px) {
  .hero-content { padding: 0 0.75rem; }
  .hero-title {
    font-size: clamp(1.4rem, 6.5vw, 3rem);
    gap: 0.08em;
    letter-spacing: 0.015em;
    flex-wrap: wrap;
    justify-content: center;
  }
  .title-amp { font-size: 0.5em; }
  .rooms-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
}

@media (max-width: 360px) {
  .hero-content { padding: 0 0.5rem; }
  .hero-title {
    font-size: clamp(1.2rem, 5.5vw, 2.5rem);
    gap: 0.05em;
    letter-spacing: 0.01em;
  }
  .title-amp { font-size: 0.45em; }
}
