:root {
  --stage-bg: #06101b;
  --slide-bg: #06101b;
  --ink: #101923;
  --night: #06101b;
  --night-2: #0b1929;
  --paper: #f4f8fc;
  --white: #fff;
  --muted: #647184;
  --cyan: #00b5d2;
  --blue: #4a70de;
  --indigo: #263ead;
  --pink: #fa50b9;
  --green: #43d4a0;
  --line: rgba(74, 112, 222, 0.18);
  --display: "Roboto", sans-serif;
  --mono: "Roboto Mono", monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* {
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  height: auto;
  margin: 0;
  overflow-x: hidden;
  background: var(--stage-bg);
}
.deck-viewport {
  position: static;
  overflow: visible;
  background: var(--stage-bg);
}
.deck-stage {
  background: var(--slide-bg);
  margin: 0 auto;
  max-width: 1920px;
  overflow: visible;
  position: static;
}
.slide {
  background: var(--slide-bg);
  display: none;
  min-height: 100dvh;
  overflow: visible;
  position: relative;
  width: 100%;
}
.slide.active {
  display: block;
}
img,
video,
canvas,
svg {
  max-width: 100%;
  max-height: 100%;
}
.deck-controls {
  bottom: max(18px, env(safe-area-inset-bottom));
  left: 50%;
  position: fixed;
  transform: translateX(-50%);
  z-index: 1000;
}
@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;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    width: 1920px;
    height: 1080px;
    break-after: page;
    page-break-after: always;
  }
  .slide:last-child {
    break-after: auto;
    page-break-after: auto;
  }
  .deck-controls {
    display: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.2s !important;
  }
}

/* === DESKTOP / PRESENTATION MODE (>= 1400px) ===
   Above this width each slide is a fixed-height (1080px reference) "page"
   that JS scales by window.innerHeight/1080 — height always matches the
   window exactly, so there's never a scrollbar, like PowerPoint or Google
   Slides. Unlike a plain scale-to-fit, the stage's WIDTH is not fixed at
   1920px: JS sets it to innerWidth/scale, i.e. exactly the width that,
   after the same scale factor, fills the window horizontally too — zero
   leftover margin on either axis, no cropping, no stretching (the scale
   factor is uniform). The internal grids already use fr/%/flex widths,
   so they genuinely reflow into whatever width that turns out to be
   (narrower on a tall/narrow window, wider on an ultrawide one) instead
   of leaving blank space. Below 1400px (see the compact-mode block
   further down) the deck instead becomes a normal fluid, scrollable
   document — a full-height 1080px page has no room to scale down to on a
   phone without becoming unreadable. */
@media (min-width: 1400px) and (min-aspect-ratio: 1/1) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }
  .deck-viewport {
    inset: 0;
    overflow: hidden;
    position: fixed;
  }
  .deck-stage {
    height: 1080px;
    left: 0;
    max-width: none;
    overflow: hidden;
    position: absolute;
    top: 0;
    transform-origin: 0 0;
    /* width set inline by JS (setupStageScale) */
  }
  .slide {
    height: 1080px;
    inset: 0;
    min-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    visibility: hidden;
    width: 100%;
  }
  .slide.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    z-index: 1;
  }
  /* .frame's fixed-height override lives further down, after its
     unconditional base rule — see the note there for why. */
}

/* === GLOBAL PRESENTATION SYSTEM === */
body {
  font-family: var(--display);
  color: var(--ink);
}
.slide {
  font-family: var(--display);
}
.frame {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 100dvh;
  padding: 88px 104px var(--dock-clearance, 108px);
  position: relative;
}
/* This has to come after the unconditional rule above: both set
   height/min-height on .frame, equal specificity, so source order
   decides the winner regardless of the media query — placing it earlier
   (as it originally was, grouped with the rest of the desktop-tier
   block near the top of the file) let the rule above silently win even
   on desktop, leaving .frame auto-height instead of pinned to the
   1080px slide. That's what let content quietly grow taller than the
   reserved dock clearance all session. */
@media (min-width: 1400px) and (min-aspect-ratio: 1/1) {
  .frame {
    height: 100%;
    min-height: 0;
  }
}
.dark {
  background: var(--night);
  color: var(--white);
}
.light {
  background: var(--paper);
  color: var(--ink);
}
.white {
  background: var(--white);
  color: var(--ink);
}
.noise {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
}
.kicker {
  align-items: center;
  color: var(--cyan);
  display: flex;
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 700;
  gap: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.kicker:before {
  background: currentColor;
  border-radius: 50%;
  content: "";
  height: 10px;
  width: 10px;
}
.kicker.dark-kicker {
  color: var(--blue);
}
.display {
  font-size: 76px;
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 1.08;
  margin: 18px 0 0;
  text-wrap: balance;
}
.display.xl {
  font-size: 118px;
  max-width: 1380px;
}
.display.lg {
  font-size: 94px;
}
.gradient {
  -webkit-background-clip: text;
  background: linear-gradient(
    100deg,
    var(--cyan) 0%,
    var(--blue) 52%,
    var(--pink) 100%
  );
  background-clip: text;
  color: transparent;
}
.copy {
  color: var(--muted);
  font-size: 27px;
  line-height: 1.52;
  margin: 26px 0 0;
  max-width: 930px;
}
.dark .copy {
  color: rgba(255, 255, 255, 0.7);
}
.brand-logo {
  display: block;
  height: 34px;
  width: auto;
}
.topline {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  justify-content: space-between;
  margin-bottom: 48px;
}
/* Wraps everything below the topline in a "standard" content slide (not
   the cover/close hero layouts, which already use the full frame height
   deliberately). Centers that block as a group within whatever space is
   left under the topline — instead of every slide's content just
   stacking from the top and leaving random leftover space at the
   bottom — while the topline itself always stays pinned at the same
   spot. min-height:0 lets it shrink below its content's natural size
   when needed instead of forcing an overflow. */
.content {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
}
.reveal,
.reveal-left,
.reveal-scale {
  opacity: 0;
  transition:
    opacity 0.72s var(--ease),
    transform 0.72s var(--ease),
    filter 0.72s var(--ease);
}
.reveal {
  transform: translateY(36px);
}
.reveal-left {
  transform: translateX(-42px);
}
.reveal-scale {
  transform: scale(0.94);
}
.visible .reveal,
.visible .reveal-left,
.visible .reveal-scale {
  opacity: 1;
  filter: blur(0);
  transform: none;
}
.visible .delay-1 {
  transition-delay: 0.1s;
}
.visible .delay-2 {
  transition-delay: 0.2s;
}
.visible .delay-3 {
  transition-delay: 0.3s;
}
.visible .delay-4 {
  transition-delay: 0.4s;
}
.visible .delay-5 {
  transition-delay: 0.5s;
}
.visible .delay-6 {
  transition-delay: 0.6s;
}
.line {
  background: var(--line);
  height: 1px;
}
.tag {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  display: inline-flex;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 10px 15px;
  text-transform: uppercase;
}
.light .tag,
.white .tag {
  border-color: #cad8e7;
  color: #4c5c70;
}
.img-cover {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.caption {
  background: rgba(6, 16, 27, 0.82);
  bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  left: 0;
  line-height: 1.45;
  padding: 26px 30px;
  position: absolute;
  right: 0;
}
.edit-hotzone {
  height: 80px;
  left: 0;
  position: fixed;
  top: 0;
  width: 80px;
  z-index: 10000;
}
.edit-toggle {
  background: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  font-size: 19px;
  height: 44px;
  left: 18px;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 18px;
  transition: opacity 0.25s;
  z-index: 10001;
  width: 44px;
}
.edit-toggle.show,
.edit-toggle.active {
  opacity: 1;
  pointer-events: auto;
}
.edit-mode [data-edit] {
  outline: 2px dashed rgba(0, 181, 210, 0.8);
  outline-offset: 8px;
}
.edit-mode [data-edit]:focus {
  background: rgba(0, 181, 210, 0.09);
  outline-color: var(--pink);
}

/* === SLIDE 01 · COVER === */
.cover {
  overflow: hidden;
}
.cover-video {
  animation: cover-zoom 9s ease-in-out infinite alternate;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center 96%;
  position: absolute;
  transform-origin: center;
  width: 100%;
  will-change: transform;
  z-index: 0;
}
.cover:before {
  background:
    radial-gradient(circle at 13% 35%, rgba(0, 181, 210, 0.3), transparent 28%),
    radial-gradient(
      circle at 86% 22%,
      rgba(250, 80, 185, 0.24),
      transparent 25%
    ),
    linear-gradient(
      90deg,
      rgba(6, 16, 27, 0.95),
      rgba(6, 16, 27, 0.77) 54%,
      rgba(6, 16, 27, 0.58)
    );
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}
@keyframes cover-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.32);
  }
}
.cover .frame {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.cover h1 {
  font-size: 158px;
  letter-spacing: -0.095em;
  line-height: 0.88;
  margin: 0;
}
.cover-sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 37px;
  line-height: 1.35;
  margin: 34px 0 0;
  max-width: 850px;
}
.cover-foot {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 70px;
}
.cover-foot p {
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  max-width: 490px;
  text-align: right;
}
/* === SLIDE 02 · THE TENSION === */
.split-grid {
  display: grid;
  gap: 70px;
  grid-template-columns: 1.05fr 0.95fr;
  height: 100%;
}
.statement {
  align-self: center;
}
.giant-quote {
  color: var(--muted);
  font-size: 101px;
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 1.05;
  margin: 0;
}
.giant-quote strong {
  color: var(--ink);
}
.quote-panel {
  background: var(--night);
  border-radius: 30px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 74px 0 0;
  padding: 50px;
}
.quote-panel p {
  color: rgba(255, 255, 255, 0.73);
  font-size: 25px;
  line-height: 1.45;
  margin: 0;
}
.quote-panel b {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.photo-panel {
  border-radius: 30px;
  height: 792px;
  overflow: hidden;
  position: relative;
}
.photo-panel:after {
  background: linear-gradient(180deg, transparent, rgba(6, 16, 27, 0.86));
  content: "";
  inset: 0;
  position: absolute;
}
.photo-panel h3 {
  bottom: 45px;
  color: #fff;
  font-size: 41px;
  letter-spacing: -0.055em;
  line-height: 1.05;
  margin: 0;
  position: absolute;
  right: 50px;
  z-index: 1;
}

/* === SLIDE 03 · WHY NOW === */
.reason-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 68px;
}
.reason {
  border-left: 1px solid var(--line);
  min-height: 410px;
  padding: 0 40px;
}
.reason:first-child {
  border-left: 0;
  padding-left: 0;
}
.reason-num {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.reason h3 {
  font-size: 40px;
  letter-spacing: -0.06em;
  line-height: 1.04;
  margin: 50px 0 17px;
}
.reason p {
  color: var(--muted);
  font-size: 22px;
  line-height: 1.48;
  margin: 0;
}
.reason-mark {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: 50%;
  height: 16px;
  margin-bottom: 38px;
  width: 16px;
}

/* === SLIDE 04 · THE PROMISE === */
.promise-layout {
  align-items: center;
  display: grid;
  gap: 80px;
  grid-template-columns: 0.92fr 1.08fr;
  height: 100%;
}
.promise-flow {
  display: grid;
  gap: 5px;
  margin-top: 27px;
}
.flow-row {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: 75px 1fr;
}
.flow-dot {
  align-items: center;
  background: #e7f8fb;
  border-radius: 50%;
  color: var(--indigo);
  display: flex;
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  height: 54px;
  justify-content: center;
  width: 54px;
}
.flow-row h3 {
  font-size: 29px;
  letter-spacing: -0.05em;
  margin: 0;
}
.flow-row p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.42;
  margin: 4px 0 0;
}
.map-mock {
  background: #fff;
  border-radius: 29px;
  box-shadow: 0 26px 70px rgba(12, 32, 63, 0.15);
  overflow: hidden;
  padding: 18px;
}
.map-top {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 0 0 21px;
}
.map-top b {
  display: block;
  font-size: 23px;
  letter-spacing: -0.04em;
  line-height: 1.3;
  margin-bottom: 6px;
}
.map-top span {
  background: #e9f8fb;
  border-radius: 999px;
  color: #087d92;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 11px;
  text-transform: uppercase;
}
.map-table {
  margin-top: 22px;
}
.map-row {
  align-items: center;
  border-bottom: 1px solid #e7edf5;
  display: grid;
  gap: 15px;
  grid-template-columns: 1.25fr 0.7fr 0.65fr;
  padding: 13px 5px;
}
.map-row.head {
  color: #8290a2;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.map-row:not(.head) {
  font-size: 18px;
  font-weight: 700;
}
.priority {
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 10px;
  text-align: center;
  text-transform: uppercase;
}
.high {
  background: #ffeafa;
  color: #a12072;
}
.mid {
  background: #eaf6fd;
  color: #176d9c;
}
.low {
  background: #f1f4f7;
  color: #647184;
}

/* === SLIDE 05 · METHOD === */
.method-bg:before {
  background:
    radial-gradient(
      circle at 90% 14%,
      rgba(0, 181, 210, 0.24),
      transparent 25%
    ),
    radial-gradient(circle at 9% 90%, rgba(250, 80, 185, 0.19), transparent 30%);
  content: "";
  inset: 0;
  position: absolute;
}
.method-bg .frame {
  position: relative;
}
.method-letters {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 30px;
}
.letter-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  min-height: 343px;
  padding: 22px;
}
.letter {
  font-size: 88px;
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 0.95;
}
.letter-card h3 {
  font-size: 29px;
  letter-spacing: -0.055em;
  margin: 18px 0 9px;
}
.letter-card p {
  color: rgba(255, 255, 255, 0.67);
  font-size: 19px;
  line-height: 1.43;
  margin: 0;
}
.letter-card small {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  margin-top: auto;
  padding-top: 22px;
  text-transform: uppercase;
}

/* === SLIDES 06–07 · METHOD DETAIL === */
.method-detail {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 36px;
}
.detail-card {
  background: #fff;
  border-radius: 26px;
  min-height: 228px;
  padding: 26px;
}
.detail-card .mini-letter {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.detail-card h3 {
  font-size: 38px;
  letter-spacing: -0.065em;
  line-height: 1.05;
  margin: 26px 0 12px;
}
.detail-card p {
  color: var(--muted);
  font-size: 21px;
  line-height: 1.48;
  margin: 0;
}
.detail-card .evidence {
  border-top: 1px solid var(--line);
  color: #405068;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-top: 20px;
  padding-top: 14px;
  text-transform: uppercase;
}
.method-side {
  background: linear-gradient(145deg, #fff, #ebf5ff);
  border-radius: 29px;
  display: grid;
  gap: 28px;
  grid-template-columns: 0.9fr 1.1fr;
  margin-top: 6px;
  overflow: hidden;
  padding: 20px 30px;
}
.method-side img {
  border-radius: 18px;
  height: 80px;
  object-fit: cover;
  object-position: center 45%;
  width: 100%;
}
.method-side img.tablet-img {
  object-position: center 51%;
}
.method-side p {
  align-self: center;
  color: #51627a;
  font-size: 20px;
  line-height: 1.48;
  margin: 0;
}
.method-side b {
  color: var(--ink);
}

/* === SLIDE 08 · SEQUENCE === */
.sequence-layout {
  display: grid;
  gap: 100px;
  grid-template-columns: 0.8fr 1.2fr;
  height: 100%;
}
.sequence-copy {
  align-self: center;
}
.email-stack {
  align-self: center;
  display: grid;
  gap: 19px;
}
.email {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  display: grid;
  gap: 22px;
  grid-template-columns: 152px 1fr;
  padding: 24px 29px;
}
.email-label {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding-top: 6px;
  text-transform: uppercase;
  white-space: nowrap;
}
.email h3 {
  font-size: 26px;
  letter-spacing: -0.05em;
  margin: 0;
}
.email p {
  color: #6b7889;
  font-size: 18px;
  line-height: 1.42;
  margin: 9px 0 0;
}
.email:nth-child(2) {
  margin-left: 52px;
}
.email:nth-child(3) {
  margin-left: 104px;
}
.sequence-note {
  color: rgba(255, 255, 255, 0.48);
  font-size: 16px;
  line-height: 1.5;
  margin-top: 30px;
}

/* === SLIDE 09 · SIGNALS === */
.signal-layout {
  display: grid;
  gap: 70px;
  grid-template-columns: 0.82fr 1.18fr;
  margin-top: 36px;
}
.signal-photo {
  border-radius: 28px;
  height: 505px;
  overflow: hidden;
  position: relative;
}
.signal-list {
  border-top: 1px solid var(--line);
}
.signal-row {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: 185px 1fr;
  padding: 24px 0;
}
.signal-row b {
  font-size: 22px;
  letter-spacing: -0.04em;
}
.signal-row span {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
}
.signal-row.emphasis b {
  color: var(--blue);
}
.signal-row.emphasis span {
  color: var(--ink);
  font-weight: 700;
}

/* === SLIDE 10 · DELIVERABLES === */
.deliverable-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 85px;
}
.deliverable {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 22px;
  grid-template-columns: 72px 1fr;
  padding: 22px 32px 22px 0;
}
.deliverable:nth-child(odd) {
  margin-right: 48px;
}
.deliverable-num {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding-top: 6px;
}
.deliverable h3 {
  font-size: 24px;
  letter-spacing: -0.05em;
  margin: 0;
}
.deliverable p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.4;
  margin: 8px 0 0;
}

/* === SLIDE 11 · FIT === */
.fit-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr 1fr;
  margin-top: 36px;
}
.fit-card {
  border-radius: 30px;
  min-height: 470px;
  padding: 38px;
}
.fit-card.yes {
  background: var(--night);
  color: #fff;
}
.fit-card.no {
  background: #fff;
  border: 1px solid var(--line);
}
.fit-card h3 {
  font-size: 50px;
  letter-spacing: -0.07em;
  margin: 0 0 28px;
}
.fit-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fit-card li {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 20px;
  line-height: 1.4;
  padding: 15px 0 15px 29px;
  position: relative;
}
.fit-card.no li {
  border-color: var(--line);
}
.fit-card li:before {
  color: var(--green);
  content: "✓";
  font-weight: 900;
  left: 0;
  position: absolute;
}
.fit-card.no li:before {
  color: var(--pink);
  content: "—";
}

/* === SLIDE 12 · PROCESS === */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 40px;
}
.time-step {
  border-left: 1px solid var(--line);
  min-height: 300px;
  padding: 0 32px;
  position: relative;
}
.time-step:first-child {
  border-left: 0;
  padding-left: 0;
}
.time-step:before {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: 50%;
  content: "";
  height: 17px;
  left: -9px;
  position: absolute;
  top: -8px;
  width: 17px;
}
.time-step:first-child:before {
  left: -8px;
}
.time-step small {
  color: var(--blue);
  display: block;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-top: 38px;
  text-transform: uppercase;
}
.time-step h3 {
  font-size: 30px;
  letter-spacing: -0.06em;
  line-height: 1.08;
  margin: 19px 0 12px;
}
.time-step p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.45;
  margin: 0;
}
.process-foot {
  background: #eaf3fb;
  border-radius: 23px;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 32px;
  padding: 26px 30px;
}
.process-foot b {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.process-foot p {
  font-size: 18px;
  line-height: 1.4;
  margin: 9px 0 0;
}

/* === SLIDE 13 · ROUTES === */
.route-grid {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
}
.route {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  min-height: 478px;
  padding: 29px;
}
.route.core {
  background: var(--night);
  border-color: var(--night);
  color: #fff;
  transform: translateY(-18px);
}
.route-type {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.core .route-type {
  color: var(--cyan);
}
.route h3 {
  font-size: 43px;
  letter-spacing: -0.07em;
  margin: 21px 0 6px;
}
.price {
  color: #67768a;
  font-size: 23px;
  font-weight: 700;
}
.core .price {
  color: var(--cyan);
}
.route p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.45;
  margin: 27px 0 0;
}
.core p {
  color: rgba(255, 255, 255, 0.68);
}
.when {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 17px;
  line-height: 1.4;
  margin-top: auto;
  padding-top: 18px;
}
.core .when {
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.67);
}
.when b {
  color: var(--ink);
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
  text-transform: uppercase;
}
.core .when b {
  color: #fff;
}

/* === SLIDE 14 · READINESS === */
.check-layout {
  display: grid;
  gap: 75px;
  grid-template-columns: 0.75fr 1.25fr;
  height: 100%;
}
.score {
  align-items: center;
  background: var(--night);
  border-radius: 24px;
  color: #fff;
  display: flex;
  gap: 18px;
  margin-top: 38px;
  padding: 26px 34px;
  width: fit-content;
}
.score strong {
  font-size: 46px;
  letter-spacing: -0.06em;
  line-height: 1;
}
.score span {
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  line-height: 1.35;
  max-width: 88px;
  text-transform: uppercase;
}
.check-list {
  align-self: center;
  display: grid;
  gap: 11px;
}
.check-item {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(16, 25, 35, 0.06);
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr auto;
  padding: 19px 22px;
}
.check-item p {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
}
.check-buttons {
  display: flex;
  gap: 7px;
}
.check-btn {
  background: #fff;
  border: 1px solid #cad6e4;
  border-radius: 9px;
  color: #778598;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 10px;
  text-transform: uppercase;
  transition:
    background 0.15s var(--ease),
    border-color 0.15s var(--ease),
    color 0.15s var(--ease);
}
.check-btn:hover {
  border-color: #9fb0c4;
}
.check-btn[data-answer="yes"].selected {
  background: #e8fbf3;
  border-color: var(--green);
  color: #177c59;
}
.check-btn[data-answer="no"].selected {
  background: #ffeafa;
  border-color: var(--pink);
  color: #a12072;
}
.check-item.answered {
  border-color: rgba(74, 112, 222, 0.35);
}

/* === SLIDE 15 · CLOSE === */
.close:before {
  background:
    radial-gradient(
      circle at 12% 84%,
      rgba(0, 181, 210, 0.28),
      transparent 30%
    ),
    radial-gradient(
      circle at 90% 19%,
      rgba(250, 80, 185, 0.23),
      transparent 28%
    );
  content: "";
  inset: 0;
  position: absolute;
}
.close .frame {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.close h2 {
  font-size: 104px;
  letter-spacing: -0.08em;
  line-height: 1.05;
  margin: 0;
  max-width: 1320px;
}
.close-bottom {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 48px;
}
.cta-button {
  align-items: center;
  background: linear-gradient(120deg, var(--cyan), var(--blue) 60%, var(--pink));
  border-radius: 999px;
  box-shadow: 0 20px 44px rgba(74, 112, 222, 0.38);
  color: #fff;
  display: inline-flex;
  font-size: 21px;
  font-weight: 700;
  gap: 16px;
  letter-spacing: -0.01em;
  padding: 22px 22px 22px 32px;
  text-decoration: none;
  transition:
    box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.cta-button:hover {
  box-shadow: 0 24px 54px rgba(74, 112, 222, 0.48);
  transform: translateY(-2px);
}
.cta-button b {
  align-items: center;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex-shrink: 0;
  font-size: 19px;
  height: 36px;
  justify-content: center;
  line-height: 1;
  width: 36px;
}
.contact {
  color: rgba(255, 255, 255, 0.64);
  font-size: 21px;
  line-height: 1.6;
  margin: 0;
  text-align: right;
}
.contact b {
  color: #fff;
}

/* === PRESENTATION CONTROLS ===
   A floating glass "dock" (macOS Dock / iPhone home dock style): no solid
   fill, just a blurred, translucent pill. It sits fixed above every slide
   regardless of theme, so it uses its own dark glass + white ink rather
   than adapting to the light/dark slide underneath. */
.control-shell {
  align-items: center;
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  background: rgba(16, 22, 32, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 10px;
  padding: 7px;
}
.control-shell > button {
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  font-size: 21px;
  height: 38px;
  line-height: 1;
  width: 38px;
}
.control-shell > button:hover {
  background: rgba(255, 255, 255, 0.14);
}
.counter {
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* --- Slide picker: title + counter double as a dropdown trigger --- */
.control-menu {
  position: relative;
}
.control-trigger {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: flex;
  gap: 10px;
  height: 38px;
  padding: 0 16px;
}
.control-trigger:hover {
  background: rgba(255, 255, 255, 0.14);
}
.control-title {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  max-width: 30vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.control-chevron {
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}
.control-menu.open .control-chevron {
  transform: rotate(180deg);
}
.slide-menu {
  background: rgba(22, 28, 38, 0.88);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  bottom: calc(100% + 14px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  left: 50%;
  list-style: none;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translate(-50%, 6px);
  transition:
    opacity 0.2s var(--ease),
    transform 0.2s var(--ease),
    visibility 0.2s;
  visibility: hidden;
  /* No scrollbar: a single column, always — but its height is fixed
     (not max-height), so the 15 <li> flex children (flex: 1 1 0, see
     below) share it out equally. That guarantees an exact, scroll-free
     fit at any window height instead of hoping a capped height is
     enough; rows just get shorter on very short windows. */
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: min(64vh, 620px);
  padding: 8px;
  width: min(90vw, 300px);
}
.control-menu.open .slide-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}
/* Hover-to-open is a desktop-mouse enhancement only. On touch devices
   :hover can stay "stuck" after a tap until the user taps elsewhere, so
   relying on it there would keep the menu looking open even after the
   JS click handler has already closed it (.open removed). Coarse/no-hover
   devices get click-only behavior, driven purely by the .open class. */
@media (hover: hover) and (pointer: fine) {
  .control-menu:hover .control-chevron {
    transform: rotate(180deg);
  }
  /* Visibility itself is driven only by .open (see bindMenu's mouseenter/
     mouseleave handlers) — a CSS :hover rule here would keep the menu
     visible after a click closes it (.open removed) for as long as the
     cursor happens to still be over the trigger. */
}
.slide-menu li {
  display: flex;
  flex: 1 1 0;
  min-height: 0;
}
.slide-menu-item {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  display: flex;
  flex: 1;
  gap: 12px;
  height: auto;
  min-height: 0;
  padding: 0 12px;
  text-align: left;
  width: 100%;
}
.slide-menu-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.slide-menu-item.active {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.slide-menu-num {
  color: var(--cyan);
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  width: 20px;
}
.slide-menu-item:not(.active) .slide-menu-num {
  color: rgba(255, 255, 255, 0.4);
}
.slide-menu-label {
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.progress-rail {
  background: rgba(255, 255, 255, 0.22);
  top: 0;
  height: 5px;
  left: 0;
  position: fixed;
  right: 0;
  z-index: 1000;
}
.progress-bar {
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--pink));
  height: 100%;
  transition: width 0.45s var(--ease);
  width: 6.25%;
}

/* === COMPACT MODE (phone / tablet / narrow desktop) ===
   The deck is always a fluid, auto-height document (see the base rules
   above) that never crops and never scales — it just reflows. Below
   1400px there usually isn't room for the full multi-column grid design,
   so layouts collapse to a single readable column and type scales down.
   At 1400px+ the original multi-column design (declared earlier in this
   file) applies as-is, at its natural size, no scaling involved. */
@media (max-width: 1399px), (max-aspect-ratio: 1/1) {
  .frame {
    padding: 92px 22px 110px;
  }

  .topline {
    flex-wrap: wrap;
    gap: 10px;
  }
  .brand-logo {
    height: 20px;
  }
  .kicker {
    font-size: 13px;
  }
  .display.xl,
  .display.lg,
  .display {
    font-size: clamp(28px, 8vw, 46px);
    max-width: 100%;
  }
  .copy {
    font-size: clamp(16px, 4vw, 18px);
    max-width: 100%;
  }

  /* --- 01 · Cover --- */
  .cover h1 {
    font-size: clamp(56px, 22vw, 110px);
  }
  .cover-sub {
    font-size: clamp(18px, 5vw, 24px);
    max-width: 100%;
  }
  .cover-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
  }
  .cover-foot p {
    max-width: 100%;
    text-align: left;
  }

  /* --- 02 · The tension --- */
  .split-grid {
    display: block;
  }
  .quote-panel {
    margin-top: 40px;
  }
  .giant-quote {
    font-size: clamp(34px, 10vw, 54px);
  }
  .photo-panel {
    height: 280px;
    margin-top: 32px;
  }
  .photo-panel h3 {
    bottom: 20px;
    font-size: clamp(22px, 6vw, 28px);
    right: 24px;
  }

  /* --- 03 · Why now --- */
  .reason-grid {
    display: block;
    margin-top: 40px;
  }
  .reason {
    border-left: 0;
    border-top: 1px solid var(--line);
    min-height: 0;
    padding: 28px 0;
  }
  .reason:first-child {
    border-top: 0;
    padding-top: 0;
  }

  /* --- 04 · The promise --- */
  .promise-layout {
    display: block;
  }
  .promise-flow {
    grid-template-columns: 1fr;
  }
  .map-mock {
    margin-top: 40px;
  }
  .map-row {
    gap: 6px 12px;
    grid-template-columns: 1fr auto;
  }
  .map-row span:nth-child(2) {
    display: none;
  }

  /* --- 05 · Method letters --- */
  .method-letters {
    display: block;
    margin-top: 36px;
  }
  .letter-card {
    margin-top: 14px;
    min-height: 0;
  }
  .letter-card:first-child {
    margin-top: 0;
  }
  .letter {
    font-size: clamp(56px, 18vw, 84px);
  }

  /* --- 06-07 · Method detail --- */
  .method-detail {
    display: block;
    margin-top: 32px;
  }
  .detail-card {
    margin-top: 16px;
    min-height: 0;
  }
  .detail-card:first-child {
    margin-top: 0;
  }
  .detail-card h3 {
    font-size: clamp(26px, 7vw, 34px);
  }
  .method-side {
    display: block;
    margin-top: 20px;
    padding: 20px;
  }
  .method-side img {
    height: 160px;
  }
  .method-side p {
    margin-top: 16px;
  }

  /* --- 08 · Sequence --- */
  .sequence-layout {
    display: block;
  }
  .email-stack {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }
  .email {
    gap: 6px;
    grid-template-columns: 1fr;
  }
  .email:nth-child(2),
  .email:nth-child(3) {
    margin-left: 0;
  }

  /* --- 09 · Signals --- */
  .signal-layout {
    display: block;
    margin-top: 32px;
  }
  .signal-photo {
    height: 220px;
  }
  .signal-list {
    margin-top: 32px;
  }
  .signal-row {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  /* --- 10 · Deliverables --- */
  .deliverable-grid {
    display: block;
  }
  .deliverable {
    margin-right: 0 !important;
    padding: 20px 0;
  }

  /* --- 11 · Fit --- */
  .fit-grid {
    display: block;
  }
  .fit-card {
    margin-top: 20px;
    min-height: 0;
  }
  .fit-card:first-child {
    margin-top: 0;
  }
  .fit-card h3 {
    font-size: clamp(30px, 8vw, 38px);
  }

  /* --- 12 · Process --- */
  .timeline {
    display: block;
  }
  .time-step {
    border-left: 0;
    border-top: 1px solid var(--line);
    min-height: 0;
    padding: 24px 0 0;
  }
  .time-step:first-child {
    border-top: 0;
    padding-top: 0;
  }
  .time-step:before {
    display: none;
  }
  .process-foot {
    display: block;
    padding: 22px;
  }
  .process-foot > div {
    margin-top: 18px;
  }
  .process-foot > div:first-child {
    margin-top: 0;
  }

  /* --- 13 · Routes --- */
  .route-grid {
    display: block;
  }
  .route {
    margin-top: 18px;
    min-height: 0;
  }
  .route:first-child {
    margin-top: 0;
  }
  .route.core {
    transform: none;
  }

  /* --- 14 · Readiness --- */
  .check-layout {
    display: block;
  }
  .score {
    padding: 20px 26px;
  }
  .check-list {
    margin-top: 32px;
  }
  .check-item {
    grid-template-columns: 1fr;
  }
  .check-item p {
    font-size: 17px;
  }

  /* --- 15 · Close --- */
  .close h2 {
    font-size: clamp(34px, 10vw, 54px);
    max-width: 100%;
  }
  .close-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
  .contact {
    text-align: left;
  }

  /* --- Controls (bigger touch targets, no hover on touch) --- */
  .control-shell > button {
    height: 44px;
    width: 44px;
  }
  .control-trigger {
    height: 44px;
  }
  .control-title {
    max-width: 34vw;
  }
  .slide-menu {
    height: min(70vh, 620px);
    width: min(92vw, 300px);
  }
}
