:root {
  --teal: #20B5AC;
  --deep-teal: #0E7C76;
  --mint: #E1FCFA;
  --black: #000000;
  --ink: #1A1A1A;
  --grey-900: #2E2E2E;
  --grey-700: #5C5C5C;
  --grey-400: #B8B8B8;
  --grey-200: #ECECEC;
  --white: #FFFFFF;
  --orange: #FB9700;
}

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

html, body {
  font-family: 'Montserrat', system-ui, sans-serif;
  background: var(--white);
  color: var(--ink);
  height: 100%;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

h1, h2, h3, h4, .display, .eyebrow {
  font-family: 'Poppins', system-ui, sans-serif;
  letter-spacing: -0.01em;
}

a { color: var(--deep-teal); }

/* ---------- Wordmark ---------- */
.wordmark {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
  font-size: 1.25rem;
  text-transform: lowercase;
  line-height: 1;
  white-space: nowrap;
}
.wordmark .green { color: var(--teal); }
.wordmark.dark { color: var(--black); }
.wordmark.light { color: var(--white); }
/* Monochrome override — used where the teal "growth" would vanish into the background. */
.wordmark.mono .green { color: inherit; }
.wordmark.hero {
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  letter-spacing: -0.045em;
}

/* ---------- Deck shell ---------- */
.deck {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: var(--white);
}

.slide {
  position: absolute;
  inset: 0;
  padding: 3.5vh 8vw 4vh;
  opacity: 0;
  pointer-events: none;
  transform: translateX(40px);
  transition: opacity 320ms ease, transform 400ms ease;
  display: flex;
  flex-direction: column;
  gap: 2vh;
  overflow: hidden;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.slide.prev { transform: translateX(-40px); }

.slide-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.5rem;
}
/* Hero/cover slides opt back into vertical centering. */
.slide.center-y .slide-inner { justify-content: center; }

/* ---------- Slide chrome ---------- */
.top-bar {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--grey-700);
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.slide.dark .top-bar { color: rgba(255,255,255,0.6); }
.slide.dark .wordmark.dark { color: var(--white); }

.deck-progress {
  position: fixed;
  left: 0; bottom: 0;
  height: 4px;
  background: var(--teal);
  transition: width 320ms ease;
  z-index: 10;
}

.deck-nav {
  position: fixed;
  bottom: 18px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 10;
}
.deck-nav button {
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--grey-200);
  border-radius: 999px;
  width: 36px; height: 36px;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
  transition: all 120ms ease;
}
.deck-nav button:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }
.deck-nav .counter {
  background: var(--ink);
  color: var(--white);
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  border-radius: 999px;
  padding: 0 14px;
  height: 36px;
  display: flex; align-items: center;
  letter-spacing: 0.04em;
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.25rem;
}
.eyebrow.muted { color: var(--grey-700); }

/* ---------- Typography ---------- */
.h-display {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.h-section {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.1;
  color: var(--ink);
}
.h-sub {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: var(--deep-teal);
}
.lead {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.55;
  color: var(--grey-900);
}
.body-copy {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--grey-900);
}
.teal { color: var(--teal); }
.deep-teal { color: var(--deep-teal); }
.orange { color: var(--orange); }
.strike {
  text-decoration: line-through;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}
.source-line {
  margin-top: 1rem;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--grey-700);
  letter-spacing: 0.02em;
  font-style: italic;
}
.slide.dark .source-line { color: rgba(255,255,255,0.55); }

/* ---------- Interactive (clickable nav) slides ---------- */
.slide.interactive .slide-inner { height: 100%; max-width: 1280px; }
.interactive-layout {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
}
.interactive-header { flex-shrink: 0; }
.interactive-header .h-section {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  margin-bottom: 0.4rem;
}
.interactive-header .lead { font-size: 0.95rem; max-width: none; }

.interactive-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  flex: 1;
  min-height: 0;
}
.interactive-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  overflow-y: auto;
  padding-right: 0.3rem;
}
.nav-item {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-left: 3px solid transparent;
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
  color: var(--grey-900);
  display: flex;
  gap: 0.6rem;
  align-items: center;
  transition: all 120ms ease;
}
.slide.dark .nav-item {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
}
.nav-item:hover { border-color: var(--teal); }
.nav-item.active {
  background: var(--mint);
  border-left-color: var(--teal);
  color: var(--deep-teal);
}
.slide.dark .nav-item.active {
  background: var(--deep-teal);
  border-left-color: var(--teal);
  color: var(--white);
}
.nav-item .num {
  font-weight: 800;
  color: var(--teal);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  flex-shrink: 0;
  width: 22px;
}
.slide.dark .nav-item.active .num { color: var(--mint); }
.nav-item .label { flex: 1; line-height: 1.25; }
.stage-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}
.stage-dot.s1 { background: #C9F1ED; }
.stage-dot.s2 { background: #7FD9D1; }
.stage-dot.s3 { background: #2EBFB4; }
.stage-dot.s4 { background: #0E7C76; }
.stage-dot.s5 { background: #043A36; }

.interactive-content {
  position: relative;
  overflow-y: auto;
  padding-right: 0.5rem;
}
.interactive-content article { display: none; }
.interactive-content article.active {
  display: block;
  animation: fadeUp 240ms ease;
}
.interactive-content .h-section {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 0.75rem;
}
.interactive-content .lead { font-size: 0.95rem; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.pillar-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.pillar-stack > div {
  padding: 0.85rem 1.1rem;
  background: var(--mint);
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--grey-900);
}
.slide.dark .pillar-stack > div {
  background: var(--white);
  color: var(--ink);
}
.slide.dark .pillar-stack strong.deep-teal { color: var(--deep-teal); }

/* Orange frame around the active detail section (traps, stages, pillars).
   A fixed min-height keeps the frame the same size on every step,
   sized to fit the tallest detail rather than filling the slide. */
.slide.dark.interactive .interactive-content article,
.slide[data-slide="5"] .interactive-content article,
.slide[data-slide="12"] .interactive-content article {
  border: 1.5px solid var(--orange);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  box-sizing: border-box;
}
/* The exact min-height is set by JS (equaliseFramedArticles) on load
   and resize, so every article in these slides is the same height as
   the tallest one. */
.slide.dark.interactive .interactive-content article {
  background: var(--white);
  color: var(--ink);
}
.slide.dark.interactive .interactive-content article .h-section { color: var(--ink); }
/* Inside the white panel, push the pillar cards to mint so they don't disappear into the background. */
.slide.dark.interactive .interactive-content article .pillar-stack > div {
  background: var(--mint);
  color: var(--grey-900);
}

/* ---------- Trap article: text + image ---------- */
.trap-article {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}
.trap-text { min-width: 0; }
.trap-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1.25rem;
}
.trap-image svg {
  width: 100%;
  max-width: 280px;
  height: auto;
  max-height: 280px;
}
@media (max-width: 1100px) {
  .trap-article { grid-template-columns: 1fr; }
  .trap-image { padding-top: 0; }
  .trap-image svg { max-width: 220px; }
}

.stage-illustration {
  background: var(--mint);
  color: var(--ink);
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  margin: 0.9rem 0;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.5;
  border-left: 3px solid var(--teal);
}
.mint-card { background: var(--mint); border-color: var(--mint); }
.mint-card .card-title { color: var(--deep-teal); }
.mint-card .tick li { font-size: 0.9rem; }

/* ---------- Stop / Start / Measure cards ---------- */
.play-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.play-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-top: 4px solid var(--grey-400);
  border-radius: 12px;
  padding: 1.1rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.play-card.stop    { border-top-color: var(--orange); }
.play-card.start   { border-top-color: var(--teal); }
.play-card.measure { border-top-color: var(--deep-teal); }
.play-label {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-700);
}
.play-card.stop    .play-label { color: var(--orange); }
.play-card.start   .play-label { color: var(--teal); }
.play-card.measure .play-label { color: var(--deep-teal); }
.play-action {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--ink);
}
.play-note {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--grey-700);
}
@media (max-width: 1100px) {
  .play-cards { grid-template-columns: 1fr; }
}

/* ---------- CTA QR cards ---------- */
.cta-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.cta-row.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cta-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 1rem 1rem;
  color: var(--white);
  display: flex;
  gap: 0.9rem;
  align-items: center;
}
.slide:not(.dark) .cta-card {
  background: var(--white);
  border-color: var(--grey-200);
  color: var(--ink);
}
.cta-card img {
  width: 96px;
  height: 96px;
  background: var(--white);
  border-radius: 8px;
  padding: 4px;
  flex-shrink: 0;
}
.cta-card .meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.cta-card .cta-title {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--teal);
}
.cta-card .cta-sub {
  font-size: 0.78rem;
  opacity: 0.7;
  line-height: 1.35;
}
.cta-card .cta-url {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--white);
  word-break: break-all;
}
.slide:not(.dark) .cta-card .cta-url { color: var(--ink); }

/* ---------- Slide variants ---------- */
.slide.dark { background: var(--black); color: var(--white); }
.slide.dark .h-display,
.slide.dark .h-section,
.slide.dark .lead,
.slide.dark .body-copy { color: var(--white); }
.slide.dark .h-sub { color: var(--teal); }
.slide.dark .eyebrow.muted { color: rgba(255,255,255,0.55); }

.slide.teal { background: var(--teal); color: var(--white); }
.slide.teal .h-display,
.slide.teal .h-section,
.slide.teal .lead { color: var(--white); }
.slide.teal .eyebrow { color: var(--ink); }

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

/* ---------- Circuit traces background ---------- */
.slide.dark .circuit {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(32,181,172,0.08) 1px, transparent 1px),
    radial-gradient(circle at 20% 30%, rgba(32,181,172,0.12), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(32,181,172,0.10), transparent 40%);
  background-size: 80px 80px, auto, auto;
  pointer-events: none;
  opacity: 0.6;
}

/* ---------- Layout helpers ---------- */
.row { display: flex; gap: 2rem; }
.row.center { align-items: center; }
.col { flex: 1; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.gap-sm { gap: 0.5rem; }
.gap-lg { gap: 2.5rem; }
.mt-1 { margin-top: 0.75rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.25rem; }

/* ---------- Pills ---------- */
.pill {
  display: inline-block;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  background: var(--mint);
  color: var(--deep-teal);
}
.pill.dark { background: var(--ink); color: var(--white); }
.pill.teal { background: var(--teal); color: var(--white); }
.pill.orange { background: var(--orange); color: var(--white); }

/* ---------- Cards ---------- */
.callout {
  background: var(--mint);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  border-left: 4px solid var(--teal);
}
.callout.dark {
  background: var(--ink);
  color: var(--white);
  border-left-color: var(--teal);
}

.card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 14px;
  padding: 1.5rem 1.5rem;
}
.card.dark {
  background: var(--ink);
  color: var(--white);
  border-color: rgba(255,255,255,0.1);
}
.card-title {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  color: var(--teal);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

/* ---------- Big numbers ---------- */
.big-stat {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(5rem, 14vw, 12rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.big-stat.teal { color: var(--teal); }
.big-stat.ink { color: var(--ink); }
.big-stat.white { color: var(--white); }

/* ---------- Lists ---------- */
ul.tick { list-style: none; padding: 0; }
ul.tick li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
  font-size: 1rem;
  line-height: 1.5;
}
ul.tick li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 800;
  font-size: 1.2rem;
  top: -2px;
}

ul.strike-list { list-style: none; padding: 0; }
ul.strike-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.7rem;
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--grey-900);
}
ul.strike-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* ---------- The 7 Traps grid ---------- */
.trap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.trap-grid .trap {
  background: var(--ink);
  color: var(--white);
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column;
  gap: 0.4rem;
  min-height: 140px;
}
.trap .num {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 800;
  color: var(--teal);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}
.trap .label {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ---------- Maturity stages ---------- */
.maturity {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}
.maturity .stage {
  border-radius: 12px;
  padding: 1.25rem;
  color: var(--white);
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  text-align: center;
  position: relative;
}
.maturity .stage .n {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  opacity: 0.85;
  display: block;
  margin-bottom: 0.4rem;
}
.maturity .s1 { background: #C9F1ED; color: var(--deep-teal); }
.maturity .s2 { background: #7FD9D1; color: var(--deep-teal); }
.maturity .s3 { background: #2EBFB4; }
.maturity .s4 { background: #0E7C76; }
.maturity .s5 { background: #043A36; }

/* ---------- Pillars pentagon ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}
.pillars .pillar {
  background: var(--ink);
  color: var(--white);
  padding: 1.5rem 1.25rem;
  border-radius: 12px;
  border-top: 4px solid var(--teal);
}
.pillars .pillar .n {
  color: var(--teal);
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}
.pillars .pillar .name {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 0.4rem;
}

/* ---------- Iceberg / pilot theatre / etc. abstract motifs ---------- */
.motif {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.iceberg-svg, .motif-svg { width: 100%; max-width: 380px; height: auto; }

/* ---------- Measurement pyramid ---------- */
.pyramid { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pyramid .level {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  text-align: center;
  width: 100%;
}
.pyramid .l1 { width: 100%;  background: #C9F1ED; color: var(--deep-teal); }
.pyramid .l2 { width: 78%;   background: #2EBFB4; }
.pyramid .l3 { width: 56%;   background: var(--deep-teal); }
.pyramid .l4 { width: 34%;   background: var(--ink); }

/* ---------- 90 Day Table ---------- */
.playbook {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.playbook th, .playbook td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--grey-200);
  vertical-align: top;
}
.playbook thead th {
  background: var(--ink);
  color: var(--white);
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.playbook td:first-child {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  color: var(--deep-teal);
}
.playbook .stop { color: var(--orange); }

/* ---------- Poll slide ---------- */
.poll-slide {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  align-items: stretch;
  height: 100%;
  min-height: 0;
}
.poll-left, .poll-right {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
.poll-right .card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: 100%;
}
.poll-right .results {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  padding-right: 0.25rem;
}
.poll-question {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--ink);
}
.qr-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--ink);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  color: var(--white);
}
.qr-box img { width: 140px; height: 140px; background: var(--white); padding: 8px; border-radius: 8px; }
.qr-box .vote-url {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  color: var(--teal);
  word-break: break-all;
  font-size: 1.05rem;
}
.qr-box .vote-cta {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

/* ---------- Results bars ---------- */
.results { display: flex; flex-direction: column; gap: 0.7rem; }
.result-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: end;
}
.result-row .label {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}
.result-row .val {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--deep-teal);
}
.bar-track {
  grid-column: 1 / -1;
  height: 22px;
  background: var(--grey-200);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--deep-teal));
  border-radius: 999px;
  width: 0%;
  transition: width 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
.result-row.leader .bar-fill { background: linear-gradient(90deg, var(--teal), var(--orange)); }
.result-row.leader .val { color: var(--orange); }

.total-tally {
  margin-top: 1rem;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  color: var(--grey-700);
  font-size: 0.95rem;
}
.live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  margin-right: 6px;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.4); }
}

/* ---------- Closing logo ---------- */
.cover-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.cover-art .corner-block {
  position: absolute;
  width: 40%;
  height: 18%;
  background: var(--orange);
  top: 0; left: 0;
}


/* ---------- Concentric arcs (cover) ---------- */
.arcs {
  position: absolute;
  right: -120px; bottom: -120px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at center,
    var(--deep-teal) 0 80px,
    var(--teal) 80px 160px,
    #7FD9D1 160px 230px,
    var(--mint) 230px 290px,
    transparent 290px);
  pointer-events: none;
}

/* ---------- Two-column diverging curves ---------- */
.split-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.split-numbers .col-label {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  color: var(--grey-700);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* ---------- Vote page ---------- */
.vote-page {
  background: var(--white);
  min-height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.vote-wrap {
  max-width: 540px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 20px 48px;
}
.vote-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0 24px;
  border-bottom: 1px solid var(--grey-200);
}
.vote-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 16px;
  padding: 20px;
  margin-top: 16px;
}
.vote-card .eyebrow { font-size: 0.7rem; margin-bottom: 0.5rem; }
.vote-card h2 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 14px;
}
.vote-options { display: flex; flex-direction: column; gap: 8px; }
.vote-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: 12px;
  padding: 12px 16px;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  width: 100%;
  text-align: left;
  color: var(--ink);
  transition: all 120ms ease;
}
/* Only apply :hover on devices that actually support hover — otherwise the
   teal outline sticks on mobile after a tap. */
@media (hover: hover) {
  .vote-option:hover { border-color: var(--teal); }
}
.vote-option.selected { background: var(--mint); border-color: var(--teal); color: var(--deep-teal); }
.vote-option.disabled { opacity: 0.5; cursor: not-allowed; }
.vote-option .pct {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  color: var(--deep-teal);
}
.vote-option .bar-mini {
  position: absolute;
  left: 0; bottom: 0;
  height: 3px;
  background: var(--teal);
  transition: width 500ms ease;
}
.vote-option.with-results { position: relative; }
.vote-status {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--grey-700);
  text-align: center;
  min-height: 1.2em;
}
.vote-status .ok { color: var(--deep-teal); font-weight: 600; }
.vote-status .closed { color: var(--orange); font-weight: 600; }
.vote-intro {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--grey-700);
  line-height: 1.5;
}
.no-poll {
  text-align: center;
  padding: 48px 16px;
  color: var(--grey-700);
}

/* ---------- Login (passcode gate) ---------- */
.login-page {
  background: var(--ink);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: auto;
}
.login-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.2rem 2.2rem 2.4rem;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.login-card .h-section {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  margin-top: 0.5rem;
}
.login-card .lead { font-size: 1rem; margin-top: 0.4rem; }
.login-input {
  width: 100%;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 14px 16px;
  border: 1.5px solid var(--grey-200);
  border-radius: 10px;
  margin: 1.5rem 0 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.login-input:focus { outline: none; border-color: var(--teal); }
.login-btn {
  width: 100%;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 16px;
  background: var(--teal);
  color: var(--white);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: background 120ms ease;
}
.login-btn:hover { background: var(--deep-teal); }
.login-error {
  color: var(--orange);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.8rem;
  text-align: center;
  display: none;
}

/* ---------- Admin ---------- */
.admin-page { background: var(--ink); color: var(--white); min-height: 100vh; padding: 32px; }
.admin-wrap { max-width: 900px; margin: 0 auto; }
.admin-poll {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
}
.admin-poll h3 { font-family: 'Poppins', system-ui, sans-serif; font-weight: 700; color: var(--teal); }
.admin-controls { display: flex; gap: 8px; margin-top: 12px; }
.btn {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--teal);
  color: var(--white);
  border: 0;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
}
.btn.secondary { background: rgba(255,255,255,0.1); }
.btn.danger { background: var(--orange); }

/* ---------- Responsive (slides scale, but never wrap awkwardly) ---------- */
@media (max-width: 900px) {
  .slide { padding: 10vh 6vw; }
  .trap-grid { grid-template-columns: repeat(2, 1fr); }
  .maturity, .pillars { grid-template-columns: repeat(2, 1fr); }
  .poll-slide { flex-direction: column; gap: 1.5rem; }
  .split-numbers { grid-template-columns: 1fr; }
}
