/*! Slideshow framework (MIT) | Copyright (c) 2026 Byron Darlison
 * Canonical copy: /framework
 * Fonts: Geist / Geist Mono under SIL OFL 1.1 — see ../fonts/LICENSE.txt
 */
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
}

@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
}

/* ===========================================
   THEME
   =========================================== */
:root {
  --ink: #333333;
  --ink-deep: #252525;
  --muted: #717171;
  --line: #d7d7d7;
  --line-soft: #eeeeee;
  --paper: #ffffff;
  --paper-soft: #fafafa;
  --blue: #326ab5;
  --blue-soft: #eaf0f8;
  --green: #54b570;
  --green-soft: #e8f5ec;
  --font-display: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  --font-body: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-normal: 420ms;
  --sidebar-width: clamp(14rem, 20vw, 18rem);
  --slide-padding: clamp(1rem, 4vw, 4rem);
  --content-gap: clamp(0.5rem, 2vw, 2rem);
  --element-gap: clamp(0.25rem, 1vw, 1rem);
  --title-size: clamp(1.85rem, 4.1vw, 3.7rem);
  --h2-size: clamp(1.35rem, 3vw, 2.6rem);
  --h3-size: clamp(1rem, 2.2vw, 1.65rem);
  --body-size: clamp(0.8rem, 1.45vw, 1.2rem);
  --small-size: clamp(0.67rem, 0.9vw, 0.86rem);
}

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  overscroll-behavior-y: none;
}

button { font: inherit; }

/* ===========================================
   VIEWPORT FITTING: MANDATORY BASE STYLES
   Include this ENTIRE file in every presentation.
   These styles ensure slides fit exactly in the viewport.
   =========================================== */

/* 1. Lock html/body to viewport */
html, body {
    height: 100%;
    overflow-x: hidden;
}

html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

/* 2. Each slide = exact viewport height */
.slide {
    width: 100vw;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile browsers */
    overflow: hidden; /* CRITICAL: Prevent ANY overflow */
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* 3. Content container with flex for centering */
.slide-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-height: 100%;
    overflow: hidden; /* Double-protection against overflow */
    padding: var(--slide-padding);
}

/* 4. ALL typography uses clamp() for responsive scaling */
:root {
    /* Titles scale from mobile to desktop */
    --title-size: clamp(1.5rem, 5vw, 4rem);
    --h2-size: clamp(1.25rem, 3.5vw, 2.5rem);
    --h3-size: clamp(1rem, 2.5vw, 1.75rem);

    /* Body text */
    --body-size: clamp(0.75rem, 1.5vw, 1.125rem);
    --small-size: clamp(0.65rem, 1vw, 0.875rem);

    /* Spacing scales with viewport */
    --slide-padding: clamp(1rem, 4vw, 4rem);
    --content-gap: clamp(0.5rem, 2vw, 2rem);
    --element-gap: clamp(0.25rem, 1vw, 1rem);
}

/* 5. Cards/containers use viewport-relative max sizes */
.card, .container, .content-box {
    max-width: min(90vw, 1000px);
    max-height: min(80vh, 700px);
}

/* 6. Lists auto-scale with viewport */
.feature-list, .bullet-list {
    gap: clamp(0.4rem, 1vh, 1rem);
}

.feature-list li, .bullet-list li {
    font-size: var(--body-size);
    line-height: 1.4;
}

/* 7. Grids adapt to available space */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: clamp(0.5rem, 1.5vw, 1rem);
}

/* 8. Images constrained to viewport */
img, .image-container {
    max-width: 100%;
    max-height: min(50vh, 400px);
    object-fit: contain;
}

/* ===========================================
   RESPONSIVE BREAKPOINTS
   Aggressive scaling for smaller viewports
   =========================================== */

/* Short viewports (< 700px height) */
@media (max-height: 700px) {
    :root {
        --slide-padding: clamp(0.75rem, 3vw, 2rem);
        --content-gap: clamp(0.4rem, 1.5vw, 1rem);
        --title-size: clamp(1.25rem, 4.5vw, 2.5rem);
        --h2-size: clamp(1rem, 3vw, 1.75rem);
    }
}

/* Very short viewports (< 600px height) */
@media (max-height: 600px) {
    :root {
        --slide-padding: clamp(0.5rem, 2.5vw, 1.5rem);
        --content-gap: clamp(0.3rem, 1vw, 0.75rem);
        --title-size: clamp(1.1rem, 4vw, 2rem);
        --body-size: clamp(0.7rem, 1.2vw, 0.95rem);
    }

    /* Hide non-essential elements */
    .nav-dots, .keyboard-hint, .decorative {
        display: none;
    }
}

/* Extremely short (landscape phones, < 500px height) */
@media (max-height: 500px) {
    :root {
        --slide-padding: clamp(0.4rem, 2vw, 1rem);
        --title-size: clamp(1rem, 3.5vw, 1.5rem);
        --h2-size: clamp(0.9rem, 2.5vw, 1.25rem);
        --body-size: clamp(0.65rem, 1vw, 0.85rem);
    }
}

/* Narrow viewports (< 600px width) */
@media (max-width: 600px) {
    :root {
        --title-size: clamp(1.25rem, 7vw, 2.5rem);
    }

    /* Stack grids vertically */
    .grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================================
   REDUCED MOTION
   Respect user preferences
   =========================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.2s !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ===========================================
   PRESENTATION FRAME
   =========================================== */
.slide {
  background: var(--paper);
  isolation: isolate;
}

#presentation {
  width: calc(100vw - var(--sidebar-width));
  margin-left: var(--sidebar-width);
}

#presentation .slide { width: 100%; }

.slide-content {
  width: min(100%, 100rem);
  margin: 0 auto;
  justify-content: flex-start;
  gap: clamp(0.35rem, 1.4vh, 1rem);
}

.brand-line {
  flex: 0 0 auto;
  width: clamp(3.5rem, 7vw, 5.8rem);
  height: clamp(0.28rem, 0.65vh, 0.48rem);
  background: var(--blue);
  margin-bottom: clamp(0.4rem, 1.2vh, 0.9rem);
}

.brand-line.green { background: var(--green); }

.eyebrow {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: clamp(0.62rem, 1.1vw, 0.98rem);
  font-weight: 800;
  letter-spacing: clamp(0.08em, 0.16vw, 0.16em);
  line-height: 1;
  text-transform: uppercase;
}

h1, h2, h3 { font-family: var(--font-display); }

.slide-title {
  flex: 0 0 auto;
  max-width: min(94vw, 90rem);
  color: var(--ink);
  font-size: clamp(1.5rem, 3.7vw, 3.45rem);
  font-weight: 850;
  letter-spacing: clamp(-0.045em, -0.08vw, -0.02em);
  line-height: 0.98;
  text-wrap: balance;
}

.slide-stage {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-block: clamp(0.2rem, 1vh, 0.8rem);
}

.slide-footer {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.5rem, 1vw, 1rem);
  color: var(--muted);
  font-size: clamp(0.58rem, 0.84vw, 0.78rem);
  font-weight: 750;
  letter-spacing: clamp(0.04em, 0.08vw, 0.08em);
  line-height: 1;
  text-transform: uppercase;
}

.slide-footer strong { color: var(--ink); }

/* ===========================================
   ANIMATIONS
   =========================================== */
.reveal,
.reveal-left,
.reveal-scale {
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out-expo), transform var(--duration-normal) var(--ease-out-expo);
  will-change: opacity, transform;
}

.reveal { transform: translateY(clamp(0.7rem, 2vh, 1.5rem)); }
.reveal-left { transform: translateX(calc(-1 * clamp(0.9rem, 3vw, 2.8rem))); }
.reveal-scale { transform: scale(0.94); }

.slide.visible .reveal,
.slide.visible .reveal-left,
.slide.visible .reveal-scale {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.delay-1 { transition-delay: 90ms; }
.delay-2 { transition-delay: 180ms; }
.delay-3 { transition-delay: 270ms; }
.delay-4 { transition-delay: 360ms; }

/* ===========================================
   SHARED VISUAL LANGUAGE
   =========================================== */
.accent-blue { color: var(--blue); }
.accent-green { color: var(--green); }
.muted { color: var(--muted); }

.support-line {
  color: var(--muted);
  font-size: clamp(0.9rem, 2vw, 1.55rem);
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
}

.big-number {
  color: var(--green);
  font-size: clamp(4.3rem, 12vw, 10.5rem);
  font-weight: 900;
  letter-spacing: clamp(-0.07em, -0.12vw, -0.04em);
  line-height: 0.8;
}

.big-label {
  color: var(--ink);
  font-size: clamp(1rem, 2.7vw, 2.15rem);
  font-weight: 800;
  line-height: 1.02;
  text-wrap: balance;
}

.arrow {
  color: var(--line);
  font-size: clamp(1.8rem, 5vw, 4.7rem);
  font-weight: 850;
  line-height: 1;
  text-align: center;
}

.arrow.green { color: var(--green); }

.soft-rule {
  width: min(100%, 62rem);
  height: clamp(0.12rem, 0.3vh, 0.22rem);
  background: var(--line-soft);
}

.ask-line {
  color: var(--muted);
  font-size: clamp(0.75rem, 1.45vw, 1.05rem);
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
}

/* ===========================================
   SLIDE 2: OPENING STORY
   =========================================== */
.opening-grid {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  align-items: center;
  gap: clamp(0.8rem, 4vw, 4rem);
}

.opening-title {
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 4.7rem);
  font-weight: 870;
  letter-spacing: clamp(-0.055em, -0.11vw, -0.028em);
  line-height: 0.92;
  text-wrap: balance;
}

.opening-art {
  width: 100%;
  max-height: min(57vh, 32rem);
  object-fit: contain;
}

/* ===========================================
   SLIDE 3: RESERVE OUTCOME
   =========================================== */
.reserve-layout {
  width: min(100%, 78rem);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(1rem, 5vw, 5rem);
}

.reserve-metric { text-align: center; }

.reserve-metric p {
  margin-top: clamp(0.65rem, 1.5vh, 1.1rem);
  font-size: clamp(1rem, 2.6vw, 2.05rem);
  font-weight: 800;
  line-height: 1.05;
}

.timeline {
  display: grid;
  gap: clamp(0.7rem, 2vh, 1.2rem);
  text-align: center;
}

.timeline-title {
  color: var(--blue);
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 850;
}

.timeline-track {
  position: relative;
  height: clamp(2.5rem, 8vh, 5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.timeline-track::before {
  content: "";
  position: absolute;
  inset-inline: clamp(0.8rem, 2vw, 1.5rem);
  top: 50%;
  height: clamp(0.22rem, 0.45vh, 0.38rem);
  background: var(--blue);
  transform: translateY(-50%);
  z-index: -1;
}

.timeline-dot {
  width: clamp(2rem, 4.4vw, 3.4rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--blue);
  border: clamp(0.22rem, 0.45vw, 0.35rem) solid var(--paper);
  box-shadow: 0 0 0 clamp(0.12rem, 0.2vw, 0.2rem) var(--blue);
}

.timeline-dot.end {
  background: var(--green);
  box-shadow: 0 0 0 clamp(0.12rem, 0.2vw, 0.2rem) var(--green);
}

.timeline-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: clamp(0.72rem, 1.2vw, 1rem);
  font-weight: 800;
  letter-spacing: clamp(0.04em, 0.08vw, 0.08em);
  text-transform: uppercase;
}

.timeline-labels strong { color: var(--green); }

/* ===========================================
   SLIDES 3-5: CAUSAL CHAINS
   =========================================== */
.causal-chain,
.model-chain,
.review-chain {
  width: min(100%, 82rem);
  display: grid;
  align-items: center;
  justify-content: center;
  gap: clamp(0.35rem, 1.8vw, 1.5rem);
}

.causal-chain { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.15fr) auto minmax(0, 1fr); }
.model-chain { grid-template-columns: repeat(7, auto); }
.review-chain { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.25fr); }

.chain-node {
  min-width: 0;
  display: grid;
  gap: clamp(0.35rem, 1vh, 0.75rem);
  text-align: center;
}

.chain-node strong {
  color: var(--ink);
  font-size: clamp(0.95rem, 2.25vw, 1.85rem);
  font-weight: 850;
  line-height: 1.02;
  text-wrap: balance;
}

.chain-node span {
  color: var(--muted);
  font-size: clamp(0.68rem, 1.2vw, 1rem);
  font-weight: 650;
  line-height: 1.2;
  text-wrap: balance;
}

.forecast-node {
  padding: clamp(0.85rem, 2vw, 1.6rem);
  border: clamp(0.12rem, 0.2vw, 0.18rem) solid var(--blue);
  border-radius: clamp(0.8rem, 2vw, 1.4rem);
  background: var(--blue-soft);
}

.forecast-node strong { color: var(--blue); }
.forecast-node span { color: var(--green); font-weight: 800; }

.model-word {
  display: grid;
  gap: clamp(0.25rem, 0.75vh, 0.55rem);
  text-align: center;
}

.model-word strong {
  font-size: clamp(0.9rem, 2vw, 1.62rem);
  font-weight: 900;
  line-height: 1;
}

.model-word span {
  color: var(--muted);
  font-size: clamp(0.58rem, 0.98vw, 0.82rem);
  font-weight: 650;
  line-height: 1.15;
}

/* ===========================================
   SLIDE 6: DRIVER DEFINITION
   =========================================== */
.driver-layout {
  width: min(100%, 76rem);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(1.1rem, 5vw, 5.5rem);
}

.driver-definition {
  display: grid;
  gap: clamp(0.35rem, 1vh, 0.7rem);
}

.driver-definition strong {
  color: var(--blue);
  font-size: clamp(2.2rem, 6vw, 5.3rem);
  font-weight: 900;
  line-height: 0.88;
}

.driver-definition span {
  color: var(--green);
  font-size: clamp(1.15rem, 3vw, 2.3rem);
  font-weight: 850;
  line-height: 1;
}

.driver-examples {
  display: grid;
  gap: clamp(0.55rem, 1.5vh, 1rem);
}

.driver-example {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(0.6rem, 1.6vw, 1.1rem);
  color: var(--ink);
  font-size: clamp(0.95rem, 2.2vw, 1.72rem);
  font-weight: 800;
}

.driver-dot {
  width: clamp(0.75rem, 1.6vw, 1.2rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--blue);
}

.driver-example:last-child .driver-dot { background: var(--green); }

/* ===========================================
   SLIDE 8: AMOUNT AND TIMING
   =========================================== */
.amount-timing {
  width: min(100%, 76rem);
  display: grid;
  grid-template-columns: 1fr clamp(0.16rem, 0.35vw, 0.28rem) 1fr;
  align-items: stretch;
  gap: clamp(1rem, 4vw, 4rem);
}

.amount-timing .divider { background: var(--line); }

.amount-column {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(0.55rem, 1.5vh, 1rem);
  text-align: center;
}

.amount-column h3 {
  font-size: clamp(2.2rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 0.9;
}

.amount-column strong {
  font-size: clamp(1.05rem, 2.6vw, 2rem);
  font-weight: 850;
}

.amount-column p {
  color: var(--muted);
  font-size: clamp(0.78rem, 1.6vw, 1.2rem);
  font-weight: 650;
}

/* ===========================================
   SLIDE 9: DRIVER TO FORECAST
   =========================================== */
.assumption-layout {
  width: min(100%, 76rem);
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) auto minmax(0, 1.35fr);
  align-items: center;
  gap: clamp(0.6rem, 4vw, 3.8rem);
}

.days-target { text-align: center; }
.days-target .big-number { color: var(--blue); }
.days-target span {
  display: block;
  color: var(--muted);
  font-size: clamp(0.78rem, 1.5vw, 1.1rem);
  font-weight: 800;
  letter-spacing: clamp(0.05em, 0.1vw, 0.09em);
  text-transform: uppercase;
}

.forecast-result {
  padding: clamp(1rem, 3vw, 2.5rem);
  border: clamp(0.12rem, 0.24vw, 0.2rem) solid var(--blue);
  border-radius: clamp(0.9rem, 2.5vw, 1.8rem);
  background: var(--blue-soft);
  text-align: center;
}

.forecast-result strong {
  display: block;
  font-size: clamp(1.25rem, 3.4vw, 2.7rem);
  font-weight: 880;
  line-height: 1.02;
  text-wrap: balance;
}

.forecast-result span {
  display: block;
  margin-top: clamp(0.55rem, 1.5vh, 1rem);
  color: var(--green);
  font-size: clamp(0.75rem, 1.45vw, 1.05rem);
  font-weight: 850;
  line-height: 1.2;
}

/* ===========================================
   SLIDE 12: WEEKLY DRIVER REVIEW
   =========================================== */
.three-views {
  width: min(100%, 82rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.6rem, 2vw, 1.6rem);
}

.view {
  min-width: 0;
  min-height: clamp(8rem, 28vh, 14rem);
  display: grid;
  align-content: center;
  gap: clamp(0.8rem, 2vh, 1.25rem);
  padding: clamp(0.9rem, 2.5vw, 2rem);
  border: clamp(0.08rem, 0.16vw, 0.14rem) solid var(--line);
  border-radius: clamp(0.8rem, 2vw, 1.4rem);
  background: var(--paper-soft);
  text-align: center;
}

.view.rolling {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.view h3 {
  color: var(--muted);
  font-size: clamp(1.1rem, 2.6vw, 2.1rem);
  font-weight: 900;
}

.view.rolling h3 { color: var(--blue); }

.view p {
  font-size: clamp(0.9rem, 1.8vw, 1.35rem);
  font-weight: 780;
  line-height: 1.15;
  text-wrap: balance;
}

/* ===========================================
   SLIDES 11-12: COLLECTION SERIES
   =========================================== */
.variance-layout {
  width: min(100%, 72rem);
  display: grid;
  grid-template-columns: 1fr clamp(0.16rem, 0.35vw, 0.28rem) 1fr minmax(0, 0.72fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 3.5rem);
  text-align: center;
}

.variance-divider { align-self: stretch; background: var(--line); }

.variance-metric span,
.trend-point span {
  display: block;
  color: var(--muted);
  font-size: clamp(0.68rem, 1.25vw, 0.95rem);
  font-weight: 800;
  letter-spacing: clamp(0.05em, 0.09vw, 0.08em);
  text-transform: uppercase;
}

.variance-metric strong {
  display: block;
  margin-block: clamp(0.2rem, 0.8vh, 0.5rem);
  font-size: clamp(4.1rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 0.85;
}

.variance-metric small {
  color: var(--muted);
  font-size: clamp(0.78rem, 1.5vw, 1.1rem);
  font-weight: 700;
}

.variance-gap {
  color: var(--green);
  font-size: clamp(1.2rem, 3.2vw, 2.5rem);
  font-weight: 900;
  line-height: 1;
}

.trend {
  width: min(100%, 78rem);
  display: grid;
  grid-template-columns: repeat(5, auto);
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 3vw, 2.7rem);
}

.trend-point {
  display: grid;
  justify-items: center;
  gap: clamp(0.4rem, 1vh, 0.7rem);
}

.trend-circle {
  width: clamp(6.2rem, 15vw, 10rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: clamp(0.2rem, 0.4vw, 0.34rem) solid var(--ink);
  border-radius: 50%;
  background: var(--paper-soft);
  color: var(--ink);
  font-size: clamp(2.6rem, 6.2vw, 5.1rem);
  font-weight: 900;
  line-height: 1;
}

.trend-point.mid .trend-circle { border-color: var(--blue); color: var(--blue); }
.trend-point.end .trend-circle { border-color: var(--green); background: var(--green-soft); color: var(--green); }

.target-caption {
  width: min(100%, 78rem);
  margin-inline: auto;
  padding-top: clamp(0.35rem, 0.8vh, 0.6rem);
  border-top: clamp(0.12rem, 0.24vw, 0.2rem) solid var(--blue-soft);
  color: var(--blue);
  font-size: clamp(0.8rem, 1.6vw, 1.2rem);
  font-weight: 850;
  text-align: center;
}

/* ===========================================
   SLIDE 16: MONTHLY REVIEW
   =========================================== */
.monthly-chain {
  width: min(100%, 82rem);
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) auto minmax(0, 1.5fr) auto minmax(0, 0.82fr);
  align-items: center;
  gap: clamp(0.45rem, 2vw, 1.6rem);
}

.monthly-node {
  text-align: center;
  font-size: clamp(0.95rem, 2.1vw, 1.65rem);
  font-weight: 880;
  line-height: 1.05;
  text-wrap: balance;
}

.monthly-review-box {
  padding: clamp(1rem, 2.5vw, 2rem);
  border: clamp(0.12rem, 0.22vw, 0.18rem) solid var(--blue);
  border-radius: clamp(0.8rem, 2vw, 1.4rem);
  background: var(--blue-soft);
  text-align: center;
}

.monthly-review-box strong {
  display: block;
  color: var(--blue);
  font-size: clamp(0.85rem, 1.7vw, 1.3rem);
  font-weight: 900;
  letter-spacing: clamp(0.03em, 0.08vw, 0.07em);
}

.monthly-review-box span {
  display: block;
  margin-top: clamp(0.7rem, 1.8vh, 1.1rem);
  font-size: clamp(1rem, 2.4vw, 1.85rem);
  font-weight: 850;
  line-height: 1.08;
}

/* ===========================================
   SLIDES 14-15: CONSEQUENCE AND DECISION
   =========================================== */
.cash-consequence {
  display: grid;
  justify-items: center;
  gap: clamp(0.7rem, 2vh, 1.25rem);
  text-align: center;
}

.cash-consequence .big-number { font-size: clamp(4rem, 13vw, 11rem); }

.cash-consequence .forecast-label {
  color: var(--ink);
  font-size: clamp(1rem, 2.4vw, 1.8rem);
  font-weight: 900;
  letter-spacing: clamp(0.03em, 0.09vw, 0.08em);
  text-transform: uppercase;
}

.decision-layout {
  width: min(100%, 72rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.2rem, 5vw, 4.5rem);
}

.decision-check {
  width: clamp(7.5rem, 18vw, 12rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: clamp(0.22rem, 0.45vw, 0.38rem) solid var(--green);
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 1;
}

.decision-copy {
  display: grid;
  gap: clamp(0.65rem, 1.8vh, 1.15rem);
}

.decision-copy strong {
  color: var(--ink);
  font-size: clamp(1.7rem, 4.5vw, 3.7rem);
  font-weight: 900;
  line-height: 0.95;
}

.decision-copy p {
  color: var(--blue);
  font-size: clamp(0.9rem, 2vw, 1.45rem);
  font-weight: 820;
  line-height: 1.18;
}

.decision-copy span {
  color: var(--muted);
  font-size: clamp(0.75rem, 1.45vw, 1.05rem);
  font-weight: 650;
  line-height: 1.2;
}

/* ===========================================
   SLIDE 19: CHOICES
   =========================================== */
.choices-layout {
  width: min(100%, 84rem);
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 3.5rem);
}

.choice-list {
  display: grid;
  gap: clamp(0.55rem, 1.6vh, 1rem);
}

.choice-list strong {
  font-size: clamp(1.05rem, 2.7vw, 2.15rem);
  font-weight: 900;
  line-height: 1;
}

.choice-art {
  width: 100%;
  max-height: min(47vh, 25rem);
  object-fit: contain;
}

/* ===========================================
   SLIDES 17-19: STORY RESOLUTION, READING, AND CLOSE
   =========================================== */
.bookends {
  width: min(100%, 78rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.8rem, 4vw, 3.5rem);
}

.bookend {
  font-size: clamp(1.35rem, 3.5vw, 2.9rem);
  font-weight: 900;
  line-height: 0.98;
  text-align: center;
  text-wrap: balance;
}

.closing-slide .slide-content { justify-content: center; align-items: center; text-align: center; }
.closing-slide .brand-line { align-self: flex-start; }
.closing-slide .eyebrow { align-self: flex-start; }

.closing-title {
  max-width: min(92vw, 70rem);
  color: var(--ink);
  font-size: clamp(2.25rem, 6.4vw, 5.5rem);
  font-weight: 900;
  letter-spacing: clamp(-0.055em, -0.11vw, -0.028em);
  line-height: 0.94;
  text-wrap: balance;
}

.closing-model {
  color: var(--blue);
  font-size: clamp(0.85rem, 2.2vw, 1.65rem);
  font-weight: 900;
  letter-spacing: clamp(0.02em, 0.05vw, 0.05em);
  line-height: 1.2;
}

.closing-cadence {
  color: var(--green);
  font-size: clamp(0.72rem, 1.55vw, 1.1rem);
  font-weight: 850;
  line-height: 1.25;
}

/* ===========================================
   RESPONSIVE SIDEBAR NAVIGATION
   =========================================== */
.slide-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(0.55rem, 1.4vh, 1rem);
  padding: clamp(1rem, 2vw, 1.7rem);
  background: var(--paper-soft);
  border-right: 1px solid var(--line);
  z-index: 1100;
}

.sidebar-head {
  display: grid;
  gap: clamp(0.28rem, 0.8vh, 0.55rem);
}

.sidebar-head::before {
  content: "";
  width: clamp(3rem, 5vw, 4.5rem);
  height: clamp(0.24rem, 0.55vh, 0.4rem);
  margin-bottom: clamp(0.3rem, 0.7vh, 0.55rem);
  background: var(--blue);
}

.sidebar-head h1 {
  color: var(--ink);
  font-size: clamp(1rem, 1.55vw, 1.35rem);
  font-weight: 900;
  letter-spacing: clamp(-0.035em, -0.05vw, -0.02em);
  line-height: 1;
}

.sidebar-head p {
  color: var(--muted);
  font-size: clamp(0.65rem, 0.86vw, 0.78rem);
  font-weight: 650;
  line-height: 1.25;
}

.sidebar-nav {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: clamp(0.12rem, 0.3vh, 0.24rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.sidebar-link {
  width: 100%;
  display: grid;
  grid-template-columns: clamp(1.45rem, 2.6vw, 2rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.35rem, 0.7vw, 0.55rem);
  padding: clamp(0.28rem, 0.5vh, 0.42rem) clamp(0.35rem, 0.7vw, 0.55rem);
  border: 0;
  border-radius: clamp(0.35rem, 0.7vw, 0.55rem);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.sidebar-link:hover,
.sidebar-link:focus-visible {
  background: var(--blue-soft);
  color: var(--blue);
  outline: none;
  transform: translateX(clamp(0.08rem, 0.18vw, 0.16rem));
}

.sidebar-link.active {
  background: var(--blue-soft);
  color: var(--ink);
}

.sidebar-link .sidebar-number {
  color: var(--blue);
  font-size: clamp(0.6rem, 0.78vw, 0.72rem);
  font-weight: 900;
  letter-spacing: clamp(0.03em, 0.06vw, 0.06em);
}

.sidebar-link .sidebar-label {
  overflow: hidden;
  font-size: clamp(0.64rem, 0.83vw, 0.76rem);
  font-weight: 720;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-help {
  color: var(--muted);
  font-size: clamp(0.58rem, 0.74vw, 0.7rem);
  font-weight: 650;
  line-height: 1.35;
}

.sidebar-toggle {
  position: fixed;
  left: clamp(0.55rem, 1.5vw, 1rem);
  top: clamp(0.55rem, 1.5vh, 1rem);
  width: clamp(2.3rem, 5vw, 3rem);
  aspect-ratio: 1;
  display: none;
  place-items: center;
  border: 1px solid rgba(51, 51, 51, 0.13);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 clamp(0.2rem, 0.7vh, 0.45rem) clamp(0.8rem, 2vw, 1.4rem) rgba(51, 51, 51, 0.1);
  color: var(--ink);
  cursor: pointer;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 900;
  z-index: 1150;
}

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(37, 37, 37, 0.32);
  opacity: 0;
  transition: opacity 180ms ease;
  z-index: 1050;
}

.sidebar-backdrop.visible { opacity: 1; }

/* ===========================================
   CONTROLS AND NOTES
   =========================================== */
.progress-track {
  position: fixed;
  inset: 0 0 auto 0;
  height: clamp(0.16rem, 0.35vh, 0.3rem);
  background: transparent;
  z-index: 1000;
  pointer-events: none;
}

.progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transition: width 220ms ease;
}

.controls {
  position: fixed;
  left: calc(var(--sidebar-width) + ((100vw - var(--sidebar-width)) / 2));
  bottom: clamp(0.45rem, 1.5vh, 1rem);
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1vw, 0.75rem);
  padding: clamp(0.28rem, 0.65vw, 0.48rem);
  border: 1px solid rgba(51, 51, 51, 0.13);
  border-radius: clamp(1.3rem, 3vw, 2.3rem);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 clamp(0.3rem, 1vh, 0.65rem) clamp(1.2rem, 3vw, 2.4rem) rgba(51, 51, 51, 0.1);
  transform: translateX(-50%);
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.control-button {
  width: clamp(2rem, 3.8vw, 2.8rem);
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: clamp(0.95rem, 1.8vw, 1.3rem);
  font-weight: 900;
}

.control-button:hover,
.control-button:focus-visible {
  background: var(--blue-soft);
  color: var(--blue);
  outline: none;
}

.control-count {
  min-width: clamp(3.6rem, 6vw, 4.6rem);
  color: var(--muted);
  font-size: clamp(0.66rem, 1vw, 0.82rem);
  font-weight: 800;
  text-align: center;
}

.nav-dots {
  position: fixed;
  right: clamp(0.5rem, 1.4vw, 1rem);
  top: 50%;
  display: grid;
  gap: clamp(0.16rem, 0.45vh, 0.3rem);
  transform: translateY(-50%);
  z-index: 999;
}

.nav-dot {
  width: clamp(0.34rem, 0.7vw, 0.52rem);
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.nav-dot.active { background: var(--blue); transform: scale(1.55); }
.nav-dot:last-child.active { background: var(--green); }

.notes-panel {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(34rem, 92vw);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: clamp(0.6rem, 1.5vh, 1rem);
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.98);
  border-left: 1px solid var(--line);
  box-shadow: calc(-1 * clamp(0.4rem, 1vw, 0.8rem)) 0 clamp(1.4rem, 4vw, 3rem) rgba(51, 51, 51, 0.12);
  transform: translateX(104%);
  transition: transform 260ms var(--ease-out-expo);
  z-index: 1200;
}

.notes-panel.open { transform: translateX(0); }

.notes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.6rem, 1vw, 1rem);
}

.notes-header h2 {
  color: var(--ink);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 850;
}

.notes-close {
  width: clamp(2rem, 3.8vw, 2.8rem);
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: var(--paper-soft);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.notes-body {
  overflow: auto;
  padding-right: clamp(0.25rem, 0.6vw, 0.5rem);
  color: var(--ink);
  font-size: clamp(0.78rem, 1.2vw, 1rem);
  line-height: 1.45;
}

.notes-body p + p { margin-top: clamp(0.5rem, 1vh, 0.8rem); }
.speaker-notes { display: none; }

/* ===========================================
   NARROW AND SHORT VIEWPORTS
   =========================================== */
@media (max-width: 760px) {
  .slide-content { gap: clamp(0.25rem, 0.9vh, 0.6rem); }
  .opening-grid,
  .reserve-layout,
  .driver-layout,
  .choices-layout {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: clamp(0.4rem, 1.2vh, 0.8rem);
  }

  .opening-title { text-align: center; }
  .opening-art { max-height: min(31vh, 16rem); }
  .reserve-metric p { max-width: min(84vw, 26rem); }
  .timeline { width: min(82vw, 31rem); }
  .driver-definition { justify-items: center; text-align: center; }
  .driver-examples { width: min(82vw, 28rem); }
  .choice-list { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(84vw, 30rem); text-align: center; }
  .choice-art { max-height: min(30vh, 15rem); }

  .causal-chain,
  .review-chain,
  .monthly-chain {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  .causal-chain > :nth-child(4),
  .review-chain > :nth-child(4),
  .monthly-chain > :nth-child(4) { display: none; }

  .causal-chain > :nth-child(5),
  .review-chain > :nth-child(5),
  .monthly-chain > :nth-child(5) { grid-column: 1 / -1; }

  .model-chain { grid-template-columns: repeat(7, auto); gap: clamp(0.1rem, 0.8vw, 0.4rem); }
  .model-word span { display: none; }
  .three-views { gap: clamp(0.3rem, 1vw, 0.55rem); }
  .view { min-height: clamp(6.2rem, 22vh, 8.5rem); padding: clamp(0.5rem, 1.5vw, 0.8rem); }
  .amount-timing { width: min(100%, 34rem); gap: clamp(0.45rem, 2vw, 0.8rem); }
  .assumption-layout { gap: clamp(0.35rem, 1.8vw, 0.75rem); }
  .variance-layout { grid-template-columns: 1fr clamp(0.12rem, 0.25vw, 0.18rem) 1fr; }
  .variance-gap { grid-column: 1 / -1; }
  .trend { gap: clamp(0.2rem, 1.3vw, 0.55rem); }
  .trend-circle { width: clamp(4.5rem, 20vw, 7rem); }
  .decision-layout { grid-template-columns: auto minmax(0, 1fr); gap: clamp(0.8rem, 3vw, 1.5rem); }
  .bookends { gap: clamp(0.35rem, 1.8vw, 0.8rem); }
  .nav-dots { display: none; }
}

@media (max-width: 1023px) {
  #presentation {
    width: 100vw;
    margin-left: 0;
  }

  #presentation .slide { width: 100vw; }
  .brand-line,
  .eyebrow { margin-left: clamp(2.75rem, 6vw, 3.75rem); }

  .slide-sidebar {
    width: min(19rem, 86vw);
    transform: translateX(-104%);
    transition: transform 240ms var(--ease-out-expo);
  }

  .slide-sidebar.open { transform: translateX(0); }
  .sidebar-toggle { display: grid; }
  .sidebar-backdrop { display: block; pointer-events: none; }
  .sidebar-backdrop.visible { pointer-events: auto; }
  .controls { left: 50%; }
  body.sidebar-open { overflow: hidden; }
}

@media (max-width: 480px) {
  .slide-footer span { display: none; }
}

@media (max-height: 700px) {
  .slide-title { font-size: clamp(1.28rem, 3.2vw, 2.65rem); }
  .opening-title { font-size: clamp(1.8rem, 4.6vw, 3.9rem); }
  .opening-art { max-height: min(48vh, 22rem); }
  .slide-footer { font-size: clamp(0.52rem, 0.72vw, 0.68rem); }
  .controls { bottom: clamp(0.25rem, 0.7vh, 0.45rem); }
  .cash-consequence .big-number { font-size: clamp(3.5rem, 11vw, 8rem); }
}

@media (max-height: 560px) {
  .slide-footer { display: none; }
  .slide-stage { padding-block: 0; }
  .brand-line { margin-bottom: clamp(0.2rem, 0.45vh, 0.35rem); }
  .view { min-height: clamp(5rem, 25vh, 7rem); }
  .support-line, .ask-line { font-size: clamp(0.66rem, 1.25vw, 0.88rem); }
  .opening-art { max-height: min(42vh, 15rem); }
  .choice-art { max-height: min(39vh, 14rem); }
}

/* ===========================================
   VISUAL SYSTEM 2.0
   Operator's fieldbook: analytical teaching with human story bookends.
   =========================================== */
:root {
  --ink: #20282f;
  --ink-deep: #132f4a;
  --muted: #66717a;
  --line: #d6d3ca;
  --line-soft: #e8e4db;
  --paper: #f6f4ef;
  --paper-soft: #efede6;
  --surface: #ffffff;
  --blue: #326ab6;
  --blue-deep: #173f68;
  --blue-soft: #e7eef8;
  --green: #54b570;
  --green-text: #2e7d4f;
  --green-soft: #e4f2e8;
  --gap: #a94f1f;
  --gap-soft: #f6e8df;
  --font-display: "Geist", sans-serif;
  --font-story: "Geist", sans-serif;
  --font-body: "Geist", sans-serif;
  --font-mono: "Geist Mono", monospace;
  --sidebar-width: clamp(15rem, 19vw, 15.5rem);
  --canvas-pad: clamp(2rem, 4.375vw, 3.5rem);
  --stage-gap: clamp(1rem, 2.5vw, 2.25rem);
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
}

.slide {
  background: var(--paper);
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: clamp(0.2rem, 0.36vw, 0.3rem);
  background: var(--blue);
  opacity: 0;
  z-index: -1;
}

#presentation {
  width: calc(100vw - var(--sidebar-width));
  margin-left: var(--sidebar-width);
}

#presentation .slide {
  width: 100%;
}

.slide-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(1.35rem, 3.2vh, 2rem) var(--canvas-pad) clamp(1.25rem, 2.8vh, 1.85rem);
  justify-content: flex-start;
  gap: clamp(0.45rem, 1.1vh, 0.8rem);
}

.brand-line {
  width: clamp(2.4rem, 4.2vw, 3.4rem);
  height: clamp(0.2rem, 0.36vh, 0.28rem);
  margin-bottom: clamp(0.15rem, 0.35vh, 0.3rem);
  background: var(--blue);
}

.eyebrow {
  color: var(--blue-deep);
  font-family: var(--font-mono);
  font-size: clamp(0.64rem, 0.82vw, 0.75rem);
  font-weight: 600;
  letter-spacing: clamp(0.06em, 0.1vw, 0.1em);
  line-height: 1.2;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
}

.slide-title {
  max-width: min(100%, 58rem);
  color: var(--ink);
  font-size: clamp(2rem, 4.15vw, 3.75rem);
  font-weight: 600;
  letter-spacing: clamp(-0.018em, -0.025vw, -0.012em);
  line-height: 1.02;
  text-wrap: balance;
}

.slide-stage {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-block: clamp(0.5rem, 1.4vh, 1rem);
}

.slide-footer {
  display: none;
}

.support-line,
.ask-line,
.target-caption {
  color: var(--muted);
  font-size: clamp(1rem, 1.9vw, 1.5rem);
  font-weight: 500;
  line-height: 1.25;
  text-align: left;
}

.support-line,
.ask-line {
  padding-left: clamp(0.8rem, 1.5vw, 1.2rem);
  border-left: clamp(0.18rem, 0.3vw, 0.25rem) solid var(--line);
}

.slide-content > .support-line,
.slide-content > .ask-line,
.slide-content > .target-caption {
  max-width: calc(100% - clamp(9.75rem, 15vw, 10.75rem));
}

.accent-green {
  color: var(--green-text);
}

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

.arrow {
  color: var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
  font-weight: 600;
}

.arrow.green {
  color: var(--green);
}

.assumption-arrow::before {
  content: "→";
}

.big-number {
  color: var(--green-text);
  font-family: var(--font-display);
  font-size: clamp(4.8rem, 11vw, 8.8rem);
  font-weight: 700;
  letter-spacing: clamp(-0.045em, -0.07vw, -0.025em);
  line-height: 0.86;
  font-variant-numeric: tabular-nums;
}

/* Story slides */
#slide-2 .slide-content {
  padding: clamp(1.35rem, 3vh, 2rem) clamp(1.4rem, 3.5vw, 3rem);
}

#slide-2 .brand-line,
#slide-2 .eyebrow {
  display: none;
}

.opening-grid {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  border: clamp(0.08rem, 0.12vw, 0.1rem) solid var(--line);
  border-radius: clamp(0.8rem, 1.5vw, 1.2rem);
  background: var(--surface);
}

.opening-grid::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: clamp(0.45rem, 0.7vw, 0.6rem);
  background: var(--blue);
  z-index: 2;
}

.opening-title {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: clamp(1.6rem, 4vw, 3.4rem) clamp(1.4rem, 3.2vw, 2.8rem);
  background: var(--blue-soft);
  color: var(--ink-deep);
  font-family: var(--font-story);
  font-size: clamp(2.2rem, 4.35vw, 4rem);
  font-weight: 600;
  letter-spacing: clamp(-0.02em, -0.028vw, -0.012em);
  line-height: 1.03;
  text-wrap: balance;
}

.opening-art {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  background: var(--surface);
}

.metronomics-hero {
  width: 100%;
  min-height: clamp(15rem, 43vh, 21rem);
  display: grid;
  place-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: clamp(0.7rem, 1.4vw, 1.1rem);
  border-left: clamp(0.4rem, 0.7vw, 0.58rem) solid #ad722a;
  background: var(--surface);
}

.metronomics-hero img {
  width: min(88%, 50rem);
  height: auto;
  max-height: min(35vh, 17rem);
}

.outcome-path {
  width: 100%;
  min-height: clamp(13rem, 36vh, 18rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.outcome-card {
  min-height: clamp(12rem, 33vh, 16rem);
  display: grid;
  align-content: center;
  gap: 0;
  padding: clamp(1.3rem, 2.8vw, 2.3rem);
  border-radius: clamp(0.7rem, 1.4vw, 1.1rem);
  background: var(--surface);
}

.outcome-card.exit-card {
  background: var(--green-soft);
  color: var(--green-text);
}

.outcome-year {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.outcome-card strong {
  font-size: clamp(2rem, 3.65vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}

.outcome-card p {
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 500;
  line-height: 1.2;
}

#slide-3 .slide-title,
#slide-20 .slide-title,
.closing-title {
  font-family: var(--font-story);
}

.reserve-layout {
  width: 100%;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: var(--stage-gap);
  align-items: stretch;
}

.reserve-metric,
.timeline {
  min-height: clamp(15rem, 44vh, 22rem);
  padding: clamp(1.4rem, 3vw, 2.6rem);
  border-radius: clamp(0.7rem, 1.4vw, 1.1rem);
}

.reserve-metric {
  display: grid;
  place-content: center;
  background: var(--green-soft);
  text-align: left;
}

.reserve-metric p {
  max-width: 24rem;
  margin-top: clamp(0.55rem, 1.2vh, 0.9rem);
  color: var(--ink);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.18;
}

.timeline {
  align-content: center;
  background: var(--surface);
  border: clamp(0.08rem, 0.12vw, 0.1rem) solid var(--line);
}

.timeline-title {
  color: var(--blue-deep);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
}

.timeline-labels {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: clamp(0.74rem, 1vw, 0.9rem);
  font-weight: 600;
}

.timeline-labels strong {
  color: var(--green-text);
}

/* Causal process rails */
.causal-chain,
.review-chain,
.model-chain,
.monthly-chain {
  position: relative;
  width: 100%;
  max-width: none;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border-radius: clamp(0.7rem, 1.4vw, 1.1rem);
  background: var(--surface);
  border: clamp(0.08rem, 0.12vw, 0.1rem) solid var(--line);
}

.causal-chain,
.review-chain {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.15fr) auto minmax(0, 1fr);
  gap: clamp(0.7rem, 2.2vw, 1.8rem);
}

.chain-node {
  min-height: clamp(8.5rem, 24vh, 12rem);
  align-content: center;
  padding: clamp(0.8rem, 1.7vw, 1.35rem);
  border-radius: clamp(0.55rem, 1vw, 0.85rem);
  background: var(--paper);
  text-align: left;
}

.chain-node strong {
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  font-weight: 600;
  line-height: 1.05;
}

.chain-node .chain-cadence {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: clamp(0.68rem, 0.9vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.chain-node span {
  color: var(--muted);
  font-size: clamp(0.88rem, 1.25vw, 1.05rem);
  font-weight: 400;
  line-height: 1.3;
}

.forecast-node {
  border: clamp(0.12rem, 0.2vw, 0.16rem) solid var(--blue);
  background: var(--blue-soft);
}

#slide-11 .chain-node:last-child {
  border-left: clamp(0.24rem, 0.4vw, 0.32rem) solid var(--gap);
  background: var(--gap-soft);
}

#slide-11 .chain-node:first-child {
  border-left: clamp(0.24rem, 0.4vw, 0.32rem) solid var(--green);
  background: var(--green-soft);
}

#slide-11 .chain-node:nth-child(3) {
  border-left: clamp(0.24rem, 0.4vw, 0.32rem) solid var(--blue);
  background: var(--blue-soft);
}

#slide-11 .chain-node:first-child strong,
#slide-11 .chain-node:first-child .chain-cadence,
#slide-11 .chain-node:first-child span {
  color: var(--green-text);
}

#slide-11 .chain-node:nth-child(3) strong,
#slide-11 .chain-node:nth-child(3) .chain-cadence,
#slide-11 .chain-node:nth-child(3) span {
  color: var(--blue);
}

#slide-11 .chain-node:last-child strong,
#slide-11 .chain-node:last-child .chain-cadence,
#slide-11 .chain-node:last-child span {
  color: var(--gap);
}

/* Central model */
#slide-11 {
  background: var(--paper);
  color: var(--ink);
}

#slide-11 .brand-line {
  background: var(--blue);
}

#slide-11 .eyebrow {
  color: var(--blue-deep);
}

#slide-11 .slide-title {
  color: var(--ink);
}

#slide-11 .model-chain {
  min-height: clamp(15rem, 43vh, 21rem);
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(0.35rem, 1vw, 0.8rem);
  padding: clamp(1.2rem, 2.7vw, 2.2rem);
  background: var(--surface);
  border-color: var(--line);
}

#slide-11 .model-word {
  min-height: clamp(9rem, 27vh, 13rem);
  align-content: center;
  padding: clamp(0.7rem, 1.5vw, 1.2rem);
  border: clamp(0.08rem, 0.12vw, 0.1rem) solid rgba(46, 125, 79, 0.2);
  border-top: clamp(0.3rem, 0.5vw, 0.42rem) solid #9bd2ab;
  border-radius: clamp(0.55rem, 1vw, 0.85rem);
  background: var(--green-soft);
  text-align: left;
}

#slide-11 .model-word:nth-child(3) {
  border-top-color: #76c18c;
  background: #c7e6d0;
}

#slide-11 .model-word:nth-child(5) {
  border-top-color: var(--green);
  background: #91cca3;
}

#slide-11 .model-word:last-child {
  border-color: var(--green-text);
  border-top-color: var(--green-text);
  background: var(--green-text);
}

#slide-11 .model-word strong,
#slide-11 .model-word .accent-blue,
#slide-11 .model-word .accent-green {
  color: var(--ink-deep);
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  font-weight: 600;
}

#slide-11 .model-word span {
  color: #315f42;
  font-size: clamp(0.76rem, 1.05vw, 0.92rem);
  font-weight: 400;
  line-height: 1.3;
}

#slide-11 .model-word:last-child strong,
#slide-11 .model-word:last-child .accent-green,
#slide-11 .model-word:last-child span {
  color: var(--surface);
}

#slide-11 .model-chain > .arrow:nth-child(2) {
  color: #76c18c;
}

#slide-11 .model-chain > .arrow:nth-child(4) {
  color: var(--green);
}

#slide-11 .model-chain > .arrow:nth-child(6) {
  color: var(--green-text);
}

/* Driver definition and amount/timing */
.driver-layout {
  width: 100%;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: var(--stage-gap);
}

.driver-definition {
  min-height: clamp(15rem, 43vh, 21rem);
  align-content: center;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  border-left: clamp(0.35rem, 0.6vw, 0.5rem) solid var(--blue);
  border-radius: 0 clamp(0.7rem, 1.4vw, 1.1rem) clamp(0.7rem, 1.4vw, 1.1rem) 0;
  background: var(--blue-soft);
}

.driver-definition strong {
  color: var(--blue-deep);
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  font-weight: 700;
  line-height: 0.9;
}

.driver-definition span {
  color: var(--green-text);
  font-size: clamp(1.35rem, 2.8vw, 2.25rem);
  font-weight: 600;
  line-height: 1.05;
}

.driver-examples {
  gap: 0;
  background: var(--surface);
  border: clamp(0.08rem, 0.12vw, 0.1rem) solid var(--line);
  border-radius: clamp(0.7rem, 1.4vw, 1.1rem);
  overflow: hidden;
}

.driver-example {
  min-height: clamp(3.6rem, 8.5vh, 4.8rem);
  padding: clamp(0.7rem, 1.6vw, 1.15rem);
  border-bottom: clamp(0.06rem, 0.1vw, 0.08rem) solid var(--line-soft);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 500;
}

.driver-example:last-child {
  border-bottom: 0;
}

/* Key Function Flow Map */
.accountability-table {
  width: 100%; table-layout: fixed; border-collapse: collapse;
  font-size: clamp(0.8rem, 1.45vw, 1.3rem); line-height: 1.2;
  background: var(--surface); color: var(--ink-deep);
}
.accountability-table th, .accountability-table td {
  padding: clamp(0.4rem, 1.3vh, 0.9rem) clamp(0.35rem, 0.9vw, 0.8rem);
  border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle;
  overflow-wrap: break-word;
}
.accountability-table thead th { color: var(--blue); font-weight: 700; }
.accountability-table th:first-child { width: 16%; }
.accountability-table .critical { background: var(--green-soft); color: var(--green-text); font-weight: 700; }

.kffm-layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(0.5rem, 1.2vh, 0.8rem);
}

.kffm-map {
  min-width: 0;
  min-height: clamp(12rem, 31vh, 15rem);
  display: grid;
  align-content: center;
  gap: clamp(0.6rem, 1.5vh, 1rem);
  padding: clamp(1rem, 2vw, 1.6rem);
  border-top: clamp(0.35rem, 0.6vw, 0.5rem) solid var(--green);
  border-radius: clamp(0.7rem, 1.4vw, 1.1rem);
  background: var(--surface);
  overflow: hidden;
}

.kffm-caption {
  color: var(--green-text);
  font-family: var(--font-mono);
  font-size: clamp(0.68rem, 1vw, 0.86rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kffm-input {
  width: clamp(5rem, 11.5%, 8rem);
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.15;
}
.kffm-input span { display: block; color: var(--green); }
@media (max-width: 820px) and (min-height: 600px) {
  .kffm-input { width: 100%; }
}

.kffm-driver-bridge {
  color: var(--muted);
  font-size: clamp(0.82rem, 1.1vw, 0.95rem);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.kffm-driver-bridge strong {
  color: var(--green-text);
}

.kffm-flow {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(5rem, 1fr) clamp(5.1rem, 6.2vw, 6rem) minmax(5rem, 1fr) clamp(5.1rem, 6.2vw, 6rem) minmax(5rem, 1fr) clamp(5.1rem, 6.2vw, 6rem) minmax(5rem, 1fr) clamp(5.1rem, 6.2vw, 6rem) minmax(4.4rem, 0.8fr);
  align-items: center;
  gap: clamp(0.18rem, 0.55vw, 0.42rem);
}

.kffm-function,
.kffm-cash {
  min-width: 0;
  min-height: clamp(5.4rem, 14vh, 7rem);
  display: grid;
  place-items: center;
  padding: clamp(0.12rem, 0.25vw, 0.25rem);
  border: clamp(0.08rem, 0.12vw, 0.1rem) solid var(--line);
  border-radius: clamp(0.5rem, 1vw, 0.75rem);
  background: var(--paper);
  color: var(--ink-deep);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 650;
  line-height: 1.05;
  overflow-wrap: normal;
  text-align: center;
  text-wrap: balance;
}

.kffm-function {
  border-top: clamp(0.24rem, 0.4vw, 0.34rem) solid var(--blue);
}

.kffm-cash {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green-text);
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.kffm-handoff {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: clamp(0.18rem, 0.5vh, 0.32rem);
  color: var(--green-text);
  text-align: center;
}

.kffm-handoff small {
  font-family: var(--font-mono);
  font-size: clamp(0.82rem, 1.1vw, 0.96rem);
  font-weight: 600;
  line-height: 1.1;
  overflow-wrap: normal;
}

.kffm-handoff span {
  color: var(--green);
  font-size: clamp(1.2rem, 2.6vw, 2.1rem);
  font-weight: 700;
  line-height: 0.8;
}

.kffm-resource {
  min-width: 0;
  min-height: clamp(5.8rem, 13vh, 7rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  justify-items: start;
  gap: clamp(0.7rem, 1.5vw, 1.1rem);
  padding: clamp(0.65rem, 1.3vw, 0.95rem);
  border-top: clamp(0.35rem, 0.6vw, 0.5rem) solid var(--blue);
  border-radius: clamp(0.7rem, 1.4vw, 1.1rem);
  background: var(--blue-soft);
  color: var(--ink);
  text-align: left;
  text-decoration: none;
}

.kffm-resource img {
  width: clamp(4.5rem, 7vw, 6.5rem);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.kffm-resource span {
  min-width: 0;
  display: grid;
  gap: clamp(0.18rem, 0.5vh, 0.32rem);
}

.kffm-resource strong {
  color: var(--blue-deep);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 650;
  line-height: 1.05;
}

.kffm-resource small,
.kffm-resource em {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: clamp(0.54rem, 0.78vw, 0.7rem);
  font-style: normal;
  font-weight: 500;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.amount-timing {
  width: 100%;
  grid-template-columns: 1fr 1fr;
  gap: var(--stage-gap);
}

.amount-timing .divider {
  display: none;
}

.amount-column {
  min-height: clamp(15rem, 43vh, 21rem);
  align-content: center;
  justify-items: start;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  border-top: clamp(0.35rem, 0.6vw, 0.5rem) solid var(--green);
  border-radius: clamp(0.7rem, 1.4vw, 1.1rem);
  background: var(--surface);
  text-align: left;
}

.amount-column:last-child {
  border-top-color: var(--blue);
}

.amount-column h3 {
  font-size: clamp(3.4rem, 7vw, 5.9rem);
  font-weight: 700;
  line-height: 0.9;
}

.amount-column strong {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 600;
}

.amount-column p {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 400;
}

/* Forecast assumption */
.assumption-layout {
  width: 100%;
  grid-template-columns: minmax(0, 0.58fr) auto minmax(0, 1.42fr);
  gap: var(--stage-gap);
}

.days-target,
.forecast-result {
  min-height: clamp(14rem, 40vh, 20rem);
  display: grid;
  align-content: center;
  padding: clamp(1.25rem, 2.7vw, 2.25rem);
  border-radius: clamp(0.7rem, 1.4vw, 1.1rem);
}

.days-target {
  background: var(--blue-deep);
  text-align: left;
}

.days-target .big-number,
.days-target span {
  color: var(--surface);
}

.days-target span {
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  font-weight: 500;
  line-height: 1.35;
}

.days-target .big-unit {
  display: block;
  margin-top: 0.08em;
  font-family: var(--font-display);
  font-size: 0.38em;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
}

.forecast-result {
  border: clamp(0.12rem, 0.2vw, 0.16rem) solid var(--blue);
  background: var(--blue-soft);
  text-align: left;
}

.forecast-result strong {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 600;
  line-height: 1.02;
}

.forecast-result span {
  color: var(--green-text);
  font-size: clamp(0.96rem, 1.5vw, 1.2rem);
  font-weight: 500;
  line-height: 1.3;
}

/* Plan, Actual, Rolling */
.three-views {
  width: 100%;
  min-height: clamp(16rem, 45vh, 22rem);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--stage-gap);
  align-items: stretch;
}

#slide-16 .three-views {
  min-height: clamp(15rem, 36vh, 20rem);
}

.past-views {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(0.65rem, 1.4vw, 1rem);
  padding: clamp(1rem, 2.2vw, 1.8rem);
  border: clamp(0.08rem, 0.12vw, 0.1rem) solid var(--line);
  border-radius: clamp(0.7rem, 1.4vw, 1.1rem);
  background: var(--paper-soft);
}

.view-direction {
  grid-column: 1 / -1;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: clamp(0.68rem, 0.9vw, 0.82rem);
  font-weight: 600;
  letter-spacing: clamp(0.06em, 0.1vw, 0.1em);
  text-transform: uppercase;
}

.view {
  min-height: 0;
  align-content: end;
  padding: clamp(1rem, 2vw, 1.6rem);
  border: 0;
  border-radius: clamp(0.55rem, 1vw, 0.85rem);
  background: var(--surface);
  text-align: left;
}

.view h3 {
  color: var(--muted);
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  font-weight: 600;
}

.view p {
  font-size: clamp(1rem, 1.55vw, 1.25rem);
  font-weight: 500;
  line-height: 1.2;
}

.view.rolling {
  position: relative;
  min-height: 100%;
  align-content: center;
  padding: clamp(1.6rem, 3.5vw, 3rem);
  border: clamp(0.14rem, 0.22vw, 0.18rem) solid var(--blue);
  border-radius: clamp(0.7rem, 1.4vw, 1.1rem);
  background: var(--blue-deep);
  color: var(--surface);
  overflow: hidden;
}

.view.rolling::after {
  content: "→";
  position: absolute;
  right: clamp(1rem, 2vw, 1.6rem);
  bottom: clamp(0.65rem, 1.4vh, 1rem);
  color: var(--green);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 1;
}

.view.rolling h3 {
  color: var(--surface);
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  font-weight: 700;
}

.view.rolling .view-direction {
  color: #c8d6e5;
}

.view.rolling p {
  max-width: 22rem;
  color: var(--surface);
  font-size: clamp(1.3rem, 2.3vw, 1.85rem);
  font-weight: 500;
}

/* Weekly cadence */
#slide-14 .model-chain {
  min-height: clamp(14rem, 39vh, 19rem);
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.3fr);
  gap: clamp(0.6rem, 1.8vw, 1.4rem);
}

#slide-14 .model-word {
  min-height: clamp(9rem, 25vh, 12rem);
  align-content: center;
  padding: clamp(1rem, 2vw, 1.6rem);
  border-top: clamp(0.28rem, 0.48vw, 0.4rem) solid var(--line);
  text-align: left;
}

#slide-14 .model-word:first-child {
  border-top-color: var(--blue);
  background: var(--blue-soft);
}

#slide-14 .model-word:last-child {
  border-top-color: var(--green);
  background: var(--green-soft);
}

#slide-14 .model-word strong {
  font-size: clamp(1.55rem, 2.8vw, 2.3rem);
  font-weight: 600;
}

#slide-14 .model-word span {
  color: var(--muted);
  font-size: clamp(0.82rem, 1.1vw, 0.96rem);
  font-weight: 400;
}

.variance-layout {
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(8rem, 0.6fr);
  gap: var(--stage-gap);
}

.variance-divider {
  display: none;
}

.variance-metric {
  min-height: clamp(14rem, 39vh, 19rem);
  display: grid;
  align-content: center;
  padding: clamp(1.2rem, 2.6vw, 2.2rem);
  border-top: clamp(0.3rem, 0.5vw, 0.42rem) solid var(--blue);
  border-radius: clamp(0.7rem, 1.4vw, 1.1rem);
  background: var(--surface);
  text-align: left;
}

.variance-metric:nth-of-type(3) {
  border-top-color: var(--gap);
  background: var(--gap-soft);
}

.variance-metric span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 0.95vw, 0.84rem);
  font-weight: 600;
}

.variance-metric strong {
  margin-block: 0;
  font-size: clamp(5rem, 10vw, 8.2rem);
  font-weight: 700;
}

.variance-metric:nth-of-type(3) strong {
  color: var(--gap);
}

.variance-metric small {
  color: var(--muted);
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  font-weight: 500;
}

.variance-gap {
  min-height: clamp(14rem, 39vh, 19rem);
  display: grid;
  place-content: center;
  padding: clamp(1rem, 2vw, 1.6rem);
  border-radius: clamp(0.7rem, 1.4vw, 1.1rem);
  background: var(--gap);
  color: var(--surface);
  font-size: clamp(1.6rem, 3.1vw, 2.5rem);
  font-weight: 600;
  text-align: left;
}

/* Weekly trend chart */
.trend-chart {
  position: relative;
  width: 100%;
  height: min(47vh, 22rem);
  min-height: clamp(15rem, 42vh, 20rem);
  padding: clamp(1.2rem, 2.5vw, 2rem);
  border: clamp(0.08rem, 0.12vw, 0.1rem) solid var(--line);
  border-radius: clamp(0.7rem, 1.4vw, 1.1rem);
  background: var(--surface);
  overflow: hidden;
}

.trend-target {
  position: absolute;
  left: clamp(1.5rem, 4vw, 3.6rem);
  right: clamp(1.5rem, 4vw, 3.6rem);
  top: 39%;
  border-top: clamp(0.1rem, 0.16vw, 0.14rem) dashed var(--blue);
  z-index: 1;
}

.trend-target span {
  position: absolute;
  top: calc(-1 * clamp(1.8rem, 3vh, 2.2rem));
  left: clamp(10rem, 16vw, 13.5rem);
  padding: clamp(0.18rem, 0.4vw, 0.28rem) clamp(0.38rem, 0.8vw, 0.58rem);
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-family: var(--font-mono);
  font-size: clamp(0.68rem, 0.9vw, 0.82rem);
  font-weight: 600;
}

.trend-line {
  position: absolute;
  inset: clamp(1.6rem, 4vw, 3.2rem) clamp(2rem, 5vw, 4.2rem) clamp(2.8rem, 7vh, 4rem);
  width: calc(100% - clamp(4rem, 10vw, 8.4rem));
  height: calc(100% - clamp(4.4rem, 11vh, 7.2rem));
  overflow: visible;
  z-index: 2;
}

.trend-line polyline {
  fill: none;
  stroke: var(--ink-deep);
  stroke-width: 1.3;
  vector-effect: non-scaling-stroke;
}

.trend-point {
  position: absolute;
  display: grid;
  justify-items: center;
  gap: clamp(0.3rem, 0.8vh, 0.55rem);
  transform: translate(-50%, -50%);
  z-index: 3;
}

.trend-point.point-one { left: 11%; top: 24%; }
.trend-point.point-two { left: 50%; top: 60%; }
.trend-point.point-three { left: 89%; top: 78%; }

.trend-circle {
  width: clamp(5.4rem, 11.5vw, 8.3rem);
  border: clamp(0.18rem, 0.3vw, 0.25rem) solid var(--ink-deep);
  background: var(--surface);
  color: var(--ink-deep);
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  font-weight: 700;
}

.point-two .trend-circle {
  border-color: var(--blue);
  color: var(--blue);
}

.point-three .trend-circle {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green-text);
}

.trend-point span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: clamp(0.66rem, 0.85vw, 0.78rem);
  font-weight: 600;
}

.target-caption {
  width: auto;
  margin: 0;
  padding: 0 0 0 clamp(0.8rem, 1.5vw, 1.2rem);
  border: 0;
  border-left: clamp(0.18rem, 0.3vw, 0.25rem) solid var(--green);
  color: var(--green-text);
  text-align: left;
}

.correction-flow {
  width: 100%;
  min-height: clamp(15rem, 42vh, 20rem);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) auto minmax(0, 1.1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(0.65rem, 1.8vw, 1.4rem);
}

.correction-card {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: clamp(0.45rem, 1vh, 0.75rem);
  padding: clamp(1rem, 2.2vw, 1.8rem);
  border-top: clamp(0.3rem, 0.5vw, 0.42rem) solid var(--gap);
  border-radius: clamp(0.7rem, 1.4vw, 1.1rem);
  background: var(--gap-soft);
  text-align: left;
}

.correction-card.action {
  border-top-color: var(--blue);
  background: var(--blue-soft);
}

.correction-card.success {
  border-top-color: var(--green);
  background: var(--green-soft);
}

.correction-card span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 1vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.correction-card strong {
  color: var(--ink-deep);
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  font-weight: 600;
  line-height: 1.02;
  text-wrap: balance;
}

.correction-card.start strong {
  color: var(--gap);
}

.correction-card.action strong {
  color: var(--blue);
}

.correction-card.success strong,
.correction-card.success small {
  color: var(--green-text);
}

.correction-card small {
  color: var(--muted);
  font-size: clamp(0.82rem, 1.2vw, 1rem);
  font-weight: 500;
  line-height: 1.2;
}

.correction-arrow {
  align-self: center;
  color: var(--green);
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
  font-weight: 700;
}

/* Monthly review and consequence */
.monthly-chain {
  min-height: clamp(15rem, 42vh, 20rem);
  grid-template-columns: minmax(0, 0.75fr) auto minmax(0, 1.5fr) auto minmax(0, 0.85fr);
  gap: clamp(0.65rem, 1.8vw, 1.4rem);
}

.monthly-node {
  padding: clamp(0.8rem, 1.6vw, 1.3rem);
  font-size: clamp(1.35rem, 2.35vw, 1.95rem);
  font-weight: 600;
  line-height: 1.1;
  text-align: left;
}

.monthly-review-box {
  min-height: clamp(10rem, 28vh, 14rem);
  display: grid;
  align-content: center;
  padding: clamp(1.2rem, 2.5vw, 2rem);
  border: clamp(0.12rem, 0.2vw, 0.16rem) solid var(--blue);
  border-radius: clamp(0.6rem, 1.1vw, 0.9rem);
  background: var(--blue-soft);
  text-align: left;
}

.monthly-review-box strong {
  color: var(--blue-deep);
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 1vw, 0.9rem);
  font-weight: 600;
}

.monthly-review-box span {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.05;
}

.cash-consequence {
  width: 100%;
  min-height: clamp(15rem, 42vh, 20rem);
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: var(--stage-gap);
  padding: clamp(1.5rem, 3vw, 2.6rem);
  border-radius: clamp(0.7rem, 1.4vw, 1.1rem);
  background: var(--surface);
  text-align: left;
}

.cash-contributors,
.cash-result {
  display: grid;
  align-content: center;
  gap: clamp(0.45rem, 1vh, 0.7rem);
  padding: clamp(1.2rem, 2.4vw, 2rem);
  border-radius: clamp(0.6rem, 1.1vw, 0.9rem);
  font-family: var(--font-body);
}

.cash-contributors {
  border-left: clamp(0.24rem, 0.4vw, 0.32rem) solid var(--blue);
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.cash-contributors span,
.cash-result span {
  font-size: clamp(0.82rem, 1.2vw, 1rem);
  font-weight: 600;
}

.cash-contributors strong {
  font-size: clamp(1.45rem, 2.7vw, 2.2rem);
  font-weight: 600;
  line-height: 1.08;
}

.cash-result {
  border-left: clamp(0.24rem, 0.4vw, 0.32rem) solid var(--green);
  background: var(--green-soft);
  color: var(--green-text);
}

.cash-result strong {
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  font-weight: 600;
  line-height: 0.98;
}

.cash-result small {
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  font-weight: 500;
  line-height: 1.15;
}

.cash-result-arrow {
  align-self: center;
}

.decision-layout {
  width: 100%;
  min-height: clamp(15rem, 42vh, 20rem);
  grid-template-columns: minmax(0, 0.52fr) minmax(0, 1.48fr);
  gap: var(--stage-gap);
}

.decision-check {
  width: 100%;
  height: 100%;
  min-height: clamp(13rem, 37vh, 18rem);
  aspect-ratio: auto;
  border: 0;
  border-radius: clamp(0.7rem, 1.4vw, 1.1rem);
  background: var(--green-soft);
  color: var(--green-text);
  font-size: clamp(5rem, 10vw, 8rem);
  font-weight: 600;
}

.decision-copy {
  height: 100%;
  align-content: center;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  border-left: clamp(0.35rem, 0.6vw, 0.5rem) solid var(--green);
  border-radius: 0 clamp(0.7rem, 1.4vw, 1.1rem) clamp(0.7rem, 1.4vw, 1.1rem) 0;
  background: var(--surface);
}

.decision-copy strong {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 0.98;
}

.decision-copy p {
  color: var(--blue-deep);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 500;
}

.decision-copy span {
  color: var(--muted);
  font-size: clamp(0.92rem, 1.3vw, 1.08rem);
  font-weight: 400;
}

/* Choices and story resolution */
.choices-layout {
  width: 100%;
  min-height: clamp(15rem, 43vh, 21rem);
  grid-template-columns: minmax(0, 0.52fr) minmax(0, 1.48fr);
  gap: var(--stage-gap);
}

.choice-list {
  min-height: 100%;
  align-content: center;
  gap: 0;
  background: var(--surface);
  border-left: clamp(0.35rem, 0.6vw, 0.5rem) solid var(--green);
}

.choice-list strong {
  padding: clamp(0.6rem, 1.2vh, 0.9rem) clamp(1rem, 2vw, 1.6rem);
  border-bottom: clamp(0.06rem, 0.1vw, 0.08rem) solid var(--line-soft);
  font-size: clamp(1.45rem, 2.75vw, 2.25rem);
  font-weight: 600;
  line-height: 1.05;
}

.choice-list strong:last-child {
  border-bottom: 0;
}

.choice-art {
  width: 100%;
  height: 100%;
  max-height: min(48vh, 23rem);
  object-fit: cover;
  object-position: center;
  border-radius: clamp(0.7rem, 1.4vw, 1.1rem);
  background: var(--surface);
}

.payoff-chain {
  width: 100%;
  min-height: clamp(15rem, 43vh, 21rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: var(--stage-gap);
}

.payoff-card {
  display: grid;
  align-content: center;
  gap: clamp(0.5rem, 1.2vh, 0.85rem);
  padding: clamp(1.3rem, 2.8vw, 2.3rem);
  border-top: clamp(0.35rem, 0.6vw, 0.5rem) solid var(--blue);
  border-radius: clamp(0.7rem, 1.4vw, 1.1rem);
  background: var(--blue-soft);
  text-align: left;
}

.payoff-card:last-child {
  border-top-color: var(--green);
  background: var(--green-soft);
}

.payoff-card span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  font-weight: 600;
  text-transform: uppercase;
}

.payoff-card strong {
  color: var(--blue-deep);
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 600;
  line-height: 1.02;
  text-wrap: balance;
}

.payoff-card:last-child strong {
  color: var(--green-text);
}

.payoff-chain > .arrow {
  align-self: center;
  color: var(--green);
}

.bookends {
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: var(--stage-gap);
}

.bookend {
  min-height: clamp(14rem, 39vh, 19rem);
  display: grid;
  place-content: center;
  padding: clamp(1.3rem, 2.8vw, 2.3rem);
  border-radius: clamp(0.7rem, 1.4vw, 1.1rem);
  background: var(--surface);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 600;
  line-height: 1.02;
  text-align: left;
}

.bookend:last-child {
  background: var(--green-soft);
  color: var(--green-text);
}

.story-arc {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.6vw, 1.2rem);
  align-items: stretch;
}

.story-chapter {
  position: relative;
  min-height: clamp(13rem, 37vh, 18rem);
  display: grid;
  align-content: center;
  gap: clamp(0.5rem, 1.2vh, 0.8rem);
  padding: clamp(1.1rem, 2.2vw, 1.8rem);
  border-top: clamp(0.35rem, 0.6vw, 0.5rem) solid var(--blue);
  border-radius: clamp(0.6rem, 1.2vw, 0.9rem);
  background: var(--surface);
}

.story-chapter:nth-child(2) {
  border-top-color: #ad722a;
  background: var(--surface);
}

.story-chapter:last-child {
  border-top-color: var(--green);
  background: var(--green-soft);
}

.story-year {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: clamp(0.78rem, 1.1vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.story-chapter strong {
  color: var(--ink-deep);
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.02;
}

.story-chapter:last-child strong {
  color: var(--green-text);
}

/* Metronomics acknowledgment and reading */
.reading-layout {
  width: 100%;
  min-height: clamp(15rem, 43vh, 21rem);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.58fr);
  gap: var(--stage-gap);
  align-items: stretch;
}

.reading-credit {
  display: grid;
  align-content: center;
  gap: clamp(0.8rem, 1.8vh, 1.3rem);
  padding: clamp(1.2rem, 2.6vw, 2rem);
  border-left: clamp(0.4rem, 0.7vw, 0.58rem) solid #ad722a;
  border-radius: clamp(0.7rem, 1.4vw, 1.1rem);
  background: var(--surface);
  color: #245449;
}

.reading-credit img {
  width: min(100%, 22rem);
  height: auto;
}

.reading-credit strong {
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.12;
}

.reading-credit p {
  color: #4f6f67;
  font-size: clamp(0.82rem, 1.3vw, 1rem);
  line-height: 1.3;
}

.reading-books {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.4vw, 1rem);
  align-items: stretch;
}

.reading-book {
  min-width: 0;
  min-height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  color: inherit;
  text-decoration: none;
}

.book-face {
  min-width: 0;
  min-height: clamp(13.5rem, 38vh, 18rem);
  display: grid;
  place-items: center;
  padding: clamp(0.65rem, 1.4vw, 1rem);
  border: clamp(0.08rem, 0.12vw, 0.1rem) solid var(--line);
  border-radius: clamp(0.55rem, 1vw, 0.8rem);
  background: var(--surface);
  box-shadow: 0 0.8rem 1.8rem rgba(19, 47, 74, 0.1);
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.book-face img {
  width: 100%;
  height: 100%;
  max-height: min(35vh, 17rem);
  object-fit: contain;
}

.reading-book:hover .book-face,
.reading-book:focus-visible .book-face {
  transform: translateY(-0.2rem);
  box-shadow: 0 1rem 2.2rem rgba(19, 47, 74, 0.16);
}

.book-kicker {
  font-family: var(--font-mono);
  font-size: clamp(0.62rem, 0.9vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.book-face strong {
  min-width: 0;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
  overflow-wrap: anywhere;
}

.reading-book:nth-child(1) .book-face strong {
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  white-space: nowrap;
}

.book-author {
  padding-top: clamp(0.55rem, 1.2vh, 0.8rem);
  color: var(--muted);
  font-size: clamp(0.7rem, 1vw, 0.84rem);
  font-weight: 600;
  text-align: center;
}

.soft-rule {
  display: none;
}

/* Audience resources */
.resource-email { display: flex; align-items: center; justify-content: center; text-align: center; font-size: clamp(.8rem, 1.5vw, 1.25rem); line-height: 1.3; color: var(--ink); margin: 0; padding: clamp(.4rem, 1vh, .8rem); }
.resource-email a { color: var(--blue); font-weight: 600; text-underline-offset: .15em; }
.resource-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.55rem, 1.2vw, 0.9rem);
  align-items: stretch;
}

.resource-card {
  min-width: 0;
  min-height: clamp(14rem, 39vh, 19rem);
  display: grid;
  grid-template-rows: auto 1fr;
  justify-items: center;
  align-content: center;
  gap: clamp(0.65rem, 1.5vh, 1rem);
  padding: clamp(0.8rem, 1.6vw, 1.15rem);
  border-top: clamp(0.28rem, 0.45vw, 0.38rem) solid var(--blue);
  border-radius: clamp(0.55rem, 1vw, 0.8rem);
  background: var(--surface);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
}

.resource-card:last-child {
  border-top-color: var(--green);
}

.nowrap {
  white-space: nowrap;
}

.resource-card img {
  width: min(100%, 8.5rem);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.resource-card span {
  display: grid;
  align-content: start;
  gap: clamp(0.18rem, 0.5vh, 0.35rem);
}

.resource-card strong {
  font-size: clamp(1rem, 1.6vw, 1.28rem);
  font-weight: 600;
  line-height: 1.05;
  text-wrap: balance;
}

.resource-card small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: clamp(0.62rem, 0.8vw, 0.74rem);
  font-weight: 500;
  line-height: 1.25;
}

/* Closing operating rule */
#slide-22 {
  background: var(--blue-deep);
  color: var(--surface);
}

#slide-22 .brand-line,
#slide-22 .eyebrow {
  display: none;
}

.closing-slide .slide-content {
  align-items: stretch;
  padding: clamp(1.5rem, 4vh, 2.6rem) var(--canvas-pad);
  text-align: left;
}

.closing-stage {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: clamp(1rem, 2.4vh, 1.8rem);
}

.closing-title {
  width: 100%;
  max-width: none;
  display: grid;
  gap: clamp(0.45rem, 1.2vh, 0.85rem);
  color: var(--surface);
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  font-weight: 600;
  letter-spacing: clamp(-0.02em, -0.028vw, -0.012em);
  line-height: 0.98;
}

.closing-rule {
  display: block;
  padding: clamp(0.65rem, 1.3vh, 0.95rem) 0 clamp(0.65rem, 1.3vh, 0.95rem) clamp(1rem, 2vw, 1.5rem);
  border-left: clamp(0.35rem, 0.6vw, 0.5rem) solid rgba(255, 255, 255, 0.32);
}

.weekly-rule {
  border-left-color: var(--green);
  color: #dff4e5;
}

.monthly-rule {
  border-left-color: #8db5e6;
  color: #e7f0fb;
}

.action-rule {
  border-left-color: var(--surface);
}

.closing-model {
  align-self: flex-end;
  padding: clamp(0.65rem, 1.4vh, 0.95rem) clamp(0.85rem, 1.8vw, 1.25rem);
  border: clamp(0.06rem, 0.1vw, 0.08rem) solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-mono);
  font-size: clamp(0.78rem, 1.25vw, 1rem);
  font-weight: 500;
  letter-spacing: 0;
}

.closing-cadence {
  display: none;
}

/* Sidebar: one clear progress system */
.slide-sidebar {
  width: var(--sidebar-width);
  gap: clamp(0.65rem, 1.4vh, 1rem);
  padding: clamp(1rem, 2vw, 1.45rem) clamp(0.8rem, 1.5vw, 1.15rem);
  background: var(--paper-soft);
  border-right: clamp(0.06rem, 0.1vw, 0.08rem) solid var(--line);
}

.sidebar-head {
  gap: clamp(0.3rem, 0.7vh, 0.48rem);
  padding-inline: clamp(0.35rem, 0.7vw, 0.55rem);
}

.sidebar-head::before {
  width: clamp(2.6rem, 4vw, 3.6rem);
  height: clamp(0.2rem, 0.35vh, 0.26rem);
  margin-bottom: clamp(0.2rem, 0.45vh, 0.36rem);
}

.sidebar-head h1 {
  color: var(--ink-deep);
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  font-weight: 600;
  letter-spacing: clamp(-0.015em, -0.02vw, -0.01em);
  line-height: 1.08;
}

.sidebar-head p {
  color: var(--muted);
  font-size: clamp(0.7rem, 0.84vw, 0.78rem);
  font-weight: 400;
  line-height: 1.3;
}

.sidebar-nav {
  gap: clamp(0.08rem, 0.2vh, 0.16rem);
  padding-top: clamp(0.3rem, 0.65vh, 0.48rem);
  padding-right: clamp(0.1rem, 0.25vw, 0.2rem);
}

.sidebar-group {
  margin-top: clamp(0.35rem, 0.75vh, 0.55rem);
  padding: 0 clamp(0.45rem, 0.8vw, 0.65rem);
  color: var(--blue-deep);
  font-family: var(--font-mono);
  font-size: clamp(0.58rem, 0.7vw, 0.66rem);
  font-weight: 600;
  letter-spacing: clamp(0.08em, 0.12vw, 0.12em);
  line-height: 1.2;
  text-transform: uppercase;
}

.sidebar-group:first-child {
  margin-top: 0;
  padding-top: clamp(0.4rem, 0.9vh, 0.6rem);
}

.sidebar-link {
  position: relative;
  min-height: clamp(2.75rem, 6vh, 3rem);
  grid-template-columns: clamp(1.45rem, 2.2vw, 1.75rem) minmax(0, 1fr);
  gap: clamp(0.4rem, 0.75vw, 0.58rem);
  padding: clamp(0.45rem, 0.8vh, 0.62rem) clamp(0.5rem, 0.9vw, 0.7rem);
  border-radius: clamp(0.35rem, 0.6vw, 0.48rem);
  color: var(--muted);
  transition: color 160ms ease, background 160ms ease;
}

.sidebar-link::before {
  content: "";
  position: absolute;
  inset: clamp(0.35rem, 0.7vh, 0.5rem) auto clamp(0.35rem, 0.7vh, 0.5rem) 0;
  width: clamp(0.18rem, 0.28vw, 0.24rem);
  border-radius: 0 clamp(0.2rem, 0.35vw, 0.28rem) clamp(0.2rem, 0.35vw, 0.28rem) 0;
  background: transparent;
}

.sidebar-link:hover,
.sidebar-link:focus-visible {
  background: var(--surface);
  color: var(--blue-deep);
  transform: none;
}

.sidebar-link.active {
  background: var(--blue-soft);
  color: var(--ink-deep);
}

.sidebar-link.active::before {
  background: var(--blue);
}

.sidebar-link .sidebar-number {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: clamp(0.65rem, 0.78vw, 0.72rem);
  font-weight: 600;
}

.sidebar-link .sidebar-label {
  overflow: visible;
  color: inherit;
  font-size: clamp(0.76rem, 0.9vw, 0.82rem);
  font-weight: 500;
  line-height: 1.18;
  text-overflow: clip;
  white-space: normal;
}

.sidebar-help {
  padding-inline: clamp(0.35rem, 0.7vw, 0.55rem);
  color: var(--muted);
  font-size: clamp(0.62rem, 0.72vw, 0.68rem);
  font-weight: 400;
  line-height: 1.35;
}

.progress-track,
.nav-dots {
  display: none;
}

.controls {
  left: auto;
  right: clamp(0.7rem, 1.5vw, 1.15rem);
  bottom: clamp(0.65rem, 1.4vh, 1rem);
  gap: clamp(0.15rem, 0.35vw, 0.3rem);
  padding: clamp(0.18rem, 0.4vw, 0.3rem);
  border: 1px solid transparent;
  border-radius: clamp(0.55rem, 1vw, 0.8rem);
  background: rgba(240, 241, 242, 0.82);
  box-shadow: none;
  transform: none;
  backdrop-filter: blur(0.6rem);
}

body.dark-slide-controls .controls {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(13, 39, 65, 0.78);
  box-shadow: 0 clamp(0.25rem, 0.6vh, 0.4rem) clamp(0.8rem, 1.8vw, 1.3rem) rgba(0, 0, 0, 0.2);
}

body.dark-slide-controls .control-button {
  color: rgba(255, 255, 255, 0.84);
}

body.dark-slide-controls .control-button:hover,
body.dark-slide-controls .control-button:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.control-button {
  width: clamp(2.75rem, 4.5vw, 3rem);
  min-height: clamp(2.75rem, 4.5vw, 3rem);
  border-radius: clamp(0.4rem, 0.8vw, 0.65rem);
  color: #59636d;
  font-size: 0.85rem;
  font-weight: 400;
}

.control-button--fullscreen {
  width: auto;
  min-width: 0;
  aspect-ratio: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.3rem, 0.55vw, 0.45rem);
  padding-inline: 0.65rem;
  white-space: nowrap;
  font-size: 0.75rem;
}

.fullscreen-icon {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  line-height: 1;
}

.fullscreen-label {
  font-size: 0.75rem;
  line-height: 1;
}

.control-count {
  display: none;
  font-family: var(--font-mono);
  font-size: clamp(0.68rem, 0.9vw, 0.78rem);
  font-weight: 600;
}

.notes-header h2 {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 600;
}

.notes-body {
  font-size: clamp(0.82rem, 1.15vw, 0.98rem);
}

/* Responsive sidebar and slide compositions */
@media (max-width: 1180px) {
  #presentation {
    width: 100vw;
    margin-left: 0;
  }

  #presentation .slide {
    width: 100vw;
  }

  .brand-line,
  .eyebrow {
    margin-left: clamp(2.75rem, 6vw, 3.75rem);
  }

  .slide-sidebar {
    width: min(19rem, 88vw);
    transform: translateX(-104%);
    transition: transform 240ms var(--ease-out-expo);
  }

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

  .sidebar-toggle {
    display: grid;
    width: clamp(2.75rem, 5vw, 3rem);
    min-height: clamp(2.75rem, 5vw, 3rem);
    border-radius: clamp(0.45rem, 0.8vw, 0.65rem);
  }

  .sidebar-backdrop {
    display: block;
    pointer-events: none;
  }

  .sidebar-backdrop.visible {
    pointer-events: auto;
  }

  .control-count {
    display: block;
  }

  .slide-content > .support-line,
  .slide-content > .ask-line,
  .slide-content > .target-caption {
    max-width: calc(100% - clamp(9.75rem, 42vw, 10.75rem));
  }

  body.sidebar-open {
    overflow: hidden;
  }
}

@media (max-width: 760px) {
  .slide-content {
    padding: clamp(1rem, 3vh, 1.5rem) clamp(1rem, 5vw, 1.5rem);
  }

  .brand-line,
  .eyebrow {
    margin-left: clamp(2.75rem, 11vw, 3.2rem);
  }

  .slide-title {
    font-size: clamp(1.8rem, 7.6vw, 3rem);
    line-height: 1.03;
  }

  .support-line,
  .ask-line,
  .target-caption {
    font-size: clamp(0.82rem, 3.6vw, 1.05rem);
  }

  .opening-grid,
  .reserve-layout,
  .driver-layout,
  .choices-layout {
    grid-template-columns: 1fr;
  }

  .opening-grid {
    grid-template-rows: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .opening-title {
    width: 100%;
    padding: clamp(1.1rem, 5vw, 1.7rem);
    font-size: clamp(2rem, 8.3vw, 3.2rem);
    line-height: 1.02;
    text-align: left;
  }

  .opening-art {
    max-height: none;
  }

  .metronomics-hero {
    min-height: clamp(12rem, 34vh, 16rem);
    padding: clamp(1.2rem, 4vw, 2rem);
  }

  .outcome-path {
    grid-template-columns: 1fr 1fr;
    gap: clamp(0.6rem, 2.5vw, 0.9rem);
  }

  .outcome-path > .arrow {
    display: none;
  }

  .outcome-card {
    min-height: clamp(11rem, 30vh, 14rem);
    padding: clamp(0.9rem, 3vw, 1.25rem);
  }

  .outcome-card strong {
    font-size: clamp(2rem, 8vw, 2.9rem);
  }

  .outcome-card:first-child strong {
    font-size: clamp(1.3rem, 5.4vw, 1.8rem);
  }

  .reserve-metric,
  .timeline,
  .driver-definition,
  .days-target,
  .forecast-result {
    min-height: clamp(7.4rem, 21vh, 10rem);
  }

  .causal-chain,
  .review-chain,
  .monthly-chain {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    padding: clamp(0.8rem, 3vw, 1.2rem);
  }

  .causal-chain > :nth-child(4),
  .review-chain > :nth-child(4),
  .monthly-chain > :nth-child(4) {
    display: none;
  }

  .causal-chain > :nth-child(5),
  .review-chain > :nth-child(5),
  .monthly-chain > :nth-child(5) {
    grid-column: 1 / -1;
  }

  .chain-node {
    min-height: clamp(5.7rem, 15vh, 7rem);
    padding: clamp(0.6rem, 2.5vw, 0.9rem);
  }

  .chain-node strong {
    font-size: clamp(1.05rem, 4.4vw, 1.45rem);
  }

  .chain-node span {
    font-size: clamp(0.68rem, 2.8vw, 0.86rem);
  }

  #slide-11 .model-chain,
  #slide-14 .model-chain {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: clamp(0.25rem, 1.2vh, 0.45rem);
    padding: clamp(0.65rem, 2.8vw, 1rem);
  }

  #slide-11 .model-word,
  #slide-14 .model-word {
    min-height: clamp(4.5rem, 12vh, 6rem);
    padding: clamp(0.45rem, 2vw, 0.7rem);
  }

  #slide-11 .model-chain > .arrow,
  #slide-14 .model-chain > .arrow {
    font-size: 0;
    line-height: 0.65;
  }

  #slide-11 .model-chain > .arrow::before,
  #slide-14 .model-chain > .arrow::before {
    content: "↓";
    font-size: clamp(1.1rem, 4.8vw, 1.5rem);
  }

  #slide-11 .model-word span,
  #slide-14 .model-word span {
    display: none;
  }

  #slide-11 .model-word strong,
  #slide-11 .model-word .accent-blue,
  #slide-11 .model-word .accent-green,
  #slide-14 .model-word strong {
    font-size: clamp(0.82rem, 3.4vw, 1.12rem);
  }

  .driver-definition {
    justify-items: start;
    text-align: left;
  }

  .driver-examples {
    width: 100%;
  }

  .driver-example {
    min-height: clamp(2.8rem, 7vh, 3.5rem);
    font-size: clamp(0.92rem, 3.8vw, 1.15rem);
  }

  .kffm-layout {
    grid-template-columns: 1fr;
    gap: clamp(0.45rem, 1.8vw, 0.7rem);
  }

  .kffm-map {
    min-height: clamp(11rem, 29vh, 14rem);
    gap: clamp(0.45rem, 1vh, 0.7rem);
    padding: clamp(0.65rem, 2.5vw, 0.95rem);
  }

  .kffm-function,
  .kffm-cash {
    min-height: clamp(4.6rem, 12vh, 6rem);
    padding: clamp(0.3rem, 1.2vw, 0.5rem);
    font-size: clamp(0.875rem, 2.5vw, 1.05rem);
  }

  .kffm-handoff small {
    font-size: clamp(0.75rem, 2vw, 0.9rem);
  }

  .kffm-resource {
    min-height: clamp(5.8rem, 14vh, 7.4rem);
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    gap: clamp(0.55rem, 2.2vw, 0.8rem);
    padding: clamp(0.5rem, 2vw, 0.75rem);
    text-align: left;
  }

  .kffm-resource img {
    width: clamp(4rem, 17vw, 5.5rem);
  }

  .amount-timing {
    grid-template-columns: 1fr 1fr;
    gap: clamp(0.6rem, 2.5vw, 0.9rem);
  }

  .amount-column {
    min-height: clamp(10rem, 27vh, 13rem);
    padding: clamp(0.8rem, 3vw, 1.2rem);
  }

  .amount-column h3 {
    font-size: clamp(2.25rem, 9vw, 3.5rem);
  }

  .amount-column strong {
    font-size: clamp(0.9rem, 3.8vw, 1.2rem);
  }

  .amount-column p {
    font-size: clamp(0.72rem, 3vw, 0.9rem);
  }

  .assumption-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: clamp(0.5rem, 2.4vw, 0.8rem);
  }

  .assumption-layout .assumption-arrow {
    justify-self: center;
    line-height: 0.7;
  }

  .assumption-layout .assumption-arrow::before {
    content: "↓";
  }

  .three-views {
    min-height: clamp(14rem, 40vh, 18rem);
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(0.6rem, 2.5vw, 0.9rem);
  }

  .past-views {
    grid-template-columns: 1fr;
    grid-template-rows: auto repeat(2, 1fr);
    padding: clamp(0.65rem, 2.5vw, 0.9rem);
  }

  .view-direction {
    grid-column: 1;
  }

  .view {
    padding: clamp(0.55rem, 2.5vw, 0.85rem);
  }

  .view h3 {
    font-size: clamp(1.05rem, 4.4vw, 1.35rem);
  }

  .view p {
    font-size: clamp(0.72rem, 3vw, 0.9rem);
  }

  .view.rolling {
    padding: clamp(1rem, 4vw, 1.5rem);
  }

  .view.rolling h3 {
    font-size: clamp(1.85rem, 7.6vw, 2.7rem);
  }

  .view.rolling p {
    font-size: clamp(0.9rem, 3.8vw, 1.15rem);
  }

  .variance-layout {
    grid-template-columns: 1fr 1fr;
    gap: clamp(0.6rem, 2.5vw, 0.9rem);
  }

  .variance-gap {
    grid-column: 1 / -1;
    min-height: clamp(4.5rem, 11vh, 6rem);
  }

  .variance-metric {
    min-height: clamp(9rem, 24vh, 12rem);
  }

  .trend-chart {
    min-height: clamp(14rem, 39vh, 18rem);
  }

  .trend-circle {
    width: clamp(4.6rem, 20vw, 6.4rem);
    font-size: clamp(2.3rem, 10vw, 3.4rem);
  }

  .correction-flow {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  .correction-flow > .correction-arrow:nth-child(4) {
    display: none;
  }

  .correction-flow > .correction-card:last-child {
    grid-column: 1 / -1;
  }

  .cash-consequence {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .cash-result-arrow {
    transform: rotate(90deg);
  }

  .decision-layout {
    grid-template-columns: minmax(0, 0.46fr) minmax(0, 1.54fr);
  }

  .decision-check,
  .decision-copy {
    min-height: clamp(11rem, 30vh, 14rem);
  }

  .choice-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    text-align: left;
  }

  .choice-art {
    max-height: min(26vh, 13rem);
  }

  .payoff-chain {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .payoff-chain > .arrow {
    justify-self: center;
    line-height: 0.7;
    transform: rotate(90deg);
  }

  .bookend {
    min-height: clamp(10rem, 28vh, 13rem);
    font-size: clamp(1.35rem, 5.4vw, 2rem);
  }

  .story-arc {
    grid-template-columns: 1fr;
    gap: clamp(0.45rem, 1.8vw, 0.65rem);
  }

  .story-chapter {
    min-height: clamp(5.4rem, 14vh, 7rem);
    padding: clamp(0.75rem, 3vw, 1rem);
    border-top-width: 0;
    border-left: clamp(0.32rem, 1.2vw, 0.45rem) solid var(--blue);
  }

  .story-chapter:nth-child(2) {
    border-left-color: #ad722a;
  }

  .story-chapter:last-child {
    border-left-color: var(--green);
  }

  .story-chapter strong {
    font-size: clamp(1.05rem, 4.4vw, 1.4rem);
  }

  .reading-layout {
    grid-template-columns: 1fr;
    gap: clamp(0.65rem, 2.5vw, 0.9rem);
  }

  .reading-credit {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(0.55rem, 2.4vw, 0.8rem);
    padding: clamp(0.75rem, 3vw, 1rem);
  }

  .reading-credit strong,
  .reading-credit p {
    grid-column: 2;
  }

  .reading-credit strong {
    font-size: clamp(0.92rem, 3.7vw, 1.2rem);
  }

  .reading-credit p {
    font-size: clamp(0.66rem, 2.7vw, 0.82rem);
  }

  .reading-books {
    gap: clamp(0.35rem, 1.5vw, 0.55rem);
  }

  .book-face {
    min-height: clamp(9.5rem, 25vh, 12rem);
    padding: clamp(0.65rem, 2.5vw, 0.9rem);
  }

  .book-face strong {
    font-size: clamp(1rem, 4.2vw, 1.4rem);
  }

  .reading-book:nth-child(1) .book-face strong {
    font-size: clamp(0.68rem, 2.9vw, 0.82rem);
  }

  .book-author {
    font-size: clamp(0.56rem, 2.25vw, 0.7rem);
  }

  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.4rem, 1.8vw, 0.65rem);
  }

  .resource-card {
    min-height: clamp(6.4rem, 15vh, 7.8rem);
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: 1fr;
    justify-items: start;
    align-items: center;
    gap: clamp(0.35rem, 1.5vw, 0.55rem);
    padding: clamp(0.45rem, 2vw, 0.7rem);
    text-align: left;
  }

  .resource-card img {
    width: clamp(3.6rem, 15vw, 5.2rem);
  }

  .resource-card strong {
    font-size: clamp(0.72rem, 3vw, 0.92rem);
  }

  .resource-card small {
    font-size: clamp(0.5rem, 2vw, 0.64rem);
  }

  .closing-title {
    font-size: clamp(2.15rem, 9vw, 3.4rem);
  }

  .closing-model {
    align-self: flex-start;
    font-size: clamp(0.64rem, 2.8vw, 0.8rem);
  }
}

@media (max-width: 820px) and (min-height: 600px) {
  .kffm-layout {
    grid-template-columns: 1fr;
  }

  .kffm-map {
    min-height: clamp(20rem, 45vh, 27rem);
    align-content: start;
  }

  .kffm-flow {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(9, auto);
    gap: clamp(0.12rem, 0.4vh, 0.22rem);
  }

  .kffm-function,
  .kffm-cash {
    width: min(100%, 15rem);
    min-height: clamp(2.35rem, 5.4vh, 3rem);
    justify-self: center;
    font-size: clamp(0.875rem, 2.6vw, 1.125rem);
  }

  .kffm-handoff {
    width: min(100%, 15rem);
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-content: center;
    justify-items: end;
    gap: clamp(0.35rem, 2vw, 0.6rem);
    justify-self: center;
  }

  .kffm-handoff small {
    font-size: clamp(0.75rem, 2.1vw, 0.9rem);
  }

  .kffm-driver-bridge {
    font-size: 0.875rem;
  }

  .kffm-handoff span {
    justify-self: start;
    font-size: clamp(0.9rem, 4vw, 1.15rem);
    transform: rotate(90deg);
  }

  .kffm-resource {
    min-height: clamp(6.2rem, 12vh, 8rem);
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    text-align: left;
  }

  .kffm-resource img {
    width: clamp(4.5rem, 13vw, 6.5rem);
  }
}

@media (max-height: 700px) {
  .slide-title {
    font-size: clamp(1.8rem, 3.8vw, 3.25rem);
  }

  .opening-title {
    font-size: clamp(2rem, 4vw, 3.55rem);
  }

  .support-line,
  .ask-line,
  .target-caption {
    font-size: clamp(0.88rem, 1.45vw, 1.12rem);
  }

  .controls {
    bottom: clamp(0.45rem, 1vh, 0.7rem);
  }

  .trend-chart {
    height: min(43vh, 19rem);
  }
}

@media (max-height: 560px) {
  .slide-content {
    padding-block: clamp(0.65rem, 2vh, 1rem);
    gap: clamp(0.2rem, 0.7vh, 0.4rem);
  }

  .brand-line,
  .eyebrow {
    display: none;
  }

  .slide-title {
    font-size: clamp(1.45rem, 3.2vw, 2.35rem);
    line-height: 1.02;
  }

  .slide-stage {
    padding-block: 0;
  }

  .support-line,
  .ask-line,
  .target-caption {
    font-size: clamp(0.875rem, 1.75vw, 1rem);
  }

  .opening-title {
    font-size: clamp(1.6rem, 3.4vw, 2.55rem);
  }

  .reserve-metric,
  .timeline,
  .chain-node,
  #slide-11 .model-word,
  #slide-14 .model-word,
  .driver-definition,
  .kffm-map,
  .kffm-resource,
  .days-target,
  .forecast-result,
  .amount-column,
  .variance-metric,
  .variance-gap,
  .monthly-review-box,
  .decision-check,
  .decision-copy,
  .bookend {
    min-height: 0;
  }

  .causal-chain,
  .review-chain,
  .model-chain,
  .monthly-chain,
  .cash-consequence,
  .decision-layout,
  .choices-layout,
  .bookends {
    min-height: 0;
    padding: clamp(0.55rem, 1.8vw, 0.85rem);
  }

  .trend-chart {
    height: min(42vh, 10.5rem);
    min-height: clamp(8.5rem, 40vh, 10.5rem);
  }

  .correction-flow {
    min-height: clamp(8.5rem, 40vh, 10.5rem);
  }

  .correction-card {
    gap: clamp(0.2rem, 0.7vh, 0.4rem);
    padding: clamp(0.55rem, 1.8vw, 0.85rem);
  }

  .correction-card strong {
    font-size: clamp(1.2rem, 2.8vw, 1.8rem);
  }

  .payoff-chain {
    min-height: 0;
    height: min(48vh, 11.5rem);
  }

  .payoff-card {
    padding: clamp(0.65rem, 1.8vw, 0.95rem);
  }

  .payoff-card strong {
    font-size: clamp(1.45rem, 3.8vw, 2.15rem);
  }

  .kffm-resource img {
    width: clamp(5rem, 14vh, 5.5rem);
  }

  .trend-circle {
    width: clamp(3.6rem, 9vw, 5rem);
    font-size: clamp(1.8rem, 4.5vw, 2.7rem);
  }

  .choice-art {
    max-height: min(38vh, 10rem);
  }

  #slide-12 .three-views,
  #slide-16 .three-views {
    min-height: 0;
    height: min(49vh, 11.8rem);
  }

  #slide-12 .past-views,
  #slide-12 .view,
  #slide-12 .view.rolling,
  #slide-16 .past-views,
  #slide-16 .view,
  #slide-16 .view.rolling {
    min-height: 0;
    padding: clamp(0.55rem, 1.4vw, 0.8rem);
  }

  #slide-12 .view-direction,
  #slide-16 .view-direction {
    font-size: clamp(0.55rem, 1.1vw, 0.65rem);
  }

  #slide-12 .view h3,
  #slide-16 .view h3 {
    font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  }

  #slide-12 .view p,
  #slide-16 .view p {
    font-size: clamp(0.75rem, 1.55vw, 0.9rem);
  }

  #slide-12 .view.rolling h3,
  #slide-16 .view.rolling h3 {
    font-size: clamp(1.8rem, 4.8vw, 2.5rem);
  }

  #slide-12 .view.rolling p,
  #slide-16 .view.rolling p {
    max-width: 16rem;
    font-size: clamp(0.88rem, 1.9vw, 1.05rem);
  }

  #slide-6 .kffm-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(0.35rem, 1.4vh, 0.55rem);
  }

  #slide-6 .kffm-flow {
    grid-template-columns: minmax(4.2rem, 1fr) clamp(5.1rem, 9vw, 5.5rem) minmax(4.2rem, 1fr) clamp(5.1rem, 9vw, 5.5rem) minmax(4.2rem, 1fr) clamp(5.1rem, 9vw, 5.5rem) minmax(4.2rem, 1fr) clamp(5.1rem, 9vw, 5.5rem) minmax(3.8rem, 0.78fr);
    gap: clamp(0.1rem, 0.3vw, 0.22rem);
    padding-inline: clamp(0.25rem, 0.7vw, 0.4rem);
  }

  #slide-6 .kffm-map {
    min-height: 0;
    height: min(34vh, 8rem);
    padding: clamp(0.45rem, 1.2vw, 0.7rem);
  }

  #slide-6 .kffm-resource {
    min-height: 0;
    height: min(23vh, 5.5rem);
    grid-template-columns: auto minmax(0, 1fr);
    padding: clamp(0.35rem, 1vw, 0.5rem);
    text-align: left;
  }

  #slide-6 .kffm-caption {
    font-size: clamp(0.52rem, 1.05vw, 0.64rem);
  }

  #slide-6 .kffm-driver-bridge {
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
  }

  #slide-6 .kffm-function,
  #slide-6 .kffm-cash {
    min-height: clamp(3.5rem, 18vh, 4.4rem);
    font-size: clamp(0.875rem, 1.8vw, 1rem);
  }

  #slide-6 .kffm-handoff small {
    font-size: clamp(0.75rem, 1.45vw, 0.88rem);
  }

  #slide-6 .kffm-resource img {
    width: 5rem;
  }

  #slide-6 .kffm-resource strong {
    font-size: clamp(0.7rem, 1.4vw, 0.86rem);
  }

  #slide-6 .kffm-resource small,
  #slide-6 .kffm-resource em {
    font-size: clamp(0.48rem, 0.92vw, 0.58rem);
  }

  #slide-23 .resource-grid {
    align-self: start;
  }

  #slide-23 .resource-card {
    min-height: 0;
    height: min(49vh, 11.75rem);
    gap: clamp(0.3rem, 1vh, 0.45rem);
    padding: clamp(0.45rem, 1.2vw, 0.65rem);
  }

  #slide-23 .resource-card img {
    width: min(100%, 6.5rem);
  }

  #slide-23 .resource-card strong {
    font-size: clamp(0.76rem, 1.7vw, 0.9rem);
  }

  #slide-23 .resource-card small {
    font-size: clamp(0.54rem, 1.15vw, 0.62rem);
  }

}

@media (max-width: 1180px) and (max-height: 560px) {
  .slide-title {
    max-width: calc(100% - clamp(3rem, 6vw, 3.6rem));
    margin-left: clamp(3rem, 6vw, 3.6rem);
  }

  #slide-21 .reading-layout {
    min-height: 0;
    height: min(55vh, 13.25rem);
    align-self: start;
  }

  #slide-21 .reading-credit,
  #slide-21 .reading-books,
  #slide-21 .reading-book,
  #slide-21 .book-face {
    min-height: 0;
    height: 100%;
  }

  .trend-target span {
    left: clamp(4rem, 12vw, 6rem);
  }
}

@media (max-width: 760px) {
  .trend-target span {
    left: clamp(4.6rem, 22vw, 6.2rem);
  }

  #slide-23 .resource-card img {
    width: clamp(5.5rem, 23vw, 6rem);
  }
}

/* ===========================================
   DESKTOP PRESENTATION FRAME
   Preserve a true 16:9 slide inside wide and tall browser windows.
   The outer stage supplies contrast while the slide remains responsive.
   =========================================== */
@media screen and (min-width: 900px) and (min-height: 600px) {
  :root {
    --deck-nav-space: var(--sidebar-width);
    --deck-horizontal-clearance: clamp(2.5rem, 5vw, 4rem);
    --deck-vertical-clearance: clamp(2.5rem, 6vh, 5rem);
  }

  #presentation {
    background: #1b1f24;
  }

  #presentation .slide {
    display: grid;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    place-items: center;
    padding: 0;
    background: #1b1f24;
  }

  #presentation .slide::before {
    display: none;
  }

  #presentation .slide-content {
    width: min(
      calc(100vw - var(--deck-nav-space) - var(--deck-horizontal-clearance)),
      calc((100dvh - var(--deck-vertical-clearance)) * 16 / 9)
    );
    height: auto;
    min-height: 0;
    max-height: calc(100dvh - var(--deck-vertical-clearance));
    flex: none;
    aspect-ratio: 16 / 9;
    padding: clamp(1.1rem, 2.4vh, 1.65rem) clamp(1.5rem, 3vw, 3rem);
    overflow: hidden;
    border: 1px solid rgba(31, 38, 45, 0.18);
    border-radius: clamp(0.8rem, 1.25vw, 1.15rem);
    background: var(--paper);
    box-shadow: 0 1.4rem 4rem rgba(0, 0, 0, 0.28);
  }

  #slide-2 .slide-content {
    padding: clamp(0.9rem, 2vh, 1.25rem);
  }

  #slide-22 .slide-content {
    border-color: rgba(255, 255, 255, 0.16);
    background: var(--blue-deep);
  }

  #presentation .slide-stage {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-block: clamp(1rem, 2.2vh, 1.5rem) clamp(0.25rem, 0.8vh, 0.55rem);
  }

  #slide-2 .slide-stage,
  #slide-22 .slide-stage {
    justify-content: center;
    padding-block: 0;
  }

  #slide-2 .opening-title {
    font-size: clamp(2.05rem, 3.3vw, 3.55rem);
    line-height: 0.98;
  }

  #presentation .slide-title {
    font-size: clamp(1.85rem, 3.35vw, 3.25rem);
  }
}

@media screen and (min-width: 900px) and (min-height: 801px) and (max-height: 920px) {
  #slide-15 .trend-chart {
    height: min(40vh, 18rem);
    min-height: min(40vh, 18rem);
  }
}

@media screen and (min-width: 900px) and (min-height: 600px) and (max-height: 800px) {
  #presentation .slide-content {
    padding: clamp(0.9rem, 2vh, 1.1rem) clamp(1.35rem, 2.5vw, 2rem);
  }

  #slide-2 .slide-content {
    padding: clamp(0.7rem, 1.6vh, 0.9rem);
  }

  #presentation .slide-title {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
  }

  #slide-6 .kffm-function,
  #slide-6 .kffm-cash {
    font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  }

  #slide-6 .kffm-handoff small {
    font-size: clamp(0.875rem, 1.1vw, 0.96rem);
  }

  .reserve-metric,
  .timeline,
  #slide-11 .model-chain,
  .driver-definition,
  .amount-column,
  .days-target,
  .forecast-result,
  #slide-14 .model-chain,
  .variance-metric,
  .variance-gap,
  .monthly-chain,
  .cash-consequence,
  .decision-layout,
  .choices-layout,
  .bookend {
    min-height: clamp(10rem, 29vh, 13rem);
  }

  #slide-11 .model-word,
  #slide-14 .model-word,
  .chain-node,
  .monthly-review-box,
  .decision-check {
    min-height: clamp(7.5rem, 23vh, 10rem);
  }

  .three-views {
    min-height: clamp(12rem, 32vh, 14rem);
  }

  .trend-chart {
    height: clamp(11rem, 32vh, 13rem);
    min-height: clamp(11rem, 32vh, 13rem);
  }

  .choice-art {
    max-height: min(34vh, 13rem);
  }

  #slide-3 .reserve-metric,
  #slide-3 .timeline {
    padding: clamp(0.9rem, 2vw, 1.3rem);
  }

  #slide-5 .driver-definition {
    padding: clamp(0.9rem, 2vw, 1.3rem);
  }

  #slide-5 .driver-example {
    min-height: clamp(2.7rem, 6.6vh, 3.3rem);
    padding: clamp(0.45rem, 1vw, 0.75rem);
  }

  #slide-8 .days-target,
  #slide-8 .forecast-result {
    min-height: clamp(9.5rem, 27vh, 12rem);
    padding: clamp(1rem, 2vw, 1.5rem);
  }

  #slide-17 .cash-consequence {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }
}

@media screen and (min-width: 900px) and (max-width: 1180px) and (min-height: 600px) {
  :root {
    --deck-nav-space: 0px;
  }
}

#slide-20 .story-chapter:last-child strong { font-size: clamp(1.1rem, 2.1vw, 1.9rem); line-height: 1.2; }
@media (hover: hover) and (pointer: fine) {
  .controls { opacity: 0; pointer-events: none; transition: opacity 180ms ease; }
  body.controls-visible .controls, .controls:has(:focus-visible) { opacity: 1; pointer-events: auto; }
}
@media (prefers-reduced-motion: reduce) { .controls { transition: none; } }
/* Full screen is a centered presentation stage, independent of navigation preferences. */
:fullscreen body { --deck-nav-space: 0px; }
:fullscreen .slide-sidebar,
:fullscreen #sidebarToggle,
:fullscreen #sidebarDesktopToggle,
:fullscreen #sidebarBackdrop { display: none !important; }
:fullscreen #presentation { width: 100vw; margin-left: 0; }
:fullscreen #presentation .slide { width: 100%; }
@media (min-width: 900px) and (min-height: 600px) {
  :fullscreen #presentation .slide-content { justify-content: center; }
  :fullscreen #presentation .slide-stage { flex: 0 1 auto; }
  :fullscreen #slide-2 .slide-stage,
  :fullscreen #slide-22 .slide-stage { flex: 1; }
}
#presentation .slide.cash-bookend .slide-content {
  justify-content: center;
  background: var(--paper);
  color: var(--ink);
  gap: clamp(0.7rem, 1.7vh, 1.4rem);
}
.cash-title { font-size: clamp(2.5rem, 6vw, 6rem); line-height: 1; color: var(--blue); }
.cash-subtitle { font-size: clamp(1rem, 2vw, 2rem); line-height: 1.2; font-weight: 650; }
.cash-points { list-style: none; counter-reset: cash-step; padding: 0; margin: clamp(0.4rem, 1.4vh, 1rem) 0; display: grid; grid-template-columns: 1fr; gap: 0; border-top: 2px solid var(--blue); }
.cash-points li { counter-increment: cash-step; display: grid; grid-template-columns: clamp(2rem,4vw,4rem) clamp(6rem,13vw,12rem) minmax(0,1fr); align-items: center; gap: clamp(.5rem,1.3vw,1.2rem); border-bottom: 1px solid var(--line); padding: clamp(.55rem,1.9vh,1.3rem) clamp(.2rem,.7vw,.7rem); }
.cash-points li::before { content: counter(cash-step) "."; color: var(--green-text, #307748); font-size: clamp(1.4rem,2.8vw,2.7rem); font-weight: 650; font-variant-numeric: tabular-nums; }
.cash-points strong { display: block; color: var(--blue); font-size: clamp(1.1rem,2vw,2rem); margin: 0; }
.cash-points span { display: block; font-size: clamp(.9rem,1.55vw,1.5rem); line-height: 1.35; }
#presentation #slide-11 .slide-stage { display:flex; flex-direction:column; justify-content:center; gap:clamp(.5rem,1.2vh,1rem); }
#presentation #slide-11 .model-chain { width:100%; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr); min-height:0; padding:clamp(.6rem,1.3vw,1.2rem); }
#presentation #slide-11 .model-word { min-height:clamp(8rem,20vh,12rem); padding:clamp(.5rem,1vw,1rem); }
#presentation #slide-11 .model-word strong { font-size:clamp(1rem,1.8vw,1.8rem); }
#presentation #slide-11 .model-word span { font-size:clamp(.8rem,1.15vw,1.15rem); }
#presentation #slide-11 .model-word:nth-child(7) { background:#61a978; border-top-color:var(--green-text); }
#presentation #slide-11 .model-word:nth-child(7) span { color:var(--ink-deep); }
.model-return { display:flex; justify-content:space-between; align-items:center; width:94%; color:var(--green-text); border-bottom:2px solid var(--green-text); padding:clamp(.3rem,.8vh,.6rem); font-size:clamp(.9rem,1.4vw,1.35rem); }
.model-monthly { color:var(--blue); text-align:center; font-size:clamp(.85rem,1.3vw,1.2rem); margin:clamp(.3rem,1vh,.8rem) 0 0; }
.cash-questions { font-size: clamp(1rem, 1.8vw, 1.7rem); color: var(--blue); font-weight: 650; }
@media (max-width: 600px) {
  .cash-points { grid-template-columns: 1fr; }
  .cash-points li { grid-template-columns: 2rem minmax(0,1fr); gap: .2rem .6rem; }
  .cash-points li::before { grid-row: span 2; }
  .cash-points span { grid-column: 2; }
}
#presentation .slide-content { position: relative; }
.license-footer { position: absolute; bottom: clamp(.35rem, .8vh, .6rem); left: clamp(1rem, 2vw, 2rem); right: clamp(1rem, 2vw, 2rem); font-size: clamp(.65rem, .8vw, .75rem); line-height: 1.25; color: #626970; font-weight: 400; text-align: center; }
.license-footer a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
#presentation #slide-23 .slide-stage { display: grid; grid-template-rows: auto minmax(0, 1fr); align-content: stretch; align-items: stretch; flex: 1; padding-bottom: clamp(1.2rem, 3vh, 2rem); }
@media (max-width: 900px) { .controls { bottom: clamp(1.8rem, 4vh, 2.2rem); } }
#sidebarDesktopToggle { display: none; }
@media (min-width: 1181px) {
  #sidebarDesktopToggle { display: inline-flex; }
  body.sidebar-hidden { --deck-nav-space: 0px; }
  body.sidebar-hidden .slide-sidebar { visibility: hidden; transform: translateX(-104%); }
  body.sidebar-hidden #presentation { width: 100vw; margin-left: 0; }
  body.sidebar-hidden #presentation .slide { width: 100%; }
}
/* Source-matched weekly scoreboard and written Situation Report. */
.weekly-scoreboard { width:100%; color:var(--ink-deep); }
.scoreboard-meta { display:flex; justify-content:space-between; color:var(--muted); font-size:clamp(.65rem,1vw,.9rem); margin-bottom:clamp(.3rem,.6vh,.6rem); }
.scoreboard-meta span:first-child { color:var(--blue); font-weight:700; }
.weekly-scoreboard table { width:100%; table-layout:fixed; border-collapse:collapse; border-block:2px solid var(--blue); }
.weekly-scoreboard th:first-child { width:36%; text-align:left; }
.weekly-scoreboard thead th { color:var(--blue); font-size:clamp(.85rem,1.35vw,1.25rem); padding:clamp(.25rem,.6vh,.5rem); height:clamp(2rem,4vh,3rem); }
.weekly-scoreboard thead small { display:block; font-size:clamp(.6rem,.85vw,.8rem); font-weight:400; }
.weekly-scoreboard tbody th { padding:clamp(.35rem,.9vh,.75rem) clamp(.4rem,.8vw,.75rem) clamp(.35rem,.9vh,.75rem) 0; border-top:1px solid var(--line); }
.weekly-scoreboard tbody th strong { display:block; font-size:clamp(.8rem,1.32vw,1.2rem); line-height:1.15; }
.score-function { display:block; color:var(--muted); font-size:clamp(.6rem,.85vw,.8rem); font-weight:500; margin-bottom:clamp(.1rem,.25vh,.2rem); }
.weekly-scoreboard tbody th small { display:block; font-size:clamp(.53rem,.72vw,.7rem); font-weight:400; margin-top:clamp(.15rem,.35vh,.3rem); color:var(--muted); }
.weekly-scoreboard td { border-left:1px solid var(--line); border-top:1px solid var(--line); padding:clamp(.2rem,.45vw,.45rem); text-align:center; vertical-align:middle; }
.score-target,.score-result { display:block; padding:clamp(.2rem,.5vh,.45rem); line-height:1.05; }
.score-target { background:#f0f1f2; color:#61666b; font-size:clamp(.7rem,1.1vw,1rem); }
.score-target small { font-size:clamp(.5rem,.65vw,.65rem); margin-right:clamp(.15rem,.4vw,.4rem); font-weight:400; }
.score-result { margin-top:clamp(.12rem,.3vh,.25rem); font-size:clamp(1rem,1.8vw,1.65rem); font-weight:700; }
.score-green { background:#dff0e4; color:#24643b; }
.score-yellow { background:#fff0bf; color:#785700; }
.score-red { background:#f9dada; color:#a32f35; }
.situation-report { width:100%; border-block:2px solid var(--blue); }
.situation-report article { display:grid; grid-template-columns:28% 1fr; align-items:center; gap:clamp(.5rem,1.5vw,1.5rem); padding:clamp(.7rem,2.4vh,1.5rem) clamp(.5rem,1.3vw,1.1rem); border-bottom:1px solid var(--line); }
.situation-report article:last-child { border:0; }
.situation-report h3 { font-size:clamp(1.1rem,2.1vw,1.9rem); color:var(--blue); }
.situation-report p { font-size:clamp(.9rem,1.7vw,1.5rem); line-height:1.3; }
.situation-report article:nth-of-type(3) h3,.situation-report article:nth-of-type(4) h3 { color:#307748; }
.worked-report .report-label { color:var(--muted); font-size:clamp(.65rem,1vw,.95rem); padding:clamp(.3rem,.8vh,.6rem); border-bottom:1px solid var(--line); }
.worked-report article { grid-template-columns:22% 1fr; padding-block:clamp(.5rem,1.4vh,1rem); }
.worked-report article p { font-size:clamp(.8rem,1.4vw,1.25rem); line-height:1.3; }
.worked-report article h3 { font-size:clamp(1rem,1.8vw,1.65rem); }
.teaching-resource{display:flex;align-items:center;gap:clamp(.4rem,.8vw,.8rem);color:#254763;text-decoration:none;align-self:flex-end;margin-top:clamp(.3rem,.7vh,.6rem);flex-shrink:0}
.teaching-resource img{width:clamp(48px,6vw,90px);height:clamp(48px,6vw,90px);object-fit:contain;background:white}
.teaching-resource strong,.teaching-resource small{display:block;font-size:clamp(.65rem,1vw,1rem);line-height:1.3}
.teaching-resource small{font-size:clamp(.55rem,.8vw,.8rem);font-weight:400}
#slide-10 .slide-title{font-size:clamp(1.5rem,3vw,3rem)}
#slide-10 th,#slide-10 td{padding:clamp(.12rem,.3vw,.4rem)}
#slide-10 strong{font-size:clamp(.7rem,1.15vw,1.1rem)}
#slide-6 .slide-stage,#slide-9 .slide-stage,#slide-10 .slide-stage,#slide-12 .slide-stage,#slide-14 .slide-stage{min-height:0;flex:1}
/* Keep every scoreboard row above its resource link. */
#presentation #slide-10 .planning-path,#presentation #slide-12 .planning-path{padding:clamp(.35rem,.7vw,.65rem);margin-bottom:clamp(.35rem,.7vh,.6rem)}
#presentation #slide-10 th,#presentation #slide-10 td{padding:clamp(.12rem,.25vw,.3rem)}
#presentation #slide-10 strong{font-size:clamp(.75rem,1.05vw,1.1rem);line-height:1.1}
#presentation #slide-10 .score-target{padding:clamp(.15rem,.3vh,.3rem)}
#presentation #slide-12 .weekly-scoreboard tbody th{padding-block:clamp(.2rem,.4vh,.35rem)}
#presentation #slide-12 .weekly-scoreboard td{padding:clamp(.12rem,.25vw,.25rem)}
#presentation #slide-12 .score-target,#presentation #slide-12 .score-result{padding:clamp(.15rem,.3vh,.3rem)}
#presentation #slide-12 .score-result{font-size:clamp(1rem,1.5vw,1.4rem)}
.teaching-resource img{width:72px;height:72px;flex-shrink:0}
/* Compact the new planning slides without removing content. */
#presentation #slide-9 .slide-stage,#presentation #slide-10 .slide-stage,#presentation #slide-12 .slide-stage{padding-block:0}
@media (min-width:701px) and (min-height:501px){
  #presentation #slide-9 .slide-stage,#presentation #slide-10 .slide-stage,#presentation #slide-12 .slide-stage{padding-top:4px}
  #presentation #slide-9 .teaching-resource,#presentation #slide-10 .teaching-resource,#presentation #slide-12 .teaching-resource{margin-top:0}
}
@media (min-width:701px) and (max-width:1500px){
  #presentation #slide-9 .forecast-build article{padding:.8rem}
  #presentation #slide-9 .forecast-build h3{font-size:1.4rem;margin-bottom:.5rem}
  #presentation #slide-9 .forecast-build p{font-size:1rem;line-height:1.3;margin-bottom:.4rem}
  #presentation #slide-10 .score-function{margin-bottom:.15em}
  #presentation #slide-10 small{margin-top:.15em}
  #presentation #slide-10 th,#presentation #slide-10 td{padding-block:.1rem}
}
@media (max-width:520px){
  #presentation #slide-8 .accountability-table th:first-child{width:23%}
  #presentation #slide-8 .accountability-table th{overflow-wrap:normal;word-break:normal}
  #presentation #slide-9 .forecast-build{gap:.3rem}
  #presentation #slide-9 .forecast-build article{padding:.6rem}
  #presentation #slide-9 .forecast-build h3{font-size:1rem;margin-bottom:.3rem}
  #presentation #slide-9 .forecast-build p{font-size:.8rem;line-height:1.3;margin-bottom:.25rem}
  #presentation #slide-9 .cash-sides{grid-template-columns:1fr 1fr;gap:.4rem}
  #presentation #slide-9 .build-arrow{font-size:1rem;line-height:1}
  #presentation #cash-rhythm-preview{padding:0}
  #presentation #cash-rhythm-preview .planning{grid-template-columns:1fr 12px 1fr 12px 1fr;gap:3px}
  #presentation #cash-rhythm-preview .arrow{transform:none;font-size:1rem}
  #presentation #cash-rhythm-preview .step{padding:.4rem}
  #presentation #cash-rhythm-preview .step strong{font-size:.85rem}
  #presentation #cash-rhythm-preview .step small{font-size:.65rem}
  #presentation #cash-rhythm-preview .cycles{gap:.7rem}
  #presentation #slide-10 thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  #presentation #slide-10 tbody{display:block}
  #presentation #slide-10 tr{display:grid;grid-template-columns:repeat(7,1fr);margin-bottom:.3rem}
  #presentation #slide-10 th:first-child{grid-column:1/-1;width:auto;padding:.2rem 0}
  #presentation #slide-10 .score-function{display:inline;margin-right:.35rem}
  #presentation #slide-10 table strong{display:inline;font-size:.7rem}
  #presentation #slide-10 table small{display:inline;margin-left:.3rem;font-size:.6rem}
  #presentation #slide-10 td{padding:.1rem;font-size:.7rem}
  #presentation #slide-10 td::before{content:attr(data-week);display:block;font-size:.6rem;color:var(--blue)}
  #presentation #slide-10 .score-target{padding:.1rem}
}
@media (max-height:500px) and (orientation:landscape){
  #presentation #slide-9 .forecast-build article{padding:.5rem}
  #presentation #slide-9 .forecast-build h3{font-size:1.1rem;margin-bottom:.3rem}
  #presentation #slide-9 .forecast-build p{font-size:.85rem;margin-bottom:.25rem}
  #presentation #slide-10 th,#presentation #slide-10 td{line-height:1.1}
  #presentation #slide-10 .planning-path,#presentation #slide-12 .planning-path{padding:.2rem;margin-bottom:.2rem}
  #presentation #slide-10 .score-function,#presentation #slide-12 .score-function{margin-bottom:0}
  #presentation #slide-10 small,#presentation #slide-12 .weekly-scoreboard small{margin-top:0}
  #presentation #slide-10 th,#presentation #slide-10 td,#presentation #slide-12 .weekly-scoreboard tbody th,#presentation #slide-12 .weekly-scoreboard td{padding-block:.05rem}
  #presentation #slide-12 .score-target,#presentation #slide-12 .score-result{padding-block:.05rem}
  #presentation #slide-10 .score-target{padding-block:0}
  #presentation #slide-12 .weekly-scoreboard{line-height:1.1}
  #presentation #slide-12 .score-result{font-size:.9rem}
}
