:root {
  color-scheme: dark;
  --deep: #020719;
  --panel: #082463;
  --panel-2: #143d91;
  --chrome: #f3fbff;
  --muted: #c9d8f2;
  --dim: #8ea6d6;
  --gold: #ffe28b;
  --cyan: #66d9ff;
  --magenta: #e95bff;
  --red: #ff3b4f;
  --green: #3de185;
  --orange: #ff8a2a;
  --purple: #7d5cff;
  --scroll-progress: 0;
  --deck-width: min(100vw, 177.78vh);
  --deck-height: min(100vh, 56.25vw);
  --slide-pad-x: clamp(54px, 5.2vw, 74px);
  --slide-pad-y: clamp(46px, 5vh, 66px);
  --title-max: 1040px;
  --copy-max: 900px;
  --copy-wide: 980px;
  --cluster-gap: clamp(28px, 3.8vh, 42px);
  --card-gap: clamp(18px, 1.7vw, 24px);
  --card-pad: clamp(24px, 2.1vw, 32px);
  --media-card-min: clamp(250px, 28vh, 325px);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  background: var(--deep);
  color: var(--chrome);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 16px clamp(18px, 4vw, 54px);
  background: linear-gradient(180deg, rgba(2, 7, 25, 0.84), rgba(2, 7, 25, 0));
  pointer-events: none;
}

.progress-rail {
  position: fixed;
  z-index: 60;
  right: 22px;
  top: 18vh;
  bottom: 18vh;
  width: 3px;
  background: rgba(201, 216, 242, 0.16);
  pointer-events: none;
}

.progress-rail span {
  display: block;
  width: 100%;
  height: calc(var(--scroll-progress) * 100%);
  background: linear-gradient(180deg, var(--gold), var(--cyan), var(--magenta));
  box-shadow: 0 0 18px rgba(102, 217, 255, 0.68);
}

body.export-mode .progress-rail,
body.export-mode .slide-jumper {
  display: none;
}

.slide-jumper {
  position: fixed;
  z-index: 80;
  top: 0;
  bottom: 0;
  left: 0;
  width: 34px;
  pointer-events: auto;
}

.slide-jumper-tab {
  position: absolute;
  top: 50%;
  left: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 128px;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 226, 139, 0.34);
  border-left: 0;
  background: rgba(2, 7, 25, 0.56);
  box-shadow: 0 0 28px rgba(102, 217, 255, 0.14);
  backdrop-filter: blur(12px);
}

.slide-jumper-tab span {
  width: 4px;
  height: 76px;
  background: linear-gradient(180deg, var(--gold), var(--cyan), var(--magenta));
  box-shadow: 0 0 14px rgba(102, 217, 255, 0.65);
}

.slide-jumper-panel {
  position: absolute;
  top: 26px;
  bottom: 26px;
  left: 18px;
  width: min(330px, calc(100vw - 52px));
  padding: 18px;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-108%) scale(0.98);
  border: 1px solid rgba(128, 201, 255, 0.28);
  background:
    radial-gradient(circle at 20% 0%, rgba(102, 217, 255, 0.16), transparent 18rem),
    linear-gradient(180deg, rgba(5, 18, 49, 0.96), rgba(2, 7, 25, 0.96));
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.44),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-jumper:hover .slide-jumper-panel,
.slide-jumper:focus-within .slide-jumper-panel {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.slide-jumper-title {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.slide-jumper-list {
  display: grid;
  gap: 10px;
  height: calc(100% - 28px);
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-color: rgba(102, 217, 255, 0.48) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

.slide-jumper-button {
  display: grid;
  grid-template-columns: 104px 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 12px;
  row-gap: 3px;
  align-items: center;
  min-height: 72px;
  padding: 8px;
  color: var(--chrome);
  border: 1px solid rgba(128, 201, 255, 0.2);
  background: rgba(8, 36, 99, 0.34);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.slide-jumper-button:hover,
.slide-jumper-button:focus-visible,
.slide-jumper-button.is-current {
  outline: none;
  border-color: rgba(255, 226, 139, 0.86);
  background: rgba(20, 61, 145, 0.62);
}

.slide-jumper-preview {
  position: relative;
  grid-row: 1 / span 2;
  width: 104px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 226, 139, 0.18), transparent 45%),
    radial-gradient(circle at 78% 18%, rgba(233, 91, 255, 0.22), transparent 46%),
    rgba(8, 36, 99, 0.96);
  background-size: cover;
  background-position: center;
}

.slide-jumper-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--red), var(--orange), var(--gold), var(--green), var(--cyan), var(--purple), var(--magenta)) top / 100% 4px no-repeat,
    linear-gradient(180deg, transparent, rgba(2, 7, 25, 0.34));
}

.slide-jumper-preview i {
  position: absolute;
  z-index: 1;
  left: 7px;
  bottom: 6px;
  color: #061a44;
  background: var(--gold);
  padding: 3px 5px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.slide-jumper-meta {
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.slide-jumper-button strong {
  display: -webkit-box;
  max-height: 34px;
  overflow: hidden;
  color: #fff;
  font-size: 16px;
  line-height: 1.05;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.brand {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 226, 139, 0.72);
  color: var(--gold);
  font-weight: 800;
  background: rgba(2, 7, 25, 0.34);
  backdrop-filter: blur(12px);
}

.rotate-lock {
  display: none;
}

.deck {
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(102, 217, 255, 0.13), transparent 28rem),
    radial-gradient(circle at 86% 10%, rgba(233, 91, 255, 0.13), transparent 24rem),
    var(--deep);
}

.deck::-webkit-scrollbar {
  display: none;
}

.deck:focus {
  outline: none;
}

.slide {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  isolation: isolate;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, var(--red), var(--orange), var(--gold), var(--green), var(--cyan), var(--purple), var(--magenta), var(--red)) top / 100% 8px no-repeat,
    radial-gradient(circle at 50% 7%, rgba(102, 217, 255, 0.18), transparent 34rem),
    var(--deep);
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 22%),
    radial-gradient(circle at 50% 2%, rgba(255, 255, 255, 0.12), transparent 34rem),
    linear-gradient(108deg, transparent 0 36%, rgba(255, 255, 255, 0.13) 46%, transparent 56%),
    radial-gradient(circle at 50% 88%, rgba(255, 226, 139, 0.12), transparent 36rem);
  transform: translateX(-12%);
  transition:
    opacity 700ms ease,
    transform 1100ms ease;
}

.slide.is-active::after {
  opacity: 1;
  transform: translateX(0);
}

.slide-frame {
  position: relative;
  display: grid;
  align-content: center;
  width: var(--deck-width);
  height: var(--deck-height);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: var(--slide-pad-y) var(--slide-pad-x);
  opacity: 0.36;
  transform: translateY(34px) scale(0.985);
  transition:
    opacity 700ms ease,
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 22%),
    radial-gradient(circle at 50% 2%, rgba(255, 255, 255, 0.12), transparent 34rem);
}

.slide:not(.stage-slide) .slide-frame::before,
.slide:not(.stage-slide) .slide-frame::after {
  display: none;
}

.slide.is-active .slide-frame {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/*
  Deck contract:
  - Every non-stage slide sits inside the same 16:9 safe area.
  - Titles, body copy, grids, cards, proof media, and closing promises use shared widths/gaps.
  - Stage slides are the only approved full-bleed exception.
*/
.slide:not(.stage-slide) .copy {
  max-width: var(--copy-max);
}

.slide:not(.stage-slide) .copy.wide {
  max-width: var(--copy-wide);
}

.slide:not(.stage-slide) h2 {
  max-width: var(--title-max);
}

.slide:not(.stage-slide) .copy > p:not(.eyebrow),
.slide:not(.stage-slide) .promise {
  max-width: var(--title-max);
}

.slide:not(.stage-slide) .feature-strip,
.slide:not(.stage-slide) .card-grid,
.slide:not(.stage-slide) .package-grid,
.slide:not(.stage-slide) .steps,
.slide:not(.stage-slide) .transformation-grid,
.slide:not(.stage-slide) .proof-room-grid {
  gap: var(--card-gap);
  margin-top: var(--cluster-gap);
}

.slide:not(.stage-slide) .metrics article,
.slide:not(.stage-slide) .feature-strip article,
.slide:not(.stage-slide) .card-grid article,
.slide:not(.stage-slide) .package-grid article,
.slide:not(.stage-slide) .steps article,
.slide:not(.stage-slide) .transformation-grid article {
  padding: var(--card-pad);
}

.slide .copy,
.slide .stage-copy,
.slide .metrics,
.slide .feature-strip article,
.slide .card-grid article,
.slide .package-grid article,
.slide .steps article,
.slide .transformation-grid article,
.slide .promise,
.slide .actions {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 680ms ease,
    transform 780ms cubic-bezier(0.16, 1, 0.3, 1);
}

.slide.is-active .copy,
.slide.is-active .stage-copy,
.slide.is-active .metrics,
.slide.is-active .feature-strip article,
.slide.is-active .card-grid article,
.slide.is-active .package-grid article,
.slide.is-active .steps article,
.slide.is-active .transformation-grid article,
.slide.is-active .promise,
.slide.is-active .actions {
  opacity: 1;
  transform: translateY(0);
}

.slide.is-active .feature-strip article:nth-child(2),
.slide.is-active .card-grid article:nth-child(2),
.slide.is-active .package-grid article:nth-child(2),
.slide.is-active .steps article:nth-child(2),
.slide.is-active .transformation-grid article:nth-child(2) {
  transition-delay: 80ms;
}

.slide.is-active .feature-strip article:nth-child(3),
.slide.is-active .card-grid article:nth-child(3),
.slide.is-active .package-grid article:nth-child(3),
.slide.is-active .steps article:nth-child(3),
.slide.is-active .transformation-grid article:nth-child(3) {
  transition-delay: 150ms;
}

.slide.is-active .feature-strip article:nth-child(4),
.slide.is-active .card-grid article:nth-child(4),
.slide.is-active .package-grid article:nth-child(4),
.slide.is-active .steps article:nth-child(4) {
  transition-delay: 220ms;
}

.slide.is-active .feature-strip article:nth-child(5) {
  transition-delay: 290ms;
}

.slide-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  object-fit: cover;
  object-position: center;
}

.cover-bg {
  filter: saturate(1.08) contrast(1.04) brightness(0.92);
}

.cover-still {
  opacity: 0;
  background-image: url("assets/sg-transition-cover-bg.png");
  filter: saturate(1.08) contrast(1.04) brightness(0.92);
  transition: opacity 1350ms ease;
}

.cover-slide.video-ending .cover-still,
.cover-slide.video-ended .cover-still {
  opacity: 1;
}

.cover-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 1;
  transform: none;
  background:
    linear-gradient(180deg, rgba(2, 7, 25, 0.1), rgba(2, 7, 25, 0.22) 48%, rgba(2, 7, 25, 0.62)),
    radial-gradient(circle at 50% 38%, transparent 0 28%, rgba(2, 7, 25, 0.54) 72%);
}

.cover-frame {
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding-top: clamp(70px, 9vw, 110px);
}

.cover-frame::after {
  content: none;
}

.cover-slide.is-active h1 {
  animation: chromePulse 2200ms ease both;
}

.cover-credit {
  margin: 22px 0 0;
  color: var(--gold);
  font-size: clamp(18px, 2vw, 30px);
  font-weight: 800;
  text-transform: uppercase;
  text-shadow:
    0 2px 0 #123d93,
    0 10px 24px rgba(2, 7, 25, 0.7);
}

@keyframes chromePulse {
  0% {
    filter: brightness(0.86);
    transform: translateY(18px) scale(0.98);
  }
  55% {
    filter: brightness(1.18);
  }
  100% {
    filter: brightness(1);
    transform: translateY(0) scale(1);
  }
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: clamp(15px, 1.18vw, 18px);
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin: 0 0 20px;
  color: var(--chrome);
  font-size: clamp(58px, 8.6vw, 118px);
  line-height: 0.9;
  text-shadow:
    0 4px 0 #ffe28b,
    0 10px 0 #16316f,
    0 18px 34px rgba(0, 0, 0, 0.52);
}

h2 {
  color: #fff;
  font-size: clamp(46px, 4.75vw, 72px);
  line-height: 1.02;
  font-weight: 500;
  margin-bottom: 22px;
  text-wrap: normal;
}

h3 {
  color: #fff;
  font-size: clamp(27px, 2.35vw, 38px);
  line-height: 1.08;
  margin-bottom: 16px;
}

p,
li {
  color: var(--muted);
  font-size: clamp(20px, 1.66vw, 27px);
  line-height: 1.26;
}

.hero-line {
  max-width: 720px;
  color: var(--chrome);
  font-size: clamp(22px, 2.8vw, 38px);
  line-height: 1.12;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.65);
}

.split-frame {
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(42px, 8vw, 110px);
}

.problem-slide .split-frame {
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(42px, 6vw, 86px);
}

.copy {
  max-width: var(--copy-max);
}

.copy.wide {
  max-width: var(--copy-wide);
}

.bullet-list {
  display: grid;
  gap: 20px;
  margin-top: 38px;
}

.bullet-list p {
  position: relative;
  margin: 0;
  padding-left: 36px;
}

.bullet-list span {
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  background: var(--gold);
}

.bullet-list p:nth-child(2) span {
  background: var(--cyan);
}

.bullet-list p:nth-child(3) span {
  background: var(--magenta);
}

.bullet-list strong {
  color: #fff;
}

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-self: end;
  border-top: 8px dotted rgba(255, 226, 139, 0.9);
  padding-top: 28px;
}

.visual-metrics {
  align-self: center;
  gap: 18px;
  min-width: 0;
  border-top: 0;
  padding-top: 0;
}

.metrics article,
.feature-strip article,
.card-grid article,
.package-grid article,
.steps article,
.transformation-grid article {
  border: 1px solid rgba(128, 201, 255, 0.68);
  background: rgba(8, 36, 99, 0.84);
}

.metrics article,
.feature-strip article,
.card-grid article,
.package-grid article,
.transformation-grid article {
  position: relative;
  overflow: hidden;
}

.metrics article::after,
.feature-strip article::after,
.card-grid article::after,
.package-grid article::after,
.transformation-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 38%, rgba(255, 255, 255, 0.18) 48%, transparent 58%);
  transform: translateX(-120%);
  opacity: 0;
}

.slide.is-active .metrics article::after,
.slide.is-active .feature-strip article::after,
.slide.is-active .card-grid article::after,
.slide.is-active .package-grid article::after,
.slide.is-active .transformation-grid article::after {
  animation: cardSweep 1300ms ease 240ms both;
}

@keyframes cardSweep {
  0% {
    opacity: 0;
    transform: translateX(-120%);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

.metrics article {
  min-height: 150px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 18px;
}

.visual-metrics article {
  min-height: clamp(270px, 43vh, 390px);
  align-content: end;
  justify-items: start;
  padding: clamp(22px, 2vw, 30px);
  border-color: rgba(255, 226, 139, 0.54);
  background: #061331;
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.visual-metrics article::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 7, 25, 0.1), rgba(2, 7, 25, 0.82)),
    linear-gradient(90deg, rgba(2, 7, 25, 0.45), transparent 62%);
}

.visual-metrics img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.visual-metrics .drift-card img {
  filter: grayscale(0.72) saturate(0.64) brightness(0.52) contrast(1.12);
}

.visual-metrics .drift-card::before {
  background:
    radial-gradient(circle at 22% 18%, rgba(102, 217, 255, 0.16), transparent 18rem),
    linear-gradient(180deg, rgba(2, 7, 25, 0.3), rgba(2, 7, 25, 0.9)),
    linear-gradient(90deg, rgba(2, 7, 25, 0.7), transparent 70%);
}

.visual-metrics .play-card img {
  filter: saturate(1.2) brightness(0.9) contrast(1.08);
}

.visual-metrics .play-card::before {
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 226, 139, 0.2), transparent 17rem),
    linear-gradient(180deg, rgba(2, 7, 25, 0.05), rgba(2, 7, 25, 0.74)),
    linear-gradient(90deg, rgba(2, 7, 25, 0.34), transparent 68%);
}

.visual-metrics span,
.visual-metrics strong,
.visual-metrics p {
  position: relative;
  z-index: 2;
}

.visual-metrics span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 226, 139, 0.42);
  background: rgba(2, 7, 25, 0.54);
  color: var(--gold);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.visual-metrics p {
  max-width: 19ch;
  margin: 10px 0 0;
  color: rgba(243, 251, 255, 0.82);
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.22;
}

.metrics span,
.feature-strip span,
.stage-copy .eyebrow,
.steps span,
.badge {
  color: var(--gold);
  font-weight: 800;
}

.metrics strong {
  color: var(--gold);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
}

.visual-metrics strong {
  color: #fff;
  font-size: clamp(44px, 4.8vw, 70px);
  letter-spacing: 0;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.72);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 46px;
}

.feature-strip article {
  min-height: 180px;
  padding: 28px 20px;
  border-color: rgba(255, 226, 139, 0.8);
}

.feature-strip article:nth-child(2) {
  background: #1a54bd;
}

.feature-strip article:nth-child(3) {
  background: #941b94;
}

.feature-strip article:nth-child(4) {
  background: #b83d00;
}

.feature-strip article:nth-child(5) {
  background: #087157;
}

.feature-strip h3 {
  margin: 20px 0 28px;
  font-size: clamp(25px, 2.05vw, 34px);
}

.feature-strip p {
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.2;
}

.promise {
  margin: 42px 0 0;
  color: #fff;
  font-weight: 700;
  font-size: clamp(22px, 1.75vw, 30px);
}

.transformation-frame {
  display: grid;
  align-content: center;
}

.transformation-slide::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 22%),
    radial-gradient(circle at 50% 2%, rgba(255, 255, 255, 0.12), transparent 34rem),
    radial-gradient(circle at 18% 72%, rgba(102, 217, 255, 0.12), transparent 26rem),
    radial-gradient(circle at 76% 28%, rgba(255, 226, 139, 0.13), transparent 28rem),
    linear-gradient(120deg, rgba(233, 91, 255, 0.08), transparent 44%),
    linear-gradient(108deg, transparent 0 36%, rgba(255, 255, 255, 0.13) 46%, transparent 56%),
    radial-gradient(circle at 50% 88%, rgba(255, 226, 139, 0.12), transparent 36rem);
}

.transformation-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 72%, rgba(102, 217, 255, 0.12), transparent 26rem),
    radial-gradient(circle at 76% 28%, rgba(255, 226, 139, 0.13), transparent 28rem),
    linear-gradient(120deg, rgba(233, 91, 255, 0.08), transparent 44%);
}

.transformation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.transformation-grid article {
  min-height: 245px;
  padding: 32px;
  border-color: rgba(255, 226, 139, 0.68);
}

.transformation-grid article:nth-child(2) {
  background: #123d93;
}

.transformation-grid article:nth-child(3) {
  background: #941b94;
}

.transformation-grid span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  color: #061a44;
  background: var(--gold);
  font-weight: 900;
}

.transformation-grid h3 {
  margin-bottom: 18px;
  font-size: clamp(32px, 2.9vw, 44px);
}

.transformation-grid p {
  max-width: 360px;
}

.proof-frame {
  align-content: center;
}

.proof-frame .copy {
  max-width: var(--copy-wide);
}

.proof-frame h2 {
  margin-bottom: 22px;
}

.proof-slide::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 22%),
    radial-gradient(circle at 50% 2%, rgba(255, 255, 255, 0.12), transparent 34rem),
    radial-gradient(circle at 18% 72%, rgba(102, 217, 255, 0.12), transparent 26rem),
    radial-gradient(circle at 76% 28%, rgba(255, 226, 139, 0.13), transparent 28rem),
    linear-gradient(120deg, rgba(233, 91, 255, 0.08), transparent 44%),
    linear-gradient(108deg, transparent 0 36%, rgba(255, 255, 255, 0.13) 46%, transparent 56%),
    radial-gradient(circle at 50% 88%, rgba(255, 226, 139, 0.12), transparent 36rem);
}

.proof-room-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-room-grid figure {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: var(--media-card-min);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 226, 139, 0.6);
  background: rgba(8, 36, 99, 0.72);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28);
}

.proof-room-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.04);
}

.proof-room-grid figure:first-child img {
  object-position: 58% 50%;
}

.proof-room-grid figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(2, 7, 25, 0.82));
  pointer-events: none;
}

.proof-room-grid figcaption {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 22px;
  color: #fff;
  font-size: clamp(32px, 2.9vw, 44px);
  font-weight: 900;
  line-height: 1.05;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.72);
}

.proof-frame .promise {
  margin-top: 28px;
}

.client-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  gap: 10px 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(128, 201, 255, 0.24);
  background: rgba(2, 7, 25, 0.42);
}

.client-proof span {
  --logo-h: 28px;
  --logo-w: 142px;
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  place-items: center;
  padding: 0;
  color: #fff;
}

.client-proof img {
  display: block;
  width: auto;
  height: var(--logo-h);
  max-width: min(100%, var(--logo-w));
  max-height: 36px;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.88;
}

.client-proof .logo-scoot {
  --logo-h: 32px;
  --logo-w: 132px;
}

.client-proof .logo-marvell {
  --logo-h: 31px;
  --logo-w: 140px;
}

.client-proof .logo-pan-united {
  --logo-h: 31px;
  --logo-w: 142px;
}

.client-proof .logo-singtel {
  --logo-h: 36px;
  --logo-w: 92px;
}

.client-proof .logo-rhb {
  --logo-h: 29px;
  --logo-w: 112px;
}

.client-proof .logo-microsoft {
  --logo-h: 25px;
  --logo-w: 136px;
}

.client-proof .logo-bank-of-singapore {
  --logo-h: 43px;
  --logo-w: 214px;
}

.client-proof .logo-vanguard {
  --logo-h: 38px;
  --logo-w: 166px;
}

.client-proof .logo-ey {
  --logo-h: 42px;
  --logo-w: 72px;
}

.client-proof .logo-woh-hup {
  --logo-h: 40px;
  --logo-w: 148px;
}

.client-proof .logo-tiffany {
  --logo-h: 41px;
  --logo-w: 204px;
}

.client-proof .logo-kuok {
  --logo-h: 46px;
  --logo-w: 218px;
}

.muscle-frame {
  display: grid;
  align-content: center;
}

.muscle-slide::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 22%),
    radial-gradient(circle at 50% 2%, rgba(255, 255, 255, 0.12), transparent 34rem),
    radial-gradient(circle at 50% 58%, rgba(255, 226, 139, 0.12), transparent 25rem),
    linear-gradient(135deg, rgba(102, 217, 255, 0.08), transparent 36%),
    linear-gradient(315deg, rgba(233, 91, 255, 0.08), transparent 34%),
    linear-gradient(108deg, transparent 0 36%, rgba(255, 255, 255, 0.13) 46%, transparent 56%),
    radial-gradient(circle at 50% 88%, rgba(255, 226, 139, 0.12), transparent 36rem);
}

.muscle-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 58%, rgba(255, 226, 139, 0.12), transparent 25rem),
    linear-gradient(135deg, rgba(102, 217, 255, 0.08), transparent 36%),
    linear-gradient(315deg, rgba(233, 91, 255, 0.08), transparent 34%);
}

.muscle-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.muscle-grid article {
  position: relative;
  min-height: 278px;
  padding: 22px 20px;
  overflow: hidden;
  border: 1px solid rgba(128, 201, 255, 0.66);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 36%),
    rgba(8, 36, 99, 0.82);
}

.muscle-grid article::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
}

.muscle-grid article:nth-child(2)::before {
  background: linear-gradient(90deg, var(--cyan), var(--green));
}

.muscle-grid article:nth-child(3)::before {
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.muscle-grid article:nth-child(4)::before {
  background: linear-gradient(90deg, var(--gold), var(--orange));
}

.muscle-grid article:nth-child(5)::before {
  background: linear-gradient(90deg, var(--orange), var(--magenta));
}

.muscle-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  color: #061a44;
  background: var(--gold);
  font-size: 17px;
  font-weight: 900;
}

.muscle-grid small {
  display: block;
  margin-bottom: 11px;
  color: var(--cyan);
  font-size: clamp(15px, 1.02vw, 18px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.muscle-grid h3 {
  min-height: 72px;
  margin-bottom: 14px;
  font-size: clamp(25px, 1.95vw, 32px);
}

.muscle-grid p {
  font-size: clamp(18px, 1.25vw, 22px);
  line-height: 1.16;
}

.slide .muscle-grid article {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 680ms ease,
    transform 780ms cubic-bezier(0.16, 1, 0.3, 1);
}

.slide.is-active .muscle-grid article {
  opacity: 1;
  transform: translateY(0);
}

.slide.is-active .muscle-grid article:nth-child(2) {
  transition-delay: 70ms;
}

.slide.is-active .muscle-grid article:nth-child(3) {
  transition-delay: 140ms;
}

.slide.is-active .muscle-grid article:nth-child(4) {
  transition-delay: 210ms;
}

.slide.is-active .muscle-grid article:nth-child(5) {
  transition-delay: 280ms;
}

.stage-frame {
  display: grid;
  grid-template-columns: 42% 58%;
  width: 100vw;
  height: 100vh;
  padding: 0;
}

.stage-slide .slide-frame,
.stage-slide.is-active .slide-frame {
  opacity: 1;
  transform: none;
}

.stage-slide::before {
  background: var(--deep);
}

.stage-frame::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 43%;
  z-index: -1;
  background: rgba(2, 7, 25, 0.98);
}

.stage-frame::after {
  background:
    linear-gradient(90deg, transparent 0 42%, var(--gold) 42% calc(42% + 7px), transparent calc(42% + 7px)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%);
}

.stage-copy {
  align-self: center;
  padding: clamp(46px, 4.2vw, 64px);
}

.stage-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(48px, 4.7vw, 74px);
  text-shadow:
    0 3px 0 #ffe28b,
    0 7px 0 #16316f;
}

.stage-intro {
  max-width: 560px;
  margin-bottom: 22px;
  color: var(--chrome);
  font-size: clamp(20px, 1.42vw, 24px);
  line-height: 1.22;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 4px;
}

.rules-grid section {
  min-width: 0;
  padding: 16px 17px 17px;
  border: 1px solid rgba(128, 201, 255, 0.42);
  background: rgba(8, 25, 60, 0.68);
}

.rules-grid h3 {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: clamp(17px, 1.18vw, 20px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.stage-copy ul,
.rules-grid ul {
  margin: 0;
  padding-left: 19px;
}

.rules-grid li {
  font-size: clamp(15px, 1.02vw, 18px);
  line-height: 1.22;
}

.stage-copy li + li,
.rules-grid li + li {
  margin-top: 8px;
}

.mechanic {
  display: block;
  margin-top: 18px;
  padding: 14px 16px;
  color: #fff;
  border: 1px solid rgba(128, 201, 255, 0.75);
  background: rgba(20, 61, 145, 0.86);
  font-size: clamp(17px, 1.22vw, 21px);
}

.muscle-callout {
  margin-top: 16px;
  padding: 14px 16px 13px;
  border: 1px solid rgba(255, 226, 139, 0.78);
  background:
    linear-gradient(90deg, rgba(255, 226, 139, 0.16), rgba(102, 217, 255, 0.08)),
    rgba(20, 61, 145, 0.72);
}

.muscle-callout span {
  display: block;
  margin-bottom: 7px;
  color: var(--gold);
  font-size: clamp(13px, 0.86vw, 15px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.muscle-callout strong {
  display: block;
  color: #fff;
  font-size: clamp(16px, 1.05vw, 19px);
  line-height: 1.12;
}

.muscle-callout p {
  margin: 7px 0 0;
  color: rgba(201, 216, 242, 0.94);
  font-size: clamp(14px, 0.92vw, 17px);
  line-height: 1.16;
}

.stage-visual {
  position: relative;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border-left: 7px solid var(--gold);
}

.stage-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  transform: scale(1.06);
  filter: saturate(0.92) brightness(0.9);
  transition:
    transform 1400ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 1200ms ease;
}

.stage-slide.is-active .stage-frame img {
  transform: scale(1);
  filter: saturate(1.08) brightness(1.03);
}

#stage-3 .stage-frame img {
  object-fit: cover;
  object-position: center;
  padding: 0;
  background: transparent;
}

.app-overlay {
  position: absolute;
  right: clamp(22px, 4vw, 54px);
  bottom: clamp(22px, 4vw, 54px);
  z-index: 2;
  width: min(72%, 560px);
  min-height: 250px;
  padding: 18px;
  border: 1px solid rgba(255, 226, 139, 0.54);
  border-radius: 8px;
  background:
    radial-gradient(circle at 15% 12%, rgba(102, 217, 255, 0.2), transparent 15rem),
    radial-gradient(circle at 84% 92%, rgba(255, 226, 139, 0.12), transparent 12rem),
    linear-gradient(145deg, rgba(12, 39, 96, 0.98), rgba(3, 9, 26, 0.95)),
    rgba(4, 11, 31, 0.94);
  box-shadow:
    0 26px 72px rgba(0, 0, 0, 0.48),
    0 0 40px rgba(102, 217, 255, 0.18),
    inset 0 0 0 1px rgba(102, 217, 255, 0.16);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition:
    opacity 700ms ease 260ms,
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1) 260ms;
}

.app-overlay::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: -1;
  border: 1px solid rgba(128, 201, 255, 0.16);
  border-radius: 6px;
  pointer-events: none;
}

.app-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 8px;
  background:
    linear-gradient(115deg, transparent 0 34%, rgba(255, 255, 255, 0.12) 42%, transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 40%);
  opacity: 0.55;
  pointer-events: none;
}

.stage-slide.is-active .app-overlay {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.app-top strong {
  padding: 7px 10px;
  border: 1px solid rgba(255, 226, 139, 0.28);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 226, 139, 0.08);
}

.app-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(102, 217, 255, 0.24);
  border-radius: 999px;
  color: rgba(243, 251, 255, 0.9);
  background: rgba(102, 217, 255, 0.08);
}

.app-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(61, 225, 133, 0.9);
}

.app-body {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  align-items: center;
}

.wheel-ui {
  width: 130px;
  aspect-ratio: 1;
  border: 9px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background:
    radial-gradient(circle, #081b47 0 21%, transparent 22%),
    conic-gradient(var(--red) 0 12.5%, var(--orange) 0 25%, var(--gold) 0 37.5%, var(--green) 0 50%, var(--cyan) 0 62.5%, var(--purple) 0 75%, var(--magenta) 0 87.5%, #1a54bd 0 100%);
  box-shadow: 0 0 26px rgba(255, 226, 139, 0.34);
}

.phrase-board,
.price-prompt,
.target-word,
.wager-lock {
  padding: 18px;
  border: 1px solid rgba(128, 201, 255, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(102, 217, 255, 0.08), transparent 45%),
    rgba(20, 61, 145, 0.58);
  box-shadow: inset 0 0 28px rgba(102, 217, 255, 0.06);
}

.phrase-board span,
.price-prompt span,
.target-word span,
.wager-lock span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.phrase-board p,
.price-prompt p,
.target-word p,
.wager-lock p {
  margin: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.08;
}

.phrase-board p {
  letter-spacing: 0.08em;
}

.score-row {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.score-row span {
  flex: 1;
  padding: 9px 10px;
  color: #061a44;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff0ae, var(--gold));
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.card-ui-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.card-ui-grid span {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 8px;
  color: rgba(243, 251, 255, 0.94);
  border: 1px solid rgba(128, 201, 255, 0.48);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(102, 217, 255, 0.22), transparent 42%),
    #123d93;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
}

.card-ui-grid .matched {
  color: #061a44;
  background:
    radial-gradient(circle at 22% 15%, rgba(255, 255, 255, 0.55), transparent 28%),
    linear-gradient(180deg, #fff0ae, var(--gold));
  font-size: 11px;
  line-height: 1.05;
  text-shadow: none;
}

.card-ui-grid .matched b {
  display: block;
  margin-bottom: 4px;
  color: rgba(6, 26, 68, 0.64);
  font-size: 10px;
}

.card-ui-grid .ticket-card {
  grid-template-rows: auto 1fr;
  gap: 4px;
  padding: 6px;
}

.ticket-card i {
  position: relative;
  display: block;
  width: min(72px, 78%);
  aspect-ratio: 1.65 / 1;
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0)),
    url("assets/classic-card-bus-ticket.png") center / cover no-repeat;
  box-shadow:
    inset 0 0 0 1px rgba(6, 26, 68, 0.18),
    0 5px 10px rgba(6, 26, 68, 0.18);
}

.price-prompt {
  margin-bottom: 14px;
}

.price-prompt strong {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 10px;
  color: #061a44;
  border-radius: 999px;
  background: linear-gradient(180deg, #baf2ff, var(--cyan));
  font-size: 12px;
  text-transform: uppercase;
}

.answer-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.answer-strip span {
  padding: 12px 8px;
  color: #fff;
  border: 1px solid rgba(255, 226, 139, 0.54);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    rgba(8, 36, 99, 0.82);
  font-weight: 900;
  text-align: center;
}

.target-word {
  text-align: center;
}

.target-word p {
  font-size: 42px;
}

.banned-words {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.banned-words span {
  padding: 10px 8px;
  color: #061a44;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #dbe8ff);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.timer-bar {
  margin-top: 14px;
}

.timer-bar strong {
  color: var(--gold);
  font-size: 26px;
}

.timer-bar span {
  display: block;
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--gold) 0 70%, rgba(255, 255, 255, 0.16) 70% 100%);
}

.wager-lock {
  text-align: center;
}

.wager-lock p {
  font-size: 28px;
}

.grid-frame .copy,
.package-frame .copy,
.close-frame .copy {
  max-width: var(--copy-wide);
}

.card-grid,
.package-grid,
.steps {
  display: grid;
}

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

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

.card-grid article,
.package-grid article,
.steps article {
  padding: var(--card-pad);
}

.card-grid.four article:nth-child(3),
.package-grid .featured {
  background: #941b94;
}

.offer-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: #061a44;
  background: var(--gold);
  font-size: clamp(14px, 0.95vw, 17px);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.included-tag {
  background: #66d9ff;
}

.upgrade-tag {
  background: linear-gradient(90deg, #ffe28b, #fff3b7);
}

.upgrade-card {
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 226, 139, 0.22);
}

.upgrade-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--magenta));
}

.custom-options {
  grid-template-columns: 0.9fr 1.18fr 0.9fr;
  align-items: center;
}

.custom-options .included-card {
  position: relative;
  min-height: 292px;
  padding: 34px;
  border-color: var(--gold);
  background:
    linear-gradient(180deg, rgba(255, 226, 139, 0.18), transparent 48%),
    linear-gradient(135deg, #123d93, #0b2e77);
  box-shadow:
    0 0 0 1px rgba(255, 226, 139, 0.48),
    0 26px 90px rgba(102, 217, 255, 0.16);
  transform: translateY(-14px);
}

.slide.is-active .custom-options .included-card {
  transform: translateY(-14px);
}

.custom-options .included-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 7px;
  background: linear-gradient(90deg, var(--cyan), var(--gold), var(--cyan));
}

.custom-options .included-card h3 {
  font-size: clamp(34px, 2.8vw, 46px);
}

.custom-options .upgrade-card {
  min-height: 246px;
  border-color: rgba(128, 201, 255, 0.48);
  background: rgba(8, 36, 99, 0.7);
  box-shadow: none;
}

.custom-options .upgrade-card::before {
  height: 3px;
  background: rgba(255, 226, 139, 0.72);
}

.custom-options .upgrade-card h3 {
  color: rgba(255, 255, 255, 0.92);
}

.custom-options .upgrade-card p:not(.offer-tag) {
  color: rgba(201, 216, 242, 0.84);
}

.custom-options .upgrade-card small {
  color: rgba(255, 226, 139, 0.82);
}

.card-grid small {
  display: block;
  margin-top: 18px;
  color: var(--gold);
  font-size: clamp(17px, 1.15vw, 21px);
  font-weight: 800;
}

.card-grid.four article:nth-child(4) {
  background: #087157;
}

.package-grid {
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.package-frame h2 {
  max-width: 1040px;
  margin-bottom: 16px;
  font-size: clamp(44px, 4.25vw, 64px);
}

.package-frame .copy .eyebrow {
  margin-bottom: 8px;
}

.package-frame .copy p {
  max-width: 1040px;
}

.package-frame .package-grid {
  margin-top: 28px;
}

.package-frame .package-grid article {
  padding: 24px 28px;
}

.package-grid strong {
  display: block;
  color: #fff;
  margin: 18px 0 6px;
  font-size: clamp(20px, 1.35vw, 25px);
}

.package-grid span {
  color: var(--muted);
  font-size: clamp(17px, 1.15vw, 21px);
}

.package-grid ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.package-grid li {
  position: relative;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 1vw, 19px);
  line-height: 1.25;
}

.package-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(255, 226, 139, 0.45);
}

.package-grid .featured {
  min-height: 292px;
  transform: translateY(-12px);
  border-color: var(--gold);
}

.package-frame .promise {
  margin-top: 30px;
  font-size: clamp(20px, 1.45vw, 25px);
}

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

.steps strong {
  display: block;
  margin: 14px 0 10px;
  color: #fff;
  font-size: clamp(24px, 1.75vw, 31px);
}

.steps p {
  font-size: clamp(17px, 1.2vw, 22px);
}

@media (orientation: portrait) and (pointer: coarse) {
  html,
  body {
    overflow: hidden;
  }

  .site-header,
  .progress-rail,
  .slide-jumper,
  .deck {
    display: none;
  }

  .rotate-lock {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 28px;
    text-align: center;
    background:
      radial-gradient(circle at 50% 16%, rgba(102, 217, 255, 0.18), transparent 22rem),
      radial-gradient(circle at 50% 86%, rgba(255, 226, 139, 0.14), transparent 20rem),
      var(--deep);
  }

  .rotate-lock > div {
    display: grid;
    justify-items: center;
    gap: 18px;
    max-width: 360px;
  }

  .rotate-lock .brand {
    width: 54px;
    height: 54px;
    font-size: 18px;
  }

  .rotate-lock .eyebrow {
    margin: 6px 0 0;
  }

  .rotate-lock h2 {
    margin: 0;
    font-size: clamp(30px, 9vw, 46px);
    line-height: 1.05;
  }
}

@media (orientation: landscape) and (pointer: coarse) {
  .site-header,
  .progress-rail,
  .slide-jumper {
    display: none;
  }

  .slide-frame {
    width: 100vw;
    height: 100vh;
  }

  .deck {
    scrollbar-width: none;
  }

  .deck::-webkit-scrollbar {
    display: none;
  }
}

@media (orientation: landscape) and (pointer: coarse) and (max-height: 520px) {
  :root {
    --slide-pad-x: clamp(34px, 5.4vw, 56px);
    --slide-pad-y: 24px;
    --cluster-gap: 22px;
    --card-gap: 16px;
    --card-pad: 18px;
    --media-card-min: clamp(126px, 25vh, 160px);
  }

  .slide-frame {
    width: 100vw;
    height: 100vh;
  }

  .eyebrow {
    margin-bottom: 8px;
    font-size: 11px;
  }

  h1 {
    max-width: 700px;
    font-size: clamp(50px, 9vw, 78px);
  }

  h2 {
    max-width: 760px;
    margin-bottom: 10px;
    font-size: clamp(24px, 4.2vw, 36px);
    line-height: 1.06;
  }

  h3 {
    margin-bottom: 10px;
    font-size: clamp(17px, 2.5vw, 22px);
  }

  p,
  li {
    font-size: clamp(12px, 1.9vw, 15px);
    line-height: 1.24;
  }

  .feature-strip,
  .card-grid,
  .package-grid,
  .steps,
  .transformation-grid,
  .proof-room-grid {
    gap: var(--card-gap);
    margin-top: var(--cluster-gap);
  }

  .card-grid article,
  .package-grid article,
  .steps article,
  .transformation-grid article,
  .feature-strip article {
    padding: var(--card-pad);
  }

  .feature-strip article {
    min-height: 118px;
  }

  .feature-strip h3 {
    margin: 12px 0 18px;
  }

  .custom-options .included-card,
  .custom-options .upgrade-card {
    min-height: 214px;
  }

  .custom-options .included-card {
    padding: 22px;
    transform: translateY(-8px);
  }

  .slide.is-active .custom-options .included-card {
    transform: translateY(-8px);
  }

  .custom-options .included-card h3 {
    font-size: clamp(22px, 3.3vw, 30px);
  }

  .offer-tag {
    margin-bottom: 12px;
    padding: 7px 10px;
    font-size: 10px;
  }

  .card-grid small {
    margin-top: 12px;
    font-size: 11px;
  }

  .promise {
    margin-top: 20px;
    font-size: 13px;
  }

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

  .steps strong {
    margin: 10px 0 8px;
    font-size: 17px;
  }

  .steps p {
    font-size: 12px;
  }

  .package-grid .featured {
    min-height: 182px;
    transform: translateY(-8px);
  }

  .stage-copy {
    padding: 28px 34px;
  }

  .stage-copy h2 {
    margin-bottom: 8px;
    font-size: clamp(28px, 5.2vw, 42px);
  }

  .stage-intro {
    margin-bottom: 12px;
    font-size: 13px;
  }

  .rules-grid {
    gap: 10px;
  }

  .rules-grid section {
    padding: 10px 11px;
  }

  .rules-grid h3 {
    margin-bottom: 7px;
    font-size: 11px;
  }

  .rules-grid ul {
    padding-left: 14px;
  }

  .rules-grid li {
    font-size: 10px;
    line-height: 1.18;
  }

  .rules-grid li + li {
    margin-top: 5px;
  }

  .mechanic {
    display: none;
  }

  .muscle-callout {
    margin-top: 10px;
    padding: 9px 10px;
  }

  .muscle-callout span {
    margin-bottom: 5px;
    font-size: 9px;
  }

  .muscle-callout strong {
    font-size: 10px;
    line-height: 1.1;
  }

  .muscle-callout p {
    margin-top: 5px;
    font-size: 9px;
    line-height: 1.12;
  }

  .metrics article {
    min-height: 110px;
  }

  .metrics strong {
    font-size: clamp(26px, 5vw, 38px);
  }

  .transformation-grid article {
    min-height: 148px;
  }

  .transformation-grid span {
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
    font-size: 12px;
  }

  .transformation-grid h3 {
    margin-bottom: 8px;
    font-size: 20px;
  }

  .transformation-grid p {
    font-size: 12px;
  }

  .app-overlay {
    top: 126px;
    right: 34px;
    bottom: auto;
    width: min(56%, 330px);
    min-height: 0;
    max-height: calc(100vh - 58px);
    padding: 12px;
    overflow: hidden;
  }

  .app-top {
    margin-bottom: 10px;
    font-size: 10px;
  }

  .app-top strong,
  .app-live {
    padding: 5px 7px;
  }

  .app-live {
    gap: 5px;
  }

  .app-body {
    grid-template-columns: 82px 1fr;
    gap: 10px;
  }

  .wheel-ui {
    width: 82px;
    border-width: 6px;
  }

  .phrase-board,
  .price-prompt,
  .target-word,
  .wager-lock {
    padding: 12px;
  }

  .phrase-board span,
  .price-prompt span,
  .target-word span,
  .wager-lock span {
    margin-bottom: 6px;
    font-size: 9px;
  }

  .phrase-board p,
  .price-prompt p,
  .target-word p,
  .wager-lock p {
    font-size: 17px;
  }

  .score-row {
    gap: 6px;
    margin-top: 10px;
  }

  .score-row span {
    padding: 7px 6px;
    font-size: 10px;
  }

  .card-ui-grid {
    gap: 6px;
  }

  .card-ui-grid span {
    min-height: 34px;
    padding: 5px;
    font-size: 10px;
  }

  .card-ui-grid .ticket-card {
    gap: 2px;
    padding: 4px;
  }

  .card-ui-grid .matched b {
    margin-bottom: 2px;
    font-size: 8px;
  }

  .ticket-card i {
    width: min(46px, 86%);
  }

  .app-cards .score-row {
    display: none;
  }

  .price-prompt {
    margin-bottom: 10px;
  }

  .price-prompt strong {
    margin-top: 10px;
    padding: 7px 9px;
    font-size: 10px;
  }

  .answer-strip,
  .banned-words {
    gap: 6px;
  }

  .answer-strip span,
  .banned-words span {
    padding: 8px 5px;
    font-size: 10px;
  }

  .target-word p {
    font-size: 32px;
  }

  .timer-bar {
    margin-top: 10px;
  }

  .timer-bar strong {
    font-size: 22px;
  }

  .wager-lock p {
    font-size: 24px;
  }

  .muscle-slide .slide-frame {
    padding: 18px 34px;
  }

  .muscle-slide h2 {
    max-width: 780px;
    font-size: clamp(25px, 4.4vw, 32px);
    line-height: 1.02;
  }

  .muscle-slide .copy p {
    max-width: 760px;
  }

  .muscle-grid {
    gap: 10px;
    margin-top: 14px;
  }

  .muscle-grid article {
    min-height: 184px;
    padding: 14px;
  }

  .muscle-grid span {
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    font-size: 12px;
  }

  .muscle-grid small {
    margin-bottom: 7px;
    font-size: 10px;
  }

  .muscle-grid h3 {
    min-height: 0;
    margin-bottom: 8px;
    font-size: 17px;
  }

  .muscle-grid p {
    font-size: 11px;
    line-height: 1.14;
  }

  .muscle-slide .promise {
    margin-top: 12px;
  }
}

@media (orientation: landscape) and (pointer: fine) and (max-height: 760px) {
  :root {
    --slide-pad-x: clamp(46px, 5vw, 64px);
    --slide-pad-y: clamp(34px, 4.8vh, 48px);
    --cluster-gap: clamp(24px, 4vh, 34px);
    --card-gap: clamp(16px, 1.5vw, 22px);
    --card-pad: clamp(20px, 1.75vw, 28px);
    --media-card-min: clamp(205px, 31vh, 275px);
  }

  .slide:not(.stage-slide) .eyebrow {
    margin-bottom: 10px;
    font-size: clamp(12px, 1.05vw, 15px);
  }

  .slide:not(.stage-slide) h2 {
    margin-bottom: 16px;
    font-size: clamp(38px, 3.85vw, 56px);
    line-height: 1.02;
  }

  .slide:not(.stage-slide) .copy > p:not(.eyebrow) {
    max-width: 880px;
    font-size: clamp(16px, 1.38vw, 21px);
    line-height: 1.22;
  }

  .slide:not(.stage-slide) .promise {
    font-size: clamp(18px, 1.45vw, 24px);
    line-height: 1.18;
  }

  .muscle-slide .copy {
    max-width: 930px;
  }

  .muscle-slide h2 {
    max-width: 900px;
    font-size: clamp(36px, 3.45vw, 50px);
  }

  .muscle-grid {
    gap: 12px;
    margin-top: 22px;
  }

  .muscle-grid article {
    min-height: 228px;
    padding: 18px;
  }

  .muscle-grid span {
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
    font-size: 13px;
  }

  .muscle-grid small {
    margin-bottom: 8px;
    font-size: clamp(11px, 0.78vw, 14px);
  }

  .muscle-grid h3 {
    min-height: 0;
    margin-bottom: 10px;
    font-size: clamp(19px, 1.45vw, 25px);
  }

  .muscle-grid p {
    font-size: clamp(13px, 1vw, 17px);
    line-height: 1.14;
  }

  .proof-room-grid {
    margin-top: var(--cluster-gap);
  }

  .proof-room-grid figure {
    min-height: var(--media-card-min);
  }

  .proof-room-grid figcaption {
    left: 20px;
    right: 20px;
    bottom: 18px;
    font-size: clamp(30px, 2.75vw, 40px);
  }

  .proof-frame .promise {
    margin-top: 20px;
  }

  .package-frame .package-grid {
    margin-top: 24px;
  }

  .package-frame .package-grid article {
    padding: 20px 24px;
  }

  .package-grid h3 {
    margin-bottom: 12px;
    font-size: clamp(24px, 1.9vw, 31px);
  }

  .package-grid p {
    font-size: clamp(17px, 1.28vw, 21px);
  }

  .package-grid ul {
    gap: 6px;
    margin-top: 14px;
  }

  .package-grid strong {
    margin-top: 14px;
  }

  .package-grid .featured {
    min-height: 270px;
    transform: translateY(-8px);
  }

  .package-frame .promise {
    margin-top: 18px;
    font-size: clamp(17px, 1.32vw, 22px);
  }
}

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