/* Tausendkorn pitch deck, look "B · Labor" (tokens.css = copy of design/system/tokens.css).
   Every slide is a fixed 1600×900 stage, scaled by --k. Presenting: one slide fills the
   screen (--k = --fit). Page mode: slides stacked, each scaled to the page width.
   Motion starts when a slide gets .play (deck.js), so it can replay (R). */

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--ink);
  font: var(--fw-text) 18px/1.45 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  --k: 1; --fit: 1;
}
b { font-weight: var(--fw-strong); }
.mono, .kicker, .label, footer, .n { font-family: var(--f-mono); }

/* ---- page mode -------------------------------------------------------- */
.site {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  max-width: 1280px; margin: 0 auto; padding: 18px 16px;
}
.brand { font-weight: 600; font-size: 18px; }
.brand i { font-style: normal; color: var(--ink-2); font-weight: 400; }
.site-actions { display: flex; gap: 10px; align-items: center; }
.site-actions button, .site-actions a {
  font: 600 15px/1 var(--f-sans); padding: 12px 16px; border-radius: var(--r-pill);
  border: var(--hair) solid var(--ink); background: var(--ink); color: #fff; text-decoration: none; cursor: pointer;
}
.site-actions a { background: transparent; color: var(--ink); }
#deck { max-width: 1280px; margin: 0 auto; padding: 0 16px 48px; display: grid; gap: 20px; }
.frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--r); background: var(--bg); box-shadow: 0 0 0 var(--hair) var(--rule);
}
.slide {
  position: absolute; left: 0; top: 0; width: 1600px; height: 900px; overflow: hidden;
  transform: scale(var(--k)); transform-origin: 0 0; padding: 72px 88px;
  background:
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--bg);
  background-blend-mode: normal;
}
.slide::before { /* paper wash so the grid stays faint */
  content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--bg) 72%, transparent); pointer-events: none;
}
.slide > * { position: relative; }
.notes { display: none; }
.ctrl { display: none; }

/* ---- present mode ----------------------------------------------------- */
.present { --k: var(--fit); background: #0E1113; overflow: hidden; }
.present .site { display: none; }
.present #deck { position: fixed; inset: 0; max-width: none; padding: 0; display: block; }
.present .frame {
  position: fixed; inset: 0; margin: auto; border-radius: 0; box-shadow: none;
  width: calc(1600px * var(--fit)); height: calc(900px * var(--fit)); aspect-ratio: auto;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--e-out), visibility 0s .45s;
}
.present .frame.active { opacity: 1; visibility: visible; transition: opacity .45s var(--e-out); }
.present .ctrl {
  display: flex; position: fixed; right: 16px; bottom: 16px; gap: 6px; align-items: center;
  font: 500 14px var(--f-mono); color: #fff; background: rgba(20,24,27,.72); border-radius: var(--r-pill);
  padding: 4px 6px; opacity: 0; transition: opacity .3s;
}
.present.chrome .ctrl { opacity: 1; }
.ctrl button { background: none; border: 0; color: #fff; font: 600 20px/1 var(--f-sans); width: 40px; height: 40px; cursor: pointer; border-radius: 50%; }
.ctrl button:hover { background: rgba(255,255,255,.12); }
.ctrl span { padding: 0 6px; }
.present.notes-on .frame.active .notes {
  display: block; position: fixed; left: 0; right: 0; bottom: 0; max-height: 42vh; overflow: auto; z-index: 5;
  background: rgba(14,17,19,.94); color: #E9ECEB; padding: 18px 28px; font: 17px/1.5 var(--f-sans);
}
.notes .cue { color: #F6B95A; }

/* ---- shared type ------------------------------------------------------ */
.kicker { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.kicker::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--mark); box-shadow: 0 0 0 3px #fff; margin-right: 12px; vertical-align: 0; }
h1, h2 { margin: 18px 0 0; letter-spacing: -.02em; line-height: 1.04; font-weight: 600; }
h1 { font-size: 68px; }
h2 { font-size: 56px; }
.label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.slide > footer {
  position: absolute; left: 88px; right: 88px; bottom: 30px; display: flex; justify-content: space-between;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
}

/* reveal helper: elements with --d fade up when the slide plays */
.rv { opacity: 0; transform: translateY(14px); }
.play .rv { animation: rise .7s var(--e-out) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---- stage (photo + canvas) ------------------------------------------- */
.stage { position: absolute; border-radius: var(--r-s); overflow: hidden; background: #FBFBF9;
  box-shadow: 0 1px 0 var(--rule), 0 24px 60px -24px rgba(20,24,27,.35); }
.stage .photo, .stage > canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---- 1 · problem + three moves ---------------------------------------- */
.s1 h1 { max-width: 640px; }
.s1 .lead { max-width: 600px; font-size: 23px; color: var(--ink-2); margin: 26px 0 0; }
.s1 .lead b { color: var(--ink); }
.s1 .turn { margin-top: 64px; font: 600 15px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mark); }
.steps { list-style: none; margin: 18px 0 0; padding: 0; width: 600px; }
.steps li {
  display: grid; grid-template-columns: 64px 1fr; column-gap: 8px; padding: 14px 0 14px;
  border-top: var(--hair) solid var(--rule); color: var(--ink-2); transition: color .4s, opacity .4s; opacity: .45;
}
.steps li:last-child { border-bottom: var(--hair) solid var(--rule); }
.steps .n { grid-row: span 2; font-size: 28px; font-weight: 600; color: var(--rule); transition: color .4s; line-height: 1.1; }
.steps b { font-size: 26px; color: var(--ink); font-weight: 600; }
.steps small { font-size: 17px; }
.steps li.on, .steps li.done { opacity: 1; }
.steps li.on .n { color: var(--mark); }
.steps li.done .n { color: var(--ink); }
.s1-stage { left: 720px; top: 150px; width: 792px; height: 594px; }
.s1-stage .photo { opacity: 0; transition: opacity .5s; }
.s1-stage.shot .photo { opacity: 1; }
.s1-stage.shot canvas { opacity: 0; transition: opacity .5s; }
.finder { position: absolute; inset: 0; pointer-events: none; }
.finder i { position: absolute; width: 64px; height: 64px; border: 4px solid #fff; opacity: 0;
  filter: drop-shadow(0 0 1px rgba(0,0,0,.6)); transition: all .6s var(--e-out); }
.finder i:nth-child(1) { left: -40px; top: -40px; border-right: 0; border-bottom: 0; }
.finder i:nth-child(2) { right: -40px; top: -40px; border-left: 0; border-bottom: 0; }
.finder i:nth-child(3) { left: -40px; bottom: -40px; border-right: 0; border-top: 0; }
.finder i:nth-child(4) { right: -40px; bottom: -40px; border-left: 0; border-top: 0; }
.aim .finder i { opacity: 1; }
.aim .finder i:nth-child(1) { left: 22px; top: 22px; }
.aim .finder i:nth-child(2) { right: 22px; top: 22px; }
.aim .finder i:nth-child(3) { left: 22px; bottom: 22px; }
.aim .finder i:nth-child(4) { right: 22px; bottom: 22px; }
.aim.shot .finder i { opacity: 0; transition-delay: .5s; }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.shot .flash { animation: flash .7s ease-out; }
@keyframes flash { 0% { opacity: 0; } 12% { opacity: .95; } 100% { opacity: 0; } }
.snap { position: absolute; right: 18px; bottom: 18px; font: 600 16px var(--f-mono); color: #fff;
  background: var(--ink); padding: 8px 14px; border-radius: var(--r-pill); opacity: 0; transform: translateY(8px); transition: all .5s var(--e-out) .5s; }
.shot .snap { opacity: 1; transform: none; }
.s1 footer span:first-child { visibility: hidden; }

/* ---- 2 · counting ----------------------------------------------------- */
.s2-stage { left: 72px; top: 72px; width: 1000px; height: 750px; }
.s2 .side { position: absolute; left: 1120px; top: 72px; width: 412px; }
.s2 h2 { font-size: 44px; }
.beats { list-style: none; margin: 30px 0 0; padding: 0; counter-reset: b; }
.beats li { counter-increment: b; position: relative; padding: 12px 0 12px 44px; font-size: 19px; color: var(--ink-2);
  border-top: var(--hair) solid var(--rule); opacity: .3; transition: opacity .5s, color .5s; }
.beats li::before { content: counter(b); position: absolute; left: 0; top: 12px; width: 28px; height: 28px; border-radius: 50%;
  font: 600 14px/28px var(--f-mono); text-align: center; background: var(--sunken); color: var(--ink-2); transition: all .4s; }
.beats li.on { opacity: 1; color: var(--ink); }
.beats li.on::before { background: var(--mark); color: #fff; }
.beats li[data-beat="4"].on::before { background: var(--unsure); color: var(--ink); }
.counter { margin-top: 28px; }
.counter .num { font: 600 112px/1 var(--f-mono); letter-spacing: -.04em; color: var(--mark); font-variant-numeric: tabular-nums; }
.counter .unit { font-size: 20px; font-weight: 600; margin-top: 4px; }
.counter .truth { margin-top: 10px; font-size: 16px; color: var(--ink-2); opacity: 0; transition: opacity .6s; }
.counter .truth b { font-family: var(--f-mono); color: var(--ink); }
.done-count .counter .truth { opacity: 1; }

.check { position: absolute; right: 22px; bottom: 22px; width: 470px; display: grid; grid-template-columns: 210px 1fr; gap: 16px;
  background: var(--surface); border-radius: var(--r); padding: 14px; box-shadow: 0 20px 50px -18px rgba(20,24,27,.55);
  opacity: 0; transform: translateY(24px) scale(.97); transition: all .7s var(--e-out); }
.show-check .check { opacity: 1; transform: none; }
.check .zoom { position: relative; width: 210px; height: 210px; border-radius: var(--r-s); overflow: hidden; }
.check .zoom img, .check .zoom canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.check .badge { position: absolute; left: 6px; top: 6px; width: 30px; height: 30px; border-radius: 50%; background: var(--unsure);
  box-shadow: 0 0 0 3px #fff; font: 600 16px/30px var(--f-mono); text-align: center; color: var(--ink); }
.check p { margin: 0; font-size: 17px; line-height: 1.4; }
.check p b { display: block; font: 600 13px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--unsure-ink); margin-bottom: 8px; }
.check p small { display: block; margin-top: 10px; font-size: 16px; font-weight: 600; color: var(--mark); }

/* ---- 3 · numbers ------------------------------------------------------ */
.s3 .cols { position: absolute; left: 88px; right: 88px; top: 260px; display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 28px; align-items: start; }
.s3 .card { background: var(--surface); border-radius: var(--r); padding: 30px 32px 28px; box-shadow: 0 0 0 var(--hair) var(--rule); }
.s3 .big { font: 600 104px/1 var(--f-mono); letter-spacing: -.04em; margin: 22px 0 14px; color: var(--ink); font-variant-numeric: tabular-nums; }
.s3 .big small { font-size: 52px; letter-spacing: 0; color: var(--ink-2); }
.s3 p { margin: 0; font-size: 20px; }
.s3 .fine { margin-top: 16px; font-size: 16px; color: var(--ink-2); }
.strip { display: block; width: 100%; margin-top: 18px; overflow: visible; }
.strip .axis { stroke: var(--ink-2); stroke-width: 1.5; }
.strip .target { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 3 4; }
.strip text { font: 500 13px var(--f-mono); fill: var(--ink-2); text-anchor: middle; }
.strip .t-target { fill: var(--ink); font-weight: 600; }
.strip .pts circle { fill: var(--mark); stroke: #fff; stroke-width: 3; }
.strip .pts text { fill: var(--ink); font-weight: 600; }
.strip .pts .open circle { fill: var(--unsure-soft); stroke: var(--unsure); stroke-width: 3; stroke-dasharray: 5 4; }
.strip .pts .open text { fill: var(--unsure-ink); text-anchor: start; }
.strip .pts g { opacity: 0; transform: translateY(-40px); transform-box: fill-box; transition: opacity .4s, transform .6s var(--e-out); }
.strip .pts g.in { opacity: 1; transform: none; }
.s3 .st { opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .7s var(--e-out); }
.s3 .st.in { opacity: 1; transform: none; }
.s3 .method { padding: 30px 4px 0; }
.method ol { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: m; }
.method li { counter-increment: m; position: relative; padding: 12px 0 12px 40px; font-size: 19px; border-top: var(--hair) solid var(--rule); }
.method li::before { content: counter(m); position: absolute; left: 0; top: 12px; font: 600 16px var(--f-mono); color: var(--mark); }
.goal { margin-top: 26px; border: 2.5px dashed var(--unsure); background: var(--unsure-soft); border-radius: var(--r); padding: 14px 18px; display: grid; gap: 2px; }
.goal b { font: 600 30px var(--f-mono); letter-spacing: -.02em; }
.goal span { font-size: 16px; color: var(--unsure-ink); font-weight: 600; }

/* ---- 4 · app ---------------------------------------------------------- */
.s4 h2 { font-size: 48px; max-width: 520px; }
.rail { list-style: none; margin: 34px 0 0; padding: 0; width: 470px; }
.rail li { display: grid; grid-template-columns: 48px 1fr; padding: 12px 0; border-top: var(--hair) solid var(--rule); opacity: .4; transition: opacity .4s; }
.rail li:last-child { border-bottom: var(--hair) solid var(--rule); }
.rail .n { grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; background: var(--sunken); text-align: center; font: 600 15px/32px var(--f-mono); transition: all .4s; }
.rail b { font-size: 22px; }
.rail small { font-size: 16px; color: var(--ink-2); }
.rail li.on, .rail li.done { opacity: 1; }
.rail li.on .n { background: var(--mark); color: #fff; box-shadow: 0 0 0 6px var(--mark-soft); }
.rail li.done .n { background: var(--ink); color: #fff; }
.facts { position: absolute; left: 88px; bottom: 76px; display: grid; gap: 4px; font-size: 17px; color: var(--ink-2); }
.facts b { font-family: var(--f-mono); color: var(--ink); font-size: 20px; }
.live { position: absolute; left: 88px; bottom: 156px; width: 520px; font-size: 16px; color: var(--ink-2); border-left: 4px solid var(--mark); padding: 4px 0 4px 14px; }
.live b { color: var(--ink); }

.ipad { position: absolute; left: 640px; top: 110px; width: 450px; height: 660px; border-radius: 40px; background: #1B1F22; padding: 22px;
  box-shadow: 0 30px 70px -26px rgba(20,24,27,.6), inset 0 0 0 2px #3A4146; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 20px; overflow: hidden; background: var(--bg); }
.scr { position: absolute; inset: 0; padding: 0 22px; opacity: 0; transform: translateX(30px); transition: all .5s var(--e-out); }
.scr.on { opacity: 1; transform: none; }
.scr.off { opacity: 0; transform: translateX(-30px); }
.appbar { margin: 0 -22px 18px; padding: 16px 22px; font: 600 15px var(--f-mono); letter-spacing: .06em; text-transform: uppercase;
  border-bottom: var(--hair) solid var(--rule); background: var(--surface); }
.scr h3 { font-size: 28px; margin: 8px 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { padding: 14px 16px; border-radius: var(--r); background: var(--surface); box-shadow: 0 0 0 var(--hair) var(--rule); font-size: 17px; font-weight: 500; transition: all .3s; }
.chips .pick.on { background: var(--ink); color: #fff; box-shadow: 0 0 0 var(--hair) var(--ink); }
.btn { display: block; text-align: center; margin-top: 26px; padding: 18px; border-radius: var(--r); background: var(--ink); color: #fff; font-weight: 600; font-size: 18px; transition: transform .2s; }
.btn.ghost { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 var(--hair) var(--ink); }
.btn.press, .tap.press { transform: scale(.95); background: var(--mark); }
.ph { position: relative; border-radius: var(--r-s); overflow: hidden; background: var(--photo-bg); }
.ph img { display: block; width: 100%; }
.scan { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(0,95,184,.35), transparent) no-repeat; background-size: 30% 100%; }
.scr.on .scan { animation: scan 1.1s linear infinite; }
@keyframes scan { from { background-position: -40% 0; } to { background-position: 140% 0; } }
.prog { margin-top: 18px; height: 10px; border-radius: 9px; background: var(--sunken); overflow: hidden; }
.prog i { display: block; height: 100%; width: 0; background: var(--mark); }
.scr.on .prog i { animation: prog 2.6s var(--e-io) forwards; }
@keyframes prog { to { width: 100%; } }
.small { font-size: 14px; color: var(--ink-2); margin: 10px 0 0; }
.warn { margin: 16px 0 0; padding: 12px 14px; border-left: 4px solid var(--unsure); background: var(--unsure-soft); color: var(--unsure-ink); font-weight: 600; font-size: 17px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.two .btn { margin-top: 16px; }
.res, .field { display: flex; align-items: baseline; gap: 8px; padding: 12px 0; border-bottom: var(--hair) solid var(--rule); }
.res .label, .field .label { flex: 1; }
.res b, .field b { font: 600 34px var(--f-mono); }
.res i, .field i { font-style: normal; color: var(--ink-2); font-size: 16px; width: 44px; }
.field b { min-width: 90px; text-align: right; border-bottom: 2px solid var(--ink); }
.field b.caret::after { content: "|"; color: var(--mark); animation: blink .8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.res.main { border: 0; margin-top: 8px; background: var(--mark-soft); border-radius: var(--r); padding: 14px 16px; }
.res.main b { font-size: 54px; color: var(--mark); }
.s4 .scr[data-screen="4"] .res, .s4 .scr[data-screen="4"] .small { opacity: 0; transform: translateY(8px); transition: all .45s var(--e-out); }
.s4 .scr[data-screen="4"] .res.in, .s4 .scr[data-screen="4"] .small.in { opacity: 1; transform: none; }

.flight { position: absolute; left: 0; top: 0; pointer-events: none; opacity: 0; }
.flight span { display: block; font: 600 26px var(--f-mono); color: #fff; background: var(--mark); padding: 10px 16px; border-radius: var(--r-pill);
  box-shadow: 0 10px 30px -8px rgba(0,95,184,.6); white-space: nowrap; }
.drill { position: absolute; left: 1160px; top: 230px; width: 352px; }
.term { margin-top: 12px; background: #15191C; border-radius: 16px; padding: 20px 22px; color: #9FB3C4; font: 500 15px var(--f-mono);
  box-shadow: inset 0 0 0 2px #2F363B, 0 20px 50px -24px rgba(20,24,27,.6); }
.term .row { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; }
.term .row + .row { border-top: 1px solid #2F363B; }
.term b { font: 600 30px var(--f-mono); color: #5FB0FF; transition: color .3s; }
.term b.lit { color: #fff; text-shadow: 0 0 18px rgba(95,176,255,.9); }
.drill ul { list-style: none; padding: 0; margin: 22px 0 0; font-size: 17px; }
.drill li { padding: 8px 0 8px 30px; position: relative; }
.drill li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 12px; height: 12px; border-radius: 50%; }
.drill li.ok::before { background: var(--mark); box-shadow: 0 0 0 3px var(--mark-soft); }
.drill li.next::before { border: 2.5px dashed var(--unsure); width: 9px; height: 9px; }
.drill li.next { color: var(--ink-2); }

/* ---- 5 · journey: one click per stop ------------------------------------ */
.s5 h2 { font-size: 58px; }
.path { position: absolute; left: 80px; right: 80px; top: 340px; display: grid; grid-template-columns: repeat(6, 1fr); }
.wire { position: absolute; left: 0; top: 30px; width: 100%; height: 40px; overflow: visible; }
.wire line { stroke: var(--ink); stroke-width: 3; stroke-dasharray: 1320; stroke-dashoffset: 1320; transition: stroke-dashoffset .6s var(--e-io); }
.node { position: relative; text-align: center; display: grid; justify-items: center; align-content: start;
  opacity: 0; transform: translateY(16px); transform-origin: 50% 0;
  transition: opacity .45s, transform .55s var(--e-out); }
.node.in { opacity: 1; transform: none; }
.node.in.dim > :not(.pic):not(.more) { opacity: .3; }
.node.in.dim .pic { filter: grayscale(.85) brightness(1.15); }
.node > :not(.more) { transition: opacity .45s, filter .45s; }
.node.in.focus { transform: scale(1.42); z-index: 2; }
.pic { width: 100px; height: 100px; border-radius: 50%; overflow: hidden; display: block; background: var(--surface);
  box-shadow: 0 0 0 4px var(--mark), 0 0 0 10px var(--bg), 0 0 0 13px var(--mark-soft); }
.pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pic.zoomed img { transform: scale(2.6); transform-origin: 40% 45%; }
.pic.ico { background: var(--mark); }
.pic.ico svg { width: 64px; height: 64px; margin: 18px; display: block; }
.node.next .pic { box-shadow: 0 0 0 10px var(--bg); outline: 4px dashed var(--unsure); outline-offset: 0; }
.node b { margin-top: 20px; font-size: 24px; }
.node small { font-size: 15px; color: var(--ink-2); max-width: 210px; }
.node em { margin-top: 10px; font: 600 12px var(--f-mono); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
  border: var(--hair) solid var(--rule); border-radius: var(--r-pill); padding: 4px 10px; }
.node .more { position: absolute; top: 100%; width: 200px; margin: 8px 0 0; font-size: 13px; line-height: 1.35; color: var(--ink);
  background: var(--surface); border-radius: var(--r-s); padding: 10px 12px; box-shadow: 0 10px 30px -14px rgba(20,24,27,.4);
  opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .45s var(--e-out); pointer-events: none; }
.node.focus .more { opacity: 1; transform: none; }
.node.next.focus .more { box-shadow: inset 0 0 0 2px var(--unsure), 0 10px 30px -14px rgba(20,24,27,.4); }
.legend { position: absolute; right: 88px; top: 286px; display: flex; gap: 22px; font-size: 15px; color: var(--ink-2); opacity: 0; transition: opacity .5s; }
.legend.in { opacity: 1; }
.legend span { display: flex; align-items: center; gap: 8px; }
.legend span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; }
.legend .ok::before { background: var(--mark); }
.legend .next::before { border: 2.5px dashed var(--unsure); width: 10px; height: 10px; }
.nextup { position: absolute; left: 88px; right: 88px; top: 640px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.nextup div { border-top: 2.5px dashed var(--unsure); padding-top: 12px; font-size: 17px; color: var(--ink-2);
  opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .6s var(--e-out); }
.nextup.in div { opacity: 1; transform: none; }
.nextup.in div:nth-child(2) { transition-delay: .12s; }
.nextup.in div:nth-child(3) { transition-delay: .24s; }
.nextup b { display: block; color: var(--ink); font-size: 20px; margin-bottom: 2px; }
.thanks { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: var(--ink); color: #fff; padding: 0 88px;
  display: flex; align-items: center; gap: 40px; font-size: 19px; }
.thanks b { font-size: 40px; }
.thanks .stand { margin-left: auto; color: #9FC7EE; font-weight: 600; }
.s5 footer { display: none; }

/* step dots: where am I inside a slide (presenting only) */
.stepdots { position: absolute; right: 88px; bottom: 34px; display: flex; gap: 6px; }
.s5 .stepdots { bottom: 146px; }
.stepdots i { width: 7px; height: 7px; border-radius: 50%; background: var(--rule); transition: background .3s; }
.stepdots i.on { background: var(--mark); }
.slide > footer span:last-child { margin-right: 90px; }

/* ---- reduced motion: show the end state ------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .play *, .play *::before { animation-duration: 1ms !important; animation-delay: 0s !important; transition-duration: 1ms !important; }
}
/* ?still: end state at once (render checks, PPTX export) */
.still *, .still *::before { animation-duration: 1ms !important; animation-delay: 0s !important; transition: none !important; }
