@import url("fonts.css");

:root {
  --forest-950: #0c1c14;
  --forest-900: #10241a;
  --forest-800: #163126;
  --forest-700: #1e4233;
  --forest-600: #2c5a45;
  --forest-500: #4e7a62;
  --sage-400: #9db596;
  --sage-300: #bccbb5;
  --sage-200: #d6e0cf;
  --sage-100: #e7ece0;
  --paper: #f7f3ea;
  --paper-2: #efe8da;
  --white: #fffdf8;
  --ink: #1a1f1c;
  --ink-2: #434b45;
  --muted: #7a817b;
  --brass: #9c7a43;
  --brass-2: #c9a66b;
  --line: rgba(26, 31, 28, 0.12);
  --line-light: rgba(247, 243, 234, 0.16);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html, body {
  height: 100%;
  overflow: hidden;
  background: var(--forest-950);
}

body {
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ---------- Stage: fixed 1920x1080 canvas scaled to the window ---------- */

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

/* ---------- Top bar ---------- */

.topbar {
  position: absolute;
  inset: 0 0 auto 0;
  height: 96px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 48px;
  background: rgba(247, 243, 234, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), color 0.5s var(--ease);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--forest-800);
  flex-shrink: 0;
}

.brand-mark { width: 42px; height: 42px; color: var(--forest-700); }
.brand-mark .ring { stroke: var(--brass); }

.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand-sub {
  margin-top: 6px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
}

.nav a {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.nav a .num {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brass);
  font-variant-numeric: tabular-nums;
}
.nav a:hover { background: rgba(30, 66, 51, 0.07); color: var(--forest-700); }
.nav a.is-active { background: var(--forest-700); color: var(--paper); }
.nav a.is-active .num { color: var(--brass-2); }

.actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn .icon { width: 18px; height: 18px; stroke-width: 1.9; }
.btn:hover { transform: translateY(-1px); }

.btn-ghost { color: var(--forest-700); border-color: rgba(30, 66, 51, 0.28); background: transparent; }
.btn-ghost:hover { background: rgba(30, 66, 51, 0.07); }
.btn-ghost.is-active { background: var(--forest-700); color: var(--paper); border-color: var(--forest-700); }
.btn-solid { background: var(--forest-700); color: var(--paper); }
.btn-solid:hover { background: var(--forest-600); }
.btn-brass { background: var(--brass-2); color: var(--forest-950); }
.btn-brass:hover { background: #d6b77f; }
.btn-light { color: var(--paper); border-color: rgba(247, 243, 234, 0.4); }
.btn-light:hover { background: rgba(247, 243, 234, 0.1); }
.btn-lg { height: 60px; padding: 0 30px; font-size: 17px; gap: 12px; }
.btn-lg .icon { width: 20px; height: 20px; }

/* ---------- Bottom bar ---------- */

.bottombar {
  position: absolute;
  inset: auto 0 0 0;
  height: 72px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 0 56px;
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.5s var(--ease);
}

.footnote { white-space: nowrap; letter-spacing: 0.02em; }
.footnote .sep { margin: 0 10px; opacity: 0.5; }

.progress { flex: 1; display: flex; gap: 6px; }
.progress button {
  flex: 1;
  height: 14px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.progress button::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 6px;
  height: 3px;
  border-radius: 2px;
  background: rgba(26, 31, 28, 0.13);
  transition: background 0.4s var(--ease);
}
.progress button.is-done::after { background: var(--forest-600); }
.progress button.is-current::after { background: var(--brass); }

.controls { display: flex; align-items: center; gap: 10px; }
.counter {
  min-width: 70px;
  text-align: right;
  margin-right: 8px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}
.counter .of { opacity: 0.45; }

.ctrl {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--forest-700);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), opacity 0.25s, border-color 0.25s;
}
.ctrl .icon { width: 19px; height: 19px; stroke-width: 2; }
.ctrl:hover:not(:disabled) { background: var(--forest-700); color: var(--paper); border-color: var(--forest-700); }
.ctrl:disabled { opacity: 0.35; cursor: default; }

/* Dark chrome for dark slides */
.stage[data-theme="dark"] .topbar {
  background: rgba(12, 28, 20, 0.55);
  border-bottom-color: var(--line-light);
}
.stage[data-theme="dark"] .brand { color: var(--paper); }
.stage[data-theme="dark"] .brand-mark { color: var(--paper); }
.stage[data-theme="dark"] .brand-sub { color: rgba(247, 243, 234, 0.6); }
.stage[data-theme="dark"] .nav a { color: rgba(247, 243, 234, 0.78); }
.stage[data-theme="dark"] .nav a:hover { background: rgba(247, 243, 234, 0.08); color: var(--paper); }
.stage[data-theme="dark"] .nav a.is-active { background: var(--paper); color: var(--forest-800); }
.stage[data-theme="dark"] .nav a.is-active .num { color: var(--brass); }
.stage[data-theme="dark"] .nav a .num { color: var(--brass-2); }
.stage[data-theme="dark"] .btn-ghost { color: var(--paper); border-color: rgba(247, 243, 234, 0.35); }
.stage[data-theme="dark"] .btn-ghost:hover { background: rgba(247, 243, 234, 0.08); }
.stage[data-theme="dark"] .btn-solid { background: var(--paper); color: var(--forest-800); }
.stage[data-theme="dark"] .bottombar { color: rgba(247, 243, 234, 0.6); }
.stage[data-theme="dark"] .counter { color: var(--paper); }
.stage[data-theme="dark"] .progress button::after { background: rgba(247, 243, 234, 0.18); }
.stage[data-theme="dark"] .progress button.is-done::after { background: var(--sage-300); }
.stage[data-theme="dark"] .progress button.is-current::after { background: var(--brass-2); }
.stage[data-theme="dark"] .ctrl { background: rgba(247, 243, 234, 0.06); border-color: var(--line-light); color: var(--paper); }
.stage[data-theme="dark"] .ctrl:hover:not(:disabled) { background: var(--paper); color: var(--forest-800); }

/* ---------- Slides ---------- */

.slides { position: absolute; inset: 0; }

.slide {
  position: absolute;
  inset: 0;
  padding: 96px 0 72px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0s linear 0.6s;
}
.slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s var(--ease), visibility 0s;
  z-index: 2;
}

.slide-inner {
  height: 100%;
  padding: 64px 120px 36px;
  display: flex;
  flex-direction: column;
}

.slide.dark { background: var(--forest-800); color: var(--paper); }

/* Staggered entrance */
.rv { opacity: 0; transform: translateY(18px); }
.is-active .rv {
  animation: rise 0.9s var(--ease) forwards;
  animation-delay: calc(var(--d, 0) * 90ms + 120ms);
}
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .rv, .is-active .rv { animation: none; opacity: 1; transform: none; }
}

/* ---------- Typography ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.dark .eyebrow { color: var(--brass-2); }

.h2 {
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 380;
  font-size: 64px;
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: var(--forest-800);
  font-variation-settings: "opsz" 144;
}
.h2 em { font-style: italic; font-weight: 340; color: var(--forest-600); }
.dark .h2 { color: var(--paper); }
.dark .h2 em { color: var(--brass-2); }

.lede {
  font-size: 23px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 600px;
}
.dark .lede { color: var(--sage-200); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 80px;
  margin-bottom: 52px;
  flex-shrink: 0;
}
.section-head .lede { padding-bottom: 8px; }

/* ---------- Slide: Title ---------- */

.title-grid {
  display: grid;
  grid-template-columns: 1fr 760px;
  height: 100%;
}
.title-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 72px 24px 120px;
}
.display {
  margin-top: 36px;
  font-family: var(--serif);
  font-weight: 360;
  font-size: 150px;
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: var(--forest-800);
  font-variation-settings: "opsz" 144;
}
.display em { display: block; font-style: italic; font-weight: 320; color: var(--forest-600); }
.title-rule { width: 96px; height: 2px; background: var(--brass); margin: 48px 0 36px; }
.title-lede {
  max-width: 700px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 340;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--ink-2);
}
.title-meta {
  margin-top: 52px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.title-meta .pill {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  letter-spacing: 0.14em;
}

.title-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 80px;
  color: var(--paper);
  background:
    radial-gradient(700px 500px at 100% 0%, rgba(201, 166, 107, 0.14), transparent 60%),
    radial-gradient(600px 500px at 0% 100%, rgba(157, 181, 150, 0.12), transparent 60%),
    var(--forest-800);
}
.title-panel .eyebrow { color: var(--brass-2); }
.watermark {
  position: absolute;
  right: -260px;
  bottom: -300px;
  width: 760px;
  height: 760px;
  color: var(--brass-2);
  opacity: 0.35;
  pointer-events: none;
}

.index-list { list-style: none; margin-top: 36px; position: relative; }
.index-list li { border-top: 1px solid var(--line-light); }
.index-list li:last-child { border-bottom: 1px solid var(--line-light); }
.index-list a {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto;
  align-items: baseline;
  column-gap: 8px;
  padding: 24px 0;
  text-decoration: none;
  color: var(--paper);
  transition: padding 0.35s var(--ease), color 0.35s var(--ease);
}
.index-list a:hover { padding-left: 10px; color: var(--brass-2); }
.ix-num {
  grid-row: 1 / span 2;
  font-family: var(--serif);
  font-style: italic;
  font-size: 40px;
  font-weight: 340;
  line-height: 1;
  color: var(--brass-2);
}
.ix-title {
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 380;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.ix-sub {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.55);
}

/* ---------- Slide: Our approach ---------- */

.principle-cards {
  list-style: none;
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.principle-cards li {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px 48px 48px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--forest-700);
  border-radius: 6px;
  box-shadow: 0 24px 48px -36px rgba(16, 36, 26, 0.35);
}
.pc-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 96px;
  font-weight: 300;
  line-height: 1;
  color: var(--brass);
}
.pc-text {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 370;
  line-height: 1.14;
  letter-spacing: -0.018em;
  color: var(--forest-800);
}

.goal-row {
  list-style: none;
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--forest-700);
  border-radius: 6px;
  flex-shrink: 0;
}
.goal-row li {
  display: flex;
  gap: 14px;
  padding: 28px 32px;
  font-size: 19px;
  line-height: 1.45;
  color: var(--paper);
}
.goal-row li + li { border-left: 1px solid var(--line-light); }
.goal-row .icon {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--brass-2);
  stroke-width: 2;
}

/* ---------- Slide: Roadmap ---------- */

.roadmap {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
  gap: 36px;
  min-height: 0;
}
.phase { position: relative; display: flex; flex-direction: column; }
.phase-rail { position: relative; height: 72px; display: flex; align-items: center; margin-bottom: 32px; }
.phase-node {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--forest-700);
  color: var(--paper);
  box-shadow: 0 0 0 8px var(--paper);
}
.phase-node .icon { width: 30px; height: 30px; }
.phase-line {
  position: absolute;
  left: 72px;
  right: -36px;
  top: 50%;
  height: 2px;
  background: var(--forest-700);
  opacity: 0.25;
}
.phase:last-child .phase-line {
  right: 0;
  background: repeating-linear-gradient(90deg, var(--forest-700) 0 8px, transparent 8px 16px);
  opacity: 0.35;
}
.phase-when-tag {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 1;
}

.phase-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 48px 48px 52px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(26, 31, 28, 0.03), 0 24px 48px -32px rgba(16, 36, 26, 0.35);
}
.phase-step {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.phase-name {
  margin-top: 18px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--forest-700);
}
.phase-when {
  margin-top: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 40px;
  font-weight: 360;
  color: var(--brass);
}
.phase-text {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  font-size: 27px;
  line-height: 1.5;
  color: var(--ink-2);
}

/* ---------- Slide: Student pathway ---------- */

.pathway-wrap { flex: 1; display: flex; flex-direction: column; min-height: 0; }

.release-axis {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.release-axis .bar {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--sage-300), var(--forest-700));
  position: relative;
}
.release-axis .bar::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -5px;
  border-left: 10px solid var(--forest-700);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.steps {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: end;
}
.step {
  height: var(--h);
  padding: 30px 30px 32px;
  border-radius: 6px 6px 0 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg, var(--ink));
}
.step-grade {
  font-family: var(--serif);
  font-size: 58px;
  font-weight: 380;
  line-height: 1;
  letter-spacing: -0.02em;
}
.step-label {
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
}
.step-text {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid currentColor;
  border-top-color: color-mix(in srgb, currentColor 22%, transparent);
  font-size: 19.5px;
  line-height: 1.45;
}

.every-age {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brass);
  border-radius: 4px;
  flex-shrink: 0;
}
.every-age strong {
  font-family: var(--serif);
  font-style: italic;
  font-size: 27px;
  font-weight: 420;
  color: var(--forest-700);
  white-space: nowrap;
}
.every-age span { font-size: 21px; color: var(--ink-2); }

/* ---------- Slide: Professionals ---------- */

.pro-layout {
  flex: 1;
  min-height: 0;
  display: grid;
}

.pro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 22px;
}
.pro-card {
  display: flex;
  flex-direction: column;
  padding: 24px 30px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.pro-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 420;
  color: var(--forest-800);
}
.pro-title .glyph {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sage-100);
  color: var(--forest-700);
}
.pro-title .glyph .icon { width: 22px; height: 22px; stroke-width: 1.8; }

.pro-block { margin-top: 16px; }
.pro-block .tag { display: inline-block; }
.pro-block p {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.42;
  color: var(--ink-2);
}
.pro-block.student {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.pro-block.student p { color: var(--ink); font-weight: 500; }
.tag {
  justify-self: start;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag-ai { background: var(--paper-2); color: var(--muted); }
.tag-student { background: var(--forest-700); color: var(--paper); }

/* ---------- Slide: Permissions ---------- */

.perm-scale {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.perm-scale .bar {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--sage-300), var(--forest-700));
}

.perms {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.perm {
  display: flex;
  flex-direction: column;
  padding: 44px 40px 44px;
  border-radius: 6px;
  background: var(--bg);
  color: var(--fg, var(--ink));
  border: 1px solid var(--bd, transparent);
}
.perm-top { display: flex; align-items: center; justify-content: space-between; }
.perm-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ib);
  color: var(--ic);
}
.perm-icon .icon { width: 32px; height: 32px; }
.meter { display: flex; gap: 6px; align-items: flex-end; }
.meter span { width: 8px; border-radius: 2px; background: currentColor; opacity: 0.18; }
.meter span:nth-child(1) { height: 12px; }
.meter span:nth-child(2) { height: 20px; }
.meter span:nth-child(3) { height: 28px; }
.meter span.on { opacity: 0.9; }
.perm-level {
  margin-top: 56px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
}
.perm-name {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 380;
  line-height: 1.04;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.perm-text {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent);
  font-size: 23px;
  line-height: 1.48;
}

/* ---------- Slide: Safeguards (dark) ---------- */

.slide.safeguards-slide {
  background:
    radial-gradient(1200px 700px at 85% 10%, rgba(201, 166, 107, 0.12), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(157, 181, 150, 0.1), transparent 60%),
    var(--forest-800);
}

.guards {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
}
.guard {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 32px;
  align-items: center;
  padding: 40px 48px;
  border-radius: 6px;
  background: rgba(247, 243, 234, 0.045);
  border: 1px solid var(--line-light);
}
.guard-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 166, 107, 0.5);
  color: var(--brass-2);
}
.guard-icon .icon { width: 36px; height: 36px; stroke-width: 1.5; }
.guard-title {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 380;
  letter-spacing: -0.015em;
  color: var(--paper);
}
.guard-text {
  margin-top: 12px;
  font-size: 23px;
  line-height: 1.5;
  color: var(--sage-200);
}

/* ---------- Slide: Questions ---------- */

.slide.closing {
  padding: 0;
  color: var(--paper);
  background:
    radial-gradient(1100px 800px at 80% 45%, rgba(201, 166, 107, 0.13), transparent 60%),
    radial-gradient(900px 700px at 0% 100%, rgba(157, 181, 150, 0.1), transparent 60%),
    var(--forest-900);
}
.closing-mark {
  position: absolute;
  right: -40px;
  top: 50%;
  width: 940px;
  height: 940px;
  transform: translateY(-50%);
  color: var(--brass-2);
  opacity: 0.55;
  pointer-events: none;
}
.closing-copy {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 96px 120px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1100px;
}
.closing .display { color: var(--paper); font-size: 190px; }
.closing-tag {
  margin-top: 28px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 44px;
  font-weight: 340;
  color: var(--brass-2);
}
.closing-text { margin-top: 20px; max-width: 760px; font-size: 23px; line-height: 1.5; color: var(--sage-200); }
.closing-actions { margin-top: 52px; display: flex; gap: 16px; }

/* ---------- Research page ---------- */

.sources {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 22px;
}
.source {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 32px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.source:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 66, 51, 0.35);
  box-shadow: 0 28px 50px -30px rgba(16, 36, 26, 0.45);
}
.source-org {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}
.source-num { color: var(--muted); font-variant-numeric: tabular-nums; }
.source-title {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--forest-800);
}
.source-desc { margin-top: 14px; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.source-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--forest-600);
}
.source-foot .icon { width: 18px; height: 18px; stroke-width: 2; transition: transform 0.3s var(--ease); }
.source:hover .source-foot .icon { transform: translate(2px, -2px); }

.source.feature {
  background: var(--forest-700);
  border-color: var(--forest-700);
  color: var(--paper);
}
.source.feature .source-org { color: var(--brass-2); }
.source.feature .source-num { color: rgba(247, 243, 234, 0.55); }
.source.feature .source-title { color: var(--paper); }
.source.feature .source-desc { color: var(--sage-200); }
.source.feature .source-foot { color: var(--brass-2); border-top-color: var(--line-light); }
.source.feature:hover { border-color: var(--brass-2); }
