/* ==========================================================================
   Host deck design refresh — Mentimeter-inspired: whitespace, cards, big type,
   one confident accent. Loaded only by host.html (after style.css).
   ========================================================================== */

:root {
  --shadow-sm: 0 1px 2px rgba(20, 40, 80, 0.06), 0 1px 3px rgba(20, 40, 80, 0.05);
  --shadow: 0 6px 22px rgba(20, 40, 80, 0.08);
  --shadow-lg: 0 18px 50px rgba(20, 40, 80, 0.14);
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 22px;
  --ink: #1f2a44;
  --line: #e7ecf3;
}

/* ---- Slide shell -------------------------------------------------------- */
.slide {
  padding: 30px 5vw 28px;
}
.slide.scrollable {
  padding: 22px 5vw 18px;
}
.slide-inner {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-align: left;
}
.slide.centered .slide-inner {
  align-items: center;
  text-align: center;
}
.slide.active .slide-inner {
  animation: slideRise 0.35s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes slideRise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .slide.active .slide-inner {
    animation: none;
  }
  .mt-fill {
    transition: none;
  }
}

/* ---- Eyebrow + headings ------------------------------------------------- */
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--nessie-teal-ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.navy-bg .eyebrow {
  color: var(--nessie-teal);
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--nessie-teal);
}
.slide h1.slide-title {
  font-size: clamp(28px, 3.7vw, 44px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: 0;
}
.slide .display {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin: 0;
}
.slide p.lead {
  font-size: 19px;
  line-height: 1.5;
  color: var(--text-mid);
  max-width: 760px;
  margin: 0;
}
.navy-bg p.lead {
  color: rgba(255, 255, 255, 0.85);
}

/* ---- Layout helpers ----------------------------------------------------- */
.cols {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  width: 100%;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.grid {
  display: grid;
  gap: 16px;
  width: 100%;
}
.grid-2 {
  grid-template-columns: 1fr 1fr;
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.role-grid {
  grid-template-columns: repeat(5, 1fr);
}

/* ---- Card --------------------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px;
}
.card.pad-lg {
  padding: 26px 30px;
}

/* ---- Chips -------------------------------------------------------------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #eef3fb;
  color: var(--nessie-navy);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 15px;
  font-weight: 600;
}
.chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nessie-teal);
}
.navy-bg .chip {
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}

/* ---- Photo placeholder -------------------------------------------------- */
.photo-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #f3f6fb;
  border: 2px dashed #b9c6da;
  border-radius: var(--radius);
  color: #8597b3;
  text-align: center;
  padding: 24px;
  min-height: 220px;
}
.photo-ph.hero {
  aspect-ratio: 4 / 3;
}
.photo-ph.wide {
  aspect-ratio: 16 / 7;
  width: 100%;
}
.photo-ph svg {
  width: 44px;
  height: 44px;
  opacity: 0.65;
}
.photo-ph .ph-label {
  font-size: 14px;
  font-weight: 600;
  max-width: 240px;
  line-height: 1.35;
}
.navy-bg .photo-ph {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.7);
}

/* ---- Stat cards --------------------------------------------------------- */
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.stat-card .num {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
  color: var(--nessie-navy);
}
.stat-card .lbl {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  line-height: 1.3;
}
.stat-card.danger {
  background: var(--scenario-red-lt);
  border-color: #f0bcbc;
}
.stat-card.danger .num {
  color: var(--scenario-red);
}

/* ---- Pillars ------------------------------------------------------------ */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  width: 100%;
}
.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.pillar .pn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--nessie-teal);
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar .pt {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}

/* ---- Flow --------------------------------------------------------------- */
.flow2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.flow2 .fstep {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 11px 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--nessie-navy);
}
.flow2 .fn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eef3fb;
  color: var(--nessie-navy);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow2 .farrow {
  color: #b9c6da;
  font-size: 18px;
}

/* ---- Round explainer cards --------------------------------------------- */
.round-card {
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: left;
}
.round-card.r1 {
  background: #eef3fb;
  border: 1px solid #d6e2f3;
}
.round-card.r2 {
  background: rgba(106, 197, 179, 0.14);
  border: 1px solid rgba(106, 197, 179, 0.5);
}
.round-card .rk {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--nessie-navy);
}
.round-card.r2 .rk {
  color: #1f8a72;
}
.round-card .rb {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 5px;
  line-height: 1.4;
}

/* ---- Role cards (slide 5) ---------------------------------------------- */
.role-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.role-card .rc-head {
  display: flex;
  align-items: center;
  gap: 11px;
}
.role-card .rc-ava {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--nessie-navy), var(--nessie-h1-blue));
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.role-card .rc-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.15;
}
.role-card .rc-opts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.opt-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.25;
}
.opt-line .ob {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #eef3fb;
  color: var(--nessie-navy);
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

/* ---- Menti-style live tally -------------------------------------------- */
.menti-tally {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
/* On a wide projector, two columns so all five roles fit without scrolling */
@media (min-width: 1100px) {
  .menti-tally {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
  }
}
.mt-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 11px 16px;
}
.mt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}
.mt-role {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}
.mt-maj {
  font-size: 13px;
  font-weight: 800;
  color: var(--nessie-teal-ink);
  background: rgba(106, 197, 179, 0.18);
  padding: 4px 11px;
  border-radius: 999px;
}
.mt-bars {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.mt-bar {
  display: grid;
  grid-template-columns: 26px 1fr 28px;
  gap: 12px;
  align-items: center;
}
.mt-bar .mb-letter {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eef3fb;
  color: var(--nessie-navy);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mt-track {
  background: #eef1f6;
  border-radius: 999px;
  height: 20px;
  overflow: hidden;
}
.mt-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--nessie-navy), var(--nessie-h1-blue));
  transition: width 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.mt-bar.win .mt-fill {
  background: var(--nessie-teal);
  box-shadow: 0 0 0 2px rgba(106, 197, 179, 0.35);
}
.mt-bar.win .mb-letter {
  background: var(--nessie-teal);
  color: #fff;
}
.mt-count {
  text-align: right;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-mid);
}
.vote-total {
  text-align: center;
}

/* ---- Result slide ------------------------------------------------------- */
.result-slide .slide-inner {
  align-items: center;
  text-align: center;
  gap: 16px;
}
.scen-tag {
  display: inline-flex;
  align-items: center;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 9px 20px;
  border-radius: 999px;
}
.result-slide .scen-headline {
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.12;
  max-width: 1000px;
  margin: 0;
}
.result-slide .scen-narrative {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-mid);
  max-width: 800px;
  margin: 0;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  width: 100%;
  max-width: 1040px;
  align-items: stretch;
}
.choice-cell {
  background: rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  height: 100%;
}
/* Push the chosen option + badge to the bottom so they line up across all
   five cells regardless of how many lines the role name takes. */
.choice-cell .cc-opt {
  margin-top: auto;
}
.choice-cell .cc-role {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--nessie-navy);
  line-height: 1.2;
}
.choice-cell .cc-opt {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}
.choice-cell .cc-badge {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: var(--nessie-navy);
  border-radius: 6px;
  padding: 2px 9px;
}

/* ---- Reveal slide ------------------------------------------------------- */
.reveal-box {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.reveal-row {
  grid-template-columns: 44px 1.1fr 1.3fr;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-sm);
  font-size: 18px;
}
.reveal-row.matched {
  background: var(--scenario-green-lt);
  border-color: #a9cf8f;
}
.reveal-row.unmatched {
  background: #fff;
  color: var(--text-mid);
}

/* ---- Final comparison --------------------------------------------------- */
.compare {
  gap: 20px;
}
.compare .panel {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.compare .panel h3 {
  margin: 0;
}
.compare .vs {
  font-size: 26px;
}

/* ---- Final slide — Round 2 outcome emphasis ----------------------------- */
.final-r2 {
  gap: 16px;
}
.final-outcome {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 22px 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  width: 100%;
}
.final-outcome .scen-tag {
  font-size: 18px;
}
.final-outcome .scen-headline {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.12;
  margin: 0;
  max-width: 980px;
}
.final-outcome .scen-narrative {
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-mid);
  max-width: 880px;
  margin: 0;
}
.final-changes {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.changes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.changes li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  align-items: center;
}
.changes li .rn {
  font-weight: 700;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
}
.changes li .ch-move {
  font-weight: 800;
  font-size: 16px;
  color: var(--text-mid);
  letter-spacing: 0.5px;
}
.changes li.changed {
  background: rgba(106, 197, 179, 0.16);
  border-color: var(--nessie-teal);
}
.changes li.changed .ch-move {
  color: var(--nessie-teal-ink);
}
.same-note {
  text-align: center;
  color: var(--text-mid);
  font-style: italic;
  margin: 4px 0 0;
}

/* ---- Round 2 vote note -------------------------------------------------- */
.vote-note {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-mid);
  margin: 0;
}

/* ---- Big idea (outro) --------------------------------------------------- */
.big-idea {
  font-size: clamp(26px, 3.6vw, 46px);
  line-height: 1.12;
  max-width: 1040px;
  text-align: center;
}
.big-idea em {
  color: var(--nessie-teal);
  font-style: italic;
}

/* ---- Round robin -------------------------------------------------------- */
.rr-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 36px 44px 40px;
  max-width: 880px;
  width: 100%;
  /* Fixed height so the box doesn't jump between short and long quotes. */
  height: 300px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.rr-quote {
  font-size: 70px;
  line-height: 0.4;
  color: var(--nessie-teal);
  opacity: 0.45;
  font-family: Georgia, serif;
  flex: 0 0 auto;
}
.rr-text {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  margin: 0;
  /* Center each quote vertically within the fixed-height box. */
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.rr-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.rr-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cdd8e8;
  transition: all 0.2s;
}
.rr-dot.on {
  background: var(--nessie-navy);
  width: 26px;
  border-radius: 999px;
}

/* ---- Title slide -------------------------------------------------------- */
.code-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px 36px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.code-card .cc-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-mid);
}
.code-card .cc-code {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: 10px;
  color: var(--nessie-navy);
  line-height: 1.1;
}
/* Join slide — large scannable QR with a smaller URL beneath it. */
.join-qr-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px 22px 16px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.join-qr-card .cc-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-mid);
}
.join-qr-card .join-qr-img {
  width: clamp(220px, 30vh, 340px);
  height: clamp(220px, 30vh, 340px);
  display: block;
  image-rendering: pixelated;
}
.join-qr-card .join-qr-url {
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--nessie-navy);
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 7px 15px;
}
.live-pill .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nessie-teal);
  animation: livePulse 2s infinite;
}
@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(106, 197, 179, 0.6);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(106, 197, 179, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(106, 197, 179, 0);
  }
}

/* ---- NESSIE concept diagram (intro slide) ------------------------------- */
.loop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 980px;
  margin: 4px auto 0;
}
.loop-node {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  width: 100%;
}
.loop-node .ln-kicker {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--nessie-teal-ink);
}
.loop-node .ln-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
.loop-node .ln-sub {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  line-height: 1.35;
}
.loop-node.feed {
  background: linear-gradient(135deg, var(--nessie-navy), var(--nessie-h1-blue));
  border: none;
}
.loop-node.feed .ln-kicker {
  color: var(--nessie-teal);
}
.loop-node.feed .ln-title {
  color: #fff;
}
.loop-node.feed .ln-sub {
  color: rgba(255, 255, 255, 0.82);
}
.loop-node.outcome {
  background: rgba(106, 197, 179, 0.14);
  border: 1px solid rgba(106, 197, 179, 0.5);
}
.loop-node.outcome .ln-title {
  color: var(--nessie-teal-ink);
}
.loop-arrow {
  font-size: 26px;
  line-height: 1;
  color: var(--nessie-teal);
  font-weight: 700;
}
.loop-system {
  width: 100%;
  background: #f3f7fc;
  border: 1px dashed #c4d4ea;
  border-radius: var(--radius-lg);
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.loop-system .ls-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--nessie-navy);
  text-align: center;
}
.loop-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.loop-node.sys {
  padding: 18px 16px;
  justify-content: center;
  min-height: 96px;
}
.loop-node.sys .ln-title {
  font-size: 17px;
}

/* ---- Case-study actor cards --------------------------------------------- */
.cols.cols-tight {
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}
/* Left column (challenge) fills the same height as the 2×2 stat grid. */
.cols.cols-tight .stack {
  height: 100%;
}
.challenge-card {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.challenge-card .challenge-text {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.32;
}
.actor-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.actor-block .actor-instruction {
  margin: 0;
}
.actor-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  width: 100%;
}
.actor-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.actor-card .ac-table {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #fff;
  background: var(--nessie-navy);
  border-radius: 6px;
  padding: 3px 9px;
}
.actor-card .ac-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.actor-card .ac-desc {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  line-height: 1.3;
}

/* ---- Vote header + countdown timer -------------------------------------- */
.vote-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.vote-timer {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  padding: 8px 18px;
}
.vote-timer .vt-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-mid);
}
.vote-timer .vt-clock {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1;
  color: var(--nessie-navy);
  font-variant-numeric: tabular-nums;
}
.vote-timer.ending {
  border-color: #f0bcbc;
  background: var(--scenario-red-lt);
  animation: votePulse 1s infinite;
}
.vote-timer.ending .vt-clock {
  color: var(--scenario-red);
}
@keyframes votePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(139, 0, 0, 0.18);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(139, 0, 0, 0);
  }
}
.vote-instruction .vote-instruction-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 12px;
}

/* ---- Scenario slide spacing fix ----------------------------------------- */
.choices-eyebrow {
  margin-top: 18px;
}

/* ---- Round robin autoplay fade ------------------------------------------ */
.rr-fade {
  animation: rrFade 0.5s ease both;
}
@keyframes rrFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.rr-instruction {
  color: var(--text-mid);
  font-size: 16px;
}

/* ---- Outro slide -------------------------------------------------------- */
.outro-slide .slide-inner {
  height: 100%;
  justify-content: center;
  max-width: 1240px;
}
.outro-diagram {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 22px;
  width: 100%;
  /* Give the wide overview diagram as much room as the slide allows. */
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.outro-diagram img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.outro-cta {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 26px;
  text-align: left;
  flex: 0 0 auto;
}
.outro-cta .follow-line {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  max-width: 240px;
}
.outro-cta .outro-qr {
  width: 116px;
  height: 116px;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  box-shadow: var(--shadow-lg);
  flex: 0 0 auto;
}
.outro-cta .outro-url {
  font-size: 20px;
  font-weight: 700;
  color: var(--nessie-teal);
  letter-spacing: 0.3px;
}

/* ---- Case-study slide (full-height with Ameland banner) ----------------- */
.case-slide .slide-inner.case-inner {
  height: 100%;
  max-width: 1200px;
  /* Spread banner / stats / actors so the slide fills the viewport height. */
  justify-content: space-between;
  gap: 18px;
}
.case-banner {
  position: relative;
  width: 100%;
  /* Banner takes the slack but is capped well short of a full fill. */
  flex: 1 1 auto;
  min-height: 96px;
  max-height: 34vh;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.case-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}
.case-banner-ph {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #2f5496, #6ac5b3);
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 600;
}
.case-banner-ph svg {
  width: 40px;
  height: 40px;
  opacity: 0.8;
}
.case-banner-tag {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 28px 18px;
  background: linear-gradient(to top, rgba(15, 28, 56, 0.78), rgba(15, 28, 56, 0));
  text-align: left;
}
.case-banner-tag .eyebrow {
  color: #fff;
}
.case-banner-tag .eyebrow::before {
  background: var(--nessie-teal);
}
.case-banner-tag .cb-title {
  font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.05;
  color: #fff;
}
.case-slide .cols.cols-tight,
.case-slide .actor-block {
  flex: 0 0 auto;
}

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 960px) {
  .cols,
  .cols.cols-tight {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .grid-4,
  .role-grid,
  .pillar-grid,
  .choice-grid,
  .actor-grid,
  .changes {
    grid-template-columns: repeat(2, 1fr);
  }
  .loop-cols {
    grid-template-columns: 1fr;
  }
  .outro-grid {
    grid-template-columns: 1fr;
  }
  .photo-ph.hero {
    aspect-ratio: 16 / 9;
  }
}

/* ==========================================================================
   Room layout diagram (slide 1) — five numbered table stations arranged
   around a circle. No central label, no facilitator names.
   ========================================================================== */
.room-slide .slide-inner.room-inner {
  max-width: 1240px;
  height: 100%;
  justify-content: flex-start;
  gap: 12px;
}
.room-slide .room-title {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 60px);
}
.room-map {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-height: 440px;
  margin: 4px 0;
}
.room-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(54vh, 60%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 2px dashed #cfe3df;
  background: radial-gradient(circle at 50% 40%, #f3faf8, #eaf6f3);
}
.room-table {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: clamp(190px, 20vw, 260px);
  z-index: 2;
}
.rt-figs {
  display: flex;
  gap: 4px;
  color: #9bb0cf;
}
.rt-fig {
  width: 22px;
  height: 22px;
  display: inline-flex;
}
.rt-fig svg {
  width: 100%;
  height: 100%;
}
.rt-oval {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 16px 18px;
  border-radius: 22px;
  background: var(--nessie-teal, #6ac5b3);
  color: #08312a;
  box-shadow: var(--shadow);
  text-align: center;
}
.rt-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #08312a;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}
.rt-label {
  font-weight: 800;
  font-size: clamp(15px, 1.6vw, 20px);
  line-height: 1.15;
}

/* ==========================================================================
   Operator timing panel (press T) — presenter-only, never projected content.
   ========================================================================== */
.timing-toggle {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 34px;
  height: 34px;
  font-size: 16px;
  cursor: pointer;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.timing-toggle:hover {
  background: #f3f6fb;
}
.timing-panel {
  position: fixed;
  right: 18px;
  bottom: 70px;
  z-index: 60;
  width: 320px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 14px 16px 16px;
}
.timing-panel[hidden] {
  display: none;
}
.tp-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.tp-title {
  font-weight: 800;
  color: var(--ink);
  font-size: 15px;
  flex: 1 1 auto;
}
.tp-start {
  font-size: 11px;
  color: #5b6b85;
  display: flex;
  align-items: center;
  gap: 4px;
}
.tp-start input {
  font: inherit;
  font-size: 12px;
  padding: 2px 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.tp-close {
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: #8a93a3;
}
.tp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  color: var(--ink);
}
.tp-table th,
.tp-table td {
  text-align: left;
  padding: 5px 6px;
  border-bottom: 1px solid var(--line);
}
.tp-table th:nth-child(2),
.tp-table td:nth-child(2),
.tp-table th:nth-child(3),
.tp-table td:nth-child(3) {
  text-align: right;
  white-space: nowrap;
}
.tp-table .tp-h th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8a93a3;
}
.tp-table .tp-end td {
  font-weight: 800;
  border-bottom: none;
  border-top: 2px solid var(--nessie-navy, #2f5496);
  color: var(--nessie-navy, #2f5496);
}

/* ===================================================================== */
/* Solo mode                                                             */
/* ===================================================================== */

/* --- Mode-select screen --- */
.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
  max-width: 860px;
  margin: 6px auto 0;
}
.mode-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 38px 28px;
  background: #fff;
  border: 2px solid #e6e9f0;
  border-radius: var(--radius-lg, 18px);
  box-shadow: var(--shadow, 0 6px 22px rgba(20, 33, 61, 0.08));
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
  font: inherit;
}
.mode-card:hover {
  transform: translateY(-3px);
  border-color: var(--nessie-teal, #6ac5b3);
  box-shadow: var(--shadow-lg, 0 14px 36px rgba(20, 33, 61, 0.16));
}
.mode-card .mode-emoji {
  font-size: 44px;
  line-height: 1;
}
.mode-card .mode-title {
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 800;
  color: var(--nessie-navy, #2f5496);
}
.mode-card .mode-desc {
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-mid, #595959);
}

/* --- Solo stepper --- */
.solo-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}
.solo-progress {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--nessie-navy, #2f5496);
  background: #eef2fb;
  border-radius: 999px;
  padding: 5px 14px;
  white-space: nowrap;
}
.solo-actor-name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 400;
  color: var(--nessie-navy, #2f5496);
  margin: 2px 0 0;
}

/* --- Solo success banner --- */
.solo-success {
  align-self: center;
  margin: 0 auto 14px;
  background: #1a7a4a;
  color: #fff;
  font-weight: 700;
  font-size: clamp(16px, 1.9vw, 21px);
  padding: 12px 26px;
  border-radius: 999px;
  box-shadow: var(--shadow, 0 6px 22px rgba(20, 33, 61, 0.12));
}

/* --- Diagnose ("why it fell short") --- */
.diagnose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  width: 100%;
}
.diag-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #eceef3;
  border-radius: var(--radius-sm, 12px);
  padding: 16px 16px 12px;
  text-align: left;
}
.diag-card .dc-role {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--nessie-navy, #2f5496);
}
.diag-card .dc-pick {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink, #1a1a1a);
  margin: 6px 0 8px;
}
.diag-card .dc-cons {
  margin: 0;
  padding-left: 18px;
}
.diag-card .dc-cons li {
  font-size: 13px;
  line-height: 1.4;
  color: #9a4a2f;
  margin-bottom: 3px;
}

/* --- Round 2: all actors on one screen --- */
.r2-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.r2-actor {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #eceef3;
  border-radius: var(--radius-sm, 12px);
  padding: 14px 16px 16px;
  text-align: left;
}
.r2-actor .r2-actor-name {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--nessie-navy, #2f5496);
  margin-bottom: 10px;
}
.r2-opts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.r2-opt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  padding: 12px 12px;
  background: #fff;
  border: 2px solid #e6e9f0;
  border-radius: var(--radius-sm, 12px);
  cursor: pointer;
  font: inherit;
  transition: border-color 0.12s ease, background 0.12s ease;
}
.r2-opt:hover {
  border-color: var(--nessie-teal, #6ac5b3);
}
.r2-opt.selected {
  border-color: var(--nessie-teal-ink, #2e8b79);
  background: #eefaf6;
}
.r2-opt .badge {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eef0f4;
  color: var(--nessie-navy, #2f5496);
  font-weight: 800;
  font-size: 14px;
}
.r2-opt.selected .badge {
  background: var(--nessie-navy, #2f5496);
  color: #fff;
}
.r2-opt .r2-opt-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.r2-opt .r2-opt-text .label {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink, #1a1a1a);
  line-height: 1.25;
}
.r2-opt .r2-opt-sub {
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--text-mid, #595959);
}
@media (max-width: 820px) {
  .r2-opts {
    grid-template-columns: 1fr;
  }
}

/* --- Reveal list wrapper --- */
.reveal-list {
  width: 100%;
  max-width: 880px;
  margin: 4px auto 0;
}

/* --- Learn-more: NESSIE initiatives --- */
.initiative-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  width: 100%;
}
.init-card {
  background: #fff;
  border: 1px solid #e6e9f0;
  border-left: 4px solid var(--nessie-teal, #6ac5b3);
  border-radius: var(--radius-sm, 12px);
  box-shadow: var(--shadow, 0 6px 22px rgba(20, 33, 61, 0.07));
  padding: 18px 18px 16px;
  text-align: left;
}
.init-card .ic-name {
  font-size: clamp(17px, 1.9vw, 21px);
  font-weight: 800;
  color: var(--nessie-navy, #2f5496);
}
.init-card .ic-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid, #595959);
  margin: 6px 0 10px;
}
/* The A/B/C pill is only styled inside .choice-cell by default — give it the
   same pill treatment where the solo cards reuse it. */
.ic-link .cc-badge,
.dc-pick .cc-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: var(--nessie-navy, #2f5496);
  border-radius: 6px;
  padding: 1px 8px;
  margin-right: 4px;
}
.init-card .ic-desc {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink, #1a1a1a);
  margin: 0;
}

@media (max-width: 760px) {
  .mode-grid {
    grid-template-columns: 1fr;
  }
}

/* ======================================================================== */
/* Mobile / narrow framing (host deck). A little vertical scroll is fine.    */
/* ======================================================================== */
@media (max-width: 700px) {
  /* Let every slide scroll rather than clip its content. */
  .slide {
    justify-content: flex-start;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 22px 16px 26px;
  }

  /* Compact bottom chrome: indicator left, nav right, drop the join URL
     (it's shown as a QR on the join slide anyway). */
  .deck-chrome {
    padding: 0 10px;
    gap: 8px;
  }
  .deck-chrome .join-chip {
    display: none;
  }
  .deck-chrome .slide-indicator {
    min-width: 0;
    flex: 1 1 auto;
    font-size: 11px;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .deck-chrome .nav-center {
    position: static;
    transform: none;
    flex: 0 0 auto;
    margin-left: auto;
    gap: 8px;
  }
  .deck-chrome .nav-center .btn {
    padding: 9px 13px;
    font-size: 12.5px;
  }

  /* Room-layout diagram → a clean vertical list (the circle needs width). */
  .room-slide .room-map {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
  }
  .room-slide .room-ring {
    display: none;
  }
  .room-slide .room-table {
    position: static;
    transform: none;
    width: 100%;
  }
  .room-slide .room-table .rt-figs {
    display: none;
  }
  .room-slide .rt-oval {
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 16px;
    text-align: left;
    border-radius: 16px;
  }
  .room-slide .rt-num {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  /* Tighten grids for phone widths. */
  .choice-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .actor-grid {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    gap: 12px;
  }
  .r2-opts {
    gap: 8px;
  }

  /* Case-study banner a touch shorter so the brief fits with less scroll. */
  .case-banner {
    max-height: 24vh;
  }

  /* Solo step header may wrap on very narrow screens. */
  .solo-step-head {
    flex-wrap: wrap;
    gap: 6px;
  }
}
