/* ============================================================================
   FROM VIBES TO ENGINEERING — themed after SIMON SEES
   Neon computer-vision game-show aesthetic ported to reveal.js.
   Electric mint (#2ff3c8) vs hot coral (#ff2e74), gold accents, scanlines + grain.
   Futura/Avenir Next Condensed for impact, Menlo for the HUD readouts.
   ========================================================================== */

:root {
  /* ---------- Simon Sees palette ---------- */
  --background-color: #04060c;
  --section-divider-bg: #04060c;
  --bg: #04060c;
  --panel: rgba(13, 19, 33, 0.72);
  --line-color: rgba(120, 200, 255, 0.18);

  --team: #2ff3c8;       /* electric mint — the room */
  --team-deep: #0a9d8a;
  --rival: #ff2e74;      /* hot coral — the rival */
  --rival-deep: #b30b4a;
  --gold: #ffd54a;
  --ink: #eaf3ff;
  --muted-color: #6f80a6;

  --primary-color: var(--team);
  --secondary-color: var(--rival);
  --text-color: var(--ink);

  /* ---------- Typography ---------- */
  --heading-font: "Futura", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif;
  --body-font: "Menlo", "SFMono-Regular", ui-monospace, monospace;
  --base-font-size: 28px;
  --text-size: 15pt;
  --h1-size: 48pt;
  --h2-size: 32pt;
  --h3-size: 20pt;
  --footnote-size: 10pt;

  /* ---------- Layout ---------- */
  --slide-padding: 40px;
  --slide-padding-top: 36px;
  --content-gap: 24px;
  --box-radius: 0;        /* sharp surveillance corners */
}

/* Spanish strings run ~15% longer than English — slightly tighter body text
   so the dense card / table slides stay legible without overflow. */
html[lang="es"] {
  --text-size: 14pt;
  --footnote-size: 9.5pt;
}
html[lang="es"] .cat-card,
html[lang="es"] .prim,
html[lang="es"] .matrix.tools,
html[lang="es"] .matrix.tools td,
html[lang="es"] .matrix.tools th {
  font-size: 0.92em;
  line-height: 1.4;
}

/* ============================================================================
   BASE OVERRIDES
   ========================================================================== */

.reveal {
  font-family: var(--body-font);
  font-size: var(--base-font-size);
  color: var(--ink);
}

.reveal strong, .reveal b { font-weight: 700; color: var(--ink); }

.reveal-viewport {
  background-color: var(--bg);
}

.reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6 {
  font-family: var(--heading-font);
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: 0.02em;
}
.reveal h1 { font-size: var(--h1-size); }
.reveal h2 {
  font-size: var(--h2-size);
  margin-bottom: 0;
  color: var(--team);
  text-shadow: 0 0 22px rgba(47, 243, 200, 0.35);
}
.reveal h3 { font-size: var(--h3-size); color: var(--ink); }

.reveal p, .reveal li, .reveal td, .reveal th, .reveal blockquote {
  font-size: var(--text-size);
  color: var(--ink);
  line-height: 1.55;
}

/* ============================================================================
   ATMOSPHERE — scanlines, vignette, targeting grid, recording badge
   ========================================================================== */

.reveal::before,
.reveal::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
}
.reveal::before {
  /* scanlines */
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0px,
    rgba(0, 0, 0, 0) 2px,
    rgba(0, 0, 0, 0.22) 3px,
    rgba(0, 0, 0, 0) 4px
  );
  mix-blend-mode: multiply;
  opacity: 0.45;
}
.reveal::after {
  /* vignette + faint targeting grid */
  background:
    radial-gradient(120% 90% at 50% 35%, transparent 55%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(0deg, rgba(120, 200, 255, 0.04) 1px, transparent 1px) 0 0 / 100% 42px,
    linear-gradient(90deg, rgba(120, 200, 255, 0.04) 1px, transparent 1px) 0 0 / 42px 100%;
}

/* recording badge — top-right of the viewport, surveillance vibe */
.reveal-viewport::after {
  content: "● REC";
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 60;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 30, 60, 0.18);
  color: #ff4d6d;
  border: 1px solid #ff4d6d;
  font-family: var(--body-font);
  font-size: 11pt;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: rec-pulse 1.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes rec-pulse {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 1; box-shadow: 0 0 16px rgba(255, 77, 109, 0.55); }
}

/* ============================================================================
   SLIDE FRAME — every slide is a viewport with reticle brackets
   ========================================================================== */

.reveal .slides section {
  height: 100%;
  display: flex !important;
  flex-direction: column !important;
  padding: var(--slide-padding-top) var(--slide-padding) var(--slide-padding) var(--slide-padding) !important;
  box-sizing: border-box;
  text-align: left;
  background:
    radial-gradient(80% 50% at 50% -10%, rgba(47, 243, 200, 0.08), transparent 60%),
    radial-gradient(80% 60% at 50% 120%, rgba(255, 46, 116, 0.07), transparent 60%);
}

.reveal .slides section.stack { padding: 0 !important; background: none; }

/* content area */
.reveal .slides section > .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: var(--content-gap);
  text-align: left;
  gap: 18px;
}

/* footnote / readout */
.reveal .slides section > .footnote {
  position: absolute;
  bottom: 28px;
  left: var(--slide-padding);
  right: var(--slide-padding);
  font-size: var(--footnote-size);
  color: var(--muted-color);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ============================================================================
   SECTION DIVIDERS — like Simon Sees title cards
   ========================================================================== */

.reveal .slides section.section-divider {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center;
  gap: 24px;
}

.reveal .slides section.section-divider h1 {
  font-size: 96pt;
  line-height: 0.88;
  text-align: center;
  background: linear-gradient(180deg, var(--ink), var(--team));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px rgba(47, 243, 200, 0.25);
  max-width: 90%;
}

.reveal .slides section.section-divider p {
  font-size: 18pt;
  font-family: var(--body-font);
  color: var(--muted-color);
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

/* Secondary headline — sits between h1 and the muted kicker/subtitle.
   Use sparingly; only the title slide needs it today. */
.reveal .slides section.section-divider p.h-sub {
  font-size: 40pt;
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--team);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(47, 243, 200, 0.35);
  margin-top: -4px;
}

/* ============================================================================
   HUD COMPONENTS — borrowed from Simon Sees layout
   ========================================================================== */

/* `.hud-row` — a top strip showing team vs rival labels and scores */
.hud-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-color);
  margin-bottom: 12px;
  font-family: var(--heading-font);
  letter-spacing: 0.06em;
}
.hud-row .hud-side { display: flex; flex-direction: column; gap: 6px; }
.hud-row .hud-side.rival { align-items: flex-end; }
.hud-row .hud-label {
  font-size: 12pt;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.hud-row .team .hud-label { color: var(--team); }
.hud-row .rival .hud-label { color: var(--rival); }
.hud-row .hud-score {
  font-family: var(--body-font);
  font-size: 28pt;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 0.9;
}
.hud-row .team .hud-score {
  color: var(--team);
  text-shadow: 0 0 18px rgba(47, 243, 200, 0.55);
}
.hud-row .rival .hud-score {
  color: var(--rival);
  text-shadow: 0 0 18px rgba(255, 46, 116, 0.5);
}
.hud-row .round-chip {
  font-family: var(--body-font);
  font-size: 11pt;
  letter-spacing: 0.22em;
  color: var(--muted-color);
  text-align: center;
  white-space: nowrap;
  border: 1px solid var(--line-color);
  padding: 0.5em 1em;
  text-transform: uppercase;
}
.hud-row .round-chip b { color: var(--ink); }

/* meter bars — used as visual indicators for "budget", "confidence", etc. */
.bar {
  width: 100%;
  height: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-color);
  overflow: hidden;
  position: relative;
}
.bar-fill { height: 100%; }
.bar-fill.team {
  background: linear-gradient(90deg, var(--team-deep), var(--team));
  box-shadow: 0 0 14px rgba(47, 243, 200, 0.6);
}
.bar-fill.rival {
  background: linear-gradient(90deg, var(--rival-deep), var(--rival));
  box-shadow: 0 0 14px rgba(255, 46, 116, 0.55);
}
.bar-fill.gold {
  background: linear-gradient(90deg, #b88a10, var(--gold));
  box-shadow: 0 0 14px rgba(255, 213, 74, 0.55);
}

/* kicker — small uppercase tag above a headline */
.kicker {
  font-family: var(--body-font);
  font-size: 13pt;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted-color);
  margin-bottom: 0.6rem;
}
.kicker.simon { color: var(--team); }
.kicker.feint { color: var(--rival); }
.kicker.gold  { color: var(--gold); }

/* concept — the big game-show word treatment */
.concept {
  font-family: var(--heading-font);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 56pt;
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.concept.team  { color: var(--team);  text-shadow: 0 0 28px rgba(47, 243, 200, 0.45); }
.concept.rival { color: var(--rival); text-shadow: 0 0 28px rgba(255, 46, 116, 0.45); }
.concept.gold  { color: var(--gold);  text-shadow: 0 0 28px rgba(255, 213, 74, 0.45); }

/* readout — HUD-style label strip */
.readout {
  font-family: var(--body-font);
  font-size: 12pt;
  letter-spacing: 0.16em;
  color: var(--ink);
  background: rgba(2, 4, 10, 0.7);
  border: 1px solid var(--line-color);
  padding: 0.4em 1em;
  display: inline-block;
  text-transform: uppercase;
}

/* host transmission — the "host is speaking" bar */
.host {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line-color);
  background: var(--panel);
  backdrop-filter: blur(8px);
  padding: 16px 22px;
  min-height: 4.2rem;
}
.host-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--rival);
  box-shadow: 0 0 10px var(--rival);
  animation: blink 1.2s steps(1) infinite;
  flex: none;
}
@keyframes blink { 50% { opacity: 0.25; } }
.host-line {
  font-family: var(--body-font);
  font-size: 16pt;
  letter-spacing: 0.01em;
  color: var(--ink);
  flex: 1;
}
.host-line .prompt { color: var(--team); }
.host-phase {
  font-family: var(--body-font);
  font-size: 11pt;
  letter-spacing: 0.22em;
  color: var(--muted-color);
  text-transform: uppercase;
  white-space: nowrap;
}

/* panel — a generic bordered HUD container */
.panel {
  border: 1px solid var(--line-color);
  background: var(--panel);
  padding: 22px 26px;
}
.panel.team  { border-color: rgba(47, 243, 200, 0.45); box-shadow: 0 0 24px rgba(47, 243, 200, 0.15) inset; }
.panel.rival { border-color: rgba(255, 46, 116, 0.45); box-shadow: 0 0 24px rgba(255, 46, 116, 0.15) inset; }
.panel.gold  { border-color: rgba(255, 213, 74, 0.45); box-shadow: 0 0 24px rgba(255, 213, 74, 0.15) inset; }

.panel-label {
  font-family: var(--body-font);
  font-size: 11pt;
  letter-spacing: 0.28em;
  color: var(--muted-color);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.panel.team  .panel-label { color: var(--team); }
.panel.rival .panel-label { color: var(--rival); }
.panel.gold  .panel-label { color: var(--gold); }

/* ============================================================================
   THE GATES — four numbered "judge cards" in a 2x2 grid, plus a grade ribbon.
   Each card carries a big faint gate numeral, reticle corner brackets, and a
   top accent rule in its own color. Scoped to #gates so nothing else shifts.
   ========================================================================== */
#gates .gates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

#gates .gate-card {
  position: relative;
  overflow: hidden;
  padding-top: 26px;
}

/* top accent rule — the card's color, fading out to the right */
#gates .gate-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, currentColor, transparent 85%);
  opacity: 0.9;
}
#gates .panel.team.gate-card  { color: var(--team); }
#gates .panel.rival.gate-card { color: var(--rival); }
#gates .panel.gold.gate-card  { color: var(--gold); }
#gates .panel.gate-card:not(.team):not(.rival):not(.gold) { color: rgba(120, 200, 255, 0.7); }
/* keep body copy readable — only the accents inherit the card color */
#gates .gate-card p { color: var(--ink); }

/* big watermark gate number, top-right, sitting behind the text */
#gates .gate-no {
  position: absolute;
  top: 2px; right: 14px;
  font-family: var(--heading-font);
  font-size: 58pt;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: currentColor;
  opacity: 0.14;
  pointer-events: none;
  user-select: none;
}

/* reticle corner bracket, bottom-right — surveillance HUD detail */
#gates .gate-card::after {
  content: "";
  position: absolute;
  bottom: 10px; right: 10px;
  width: 14px; height: 14px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.45;
}

/* the A+ -> F grade ribbon under the readout */
#gates .gates-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 4px;
}
#gates .gates-footer .readout { margin: 0; flex: 1; }

#gates .grade-scale {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
#gates .grade {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 17pt;
  line-height: 1;
  padding: 8px 12px;
  border: 1px solid currentColor;
  color: var(--ink);
  background: rgba(13, 19, 33, 0.5);
}
/* mint (good) -> gold (middle) -> coral (fail) */
#gates .grade.g-ap { color: var(--team); box-shadow: 0 0 16px rgba(47, 243, 200, 0.35) inset; }
#gates .grade.g-a  { color: var(--team); }
#gates .grade.g-b  { color: #aee7c4; }
#gates .grade.g-c  { color: var(--gold); }
#gates .grade.g-d  { color: #ff8a5c; }
#gates .grade.g-f  { color: var(--rival); box-shadow: 0 0 16px rgba(255, 46, 116, 0.35) inset; }

/* matrix.prim — the primitives comparison table. One row per primitive, with a
   colored name as the row header and What / Fires / Key columns. Table layout
   keeps every row the same height across columns — no more ragged panels. */
.matrix.prim { font-size: 14.5pt; margin-top: 10px; }
.matrix.prim th,
.matrix.prim td {
  text-align: left;
  vertical-align: top;
  padding: 18px 18px;
  line-height: 1.45;
}
.matrix.prim thead th {
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 9.5pt;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-color);
  background: rgba(120, 200, 255, 0.06);
  white-space: nowrap;
}
/* row-header: the primitive name, accent-colored per row */
.matrix.prim tbody th {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 17pt;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  background: rgba(120, 200, 255, 0.04);
}
.matrix.prim tbody td { color: var(--ink); }
.matrix.prim code { font-size: 0.9em; }
/* the "Key point" cell leads with a small accent tag (Owner / Trait / Use) */
.matrix.prim td b {
  display: inline-block;
  margin-right: 8px;
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 9pt;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-color);
}
/* per-row accent — name cell + a left edge that reads as the team/rival/gold key */
.matrix.prim tr.row-team  th:first-child { color: var(--team);  box-shadow: inset 3px 0 0 var(--team); }
.matrix.prim tr.row-rival th:first-child { color: var(--rival); box-shadow: inset 3px 0 0 var(--rival); }
.matrix.prim tr.row-gold  th:first-child { color: var(--gold);  box-shadow: inset 3px 0 0 var(--gold); }
.matrix.prim tr.row-team  td b { color: var(--team); }
.matrix.prim tr.row-rival td b { color: var(--rival); }
.matrix.prim tr.row-gold  td b { color: var(--gold); }
html[lang="es"] .matrix.prim { font-size: 13pt; }
html[lang="es"] .matrix.prim tbody th { font-size: 15pt; }
html[lang="es"] .matrix.prim thead th { letter-spacing: 0.14em; }

/* delta — floating +/- score chip */
.delta {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 36pt;
}
.delta.pos { color: var(--team);  text-shadow: 0 0 28px rgba(47, 243, 200, 0.7); }
.delta.neg { color: var(--rival); text-shadow: 0 0 28px rgba(255, 46, 116, 0.7); }

/* ============================================================================
   CYNEFIN GRID — 2x2 with center "disorder" node
   ========================================================================== */

.cynefin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  position: relative;
}
.cynefin .quad {
  border: 1px solid var(--line-color);
  background: rgba(2, 4, 10, 0.55);
  padding: 14px 18px;
  position: relative;
}
.cynefin .quad .domain {
  font-family: var(--heading-font);
  font-size: 18pt;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.cynefin .quad .approach {
  font-family: var(--body-font);
  font-size: 10pt;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-color);
  margin-bottom: 6px;
}
.cynefin .quad .practice {
  font-family: var(--body-font);
  font-size: 11pt;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.cynefin .quad.complex {
  background:
    radial-gradient(80% 60% at 30% 30%, rgba(47, 243, 200, 0.18), transparent 70%),
    rgba(47, 243, 200, 0.06);
  border-color: rgba(47, 243, 200, 0.55);
  box-shadow: 0 0 28px rgba(47, 243, 200, 0.18) inset;
}
.cynefin .quad.complex .domain { color: var(--team); }
.cynefin .quad.complicated .domain { color: #87b3ff; }
.cynefin .quad.chaotic .domain    { color: #ff9050; }
.cynefin .quad.clear .domain      { color: #9ce374; }
.cynefin .center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--body-font);
  font-size: 9pt;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted-color);
  background: var(--bg);
  padding: 4px 12px;
  border: 1px dashed var(--line-color);
  border-radius: 2px;
  z-index: 2;
  white-space: nowrap;
}

/* ============================================================================
   STICKY NOTES — pre-mortem column board
   ========================================================================== */

.stickyboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.stickyboard .col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stickyboard .col-label {
  font-family: var(--body-font);
  font-size: 10pt;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-color);
  text-align: center;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-color);
}
.stickyboard .col.top-ten .col-label { color: var(--rival); }
.sticky {
  background: linear-gradient(180deg, #fff8b8, #ffd54a);
  color: #1a1500;
  padding: 10px 12px;
  font-family: "Marker Felt", "Comic Sans MS", "Bradley Hand", cursive;
  font-size: 11pt;
  line-height: 1.25;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.45);
  transform: rotate(-1.4deg);
  position: relative;
}
.sticky:nth-child(2) { transform: rotate(1.2deg); }
.sticky:nth-child(3) { transform: rotate(-0.7deg); }
.sticky.coral { background: linear-gradient(180deg, #ffd2db, #ff8aa3); color: #2a0008; }
.sticky.mint  { background: linear-gradient(180deg, #c8fff0, #2ff3c8); color: #002a20; }

/* ============================================================================
   MATURITY LADDER — stacked rungs, increasing intensity
   ========================================================================== */

.ladder {
  display: flex;
  flex-direction: column-reverse;   /* lowest rung at bottom visually */
  gap: 8px;
}
.rung {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  border: 1px solid var(--line-color);
  background: rgba(2, 4, 10, 0.55);
  position: relative;
}
.rung .lvl {
  font-family: var(--heading-font);
  font-size: 22pt;
  font-weight: 800;
  color: var(--muted-color);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.rung .name {
  font-family: var(--heading-font);
  font-size: 18pt;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.rung .tagline {
  font-family: var(--body-font);
  font-size: 10pt;
  letter-spacing: 0.06em;
  color: var(--muted-color);
  text-align: right;
  max-width: 40%;
}
.rung.r1 { border-color: rgba(255, 46, 116, 0.35); }
.rung.r1 .name { color: #ff8a9f; }
.rung.r2 { border-color: rgba(255, 144, 80, 0.35); }
.rung.r2 .name { color: #ffb080; }
.rung.r3 { border-color: rgba(255, 213, 74, 0.35); }
.rung.r3 .name { color: var(--gold); }
.rung.r4 { border-color: rgba(135, 179, 255, 0.45); }
.rung.r4 .name { color: #87b3ff; }
.rung.r5 {
  border-color: rgba(47, 243, 200, 0.6);
  background:
    radial-gradient(60% 90% at 20% 50%, rgba(47, 243, 200, 0.15), transparent 70%),
    rgba(47, 243, 200, 0.05);
  box-shadow: 0 0 28px rgba(47, 243, 200, 0.15) inset;
}
.rung.r5 .name { color: var(--team); text-shadow: 0 0 16px rgba(47, 243, 200, 0.55); }

/* ============================================================================
   BRANCHING OUTPUTS — one prompt → N divergent outputs
   ========================================================================== */

.branch {
  display: grid;
  grid-template-columns: 220px 60px 1fr;
  gap: 14px;
  align-items: center;
}
.branch .src {
  border: 1px solid var(--line-color);
  background: rgba(2, 4, 10, 0.65);
  padding: 18px 14px;
  text-align: center;
  font-family: var(--body-font);
}
.branch .src .src-label {
  font-size: 9pt;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-color);
  margin-bottom: 6px;
}
.branch .src .src-body {
  font-family: var(--heading-font);
  font-size: 14pt;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.branch .arrows {
  font-family: var(--body-font);
  font-size: 26pt;
  color: var(--team);
  text-shadow: 0 0 12px rgba(47, 243, 200, 0.5);
  text-align: center;
  line-height: 1.1;
  letter-spacing: 0.05em;
}
.branch .outs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.branch .outs .out {
  border: 1px solid var(--line-color);
  background: rgba(2, 4, 10, 0.55);
  padding: 6px 12px;
  font-family: var(--body-font);
  font-size: 11pt;
  letter-spacing: 0.04em;
}
.branch .outs .out.team  { border-color: rgba(47, 243, 200, 0.5); color: var(--team); }
.branch .outs .out.rival { border-color: rgba(255, 46, 116, 0.5); color: var(--rival); }
.branch .outs .out.gold  { border-color: rgba(255, 213, 74, 0.5); color: var(--gold); }
.branch .outs .out.blue  { border-color: rgba(135, 179, 255, 0.5); color: #87b3ff; }

/* ============================================================================
   TACTICS × GATES MATRIX — tabular scoring grid
   ========================================================================== */

.matrix {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--body-font);
  font-size: 12pt;
  background: rgba(2, 4, 10, 0.55);
  border: 1px solid var(--line-color);
}
.matrix th, .matrix td {
  padding: 12px 14px;
  border: 1px solid var(--line-color);
  text-align: center;
  vertical-align: middle;
}
.matrix thead th {
  font-family: var(--heading-font);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10pt;
  color: var(--ink);
  background: rgba(120, 200, 255, 0.06);
}
.matrix tbody td:first-child {
  text-align: left;
  background: rgba(120, 200, 255, 0.04);
  font-family: var(--body-font);
}
.matrix tbody td:first-child strong {
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13pt;
}
.matrix .cell {
  font-family: var(--heading-font);
  font-size: 22pt;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}
.matrix .cell.pp { color: var(--team); text-shadow: 0 0 14px rgba(47, 243, 200, 0.6); }
.matrix .cell.p  { color: #9ce374; }
.matrix .cell.eq { color: var(--gold); }
.matrix .cell.m  { color: var(--rival); text-shadow: 0 0 10px rgba(255, 46, 116, 0.55); }

/* tools-gallery variant — leading tool+url column, trailing "when" column */
.matrix.tools { font-size: 11pt; }
.matrix.tools th, .matrix.tools td { padding: 8px 12px; }
.matrix.tools tbody td:first-child {
  background: rgba(120, 200, 255, 0.05);
  font-size: 12pt;
  text-align: left;
  min-width: 240px;
}
.matrix.tools tbody td:first-child a {
  color: var(--ink);
  text-decoration: none;
}
.matrix.tools tbody td:first-child a:hover {
  color: var(--team);
  text-decoration: underline;
}
.matrix.tools tbody td:first-child .url {
  display: block;
  font-size: 9pt;
  letter-spacing: 0.04em;
  color: var(--muted-color);
  margin-top: 2px;
  text-transform: lowercase;
}
.matrix.tools tbody td:last-child {
  text-align: left;
  background: rgba(2, 4, 10, 0.4);
  font-size: 10.5pt;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.matrix.tools .cell { font-size: 16pt; }

/* category overview cards (top of vertical stack) */
.cat-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.cat-card {
  border: 1px solid var(--line-color);
  background: rgba(2, 4, 10, 0.55);
  padding: 14px 20px;
}
.cat-card .cat-label {
  font-family: var(--body-font);
  font-size: 10pt;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-color);
}
.cat-card .cat-name {
  font-family: var(--heading-font);
  font-size: 22pt;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--team);
  margin-top: 4px;
  text-shadow: 0 0 14px rgba(47, 243, 200, 0.4);
}
.cat-card .cat-tools {
  font-family: var(--body-font);
  font-size: 10.5pt;
  color: var(--ink);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

/* The scoring-examples overview packs the readout + all 7 step cards + footnote
   into a fixed 720px slide. Spanish strings run longer and pushed the full-width
   "Step 7" card down into the absolutely-positioned footnote. Compact this slide's
   cards (and tighten the content gap) so the grid clears the footnote. */
.reveal .slides section#scoring-examples > .content {
  gap: 8px !important;
  padding-top: 10px;
}
.reveal .slides section#scoring-examples .readout {
  padding: 6px 16px !important;
}
.reveal .slides section#scoring-examples .cat-cards {
  gap: 10px;
}
.reveal .slides section#scoring-examples .cat-card {
  padding: 9px 18px;
}
.reveal .slides section#scoring-examples .cat-card .cat-name {
  font-size: 19pt;
  margin-top: 2px;
}
.reveal .slides section#scoring-examples .cat-card .cat-tools {
  margin-top: 3px;
}

/* worked-example score grid (used on the scoring slide for /fast) */
.scoreboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 4px 0;
}
.scoreboard .gate {
  border: 1px solid var(--line-color);
  background: rgba(2, 4, 10, 0.55);
  padding: 5px 4px;
  text-align: center;
  font-family: var(--body-font);
}
.scoreboard .gate .name {
  font-size: 8.5pt;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-color);
  margin: 0 0 2px 0;
  line-height: 1;
}
.scoreboard .gate .score {
  font-family: var(--heading-font);
  font-size: 18pt;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0;
  line-height: 1;
}
.scoreboard .gate.pass .score { color: var(--team); text-shadow: 0 0 12px rgba(47, 243, 200, 0.55); }
.scoreboard .gate.fail .score { color: var(--rival); text-shadow: 0 0 12px rgba(255, 46, 116, 0.55); }
.scoreboard .gate.mid  .score { color: var(--gold); }

/* ============================================================================
   DECISION FLOWCHART — visual decision tree
   ========================================================================== */

.flow {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.flow-row {
  display: grid;
  grid-template-columns: 1fr 50px 160px;
  align-items: center;
  gap: 10px;
}
.flow-q {
  border: 1px solid var(--line-color);
  background: rgba(2, 4, 10, 0.55);
  padding: 7px 14px;
  font-family: var(--body-font);
  font-size: 11pt;
  line-height: 1.3;
  position: relative;
}
.flow-q .qnum {
  font-family: var(--heading-font);
  font-weight: 800;
  color: var(--muted-color);
  letter-spacing: 0.18em;
  font-size: 10pt;
  margin-right: 8px;
}
.flow-aside {
  color: var(--muted-color);
  font-style: italic;
  font-size: 9.5pt;
  opacity: 0.85;
}
.flow-yes {
  font-family: var(--body-font);
  font-size: 9pt;
  letter-spacing: 0.22em;
  color: var(--team);
  text-align: center;
  text-shadow: 0 0 8px rgba(47, 243, 200, 0.5);
}
.flow-primitive {
  background:
    radial-gradient(60% 100% at 0% 50%, rgba(47, 243, 200, 0.18), transparent 70%),
    rgba(2, 4, 10, 0.55);
  border: 1px solid rgba(47, 243, 200, 0.5);
  color: var(--team);
  padding: 8px 14px;
  font-family: var(--heading-font);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12pt;
  text-shadow: 0 0 10px rgba(47, 243, 200, 0.45);
  text-align: center;
  white-space: nowrap;
}
.flow-no {
  font-family: var(--body-font);
  font-size: 8pt;
  letter-spacing: 0.32em;
  color: var(--muted-color);
  /* sit under the question column so the "NO ↓" line tracks the cascade */
  width: calc(100% - 220px);
  text-align: right;
  padding-right: 14px;
}
.flow-row.fallback .flow-q {
  background: rgba(255, 213, 74, 0.06);
  border-color: rgba(255, 213, 74, 0.4);
}
.flow-row.fallback .flow-q .qnum { color: var(--gold); }
.flow-row.fallback .flow-primitive {
  background:
    radial-gradient(60% 100% at 0% 50%, rgba(255, 213, 74, 0.18), transparent 70%),
    rgba(2, 4, 10, 0.55);
  border-color: rgba(255, 213, 74, 0.55);
  color: var(--gold);
  text-shadow: 0 0 10px rgba(255, 213, 74, 0.45);
}

/* permission tiers (right column of the decision-framework slide) */
.tier-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tier {
  border: 1px solid var(--line-color);
  background: rgba(2, 4, 10, 0.55);
  padding: 8px 14px;
  font-family: var(--body-font);
  font-size: 10.5pt;
  line-height: 1.3;
}
.tier .tname {
  display: inline-block;
  min-width: 56px;
  font-family: var(--heading-font);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  font-size: 13pt;
  margin-right: 6px;
}
.tier.allow { border-color: rgba(47, 243, 200, 0.5); }
.tier.allow .tname { color: var(--team); text-shadow: 0 0 8px rgba(47, 243, 200, 0.45); }
.tier.ask   { border-color: rgba(255, 213, 74, 0.5); }
.tier.ask .tname   { color: var(--gold); text-shadow: 0 0 8px rgba(255, 213, 74, 0.45); }
.tier.deny  { border-color: rgba(255, 46, 116, 0.55); }
.tier.deny .tname  { color: var(--rival); text-shadow: 0 0 8px rgba(255, 46, 116, 0.45); }

/* ============================================================================
   IMAGE PLACEHOLDER — caricature / generated cartoons
   ========================================================================== */

.imgholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--line-color);
  background:
    repeating-linear-gradient(
      45deg,
      rgba(120, 200, 255, 0.04) 0px,
      rgba(120, 200, 255, 0.04) 8px,
      transparent 8px,
      transparent 16px
    ),
    rgba(2, 4, 10, 0.55);
  font-family: var(--body-font);
  font-size: 10pt;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-color);
  text-align: center;
  padding: 16px;
  min-height: 220px;
  position: relative;
}
.imgholder img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(47, 243, 200, 0.2));
}
.imgholder .tag {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 8pt;
  letter-spacing: 0.18em;
  color: var(--team);
  background: rgba(2, 4, 10, 0.8);
  padding: 2px 8px;
}

/* ============================================================================
   LISTS
   ========================================================================== */

.reveal ul, .reveal ol {
  list-style: none;
  padding-left: 0;
  margin: 12px 0;
}
.reveal ul li, .reveal ol li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}
.reveal ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--team);
  font-family: var(--body-font);
  text-shadow: 0 0 8px rgba(47, 243, 200, 0.55);
}
.reveal ul ul li::before { content: "·"; color: var(--muted-color); }

.reveal blockquote {
  border-left: 3px solid var(--rival);
  padding: 8px 20px;
  margin: 16px 0;
  font-style: normal;
  background: rgba(255, 46, 116, 0.06);
  width: 100%;
  max-width: none;
  color: var(--ink);
}
.reveal blockquote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  color: var(--muted-color);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11pt;
}

/* ============================================================================
   UTILITIES
   ========================================================================== */

.text-lg  { font-size: 19pt !important; }
.text-xl  { font-size: 22pt !important; }
.text-2xl { font-size: 26pt !important; }
.text-3xl { font-size: 32pt !important; }
.text-4xl { font-size: 38pt !important; }

.text-muted { color: var(--muted-color) !important; }
.text-team  { color: var(--team) !important; }
.text-rival { color: var(--rival) !important; }
.text-gold  { color: var(--gold) !important; }
.text-center { text-align: center !important; }
.text-uppercase { text-transform: uppercase; letter-spacing: 0.18em; }
.font-light { font-weight: 300; }
.font-bold  { font-weight: 700; }
.mono       { font-family: var(--body-font) !important; }
.display    { font-family: var(--heading-font) !important; }

/* progress / nav tints */
.reveal .progress { color: var(--team); height: 4px; }
.reveal .controls { color: var(--team); }

/* ============================================================================
   DENSITY OVERRIDES — 8 slides that overflowed at 720px (worse in ES because
   Spanish runs ~20–35% longer than English). Tightens panel padding, panel font
   size, content gap, blockquote size on these specific slides only. Non-dense
   slides keep the original generous typography (see the EN review pass).
   ========================================================================== */
/* `:is()` lets us list the dense slides once and apply every selector below
   to the same set, instead of writing 8-arm selector groups. The set covers
   the 8 originals + `scoring` (slide 18 — newly overflows in ES by 25px after
   a new `amplifier-impl` slide pushed the indices). */
.reveal .slides section:is(
  #amplifier, #facts-not-specs, #humans-loop, #toolbelt,
  #decision-framework, #gates, #scoring, #simon-from-facts, #transfer
) > .content {
  gap: 10px;
  padding-top: 14px;
}
/* Lighter panel padding + smaller body copy on the dense slides — keeps the
   bordered HUD look but reclaims ~80–120 vertical pixels per panel row. */
.reveal .slides section:is(
  #amplifier, #facts-not-specs, #humans-loop, #toolbelt,
  #decision-framework, #gates, #scoring, #simon-from-facts, #transfer
) .panel {
  padding: 12px 16px !important;
}
.reveal .slides section:is(
  #amplifier, #facts-not-specs, #humans-loop, #toolbelt,
  #decision-framework, #gates, #scoring, #simon-from-facts, #transfer
) .panel :is(p, li) {
  font-size: 13pt;
  line-height: 1.4;
}
.reveal .slides section:is(
  #amplifier, #facts-not-specs, #humans-loop, #toolbelt,
  #decision-framework, #gates, #scoring, #simon-from-facts, #transfer
) .panel .panel-label {
  margin-bottom: 6px;
}
/* Blockquotes (slides 8, 13) — the +1 ES line was the dominant overflow source. */
.reveal .slides section:is(#amplifier, #humans-loop) blockquote {
  margin: 4px 0 !important;
}
.reveal .slides section:is(#amplifier, #humans-loop) blockquote .text-xl {
  font-size: 17pt !important;
  line-height: 1.4 !important;
}
/* Readouts (the "▸ …" centred lines at the bottom of dense slides) — drop a hair. */
.reveal .slides section:is(
  #amplifier, #facts-not-specs, #humans-loop, #toolbelt,
  #decision-framework, #scoring, #simon-from-facts, #transfer
) .readout {
  font-size: 13pt;
  line-height: 1.4;
}
/* The transfer slide's matrix table was still 36px over in ES even after the
   density rule. Tighten its row padding + cell font so the punchline footer
   stays on-canvas. */
.reveal .slides section#transfer table.matrix :is(th, td) {
  padding: 6px 10px !important;
  font-size: 12pt;
}
.reveal .slides section#transfer table.matrix .cell span {
  font-size: 12pt !important;
}

/* ============================================================================
   HUMANS-LOOP ▸ belief → comprehension spectrum (V25)
   The slide's content used to float in the top half. The axis fills the lower
   space and turns the old "seams · failure modes · blast radius" readout into a
   coral→mint gradient with the three concerns as labelled stops along it.
   ========================================================================== */
.reveal .slides section#humans-loop > .content {
  justify-content: center;   /* distribute quote + cards + axis over full height */
  gap: 42px;
}
.reveal .slides section#humans-loop .comprehension-axis {
  margin-top: 6px;
  padding: 0 20px;
}
.reveal .slides section#humans-loop .axis-track {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 30px;   /* reserve room for stop labels hanging below the line */
}
.reveal .slides section#humans-loop .axis-cap {
  font-family: var(--body-font);
  font-size: 15pt;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.reveal .slides section#humans-loop .axis-cap.belief {
  color: var(--rival);
  text-shadow: 0 0 18px rgba(255, 46, 116, 0.55);
}
.reveal .slides section#humans-loop .axis-cap.comp {
  color: var(--team);
  text-shadow: 0 0 18px rgba(47, 243, 200, 0.55);
}
.reveal .slides section#humans-loop .axis-line {
  position: relative;
  flex: 1;
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--rival) 0%, var(--gold) 50%, var(--team) 100%);
  box-shadow: 0 0 22px rgba(255, 213, 74, 0.30);
}
/* arrowheads at each pole, tinted to the side they point at */
.reveal .slides section#humans-loop .axis-line::before,
.reveal .slides section#humans-loop .axis-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}
.reveal .slides section#humans-loop .axis-line::before {
  left: 0;
  transform: translate(-100%, -50%);
  border-right: 11px solid var(--rival);
}
.reveal .slides section#humans-loop .axis-line::after {
  right: 0;
  transform: translate(100%, -50%);
  border-left: 11px solid var(--team);
}
.reveal .slides section#humans-loop .axis-stop {
  position: absolute;
  top: 50%;
  left: var(--at);
  transform: translate(-50%, -50%);
}
.reveal .slides section#humans-loop .axis-stop .dot {
  display: block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--bg);            /* dark core keeps the node legible over the gold midband */
  border: 2px solid var(--gold);
  box-shadow: 0 0 14px rgba(255, 213, 74, 0.75);
}
.reveal .slides section#humans-loop .axis-stop b {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--body-font);
  font-size: 11pt;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.reveal .slides section#humans-loop .axis-caption {
  text-align: center;
  margin: 0;
  font-family: var(--body-font);
  font-size: 13pt;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-color);
}
.reveal .slides section#humans-loop .axis-caption strong { color: var(--ink); }

/* ============================================================================
   WARDLEY ▸ AI moved the doors
   ========================================================================== */
/* One Wardley map (FIG 2 only) centered, with a big punch claim below. */
.reveal .slides section#wardley-doors .wardley-solo {
  display: flex;
  justify-content: center;
}
.reveal .slides section#wardley-doors .wardley-map {
  border: 1px solid var(--rival);
  padding: 14px 18px 14px 18px;
  background: rgba(13, 19, 33, 0.4);
  width: min(720px, 100%);
}
.reveal .slides section#wardley-doors .claim-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.reveal .slides section#wardley-doors .claim-line {
  font-family: var(--heading-font);
  font-size: 22pt;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: none;
  margin: 0;
}
.reveal .slides section#wardley-doors .claim-line.accel {
  color: var(--rival);
  text-shadow: 0 0 18px rgba(255, 46, 116, 0.45);
}
.reveal .slides section#wardley-doors .claim-line.rescue {
  color: var(--team);
  text-shadow: 0 0 18px rgba(47, 243, 200, 0.45);
}
html[lang="es"] .reveal .slides section#wardley-doors .claim-line { font-size: 20pt; }
.reveal .slides section#wardley-doors .wardley-svg {
  width: 100%;
  height: auto;
  display: block;
  font-family: var(--body-font);
}
.reveal .slides section#wardley-doors .wardley-svg .axis {
  stroke: var(--muted-color);
  stroke-width: 1;
  opacity: 0.55;
}
.reveal .slides section#wardley-doors .wardley-svg .zone {
  stroke: var(--muted-color);
  stroke-width: 0.75;
  stroke-dasharray: 3 4;
  opacity: 0.22;
}
.reveal .slides section#wardley-doors .wardley-svg .axis-label {
  font-family: var(--heading-font);
  font-size: 8pt;
  fill: var(--muted-color);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.reveal .slides section#wardley-doors .wardley-svg .axis-label.x {
  text-anchor: middle;
}
.reveal .slides section#wardley-doors .wardley-svg .axis-tick {
  font-family: var(--body-font);
  font-size: 7pt;
  fill: var(--muted-color);
  letter-spacing: 0.1em;
  opacity: 0.7;
}
.reveal .slides section#wardley-doors .wardley-svg .stage-label {
  font-family: var(--heading-font);
  font-size: 9pt;
  fill: var(--muted-color);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-anchor: middle;
}
.reveal .slides section#wardley-doors .wardley-svg .chain {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1;
  stroke-dasharray: 2 3;
  opacity: 0.35;
}
.reveal .slides section#wardley-doors .wardley-svg .node circle {
  fill: var(--ink);
  stroke: var(--bg);
  stroke-width: 1.5;
}
.reveal .slides section#wardley-doors .wardley-svg .node-label {
  font-family: var(--body-font);
  font-size: 9.5pt;
  fill: var(--ink);
}
/* fig2 emphasis: the stalled top 2 components glow red */
.reveal .slides section#wardley-doors .fig2 .node.alert circle {
  fill: var(--rival);
  filter: drop-shadow(0 0 6px rgba(255, 46, 116, 0.7));
}
.reveal .slides section#wardley-doors .fig2 .node.alert .node-label {
  fill: var(--rival);
  font-weight: 700;
}
/* fig4 emphasis: the shifted components glow mint */
.reveal .slides section#wardley-doors .fig4 .node.win circle {
  fill: var(--team);
  filter: drop-shadow(0 0 6px rgba(47, 243, 200, 0.7));
}
.reveal .slides section#wardley-doors .fig4 .node.win .node-label {
  fill: var(--team);
  font-weight: 700;
}
/* fig4 ghosts: where the old positions used to be */
.reveal .slides section#wardley-doors .fig4 .ghost circle {
  fill: none;
  stroke: var(--rival);
  stroke-width: 1;
  stroke-dasharray: 2 2;
  opacity: 0.55;
}
.reveal .slides section#wardley-doors .fig4 .shift-arrow {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-dasharray: 4 3;
  opacity: 0.75;
}
.reveal .slides section#wardley-doors .doors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.reveal .slides section#wardley-doors .door {
  padding: 12px 16px;
  border: 1px solid;
}
.reveal .slides section#wardley-doors .door-1 {
  border-color: var(--rival);
  background: rgba(255, 89, 117, 0.06);
}
.reveal .slides section#wardley-doors .door-2 {
  border-color: var(--gold);
  background: rgba(255, 213, 74, 0.06);
}
.reveal .slides section#wardley-doors .door-label {
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 13pt;
  margin: 0 0 6px 0;
}
.reveal .slides section#wardley-doors .door-1 .door-label { color: var(--rival); }
.reveal .slides section#wardley-doors .door-2 .door-label { color: var(--gold); }
.reveal .slides section#wardley-doors .door-body {
  font-family: var(--body-font);
  font-size: 12pt;
  margin: 0;
  line-height: 1.4;
  color: var(--ink);
}
html[lang="es"] .reveal .slides section#wardley-doors .stage-posture,
html[lang="es"] .reveal .slides section#wardley-doors .door-body {
  font-size: 11pt;
}
html[lang="es"] .reveal .slides section#wardley-doors .stage-egs {
  font-size: 9.5pt;
}

/* ============================================================================
   VERIFIER-OUTSIDE — floating mint callout sits outside the gold panel,
   pointing back into the conversation. Visual proof of the thesis.
   ========================================================================== */
.reveal .slides section#verifier-outside .verifier-wrap {
  position: relative;
  width: min(880px, 100%);
  align-self: center;
}
.reveal .slides section#verifier-outside .verifier-panel {
  padding: 18px 26px;
}
.reveal .slides section#verifier-outside .verifier-chat {
  font-size: 13.5pt;
  line-height: 1.65;
  opacity: 0.95;
  margin: 4px 0 12px 0;
}
.reveal .slides section#verifier-outside .verifier-callout {
  position: absolute;
  right: -28px;
  bottom: -28px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--team);
  background: rgba(47, 243, 200, 0.08);
  color: var(--team);
  font-family: var(--body-font);
  font-size: 11pt;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 0 18px rgba(47, 243, 200, 0.25);
}
.reveal .slides section#verifier-outside .verifier-callout .callout-arrow {
  font-family: var(--heading-font);
  font-size: 18pt;
  line-height: 1;
  color: var(--team);
  opacity: 0.85;
}
html[lang="es"] .reveal .slides section#verifier-outside .verifier-chat {
  font-size: 12.5pt;
}
