/* SEA COURSE SLIDE SYSTEM — Death-by-PowerPoint compliant
 * Rules: one message per slide · biggest thing is the most important thing
 *        dark background · max 6 objects · no sentences when speaking
 *
 * Slide canvas: 1920×1080 (16:9). Each slide is its own page when printed.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Newsreader:ital,wght@0,400;0,600;0,700;1,400&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* "Blueprint Dusk" — an architect's table at twilight:
     cool deep-slate ground, warm bone linework, a single marigold lamp-glow
     signal that marks heat / intent. Warm accents on a cool ground make the
     temperature ramp (cold rule, warm bronze, hot marigold) read far harder
     than the old warm-on-warm palette did. */
  --bg:        #0e141a;          /* deep ink-slate, cool near-black */
  --bg-2:      #171f26;          /* lifted panel */
  --bg-3:      #202a32;          /* quietest raised panel (ghost / inset) */
  --ink:       #eeeae0;          /* warm bone off-white */
  --ink-dim:   #a6aeb5;          /* cool grey, secondary */
  --ink-mute:  #788188;          /* muted slate, captions */
  --accent:    #f7a516;          /* marigold, the signal (used sparingly) */
  --gold:      #c8973e;          /* antique bronze, secondary accent */
  --rule:      #29333c;          /* cool slate dividers */
  --good:      #6fb58a;          /* sage */
  --bad:       #db5b54;          /* coral */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: #07090b; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'kern', 'liga', 'cv02', 'cv11', 'ss01';
  overflow-x: hidden;
}

/* ---------- SLIDE CANVAS ---------- */
.slide {
  width: 1920px;
  height: 1080px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 96px;
  page-break-after: always;
  break-after: page;
}
.slide:last-child { page-break-after: auto; }

/* Slide chrome — minimal: just a course wordmark + module/slide nums in mute */
.slide__chrome {
  position: absolute;
  inset: 64px 96px auto auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.slide__brand {
  position: absolute;
  inset: auto auto 56px 96px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  color: var(--ink-mute);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.slide__num {
  position: absolute;
  inset: auto 96px 56px auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
}

/* SEA monogram — rides the brand line, so it appears on EVERY slide */
.slide__brand { display: flex; align-items: center; gap: 16px; }
.slide__brand::before {
  content: "";
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  background: url('assets/sea-logo-mark-light.png') center / contain no-repeat;
  opacity: 0.92;
}
.slide--cover .slide__brand::before { width: 42px; height: 42px; }

/* ---------- TYPE SCALE (oversized — biggest thing wins) ---------- */
.t-mono   { font-family: 'JetBrains Mono', monospace; letter-spacing: 0.04em; }
.t-serif  { font-family: 'Newsreader', serif; }
.t-display{ font-weight: 900; letter-spacing: -0.04em; line-height: 0.92; }
.t-bold   { font-weight: 700; }
.t-medium { font-weight: 500; }
.t-light  { font-weight: 300; }
.t-italic { font-style: italic; }

.t-huge   { font-size: 360px; line-height: 0.85; letter-spacing: -0.05em; font-weight: 900; }
.t-vast   { font-size: 260px; line-height: 0.88; letter-spacing: -0.045em; font-weight: 900; }
.t-mega   { font-size: 200px; line-height: 0.9;  letter-spacing: -0.04em; font-weight: 900; }
.t-xxl    { font-size: 140px; line-height: 0.95; letter-spacing: -0.03em; font-weight: 800; }
.t-xl     { font-size: 96px;  line-height: 1.02; letter-spacing: -0.025em; font-weight: 700; }
.t-lg     { font-size: 64px;  line-height: 1.1;  letter-spacing: -0.015em; font-weight: 600; }
.t-md     { font-size: 44px;  line-height: 1.25; font-weight: 500; }
.t-sm     { font-size: 32px;  line-height: 1.4;  font-weight: 400; }
.t-xs     { font-size: 22px;  line-height: 1.5;  font-weight: 400; color: var(--ink-dim); }
.t-tag    { font-size: 20px;  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute); font-family: 'JetBrains Mono', monospace; }

.c-accent { color: var(--accent); }
.c-gold   { color: var(--gold); }
.c-dim    { color: var(--ink-dim); }
.c-mute   { color: var(--ink-mute); }
.c-good   { color: var(--good); }
.c-bad    { color: var(--bad); }
.strike   { text-decoration: line-through; text-decoration-thickness: 4px; text-decoration-color: var(--bad); }

/* ---------- LAYOUT HELPERS ---------- */
.center      { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 32px; }
.center--mid { align-items: center; text-align: center; }
.row         { display: flex; align-items: center; gap: 48px; }
.col         { display: flex; flex-direction: column; gap: 32px; }
.between     { justify-content: space-between; }
.gap-sm      { gap: 16px; }
.gap-md      { gap: 32px; }
.gap-lg      { gap: 64px; }
.gap-xl      { gap: 96px; }
.flex-1      { flex: 1; }
.tag-row     { display: flex; gap: 24px; align-items: center; }
.bar         { width: 96px; height: 6px; background: var(--accent); }
.bar--gold   { background: var(--gold); }
.bar--dim    { background: var(--rule); }
.divider     { width: 100%; height: 1px; background: var(--rule); margin: 24px 0; }

/* ---------- COMPONENTS ---------- */
.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.stat__num { font-family: 'Inter', sans-serif; font-weight: 900; font-size: 220px; line-height: 0.85; letter-spacing: -0.045em; }
.stat__label { font-size: 28px; color: var(--ink-dim); letter-spacing: 0.04em; max-width: 460px; line-height: 1.3; }
.stat__unit { font-size: 80px; color: var(--accent); font-weight: 800; }

.kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  color: var(--accent);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
}
.kicker--gold { color: var(--gold); }
.kicker--mute { color: var(--ink-mute); }

.numbered {
  display: flex;
  align-items: baseline;
  gap: 48px;
}
.numbered__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 80px;
  font-weight: 500;
  color: var(--ink-mute);
  min-width: 120px;
}
.numbered__body {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.05;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.checklist__row {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.checklist__bullet {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid var(--accent);
  flex-shrink: 0;
}
.checklist__bullet--filled { background: var(--accent); }
.checklist__bullet--bad { border-color: var(--bad); }
.checklist__bullet--good { border-color: var(--good); background: var(--good); }

.pillbox {
  display: inline-block;
  padding: 14px 28px;
  border: 2px solid var(--rule);
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.pillbox--accent { border-color: var(--accent); color: var(--accent); }

.quote {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 120px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  position: relative;
}
.quote::before {
  content: '\201C';
  font-size: 280px;
  position: absolute;
  top: -120px;
  left: -100px;
  color: var(--accent);
  opacity: 0.4;
  font-family: 'Newsreader', serif;
}
.quote__attr { font-size: 32px; color: var(--ink-mute); font-style: normal; letter-spacing: 0.04em; margin-top: 48px; }

.formula {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 96px;
  font-weight: 700;
  font-family: 'Newsreader', serif;
  letter-spacing: -0.01em;
  line-height: 1.4;
  gap: 32px;
}
.formula__frac { display: inline-flex; flex-direction: column; align-items: center; gap: 16px; }
.formula__top, .formula__bot { padding: 0 24px; }
.formula__top { border-bottom: 4px solid var(--ink); padding-bottom: 16px; }
.formula__op { color: var(--accent); font-weight: 800; padding: 0 16px; }

.three-up {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  align-items: stretch;
}
.three-up__cell {
  border-top: 4px solid var(--rule);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.three-up__cell--accent { border-top-color: var(--accent); }
.three-up__num { font-family: 'JetBrains Mono', monospace; font-size: 22px; color: var(--ink-mute); letter-spacing: 0.1em; }
.three-up__title { font-size: 56px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.05; }
.three-up__body { font-size: 26px; color: var(--ink-dim); line-height: 1.35; }

/* Rotation mix — the five content types across one week (Module 06) */
.mix { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 18px; }
.mix__row { display: flex; align-items: center; gap: 28px; background: var(--bg-2); border-left: 5px solid var(--rule); padding: 15px 34px; }
.mix__row--accent { border-left-color: var(--accent); }
.mix__idx { font-family: 'JetBrains Mono', monospace; font-size: 22px; color: var(--ink-mute); width: 34px; flex: none; }
.mix__type { font-size: 40px; font-weight: 800; letter-spacing: -0.015em; color: var(--ink); width: 320px; flex: none; }
.mix__row--accent .mix__type { color: var(--accent); }
.mix__desc { font-size: 25px; color: var(--ink-dim); line-height: 1.3; flex: 1; }
.mix__cadence { font-family: 'JetBrains Mono', monospace; font-size: 21px; color: var(--gold); text-align: right; width: 270px; flex: none; letter-spacing: 0.03em; }

/* ---------- STAGES — the Street → Doorstep → Kitchen Table content funnel ----------
 * Three panels, left→right = colder/further → warmer/closer to the booked call.
 * Border + icon warm rule → gold → accent to encode the walk without arrows.
 * The spine of Module 04; reused wherever content is placed by funnel stage.
 */
.stages { display: flex; align-items: stretch; gap: 22px; width: 100%; }
.stages__stage {
  flex: 1; position: relative;
  background: var(--bg-2);
  border-top: 5px solid var(--rule);
  padding: 34px 36px 36px;
  display: flex; flex-direction: column; gap: 13px;
}
.stages__stage--warm { border-top-color: var(--gold); }
.stages__stage--hot  { border-top-color: var(--accent); }
.stages__icon { width: 44px; height: 44px; color: var(--ink-mute); margin-bottom: 2px; }
.stages__stage--warm .stages__icon { color: var(--gold); }
.stages__stage--hot  .stages__icon { color: var(--accent); }
.stages__icon svg { width: 100%; height: 100%; display: block; }
.stages__temp {
  font-family: 'JetBrains Mono', monospace;
  font-size: 19px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute);
}
.stages__stage--warm .stages__temp { color: var(--gold); }
.stages__stage--hot  .stages__temp { color: var(--accent); }
.stages__place { font-size: 58px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.stages__who { font-size: 25px; color: var(--ink-dim); line-height: 1.3; }
.stages__job { font-size: 27px; font-weight: 600; color: var(--ink); line-height: 1.26; letter-spacing: -0.01em; }
.stages__job b { color: var(--accent); font-weight: 800; }
.stages__sounds {
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--rule);
  font-family: 'Newsreader', serif; font-style: italic;
  font-size: 23px; color: var(--ink-dim); line-height: 1.3;
}

/* Gold variant of the pill — used for the Doorstep / consideration stage */
.pillbox--gold { border-color: var(--gold); color: var(--gold); }

.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
.two-up__cell { display: flex; flex-direction: column; gap: 24px; }

.vs-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: center;
  font-size: 64px;
  font-weight: 700;
}
.vs-row__vs { font-family: 'JetBrains Mono', monospace; font-size: 32px; color: var(--ink-mute); letter-spacing: 0.16em; }
.vs-row__bad { color: var(--bad); }
.vs-row__good { color: var(--good); }

/* ---------- COVER VARIANT ---------- */
.slide--cover { background: var(--bg); }
.slide--cover .cover__module { font-family: 'JetBrains Mono', monospace; font-size: 28px; color: var(--accent); letter-spacing: 0.4em; text-transform: uppercase; }
.slide--cover .cover__title { font-size: 220px; font-weight: 900; line-height: 0.88; letter-spacing: -0.045em; }
.slide--cover .cover__promise { font-family: 'Newsreader', serif; font-style: italic; font-size: 44px; color: var(--ink-dim); max-width: 1300px; line-height: 1.3; margin-top: 32px; }
/* Runtime line: pinned to the empty bottom-right corner (covers have no
   .slide__num there), so it never collides with the bottom-left brand badge. */
.slide--cover .cover__bottom {
  position: absolute;
  inset: auto 96px 56px auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  color: var(--ink-mute);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- BRIDGE VARIANT (end of module) ---------- */
.slide--bridge { background: var(--bg); }
.slide--bridge .bridge__next { font-family: 'JetBrains Mono', monospace; font-size: 22px; color: var(--accent); letter-spacing: 0.32em; text-transform: uppercase; }
.slide--bridge .bridge__hook { font-family: 'Newsreader', serif; font-size: 120px; font-weight: 400; font-style: italic; line-height: 1.04; letter-spacing: -0.02em; max-width: 1500px; }

/* ---------- STAT BLOCK (full-bleed big-number slide) ---------- */
.bignum { font-size: 600px; font-weight: 900; line-height: 0.82; letter-spacing: -0.06em; color: var(--accent); }
.bignum--white { color: var(--ink); }
.bignum--gold { color: var(--gold); }
/* For longer strings (dollar amounts, multi-char) — still huge, but fits the canvas */
.bignum--md { font-size: 380px; line-height: 0.86; letter-spacing: -0.05em; }
/* Subscript suffix like "/mo" that follows a big number — readable but secondary */
.bignum__suffix {
  font-size: 64px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-dim);
  vertical-align: 0.55em;
  margin-left: 0.02em;
  display: inline-block;
}

/* ---------- SVG INFOGRAPHICS ----------
 * Editorial line-drawn icons & diagrams. Single accent color, geometric.
 * 2.5px stroke. SVGs inherit currentColor — set color on the wrapper.
 */
.svg-mark {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  color: var(--accent);
}
.svg-mark--lg { width: 200px; height: 200px; }
.svg-mark--xl { width: 320px; height: 320px; }
.svg-mark--dim { color: var(--ink-dim); }
.svg-mark--ink { color: var(--ink); }
.svg-mark--bad { color: var(--bad); }
.svg-mark--gold { color: var(--gold); }
.svg-mark svg { width: 100%; height: 100%; display: block; }
.svg-mark svg * {
  vector-effect: non-scaling-stroke;
}

/* Hero figure — big SVG used as a primary visual element */
.figure-hero {
  width: 520px;
  height: 520px;
  color: var(--accent);
  flex-shrink: 0;
}
.figure-hero svg { width: 100%; height: 100%; display: block; }
.figure-hero--ink { color: var(--ink); }
.figure-hero--gold { color: var(--gold); }

/* Side-by-side layout: text + figure */
.split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 96px;
  align-items: center;
  width: 100%;
}
.split--left { grid-template-columns: auto 1fr; }
.split__text { display: flex; flex-direction: column; gap: 32px; }

/* Stamp — a single SVG positioned in a corner of the slide as decoration */
.slide__stamp {
  position: absolute;
  bottom: 56px;
  right: 250px;
  width: 64px;
  height: 64px;
  color: var(--rule);
  opacity: 0.7;
}
.slide__stamp svg { width: 100%; height: 100%; display: block; }

/* Inline icon — small icon used next to a kicker */
.kicker-icon {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: -8px;
}
.kicker-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

/* Six-up grid for intent doorways / similar */
.six-up {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 48px;
  width: 100%;
}
.six-up__cell {
  border-top: 3px solid var(--rule);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.six-up__cell--accent { border-top-color: var(--accent); }
.six-up__icon {
  width: 96px;
  height: 96px;
  color: var(--accent);
  margin-bottom: 8px;
}
.six-up__icon svg { width: 100%; height: 100%; display: block; }
.six-up__num { font-family: 'JetBrains Mono', monospace; font-size: 18px; color: var(--ink-mute); letter-spacing: 0.1em; }
.six-up__title { font-size: 42px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.05; }
.six-up__body { font-size: 20px; color: var(--ink-dim); line-height: 1.4; }

/* Funnel diagram */
.funnel { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; }
.funnel__band {
  border: 2px solid var(--rule);
  padding: 24px 48px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 20px;
  color: var(--ink-dim);
  text-align: center;
}
.funnel__band--accent { border-color: var(--accent); color: var(--accent); }
.funnel__arrow { color: var(--ink-mute); font-size: 32px; line-height: 1; }

/* ---------- PYRAMID / INVERTED PYRAMID ----------
 * True clip-path trapezoid tiers. Each tier sets --top / --bot inset %
 * (the horizontal inset of its top and bottom edges). Decreasing insets
 * top→bottom = pyramid (wide base). Increasing = inverted (funnel).
 * Slopes stay aligned because adjacent edges share an inset value.
 */
.pyramid { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.pyramid__tier {
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--bg-2);
  clip-path: polygon(var(--top) 0, calc(100% - var(--top)) 0, calc(100% - var(--bot)) 100%, var(--bot) 100%);
  text-align: center;
}
.pyramid__tier--accent { background: var(--accent); }
.pyramid__tier--gold   { background: var(--gold); }
.pyramid__tier--ghost  { background: var(--bg-3); }
.pyramid__rank {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}
.pyramid__tier--accent .pyramid__rank,
.pyramid__tier--accent .pyramid__name { color: var(--bg); }
.pyramid__name { font-size: 40px; font-weight: 800; letter-spacing: -0.015em; line-height: 1; }
.pyramid__tier--ghost .pyramid__name { color: var(--ink-dim); }

/* Numbered legend that sits beside a pyramid (in a .split) */
.legend { display: flex; flex-direction: column; gap: 22px; }
.legend__row { display: grid; grid-template-columns: 64px 1fr; gap: 24px; align-items: baseline; }
.legend__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 30px; font-weight: 500; color: var(--accent);
}
.legend__name { font-size: 38px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.05; }
.legend__desc { font-size: 24px; color: var(--ink-dim); line-height: 1.35; margin-top: 4px; }

/* ---------- STEPS (ascending ladder) ---------- */
.steps { display: flex; align-items: flex-end; gap: 16px; width: 100%; }
.steps__step {
  flex: 1;
  background: var(--bg-2);
  border-top: 4px solid var(--rule);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  padding: 28px 24px;
}
.steps__step--accent { border-top-color: var(--accent); }
.steps__n { font-family: 'JetBrains Mono', monospace; font-size: 20px; color: var(--ink-mute); letter-spacing: 0.1em; }
.steps__label { font-size: 34px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.05; }
.steps__sub { font-size: 21px; color: var(--ink-dim); line-height: 1.3; }

/* ---------- RATE GAUGE (instrument bar w/ threshold) ---------- */
.gauge { display: flex; flex-direction: column; gap: 38px; width: 100%; }
.gauge__head { display: flex; align-items: baseline; justify-content: space-between; }
.gauge__title { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; }
.gauge__read { font-family: 'Inter', sans-serif; font-weight: 900; font-size: 96px; line-height: 0.85; letter-spacing: -0.04em; color: var(--accent); }
.gauge__track {
  position: relative;
  height: 56px;
  background: var(--bg-2);
  border: 2px solid var(--rule);
}
.gauge__fill { position: absolute; inset: 0 auto 0 0; width: var(--val); background: var(--accent); opacity: 0.85; }
.gauge__fill--bad { background: var(--bad); }
.gauge__thr {
  position: absolute; top: -14px; bottom: -14px; left: var(--thr);
  width: 0; border-left: 3px dashed var(--ink);
}
.gauge__thr-label {
  position: absolute; left: var(--thr); top: -32px; transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace; font-size: 19px; color: var(--gold);
  letter-spacing: 0.08em; white-space: nowrap;
}
.gauge__foot { font-size: 24px; color: var(--ink-dim); line-height: 1.35; }

/* ---------- 2×2 MATRIX ---------- */
.matrix { position: relative; width: 100%; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; }
.matrix__q {
  background: var(--bg-2);
  padding: 36px;
  min-height: 240px;
  display: flex; flex-direction: column; gap: 12px; justify-content: center;
}
.matrix__q--accent { background: var(--bg-3); box-shadow: inset 0 0 0 3px var(--accent); }
.matrix__q-title { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.02; }
.matrix__q-body { font-size: 23px; color: var(--ink-dim); line-height: 1.35; }
.matrix__axis-x, .matrix__axis-y {
  font-family: 'JetBrains Mono', monospace; font-size: 19px; color: var(--ink-mute);
  letter-spacing: 0.16em; text-transform: uppercase;
}
.matrix__axis-x { text-align: center; margin-top: 20px; }
.matrix__axis-y { writing-mode: vertical-rl; transform: rotate(180deg); position: absolute; left: -52px; top: 0; height: 100%; display: flex; align-items: center; }

/* ---------- SECTION-BREAK SLIDE (ghost numeral) ---------- */
.slide--section { background: var(--bg); }
.ghostnum {
  position: absolute;
  font-family: 'Inter', sans-serif; font-weight: 900;
  font-size: 1100px; line-height: 1;
  color: #1b242c;
  right: -40px; bottom: -240px;
  letter-spacing: -0.06em;
  pointer-events: none;
  user-select: none;
}
.slide--section .center { position: relative; z-index: 1; }

/* ---------- FLOW ROW (a → b → c pipeline) ---------- */
.flow { display: flex; align-items: stretch; gap: 0; width: 100%; }
.flow__node {
  flex: 1;
  background: var(--bg-2);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 10px; justify-content: center;
  border-top: 4px solid var(--rule);
}
.flow__node--accent { border-top-color: var(--accent); }
.flow__n { font-family: 'JetBrains Mono', monospace; font-size: 18px; color: var(--ink-mute); letter-spacing: 0.1em; }
.flow__label { font-size: 32px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.05; }
.flow__sub { font-size: 20px; color: var(--ink-dim); line-height: 1.3; }
.flow__arrow { display: flex; align-items: center; padding: 0 18px; color: var(--accent); font-size: 40px; font-weight: 700; }

/* ---------- PRINT (PDF export — one slide per page) ---------- */
@media print {
  @page { size: 1920px 1080px; margin: 0; }
  html, body { background: var(--bg); }
  .slide { width: 1920px; height: 1080px; page-break-after: always; box-shadow: none; }
  .deck { display: block; }
}

/* ---------- SCREEN (deck navigation) ---------- */
@media screen {
  body { background: #07090b; }
  .deck {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 32px 0;
  }
  .slide {
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
    transform-origin: top center;
    /* Slides at 1920×1080 in their own box; the page lays them out */
  }
  /* Auto-fit on smaller screens */
  @media (max-width: 2100px) {
    .deck { transform-origin: top center; }
    .slide { zoom: 0.5; }
  }
  @media (max-width: 1100px) {
    .slide { zoom: 0.3; }
  }
}
