/* SWITCH Beyond — Rogue AI presenter deck
   1920×1080 stage, scaled to the window.
   Palette matches the lab the room opens next. */

:root {
  --bg: #0a1628;
  --bg-deep: #07111f;
  --ink: #f3f6fb;
  --muted: #c5d0df;
  --dim: #8b9bb0;
  --line: #2a3f5c;
  --amber: #e6a322;
  --amber-ink: #1a1203;
  --hold: #8fd0a8;
  --hold-bg: #123024;
  --soft: #13233a;
}

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

html, body {
  width: 100%;
  height: 100%;
  background: var(--bg-deep);
  color: var(--ink);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

#viewport {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: var(--bg-deep);
}

#stage {
  width: 1920px;
  height: 1080px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(var(--s, 1));
  transform-origin: center center;
  background: var(--bg);
}

.slide {
  width: 1920px;
  height: 1080px;
  padding: 92px 112px 108px;
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(1200px 520px at 100% -10%, rgba(230, 163, 34, 0.08), transparent 60%),
    var(--bg);
}

.slide.active { display: flex; }

.foot {
  position: absolute;
  left: 112px;
  right: 112px;
  bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: var(--dim);
  font-size: 18px;
}

.foot b { color: var(--muted); font-weight: 500; }

h1 {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 0.98;
}

.lede {
  font-size: 32px;
  line-height: 1.35;
  color: var(--muted);
  max-width: 36em;
}
.lede + .lede { margin-top: 22px; }

.source {
  margin-top: auto;
  padding-top: 28px;
  color: var(--dim);
  font-size: 20px;
  line-height: 1.4;
}

/* title */
.title { justify-content: flex-start; padding-top: 250px; }
.title .when {
  color: var(--amber);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 28px;
}
.title h1 { font-size: 92px; max-width: 16ch; margin-bottom: 36px; }
.title .rule {
  width: 96px;
  height: 3px;
  background: var(--amber);
  margin-bottom: 28px;
}
.title .who { font-size: 28px; color: var(--muted); }

/* figure */
.figure h1 { font-size: 168px; color: var(--ink); margin: 8px 0 18px; }
.figure h1 em {
  font-style: normal;
  color: var(--amber);
}
.figure .claim {
  font-size: 40px;
  line-height: 1.25;
  max-width: 22em;
  font-weight: 500;
  margin-bottom: 28px;
}

/* prose slide */
.prose h1 { font-size: 64px; max-width: 18em; margin-bottom: 32px; }
.prose .lede { font-size: 30px; }

/* path */
.path h1 { font-size: 56px; margin-bottom: 36px; max-width: 18em; }
.path ol { list-style: none; display: flex; flex-direction: column; gap: 0; }
.path li {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 18px;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 30px;
}
.path li:last-child { border-bottom: 1px solid var(--line); }
.path .n {
  font-family: "IBM Plex Serif", Georgia, serif;
  color: var(--amber);
  font-size: 28px;
}
.path .soon { color: var(--dim); font-size: 22px; }
.path li.lab {
  background: rgba(230, 163, 34, 0.16);
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
  border-top-color: var(--amber);
  border-bottom-color: var(--amber);
}
.path li.lab .soon { color: var(--amber); font-weight: 600; }

/* split story */
.split { display: none; }
.split.active { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.split h1 { font-size: 58px; margin-bottom: 24px; }
.split .col p { font-size: 28px; line-height: 1.4; color: var(--muted); margin-bottom: 18px; }
.split .col strong { color: var(--ink); font-weight: 600; }
.split .date {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 28px;
  color: var(--amber);
  margin-bottom: 12px;
}

/* measure */
.measure h1 { font-size: 56px; margin-bottom: 28px; }
.measure .rows { display: flex; flex-direction: column; }
.measure .row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  font-size: 30px;
  line-height: 1.35;
}
.measure .row b { font-weight: 600; }
.measure .row span { color: var(--muted); }

/* controls */
.controls h1 { font-size: 52px; margin-bottom: 8px; }
.controls .deck { margin-top: 28px; }
.controls article {
  display: grid;
  grid-template-columns: 340px 1fr 280px;
  gap: 28px;
  align-items: baseline;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  font-size: 26px;
}
.controls article:last-child { border-bottom: 1px solid var(--line); }
.controls h2 { font-size: 28px; font-weight: 600; }
.controls p { color: var(--muted); }
.controls .tag {
  justify-self: end;
  font-size: 20px;
  color: var(--dim);
}
.controls article.holds .tag { color: var(--hold); }

/* checklist */
.check h1 { font-size: 48px; margin-bottom: 8px; }
.check .prompt {
  color: var(--amber);
  font-size: 24px;
  margin-bottom: 20px;
}
.check ol { list-style: none; counter-reset: q; }
.check li {
  counter-increment: q;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: baseline;
  font-size: 30px;
  line-height: 1.3;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.check li:last-child { border-bottom: 1px solid var(--line); }
.check li::before {
  content: counter(q);
  font-family: "IBM Plex Serif", Georgia, serif;
  color: var(--amber);
  font-size: 28px;
}

/* hour */
.hour h1 { font-size: 60px; margin-bottom: 36px; }
.hour ol { list-style: none; }
.hour li {
  font-size: 32px;
  line-height: 1.35;
  padding: 18px 0 18px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.hour li:last-child { border-bottom: 1px solid var(--line); }
.hour strong { color: var(--ink); font-weight: 600; }

/* close */
.close { justify-content: flex-end; padding-bottom: 150px; }
.close h1 { font-size: 68px; max-width: 16em; margin-bottom: 28px; }
.close .lede { font-size: 32px; }

#progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--amber);
  z-index: 5;
  width: 0;
}

#speaker {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 168px;
  padding: 22px 36px;
  background: #06101c;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 20px;
  line-height: 1.4;
  z-index: 6;
}
body.notes #viewport { bottom: 168px; }
body.notes #speaker { display: block; }

@media (prefers-reduced-motion: reduce) {
  #progress { transition: none; }
}
