:root {
  --black: #050607;
  --black-2: #0a0d0e;
  --black-3: #111719;
  --teal: #25c5c8;
  --teal-light: #81e2df;
  --white: #f7faf9;
  --muted: #93a2a6;
  --muted-2: #69777b;
  --line: rgba(255,255,255,.14);
  --line-soft: rgba(255,255,255,.08);
  --pink: #df6b91;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-snap-type: y mandatory; background: var(--black); }
body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: Inter, "DM Sans", Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; }
.slide {
  position: relative;
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  background: var(--black);
}
.slide:nth-child(even) { background: var(--black-2); }
.slide-shell { width: min(1180px, calc(100% - 9vw)); min-height: 100svh; margin: 0 auto; padding: clamp(44px, 6.4vh, 72px) 0 clamp(58px, 7vh, 82px); }
.eyebrow { margin: 0; color: var(--teal); font-size: .76rem; font-weight: 780; letter-spacing: .18em; }
.section-heading h2, .preserved-heading h2, .learnings-heading h2 {
  margin: clamp(18px, 2.7vh, 34px) 0 0;
  font-size: clamp(2.55rem, 4.8vw, 5.6rem);
  line-height: .93;
  letter-spacing: -.062em;
}
.section-heading h2 span, .preserved-heading h2 span { color: var(--teal); }
.slide-takeaway { margin: 0; padding-top: 18px; border-top: 1px solid var(--line); color: #c9d1d3; font-size: clamp(1rem, 1.4vw, 1.28rem); font-weight: 620; }

/* Cover */
.slide-cover { display: grid; grid-template-columns: 53% 47%; background: var(--black); }
.cover-copy { z-index: 3; display: flex; flex-direction: column; justify-content: center; padding: 8vh 3vw 8vh 7vw; }
.cover-copy h1 { margin: 4.2vh 0 3.8vh; max-width: 780px; font-size: clamp(3.5rem, 6vw, 6.7rem); line-height: .94; letter-spacing: -.065em; }
.cover-meta { display: flex; flex-direction: column; gap: .42rem; padding-left: 1.25rem; border-left: 2px solid var(--pink); color: #a9b6b9; }
.cover-meta strong { color: var(--white); font-size: 1.18rem; }
.cover-visual { position: relative; min-height: 100%; background: url('./assets/cover-fitness-editorial.png') 62% center / cover no-repeat; }
.cover-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, var(--black) 0%, rgba(5,6,7,.98) 38%, rgba(5,6,7,.56) 58%, rgba(5,6,7,.05) 100%); }
.cover-actions { display: flex; align-items: center; gap: 1.2rem; margin-top: 6vh; color: var(--muted); font-size: .76rem; }
.slide-cover .eyebrow, .cover-meta span, .cover-actions > span { color: var(--white); }
.enter-button { padding: .8rem 1.15rem; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; color: var(--white); background: rgba(5,6,7,.3); cursor: pointer; transition: border-color .25s, background .25s, transform .25s; }
.enter-button b { margin-left: .4rem; color: var(--teal); }
.enter-button:hover { border-color: var(--teal); background: rgba(37,197,200,.08); transform: translateY(-2px); }

/* Slide 2 */
.preserved-layout { display: grid; grid-template-columns: 1.14fr .86fr; grid-template-rows: auto 1fr auto auto; column-gap: 7vw; }
.preserved-heading { grid-column: 1 / -1; }
.preserved-heading h2 { font-size: clamp(3.25rem, 5.8vw, 6.6rem); }
.primary-intent, .efficiency-intent { align-self: center; }
.primary-intent { padding-right: 6vw; border-right: 1px solid var(--line); }
.metric-value { margin: 0; color: var(--teal); font-size: clamp(4.2rem, 7vw, 8rem); font-weight: 790; line-height: .82; letter-spacing: -.065em; }
.efficiency-intent .metric-value { font-size: clamp(3.6rem, 5.7vw, 6.3rem); }
.metric-label { margin: 1.2rem 0 .55rem; font-weight: 760; letter-spacing: .09em; }
.metric-delta { margin: 0; color: var(--teal-light); font-size: 1.35rem; font-weight: 760; }
.metric-note { max-width: 480px; margin: 1.6rem 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.45; }
.support-metrics { grid-column: 1 / -1; display: grid; grid-template-columns: 1.05fr 1fr .9fr 1.35fr 1fr; margin: 0 0 2.8vh; padding: 2.2vh 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.support-metrics div { display: flex; flex-direction: column; gap: .28rem; padding: 0 1.25rem; border-left: 1px solid var(--line-soft); }
.support-metrics div:first-child { padding-left: 0; border: 0; }
.support-metrics strong { font-size: clamp(1.1rem, 1.55vw, 1.45rem); }
.support-metrics span { color: var(--muted); font-size: .82rem; }
.support-metrics em { color: #b5c0c2; font-size: .82rem; font-style: normal; font-weight: 690; }
.preserved-layout .slide-takeaway { grid-column: 1 / -1; }

/* Slide 3 */
.comparison-layout { display: grid; grid-template-rows: auto 1fr auto; }
.comparison-layout .section-heading h2 { max-width: 1020px; font-size: clamp(2.7rem, 4.5vw, 5rem); }
.comparison-story { display: grid; grid-template-columns: 1fr .72fr 1.25fr; gap: clamp(24px, 3vw, 48px); align-self: center; }
.comparison-group { padding-top: 14px; border-top: 2px solid var(--muted-2); }
.comparison-group.response { border-top-color: #8ba0a5; }
.comparison-group.intent { border-top-color: var(--teal); }
.comparison-group header { display: flex; flex-direction: column; gap: .28rem; margin-bottom: 2.3vh; }
.comparison-group header strong { font-size: .85rem; letter-spacing: .12em; }
.comparison-group header span { color: var(--muted); font-size: .78rem; }
.comparison-row { display: grid; grid-template-columns: minmax(100px, .9fr) minmax(80px, 1.4fr) auto; align-items: center; gap: 14px; min-height: 46px; color: #cbd2d4; font-size: .86rem; }
.comparison-row b { min-width: 58px; text-align: right; color: #d9dfe0; }
.delta-track { height: 3px; background: rgba(255,255,255,.11); }
.delta-track i { display: block; width: 0; height: 100%; background: #7a8b90; transition: width .95s cubic-bezier(.22,.61,.36,1); will-change: width; }
.slide.is-visible .delta-track i { width: max(6px, var(--bar)); }
.is-positive b { color: var(--teal); }
.is-positive .delta-track i { background: var(--teal); }
.is-attention b { color: var(--pink); }
.is-attention .delta-track i { background: var(--pink); }

/* Slide 4 */
.origin-layout { display: grid; grid-template-columns: 1fr 330px; grid-template-rows: auto 1fr auto; gap: 0 6vw; }
.origin-layout .section-heading { grid-column: 1 / -1; }
.origin-layout h2 { font-size: clamp(2.7rem, 4.4vw, 5rem); }
.origin-chart { align-self: center; }
.chart-head, .chart-row { display: grid; grid-template-columns: 112px 1fr 1fr 82px; gap: 18px; align-items: center; }
.chart-head { padding: 0 0 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .73rem; letter-spacing: .1em; }
.chart-row { min-height: 122px; border-bottom: 1px solid var(--line-soft); }
.chart-row > strong { font-size: .78rem; letter-spacing: .1em; }
.chart-row > em { color: #bdc7ca; font-style: normal; font-weight: 720; text-align: right; }
.paid-row > em { color: var(--pink); }
.paired-bars { display: grid; grid-template-rows: 8px auto; gap: 10px; min-width: 0; }
.paired-bars i { display: block; width: 0; height: 8px; border-radius: 999px; background: #5e7075; transition: width 1.05s cubic-bezier(.22,.61,.36,1); will-change: width; }
.paired-bars .sep { background: var(--teal); }
.paid-row .paired-bars .sep { background: var(--pink); }
.slide.is-visible .paired-bars i { width: var(--w); }
.paired-bars span { color: #d5dcde; font-size: .9rem; }
.origin-insight { align-self: center; padding-left: 30px; border-left: 1px solid var(--line); }
.insight-number { margin: 0; color: var(--teal); font-size: clamp(4rem, 6vw, 6.5rem); font-weight: 790; line-height: .88; letter-spacing: -.055em; }
.origin-insight > p:nth-child(2) { max-width: 270px; color: #b9c3c5; line-height: 1.45; }
.interpretation { display: grid; gap: .35rem; margin-top: 4vh; padding-top: 3vh; border-top: 2px solid var(--pink); }
.interpretation span { margin-top: .7rem; color: var(--pink); font-size: .68rem; font-weight: 760; letter-spacing: .12em; }
.interpretation strong { font-size: .98rem; line-height: 1.35; }
.origin-layout .slide-takeaway { grid-column: 1 / -1; }

/* Slide 5 */
.content-layout { display: grid; grid-template-rows: auto 1fr auto; }
.compact-heading h2 { font-size: clamp(2.25rem, 3.8vw, 4.2rem); }
.reel-stage { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: clamp(20px, 2.8vw, 44px); align-items: center; }
.reel-item { display: grid; grid-template-columns: minmax(92px, 128px) 1fr; gap: 20px; align-items: end; }
.reel-main { grid-template-columns: minmax(126px, 168px) 1fr; }
.reel-placeholder { position: relative; aspect-ratio: 9 / 16; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 14px; border: 1px solid rgba(129,226,223,.28); border-radius: 18px; background: radial-gradient(circle at 70% 20%, rgba(37,197,200,.22), transparent 30%), linear-gradient(160deg, #162225, #080a0b 58%); color: var(--white); }
.reel-placeholder::after { content: ''; position: absolute; inset: 9px; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; }
.reel-placeholder span { z-index: 1; color: var(--teal); font-size: 2rem; font-weight: 780; }
.reel-placeholder small { z-index: 1; color: #aebabc; font-size: .68rem; line-height: 1.35; }
.reel-copy { padding-bottom: 5px; }
.reel-rank { margin: 0 0 .65rem; color: var(--teal); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.reel-copy h3 { margin: 0 0 1.3rem; font-size: clamp(.88rem, 1.25vw, 1.15rem); line-height: 1.18; }
.reel-copy p { margin: .45rem 0; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.reel-copy p strong { color: var(--white); font-size: 1rem; }
.share-highlight { margin-top: 1rem !important; padding-top: .8rem; border-top: 1px solid var(--line); }
.share-highlight strong { color: var(--teal) !important; font-size: 1.45rem !important; }
.content-insight { display: flex; justify-content: space-between; gap: 24px; margin: 1.5vh 0; padding: 1.35vh 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.content-insight p { margin: 0; color: var(--muted); font-size: .82rem; }
.content-insight p:first-child { display: flex; align-items: center; gap: 1rem; }
.content-insight span { color: var(--pink); font-size: .68rem; font-weight: 760; letter-spacing: .1em; }
.content-insight strong, .content-insight b { color: var(--white); }
.content-insight p:last-child { display: flex; gap: .5rem; }
/* Slide 6 */
.learnings-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 7vw; align-items: center; }
.learnings-heading h2 { font-size: clamp(3.1rem, 5.2vw, 6rem); }
.learning-list { border-top: 1px solid var(--line); }
.learning-list article { display: grid; grid-template-columns: 62px 1fr; gap: 18px; align-items: center; min-height: 103px; border-bottom: 1px solid var(--line); }
.learning-list article > span { color: var(--teal); font-size: 1.45rem; font-weight: 780; }
.learning-list h3 { margin: 0 0 .42rem; font-size: clamp(1rem, 1.35vw, 1.24rem); }
.learning-list p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.4; }

/* Slide 7 */
.actions-layout { display: grid; grid-template-rows: auto auto 1fr; }
.actions-heading h2 { font-size: clamp(2.8rem, 4.7vw, 5.3rem); }
.action-columns, .action-list article { display: grid; grid-template-columns: 48px 1.05fr 1fr 1fr; column-gap: 28px; align-items: center; }
.action-columns { margin-top: 3vh; padding: 0 0 1.2vh 76px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .68rem; font-weight: 760; letter-spacing: .12em; }
.action-list article { min-height: clamp(76px, 9vh, 96px); border-bottom: 1px solid var(--line-soft); }
.action-list b { color: var(--teal); font-size: 1.22rem; }
.action-list h3 { margin: 0; font-size: clamp(.92rem, 1.2vw, 1.08rem); line-height: 1.25; }
.action-list p { margin: 0; color: var(--muted); font-size: clamp(.75rem, .95vw, .88rem); line-height: 1.35; }

/* Controls and motion */
.presentation-controls { position: fixed; z-index: 30; right: 2.2vw; bottom: 2.2vh; display: flex; align-items: center; gap: 10px; color: #a4b0b3; font-size: .72rem; letter-spacing: .12em; }
.arrow-button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: var(--white); background: rgba(5,6,7,.58); backdrop-filter: blur(12px); cursor: pointer; transition: border-color .2s, color .2s, transform .2s, opacity .2s; }
.arrow-button:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.arrow-button:disabled { opacity: .25; cursor: default; transform: none; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .72s ease, transform .72s ease; }
.slide.is-visible .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .delta-track i, .paired-bars i { transition: none; }
}

@media (max-width: 900px) {
  html { scroll-snap-type: y proximity; }
  .slide { min-height: 100svh; overflow: visible; }
  .slide-shell { min-height: 100svh; padding: 56px 0 80px; }
  .slide-cover { grid-template-columns: 1fr; }
  .cover-copy { padding: 12vh 7vw 10vh; }
  .cover-visual { position: absolute; inset: 0; opacity: .42; }
  .cover-shade { background: linear-gradient(90deg, rgba(5,6,7,.96), rgba(5,6,7,.64)); }
  .preserved-layout { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto auto; gap: 4vh; }
  .primary-intent { padding: 0 0 3vh; border: 0; border-bottom: 1px solid var(--line); }
  .support-metrics { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .support-metrics div { padding: 0 14px; }
  .comparison-story { grid-template-columns: 1fr; gap: 24px; padding: 5vh 0; }
  .origin-layout { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; }
  .origin-insight { margin: 4vh 0; padding: 3vh 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .reel-stage { grid-template-columns: 1fr; gap: 28px; padding: 5vh 0; }
  .reel-item, .reel-main { grid-template-columns: 112px 1fr; }
  .content-insight { flex-direction: column; }
  .learnings-layout { grid-template-columns: 1fr; align-content: center; }
  .action-columns { display: none; }
  .action-list { margin-top: 4vh; }
  .action-list article { grid-template-columns: 48px 1fr; gap: 12px 18px; padding: 20px 0; }
  .action-list article p { grid-column: 2; }
}

@media (max-width: 560px) {
  .cover-actions { align-items: flex-start; flex-direction: column; }
  .support-metrics { grid-template-columns: 1fr 1fr; }
  .chart-head { display: none; }
  .chart-row { grid-template-columns: 86px 1fr; padding: 18px 0; }
  .chart-row > em { grid-column: 1 / -1; text-align: left; }
  .presentation-controls { right: 16px; bottom: 14px; }
}
