:root {
  color-scheme: dark;
  --bg: #070908;
  --ink: #f5f1e8;
  --muted: #b8c2bb;
  --quiet: #6f7c76;
  --line: rgba(245, 241, 232, 0.14);
  --panel: rgba(12, 17, 15, 0.7);
  --panel-strong: rgba(17, 23, 21, 0.88);
  --cyan: #4dc7d8;
  --green: #73c986;
  --amber: #e7b75f;
  --coral: #ef7c66;
  --violet: #a58ce9;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(77, 199, 216, 0.14), transparent 32rem),
    radial-gradient(circle at 82% 22%, rgba(231, 183, 95, 0.12), transparent 30rem),
    linear-gradient(135deg, #070908 0%, #0a0d0b 42%, #11120c 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

button,
input,
textarea,
select {
  font: inherit;
}

#constellation-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.42;
}

.ambient {
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(44px);
  opacity: 0.22;
}

.ambient-a {
  width: 24rem;
  height: 24rem;
  left: 8vw;
  bottom: 8vh;
  background: rgba(115, 201, 134, 0.26);
  animation: ambient-drift 18s ease-in-out infinite;
}

.ambient-b {
  width: 22rem;
  height: 22rem;
  right: 9vw;
  top: 9vh;
  background: rgba(239, 124, 102, 0.2);
  animation: ambient-drift 22s ease-in-out infinite reverse;
}

.deck {
  position: relative;
  z-index: 1;
  width: 100vw;
  height: 100svh;
}

.slide {
  width: 100%;
  height: 100svh;
  min-height: 0;
  padding: 4.25rem 5rem 4.75rem;
  display: flex;
  align-items: center;
  align-items: safe center;
  justify-content: center;
  overflow: hidden;
  overscroll-behavior: none;
}

.slide-shell {
  width: min(112rem, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(28rem, 0.86fr);
  gap: 4rem;
  align-items: center;
  transform: scale(var(--fit-scale, 1));
  transform-origin: center center;
  transition: transform 180ms ease;
}

.slide.hero-slide .slide-shell,
.slide.quote-slide .slide-shell,
.slide.closing-slide .slide-shell,
.slide.questions-slide .slide-shell {
  grid-template-columns: 1fr;
  place-items: center;
  text-align: center;
}

.copy {
  min-width: 0;
  animation: copy-in 560ms ease both;
}

.kicker {
  margin: 0 0 1.1rem;
  color: var(--amber);
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.eyebrow {
  color: var(--green);
}

h1,
h2,
p {
  margin: 0;
}

.title {
  max-width: 15ch;
  font-size: 5.4rem;
  line-height: 0.98;
  font-weight: 820;
  letter-spacing: 0;
}

.hero-slide .title,
.closing-slide .title {
  max-width: 14ch;
  margin: 0 auto;
  font-size: 6.1rem;
}

.quote-slide .title {
  max-width: 17ch;
  margin: 0 auto;
  font-size: 4.9rem;
}

.subtitle {
  max-width: 44rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 1.55rem;
  line-height: 1.35;
}

.hero-slide .subtitle,
.closing-slide .subtitle,
.quote-slide .subtitle,
.questions-slide .subtitle {
  margin-right: auto;
  margin-left: auto;
}

.statement {
  max-width: 44rem;
  margin-top: 1.6rem;
  color: var(--ink);
  font-size: 2.15rem;
  line-height: 1.18;
  font-weight: 760;
}

.statement strong {
  color: var(--cyan);
}

.support {
  max-width: 42rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 1.28rem;
  line-height: 1.5;
}

.byline {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.bullet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 43rem;
  margin: 1.7rem 0 0;
  padding: 0;
  list-style: none;
}

.bullet-list {
  display: grid;
  gap: 0.8rem;
  max-width: 42rem;
  margin: 1.7rem 0 0;
  padding: 0;
  list-style: none;
}

.bullet-list.compact {
  gap: 0.6rem;
}

.bullet {
  position: relative;
  min-height: 3.5rem;
  padding: 0.86rem 1rem 0.86rem 2.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(245, 241, 232, 0.06), rgba(245, 241, 232, 0.025));
  color: var(--ink);
  font-size: 1.03rem;
  line-height: 1.35;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(0.75rem);
  animation: item-in 520ms ease both;
  animation-delay: calc(var(--i) * 70ms + 220ms);
}

.bullet::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.12rem;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: var(--accent, var(--cyan));
  box-shadow: 0 0 0 0.3rem rgba(77, 199, 216, 0.08);
}

.bullet:nth-child(4n + 1) {
  --accent: var(--cyan);
}

.bullet:nth-child(4n + 2) {
  --accent: var(--green);
}

.bullet:nth-child(4n + 3) {
  --accent: var(--amber);
}

.bullet:nth-child(4n) {
  --accent: var(--coral);
}

.visual {
  min-width: 0;
  min-height: 28rem;
  position: relative;
  animation: visual-in 720ms ease both;
}

.hero-visual,
.visual-stage {
  position: relative;
  width: 100%;
  min-height: 32rem;
}

.hero-visual {
  max-width: 52rem;
  margin: 3rem auto 0;
  min-height: 22rem;
}

.constellation-map,
.role-map,
.orbit-visual,
.system-visual,
.flow-visual,
.timeline-visual,
.ladder-visual,
.loop-visual,
.horizon-visual,
.paths-visual,
.extract-visual,
.medical-visual,
.problem-visual,
.mode-visual,
.before-after-visual {
  position: relative;
  width: 100%;
  min-height: 32rem;
  border: 1px solid rgba(245, 241, 232, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(13, 20, 18, 0.78), rgba(17, 17, 13, 0.62)),
    radial-gradient(circle at 50% 50%, rgba(77, 199, 216, 0.12), transparent 18rem);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.constellation-map::before,
.role-map::before,
.orbit-visual::before,
.system-visual::before,
.flow-visual::before,
.timeline-visual::before,
.ladder-visual::before,
.loop-visual::before,
.horizon-visual::before,
.paths-visual::before,
.extract-visual::before,
.medical-visual::before,
.problem-visual::before,
.mode-visual::before,
.before-after-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 241, 232, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 241, 232, 0.04) 1px, transparent 1px);
  background-size: 3rem 3rem;
  mask-image: radial-gradient(circle at 50% 50%, #000 12rem, transparent 28rem);
  opacity: 0.62;
}

.map-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-lines line,
.map-lines path {
  stroke: rgba(245, 241, 232, 0.22);
  stroke-width: 0.55;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: draw-line 1100ms ease forwards;
  animation-delay: 260ms;
}

.map-lines .warm-line {
  stroke: rgba(231, 183, 95, 0.45);
}

.map-lines .cool-line {
  stroke: rgba(77, 199, 216, 0.45);
}

.map-node,
.core-node,
.orbit-node,
.system-node,
.flow-node,
.domain-node,
.mode-node,
.path-node,
.loop-node,
.medical-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%) scale(0.94);
  min-width: 7.4rem;
  padding: 0.78rem 0.95rem;
  border: 1px solid rgba(245, 241, 232, 0.18);
  border-radius: 8px;
  background: rgba(7, 9, 8, 0.78);
  color: var(--ink);
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.25;
  font-weight: 740;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  opacity: 0;
  animation: node-in 620ms ease both;
  animation-delay: calc(var(--i) * 85ms + 260ms);
}

.core-node {
  min-width: 8.7rem;
  min-height: 8.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border-color: rgba(77, 199, 216, 0.5);
  background:
    radial-gradient(circle, rgba(77, 199, 216, 0.38), rgba(7, 9, 8, 0.8) 62%),
    rgba(7, 9, 8, 0.9);
  color: #ffffff;
  font-size: 1.3rem;
  box-shadow:
    0 0 0 0.75rem rgba(77, 199, 216, 0.08),
    0 0 5rem rgba(77, 199, 216, 0.24);
}

.human-orbit {
  position: absolute;
  inset: 0;
}

.human-core {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 8rem;
  height: 8rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, var(--ink) 0 0.75rem, transparent 0.78rem),
    linear-gradient(var(--ink) 0 0) 50% 54% / 2.4rem 3.7rem no-repeat,
    radial-gradient(circle, rgba(77, 199, 216, 0.26), rgba(7, 9, 8, 0.2) 70%);
  box-shadow:
    0 0 0 1px rgba(245, 241, 232, 0.16),
    0 0 4.2rem rgba(77, 199, 216, 0.35);
  animation: pulse-core 4.8s ease-in-out infinite;
}

.orbit-ring {
  position: absolute;
  left: 50%;
  top: 52%;
  width: var(--size);
  height: var(--size);
  border: 1px solid rgba(245, 241, 232, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(var(--rot));
}

.orbit-ring::after {
  content: "";
  position: absolute;
  left: 9%;
  top: 28%;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--dot, var(--cyan));
  box-shadow: 0 0 1.4rem var(--dot, var(--cyan));
}

.isolation-grid {
  position: absolute;
  inset: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.isolation-box {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 8rem;
  border: 1px solid rgba(245, 241, 232, 0.16);
  border-radius: 8px;
  background: rgba(245, 241, 232, 0.045);
  color: var(--muted);
  font-weight: 760;
  text-align: center;
  overflow: hidden;
  opacity: 0;
  transform: translateY(0.7rem);
  animation: item-in 560ms ease both;
  animation-delay: calc(var(--i) * 80ms + 180ms);
}

.isolation-box.highlight {
  color: var(--ink);
  border-color: rgba(77, 199, 216, 0.42);
  background: rgba(77, 199, 216, 0.1);
}

.isolation-box::after {
  content: "";
  position: absolute;
  inset: 0;
  border-right: 1px solid rgba(245, 241, 232, 0.14);
  border-left: 1px solid rgba(245, 241, 232, 0.08);
  transform: skewX(-18deg) translateX(-40%);
}

.timeline-rail {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--amber), var(--coral));
  transform-origin: left;
  animation: rail-grow 1000ms ease both;
}

.timeline-dot {
  position: absolute;
  left: var(--x);
  top: 50%;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 1.4rem var(--accent);
  transform: translate(-50%, -50%) scale(0.2);
  animation: dot-pop 520ms ease both;
  animation-delay: calc(var(--i) * 120ms + 360ms);
}

.timeline-label {
  position: absolute;
  left: var(--x);
  top: calc(50% + var(--offset));
  width: 8.5rem;
  transform: translateX(-50%);
  color: var(--ink);
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.25;
  font-weight: 740;
  opacity: 0;
  animation: fade-in 500ms ease both;
  animation-delay: calc(var(--i) * 120ms + 500ms);
}

.mode-cluster {
  position: absolute;
  inset: 2.2rem;
}

.chat-window {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12rem;
  min-height: 12rem;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(77, 199, 216, 0.35);
  border-radius: 8px;
  background: rgba(7, 9, 8, 0.82);
  box-shadow: 0 0 3.5rem rgba(77, 199, 216, 0.16);
}

.chat-window::before,
.chat-window::after {
  content: "";
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  height: 0.55rem;
  border-radius: 99px;
  background: rgba(245, 241, 232, 0.18);
}

.chat-window::before {
  top: 2rem;
}

.chat-window::after {
  top: 3.3rem;
  right: 3rem;
  background: rgba(77, 199, 216, 0.34);
}

.before-after-columns {
  position: absolute;
  inset: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.comparison-column {
  position: relative;
  padding: 1.25rem;
  border: 1px solid rgba(245, 241, 232, 0.14);
  border-radius: 8px;
  background: rgba(7, 9, 8, 0.62);
  overflow: hidden;
}

.comparison-column.after {
  border-color: rgba(115, 201, 134, 0.34);
}

.comparison-title {
  color: var(--amber);
  font-size: 0.9rem;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.comparison-column.after .comparison-title {
  color: var(--green);
}

.comparison-items {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.comparison-item {
  padding: 0.72rem 0.85rem;
  border-radius: 8px;
  background: rgba(245, 241, 232, 0.055);
  color: var(--muted);
  font-weight: 680;
  opacity: 0;
  transform: translateX(-0.7rem);
  animation: slide-item 540ms ease both;
  animation-delay: calc(var(--i) * 80ms + 220ms);
}

.after .comparison-item {
  color: var(--ink);
  transform: translateX(0.7rem);
}

.system-center {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 9.6rem;
  height: 9.6rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, rgba(77, 199, 216, 0.32), rgba(7, 9, 8, 0.82) 70%),
    rgba(7, 9, 8, 0.9);
  border: 1px solid rgba(77, 199, 216, 0.44);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 820;
  box-shadow: 0 0 4.5rem rgba(77, 199, 216, 0.22);
}

.flow-row {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 45%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.55rem;
}

.flow-node {
  position: static;
  transform: none;
  min-width: 0;
  min-height: 5rem;
  display: grid;
  place-items: center;
}

.flow-caption {
  position: absolute;
  left: 9%;
  right: 9%;
  bottom: 2.2rem;
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.tag {
  padding: 0.5rem 0.72rem;
  border: 1px solid rgba(245, 241, 232, 0.13);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(7, 9, 8, 0.64);
  font-size: 0.84rem;
  font-weight: 720;
  opacity: 0;
  animation: item-in 520ms ease both;
  animation-delay: calc(var(--i) * 70ms + 720ms);
}

.problem-canvas {
  position: absolute;
  inset: 2rem;
}

.problem-topic {
  position: absolute;
  padding: 0.72rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(245, 241, 232, 0.15);
  background: rgba(7, 9, 8, 0.72);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 730;
  opacity: 0;
  transform: translateY(0.7rem);
  animation: item-in 560ms ease both;
  animation-delay: calc(var(--i) * 90ms + 250ms);
}

.extract-lanes {
  position: absolute;
  inset: 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0.9rem;
  align-items: center;
}

.extract-block {
  min-height: 15rem;
  padding: 1rem;
  border: 1px solid rgba(245, 241, 232, 0.14);
  border-radius: 8px;
  background: rgba(7, 9, 8, 0.66);
}

.extract-title {
  color: var(--amber);
  font-size: 0.84rem;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.extract-line {
  height: 0.62rem;
  margin-top: 0.9rem;
  border-radius: 999px;
  background: rgba(245, 241, 232, 0.16);
}

.extract-line.short {
  width: 62%;
}

.extract-line.green {
  background: rgba(115, 201, 134, 0.35);
}

.extract-line.cyan {
  background: rgba(77, 199, 216, 0.35);
}

.extract-arrow {
  color: var(--quiet);
  font-size: 1.9rem;
  font-weight: 800;
}

.ladder-steps {
  position: absolute;
  left: 14%;
  right: 10%;
  bottom: 2.4rem;
  display: grid;
  gap: 0.65rem;
}

.ladder-step {
  height: 2.75rem;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  border: 1px solid rgba(245, 241, 232, 0.13);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(77, 199, 216, 0.13), rgba(245, 241, 232, 0.045));
  color: var(--ink);
  font-weight: 740;
  transform-origin: left;
  opacity: 0;
  animation: step-grow 580ms ease both;
  animation-delay: calc(var(--i) * 90ms + 220ms);
}

.role-map .map-node {
  min-width: 8.5rem;
}

.paths-wrap {
  position: absolute;
  inset: 2rem;
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 1.2rem;
  align-items: end;
}

.path-track {
  position: relative;
  min-height: 23rem;
  border: 1px solid rgba(245, 241, 232, 0.13);
  border-radius: 8px;
  background: rgba(7, 9, 8, 0.58);
  overflow: hidden;
}

.path-track::before {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 4rem;
  height: 3px;
  background: var(--accent);
  transform-origin: left;
  animation: rail-grow 900ms ease both;
}

.path-track.growth::before {
  left: 12%;
  right: 10%;
  bottom: 5rem;
  height: 3px;
  transform: rotate(-18deg);
  transform-origin: left;
  animation-name: growth-rail;
}

.path-title {
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.path-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.loop-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 23rem;
  height: 23rem;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(245, 241, 232, 0.16);
  border-radius: 50%;
}

.loop-ring::before {
  content: "";
  position: absolute;
  inset: 1.2rem;
  border: 2px solid rgba(77, 199, 216, 0.34);
  border-left-color: rgba(231, 183, 95, 0.5);
  border-bottom-color: rgba(115, 201, 134, 0.44);
  border-radius: 50%;
  animation: slow-spin 20s linear infinite;
}

.quote-frame {
  position: relative;
  width: min(74rem, 100%);
  margin: 0 auto;
  padding: 2rem 0;
}

.quote-frame::before,
.quote-frame::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 241, 232, 0.32), transparent);
}

.quote-frame::before {
  margin-bottom: 2.4rem;
}

.quote-frame::after {
  margin-top: 2.4rem;
}

.horizon-visual {
  max-width: 62rem;
  min-height: 18rem;
  margin: 2.5rem auto 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.horizon-visual::before {
  display: none;
}

.horizon-line {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 30%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(245, 241, 232, 0.32), transparent);
}

.horizon-node {
  position: absolute;
  left: var(--x);
  bottom: var(--y);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 2rem var(--accent);
  opacity: 0;
  animation: dot-pop 700ms ease both;
  animation-delay: calc(var(--i) * 110ms + 260ms);
}

.questions-list {
  display: grid;
  gap: 0.9rem;
  width: min(48rem, 100%);
  margin: 2rem auto 0;
}

.question-item {
  padding: 1rem 1.2rem;
  border: 1px solid rgba(245, 241, 232, 0.14);
  border-radius: 8px;
  background: rgba(7, 9, 8, 0.52);
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(0.7rem);
  animation: item-in 520ms ease both;
  animation-delay: calc(var(--i) * 80ms + 260ms);
}

.speaker-notes {
  position: fixed;
  z-index: 6;
  top: 1rem;
  right: 1rem;
  bottom: 1rem;
  width: min(34rem, calc(100vw - 2rem));
  display: flex;
  flex-direction: column;
  padding: 1.1rem;
  border: 1px solid rgba(245, 241, 232, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(17, 23, 21, 0.96), rgba(8, 11, 10, 0.96)),
    var(--panel-strong);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.54);
  transform: translateX(calc(100% + 1.5rem));
  transition: transform 260ms ease;
}

body.notes-visible .speaker-notes {
  transform: translateX(0);
}

.notes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(245, 241, 232, 0.12);
}

.notes-kicker {
  margin: 0;
  color: var(--amber);
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.notes-close {
  min-width: 4.2rem;
  min-height: 2rem;
  border: 1px solid rgba(245, 241, 232, 0.16);
  border-radius: 8px;
  background: rgba(245, 241, 232, 0.06);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 760;
}

.notes-close:focus-visible {
  outline: 2px solid rgba(77, 199, 216, 0.7);
  outline-offset: 2px;
}

.notes-title {
  margin: 1rem 0 0.85rem;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 820;
  letter-spacing: 0;
}

.notes-body {
  min-height: 0;
  overflow: auto;
  padding-right: 0.45rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.52;
}

.note-card {
  position: relative;
  margin: 0 0 0.9rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(245, 241, 232, 0.1);
  border-radius: 8px;
  background: rgba(245, 241, 232, 0.045);
}

.note-card p {
  margin: 0.45rem 0 0;
}

.note-say {
  border-color: rgba(231, 183, 95, 0.36);
  background:
    linear-gradient(135deg, rgba(231, 183, 95, 0.15), rgba(245, 241, 232, 0.055)),
    rgba(7, 9, 8, 0.74);
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 680;
}

.note-cue {
  color: rgba(184, 194, 187, 0.82);
}

.note-label {
  display: inline-flex;
  align-items: center;
  min-height: 1.35rem;
  padding: 0.16rem 0.45rem;
  border-radius: 999px;
  background: rgba(245, 241, 232, 0.08);
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.note-say .note-label {
  background: rgba(231, 183, 95, 0.18);
  color: var(--amber);
}

.notes-help {
  margin: 0.8rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(245, 241, 232, 0.12);
  color: rgba(245, 241, 232, 0.56);
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 700;
}

.presentation-ui {
  position: fixed;
  z-index: 4;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.1rem;
  pointer-events: none;
}

.progress-track {
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(245, 241, 232, 0.1);
}

.progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--amber), var(--coral));
  transition: width 320ms ease;
}

.status-line {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) 4.8rem;
  gap: 1rem;
  align-items: center;
  margin-top: 0.72rem;
  color: rgba(245, 241, 232, 0.62);
  font-size: 0.82rem;
  line-height: 1.2;
  font-weight: 650;
}

#slide-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

#timer {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.nav-zone {
  position: fixed;
  z-index: 3;
  top: 0;
  bottom: 0;
  width: 22vw;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-zone-left {
  left: 0;
}

.nav-zone-right {
  right: 0;
}

.nav-zone:focus-visible {
  outline: 2px solid rgba(77, 199, 216, 0.7);
  outline-offset: -0.6rem;
}

@keyframes copy-in {
  from {
    opacity: 0;
    transform: translateY(0.9rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes visual-in {
  from {
    opacity: 0;
    transform: translateY(1rem) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes item-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-item {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes node-in {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes rail-grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes growth-rail {
  from {
    transform: rotate(-18deg) scaleX(0);
  }
  to {
    transform: rotate(-18deg) scaleX(1);
  }
}

@keyframes dot-pop {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes fade-in {
  to {
    opacity: 1;
  }
}

@keyframes step-grow {
  from {
    opacity: 0;
    transform: scaleX(0.65) translateY(0.4rem);
  }
  to {
    opacity: 1;
    transform: scaleX(1) translateY(0);
  }
}

@keyframes pulse-core {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow:
      0 0 0 1px rgba(245, 241, 232, 0.16),
      0 0 4.2rem rgba(77, 199, 216, 0.35);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.035);
    box-shadow:
      0 0 0 1px rgba(245, 241, 232, 0.22),
      0 0 5.4rem rgba(77, 199, 216, 0.48);
  }
}

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ambient-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(1.2rem, -1.1rem, 0);
  }
}

@media (max-height: 860px) and (min-width: 901px) {
  .slide {
    padding: 2.35rem 3.4rem 3.65rem;
  }

  .slide-shell {
    grid-template-columns: minmax(0, 0.98fr) minmax(22rem, 0.82fr);
    gap: 2.35rem;
  }

  .slide.hero-slide .slide-shell,
  .slide.quote-slide .slide-shell,
  .slide.closing-slide .slide-shell,
  .slide.questions-slide .slide-shell {
    gap: 1.1rem;
  }

  .kicker {
    margin-bottom: 0.65rem;
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .title {
    max-width: 18ch;
    font-size: 3.65rem;
    line-height: 1;
  }

  .hero-slide .title,
  .closing-slide .title {
    font-size: 4.25rem;
  }

  .quote-slide .title {
    font-size: 3.8rem;
  }

  .subtitle {
    margin-top: 0.9rem;
    font-size: 1.18rem;
    line-height: 1.3;
  }

  .statement {
    margin-top: 1rem;
    font-size: 1.55rem;
    line-height: 1.18;
  }

  .support {
    margin-top: 0.85rem;
    font-size: 1.02rem;
    line-height: 1.38;
  }

  .byline {
    margin-top: 1rem;
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .bullet-grid,
  .bullet-list {
    gap: 0.55rem;
    margin-top: 1rem;
  }

  .bullet {
    min-height: 2.75rem;
    padding: 0.62rem 0.8rem 0.62rem 2.1rem;
    font-size: 0.88rem;
    line-height: 1.25;
  }

  .bullet::before {
    left: 0.82rem;
    top: 0.9rem;
    width: 0.5rem;
    height: 0.5rem;
  }

  .visual {
    min-height: 20.5rem;
  }

  .hero-visual,
  .constellation-map,
  .role-map,
  .orbit-visual,
  .system-visual,
  .flow-visual,
  .timeline-visual,
  .ladder-visual,
  .loop-visual,
  .paths-visual,
  .extract-visual,
  .medical-visual,
  .problem-visual,
  .mode-visual,
  .before-after-visual {
    min-height: 21.5rem;
  }

  .hero-visual {
    margin-top: 1.25rem;
  }

  .horizon-visual {
    min-height: 11rem;
    margin-top: 1rem;
  }

  .questions-list {
    gap: 0.6rem;
    margin-top: 1.25rem;
  }

  .question-item {
    padding: 0.75rem 0.9rem;
    font-size: 0.95rem;
    line-height: 1.28;
  }

  .dense-slide .title {
    max-width: 20ch;
    font-size: 3.05rem;
    line-height: 0.98;
  }

  .dense-slide .statement {
    margin-top: 0.72rem;
    font-size: 1.28rem;
    line-height: 1.14;
  }

  .dense-slide .bullet-list,
  .dense-slide .bullet-grid {
    gap: 0.42rem;
    margin-top: 0.75rem;
  }

  .dense-slide .bullet {
    min-height: 2.35rem;
    padding: 0.5rem 0.72rem 0.5rem 1.9rem;
    font-size: 0.8rem;
    line-height: 1.2;
  }

  .dense-slide .bullet::before {
    left: 0.72rem;
    top: 0.72rem;
  }
}

@media (max-height: 700px) and (min-width: 901px) {
  .slide {
    padding-top: 1.65rem;
    padding-bottom: 3.2rem;
  }

  .title {
    font-size: 3.35rem;
  }

  .hero-slide .title,
  .closing-slide .title {
    font-size: 3.8rem;
  }

  .statement {
    font-size: 1.32rem;
  }

  .visual,
  .hero-visual,
  .constellation-map,
  .role-map,
  .orbit-visual,
  .system-visual,
  .flow-visual,
  .timeline-visual,
  .ladder-visual,
  .loop-visual,
  .paths-visual,
  .extract-visual,
  .medical-visual,
  .problem-visual,
  .mode-visual,
  .before-after-visual {
    min-height: 18rem;
  }

  .horizon-visual {
    min-height: 8rem;
  }
}

@media (max-width: 900px) {
  .slide {
    padding: 3.5rem 2.2rem 4.5rem;
  }

  .slide-shell {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .visual {
    min-height: 24rem;
  }

  .constellation-map,
  .role-map,
  .orbit-visual,
  .system-visual,
  .flow-visual,
  .timeline-visual,
  .ladder-visual,
  .loop-visual,
  .paths-visual,
  .extract-visual,
  .medical-visual,
  .problem-visual,
  .mode-visual,
  .before-after-visual {
    min-height: 24rem;
  }

  .title {
    max-width: 18ch;
    font-size: 4.3rem;
  }

  .hero-slide .title,
  .closing-slide .title {
    font-size: 4.9rem;
  }
}

@media (max-width: 720px) {
  body {
    overflow: auto;
  }

  .deck {
    min-height: 100svh;
    height: auto;
  }

  .slide {
    min-height: 100svh;
    padding: 2.2rem 1rem 5rem;
  }

  .title,
  .hero-slide .title,
  .closing-slide .title,
  .quote-slide .title {
    font-size: 3rem;
  }

  .subtitle {
    font-size: 1.12rem;
  }

  .statement {
    font-size: 1.45rem;
  }

  .support {
    font-size: 1rem;
  }

  .bullet-grid {
    grid-template-columns: 1fr;
  }

  .bullet {
    min-height: 0;
    font-size: 0.94rem;
  }

  .visual {
    min-height: 21rem;
  }

  .flow-row {
    top: 17%;
    bottom: 14%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: center;
  }

  .extract-lanes,
  .paths-wrap,
  .before-after-columns {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .extract-arrow {
    display: none;
  }

  .status-line {
    grid-template-columns: 4.2rem minmax(0, 1fr) 4.2rem;
    font-size: 0.76rem;
  }

  .speaker-notes {
    inset: 0.75rem;
    width: auto;
  }

  .notes-body {
    font-size: 0.94rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
