:root {
  /* Refined palette — Nature meets Future (no violet) */
  --bg-deep: #020e12;
  --bg-card: rgba(255, 255, 255, 0.03);
  --cyan: #00e5ff;
  --cyan-dim: rgba(0, 229, 255, 0.15);
  --teal: #14b8a6;
  --teal-deep: #006875;
  --emerald: #10b981;
  --amber: #f59e0b;
  --white: #ffffff;
  --muted: #94a3b8;
  --font: 'Outfit', sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--white);
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  -webkit-font-smoothing: antialiased;
  cursor: none;
  -webkit-user-select: none;
  user-select: none;
}

/* --- CUSTOM CURSOR --- */
.cursor-dot {
  position: fixed; width: 8px; height: 8px;
  background: var(--cyan); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  mix-blend-mode: screen;
  box-shadow: 0 0 20px var(--cyan), 0 0 60px var(--cyan);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}
.cursor-ring {
  position: fixed; width: 40px; height: 40px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 50%; pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

/* --- CANVAS --- */
#liquid-bg {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%; z-index: 0;
}

/* --- AMBIENT PARTICLES --- */
.ambient-particles {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1; pointer-events: none;
}
.ambient-particle {
  position: absolute; width: 2px; height: 2px;
  background: var(--cyan); border-radius: 50%; opacity: 0;
  box-shadow: 0 0 6px var(--cyan);
}

/* --- PRESENTATION --- */
#presentation-container {
  position: relative; width: 100%; height: 100%; z-index: 10;
  perspective: 1200px;
}

.scene {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0; visibility: hidden; overflow: hidden;
}
.scene.active { opacity: 1; visibility: visible; z-index: 20; }

/* --- GLASS PANEL (reusable) --- */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.04);
  position: relative; overflow: hidden;
}
.glass::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.4), transparent);
  opacity: 0.6;
}

/* --- TYPOGRAPHY --- */
h1 { font-size: clamp(3rem, 6vw, 6rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 500; line-height: 1.2; margin-bottom: 1rem; }
p  { font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.6; font-weight: 300; color: var(--muted); max-width: 700px; }
.text-cyan { color: var(--cyan); text-shadow: 0 0 20px rgba(0,229,255,0.4); }
.text-emerald { color: var(--emerald); text-shadow: 0 0 20px rgba(16,185,129,0.3); }
.text-amber { color: var(--amber); text-shadow: 0 0 20px rgba(245,158,11,0.3); }

/* ============================================
   SCENE 0: EMERGENCE — Full-screen logo + title
   ============================================ */
.scene-emergence {
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
}
.emergence-logo-wrapper {
  position: relative; width: 220px; height: 220px;
  display: flex; align-items: center; justify-content: center;
}
.emergence-logo-wrapper img {
  width: 160px; height: auto; position: relative; z-index: 2;
  filter: drop-shadow(0 0 40px rgba(0,229,255,0.5));
}
.logo-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,255,0.12) 0%, transparent 70%);
  animation: pulseGlow 4s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%,-50%) scale(1.3); opacity: 1; }
}
.light-rays {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px; pointer-events: none;
}
.light-ray {
  position: absolute; top: 50%; left: 50%;
  width: 2px; height: 200px;
  background: linear-gradient(to bottom, rgba(0,229,255,0.35), transparent);
  transform-origin: top center; opacity: 0;
}
.emergence-title {
  margin-top: 4rem;
  font-size: clamp(3rem, 6vw, 5.5rem);
  text-align: center; overflow: hidden;
}
.emergence-title .word {
  display: inline-block; opacity: 0; transform: translateY(100%);
}
.emergence-subtitle {
  margin-top: 1.5rem;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 300; color: var(--muted); text-align: center; opacity: 0;
  max-width: unset; white-space: nowrap;
}

/* ============================================
   SCENE 1: FULL-BLEED IMAGE — dramatic photo
   with text overlay and gradient mask
   ============================================ */
.scene-fullbleed {
  display: flex; align-items: flex-end;
}
.fullbleed-img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  transform: scale(1.1);
}
.fullbleed-gradient {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to top,
    rgba(2, 14, 18, 1) 0%,
    rgba(2, 14, 18, 0.7) 40%,
    rgba(2, 14, 18, 0.2) 70%,
    transparent 100%
  );
  z-index: 1;
}
.fullbleed-content {
  position: relative; z-index: 2;
  padding: 5vw; max-width: 800px;
}
.fullbleed-content h1 {
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--white), var(--muted));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.fullbleed-content p { opacity: 0; }

/* ============================================
   SCENE 2: MANIFESTO — giant cascading text
   ============================================ */
.scene-manifesto {
  display: flex; align-items: center; justify-content: center;
  padding: 5vw;
}
.manifesto-container { max-width: 1400px; position: relative; }
.manifesto-line {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 300; line-height: 1.3;
  color: rgba(255,255,255,0.15);
  opacity: 0; transform: translateX(-60px);
}
.manifesto-line em {
  font-style: normal; font-weight: 700; color: var(--white);
}
.manifesto-line .glow {
  color: var(--cyan);
  text-shadow: 0 0 30px rgba(0,229,255,0.4);
}
.manifesto-accent {
  position: absolute; right: -5vw; top: 50%;
  transform: translateY(-50%);
  width: 35vw; height: 35vw;
  max-width: 500px; max-height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(20,184,166,0.2), rgba(0,229,255,0.05));
  filter: blur(60px); opacity: 0;
}

/* ============================================
   SCENE 3: SPLIT — Image left, text right
   with a diagonal glass divider
   ============================================ */
.scene-split {
  display: flex; flex-direction: row;
}
.split-image-side {
  position: relative; flex: 1; overflow: hidden;
}
.split-image-side img {
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  transform: scale(1.15);
}
/* Diagonal edge mask */
.split-image-side::after {
  content: ''; position: absolute;
  top: 0; right: -1px; width: 15%; height: 100%;
  background: linear-gradient(to right, transparent, var(--bg-deep));
  z-index: 1;
}
.split-text-side {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center; padding: 5vw;
}
.split-text-side h2 { opacity: 0; transform: translateX(40px); }
.split-text-side p { opacity: 0; transform: translateX(40px); margin-bottom: 1.5rem; }
.split-tag {
  display: inline-block;
  padding: 0.6rem 1.6rem;
  background: linear-gradient(135deg, rgba(0,229,255,0.12), rgba(20,184,166,0.08));
  border: 1px solid rgba(0,229,255,0.25);
  border-radius: 3rem;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.6rem;
  opacity: 0;
}

/* ============================================
   SCENE 4: CONSTELLATION — floating glass orbs
   ============================================ */
.scene-constellation { perspective: 1200px; }
.constellation-title {
  position: absolute; top: 8vh; left: 50%;
  transform: translateX(-50%);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500; text-align: center; opacity: 0;
  white-space: nowrap;
}
.constellation-lines {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}
.constellation-lines line {
  stroke: rgba(0,229,255,0.12); stroke-width: 1;
  stroke-dasharray: 8 8;
}
.orb {
  position: absolute;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px; padding: 3rem; width: 340px;
  opacity: 0; transform: scale(0.8); z-index: 2;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.04);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.orb::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.4), transparent);
}
.orb:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px rgba(0,229,255,0.08);
}
.orb-number {
  font-size: 4rem; font-weight: 700;
  color: var(--cyan);
  text-shadow: 0 0 30px rgba(0,229,255,0.25);
  line-height: 1; margin-bottom: 1rem;
}
.orb h3 { font-size: 1.5rem; font-weight: 500; margin-bottom: 0.8rem; }
.orb p  { font-size: 1rem; color: var(--muted); line-height: 1.5; }
.orb:nth-child(1) { top: 25vh; left: 8vw; }
.orb:nth-child(2) { top: 18vh; left: 50%; transform: translateX(-50%) scale(0.8); }
.orb:nth-child(3) { top: 25vh; right: 8vw; }

/* ============================================
   SCENE 5: COUNTER — massive animated numbers
   ============================================ */
.scene-counter {
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 5vw;
}
.counter-title { opacity: 0; margin-bottom: 4rem; text-align: center; }
.counter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4vw; width: 100%; max-width: 1200px;
}
.counter-item { text-align: center; opacity: 0; }
.counter-number {
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 700; line-height: 1;
  margin-bottom: 0.5rem;
}
.counter-number.c-cyan { color: var(--cyan); text-shadow: 0 0 40px rgba(0,229,255,0.3); }
.counter-number.c-emerald { color: var(--emerald); text-shadow: 0 0 40px rgba(16,185,129,0.3); }
.counter-number.c-amber { color: var(--amber); text-shadow: 0 0 40px rgba(245,158,11,0.3); }
.counter-label {
  font-size: 1.4rem; color: var(--muted); font-weight: 300;
}
.counter-divider {
  width: 40px; height: 2px; margin: 0.8rem auto;
  background: rgba(255,255,255,0.1);
}

/* ============================================
   SCENE 6: TIMELINE — horizontal journey
   ============================================ */
.scene-timeline {
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 5vw;
}
.timeline-title { opacity: 0; margin-bottom: 4rem; text-align: center; }
.timeline-track {
  position: relative; display: flex; gap: 0;
  align-items: flex-start; width: 90%; max-width: 1300px;
}
/* The connecting line */
.timeline-line {
  position: absolute; top: 28px; left: 5%; right: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-deep), var(--cyan), var(--emerald));
  opacity: 0; transform: scaleX(0); transform-origin: left;
}
.timeline-node {
  flex: 1; text-align: center; position: relative;
  padding-top: 60px; opacity: 0; transform: translateY(30px);
}
.timeline-dot {
  position: absolute; top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 15px rgba(0,229,255,0.3);
  z-index: 2;
}
.timeline-dot::after {
  content: ''; position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 8px; height: 8px;
  background: var(--cyan); border-radius: 50%;
}
.timeline-year {
  font-size: 1rem; color: var(--cyan);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}
.timeline-node h4 {
  font-size: 1.4rem; font-weight: 500; margin-bottom: 0.5rem;
}
.timeline-node p {
  font-size: 1.1rem; color: var(--muted); max-width: 220px; margin: 0 auto;
}

/* ============================================
   SCENE 7: HORIZON — glowing line + rising items
   ============================================ */
.scene-horizon {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.horizon-line {
  position: absolute; top: 50%; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--teal), var(--cyan), transparent);
  box-shadow: 0 0 30px rgba(0,229,255,0.3), 0 0 80px rgba(0,229,255,0.1);
  opacity: 0; transform: scaleX(0);
}
.horizon-glow {
  position: absolute; top: 50%; left: 0;
  width: 100%; height: 50%;
  background: linear-gradient(to top, rgba(0,229,255,0.04), transparent);
  opacity: 0; pointer-events: none;
}
.horizon-title {
  position: absolute; top: 15vh;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700; text-align: center; opacity: 0;
}
.horizon-subtitle {
  position: absolute; top: calc(15vh + clamp(3.5rem, 6vw, 5.5rem));
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  color: var(--muted); text-align: center; opacity: 0;
}
.horizon-items {
  position: absolute; bottom: 8vh;
  display: flex; gap: 4vw; align-items: flex-start;
}
.horizon-item {
  text-align: center; width: 260px;
  opacity: 0; transform: translateY(60px);
}
.horizon-item-icon {
  width: 60px; height: 60px;
  margin: 0 auto 1.5rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.15);
  box-shadow: 0 0 20px rgba(0,229,255,0.08);
}
.horizon-item h4 { font-size: 1.5rem; font-weight: 500; margin-bottom: 0.6rem; }
.horizon-item p { font-size: 1.2rem; color: var(--muted); line-height: 1.5; }

/* ============================================
   SCENE 8: GALLERY — asymmetric image mosaic
   ============================================ */
.scene-gallery {
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 5vw;
}
.gallery-title { opacity: 0; margin-bottom: 3rem; text-align: center; }
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1.5rem; width: 90%; max-width: 1400px;
  height: 60vh;
}
.gallery-item {
  border-radius: 20px; overflow: hidden;
  position: relative; opacity: 0;
  transform: scale(0.9);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
/* The large item spans 2 rows */
.gallery-item:first-child { grid-row: 1 / 3; }
.gallery-item-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(2,14,18,0.9), transparent);
}
.gallery-item-overlay h4 {
  font-size: 1.2rem; font-weight: 500; margin-bottom: 0.3rem;
}
.gallery-item-overlay p {
  font-size: 0.9rem; color: var(--muted);
}

/* ============================================
   SCENE 9: CLOSING — ethereal deer watermark
   ============================================ */
.scene-closing {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.closing-bg-logo {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70vh; max-width: 80vw;
  opacity: 0;
  filter: drop-shadow(0 0 60px rgba(0,229,255,0.15));
  pointer-events: none;
}
.closing-text { position: relative; z-index: 2; text-align: center; }
.closing-title {
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1; opacity: 0;
  background: linear-gradient(135deg, var(--white), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.closing-subtitle {
  margin-top: 2rem;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 300; color: var(--muted); opacity: 0;
}
.closing-cta {
  display: inline-block; margin-top: 3rem;
  padding: 1rem 3rem; background: transparent;
  border: 1px solid rgba(0,229,255,0.3);
  border-radius: 50px; color: var(--cyan);
  font-size: 1.2rem; font-family: var(--font);
  text-decoration: none; cursor: none; opacity: 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.closing-cta:hover {
  background: rgba(0,229,255,0.08);
  box-shadow: 0 0 30px rgba(0,229,255,0.15);
}

/* ============================================
   SCENE: VIDEO — YouTube embed with glass frame
   ============================================ */
.scene-video {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 5vw;
}
.video-context {
  text-align: center; margin-bottom: 2.5rem; opacity: 0;
}
.video-context h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 0.5rem;
}
.video-frame {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 0.8rem;
  max-width: 900px; width: 85%;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  opacity: 0; transform: scale(0.95);
  position: relative; overflow: hidden;
}
.video-frame::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.4), transparent);
}
.video-frame iframe {
  width: 100%; aspect-ratio: 16/9;
  border-radius: 12px; border: none;
  display: block;
}
.video-frame video {
  width: 100%; aspect-ratio: 16/9;
  border-radius: 12px; border: none;
  display: block;
  background: #000;
}

/* ============================================
   SCENE: CHALLENGES — warning grid cards
   ============================================ */
.scene-challenges {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 5vw;
}
.challenges-title { opacity: 0; margin-bottom: 2.5rem; text-align: center; }
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem; width: 92%; max-width: 1300px;
}
/* Center the bottom row of 3 within a 4-col grid */
.challenge-card:nth-child(5) { grid-column: 1 / 2; }
.challenge-card:nth-child(6) { grid-column: 2 / 3; }
.challenge-card:nth-child(7) { grid-column: 3 / 4; }
.challenges-grid::after {
  content: ''; grid-column: 4 / 5;
}
.challenge-card {
  background: rgba(245, 158, 11, 0.04);
  border: 1px solid rgba(245, 158, 11, 0.12);
  border-radius: 16px; padding: 1.8rem 1.4rem;
  text-align: center; opacity: 0;
  transform: translateY(30px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.challenge-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.08);
}
.challenge-icon {
  font-size: 2.2rem; margin-bottom: 0.8rem;
  filter: grayscale(0.3);
}
.challenge-card p {
  font-size: 1.3rem; color: var(--muted); line-height: 1.45;
  max-width: none;
}

/* ============================================
   SCENE: TABLE — glassmorphic comparison
   ============================================ */
.scene-table {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 5vw;
}
.table-title { opacity: 0; margin-bottom: 2.5rem; text-align: center; }
.schedule-wrapper {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden; width: 90%; max-width: 850px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  opacity: 0; transform: scale(0.95);
  position: relative;
}
.schedule-wrapper::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.4), transparent);
}
.schedule-table { width: 100%; border-collapse: collapse; }
.schedule-table th {
  padding: 1rem 1.5rem; text-align: left;
  background: rgba(0,229,255,0.06);
  color: var(--cyan); font-weight: 500;
  font-size: 1.15rem; letter-spacing: 0.03em;
}
.schedule-table td {
  padding: 0.7rem 1.5rem; text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 1.15rem; color: rgba(200, 215, 230, 0.9);
}
.schedule-table tr { opacity: 0; transform: translateX(-20px); }
.schedule-table tr.highlight td {
  background: rgba(0,229,255,0.04);
  color: var(--white); font-weight: 500;
}
.schedule-table tr.buffer-row {
  background: linear-gradient(45deg, #ffffff00, #00000038);
}
.schedule-table tr.buffer-row td {
  color: rgba(100, 180, 220, 0.7);
  font-style: italic;
  font-size: 1rem;
}
.table-footnote {
  margin-top: 2rem; text-align: center;
  font-size: 1.1rem; color: var(--muted); opacity: 0;
  max-width: 700px;
}

/* Table responsiveness for shorter screens */
@media (max-height: 750px) {
  .scene-table { padding: 2vw; }
  .table-title { margin-bottom: 1.5rem; }
  .schedule-table th { padding: 0.5rem 1rem; font-size: 1rem; }
  .schedule-table td { padding: 0.4rem 1rem; font-size: 1rem; }
  .schedule-table tr.buffer-row td { font-size: 0.9rem; }
}
@media (max-height: 600px) {
  .scene-table { padding: 1vw; }
  .table-title { margin-bottom: 1rem; font-size: clamp(1.4rem, 3vw, 2rem); }
  .schedule-wrapper { border-radius: 12px; }
  .schedule-table th { padding: 0.35rem 0.8rem; font-size: 0.9rem; }
  .schedule-table td { padding: 0.3rem 0.8rem; font-size: 0.9rem; }
  .schedule-table tr.buffer-row td { font-size: 0.8rem; }
}

/* Mobile too-small screen message */
@media (max-width: 768px), (max-height: 500px) {
  #presentation-container,
  .controls-hint,
  .progress-bar,
  .cursor-dot,
  .cursor-ring { display: none !important; }
  #landing { display: flex !important; }
  .landing-btn { display: none; }
  .landing-error {
    display: block;
    max-width: 280px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.5;
  }
  .landing-error .error-emoji {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.8rem;
  }
}
@media (min-width: 769px) and (min-height: 501px) {
  .landing-error { display: none; }
}

/* ============================================
   SCENE: SPLIT REVERSED — text left, image right
   ============================================ */
.scene-split-reversed {
  display: flex; flex-direction: row-reverse;
}
.scene-split-reversed .split-image-side::after {
  right: auto; left: -1px;
  background: linear-gradient(to left, transparent, var(--bg-deep));
}

/* ============================================
   HELPERS — bullet list inside split scenes
   ============================================ */
.split-list {
  list-style: none; margin-top: 1.5rem;
}
.split-list li {
  font-size: 1.2rem; color: var(--muted);
  margin-bottom: 0.8rem; padding-left: 1.5rem;
  position: relative; opacity: 0; transform: translateX(20px);
}
.split-list li::before {
  content: ''; position: absolute; left: 0; top: 0.55rem;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(0,229,255,0.3);
}

/* Manifesto quote attribution */
.manifesto-source {
  margin-top: 2rem;
  font-size: 1.1rem; color: rgba(255,255,255,0.3);
  font-style: italic; opacity: 0;
}

/* Conclusion text inside split scenes */
.split-conclusion {
  margin-top: 1.5rem;
  font-size: 1.15rem; color: var(--cyan);
  font-style: italic; font-weight: 400;
  opacity: 0; max-width: 600px;
}

/* Divider between two content blocks in split scenes */
.split-divider {
  width: 50px; height: 2px; margin: 1rem 0 1.5rem;
  background: linear-gradient(90deg, var(--cyan), transparent);
  opacity: 0.4;
}

/* Compact h2 variant for split scenes with dual content blocks */
.split-h2-compact {
  font-size: clamp(1.6rem, 3.2vw, 2.8rem);
  margin-bottom: 0.5rem;
}

/* BHAG glass overlay on split-image-side */
.bhag-glass {
  position: absolute; bottom: 6%; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 5rem;
  padding: 1rem 2.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 0 0 1px rgba(255,255,255,0.05);
}
.bhag-glass span {
  font-size: 1.6rem; font-weight: 500;
  color: var(--white); letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Big stat inside split scenes */
.split-stat {
  display: flex; align-items: baseline; gap: 0.5rem;
  margin-bottom: 1.5rem; opacity: 0;
}
.split-stat-num {
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 700; color: var(--cyan);
  text-shadow: 0 0 30px rgba(0,229,255,0.3);
  line-height: 1;
}
.split-stat-label-old {
  font-size: 1.3rem; color: var(--muted); font-weight: 300;
}
.split-stat-label-arrow {
  font-size: 2rem; color: var(--muted); margin: 0 0.3rem;
}
.split-stat-label-unit {
  font-size: 1.3rem; color: var(--muted); font-weight: 300;
  margin-left: 0.5rem;
}

/* Conditions scene — 2 cards side by side */
.scene-conditions {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 5vw;
}
.conditions-title { opacity: 0; margin-bottom: 3rem; text-align: center; }
.conditions-grid {
  display: flex; gap: 3rem;
  max-width: 1000px; width: 90%;
}
.condition-card {
  flex: 1;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px; padding: 3rem;
  text-align: center; opacity: 0;
  transform: translateY(30px);
  position: relative; overflow: hidden;
}
.condition-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.4), transparent);
}
.condition-icon {
  font-size: 3rem; margin-bottom: 1.5rem;
}
.condition-card h3 {
  font-size: 1.5rem; font-weight: 500; margin-bottom: 1rem;
}
.condition-card p {
  font-size: 1.15rem; color: var(--muted);
}

/* --- AUTH GATE --- */
#auth-gate {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 300;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-deep);
}
.auth-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 2rem;
  text-align: center;
}
.auth-logo {
  width: 100px; height: auto;
  filter: drop-shadow(0 0 40px rgba(0,229,255,0.35));
}
.auth-btn {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.9rem 2rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  color: var(--white);
  font-family: var(--font); font-size: 1rem; font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.auth-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
}
.auth-btn .google-icon { flex-shrink: 0; }
.auth-hint {
  font-size: 0.85rem; color: var(--muted);
  transition: color 0.3s ease;
}

/* --- PROGRESS BAR --- */
.progress-bar {
  position: fixed; bottom: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--teal));
  z-index: 100; width: 0%;
  transition: width 1.6s ease;
  box-shadow: 0 0 10px var(--cyan);
}

/* --- CONTROLS HINT --- */
.controls-hint {
  position: fixed; bottom: 1.5rem; right: 2rem;
  font-size: 0.8rem; color: rgba(255,255,255,0.25);
  z-index: 100; display: flex; align-items: center; gap: 8px;
  pointer-events: none;
  opacity: 0; visibility: hidden;
}
.key-icon {
  display: inline-block; padding: 3px 7px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px; font-family: monospace; font-size: 0.75rem;
}

/* ============================================
   LANDING PAGE — pre-presentation start screen
   ============================================ */
#landing {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
}
.landing-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 2rem;
  text-align: center;
}
.landing-logo {
  width: 130px; height: auto;
  filter: drop-shadow(0 0 50px rgba(0,229,255,0.45));
  animation: landingFloat 5s ease-in-out infinite;
}
@keyframes landingFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.landing-btn {
  margin-top: 0.5rem;
  padding: 1rem 3.5rem;
  background: rgba(0, 229, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: 100px;
  color: var(--cyan);
  font-family: var(--font); font-size: 1rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.landing-btn:hover {
  border-color: rgba(0, 229, 255, 0.75);
  background: rgba(0, 229, 255, 0.1);
  box-shadow: 0 0 35px rgba(0,229,255,0.2), inset 0 0 20px rgba(0,229,255,0.05);
}
.landing-btn:active { transform: scale(0.97); }
