:root {
  --ink: #0E1A26;
  --blue: #1A8FD6;
  --teal: #17C5B0;
  --paper: #F4F1EA;
  --white: #fff;
  --muted: #5E6B78;
  --display: 'Bricolage Grotesque', 'Arial Black', Arial, sans-serif;
  --body: Inter, Arial, sans-serif;
  --out: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { background: var(--ink); color: var(--ink); font-family: var(--body); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
#stage {
  width: 1920px; height: 1080px; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(var(--scale, .5));
  transform-origin: center; overflow: hidden; background: var(--paper);
}
#stage:focus { outline: none; }
.slide { position: absolute; inset: 0; padding: 90px 110px; overflow: hidden; background: var(--paper); }
[hidden] { display: none !important; }
.dark { background: var(--ink); color: var(--paper); }
h1, h2, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.05em; }
h2 { position: relative; z-index: 1; font-size: 88px; line-height: 1.06; max-width: 1690px; }
p { font-size: 40px; line-height: 1.27; letter-spacing: -.025em; }
.beat {
  opacity: 0; transform: translateY(12px); visibility: hidden;
  transition: opacity 280ms var(--out), transform 350ms var(--out), visibility 0s 350ms;
}
.beat.shown { opacity: 1; transform: translateY(0); visibility: visible; transition-delay: 0s; }
svg .beat { transform: none; }
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 420ms var(--out); }
.shown > .draw, .shown .draw { stroke-dashoffset: 0; }
.beat.retired { opacity: 0; visibility: hidden; }
.instant *, .instant *::before, .instant *::after { transition: none !important; animation: none !important; }
.illustration { display: block; width: 100%; height: 100%; overflow: visible; }
.blue-fill { fill: var(--blue); }
.teal-fill { fill: var(--teal); }
.muted-fill { fill: var(--muted); stroke: none; }
.paper-fill { fill: var(--paper); }
.paper-stroke { stroke: var(--paper); }
.ink-stroke { stroke: var(--ink); }
.blue-stroke { stroke: var(--blue); }
.teal-stroke { stroke: var(--teal); }
.grid-line { opacity: .2; stroke-width: 3; }
.tag {
  display: inline-block; font: 700 24px/1.2 var(--body); letter-spacing: .035em;
  color: var(--ink); background: var(--teal); padding: 7px 13px;
}
.cover { padding: 0; }
.cover-photo, .cover-shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-shade { background: linear-gradient(0deg, #0E1A26 0%, #0E1A26C7 28%, #0E1A2633 76%, #0E1A2666); }
.cover-content { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); transition: opacity 400ms var(--out), transform 400ms var(--out); }
.ready .cover-content { opacity: 1; transform: none; }
.training-name { position: absolute; left: 110px; top: 85px; font-size: 36px; font-weight: 600; }
.cover h1 { position: absolute; left: 100px; bottom: 230px; font-size: 164px; line-height: .97; max-width: 1300px; text-wrap: balance; }
.tagline { position: absolute; left: 110px; bottom: 126px; font-size: 43px; max-width: 1500px; }
.peptide-cover .cover-shade { display: none; }
.peptide-cover h1 { bottom: 218px; max-width: 1700px; font-size: 149px; }
.peptide-cover .training-name { top: 595px; }
.peptide-cover .tagline { bottom: 130px; }
.road-art { position: absolute; inset: 0; width: 100%; height: 100%; stroke: var(--blue); stroke-width: 8; }
.road-ghost { stroke: var(--muted); opacity: .13; stroke-width: 16; }
.stop-fill { fill: var(--paper); stroke: var(--blue); stroke-width: 6; }
.destination .stop-fill { fill: var(--teal); stroke: var(--ink); }
.road-number { position: absolute; width: 84px; height: 84px; margin: -42px; display: grid; place-items: center; font: 800 36px var(--display); }
.road-number.beat { transform: none; }
.goal-number { font-size: 56px; }
.road-label { position: absolute; font-size: 38px; font-weight: 600; line-height: 1.17; letter-spacing: -.035em; }
.goal-label { font: 800 52px/1.04 var(--display); letter-spacing: -.035em; }
.pitch-slide h2 { font-size: 84px; }
.pitch-art { position: absolute; left: 75px; top: 250px; width: 810px; height: 700px; }
.pitch-copy { position: absolute; left: 945px; top: 250px; width: 865px; height: 705px; display: grid; grid-template-rows: repeat(4, auto); gap: 18px; }
.pitch-beat { min-height: 0; }
.pitch-beat p { margin-top: 12px; font-size: 40px; line-height: 1.2; }
.pitch-beat:nth-child(even) .tag { background: var(--blue); }
.pitch-art .slot { stroke-dasharray: 10 10; opacity: .45; }
.calendar-art { position: absolute; left: 80px; top: 260px; width: 810px; height: 610px; }
.demo-copy { position: absolute; top: 295px; left: 945px; width: 855px; display: grid; gap: 52px; }
.demo-copy p { font-size: 44px; line-height: 1.22; }
.demo-copy p:nth-child(2) { font-weight: 700; }
.closing-band { position: absolute; left: 110px; right: 110px; bottom: 118px; padding: 24px 30px; background: var(--teal); color: var(--ink); font-weight: 700; font-size: 38px; line-height: 1.22; letter-spacing: -.035em; }
.key-band { font-size: 39px; }
.objections-slide h2 { max-width: 1580px; font-size: 80px; }
.objection-list { position: absolute; left: 110px; right: 110px; top: 270px; bottom: 120px; display: grid; grid-template-rows: repeat(4, 1fr); gap: 20px; }
.objection-row { display: grid; grid-template-columns: 550px 190px 1fr; gap: 20px; min-height: 136px; align-items: center; }
.objection-row p { font-size: 44px; line-height: 1.25; }
.they-say { color: var(--paper); }
.you-say { color: var(--teal); font-weight: 500; }
.redirect { position: relative; height: 100px; color: var(--blue); }
.redirect-line { position: absolute; inset: 0; width: 175px; height: 100px; stroke-width: 4; }
.redirect span { position: absolute; left: 117px; top: -24px; font-size: 63px; }
.rules-grid { position: absolute; top: 270px; left: 110px; right: 110px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; }
.rule-number { font: 800 258px/1 var(--display); letter-spacing: -.07em; color: var(--teal); }
.rule-line { width: 100%; height: 32px; color: var(--blue); margin: 26px 0; stroke-width: 3; }
.rule p { font-size: 42px; line-height: 1.16; max-width: 300px; }
.mission { font-family: var(--display); font-size: 54px; font-weight: 800; letter-spacing: -.04em; padding: 25px 30px; }
.controls { position: absolute; z-index: 10; left: 110px; right: 110px; bottom: 30px; height: 48px; display: flex; justify-content: space-between; align-items: center; color: var(--ink); }
#stage.on-dark .controls { color: var(--paper); }
.control-buttons { display: flex; gap: 17px; }
.controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 8px; color: inherit; border: 0; background: transparent; cursor: pointer; border-radius: 4px; }
.controls button:hover, .controls button[aria-expanded="true"] { background: var(--blue); color: var(--ink); }
.controls button:disabled { opacity: .25; cursor: default; background: transparent; color: inherit; }
.controls svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#counter { font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.progress { position: absolute; bottom: 0; left: 0; right: 0; height: 5px; background: var(--muted); }
#progress-fill { height: 100%; background: var(--teal); transform-origin: left center; transform: scaleX(0); }
#notes { position: fixed; z-index: 30; right: 20px; top: 20px; bottom: 20px; width: min(880px, calc(100vw - 40px)); background: var(--paper); color: var(--ink); border: 2px solid var(--blue); padding: 55px 28px 28px; box-shadow: 0 10px 50px #0E1A264D; }
#notes-copy { height: 100%; margin: 0; padding-right: 10px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font: 24px/1.6 var(--body); }
#close-notes { position: absolute; right: 15px; top: 8px; font-size: 30px; background: none; border: 0; cursor: pointer; color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .beat, .cover-content { opacity: 1; visibility: visible; transform: none; }
  .draw { stroke-dashoffset: 0; }
  .beat.retired { opacity: 0; visibility: hidden; }
}

.problem-panels { position: absolute; left: 110px; right: 110px; top: 245px; bottom: 115px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 24px 44px; }
.problem-panel { display: grid; grid-template-columns: 280px 1fr; gap: 20px; align-items: center; border-top: 2px solid var(--blue); padding-top: 14px; }
.problem-scene { width: 280px; height: 280px; color: var(--ink); }
.problem-panel .tag { font-size: 20px; letter-spacing: 0; padding: 7px 9px; }
.problem-panel:nth-child(even) .tag { background: var(--blue); color: var(--white); }
.problem-panel p { margin-top: 14px; font-size: 38px; line-height: 1.2; }
.angle-art { position: absolute; left: 90px; top: 245px; width: 810px; height: 670px; }
.angle-copy { position: absolute; left: 945px; right: 110px; top: 250px; display: grid; grid-template-rows: repeat(4, 150px); gap: 5px; }
.angle-row p { margin-top: 10px; font-size: 40px; line-height: 1.2; }
.angle-row:nth-child(even) .tag { background: var(--blue); color: var(--white); }
.angle-ask { bottom: 110px; font-size: 40px; display: flex; align-items: center; gap: 18px; }
.angle-ask .tag { background: var(--ink); color: var(--paper); }
