/* ============================================
   PROJECT RENEW — NSTP-CWTS 2026
   Vanilla CSS recreation of the original PPT
   ============================================ */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* backgrounds */
  --bg-page: #F8F9FA;
  --bg-page-mint: #F0F4F5;
  --bg-page-white: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-dark: #2D2D2D;
  --bg-pill-track: #EAEAEA;
  --bg-watermark: #EEEEEE;
  --bg-divider: #E5E7EB;

  /* brand accent rotation */
  --accent-purple: #8B5CF6;
  --accent-purple-soft: #9B87F5;
  --accent-pink: #EC4899;
  --accent-pink-soft: #F06595;
  --accent-orange: #F59E0B;
  --accent-orange-soft: #F5A623;
  --accent-teal: #10B981;
  --accent-teal-soft: #1ABC9C;
  --accent-black: #111827;
  --accent-slate: #374151;

  /* chart palette */
  --c-blue: #60A5FA;
  --c-purple: #C084FC;
  --c-amber: #FCD34D;
  --c-yellow: #FDE047;
  --c-red: #F87171;
  --c-fuchsia: #E879F9;

  /* pastel tints */
  --tint-purple: #EEEDFF;
  --tint-pink: #FFE4F0;
  --tint-orange: #FFF0DB;
  --tint-blue: #DBEAFE;

  /* pastel blobs */
  --blob-lavender: #DDD6FE;
  --blob-peach: #FFE0B2;
  --blob-pink: #FCE4EC;

  /* text */
  --text-heading: #111827;
  --text-body: #4B5563;
  --text-muted: #6B7280;
  --text-on-dark-heading: #FFFFFF;
  --text-on-dark-body: #BDC3C7;

  /* typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-mono: 'Roboto Mono', 'IBM Plex Mono', 'Courier New', monospace;

  /* shadows */
  --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 14px 40px rgba(0, 0, 0, 0.10);

  /* layout */
  --max-w: 1280px;
  --slide-pad: 64px 80px;
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--bg-page);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }
img, svg { max-width: 100%; display: block; }

/* ---------- 3. SLIDES LAYOUT ---------- */
.slides {
  position: relative;
  width: 100%;
}
.slide {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 80px 80px;
  overflow: hidden;
  background: var(--bg-page);
  transition: background 0.4s ease;
}
.slide[data-bg="#F0F4F5"] { background: var(--bg-page-mint); }
.slide[data-bg="#FFFFFF"] { background: var(--bg-page-white); }
.slide[data-bg="#F9FAFB"] { background: #F9FAFB; }
.slide[data-bg="#F9F9F9"] { background: #F9F9F9; }

/* hide all slides except active */
.slide { display: none; }
.slide.active { display: flex; animation: slideEnter 0.6s cubic-bezier(0.16, 1, 0.3, 1); }

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

.slide-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
}
.slide-inner.centered { text-align: center; }

/* ---------- 4. BACKGROUND BLOBS ---------- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}
.blob.lavender { background: var(--blob-lavender); }
.blob.peach    { background: var(--blob-peach); }
.blob.pink     { background: var(--blob-pink); }
.blob.peach-pink { background: linear-gradient(135deg, var(--blob-peach), var(--blob-pink)); }

/* ---------- 5. TYPOGRAPHY ---------- */
.hero-display {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-heading);
}
.hero-page {
  font-size: clamp(36px, 5.2vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-heading);
}
.accent-purple { color: var(--accent-purple); }
.accent-pink   { color: var(--accent-pink); }
.accent-orange { color: var(--accent-orange); }
.accent-teal   { color: var(--accent-teal); }
.accent-black  { color: var(--accent-black); }
.accent-slate  { color: var(--accent-slate); }

.section-head { margin-bottom: 48px; }
.section-head.centered { text-align: center; }
.hero-underline {
  width: 80px; height: 5px; border-radius: 3px; margin-top: 14px;
}
.hero-underline.purple { background: var(--accent-purple); }

/* Auto-width underline that wraps the heading word itself */
.game-plan-underline {
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
}
.game-plan-underline::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 5px;
  background: var(--accent-purple);
  border-radius: 3px;
}
.section-subtitle {
  font-size: clamp(15px, 1.5vw, 19px);
  color: var(--text-muted);
  margin-top: 14px;
  font-weight: 400;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}
.kicker.pink { color: var(--accent-pink); }

.body-lg {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--text-body);
  line-height: 1.7;
  margin: 24px 0;
  max-width: 540px;
}
.body-serif {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.6vw, 21px);
  color: #495057;
  line-height: 1.65;
  margin: 22px 0;
}

/* ---------- 6. TOP NAVIGATION ---------- */
.topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.topnav.scrolled { box-shadow: var(--shadow-card); }
.topnav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text-heading);
}
.brand-dot {
  width: 12px; height: 12px; border-radius: 50%;
}
.brand-dot.purple { background: var(--accent-purple); }
.brand-text { white-space: nowrap; }
.nav-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-links a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-body);
  transition: all 0.2s ease;
}
.nav-links a:hover { background: rgba(139, 92, 246, 0.08); color: var(--accent-purple); }
.nav-links a.active { background: var(--accent-purple); color: #fff; }

.nav-toggle {
  display: none;
  width: 32px; height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 7. PILLS & BADGES ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
.pill-orange { background: var(--accent-orange-soft); }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin: 8px 0 14px;
}
.badge.tint-purple { background: var(--tint-purple); color: #6F42C1; }
.badge.tint-pink   { background: var(--tint-pink);   color: #D63384; }
.badge.tint-orange { background: var(--tint-orange); color: #E67700; }

/* ---------- 8. ICON CIRCLES / SQUIRCLES ---------- */
.icon-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.icon-circle svg { width: 28px; height: 28px; }
.icon-circle.purple { background: var(--accent-purple); }
.icon-circle.pink   { background: var(--accent-pink); }
.icon-circle.orange { background: var(--accent-orange); }
.icon-circle.teal   { background: var(--accent-teal); }

.squircle {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 30px;
  color: #fff;
  margin-bottom: 18px;
}
.squircle.purple { background: #9B59B6; }
.squircle.pink   { background: #E91E63; }
.squircle.green  { background: #27AE60; }
.squircle.yellow { background: #F1C40F; }

/* ---------- 9. SLIDE 1 — COVER ---------- */
.cover {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.cover-left .pill { margin-bottom: 28px; }
.cover-subtitle {
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 600;
  color: #212121;
  margin-top: 18px;
  max-width: 480px;
}
.teal-divider {
  width: 50px; height: 3px;
  background: var(--accent-teal-soft);
  margin: 18px 0;
  border-radius: 2px;
}
.cover-tagline {
  font-size: clamp(14px, 1.4vw, 16px);
  color: var(--text-muted);
}
.members {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--bg-divider);
  max-width: 460px;
}
.members-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.members-list {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: #424242;
  columns: 2;
  column-gap: 24px;
}
.members-list li { break-inside: avoid; }

.cover-right {
  position: relative;
  display: flex;
  justify-content: center;
}
.cover-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 520px;
}
.community-svg { width: 100%; height: auto; }
.floating-metric {
  position: absolute;
  bottom: -22px; left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 14px 24px;
  border-radius: 16px;
  box-shadow: var(--shadow-hover);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.metric-num {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.metric-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ---------- 10. SLIDE 2 — GAME PLAN ---------- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.game-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.game-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.game-card.accent-top-purple::before { background: var(--accent-purple); }
.game-card.accent-top-pink::before   { background: var(--accent-pink); }
.game-card.accent-top-orange::before { background: var(--accent-orange-soft); }
.game-card.accent-top-teal::before   { background: var(--accent-teal); }

.watermark-num {
  position: absolute;
  top: 18px; left: 22px;
  font-size: 76px;
  font-weight: 300;
  color: var(--bg-watermark);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}
.icon-above-watermark { position: relative; z-index: 1; }
.game-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin: 6px 0 8px;
}
.game-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.55;
}

/* ---------- 11. SLIDE 3 — WHY NOW ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.highlight-box {
  display: inline-block;
  background: var(--accent-orange);
  color: #fff;
  padding: 0 12px;
  border-radius: 8px;
  margin-left: 6px;
}
.mini-cards {
  display: flex;
  gap: 18px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.mini-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px 22px;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--accent-purple);
  min-width: 180px;
}
.mini-card.accent-left-purple { border-left-color: var(--accent-purple); }
.mini-card.accent-left-pink   { border-left-color: var(--accent-pink); }
.mini-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 2px;
}
.mini-card p {
  font-size: 14px;
  color: var(--text-muted);
}
.photo-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  width: 100%;
}
.photo-card svg { width: 100%; height: auto; }

/* ---------- 12. SLIDE 4 — PERSONAS ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.persona-card {
  background: #fff;
  border-radius: 22px;
  padding: 48px 36px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.persona-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.persona-ring {
  width: 90px; height: 90px;
  border-radius: 50%;
  border: 3px solid;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  background: #fff;
}
.persona-card.theme-purple .persona-ring { border-color: var(--accent-purple-soft); }
.persona-card.theme-pink   .persona-ring { border-color: var(--accent-pink-soft); }
.persona-card.theme-orange .persona-ring { border-color: var(--accent-orange); }
.persona-emoji { font-size: 36px; line-height: 1; }
.persona-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #212529;
  margin-bottom: 4px;
}
.persona-card p {
  font-size: 15px;
  color: #6C757D;
  line-height: 1.55;
  margin-top: 10px;
}

/* ---------- 13. SLIDE 5 — OBJECTIVES DARK CARDS ---------- */
.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.dark-card {
  background: var(--bg-card-dark);
  border-radius: 18px;
  padding: 32px;
  color: #fff;
  transition: transform 0.3s ease;
}
.dark-card:hover { transform: translateY(-3px); }
.dark-card h3 {
  font-size: 21px;
  font-weight: 600;
  color: var(--text-on-dark-heading);
  margin-bottom: 10px;
}
.dark-card p {
  font-size: 15px;
  color: var(--text-on-dark-body);
  line-height: 1.55;
}

/* ---------- 14. SLIDE 6 — SCRAPBOOK ---------- */
.scrapbook {
  position: relative;
  min-height: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 40px 60px;
  align-items: center;
}
.scrap-block {
  background: #fff;
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: var(--shadow-card);
  max-width: 460px;
}
.scrap-tl { grid-column: 1; grid-row: 1; justify-self: start; }
.scrap-br { grid-column: 2; grid-row: 2; justify-self: end; }
.scrap-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.scrap-icon { font-size: 26px; }
.scrap-head h3 {
  font-size: 30px;
  font-weight: 800;
  color: #1A1A1A;
  letter-spacing: -0.02em;
}
.scrap-list { display: flex; flex-direction: column; gap: 14px; }
.scrap-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
  color: #222;
  line-height: 1.5;
}
.scrap-num {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.scrap-num.purple { background: var(--accent-purple); }
.scrap-num.green  { background: #27AE60; }

.polaroid {
  position: relative;
  background: #fff;
  padding: 10px 10px 32px;
  box-shadow: var(--shadow-hover);
  width: 220px;
  text-align: center;
  border: 8px solid #1a1a1a;
  border-radius: 4px;
}
.polaroid-img {
  background: #FAFAFA;
  overflow: hidden;
}
.polaroid-1 {
  grid-column: 2; grid-row: 1;
  justify-self: center;
  transform: rotate(5deg);
}
.polaroid-2 {
  grid-column: 1; grid-row: 2;
  justify-self: center;
  transform: rotate(-4deg);
}
.polaroid-caption {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: #555;
}

.lightning-badge {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
  font-size: 30px;
  box-shadow: var(--shadow-card);
  z-index: 3;
}

/* ---------- 15. SLIDE 7 — BUDGET CHART ---------- */
.budget-card {
  background: #fff;
  border-radius: 26px;
  padding: 40px 48px 36px;
  box-shadow: var(--shadow-card);
  width: 100%;
}
.budget-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 36px;
}
.budget-title .hero-page { font-size: clamp(32px, 4vw, 48px); }
.budget-title .section-subtitle { margin-top: 6px; font-size: 16px; }
.budget-metric { text-align: right; }
.metric-value {
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 600;
  color: var(--accent-teal);
  letter-spacing: -0.02em;
  line-height: 1;
}
.metric-labels {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  color: var(--text-body);
  margin-top: 8px;
  gap: 2px;
}

.chart-wrap {
  position: relative;
  height: 320px;
  padding: 0 8px 0 56px;
}
.chart-gridlines, .chart-yaxis {
  position: absolute;
  top: 0; bottom: 36px;
}
.chart-gridlines { left: 56px; right: 8px; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.gridline { height: 1px; background: #F3F4F6; }
.chart-yaxis {
  left: 0; width: 48px;
  display: flex; flex-direction: column; justify-content: space-between;
  font-size: 12px; color: var(--text-muted);
  text-align: right;
}
.chart-bars {
  position: absolute;
  top: 0; bottom: 36px;
  left: 56px; right: 8px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 2px solid #D1D5DB;
  padding-bottom: 0;
}
.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  position: relative;
}
.bar {
  width: 100%;
  max-width: 70px;
  border-radius: 12px 12px 0 0;
  height: 0;
  transition: height 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide.active .bar.animated { height: var(--target-h); }
.bar-label {
  position: absolute;
  bottom: -30px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.3;
  font-weight: 500;
  white-space: nowrap;
}

/* ---------- 16. SLIDE 8 — OUTCOME ---------- */
.outcome-card {
  background: transparent;
  border-radius: 0;
  padding: 8px 24px 8px 28px;
  box-shadow: none;
  border-left: 4px solid var(--accent-teal-soft);
}
.outcome-source {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}
.source-dot { width: 8px; height: 8px; border-radius: 50%; background: #DEE2E6; }
.outcome-stats {
  display: flex;
  gap: 48px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--bg-divider);
}
.stat-num {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-num.teal { color: var(--accent-teal-soft); }
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* ---------- 17. SLIDE 9 — TIMELINE ---------- */
.timeline-track {
  position: relative;
  margin: 30px auto 60px;
  width: 100%;
  height: 14px;
}
.track-line {
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 14px;
  background: var(--bg-pill-track);
  border-radius: 999px;
  transform: translateY(-50%);
  z-index: 0;
}
.track-circle {
  position: absolute;
  top: 50%;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px #fff, 0 4px 12px rgba(0,0,0,0.10);
}
.track-circle.purple { background: #7B61FF; left: calc((100% - 64px) / 6); }
.track-circle.orange { background: var(--accent-orange); left: 50%; }
.track-circle.pink   { background: #E84C9B; left: calc(100% - (100% - 64px) / 6); }

.timeline-cards { margin-top: 0; }
.timeline-card {
  background: #fff;
  border-radius: 14px;
  padding: 26px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.timeline-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
}
.timeline-card.accent-bottom-purple::after { background: #7B61FF; }
.timeline-card.accent-bottom-orange::after { background: var(--accent-orange); }
.timeline-card.accent-bottom-pink::after   { background: #E84C9B; }
.timeline-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 8px;
}
.timeline-card p {
  font-size: 13.5px;
  color: #666;
  line-height: 1.55;
  font-weight: 400;
}
.timeline-card p strong { color: #2D2D2D; font-weight: 600; }

/* ---------- 18. SLIDE 10 — CLOSING ---------- */
.closing { text-align: center; }
.closing-hero {
  font-size: clamp(40px, 7vw, 76px);
  margin-bottom: 36px;
  line-height: 1.1;
}
.closing-hero span { display: inline-block; margin: 0 8px; }

#slide-3 .blob { opacity: 0.22 !important; }

.wave-emoji {
  position: absolute;
  top: 110px; left: 12%;
  font-size: 52px;
  z-index: 3;
  animation: wave 2.4s ease-in-out infinite;
  transform-origin: 70% 70%;
}
@keyframes wave {
  0%, 60%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(-15deg); }
  40% { transform: rotate(20deg); }
}
.sprout-emoji {
  position: absolute;
  bottom: 50px; right: 10%;
  font-size: 44px;
  z-index: 3;
}

.contact-card {
  background: #fff;
  border-radius: 28px;
  padding: 36px 44px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  max-width: 560px;
  margin: 0 auto;
}
.contact-text { text-align: left; }
.contact-text h3 {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.contact-list { display: flex; flex-direction: column; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-size: 17px; color: var(--accent-slate); }
.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-slate);
  font-size: 17px;
  transition: color 0.2s ease;
}
.contact-list a:hover { color: var(--accent-purple); }
.contact-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 16px;
  border: 1.5px solid;
}
.contact-icon.blue   { color: #93C5FD; border-color: #93C5FD; background: #EFF6FF; }
.contact-icon.purple { color: #A78BFA; border-color: #A78BFA; background: #F5F3FF; }


.submission-caption {
  margin-top: 0;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}
.submission-caption strong { color: #4B5563; font-weight: 600; }
.submission-row {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 22px auto 0;
  text-align: center;
}

/* ---------- 19. NAV CONTROLS ---------- */
.nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-card);
  display: grid;
  place-items: center;
  z-index: 90;
  transition: all 0.25s ease;
  color: var(--text-heading);
}
.nav-arrow:hover { background: var(--accent-purple); color: #fff; transform: translateY(-50%) scale(1.06); }
.nav-arrow:disabled { opacity: 0.3; cursor: not-allowed; pointer-events: none; }
.nav-prev { left: 24px; }
.nav-next { right: 24px; }
.nav-arrow svg { width: 22px; height: 22px; }

.dot-nav {
  position: fixed;
  right: 82px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 90;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(0,0,0,0.18);
  transition: all 0.25s ease;
  padding: 0;
}
.dot:hover { background: rgba(0,0,0,0.4); transform: scale(1.2); }
.dot.active { background: var(--accent-purple); transform: scale(1.4); }

.slide-counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 999px;
  z-index: 90;
  letter-spacing: 0.06em;
}

/* ---------- 20. SCROLL-REVEAL ANIMATION ---------- */
.reveal-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.slide.active .reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}
.slide.active .reveal-up.revealed:nth-child(2) { transition-delay: 0.08s; }
.slide.active .reveal-up.revealed:nth-child(3) { transition-delay: 0.16s; }
.slide.active .reveal-up.revealed:nth-child(4) { transition-delay: 0.24s; }
.slide.active .reveal-up.revealed:nth-child(5) { transition-delay: 0.32s; }

/* ---------- 21. RESPONSIVE — TABLET ---------- */
@media (max-width: 1024px) {
  .slide { padding: 100px 40px 70px; }
  .cover { grid-template-columns: 1fr; gap: 40px; }
  .members-list { columns: 3; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nav-arrow { width: 42px; height: 42px; }
  .nav-prev { left: 14px; }
  .nav-next { right: 14px; }
  .dot-nav { display: none; }
}

/* ---------- 22. RESPONSIVE — MOBILE ---------- */
@media (max-width: 720px) {
  .slide { padding: 90px 22px 80px; }
  .topnav-inner { padding: 12px 18px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 56px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 16px 22px 24px;
    gap: 4px;
    box-shadow: var(--shadow-card);
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    align-items: stretch;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px 14px; font-size: 15px; }
  .brand-text { font-size: 16px; }

  .hero-display { font-size: clamp(40px, 12vw, 64px); }
  .hero-page { font-size: clamp(30px, 8vw, 44px); }
  .closing-hero { font-size: clamp(34px, 10vw, 56px); flex-wrap: wrap; }

  .members-list { columns: 1; }
  .grid-4, .grid-3, .grid-2x2 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .outcome-stats { gap: 28px; flex-wrap: wrap; }

  .scrapbook { grid-template-columns: 1fr; gap: 24px; min-height: auto; }
  .scrap-tl, .scrap-br { grid-column: 1; grid-row: auto; justify-self: stretch; max-width: 100%; }
  .polaroid-1, .polaroid-2 { grid-column: 1; grid-row: auto; justify-self: center; transform: none; }
  .polaroid-1 { transform: rotate(4deg); }
  .polaroid-2 { transform: rotate(-3deg); }
  .lightning-badge { display: none; }

  .budget-card { padding: 24px 20px 24px; }
  .budget-header { flex-direction: column; align-items: flex-start; }
  .budget-metric { text-align: left; }
  .chart-wrap { height: 260px; padding-left: 44px; }
  .chart-yaxis { width: 36px; font-size: 10px; }
  .chart-gridlines { left: 44px; }
  .chart-bars { left: 44px; }
  .bar-label { font-size: 10px; }

  .game-card { padding: 22px 20px; }
  .game-card h3 { font-size: 19px; }
  .game-card p { font-size: 14px; }
  .watermark-num { font-size: 56px; top: 12px; left: 16px; }
  .icon-circle { width: 44px; height: 44px; margin-bottom: 12px; }
  .icon-circle svg { width: 22px; height: 22px; }

  .timeline-track { display: none; }
  .track-circle { width: 44px; height: 44px; font-size: 18px; }

  /* Allow slides with tall content (e.g. 4-card stacks) to scroll internally on mobile */
  .slide { overflow-y: auto; overflow-x: hidden; }

  /* Shorter chart labels on mobile to prevent overlap */
  .bar-label { font-size: 10px; white-space: normal; }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px 22px;
  }
        .contact-list li { cursor: pointer; }
  .contact-list a { color: inherit; display: inline-flex; align-items: center; gap: 12px; width: 100%; }

  .wave-emoji { top: 90px; left: 8%; font-size: 38px; }
  .sprout-emoji { bottom: 30px; right: 8%; font-size: 32px; }

  .nav-arrow { width: 38px; height: 38px; }
  .nav-arrow svg { width: 18px; height: 18px; }
  .nav-prev { left: 10px; }
  .nav-next { right: 10px; }
  .slide-counter { font-size: 11px; padding: 5px 11px; bottom: 14px; }

  .floating-metric { padding: 10px 18px; }
  .metric-num { font-size: 22px; }

  .mini-cards { flex-direction: column; }
}

/* ---------- 23. ACCESSIBILITY ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .wave-emoji { animation: none; }
}

:focus-visible {
  outline: 2px solid var(--accent-purple);
  outline-offset: 2px;
  border-radius: 4px;
}
