/* ============================================================
   The Grace 401(k) — Cinematic Keynote Deck
   Grace Capital Management — Navy #0a1628 / Gold #C9A84C
   Self-contained. Fonts via Google CDN.
   ============================================================ */

:root {
  --navy: #0a1628;
  --navy-dark: #0a1628;
  --navy-light: #2a3f54;
  --navy-lighter: #3a526b;
  --gold: #C9A84C;
  --gold-light: #e6c65a;
  --gold-dark: #8a6c14;
  --gold-subtle: #f8f3e3;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --text: #1f2937;
  --text-light: #6b7280;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --radius: 8px;
  --radius-lg: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.12;
  font-weight: 700;
  text-wrap: balance;
}

/* Typographic line-break control: prevent orphans (single-word last lines)
   and awkward breaks across all body / caption / list copy. balance evens
   short blocks; pretty eliminates widows on longer paragraphs. */
p, li, blockquote, figcaption,
.lede, .sub, .kicker, .turn, .close-quote, .caption, .cap,
.translate-cap, .sub-cap, .note, .disclaimer, .lead, .hook-kicker {
  text-wrap: pretty;
}
.lede, .turn, .kicker, .hook-kicker, .close-quote, .sub, .lead {
  text-wrap: balance;
}

.accent { color: var(--gold); }

.overline {
  display: block;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: clamp(0.72rem, 0.9vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.1rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  font-family: var(--font-body);
  background: var(--gold);
  color: var(--navy-dark);
}
.btn:hover {
  background: var(--gold-light);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

/* ============ DECK SHELL ============ */
#deck {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vh, 5rem) clamp(2rem, 7vw, 8rem);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.985) translateY(12px);
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease), visibility 0s linear 0.7s;
  overflow: hidden;
  background: var(--navy);
}
.slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease), visibility 0s;
  z-index: 2;
}

.slide-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  max-height: 100%;
}

/* Navy vs light slides */
.slide--navy { background: var(--navy); color: var(--white); }
.slide--navy h1, .slide--navy h2, .slide--navy h3, .slide--navy h4 { color: var(--white); }
.slide--light { background: var(--off-white); color: var(--text); }
.slide--white { background: var(--white); color: var(--text); }

/* Vignette + grain on navy slides */
.slide--navy::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 35%, rgba(58,82,107,0.30) 0%, rgba(10,22,40,0) 55%),
    radial-gradient(140% 120% at 50% 120%, rgba(0,0,0,0.55) 0%, rgba(10,22,40,0) 60%);
  pointer-events: none;
  z-index: 1;
}
.slide--navy::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Diagonal accent lines (site section-diagonal vibe) */
.slide--diag .slide-inner::after {
  content: '';
  position: absolute;
  top: -8%;
  right: -6%;
  width: 42%;
  height: 120%;
  background: repeating-linear-gradient(135deg, rgba(201,168,76,0.06) 0 1px, transparent 1px 26px);
  pointer-events: none;
  z-index: -1;
}

/* ============ ENTRANCE ANIMATIONS ============ */
.anim {
  opacity: 0;
  transform: translateY(34px);
}
.slide.is-active .anim {
  animation: riseIn 0.85s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes riseIn {
  to { opacity: 1; transform: translateY(0); }
}
.anim-fade {
  opacity: 0;
}
.slide.is-active .anim-fade {
  animation: fadeIn 1s ease forwards;
  animation-delay: var(--d, 0s);
}
@keyframes fadeIn { to { opacity: 1; } }

/* ============ TITLE SLIDE ============ */
.title-slide .slide-inner { text-align: center; }
.title-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2.2rem;
}
.title-mark .rule {
  width: 56px; height: 1px; background: var(--gold); opacity: 0.7;
}
.title-mark span {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
}
.title-slide h1 {
  font-size: clamp(3rem, 8.2vw, 7rem);
  letter-spacing: -0.01em;
  line-height: 1.02;
  margin-bottom: 1.6rem;
}
.title-slide .lede {
  color: rgba(255,255,255,0.78);
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  max-width: 640px;
  margin: 0 auto 2.6rem;
  line-height: 1.7;
}
.title-slide .turn {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--gold);
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  letter-spacing: 0.01em;
}
.title-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 70vw; height: 70vw;
  max-width: 900px; max-height: 900px;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(201,168,76,0.14) 0%, rgba(201,168,76,0) 62%);
  pointer-events: none;
  z-index: 1;
}

/* ============ GENERIC TYPOGRAPHY ============ */
.s-head {
  font-size: clamp(2rem, 4.6vw, 4rem);
  margin-bottom: 1.4rem;
  line-height: 1.08;
}
.s-lede {
  font-size: clamp(1.02rem, 1.5vw, 1.35rem);
  line-height: 1.7;
  max-width: 760px;
}
.slide--navy .s-lede { color: rgba(255,255,255,0.8); }
.slide--light .s-lede, .slide--white .s-lede { color: var(--text-light); }

.center { text-align: center; }
.center .s-lede, .center .overline { margin-left: auto; margin-right: auto; }

.kicker {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--gold);
  font-size: clamp(1.1rem, 1.9vw, 1.55rem);
  margin-top: 1.6rem;
}

.bullets {
  list-style: none;
  margin-top: 1.8rem;
  max-width: 780px;
}
.bullets li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.15rem;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
}
.slide--light .bullets li, .slide--white .bullets li { color: var(--gray-600); }
.bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.62em;
  width: 9px; height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ============ FOUR ENGINES (Slide 4) ============ */
.engine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 2.6rem;
}
.engine-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s ease;
}
.engine-card:hover { border-color: var(--gold); background: rgba(255,255,255,0.07); }
.engine-icon {
  width: 60px; height: 60px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,168,76,0.14);
  color: var(--gold);
}
.engine-icon svg { width: 28px; height: 28px; }
.engine-card h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 0.55rem; }
.engine-card p { color: rgba(255,255,255,0.62); font-size: 0.92rem; line-height: 1.55; }
.engine-foot {
  margin-top: 2.4rem;
  text-align: center;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.1rem, 1.9vw, 1.6rem);
  color: var(--gold);
}

/* ============ FEE DONUT (Slide 7) ============ */
.conflict-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-top: 1.5rem;
}
.donut-box { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.donut { width: clamp(240px, 26vw, 340px); height: clamp(240px, 26vw, 340px); }
.donut-center text { fill: var(--white); }
.donut-legend { display: grid; gap: 0.9rem; width: 100%; }
.legend-row {
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 1.02rem; color: rgba(255,255,255,0.85);
}
.legend-dot { width: 14px; height: 14px; border-radius: 3px; flex-shrink: 0; }
.legend-row .pct { margin-left: auto; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }

/* ============ MILLION DOLLAR QUESTION (Slide 8) ============ */
.mdq .slide-inner { text-align: center; }
.mdq h2 {
  font-size: clamp(2.4rem, 6.4vw, 6rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0.5rem 0 1.6rem;
}
.mdq .sub { color: rgba(255,255,255,0.7); font-size: clamp(1rem, 1.7vw, 1.4rem); max-width: 620px; margin: 0 auto; }

/* ============ EUPAC BAR CHART (Slide 10) ============ */
.eupac-grid {
  margin-top: 1.8rem;
  display: grid;
  gap: 0.46rem;
}
.eupac-row {
  display: grid;
  grid-template-columns: 220px 1fr 70px;
  align-items: center;
  gap: 1.1rem;
}
.eupac-label {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.8);
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.eupac-label strong { color: #fff; font-weight: 600; }
.eupac-track {
  height: 26px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}
.eupac-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 4px;
  transition: width 1.1s var(--ease);
  background: var(--navy-lighter);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}
.eupac-fill.bar-blue { background: linear-gradient(90deg, #4a6a92, #79a0c8); }
.eupac-fill.bar-red { background: linear-gradient(90deg, #b03a3a, #e05656); }
.eupac-fill.bar-green { background: linear-gradient(90deg, #2f7d4f, #46b377); }
.eupac-er {
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.eupac-row.row-worst .eupac-label strong { color: #f08a8a; }
.eupac-row.row-worst .eupac-er { color: #f08a8a; }
.eupac-row.row-best .eupac-label strong { color: #6fdca0; }
.eupac-row.row-best .eupac-er { color: #6fdca0; }
.pill {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 1px 7px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
  background: rgba(201,168,76,0.18);
  color: var(--gold-light);
  font-family: var(--font-body);
}
.pill-warn { background: rgba(224,86,86,0.18); color: #f0a0a0; }
.eupac-punch {
  margin-top: 1.6rem;
  text-align: center;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.2rem, 2.3vw, 1.9rem);
  color: var(--gold);
}
.eupac-cap {
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  max-width: 760px;
  margin-left: auto; margin-right: auto;
  line-height: 1.5;
}

/* ============ APPEARANCES vs REALITY (Slide 11) ============ */
.twoplan {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.4rem;
}
.plan-card {
  border-radius: var(--radius-lg);
  padding: 2.4rem 2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
}
.plan-card.is-bad { border-color: rgba(224,86,86,0.4); }
.plan-card.is-good { border-color: rgba(201,168,76,0.55); }
.plan-card .tag {
  display: inline-block;
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em;
  font-weight: 600; color: var(--gold); margin-bottom: 1rem;
}
.plan-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 0.8rem; }
.plan-card p { color: rgba(255,255,255,0.7); font-size: 1rem; line-height: 1.6; }
.reality-note {
  margin-top: 2.4rem; text-align: center;
  font-size: clamp(1rem, 1.5vw, 1.25rem); color: rgba(255,255,255,0.82);
  max-width: 760px; margin-left: auto; margin-right: auto;
}

/* ============ IN DOLLARS COUNTER (Slide 12) ============ */
.dollars .slide-inner { text-align: center; }
.big-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(4rem, 13vw, 11rem);
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  margin: 1rem 0;
}
.dollars .peryear {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.4rem;
}
.hypo-badge {
  display: inline-block;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em;
  font-weight: 600; color: var(--gold-light);
  border: 1px solid rgba(201,168,76,0.4);
  padding: 0.4rem 1rem; border-radius: 999px;
}

/* ============ FEE DISCLOSURE (Slide 13) ============ */
.disclosure-wrap { display: grid; grid-template-columns: 1fr 0.95fr; gap: 3rem; align-items: center; margin-top: 1rem; }
.doc-mock {
  background: #fdfdfb;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
  box-shadow: var(--shadow-xl);
  color: #333;
  transform: rotate(-1.2deg);
  font-size: 0.74rem;
  line-height: 1.5;
}
.doc-mock .doc-title { font-family: var(--font-heading); font-weight: 700; color: var(--navy); font-size: 0.98rem; margin-bottom: 0.2rem; }
.doc-mock .doc-sub { color: var(--gray-500); font-size: 0.66rem; margin-bottom: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; }
.doc-mock .doc-line { height: 7px; background: var(--gray-200); border-radius: 3px; margin-bottom: 6px; }
.doc-mock .doc-line.w90 { width: 90%; } .doc-mock .doc-line.w70 { width: 70%; }
.doc-mock .doc-line.w80 { width: 80%; } .doc-mock .doc-line.w60 { width: 60%; }
.doc-mock .doc-line.gold { background: rgba(201,168,76,0.35); }
.doc-mock table { width: 100%; border-collapse: collapse; margin-top: 0.6rem; font-size: 0.66rem; }
.doc-mock td { border-bottom: 1px solid var(--gray-200); padding: 4px 2px; color: var(--gray-600); }
.doc-mock td:last-child { text-align: right; font-variant-numeric: tabular-nums; }

/* ============ VALUE GRID (Slide 14) ============ */
.kv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  margin-top: 2.2rem;
}
.kv-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-md);
}
.slide--navy .kv-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.kv-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow-lg); }
.kv-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.kv-icon {
  width: 46px; height: 46px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,168,76,0.15); color: var(--gold-dark);
}
.slide--navy .kv-icon { color: var(--gold); }
.kv-icon svg { width: 22px; height: 22px; }
.kv-num { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--gold); opacity: 0.85; }
.kv-card h3 { font-size: 1.12rem; margin-bottom: 0.4rem; color: var(--navy); }
.slide--navy .kv-card h3 { color: #fff; }
.kv-card p { font-size: 0.88rem; line-height: 1.55; color: var(--text-light); }
.slide--navy .kv-card p { color: rgba(255,255,255,0.65); }

/* ============ SAVINGS (Slide 15) ============ */
.savings .slide-inner { text-align: center; }
.savings-flow {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(1rem, 3vw, 2.6rem); margin: 1.6rem 0 2rem; flex-wrap: wrap;
}
.flow-fig { text-align: center; }
.flow-fig .lab { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.6); margin-bottom: 0.4rem; }
.flow-fig .val { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.8rem, 4vw, 3.2rem); font-variant-numeric: tabular-nums; }
.flow-fig.before .val { color: #e07070; }
.flow-fig.after .val { color: rgba(255,255,255,0.95); }
.flow-arrow { color: var(--gold); font-size: clamp(1.6rem, 3vw, 2.6rem); }
/* cost bar: shrinks red -> green in sync with the countdown number */
.savings-bar-wrap { width: 100%; max-width: 560px; margin: 0 auto 1rem; }
.savings-bar-track {
  width: 100%; height: 26px; border-radius: 8px; overflow: hidden;
  background: rgba(255,255,255,0.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10);
}
.savings-bar {
  height: 100%; width: 100%; border-radius: 8px; background: #d9544e;
  box-shadow: 0 0 18px rgba(217,84,78,0.35);
}
.savings-bar.is-green { background: #46ad6e; box-shadow: 0 0 18px rgba(70,173,110,0.40); }
.savings-num {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(3.4rem, 11vw, 9rem); color: var(--gold); line-height: 1;
  font-variant-numeric: tabular-nums; margin-bottom: 0.4rem;
}
.savings-label { font-size: clamp(1rem, 1.7vw, 1.4rem); color: rgba(255,255,255,0.8); margin-bottom: 1.2rem; }
.savings-badge {
  display: inline-block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em;
  font-weight: 600; color: var(--navy); background: var(--gold); padding: 0.45rem 1.1rem; border-radius: 999px;
  margin-bottom: 1.6rem;
}
.fiduciary-q {
  font-family: var(--font-heading); font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.85rem); color: #fff; max-width: 760px; margin: 0 auto; line-height: 1.4;
}

/* ============ FAQ (Slide 16) ============ */
.faq-grid { margin-top: 2rem; display: grid; gap: 0.9rem; max-width: 880px; margin-left: auto; margin-right: auto; }
.faq-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item[open] { border-color: rgba(201,168,76,0.5); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.4rem;
  font-family: var(--font-heading); font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; color: var(--gold); font-size: 1.5rem; font-family: var(--font-body);
  transition: transform 0.3s ease; flex-shrink: 0; line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 1.4rem 1.2rem; color: rgba(255,255,255,0.72); font-size: 0.96rem; line-height: 1.65; }
.faq-item strong { color: var(--gold-light); }
.faq-item em { color: rgba(255,255,255,0.9); font-style: italic; }

/* ============ CLOSE / CTA (Slide 17) ============ */
.close-slide .slide-inner { text-align: center; }
.close-slide h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); margin-bottom: 1.4rem; line-height: 1.1; }
.close-quote {
  font-family: var(--font-heading); font-style: italic; color: rgba(255,255,255,0.9);
  font-size: clamp(1.2rem, 2.3vw, 1.9rem); max-width: 760px; margin: 0 auto 2rem; line-height: 1.45;
}
.close-cta-note { color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto 2rem; font-size: 1.05rem; }
.close-tag { margin-top: 2.4rem; color: var(--gold); font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }

/* ============ DISCLOSURES (Slide 18) ============ */
.disc-slide .slide-inner { max-width: 1000px; }
.disc-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  font-size: clamp(0.78rem, 1vw, 0.94rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  max-height: 74vh;
  overflow-y: auto;
}
.disc-box strong { color: var(--gold-light); }

/* ============ CHROME: progress, counter, nav, hint ============ */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  z-index: 100; transition: width 0.5s var(--ease);
  box-shadow: 0 0 12px rgba(201,168,76,0.5);
}
.counter {
  position: fixed; bottom: 1.4rem; right: 1.6rem; z-index: 100;
  font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55); font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.counter .cur { color: var(--gold); font-weight: 600; }
.slide--light ~ .counter, .counter.on-light { color: var(--gray-500); }

.nav-chev {
  position: fixed; bottom: 1.2rem; z-index: 100;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,168,76,0.12); border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold); cursor: pointer; transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}
.nav-chev:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.nav-chev svg { width: 18px; height: 18px; }
.nav-prev { left: 1.6rem; }
.nav-next { left: 4.4rem; }
.nav-chev.is-disabled { opacity: 0.25; pointer-events: none; }

.kbd-hint {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  z-index: 100; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); transition: opacity 0.6s ease;
}
.kbd-hint kbd {
  font-family: var(--font-body); background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16); border-radius: 4px; padding: 1px 6px; color: rgba(255,255,255,0.6);
}

/* ============ OVERVIEW GRID ============ */
.overview {
  position: fixed; inset: 0; z-index: 200; background: rgba(6,14,26,0.97);
  backdrop-filter: blur(8px); padding: 3.5rem; overflow-y: auto;
  display: none; opacity: 0; transition: opacity 0.35s ease;
}
.overview.is-open { display: block; opacity: 1; }
.overview h3 { color: #fff; text-align: center; margin-bottom: 0.4rem; font-size: 1.6rem; }
.overview .ov-sub { text-align: center; color: rgba(255,255,255,0.5); font-size: 0.85rem; margin-bottom: 2.4rem; letter-spacing: 0.08em; }
.ov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; max-width: 1200px; margin: 0 auto; }
.ov-thumb {
  aspect-ratio: 16/9; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.12);
  background: var(--navy-light); cursor: pointer; padding: 0.9rem 1rem; position: relative;
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  transition: all 0.25s ease;
}
.ov-thumb:hover { border-color: var(--gold); transform: translateY(-3px); }
.ov-thumb .ov-n { font-family: var(--font-heading); font-size: 1.4rem; color: var(--gold); font-weight: 700; }
.ov-thumb .ov-t { font-size: 0.82rem; color: rgba(255,255,255,0.85); line-height: 1.35; font-weight: 500; }
.ov-thumb.is-current { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }

/* ============================================================
   NEW VISUALIZATIONS (v2)
   ============================================================ */

/* ---- Slide 3: relationship / node diagram ---- */
.relmap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem;
  margin-top: 2rem; max-width: 980px; margin-left: auto; margin-right: auto;
  align-items: start;
}
.relmap-col {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.4rem 1.2rem;
}
.relmap-col.is-independent { border-color: rgba(201,168,76,0.45); background: rgba(201,168,76,0.05); }
.relmap-head {
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.65);
  margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.5rem; justify-content: center;
}
.relmap-head.is-good { color: var(--gold-light); }
.relmap-x { color: #d96b6b; font-size: 1.05rem; }
.relmap-check { color: var(--gold); font-size: 1.05rem; }
.relmap-svg { width: 100%; height: auto; display: block; }
.rel-node rect { stroke-width: 1.5; }
.rel-node text { font-family: var(--font-body); font-size: 13px; font-weight: 600; fill: #fff; }
.rel-node-bad rect { fill: rgba(184,90,90,0.22); stroke: #b85a5a; }
.rel-node-tied rect { fill: rgba(255,255,255,0.06); stroke: rgba(184,90,90,0.5); }
.rel-node-tied text { fill: rgba(255,255,255,0.78); font-size: 12px; }
.rel-node-faded rect { fill: rgba(255,255,255,0.04); stroke: rgba(255,255,255,0.18); }
.rel-node-faded text { fill: rgba(255,255,255,0.5); }
.rel-node-good rect { fill: rgba(201,168,76,0.22); stroke: var(--gold); }
.rel-node-plan rect { fill: rgba(255,255,255,0.08); stroke: rgba(255,255,255,0.4); }
.rel-node-good-part rect { fill: rgba(201,168,76,0.12); stroke: rgba(201,168,76,0.6); }
.rel-fid { font-family: var(--font-body); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; fill: var(--gold); }
.relmap-cap { margin-top: 0.7rem; font-size: 0.86rem; color: rgba(255,255,255,0.6); line-height: 1.45; text-align: center; }
.relmap-cap.is-good { color: rgba(230,198,90,0.85); }
/* animated line draw */
.rel-line { stroke-dasharray: 300; stroke-dashoffset: 300; }
.slide.is-active .relmap-col.is-conflicted .rel-line { animation: relDraw 0.9s ease forwards; animation-delay: 0.65s; }
.slide.is-active .relmap-col.is-independent .rel-line { animation: relDraw 0.9s ease forwards; animation-delay: 0.9s; }
@keyframes relDraw { to { stroke-dashoffset: 0; } }
.rel-pull { animation: relPull 1.8s ease-in-out infinite !important; }
@keyframes relPull { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

/* Same Side of the Table (slide 3) */
.rel-table { fill: rgba(255,255,255,0.07); stroke: rgba(255,255,255,0.22); stroke-width: 1; }
.relmap-col.is-independent .rel-table { fill: rgba(201,168,76,0.1); stroke: rgba(201,168,76,0.32); }
.rel-table-lab { font-family: var(--font-body); font-size: 8px; letter-spacing: 0.22em; font-weight: 600; fill: rgba(255,255,255,0.42); }
.rel-money { stroke: #cf6a5e; stroke-width: 2; stroke-dasharray: 120; stroke-dashoffset: 120; }
.rel-money.is-gold { stroke: var(--gold); }
.rel-coin { opacity: 0; }
.rel-coin circle { fill: #cf6a5e; }
.rel-coin.is-gold circle { fill: var(--gold); }
.rel-coin text { font-family: var(--font-body); font-size: 10px; font-weight: 700; fill: var(--navy); }
.rel-fid-badge rect { fill: rgba(201,168,76,0.18); stroke: var(--gold); stroke-width: 1; }
.rel-fid-badge text { font-family: var(--font-body); font-size: 9px; letter-spacing: 0.14em; font-weight: 700; fill: var(--gold-light); }
.slide.is-active .relmap-col.is-conflicted .rel-money { animation: relDraw 0.8s ease forwards; animation-delay: 0.7s; }
.slide.is-active .relmap-col.is-independent .rel-money { animation: relDraw 0.8s ease forwards; animation-delay: 1s; }
.slide.is-active .relmap-col.is-conflicted .rel-coin { animation: coinIn 0.5s ease forwards; animation-delay: 1.3s; }
.slide.is-active .relmap-col.is-independent .rel-coin { animation: coinIn 0.5s ease forwards; animation-delay: 1.5s; }
@keyframes coinIn { to { opacity: 1; } }

/* ---- Slide 5: bullseye / target ---- */
.bullseye-wrap { display: flex; justify-content: center; margin-top: 1.4rem; }
.bullseye-box { position: relative; width: clamp(300px, 40vw, 420px); }
.bullseye { width: 100%; height: auto; display: block; }
.bullseye .ring { transform-origin: 180px 180px; transform: scale(0); opacity: 0; }
.bullseye .bull-center { transform-origin: 180px 180px; transform: scale(0); }
.slide.is-active .bullseye .ring-1 { animation: ringIn 0.6s var(--ease) forwards; animation-delay: 0.4s; }
.slide.is-active .bullseye .ring-2 { animation: ringIn 0.6s var(--ease) forwards; animation-delay: 0.55s; }
.slide.is-active .bullseye .ring-3 { animation: ringIn 0.6s var(--ease) forwards; animation-delay: 0.7s; }
.slide.is-active .bullseye .bull-center { animation: ringIn 0.6s var(--ease) forwards; animation-delay: 0.88s; }
@keyframes ringIn { to { transform: scale(1); opacity: 1; } }
.bull-label { font-family: var(--font-heading); font-size: 14px; fill: var(--navy); font-weight: 600; }
.bull-label-strong { font-size: 15px; font-weight: 700; }
.bull-tag {
  position: absolute; font-family: var(--font-body); font-size: 0.82rem; font-weight: 600;
  background: var(--navy); color: #fff; border: 1px solid var(--gold);
  padding: 0.3rem 0.75rem; border-radius: 999px; white-space: nowrap;
  box-shadow: var(--shadow-md);
}
.bull-tag-1 { top: 4%; left: 50%; transform: translateX(-50%); }
.bull-tag-2 { top: 47%; right: -6%; }
.bull-tag-3 { bottom: 2%; left: 50%; transform: translateX(-50%); }
.goal-foot { margin-top: 1.6rem; text-align: center; font-size: clamp(0.95rem,1.3vw,1.15rem); color: var(--gray-600); max-width: 680px; margin-left: auto; margin-right: auto; }
.goal-foot strong { color: var(--gold-dark); }

/* ---- Slide 6: ascending step chart ---- */
.steps-wrap {
  position: relative; display: flex; align-items: flex-end; justify-content: center;
  gap: 1.4rem; margin: 2.4rem auto 0; max-width: 760px; height: 320px;
  padding-left: 50px;
}
.steps-arrow-svg { position: absolute; left: 0; bottom: 0; width: 50px; height: 320px; }
.steps-arrow { stroke-dasharray: 360; stroke-dashoffset: 360; }
.slide.is-active .steps-arrow { animation: relDraw 1s ease forwards; animation-delay: 0.2s; }
.steps-row { display: flex; align-items: flex-end; gap: 1.6rem; width: 100%; height: 100%; justify-content: center; }
.step-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; width: 130px; height: 100%; }
.step-bar {
  width: 100%; height: 0; border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #5b7894, #2a3f54);
  transition: height 0.8s var(--ease);
  position: relative; box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.step-bar.is-top { background: linear-gradient(180deg, var(--gold-light), var(--gold-dark)); }
.step-icon {
  margin-top: -1.9rem; position: relative; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; background: var(--navy);
  border: 1px solid var(--gold); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 0.95rem;
  opacity: 0; transform: translateY(8px);
}
.slide.is-active .step-icon { animation: riseIn 0.6s var(--ease) forwards; }
.step-col:nth-child(1) .step-icon { animation-delay: 0.7s; }
.step-col:nth-child(2) .step-icon { animation-delay: 0.85s; }
.step-col:nth-child(3) .step-icon { animation-delay: 1.0s; }
.step-col:nth-child(4) .step-icon { animation-delay: 1.15s; }
.step-label { margin-top: 0.6rem; font-size: 0.84rem; font-weight: 600; color: rgba(255,255,255,0.82); text-align: center; line-height: 1.25; }
.step-col:last-child .step-label { color: var(--gold-light); }
.steps-foot { margin-top: 1.8rem; text-align: center; font-size: clamp(0.92rem,1.3vw,1.1rem); color: rgba(255,255,255,0.72); max-width: 680px; margin-left: auto; margin-right: auto; }
.steps-foot strong { color: var(--gold-light); }

/* ---- Slide 9: iceberg ---- */
.iceberg-slide .slide-inner { max-width: 940px; }
.iceberg-stage { position: relative; margin: 1.4rem auto 0; max-width: 760px; }
.iceberg-svg { width: 100%; height: auto; display: block; overflow: visible; }
.ice-berg { transform: translateY(60px); opacity: 0; transform-origin: center; }
.slide.is-active .ice-berg { animation: iceRise 1.4s var(--ease) forwards; animation-delay: 0.35s; }
@keyframes iceRise { to { transform: translateY(0); opacity: 1; } }
/* gentle bob: outer wrapper rocks the settled berg up/down + a tiny sway */
.ice-bob { transform-box: view-box; transform-origin: 380px 240px; }
.slide.is-active .ice-bob { animation: iceBob 4.6s ease-in-out 1.75s infinite; }
@keyframes iceBob {
  0%   { transform: translateY(0)    rotate(0deg);  }
  25%  { transform: translateY(-8px) rotate(-1deg); }
  50%  { transform: translateY(1px)  rotate(0deg);  }
  75%  { transform: translateY(8px)  rotate(1deg);  }
  100% { transform: translateY(0)    rotate(0deg);  }
}
/* small waves rippling out from the waterline contact */
.ice-ripple { transform-box: view-box; transform-origin: 380px 151px; opacity: 0; }
.slide.is-active .ice-ripple { animation: iceRipple 4.4s ease-out infinite; }
.slide.is-active .ice-ripple-1 { animation-delay: 1.9s; }
.slide.is-active .ice-ripple-2 { animation-delay: 3.4s; }
.slide.is-active .ice-ripple-3 { animation-delay: 4.9s; }
@keyframes iceRipple {
  0%   { transform: scale(0.42); opacity: 0;    }
  16%  { opacity: 0.9;  }
  100% { transform: scale(2.8);  opacity: 0;    }
}
.ice-sea { opacity: 0; }
.slide.is-active .ice-sea { animation: fadeIn 1.2s ease forwards; animation-delay: 0.6s; }
.ice-waterline { opacity: 0; }
.slide.is-active .ice-waterline { animation: fadeIn 0.8s ease forwards; animation-delay: 0.2s; }
.ice-water-label { font-family: var(--font-body); font-size: 11px; letter-spacing: 0.18em; fill: rgba(201,168,76,0.7); }
.ice-callout {
  position: absolute; text-align: left; display: flex; flex-direction: column;
  background: rgba(10,22,40,0.72); border-radius: var(--radius);
  padding: 0.7rem 0.95rem; backdrop-filter: blur(3px); max-width: 300px;
}
.ice-callout strong { font-family: var(--font-heading); font-size: 1.05rem; color: #fff; }
.ice-callout .ice-sub { font-size: 0.82rem; color: rgba(255,255,255,0.65); line-height: 1.4; margin-top: 0.15rem; }
.ice-pct { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: rgba(255,255,255,0.85); line-height: 1; }
.ice-pct-gold { color: var(--gold); }
.ice-above { top: 2%; left: 2%; border-left: 3px solid rgba(255,255,255,0.6); }
.ice-below { bottom: 4%; right: 2%; border-left: 3px solid var(--gold); }
.iceberg-cap { margin-top: 1rem; text-align: center; font-size: 0.74rem; color: rgba(255,255,255,0.42); }

/* ---- Slide 11: diverging growth curves ---- */
.curve-wrap { margin: 1rem auto 0; max-width: 920px; }
.curve-svg { width: 100%; height: auto; display: block; }
.curve-axis { font-family: var(--font-body); font-size: 12px; fill: rgba(255,255,255,0.45); }
.curve-axis-x { font-size: 12px; fill: rgba(255,255,255,0.6); letter-spacing: 0.04em; }
.curve-end { font-family: var(--font-body); font-size: 13px; font-weight: 600; }
.curve-end-good { fill: var(--gold-light); }
.curve-end-bad { fill: #e69090; }
.curve-gaplabel { font-family: var(--font-heading); font-style: italic; font-size: 15px; fill: rgba(201,168,76,0.8); }
.curve-line { stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.slide.is-active .curve-good { animation: curveDraw 1.6s var(--ease) forwards; animation-delay: 0.5s; }
.slide.is-active .curve-bad { animation: curveDraw 1.6s var(--ease) forwards; animation-delay: 0.5s; }
@keyframes curveDraw { to { stroke-dashoffset: 0; } }
.curve-gap, .curve-dot, .curve-end, .curve-gaplabel { opacity: 0; }
.slide.is-active .curve-gap { animation: fadeIn 1s ease forwards; animation-delay: 1.7s; }
.slide.is-active .curve-dot, .slide.is-active .curve-end { animation: fadeIn 0.7s ease forwards; animation-delay: 2.0s; }
.slide.is-active .curve-gaplabel { animation: fadeIn 0.8s ease forwards; animation-delay: 2.2s; }
.curve-cap { margin-top: 0.7rem; text-align: center; font-size: 0.75rem; color: rgba(255,255,255,0.45); }

/* ---- Slide 12: segmented bar breakdown ---- */
.segbar-wrap { margin: 1.6rem auto 1.4rem; max-width: 720px; }
.segbar {
  display: flex; width: 100%; height: 30px; border-radius: 6px; overflow: hidden;
  background: rgba(255,255,255,0.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.seg-fill { width: 0; height: 100%; transition: width 1s var(--ease); }
.seg-fill:not(:last-child) { border-right: 1px solid rgba(10,22,40,0.5); }
.segbar-legend {
  display: grid; grid-template-columns: repeat(4, auto); justify-content: center;
  gap: 0.4rem 1.6rem; margin-top: 0.9rem; flex-wrap: wrap;
}
.seg-leg { display: flex; align-items: center; gap: 0.45rem; font-size: 0.86rem; color: rgba(255,255,255,0.75); }
.seg-leg b { color: #fff; font-variant-numeric: tabular-nums; font-weight: 700; }
.seg-dot { width: 11px; height: 11px; border-radius: 3px; flex-shrink: 0; }

/* ============================================================
   V3 ANIMATIONS
   ============================================================ */

/* ---- Slide 1: animated title background (orbits + underline) ---- */
.title-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.title-orbits { width: 100%; height: 100%; opacity: 0.9; }
.orbit { transform-box: fill-box; transform-origin: center; }
.slide.is-active .title-orbits { animation: orbitsFade 2s ease forwards; }
@keyframes orbitsFade { from { opacity: 0; } to { opacity: 1; } }
/* spark dots travel along their elliptical orbits */
.orbit-spark { offset-rotate: 0deg; opacity: 0; }
.slide.is-active .spark-1 { offset-path: path('M80 400 a 520 300 0 1 1 1040 0 a 520 300 0 1 1 -1040 0'); animation: sparkRun 26s linear infinite, fadeIn 2s ease forwards; }
.slide.is-active .spark-2 { offset-path: path('M220 400 a 380 210 0 1 1 760 0 a 380 210 0 1 1 -760 0'); animation: sparkRun 18s linear infinite reverse, fadeIn 2.4s ease forwards; }
.slide.is-active .spark-3 { offset-path: path('M350 400 a 250 135 0 1 1 500 0 a 250 135 0 1 1 -500 0'); animation: sparkRun 13s linear infinite, fadeIn 2.8s ease forwards; }
@keyframes sparkRun { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.title-underline { width: clamp(180px, 22vw, 320px); height: 8px; margin: 0.4rem auto 0; }
.title-underline svg { width: 100%; height: 8px; display: block; }
.tul { stroke-dasharray: 320; stroke-dashoffset: 320; }
.slide.is-active .tul { animation: relDraw 1.1s var(--ease) forwards; animation-delay: 0.5s; }

/* ---- Slide 2: lights-on bloom ---- */
.hook-slide { background: #060d18; }
.lights-bloom {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at 30% 38%, rgba(201,168,76,0.22) 0%, rgba(201,168,76,0.06) 22%, rgba(6,13,24,0) 55%);
  opacity: 0; transform: scale(0.4); transform-origin: 30% 38%;
}
.slide.is-active .lights-bloom { animation: bloomIn 1.8s var(--ease) forwards; }
@keyframes bloomIn {
  0% { opacity: 0; transform: scale(0.3); }
  60% { opacity: 1; }
  100% { opacity: 0.85; transform: scale(1.25); }
}
/* headline lifts out of shadow */
.hook-slide .s-head { position: relative; z-index: 3; }
.hook-slide.slide.is-active .s-head { animation: riseIn 0.85s var(--ease) forwards, liftShadow 1.4s ease forwards; }
@keyframes liftShadow {
  from { filter: brightness(0.45); text-shadow: 0 0 18px rgba(0,0,0,0.7); }
  to { filter: brightness(1); text-shadow: 0 0 0 rgba(0,0,0,0); }
}
.hook-kicker { color: var(--gold-light); }

/* ---- Slide 4: engine meters ---- */
.engine-meter { margin-top: 1.1rem; display: flex; align-items: center; gap: 0.5rem; }
.engine-meter-label {
  font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4); white-space: nowrap;
}
.engine-meter-track {
  flex: 1; height: 6px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden;
}
.engine-meter-fill {
  display: block; height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  transition: width 0.9s var(--ease);
}

/* ---- Slide 8: uncertainty gauge ---- */
.gauge-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; margin: 1.8rem auto 1.4rem; }
.gauge-svg { width: clamp(220px, 26vw, 300px); height: auto; overflow: visible; }
.gauge-active {
  stroke-dasharray: 346; stroke-dashoffset: 346;
}
.slide.is-active .gauge-active { animation: gaugeFill 1.3s var(--ease) forwards; animation-delay: 0.55s; }
@keyframes gaugeFill { to { stroke-dashoffset: 90; } }
.gauge-needle { transform-origin: 140px 150px; transform: rotate(-78deg); }
.slide.is-active .gauge-needle { animation: needleSweep 1.8s var(--ease) forwards; animation-delay: 0.55s; }
@keyframes needleSweep {
  0% { transform: rotate(-78deg); }
  55% { transform: rotate(70deg); }
  72% { transform: rotate(20deg); }
  86% { transform: rotate(44deg); }
  100% { transform: rotate(32deg); }
}
.gauge-q {
  font-family: var(--font-heading); font-size: 30px; font-weight: 700; fill: var(--gold);
  opacity: 0;
}
.slide.is-active .gauge-q { animation: qPulse 1.6s ease forwards; animation-delay: 1.6s; }
@keyframes qPulse {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.gauge-label { font-family: var(--font-body); font-size: 1.05rem; color: rgba(255,255,255,0.7); }
.gauge-unknown {
  color: var(--gold); font-weight: 600;
  animation: unknownBlink 2.4s ease-in-out infinite; animation-delay: 1.8s;
}
@keyframes unknownBlink { 0%,100% { opacity: 1; } 50% { opacity: 0.45; } }
.mdq .gauge-wrap { margin-left: auto; margin-right: auto; }

/* ---- Slide 13: highlighter + translate ---- */
.doc-hl-row td { position: relative; font-weight: 600; color: var(--navy); }
.doc-highlighter {
  position: absolute; left: -180px; top: 50%; transform: translateY(-50%);
  width: 190px; height: 16px; background: rgba(201,168,76,0.45); border-radius: 2px;
  opacity: 0; pointer-events: none; mix-blend-mode: multiply;
}
.slide.is-active .doc-highlighter { animation: hlSweep 1.1s var(--ease) forwards; animation-delay: 1s; }
@keyframes hlSweep {
  0% { opacity: 0; left: -180px; }
  20% { opacity: 1; }
  100% { opacity: 1; left: -150px; }
}
.translate-box {
  margin-top: 1.2rem; background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 1.1rem 1.3rem; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem;
}
.translate-from, .translate-to { display: flex; flex-direction: column; }
.tr-lab { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-500); }
.translate-from .tr-val { font-family: 'Courier New', monospace; font-size: 0.95rem; color: var(--gray-600); }
.translate-arrow { color: var(--gold-dark); font-size: 1.2rem; line-height: 1; margin: 0.1rem 0; }
.tr-val-gold { font-family: var(--font-heading); font-weight: 700; font-size: 1.8rem; color: var(--gold-dark); font-variant-numeric: tabular-nums; }
.tr-yr { font-size: 0.8rem; color: var(--gray-500); }
.translate-cap { margin-top: 0.6rem; font-size: 0.68rem; color: var(--gray-400); }

/* ---- Slide 14: value-card icon micro-motion ---- */
.kv-grid-anim .kv-card .kv-icon svg { transform: scale(0.6); opacity: 0; }
.slide.is-active .kv-grid-anim .kv-card .kv-icon svg { animation: iconPop 0.6s var(--ease) forwards; }
@keyframes iconPop { to { transform: scale(1); opacity: 1; } }
.kv-grid-anim .kv-card:nth-child(1) .kv-icon svg { animation-delay: 0.5s; }
.kv-grid-anim .kv-card:nth-child(2) .kv-icon svg { animation-delay: 0.6s; }
.kv-grid-anim .kv-card:nth-child(3) .kv-icon svg { animation-delay: 0.7s; }
.kv-grid-anim .kv-card:nth-child(4) .kv-icon svg { animation-delay: 0.8s; }
.kv-grid-anim .kv-card:nth-child(5) .kv-icon svg { animation-delay: 0.9s; }
.kv-grid-anim .kv-card:nth-child(6) .kv-icon svg { animation-delay: 1.0s; }
.kv-grid-anim .kv-num { opacity: 0; }
.slide.is-active .kv-grid-anim .kv-num { animation: fadeIn 0.5s ease forwards; }
.kv-grid-anim .kv-card:nth-child(1) .kv-num { animation-delay: 0.58s; }
.kv-grid-anim .kv-card:nth-child(2) .kv-num { animation-delay: 0.68s; }
.kv-grid-anim .kv-card:nth-child(3) .kv-num { animation-delay: 0.78s; }
.kv-grid-anim .kv-card:nth-child(4) .kv-num { animation-delay: 0.88s; }
.kv-grid-anim .kv-card:nth-child(5) .kv-num { animation-delay: 0.98s; }
.kv-grid-anim .kv-card:nth-child(6) .kv-num { animation-delay: 1.08s; }

/* ---- Slide 16 (new): compounding-cost area chart ---- */
.compound-sub { font-size: clamp(0.95rem,1.4vw,1.18rem); color: rgba(255,255,255,0.72); max-width: 720px; margin: 0 auto; }
.compound-wrap { position: relative; margin: 1.2rem auto 0; max-width: 900px; }
.compound-svg { width: 100%; height: auto; display: block; }
.area-clip-rect { transition: none; }
.slide.is-active .area-clip-rect { animation: clipReveal 4s linear forwards; animation-delay: 0.6s; }
@keyframes clipReveal { from { width: 0; } to { width: 800px; } }
.compound-axis { font-family: var(--font-body); font-size: 12px; fill: rgba(255,255,255,0.45); }
.compound-axis-x, .compound-axis-y { fill: rgba(255,255,255,0.6); letter-spacing: 0.03em; }
.compound-dot { opacity: 0; }
.slide.is-active .compound-dot { animation: fadeIn 0.6s ease forwards; animation-delay: 4.5s; }
/* dual-curve: legend, delta brace, curve labels */
.cc-leg-t { font-family: var(--font-body); font-size: 13px; fill: rgba(255,255,255,0.78); }
.cc-legend { opacity: 0; }
.slide.is-active .cc-legend { animation: fadeIn 0.7s ease forwards; animation-delay: 0.7s; }
.cc-delta { opacity: 0; }
.slide.is-active .cc-delta { animation: fadeIn 0.7s ease forwards; animation-delay: 4.6s; }
.cc-delta-lab { font-family: var(--font-heading); font-weight: 700; font-size: 15px; fill: var(--gold); }
.compound-figbox {
  position: absolute; top: 8%; right: 3%; text-align: right;
  background: rgba(10,22,40,0.6); border-right: 3px solid var(--gold);
  padding: 0.5rem 0.9rem; border-radius: var(--radius); backdrop-filter: blur(3px);
}
.compound-fig { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 3rem); color: var(--gold); line-height: 1; font-variant-numeric: tabular-nums; }
.compound-figlab { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.6); margin-top: 0.2rem; }
.compound-cap { margin-top: 0.9rem; text-align: center; font-size: 0.72rem; color: rgba(255,255,255,0.45); max-width: 820px; margin-left: auto; margin-right: auto; line-height: 1.5; }

/* ---- Slide 18: CTA documents + arrow flow ---- */
.cta-flow {
  display: flex; align-items: center; justify-content: center; gap: clamp(0.8rem, 2vw, 1.8rem);
  margin: 2rem auto 1.8rem; flex-wrap: wrap;
}
.cta-doc { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; opacity: 0; transform: translateX(-26px); }
.slide.is-active .cta-doc-1 { animation: docSlideIn 0.7s var(--ease) forwards; animation-delay: 0.6s; }
.slide.is-active .cta-doc-2 { animation: docSlideIn 0.7s var(--ease) forwards; animation-delay: 0.78s; }
@keyframes docSlideIn { to { opacity: 1; transform: translateX(0); } }
.cta-doc svg { width: clamp(48px, 6vw, 62px); height: auto; }
.cta-doc-label { font-size: 0.78rem; color: rgba(255,255,255,0.8); text-align: center; line-height: 1.3; font-weight: 500; }
.cta-arrow { width: clamp(70px, 9vw, 100px); height: auto; }
.cta-arrow-line { stroke-dasharray: 80; stroke-dashoffset: 80; }
.cta-arrow-head { stroke-dasharray: 40; stroke-dashoffset: 40; }
.slide.is-active .cta-arrow-line { animation: relDraw 0.6s ease forwards; animation-delay: 1.0s; }
.slide.is-active .cta-arrow-head { animation: relDraw 0.4s ease forwards; animation-delay: 1.5s; }
.cta-result { opacity: 0; transform: scale(0.85); }
.slide.is-active .cta-result { animation: resultPop 0.6s var(--ease) forwards; animation-delay: 1.7s; }
@keyframes resultPop { to { opacity: 1; transform: scale(1); } }
.cta-result-inner {
  display: inline-block; font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.4rem); color: var(--navy); background: var(--gold);
  padding: 0.7rem 1.3rem; border-radius: var(--radius); box-shadow: 0 8px 24px rgba(201,168,76,0.3);
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  .slide, .slide.is-active { transition: opacity 0.2s ease; transform: none !important; }
  .anim, .anim-fade { opacity: 1 !important; transform: none !important; animation: none !important; }
  .eupac-fill { transition: none; }
  .progress-bar { transition: none; }
  .scroll-arrow { animation: none; }
  .rel-line, .steps-arrow, .curve-line, .rel-money { stroke-dashoffset: 0 !important; animation: none !important; }
  .rel-pull { animation: none !important; opacity: 0.7 !important; }
  .rel-coin { opacity: 1 !important; animation: none !important; }
  .bullseye .ring, .bullseye .bull-center { transform: scale(1) !important; opacity: 1 !important; animation: none !important; }
  .step-icon, .ice-berg, .ice-bob, .ice-sea, .ice-waterline, .curve-gap, .curve-dot, .curve-end, .curve-gaplabel {
    opacity: 1 !important; transform: none !important; animation: none !important;
  }
  .ice-ripple { opacity: 0 !important; animation: none !important; }
  .step-bar, .seg-fill { transition: none !important; }

  /* ---- V3 elements: snap to final state ---- */
  .title-orbits, .orbit-spark { animation: none !important; opacity: 1 !important; }
  .orbit-spark { offset-distance: 0% !important; }
  .tul { stroke-dashoffset: 0 !important; animation: none !important; }
  .lights-bloom { animation: none !important; opacity: 0.85 !important; transform: scale(1.1) !important; }
  .hook-slide .s-head { animation: none !important; filter: none !important; text-shadow: none !important; }
  .engine-meter-fill { transition: none !important; }
  .gauge-active { animation: none !important; stroke-dashoffset: 90 !important; }
  .gauge-needle { animation: none !important; transform: rotate(32deg) !important; }
  .gauge-q { animation: none !important; opacity: 1 !important; }
  .gauge-unknown { animation: none !important; opacity: 1 !important; }
  .doc-highlighter { animation: none !important; opacity: 1 !important; left: -150px !important; }
  .kv-grid-anim .kv-card .kv-icon svg { animation: none !important; transform: scale(1) !important; opacity: 1 !important; }
  .kv-grid-anim .kv-num { animation: none !important; opacity: 1 !important; }
  .area-clip-rect { animation: none !important; width: 800px !important; }
  .compound-dot { animation: none !important; opacity: 1 !important; }
  .cc-legend, .cc-delta { animation: none !important; opacity: 1 !important; }
  .cta-doc { animation: none !important; opacity: 1 !important; transform: none !important; }
  .cta-arrow-line, .cta-arrow-head { animation: none !important; stroke-dashoffset: 0 !important; }
  .cta-result { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .conflict-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .disclosure-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .kv-grid { grid-template-columns: repeat(2, 1fr); }
  .engine-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .slide { padding: 2.4rem 1.6rem; }
  .eupac-row { grid-template-columns: 130px 1fr 54px; gap: 0.6rem; }
  .eupac-label { font-size: 0.72rem; white-space: normal; }
  .pill { display: none; }
  .twoplan { grid-template-columns: 1fr; }
  .kv-grid { grid-template-columns: 1fr; }
  .engine-grid { grid-template-columns: 1fr 1fr; }
  .savings-flow { gap: 0.8rem; }
  .nav-next { left: 4.2rem; }
  .kbd-hint { display: none; }
  .doc-mock { transform: none; }
  /* new viz stacking */
  .relmap { grid-template-columns: 1fr; gap: 1.4rem; }
  .steps-row { gap: 0.7rem; }
  .step-col { width: 84px; }
  .step-label { font-size: 0.72rem; }
  .segbar-legend { grid-template-columns: repeat(2, auto); gap: 0.5rem 1.2rem; }
  .ice-callout { position: static; max-width: 100%; margin: 0.6rem auto 0; }
  .bull-tag-2 { right: -2%; font-size: 0.72rem; }
  /* v3 stacking */
  .cta-flow { gap: 0.8rem; }
  .cta-arrow { transform: rotate(90deg); width: 54px; }
  .compound-figbox { top: 4%; right: 2%; padding: 0.4rem 0.7rem; }
  .compound-fig { font-size: 1.6rem; }
  .gauge-svg { width: clamp(200px, 60vw, 260px); }
  .engine-meter-label { font-size: 0.56rem; }
}
@media (max-width: 520px) {
  .steps-wrap { padding-left: 30px; height: 240px; }
  .bull-tag { font-size: 0.68rem; padding: 0.25rem 0.55rem; }
}
@media (max-width: 520px) {
  .engine-grid { grid-template-columns: 1fr; }
  .kv-grid { grid-template-columns: 1fr; }
  .eupac-row { grid-template-columns: 96px 1fr 48px; }
  .slide-inner { max-height: 100%; overflow-y: auto; }
}
