:root {
  --stage-bg: #050505;
  --slide-bg: #050505;
  --ink: #fff7e8;
  --muted: rgba(255, 247, 232, 0.68);
  --soft: rgba(255, 247, 232, 0.12);
  --line: rgba(255, 247, 232, 0.2);
  --line-strong: rgba(255, 247, 232, 0.45);
  --orange: #ff5a1f;
  --yellow: #f4d35e;
  --mint: #28f0aa;
  --cyan: #36d8ff;
  --paper: #fff7e8;
  --black: #050505;
  --deep: #10100e;
  --font-display: "Anton", sans-serif;
  --font-body: "Noto Sans SC", sans-serif;
  --font-mono: "DM Mono", monospace;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-normal: 0.7s;
}

* {
  box-sizing: border-box;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

/* ===========================================
   FIXED 16:9 STAGE: MANDATORY BASE STYLES
   Include this ENTIRE file in every presentation.
   Slides are authored at 1920x1080 and scaled as a whole.
   =========================================== */

/* 1. Lock the browser viewport */
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--stage-bg, #000);
}

/* 2. Full-window deck viewport */
.deck-viewport {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: var(--stage-bg, #000);
}

/* 3. Fixed 16:9 design canvas.
   JavaScript sets transform: translate(...) scale(...). */
.deck-stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  transform-origin: 0 0;
  background: var(--slide-bg, #fff);
}

/* 4. Slides stack inside the fixed stage.
   Content must be laid out at 1920x1080, not reflowed per device. */
.slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background: var(--slide-bg, #fff);
}

.slide.active,
.slide.visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

/* 5. Keep media inside authored slide bounds */
img,
video,
canvas,
svg {
  max-width: 100%;
  max-height: 100%;
}

/* 6. Presentation chrome stays outside the slide design system */
.deck-controls {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 1000;
}

/* 7. Print one fixed-size slide per page */
@media print {
  html,
  body {
    width: 1920px;
    height: auto;
    overflow: visible;
    background: #fff;
  }

  .deck-viewport {
    position: static;
    overflow: visible;
    background: #fff;
  }

  .deck-stage {
    position: static;
    width: auto;
    height: auto;
    transform: none !important;
    background: none;
  }

  .slide {
    position: relative;
    display: block !important;
    width: 1920px;
    height: 1080px;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    break-after: page;
    page-break-after: always;
  }

  .slide:last-child {
    break-after: auto;
    page-break-after: auto;
  }

  .deck-controls,
  .notes-panel {
    display: none !important;
  }
}

/* 8. Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.2s !important;
  }
}

body {
  color: var(--ink);
  font-family: var(--font-body);
  letter-spacing: 0;
}

.slide {
  padding: 86px;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 90, 31, 0.34), transparent 22%),
    radial-gradient(circle at 86% 88%, rgba(40, 240, 170, 0.22), transparent 26%),
    linear-gradient(135deg, #050505 0%, #11100e 52%, #050505 100%);
}

.slide::before {
  position: absolute;
  inset: 28px;
  border: 1px solid var(--line);
  pointer-events: none;
  content: "";
}

.slide::after {
  position: absolute;
  right: 58px;
  bottom: 42px;
  color: rgba(255, 247, 232, 0.38);
  font-family: var(--font-mono);
  font-size: 18px;
  content: attr(data-part) " / " attr(data-section);
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.kicker {
  margin: 0 0 22px;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  max-width: 1120px;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  color: var(--paper);
  font-size: 156px;
  line-height: 0.92;
}

h2 {
  color: var(--paper);
  font-size: 96px;
  line-height: 0.98;
}

.case-copy h2,
.codex-copy h2,
.copy-block h2 {
  font-size: 84px;
  line-height: 1.05;
}

h3 {
  color: var(--paper);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.12;
}

.lead,
.slide p {
  max-width: 780px;
  color: var(--muted);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.45;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--duration-normal) var(--ease-out-expo),
    transform var(--duration-normal) var(--ease-out-expo);
}

.slide.visible .reveal {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

.delay-3 {
  transition-delay: 0.36s;
}

.delay-4 {
  transition-delay: 0.48s;
}

.slide-cover {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.cover-copy h2 {
  margin-top: 12px;
  color: var(--orange);
}

.cover-copy .lead {
  margin-top: 36px;
}

.cover-strip {
  position: absolute;
  left: 86px;
  bottom: 86px;
  display: flex;
  gap: 12px;
}

.cover-strip span,
.corner-label,
.media-topline,
.progress-pill,
.control-button,
.mini-media span,
.file-card span,
.inventory-grid span,
.story-cards span {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cover-strip span {
  min-width: 120px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  color: var(--paper);
  font-size: 18px;
  text-align: center;
}

.media-placeholder {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(255, 247, 232, 0.1), rgba(255, 247, 232, 0.02)),
    repeating-linear-gradient(-35deg, transparent 0 18px, rgba(255, 247, 232, 0.045) 18px 20px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

.media-placeholder::before {
  position: absolute;
  inset: 0;
  border: 0 solid transparent;
  background:
    linear-gradient(90deg, rgba(255, 90, 31, 0.22), transparent 34%),
    radial-gradient(circle at 72% 22%, rgba(54, 216, 255, 0.3), transparent 20%);
  opacity: 0.75;
  content: "";
}

.media-placeholder figcaption {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 26px 30px;
  color: rgba(255, 247, 232, 0.84);
  font-size: 22px;
  line-height: 1.4;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82) 18%);
}

.media-placeholder figcaption strong {
  color: var(--paper);
}

.media-placeholder figcaption em {
  display: block;
  margin-top: 10px;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 17px;
  font-style: normal;
}

.ai-usage-map {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 78px 86px 74px;
  background:
    radial-gradient(circle at 14% 14%, rgba(54, 216, 255, 0.28), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(255, 90, 31, 0.3), transparent 22%),
    linear-gradient(135deg, #050505 0%, #13110e 58%, #050505 100%);
}

.usage-title {
  position: relative;
  z-index: 2;
}

.usage-title h2 {
  max-width: 1600px;
  color: var(--paper);
  font-size: 88px;
  line-height: 1.04;
}

.usage-wall {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 740px repeat(3, 304px);
  gap: 32px;
  height: 760px;
}

.usage-card {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: 64px minmax(0, 1fr);
  gap: 16px;
  overflow: hidden;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(255, 247, 232, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 247, 232, 0.16), rgba(255, 247, 232, 0.04)),
    rgba(5, 5, 5, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.usage-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  color: var(--paper);
  font-size: 25px;
  font-weight: 900;
}

.usage-brand img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(255, 247, 232, 0.92);
}

.usage-brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-shot {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.phone-shot .usage-brand {
  padding: 0 4px;
}

.web-shot-frame {
  display: grid;
  min-height: 0;
  grid-template-rows: 54px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(5, 5, 5, 0.16);
  border-radius: 8px;
  background: #f7f7f5;
}

.web-shot-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(5, 5, 5, 0.12);
  background: #ffffff;
  color: rgba(5, 5, 5, 0.48);
  font-family: var(--font-mono);
  font-size: 16px;
}

.web-shot-bar i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ff5a1f;
}

.web-shot-bar i:nth-child(2) {
  background: #f4d35e;
}

.web-shot-bar i:nth-child(3) {
  margin-right: 10px;
  background: #28f0aa;
}

.web-shot-scroll {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: #ffffff;
  overscroll-behavior: contain;
}

.web-shot-scroll img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
}

.web-shot-scroll::-webkit-scrollbar {
  width: 12px;
}

.web-shot-scroll::-webkit-scrollbar-track {
  background: rgba(5, 5, 5, 0.08);
}

.web-shot-scroll::-webkit-scrollbar-thumb {
  border: 3px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.34);
}

.phone-shot-frame {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.phone-shot-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: top center;
}

.media-topline {
  position: absolute;
  top: 26px;
  left: 28px;
  right: 28px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 247, 232, 0.82);
  font-size: 16px;
}

.hero-video {
  height: 760px;
}

.play-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 154px;
  height: 154px;
  border: 2px solid rgba(255, 247, 232, 0.72);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 90, 31, 0.18);
  box-shadow: 0 0 80px rgba(255, 90, 31, 0.55);
}

.play-orb::after {
  position: absolute;
  top: 46px;
  left: 58px;
  width: 0;
  height: 0;
  border-top: 31px solid transparent;
  border-bottom: 31px solid transparent;
  border-left: 48px solid var(--paper);
  content: "";
}

.two-lane,
.codex-focus,
.case-video,
.document-case,
.product-research,
.design-case,
.live-demo {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 72px;
  align-items: center;
}

.copy-block,
.case-copy,
.codex-copy {
  position: relative;
  z-index: 2;
}

.copy-block h2,
.case-copy h2,
.codex-copy h2,
.wide-title h2,
.statement h2,
.closing-copy h2 {
  margin-bottom: 30px;
}

.screenshot,
.codex-screen,
.document-shot,
.browser-diff,
.mock-shot,
.local-demo {
  height: 690px;
}

.fake-browser {
  position: absolute;
  top: 34px;
  left: 34px;
  right: 34px;
  z-index: 2;
  display: flex;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.fake-browser span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
}

.fake-browser span:nth-child(2) {
  background: var(--yellow);
}

.fake-browser span:nth-child(3) {
  background: var(--mint);
}

.chat-lines,
.agent-grid-mini,
.fake-workbench,
.doc-lines,
.annotation-stack,
.diff-columns,
.mock-layout,
.folder-scene {
  position: absolute;
  z-index: 2;
}

.chat-lines {
  top: 140px;
  left: 62px;
  right: 62px;
  display: grid;
  gap: 28px;
}

.chat-lines i {
  display: block;
  height: 52px;
  background: rgba(255, 247, 232, 0.16);
}

.chat-lines i:nth-child(2),
.chat-lines i:nth-child(4) {
  margin-left: 18%;
  background: rgba(40, 240, 170, 0.18);
}

.chat-lines.compact {
  top: 120px;
}

.split-compare {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 48px;
}

.statement h2 {
  max-width: 1380px;
}

.compare-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  min-height: 0;
}

.compare-media .media-placeholder {
  height: 560px;
}

.corner-label {
  position: absolute;
  top: 34px;
  left: 34px;
  z-index: 3;
  padding: 10px 14px;
  color: var(--paper);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.52);
}

.media-placeholder.accent {
  border-color: rgba(40, 240, 170, 0.66);
}

.agent-grid-mini {
  top: 120px;
  left: 58px;
  right: 58px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.agent-grid-mini i {
  height: 150px;
  background: rgba(255, 247, 232, 0.12);
}

.agent-grid-mini i:nth-child(2),
.agent-grid-mini i:nth-child(3) {
  background: rgba(255, 90, 31, 0.2);
}

.compare-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 60px;
  text-transform: uppercase;
}

.compare-caption span:nth-child(2) {
  color: var(--orange);
}

.cinematic,
.proof-grid,
.story-board,
.artifact-wall,
.office-case,
.learning-case,
.prompt-template,
.checklist-slide,
.agenda-map,
.case-index,
.material-inventory,
.sources {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 50px;
}

.wide-title h2 {
  max-width: 1500px;
}

.workflow-film,
.agenda-grid,
.case-map-grid,
.story-cards,
.artifact-grid,
.guardrail-grid,
.inventory-grid,
.source-list,
.capture-list,
.prompt-lines,
.learning-board,
.office-stack,
.media-quads {
  position: relative;
  z-index: 2;
}

.workflow-film {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.agenda-grid,
.case-map-grid {
  display: grid;
  gap: 22px;
}

.agenda-grid {
  grid-template-columns: repeat(4, 1fr);
}

.case-map-grid {
  grid-template-columns: repeat(3, 1fr);
}

.workflow-film article,
.agenda-grid article,
.case-map-grid article,
.story-cards article,
.artifact-grid article,
.guardrail-grid article,
.inventory-grid article,
.learning-board article {
  min-height: 230px;
  padding: 30px;
  border: 1px solid var(--line);
  background: rgba(255, 247, 232, 0.07);
}

.workflow-film span,
.agenda-grid span,
.case-map-grid span,
.story-cards span,
.inventory-grid span {
  display: block;
  margin-bottom: 42px;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 24px;
}

.workflow-film strong,
.agenda-grid strong,
.case-map-grid strong,
.story-cards strong,
.artifact-grid strong,
.inventory-grid strong {
  display: block;
  margin-bottom: 18px;
  color: var(--paper);
  font-size: 34px;
  font-weight: 900;
}

.workflow-film p,
.agenda-grid p,
.case-map-grid p,
.story-cards p,
.artifact-grid p,
.guardrail-grid p,
.inventory-grid p,
.learning-board p {
  color: var(--muted);
  font-size: 24px;
}

.agenda-grid article {
  min-height: 590px;
}

.agenda-grid span {
  margin-bottom: 250px;
}

.agenda-grid strong {
  font-size: 46px;
}

.case-map-grid article {
  min-height: 260px;
}

.case-map-grid span {
  margin-bottom: 42px;
  color: var(--mint);
}

.case-map-grid strong {
  font-size: 34px;
}

.section-divider {
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  gap: 72px;
}

.section-divider::after {
  display: none;
}

.section-divider .divider-copy {
  max-width: 1450px;
}

.part-number {
  margin-bottom: 26px;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 28px;
  letter-spacing: 0.08em;
}

.section-divider h2 {
  max-width: 1500px;
  color: var(--orange);
  font-size: 128px;
}

.section-divider p:not(.part-number) {
  max-width: 980px;
  margin-top: 28px;
  color: rgba(255, 247, 232, 0.74);
  font-size: 34px;
}

.divider-path {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.divider-path span {
  padding: 20px 24px;
  color: var(--paper);
  border: 1px solid var(--line);
  background: rgba(255, 247, 232, 0.06);
  font-size: 25px;
  font-weight: 800;
}

.part-why {
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 90, 31, 0.38), transparent 24%),
    linear-gradient(135deg, #050505 0%, #130c08 52%, #050505 100%);
}

.part-codex {
  background:
    radial-gradient(circle at 82% 18%, rgba(40, 240, 170, 0.28), transparent 24%),
    linear-gradient(135deg, #050505 0%, #071411 56%, #050505 100%);
}

.part-cases {
  background:
    radial-gradient(circle at 20% 82%, rgba(54, 216, 255, 0.28), transparent 24%),
    linear-gradient(135deg, #050505 0%, #081018 54%, #050505 100%);
}

.part-method {
  background:
    radial-gradient(circle at 82% 82%, rgba(244, 211, 94, 0.3), transparent 24%),
    linear-gradient(135deg, #050505 0%, #141108 56%, #050505 100%);
}

.minimal-divider {
  display: grid;
  place-items: center;
  text-align: center;
}

.minimal-divider::after {
  display: none;
}

.minimal-copy p {
  margin-bottom: 20px;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 46px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.minimal-copy h2 {
  color: var(--orange);
  font-size: 180px;
  line-height: 0.92;
}

.strip-video {
  height: 210px;
  margin-top: 4px;
}

.timeline-bars {
  position: absolute;
  top: 80px;
  left: 80px;
  right: 80px;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 0.7fr 1.5fr 1fr;
  gap: 18px;
}

.timeline-bars i {
  height: 54px;
  background: var(--orange);
}

.timeline-bars i:nth-child(even) {
  background: var(--mint);
}

.fake-workbench {
  inset: 66px 64px 170px;
  display: grid;
  grid-template-columns: 0.32fr 0.58fr 0.48fr;
  gap: 18px;
}

.pane {
  border: 1px solid var(--line);
  background: rgba(255, 247, 232, 0.1);
}

.pane.thread {
  background: rgba(40, 240, 170, 0.1);
}

.pane.preview {
  background: rgba(255, 90, 31, 0.13);
}

.media-quads {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.mini-media {
  min-height: 650px;
  margin: 0;
  padding: 34px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 247, 232, 0.08), rgba(255, 247, 232, 0.02)),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(255, 247, 232, 0.04) 34px 36px);
}

.mini-media span,
.file-card span {
  display: inline-block;
  margin-bottom: 210px;
  color: var(--mint);
  font-size: 20px;
}

.mini-media strong,
.file-card strong {
  display: block;
  margin-bottom: 16px;
  color: var(--paper);
  font-size: 38px;
}

.mini-media p,
.file-card p {
  color: var(--muted);
  font-size: 24px;
}

.plugin-map {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 74px;
  align-items: center;
}

.plugin-orbit {
  position: relative;
  height: 720px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at center, rgba(40, 240, 170, 0.2), transparent 28%),
    repeating-radial-gradient(circle at center, transparent 0 78px, rgba(255, 247, 232, 0.08) 80px 82px);
}

.plugin-orbit span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 210px;
  height: 210px;
  place-items: center;
  color: var(--black);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--mint);
  font-family: var(--font-display);
  font-size: 48px;
}

.plugin-orbit i {
  position: absolute;
  min-width: 190px;
  padding: 18px 20px;
  color: var(--paper);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.56);
  font-size: 24px;
  font-style: normal;
  text-align: center;
}

.plugin-orbit i:nth-of-type(1) { top: 42px; left: 96px; }
.plugin-orbit i:nth-of-type(2) { top: 74px; right: 96px; }
.plugin-orbit i:nth-of-type(3) { top: 285px; right: 18px; }
.plugin-orbit i:nth-of-type(4) { right: 126px; bottom: 80px; }
.plugin-orbit i:nth-of-type(5) { left: 116px; bottom: 64px; }
.plugin-orbit i:nth-of-type(6) { top: 300px; left: 10px; }
.plugin-orbit i:nth-of-type(7) { top: 172px; left: 352px; }
.plugin-orbit i:nth-of-type(8) { right: 304px; bottom: 182px; }

.vertical-video {
  justify-self: center;
  width: 560px;
  height: 800px;
}

.phone-frame {
  position: absolute;
  top: 56px;
  left: 110px;
  right: 110px;
  bottom: 180px;
  z-index: 2;
  padding: 64px 32px;
  border: 2px solid var(--line-strong);
  border-radius: 48px;
  background: rgba(0, 0, 0, 0.38);
}

.phone-frame i {
  display: block;
  height: 52px;
  margin-bottom: 24px;
  background: rgba(255, 247, 232, 0.14);
}

.phone-frame i:nth-child(2),
.phone-frame i:nth-child(4) {
  margin-left: 70px;
  background: rgba(40, 240, 170, 0.2);
}

.video-editor {
  height: 720px;
}

.preview-window {
  position: absolute;
  top: 62px;
  left: 62px;
  right: 62px;
  bottom: 270px;
  z-index: 2;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 90, 31, 0.38), transparent 20%),
    linear-gradient(135deg, rgba(255, 247, 232, 0.12), rgba(54, 216, 255, 0.12));
}

.timeline {
  position: absolute;
  left: 62px;
  right: 62px;
  bottom: 160px;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1.6fr 0.8fr 1.1fr;
  gap: 12px;
}

.timeline span {
  height: 44px;
  background: var(--orange);
}

.timeline span:nth-child(2),
.timeline span:nth-child(4) {
  background: var(--mint);
}

.story-cards,
.artifact-grid,
.guardrail-grid,
.inventory-grid,
.office-stack,
.learning-board {
  display: grid;
  gap: 22px;
}

.story-cards {
  grid-template-columns: repeat(4, 1fr);
}

.doc-lines {
  top: 84px;
  left: 80px;
  width: 48%;
}

.doc-lines i {
  display: block;
  height: 28px;
  margin-bottom: 25px;
  background: rgba(255, 247, 232, 0.18);
}

.annotation-stack {
  top: 90px;
  right: 80px;
  width: 32%;
}

.annotation-stack b {
  display: block;
  height: 104px;
  margin-bottom: 22px;
  border-left: 8px solid var(--orange);
  background: rgba(255, 90, 31, 0.16);
}

.artifact-grid {
  grid-template-columns: repeat(3, 1fr);
}

.artifact-grid article {
  min-height: 500px;
}

.artifact-grid span {
  display: inline-block;
  margin-bottom: 190px;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 24px;
}

.diff-columns {
  top: 76px;
  left: 64px;
  right: 64px;
  bottom: 190px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.diff-columns i {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 247, 232, 0.1), rgba(255, 247, 232, 0.02)),
    repeating-linear-gradient(0deg, transparent 0 52px, rgba(255, 247, 232, 0.08) 52px 54px);
}

.diff-columns i:nth-child(2) {
  border-color: rgba(40, 240, 170, 0.52);
}

.office-stack {
  grid-template-columns: repeat(3, 1fr);
}

.file-card {
  min-height: 540px;
  margin: 0;
  padding: 36px;
  border: 1px solid var(--line);
  background: rgba(255, 247, 232, 0.08);
}

.file-card.deck {
  border-color: rgba(255, 90, 31, 0.58);
}

.file-card.sheet {
  border-color: rgba(40, 240, 170, 0.58);
}

.file-card.doc {
  border-color: rgba(54, 216, 255, 0.58);
}

.mock-layout {
  inset: 72px 72px 185px;
  display: grid;
  grid-template-columns: 0.52fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 20px;
}

.mock-layout i {
  border: 1px solid var(--line);
  background: rgba(255, 247, 232, 0.1);
}

.mock-layout i:first-child {
  grid-row: 1 / 4;
  background: rgba(255, 90, 31, 0.16);
}

.learning-board {
  grid-template-columns: repeat(3, 1fr);
}

.learning-board article {
  min-height: 500px;
}

.learning-board span {
  display: block;
  margin-bottom: 200px;
  color: var(--black);
  background: var(--yellow);
  font-size: 28px;
  font-weight: 900;
  padding: 12px 18px;
  width: fit-content;
}

.folder-scene {
  top: 100px;
  left: 94px;
  right: 94px;
  display: grid;
  gap: 30px;
}

.folder-scene i {
  height: 110px;
  border: 1px solid var(--line);
  background: rgba(255, 247, 232, 0.12);
}

.prompt-lines {
  display: grid;
  gap: 22px;
}

.prompt-lines p {
  max-width: none;
  padding: 28px 32px;
  color: var(--paper);
  border: 1px solid var(--line);
  background: rgba(255, 247, 232, 0.07);
  font-size: 34px;
}

.prompt-lines span {
  display: inline-flex;
  min-width: 108px;
  margin-right: 22px;
  color: var(--mint);
  font-weight: 900;
}

.guardrail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 62px;
}

.guardrail-grid article {
  min-height: 320px;
}

.guardrail-grid strong {
  display: block;
  margin-bottom: 28px;
  color: var(--paper);
  font-size: 42px;
}

.capture-list {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.capture-list li {
  padding: 28px 32px;
  color: var(--paper);
  border: 1px solid var(--line);
  background: rgba(255, 247, 232, 0.07);
  font-size: 34px;
  line-height: 1.35;
}

.capture-list strong {
  color: var(--mint);
}

.inventory-grid {
  grid-template-columns: repeat(3, 1fr);
}

.inventory-grid article {
  min-height: 275px;
}

.inventory-grid span {
  margin-bottom: 36px;
}

.closing {
  display: grid;
  place-items: center;
  text-align: center;
}

.closing::after {
  display: none;
}

.closing-copy h2 {
  max-width: 1440px;
  color: var(--orange);
  font-size: 132px;
}

.closing-copy p {
  max-width: 980px;
  margin: 0 auto;
}

.closing-steps {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 54px;
}

.closing-steps span {
  padding: 20px 22px;
  color: var(--paper);
  border: 1px solid var(--line);
  font-size: 24px;
  font-weight: 700;
}

.source-list {
  display: grid;
  gap: 24px;
}

.source-list p {
  display: grid;
  grid-template-columns: 360px 1fr;
  max-width: none;
  padding: 28px 32px;
  color: var(--paper);
  border: 1px solid var(--line);
  background: rgba(255, 247, 232, 0.07);
  font-size: 30px;
}

.source-list strong {
  color: var(--mint);
}

.source-list span {
  color: var(--muted);
}

.deck-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 247, 232, 0.18);
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(18px);
  opacity: 0;
  transition: opacity 180ms ease;
}

.deck-controls.is-visible,
.deck-controls:hover,
.deck-controls:focus-within {
  opacity: 1;
}

.control-button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 247, 232, 0.2);
  background: rgba(255, 247, 232, 0.07);
  cursor: pointer;
}

.control-button.primary {
  color: var(--black);
  border-color: var(--mint);
  background: var(--mint);
}

.control-button[aria-pressed="true"] {
  border-color: var(--orange);
  background: rgba(255, 90, 31, 0.24);
}

.control-button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.progress-pill {
  min-width: 106px;
  color: var(--paper);
  font-size: 17px;
  text-align: center;
}

.slash {
  color: rgba(255, 247, 232, 0.4);
  margin: 0 5px;
}

.notes-panel {
  position: fixed;
  right: 22px;
  bottom: 94px;
  z-index: 1001;
  width: min(560px, calc(100vw - 44px));
  padding: 22px;
  color: var(--paper);
  border: 1px solid rgba(255, 247, 232, 0.22);
  background: rgba(5, 5, 5, 0.86);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.notes-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.notes-label {
  margin-bottom: 12px;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
}

.notes-panel h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.notes-panel p {
  max-width: none;
  font-size: 17px;
}
