/* Layout: fixed 1920×1080 stage on pure white, scaled to the viewport. No cards or icons:
   personality comes from snap sparks and one-point-at-a-time focus slides. */
:root {
  --bg: #ffffff;
  --ink: hsl(24 12% 8%);
  --line: hsl(24 25% 15% / 0.1);
  --paper: hsl(24 20% 10%);
  --soft: hsl(24 10% 28%);
  --mute: hsl(24 8% 46%);
  --faint: hsl(24 12% 82%);
  --orange: hsl(19 89% 54%);
  --orange-hi: hsl(24 100% 63%);
  --orange-lo: hsl(15 80% 38%);
  --accent: hsl(17 84% 46%);
    --cream: hsl(24 100% 97%);
  --good: hsl(145 63% 34%);
  --amber: hsl(32 92% 38%);
  --display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --s: 1;
  color-scheme: light;
}

@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-display: block; src: url(vendor/fonts/plus-jakarta-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500; font-display: block; src: url(vendor/fonts/plus-jakarta-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-display: block; src: url(vendor/fonts/plus-jakarta-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-display: block; src: url(vendor/fonts/plus-jakarta-sans-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-display: block; src: url(vendor/fonts/plus-jakarta-sans-latin-800-normal.woff2) format("woff2"); }

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  background: var(--bg);
  color: var(--paper);
  font-family: var(--body);
  font-weight: 500;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: default;
  user-select: none;
}
img, video { display: block; max-width: 100%; }
p, h1, h2, h3, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
b, .o { color: var(--accent); font-weight: 700; }

/* snap sparks: the logo's burst lines, drawn on beside a focused point as it enters */
.burst { position: absolute; left: -.52em; top: -.4em; width: .55em; height: .55em; overflow: visible; pointer-events: none; }
.burst path { fill: none; stroke: var(--orange); stroke-width: 6; stroke-linecap: round; opacity: 0; }
.fx-item h3 { position: relative; }


.flash { position: fixed; inset: 0; background: var(--orange); opacity: 0; pointer-events: none; z-index: 40; }

/* ---------- stage ---------- */
.stage {
  position: absolute; left: 50%; top: 50%;
  width: 1920px; height: 1080px;
  transform: translate(-50%, -50%) scale(var(--s));
  transform-origin: 50% 50%;
}
.slide {
  position: absolute; inset: 0; overflow: hidden; background: var(--bg);
  padding: 96px 120px 128px;
  display: flex; flex-direction: column;
  visibility: hidden; opacity: 0;
}
.slide.center { align-items: center; justify-content: center; text-align: center; }

/* ---------- chrome ---------- */
.chrome { position: absolute; inset: 0; pointer-events: none; z-index: 20; }
.corner-logo { position: absolute; top: 58px; right: 120px; width: 232px; transform-origin: 0 0; }
.foot {
  position: absolute; left: 120px; right: 120px; bottom: 50px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 19px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); font-weight: 600;
}
.foot .chap { display: flex; align-items: center; gap: 14px; }
.foot .chap::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.foot .count { font-variant-numeric: tabular-nums; letter-spacing: .12em; }
.progress { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--orange-lo), var(--orange-hi)); transform-origin: 0 50%; transform: scaleX(0); }

.wipe {
  /* bleeds past the stage into the letterbox (--bx/--by set by fit()) so it fills the window */
  position: absolute; inset: calc(-1 * var(--by, 0px) - 6px) calc(-1 * var(--bx, 0px) - 6px); z-index: 30;
  background: radial-gradient(ellipse at 30% 40%, var(--orange-hi), var(--orange) 45%, var(--orange-lo));
  clip-path: inset(0 0 0 100%);
  display: flex; flex-direction: column; justify-content: center; padding: 0 calc(166px + var(--bx, 0px));
  pointer-events: none;
}
.wipe-mark { position: absolute; top: calc(76px + var(--by, 0px)); left: calc(166px + var(--bx, 0px)); width: 64px; filter: brightness(0) invert(1); opacity: .9; }
.wipe-num, .wipe-label { overflow: hidden; }
.wipe-num span { display: block; font-size: 26px; letter-spacing: .3em; font-weight: 700; color: hsl(24 100% 95% / .85); }
.wipe-label span { display: block; font-family: var(--display); font-weight: 800; font-size: 190px; letter-spacing: -.045em; line-height: 1.05; color: #fff; }

/* ---------- type ---------- */
.head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 44px; padding-right: 320px; }
.title { font-family: var(--display); font-weight: 800; font-size: 76px; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
.eyebrow { font-size: 22px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.lede { font-size: 32px; line-height: 1.45; color: var(--soft); max-width: 1000px; text-wrap: pretty; }
.state { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.state::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.fx-item p.state { text-wrap: nowrap; }   /* .fx-item p sets text-wrap: pretty, which re-enables wrapping */
.state.live { color: var(--good); }
.state.dev { color: var(--amber); }
.state.plan { color: var(--mute); }

/* ---------- 1 / 18 title + closing ---------- */
.title-wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 48px; }
.brand { --bw: 1100px; position: relative; width: var(--bw); aspect-ratio: 2064 / 512; }
.brand .bh, .brand .bt { position: absolute; top: 0; bottom: 0; background-image: url(assets/logo-wordmark.png); background-repeat: no-repeat; background-size: var(--bw) 100%; }
.brand .bh { left: 0; width: 19.2%; background-position: 0 0; }
.brand .bt { left: 19.2%; right: 0; background-position: calc(var(--bw) * -0.192) 0; }
.sparks { position: absolute; width: 640px; height: 640px; left: calc(var(--bw) * 0.096 - 320px); top: calc(var(--bw) * 0.072 - 320px); overflow: visible; pointer-events: none; }
.sparks line, .sparks circle { stroke: var(--orange-hi); fill: none; stroke-linecap: round; }
.sparks .spark { stroke-width: 9; opacity: 0; }
.sparks .ring { stroke-width: 4; opacity: 0; }
.tagline { font-size: 50px; font-weight: 700; color: var(--paper); position: relative; letter-spacing: -.015em; }
.tagline em { font-style: normal; color: var(--accent); font-weight: 800; position: relative; white-space: nowrap; }
.tagline em svg { position: absolute; left: -1%; bottom: -22px; width: 102%; height: 26px; overflow: visible; }
.tagline em path { fill: none; stroke: var(--orange); stroke-width: 6; stroke-linecap: round; }
.subline { font-size: 30px; color: var(--mute); font-weight: 600; margin-top: -12px; }
.hint { position: absolute; bottom: 60px; left: 0; right: 0; text-align: center; font-size: 20px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.closing-url { position: absolute; bottom: 72px; left: 0; right: 0; text-align: center; font-family: var(--display); font-size: 34px; font-weight: 800; letter-spacing: -.01em; color: var(--accent); }

/* ---------- summary: the whole deck in eight points ---------- */
.recap { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 60px; align-content: start; margin-top: -8px; }
.recap .eyebrow { font-size: 20px; margin-bottom: 14px; }
/* summary sign-off: closing line on the left, QR to scan on the right */
.sign-off { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; }
.sign-off .takeaway { flex: 1; }
.qr { display: flex; align-items: center; gap: 28px; margin: 0; }
.qr img { width: 210px; height: 210px; image-rendering: pixelated; border-radius: 12px; box-shadow: 0 0 0 2px var(--line); }
.qr figcaption { font-family: var(--display); font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--paper); max-width: 220px; }
.qr figcaption span { display: block; margin-top: 8px; font-size: 24px; font-weight: 700; color: var(--accent); }
.recap .rv { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -.015em; line-height: 1.28; color: var(--paper); text-wrap: pretty; }


/* ---------- focus slides: one point at a time, ending on a summary ---------- */
.fx { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; }
.fx-index { display: none; }
.fx-items { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 70px; align-content: center; }
.fx-item h3 { font-family: var(--display); font-size: 56px; font-weight: 800; letter-spacing: -.035em; line-height: 1.12; margin-bottom: 20px; text-wrap: balance; }
.fx-item p { font-size: 28px; line-height: 1.45; color: var(--soft); max-width: 520px; text-wrap: pretty; }
.fx-item .lead { font-family: var(--display); font-size: 36px; font-weight: 800; letter-spacing: -.02em; color: var(--paper); margin: -6px 0 12px; }
.fx-item .state { margin-bottom: 14px; }
.fx-after { margin-top: 24px; }

.fx.focusing { grid-template-columns: 380px minmax(0, 1fr); gap: 0; }
.fx.focusing .fx-index { display: flex; flex-direction: column; justify-content: center; gap: 26px; padding-right: 50px; }
.fx-index li { font-family: var(--display); font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--faint); transition: color .4s; }
.fx-index li.on { color: var(--accent); }
.fx.focusing .fx-items { grid-template-columns: minmax(0, 1fr); border-left: 2px solid var(--line); padding-left: 80px; }
.fx.focusing .fx-item { grid-area: 1 / 1; align-self: center; }
.fx.focusing .fx-item h3 { font-size: 124px; line-height: 1.04; margin-bottom: 34px; }
.fx.focusing .fx-item p { font-size: 40px; max-width: 1000px; }
.fx.focusing .fx-item .lead { font-size: 60px; margin: -10px 0 22px; }
.fx.focusing .fx-item .state { font-size: 24px; margin-bottom: 26px; }

/* rows variant (Snappy): summary is a list, focus shows the agent's screen */
.fx.rows .fx-items { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.fx.rows .fx-text { display: grid; grid-template-columns: 76px 500px minmax(0, 1fr); align-items: center; gap: 26px; }
/* Snappy's per-agent mascots (their near-white backdrop lifted to pure white) */
.agent { display: block; width: 76px; height: 76px; filter: brightness(1.03); }
/* business model: four revenue streams side by side, each with its status */
.biz { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-content: center; }
.biz article { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 6px 44px 10px; border-left: 2px solid var(--line); }
.biz article:first-child { padding-left: 0; border-left: 0; }
.biz h3 { font-family: var(--display); font-size: 50px; font-weight: 800; letter-spacing: -.035em; line-height: 1.08; margin-top: 10px; text-wrap: balance; }
.biz .lead { font-family: var(--display); font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--accent); }
.biz p:last-child { font-size: 26px; line-height: 1.45; color: var(--soft); text-wrap: pretty; }
.biz .agent { position: absolute; top: -34px; right: 30px; width: 96px; height: 96px; }
.fx.rows .fx-item h3 { font-size: 40px; margin: 0; }
.fx.rows .fx-item p { font-size: 26px; max-width: none; }
.fx.rows .fx-item .state { margin: 0; }
.fx-shot { display: none; }
.fx.rows.focusing .fx-items { padding-left: 60px; }
.fx.rows.focusing .fx-item { display: grid; grid-template-columns: minmax(0, 1fr) 820px; gap: 50px; align-items: center; }
.fx.rows.focusing .fx-text { display: block; }
.fx.rows.focusing .agent { width: 140px; height: 140px; margin: 0 0 6px -12px; }
.fx.rows.focusing .fx-item h3 { font-size: 60px; margin-bottom: 18px; }
.fx.rows.focusing .fx-item p { font-size: 26px; }
.fx.rows.focusing .fx-shot { display: block; width: 100%; border-radius: 16px; box-shadow: 0 30px 70px -25px hsl(24 40% 20% / .35), 0 0 0 1px var(--line); }
.fx.rows.focusing .fx-shot.tall { width: 420px; justify-self: center; }

/* ---------- 4 beginning ---------- */
.begin { flex: 1; display: grid; grid-template-columns: 1fr 720px; gap: 30px; min-height: 0; }
.begin-left { display: flex; flex-direction: column; gap: 30px; position: relative; }
.begin .head { padding-right: 0; margin-bottom: 6px; }
.v-label { font-family: var(--display); font-size: 52px; font-weight: 800; letter-spacing: -.03em; }
.v-label span { color: var(--accent); }
.beats { font-family: var(--display); font-size: 36px; font-weight: 800; letter-spacing: -.02em; display: flex; gap: 18px; flex-wrap: wrap; }
.beats span { display: inline-block; }
.question { font-family: var(--display); font-size: 58px; font-weight: 800; letter-spacing: -.035em; line-height: 1.15; margin-top: auto; text-wrap: balance; }
.phones { position: relative; perspective: 1600px; }
.phone {
  position: absolute; width: 330px; aspect-ratio: 9 / 18.6; border-radius: 50px; padding: 14px;
  background: linear-gradient(145deg, hsl(24 6% 26%), hsl(24 8% 10%));
  box-shadow: 0 50px 100px -30px hsl(24 40% 20% / .35), inset 0 0 0 2px hsl(30 10% 40% / .5);
}
.phone .screen { width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: #000; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone.p1 { left: 20px; top: 110px; transform: rotate(-6deg); }
.phone.p2 { left: 370px; top: 170px; transform: rotate(5deg); }
.phones .tg-mock { position: absolute; left: 0; right: 0; top: 120px; }
.phones .tg-mock img { width: 100%; }
.phones .cams { position: absolute; left: 0; right: 0; bottom: -10px; display: flex; justify-content: center; gap: 18px; }
.phones .cams img { width: 150px; filter: drop-shadow(0 20px 30px hsl(24 40% 20% / .3)); }

/* ---------- 5 seven days ---------- */
.t7 { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 70px; }
.t7-sub { font-family: var(--display); font-weight: 800; font-size: 76px; letter-spacing: -.035em; line-height: 1.08; text-align: center; text-wrap: balance; }
.t7.intro .t7-sub { font-size: 126px; max-width: 1500px; line-height: 1.08; }
.t7.intro .tiles, .t7.intro .t7-kicker { display: none; }
.tiles { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.tnum { color: var(--orange); font-family: var(--display); font-weight: 800; font-size: 200px; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.tlbl { font-size: 32px; font-weight: 700; color: var(--soft); }

/* ---------- 6 current traction ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin-block: auto; }
.nb { display: flex; flex-direction: column; gap: 16px; }
.nv { color: var(--orange); font-family: var(--display); font-weight: 800; font-size: 80px; letter-spacing: -.05em; line-height: 1.05; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nv small { font-size: .42em; letter-spacing: -.02em; margin-right: 4px; }
.nl { font-size: 28px; font-weight: 700; color: var(--soft); }

/* ---------- 7 pilot ---------- */
.pilot { flex: 1; display: grid; grid-template-columns: 960px 1fr; gap: 60px; min-height: 0; }
.pilot-left { display: flex; flex-direction: column; justify-content: center; gap: 34px; }
.who { display: flex; flex-direction: column; gap: 18px; font-size: 32px; line-height: 1.35; color: var(--soft); }
.who strong { color: var(--paper); font-weight: 800; }
.in4 { font-family: var(--display); font-size: 48px; font-weight: 800; letter-spacing: -.025em; margin-top: 10px; }
.pilot-nums { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 60px; }
.pv { color: var(--orange); font-family: var(--display); font-size: 92px; font-weight: 800; letter-spacing: -.045em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.pk { font-size: 24px; color: var(--mute); font-weight: 600; margin-top: 6px; max-width: 220px; }
.photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 22px; min-height: 0; }
.photo { border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -25px hsl(24 40% 20% / .35); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.tall { grid-row: 1 / 3; }

/* ---------- 8 voices ---------- */
.voices { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; align-content: center; }
.voice { display: flex; flex-direction: column; gap: 24px; }
.voice .tag { font-size: 22px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-weight: 800; }
.voice .said { font-family: var(--display); font-size: 46px; font-weight: 800; letter-spacing: -.025em; line-height: 1.2; text-wrap: balance; min-height: 2.4em; }
.review { border-radius: 20px; overflow: hidden; box-shadow: 0 30px 70px -30px hsl(24 40% 20% / .45); margin-top: 8px; }
.review img { width: 100%; }

/* ---------- 9 merchant ---------- */
.merchant { flex: 1; display: grid; grid-template-columns: 560px 1fr; gap: 60px; align-items: center; min-height: 0; }
.merchant-left { display: flex; flex-direction: column; gap: 22px; }
.m-big { color: var(--orange); font-family: var(--display); font-size: 260px; font-weight: 800; letter-spacing: -.05em; line-height: .9; align-self: flex-start; }
.m-lbl { font-family: var(--display); font-size: 40px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.merchant-left .lede { font-size: 28px; }
.flow { position: relative; width: 880px; height: 560px; justify-self: end; }
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow-lines path { fill: none; stroke: var(--orange); stroke-width: 4; stroke-linecap: round; }
.fnode { position: absolute; display: flex; flex-direction: column; gap: 6px; }
.fk { font-size: 17px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); font-weight: 800; }
.fv { font-family: var(--display); font-size: 36px; font-weight: 800; letter-spacing: -.02em; }
.n-c2c { right: 630px; top: 92px; text-align: right; }
.n-b2c { right: 630px; top: 392px; text-align: right; }
.n-out { left: 716px; top: 256px; }
.fhub { position: absolute; left: 430px; top: 250px; font-family: var(--display); font-size: 46px; font-weight: 800; letter-spacing: -.03em; }

/* ---------- 10 demo ---------- */
.demo-grid { flex: 1; display: grid; grid-template-columns: 600px 1fr; gap: 60px; align-items: center; min-height: 0; }
.demo-left .head { padding-right: 0; }
.steps { display: flex; flex-direction: column; gap: 14px; }
.steps li { display: flex; flex-direction: column; gap: 6px; padding: 18px 0 18px 30px; border-left: 4px solid var(--faint); }
.steps .sn { font-family: var(--display); font-size: 60px; font-weight: 800; letter-spacing: -.035em; line-height: 1; color: var(--faint); transition: color .4s; }
.steps .sd { font-size: 26px; color: var(--mute); font-weight: 600; }
.steps li.on { border-left-color: var(--orange); }
.steps li.on .sn { color: var(--paper); }
.browser { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 50px 120px -40px hsl(24 40% 20% / .4), 0 0 0 1px var(--line); margin-top: 60px; }
.browser .bar { height: 46px; background: hsl(30 18% 94%); display: flex; align-items: center; gap: 9px; padding: 0 18px; }
.browser .bar i { width: 13px; height: 13px; border-radius: 50%; background: hsl(28 8% 78%); }
.browser .bar i:first-child { background: hsl(4 80% 62%); }
.browser .bar span { margin: 0 auto; padding: 5px 60px; border-radius: 8px; background: #fff; color: hsl(24 8% 35%); font-size: 17px; font-weight: 600; transform: translateX(-30px); }
.screens { position: relative; aspect-ratio: 16 / 9; background: #fff; }
.screens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* bleeds into the letterbox like the chapter wipe; the fill matches the video's orange ground so it reads full-screen */
.demo-video { position: absolute; inset: calc(-1 * var(--by, 0px) - 6px) calc(-1 * var(--bx, 0px) - 6px); z-index: 5; background: #f06221; display: none; }
/* demo.mp4 is 2880x1620: the 1920x1080 cut centred on a margin of its own edge colour, so the letterbox is video
   pixels too and matches in every browser's colour handling */
.demo-video video { position: absolute; left: 50%; top: 50%; width: 2880px; height: 1620px; max-width: none; transform: translate(-50%, -50%); }
.slide.playing { overflow: visible; }   /* let the video reach past the stage into the letterbox */

/* ---------- 11 snappy ---------- */

/* ---------- 12 market ---------- */
.market { flex: 1; display: grid; grid-template-columns: 820px 1fr; gap: 90px; align-items: center; min-height: 0; }
.mchart { display: flex; gap: 70px; align-items: flex-end; padding-left: 30px; }
.mbar { width: 280px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; gap: 14px; }
.mbar .col { width: 100%; height: calc(300px * var(--h)); border-radius: 6px 6px 0 0; background: hsl(19 89% 54% / .28); transform-origin: 50% 100%; }
.mbar.hot .col { background: var(--orange); }
.mv { font-family: var(--display); font-size: 50px; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.mbar.hot .mv { color: var(--accent); }
.my { font-family: var(--display); font-size: 32px; font-weight: 800; }
.md { font-size: 21px; color: var(--mute); line-height: 1.3; min-height: 2.6em; }
.mside { display: flex; flex-direction: column; gap: 50px; }
.mside .eyebrow { margin-bottom: 20px; }
.plain-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; }
.plain-list li { font-family: var(--display); font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.future { font-size: 30px; line-height: 1.4; color: var(--soft); }

/* ---------- 17 team ---------- */
.team { flex: 1; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 60px 80px; min-height: 0; align-content: center; }
.person { display: flex; align-items: center; gap: 40px; }
.avatar { position: relative; width: 190px; height: 190px; flex: none; }
.avatar.sm { width: 120px; height: 120px; }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.avatar svg { position: absolute; inset: -10px; width: calc(100% + 20px); height: calc(100% + 20px); overflow: visible; transform: rotate(-90deg); }
.avatar circle { fill: none; stroke: var(--orange); stroke-width: 4; }
.person h3, .advisor h3 { font-family: var(--display); font-weight: 800; font-size: 48px; letter-spacing: -.025em; }
.person h3 small, .advisor h3 small { display: block; font-size: 21px; color: var(--accent); letter-spacing: .12em; text-transform: uppercase; margin-top: 8px; font-weight: 700; }
.person p { margin-top: 14px; font-size: 28px; color: var(--soft); line-height: 1.4; }
.exp h3 { font-family: var(--display); font-weight: 800; font-size: 34px; margin-bottom: 22px; letter-spacing: -.015em; }
.exp ul { display: flex; flex-direction: column; gap: 14px; font-size: 28px; line-height: 1.4; color: var(--soft); }
.advisor { display: flex; align-items: center; gap: 30px; align-self: center; }
.advisor h3 { font-size: 38px; }
.advisor p { margin-top: 12px; font-size: 24px; color: var(--soft); }

/* ---------- shared statement pieces (slides 6, 7, 9, 14, 15, 18) ---------- */
.head-lede { font-size: 30px; line-height: 1.4; color: var(--soft); max-width: 1400px; margin-top: 4px; text-wrap: pretty; }
.split { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 90px; align-items: center; min-height: 0; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.say { font-family: var(--display); font-size: 46px; font-weight: 800; letter-spacing: -.025em; line-height: 1.15; text-wrap: balance; }
.say.small-say { font-size: 34px; color: var(--accent); }
.names { font-family: var(--display); font-size: 60px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 26px; }
.names i { font-style: normal; color: var(--faint); }

.expand { grid-template-columns: minmax(0, 1fr) 820px; }
.expand .names { color: var(--orange); font-size: 72px; }
/* Singapore Polytechnic (the launch campus) on its own row, the four expansion campuses below */
.polys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 56px; align-items: center; justify-items: center; }
.polys img { display: block; height: 74px; width: auto; max-width: 100%; object-fit: contain; }
.polys .sp { grid-column: 1 / -1; height: 112px; }

.community { grid-template-columns: 560px minmax(0, 1fr); }
.community .m-big { font-size: 240px; }
.big-lede { font-size: 36px; max-width: none; }

.media-lede { margin-bottom: 10px; }
.media { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 56px; }

.numbers.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 100px; }
.numbers.two .nv { font-size: 136px; }
.numbers.two .nl { font-weight: 600; font-size: 30px; line-height: 1.4; max-width: 640px; }

.tnbl { grid-template-columns: minmax(0, 1fr) 640px; }
.feature { font-family: var(--display); font-size: 108px; font-weight: 800; letter-spacing: -.045em; line-height: 1; color: var(--orange); margin-top: 6px; }
.pct .m-big { font-size: 220px; }

.partners { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 48px; }

/* a row of brand logos separated by faint dots (media slide, partnerships slide).
   Per-logo heights balance visual weight: marks with symbols (Challenger's star, the COURTS ring) get more height. */
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 48px; }
.logo-row img { display: block; width: auto; }
.logo-row i { font-family: var(--display); font-style: normal; font-size: 60px; font-weight: 800; color: var(--faint); }
.logo-row .hn { height: 72px; }
.logo-row .courts { height: 88px; }
.logo-row .ch { height: 120px; }
.logo-row .mfm { height: 96px; }   /* the station SVG carries padding inside its viewBox */
.logo-row .bt { height: 44px; }
.logo-row .thrive { height: 78px; }
.logo-row .e27 { height: 62px; }
.logo-row .switch { height: 62px; }
.logo-row .echelon { height: 70px; }
.logo-row .wavesparks { height: 48px; }
.logo-row .block71 { height: 104px; }   /* a stacked mark: its height is a tall box, not letters */

.merchant2 { grid-template-columns: 560px minmax(0, 1fr); }
.caps { display: flex; flex-direction: column; gap: 30px; }
.caps h3 { font-family: var(--display); font-size: 44px; font-weight: 800; letter-spacing: -.025em; }
.caps p { font-size: 28px; color: var(--soft); line-height: 1.4; margin-top: 6px; }

/* ---------- 21 comparison table ---------- */
.cmp-wrap { flex: 1; display: flex; align-items: center; min-height: 0; }
table.cmp { width: 100%; border-collapse: collapse; font-size: 23px; line-height: 1.28; }
.cmp th, .cmp td { text-align: left; padding: 12px 22px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--soft); }
.cmp thead th { font-family: var(--display); font-size: 27px; font-weight: 800; color: var(--paper); border-bottom: 2px solid var(--paper); }
.cmp td:first-child { color: var(--paper); font-weight: 700; width: 30%; }
.cmp .me { color: var(--accent); font-weight: 800; background: hsl(19 89% 54% / .07); }
.cmp thead th.me { color: var(--accent); }
.cmp th.me { width: 15%; }
.cmp thead th { vertical-align: middle; }
.cmp-logo { display: block; width: auto; }
.cmp-logo.snap { height: 46px; }
.cmp-logo.carousell { height: 40px; }
.cmp-fb { display: flex; align-items: center; gap: 16px; }   /* label sits beside the f, not joined to it */
.cmp-logo.fb { height: 44px; }
.cmp-fb span { font-family: var(--display); font-size: 27px; font-weight: 800; color: var(--paper); }

/* ---------- 25 team additions ---------- */
.person p.prev { margin-top: 6px; font-size: 24px; color: var(--mute); }
.exp ul.sub { margin-top: 10px; gap: 8px; font-size: 26px; }
.exp ul.sub li { padding-left: 26px; position: relative; }
.exp ul.sub li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

/* ---------- takeaway ----------
   The slide's one-line conclusion, under the content, aligned with it. */
.takeaway { position: relative; margin-top: 28px; padding-top: 26px; max-width: 1400px; font-family: var(--display); font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; color: var(--paper); text-wrap: balance; }
.takeaway::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 5px; border-radius: 3px; background: var(--orange); }
.takeaway b { font-weight: 800; }
.t7 .takeaway { text-align: center; margin-top: 0; }
.t7 .takeaway::before { left: 50%; margin-left: -28px; }

/* ---------- overview ---------- */
.overview { position: fixed; inset: 0; z-index: 60; background: hsl(0 0% 100% / .97); padding: 56px max(16px, 5vw); overflow: auto; display: none; }
.overview.open { display: block; }
.overview h2 { font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-bottom: 24px; }
.overview ol { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 24px; }
.overview button { width: 100%; text-align: left; font: inherit; color: var(--paper); background: none; border: 0; border-bottom: 1px solid var(--line); padding: 14px 4px; cursor: pointer; display: flex; gap: 12px; font-size: 15px; }
.overview button:hover, .overview button:focus-visible { outline: none; color: var(--accent); }
.overview button[aria-current="true"] { color: var(--accent); }
.overview button span { color: var(--accent); font-variant-numeric: tabular-nums; font-weight: 800; }

/* ---------- gentle loops ---------- */
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
[data-float] { animation: floaty 5s ease-in-out infinite; }
[data-float="2"] { animation-duration: 6.2s; animation-delay: -2s; }

@media (prefers-reduced-motion: reduce) {
  [data-float] { animation: none !important; }
}

/* ---------- print: every slide in its final state, one per page ---------- */
@media print {
  @page { size: 1920px 1080px; margin: 0; }
  html, body { height: auto; overflow: visible; background: var(--bg); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .chrome, .overview, .flash, .hint, .wipe, .demo-video { display: none !important; }
  .stage { position: static; transform: none; height: auto; }
  .slide { position: relative; height: 1080px; visibility: visible !important; opacity: 1 !important; break-after: page; background: var(--bg); }
}
