/* PPW-2271 board deck: layouts and motion on top of prpl.css.
   Motion model: every element with class "a" is hidden until its slide gets
   the class "play" (added by js/deck.js on ready/slidechanged, removed and
   re-added on every visit, so the animation replays). --d is the delay.
   prefers-reduced-motion shows the final state with no motion. */

:root {
  --ease: cubic-bezier(.2, .75, .2, 1);
  --c-rule: #969696;
  --c-ink-70: rgba(48, 48, 48, .72);
}

.reveal .slides section { overflow: visible; }
.reveal h2 { margin-bottom: 26px; text-wrap: balance; }
.reveal p, .reveal li { text-wrap: pretty; }
.reveal .kicker { margin-bottom: 10px; }
.reveal .lede { font-size: 36px; line-height: 1.4; max-width: 1500px; }
.reveal .note { font-size: var(--fs-small); color: #5c5c5c; line-height: 1.4; }
.reveal .mono { font-family: var(--font-mono); font-weight: 400; }
.reveal .nw { white-space: nowrap; }
.reveal .purple { color: var(--c-purple); }
.reveal .card { background: var(--c-band); box-shadow: none; }
.reveal .tag-replay { display: inline-block; font-family: var(--font-heading); font-weight: 600; font-size: 20px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--c-purple); border: 2px solid var(--c-purple);
  border-radius: 6px; padding: 2px 10px; vertical-align: middle; }

/* ---------- motion primitives ---------- */
.reveal section .a { opacity: 0; }
.reveal section.play .a {
  animation: var(--an, rise) var(--du, .7s) var(--ease) var(--d, 0s) both;
}
@keyframes rise   { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fade   { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop    { 0% { opacity: 0; transform: scale(.4); } 70% { opacity: 1; transform: scale(1.08); } 100% { opacity: 1; transform: scale(1); } }
@keyframes slidein{ from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes fromright { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
@keyframes growx  { from { opacity: 1; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }
@keyframes growy  { from { opacity: 1; transform: scaleY(0); } to { opacity: 1; transform: scaleY(1); } }
@keyframes draw   { from { opacity: 1; stroke-dashoffset: var(--len, 2000); } to { opacity: 1; stroke-dashoffset: 0; } }
.reveal section .gx { transform-origin: left center; --an: growx; }
.reveal section .gy { transform-origin: center bottom; --an: growy; }
.reveal section .dr { stroke-dasharray: var(--len, 2000); --an: draw; }
.reveal svg .a { transform-box: fill-box; transform-origin: center; }
.reveal svg .gx { transform-origin: left center; }

/* JS-driven elements: hidden until the script adds .on */
.reveal section .j { opacity: 0; transition: opacity .45s var(--ease), transform .45s var(--ease); transform: translateY(14px); }
.reveal section .j.on { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal section .a, .reveal section.play .a { animation: none !important; opacity: 1 !important; transform: none !important; stroke-dashoffset: 0 !important; }
  .reveal section .j { opacity: 1 !important; transform: none !important; transition: none !important; }
  .reveal *, .reveal *::before, .reveal *::after { transition: none !important; animation: none !important; }
  .ticket .stamp { opacity: .75; transform: translate(60px, -330px) rotate(-5deg) scale(.62); }
  .ticket .kept { opacity: 1; }
}

/* ---------- controls ---------- */
.reveal .controls { color: var(--c-purple); }
.reveal.has-dark .controls { color: var(--c-yellow); }
.reveal .btn {
  font-family: var(--font-sans); font-weight: 400; font-size: 24px; text-transform: uppercase; letter-spacing: 2px;
  min-width: 200px; padding: 14px 24px; border-radius: var(--radius); border: 1px solid var(--c-ink);
  background: transparent; color: var(--c-ink); cursor: pointer; line-height: 1.2;
}
.reveal .btn.primary { background: var(--c-yellow); border-color: var(--c-yellow); }
.reveal .btn:disabled { opacity: .45; cursor: default; pointer-events: none; }
.reveal .btn:hover { background: var(--c-purple); border-color: var(--c-purple); color: var(--c-white); }
.reveal .btn:focus-visible { outline: 3px solid var(--c-purple); outline-offset: 3px; }
.reveal .switch { display: inline-flex; align-items: center; gap: 14px; font-size: 26px; cursor: pointer; user-select: none; font-weight: 400; }
.reveal .switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.reveal .switch .track { width: 76px; height: 40px; border-radius: 20px; background: #b9b9b9; position: relative; transition: background .25s; flex: none; }
.reveal .switch .track::after { content: ""; position: absolute; left: 4px; top: 4px; width: 32px; height: 32px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.reveal .switch input:checked + .track { background: var(--c-purple); }
.reveal .switch input:checked + .track::after { transform: translateX(36px); }
.reveal .switch input:focus-visible + .track { outline: 3px solid var(--c-purple); outline-offset: 3px; }

/* ---------- 1: cold open ---------- */
.reveal .slides section.title { padding: 60px 80px 60px 110px; flex-direction: row !important; align-items: center; gap: 70px; justify-content: flex-start; }
.reveal .slides section.title .left { flex: 1 1 0; min-width: 0; }
.reveal .slides section.title h1 { font-size: 78px; line-height: 1.16; margin: 0 0 36px; max-width: none; }
.reveal .slides section.title .sub { font-size: 38px; line-height: 1.35; font-weight: 300; margin: 0; max-width: 880px; }
.reveal .slides section.title .kicker { font-size: 28px; margin-bottom: 34px; }
.reveal .hint { position: absolute; left: 0; right: 0; bottom: 52px; text-align: center; font-size: 26px; color: var(--c-yellow);
  letter-spacing: 1px; white-space: nowrap; margin: 0; }
.reveal .hint kbd { font-family: var(--font-sans); font-weight: 400; border: 1.5px solid var(--c-yellow); border-radius: 6px; padding: 0 10px; margin: 0 4px; }
.reveal .hint .arr { display: inline-block; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: none; } 50% { transform: translateX(8px); } }

.ticket { position: relative; flex: 0 0 760px; margin-top: -40px; background: var(--c-ground); color: var(--c-ink); border-radius: 14px;
  padding: 36px 40px 34px; box-shadow: 0 30px 60px rgba(0, 0, 0, .28); font-size: 26px; line-height: 1.35; }
.ticket .top { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.ticket .id { font-family: var(--font-mono); font-weight: 700; font-size: 28px; color: var(--c-ink); }
.ticket .pill { font-size: 19px; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; padding: 3px 12px; border-radius: 6px; background: var(--c-band); border: 1px solid #c9c9c9; }
.ticket .pill.prio { margin-left: auto; }
.ticket .ttl { font-family: var(--font-heading); font-weight: 600; font-size: 29px; line-height: 1.3; margin: 0 0 16px; }
.ticket .chips { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.ticket .chips span { font-size: 19px; padding: 2px 12px; border-radius: 999px; background: var(--c-purple-10); color: var(--c-purple); font-weight: 400; }
.ticket .cmt { border-left: 4px solid var(--c-rule); padding: 4px 0 4px 20px; margin: 0 0 22px; }
.ticket .cmt .meta { font-size: 19px; color: #5c5c5c; margin-bottom: 4px; }
.ticket .cmt p { margin: 0; font-size: 27px; }
.ticket .cd { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; border-top: 1.5px solid var(--c-rule); padding-top: 18px; }
.ticket .cd .lbl { font-size: 21px; text-transform: uppercase; letter-spacing: 2px; color: #5c5c5c; }
.ticket .cd .clock { font-family: var(--font-heading); font-weight: 600; font-size: 44px; color: var(--c-fail); font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.ticket .cd .clock.passed { font-size: 30px; }
.ticket .cd .when { flex-basis: 100%; font-size: 19px; color: #5c5c5c; margin-top: -6px; }
.ticket .stamp { position: absolute; left: 50%; top: 46%; width: 700px; margin-left: -350px; white-space: nowrap; text-align: center; pointer-events: none;
  font-family: var(--font-heading); font-weight: 600; font-size: 40px; letter-spacing: 3px; text-transform: uppercase; color: var(--c-fail);
  border: 6px solid var(--c-fail); border-radius: 14px; padding: 10px 18px; background: rgba(247, 247, 247, .82);
  transform: rotate(-9deg); opacity: 0; }
.ticket .stamp .strike { position: absolute; left: -16px; right: -16px; top: 50%; height: 12px; margin-top: -6px; background: var(--c-ink);
  transform: scaleX(0); transform-origin: left center; border-radius: 6px; }
.ticket .kept { position: absolute; left: 40px; right: 40px; bottom: -136px; background: var(--c-yellow); color: var(--c-ink); border-radius: 12px;
  padding: 18px 26px; font-family: var(--font-heading); font-weight: 600; font-size: 31px; line-height: 1.25; box-shadow: 0 16px 34px rgba(0,0,0,.25); opacity: 0; }
.ticket .kept small { display: block; font-family: var(--font-sans); font-weight: 400; font-size: 21px; margin-top: 4px; }
section.play .ticket { animation: cardin .9s var(--ease) .2s both; }
@keyframes cardin { from { opacity: 0; transform: translateY(40px) rotate(2deg); } to { opacity: 1; transform: none; } }
section.play .ticket .stamp { animation: stampin .55s cubic-bezier(.3, 1.6, .5, 1) 1.3s both, hover 2.2s ease-in-out 1.85s 1 both, lift 1.1s var(--ease) 5.1s forwards; }
@keyframes stampin { from { opacity: 0; transform: rotate(-9deg) scale(1.9); } to { opacity: 1; transform: rotate(-9deg) scale(1); } }
@keyframes hover { 0%, 100% { opacity: 1; transform: rotate(-9deg) translateY(0); } 50% { opacity: 1; transform: rotate(-8deg) translateY(-12px); } }
@keyframes lift { from { opacity: 1; transform: rotate(-9deg); } to { opacity: .75; transform: translate(60px, -330px) rotate(-5deg) scale(.62); } }
@keyframes strike { from { transform: scaleX(0); } to { transform: scaleX(1); } }
section.play .ticket .kept { animation: rise .7s var(--ease) 5.6s both; }

/* ---------- 2: seven weeks ---------- */
.tl2 { position: relative; height: 660px; }
.tl2 svg { position: absolute; left: 0; top: 0; overflow: visible; }
.tl2 .ax { stroke: var(--c-ink); stroke-width: 4; stroke-linecap: round; }
.tl2 .tick { stroke: var(--c-rule); stroke-width: 2; }
.tl2 .tlab { font: 300 22px var(--font-sans); fill: #5c5c5c; }
.tl2 .lead { stroke: var(--c-rule); stroke-width: 2; stroke-dasharray: 6 6; fill: none; }
.tl2 .dot { fill: var(--c-ink); }
.tl2 .dot.fail { fill: var(--c-fail); }
.tl2 .dot.q { fill: var(--c-purple); }
.quote { position: absolute; box-sizing: border-box; width: 540px; background: var(--c-ground); border: 2px solid var(--c-purple-20); border-radius: 14px; padding: 22px 26px;
  font-size: 27px; line-height: 1.38; box-shadow: 0 12px 30px rgba(114, 22, 107, .08); }
.quote .who { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 20px; letter-spacing: 2px; text-transform: uppercase; color: var(--c-purple); margin-bottom: 8px; }
.quote p { margin: 0; }
.quote p::before { content: "\201C"; } .quote p::after { content: "\201D"; }
.evt { position: absolute; font-size: 24px; line-height: 1.3; width: 330px; }
.evt b { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 22px; }
.evt.fail b { color: var(--c-fail); }
.noblame { display: flex; align-items: center; gap: 26px; background: var(--c-band); border-radius: var(--radius); padding: 20px 30px; font-size: 28px; line-height: 1.38; margin-top: 4px; }
.noblame .bar { flex: 0 0 8px; align-self: stretch; background: var(--c-yellow); border-radius: 4px; }
.noblame p { margin: 0; }

/* ---------- 3: race ---------- */
.race { margin-top: 30px; }
.race .row { display: grid; grid-template-columns: 420px 1fr; gap: 30px; align-items: center; margin-bottom: 38px; }
.race .lab b { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 30px; line-height: 1.25; }
.race .lab span { font-size: 22px; color: #5c5c5c; }
.race .track { position: relative; height: 64px; }
.race .bar { position: absolute; left: 0; top: 0; height: 64px; border-radius: 8px; width: 0; }
.race .bar.h { background: repeating-linear-gradient(-45deg, #8d8d8d 0 14px, #a3a3a3 14px 28px); }
.race .bar.m { background: var(--c-purple); }
.race .val { position: absolute; top: 8px; font-family: var(--font-heading); font-weight: 600; font-size: 38px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.race .done { position: absolute; top: -2px; font-size: 22px; font-weight: 400; color: var(--c-purple); white-space: nowrap; }
.zoom { position: relative; margin: 10px 0 0 450px; height: 330px; }
.zoom svg { position: absolute; left: -360px; top: -150px; overflow: visible; pointer-events: none; }
.zoom .lens { fill: none; stroke: var(--c-yellow); stroke-width: 5; }
.zoom .ray { stroke: var(--c-yellow); stroke-width: 3; stroke-dasharray: 8 6; }
.zoom .panel { position: absolute; left: 0; right: 0; top: 40px; border: 5px solid var(--c-yellow); border-radius: 14px; padding: 24px 30px 20px; background: var(--c-ground); }
.zoom .panel .zh { font-size: 24px; color: #5c5c5c; margin: 0 0 14px; }
.zoom .zbar { position: relative; height: 54px; background: var(--c-purple); border-radius: 8px; transform-origin: left center; }
.zoom .zticks { position: relative; height: 96px; font-size: 22px; line-height: 1.25; }
.zoom .zt { box-sizing: border-box; position: absolute; top: 10px; transform: translateX(-2px); border-left: 3px solid var(--c-purple); padding-left: 10px; height: 82px; white-space: nowrap; }
.zoom .zt b { font-family: var(--font-heading); font-weight: 600; margin-right: 8px; }
.zoom .zt.r { border-left: none; border-right: 3px solid var(--c-purple); padding: 0 10px 0 0; text-align: right; transform: none; }
.race-note { font-size: 26px; color: #4a4a4a; margin: 0; position: absolute; bottom: 120px; left: 80px; right: 80px; }

/* ---------- 4: the day ---------- */
.day { position: relative; height: 760px; margin-top: -50px; }
.day .axis { position: absolute; left: 30px; right: 30px; top: 380px; height: 6px; background: var(--c-ink); border-radius: 3px; }
.day .hr { position: absolute; top: 368px; width: 2px; height: 30px; background: var(--c-ink); }
.day .hrl { z-index: 4; background: var(--c-ground); padding: 0 6px; position: absolute; top: 418px; font-size: 20px; color: #5c5c5c; transform: translateX(-50%); font-variant-numeric: tabular-nums; }
.day .grill { position: absolute; top: 371px; height: 24px; background: var(--c-purple); border-radius: 12px; opacity: .9; }
.day .cursor { position: absolute; top: 40px; height: 680px; width: 3px; background: var(--c-yellow); left: 30px; box-shadow: 0 0 0 1px rgba(0,0,0,.05); }
.day .clock { position: absolute; right: 0; top: -96px; font-family: var(--font-heading); font-weight: 600; font-size: 64px; color: var(--c-purple); font-variant-numeric: tabular-nums; }
.day .ev { position: absolute; width: 330px; font-size: 23px; line-height: 1.28; }
.day .ev b { font-family: var(--font-heading); font-weight: 600; font-size: 22px; display: block; font-variant-numeric: tabular-nums; }
.day .ev.r { text-align: right; }
.day .ev .stem { position: absolute; width: 2px; background: var(--c-rule); }
.day .ev.up .stem { top: 100%; }
.day .ev.dn .stem { bottom: 100%; }
.day .ev:not(.r) .stem { left: 0; }
.day .ev.r .stem { right: 0; }
.day .ev:not(.r) { padding-left: 14px; border-left: 3px solid var(--c-ink); }
.day .ev.r { padding-right: 14px; border-right: 3px solid var(--c-ink); }
.day .ev.hu { color: var(--c-purple); }
.day .ev.hu:not(.r) { border-left-color: var(--c-purple); }
.day .ev.hu.r { border-right-color: var(--c-purple); }
.day .ev.grey { color: #5c5c5c; }
.day .ev.grey:not(.r) { border-left-color: var(--c-rule); }
.day .pm { position: absolute; top: 351px; width: 64px; height: 64px; margin-left: -32px; z-index: 3; }
.day .mm { position: absolute; top: 370px; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; background: var(--c-ground); border: 5px solid var(--c-ink); box-sizing: border-box; z-index: 2; }
.day .mm.ok { border-color: var(--c-purple); background: var(--c-purple); }
.day .legend { position: absolute; left: 30px; bottom: 0; display: flex; gap: 46px; font-size: 23px; align-items: center; color: #4a4a4a; }
.day .legend span { display: inline-flex; align-items: center; gap: 12px; }
.day .legend svg { width: 40px; height: 40px; }
.day .legend i { display: inline-block; width: 22px; height: 22px; border-radius: 50%; border: 5px solid var(--c-ink); box-sizing: border-box; }

/* person marker (inline SVG via <svg class="pm"><use href="#person"/></svg>) */
.pmk circle.bg { fill: var(--c-purple); }
.pmk .fg { fill: var(--c-white); }

/* ---------- 5: what broke ---------- */
.cols5 { display: grid; grid-template-columns: 700px 1fr; gap: 56px; }
.coat { font-size: 28px; line-height: 1.4; }
.coat p { margin: 0 0 20px; }
.coat .map { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 24px; background: var(--c-band); border-radius: var(--radius); padding: 18px 24px; margin: 0 0 20px; }
.coat .map b { font-weight: 400; color: var(--c-purple); }
.sim { position: relative; background: var(--c-ground); border: 2px solid #d6d6d6; border-radius: 16px; padding: 18px 22px 20px; }
.sim svg { display: block; width: 100%; height: auto; }
.sim .slot { fill: #ededed; stroke: #9a9a9a; stroke-width: 2; }
.sim .slot.free { stroke-dasharray: 8 6; fill: var(--c-ground); }
.sim text { font-family: var(--font-sans); }
.sim .t-s { font-size: 21px; fill: #5c5c5c; }
.sim .t-m { font-size: 24px; fill: var(--c-ink); }
.sim .t-h { font-family: var(--font-heading); font-weight: 600; font-size: 25px; fill: var(--c-ink); }
.sim .t-w { font-family: var(--font-heading); font-weight: 600; font-size: 25px; fill: var(--c-white); }
.sim .ptr { stroke: var(--c-ink); stroke-width: 4; fill: none; }
.sim .ptr.dang { stroke: var(--c-fail); stroke-dasharray: 10 8; }
.sim .g { transition: opacity .5s var(--ease), transform .6s var(--ease); }
.sim .hide { opacity: 0 !important; }
.sim .ctl { display: flex; align-items: center; gap: 26px; margin-top: 12px; flex-wrap: wrap; }
.sim .status { min-height: 76px; font-size: 25px; line-height: 1.35; margin-top: 12px; padding: 10px 16px; border-radius: 10px; background: var(--c-band); }
.sim .status.bad { background: var(--c-fail); color: #fff; }
.sim .status.good { background: var(--c-purple); color: var(--c-white); }
.sim .flash { position: absolute; inset: 0; border-radius: 14px; background: var(--c-fail); opacity: 0; pointer-events: none; }
.sim .flash.go { animation: flash .9s ease-out; }
@keyframes flash { 0% { opacity: .55; } 100% { opacity: 0; } }
.sim .boom { position: absolute; left: 50%; top: 36%; transform: translate(-50%, -50%) scale(.6); font-family: var(--font-heading); font-weight: 600;
  font-size: 64px; color: #fff; background: var(--c-fail); padding: 6px 30px; border-radius: 12px; opacity: 0; pointer-events: none; letter-spacing: 3px; }
.sim .boom.go { animation: boom 1.6s var(--ease) forwards; }
@keyframes boom { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.6) rotate(-4deg); } 18% { opacity: 1; transform: translate(-50%, -50%) scale(1.08) rotate(-4deg); } 30%, 80% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-4deg); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1) rotate(-4deg); } }
.sim .shake { animation: shake .4s linear; }
@keyframes shake { 0%,100% { transform: none; } 20% { transform: translateX(-8px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(5px); } }

/* ---------- 6: proof ---------- */
.proof { display: grid; grid-template-columns: 340px 570px 160px 570px 120px; column-gap: 0; row-gap: 18px; align-items: center; }
.proof .h { font-family: var(--font-heading); font-weight: 600; font-size: 24px; color: var(--c-ink); padding-bottom: 6px; border-bottom: 3px solid var(--c-purple); align-self: end; }
.proof .h.fx { color: var(--c-purple); }
.proof .vl b { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 25px; line-height: 1.25; }
.proof .vl span { font-size: 21px; color: #5c5c5c; line-height: 1.25; display: block; }
.proof canvas { display: block; }
.proof .n { font-family: var(--font-heading); font-weight: 600; font-size: 40px; text-align: right; padding-right: 26px; font-variant-numeric: tabular-nums; line-height: 1.05; }
.proof .n small { display: block; font-family: var(--font-sans); font-weight: 300; font-size: 20px; color: #5c5c5c; }
.proof .n.bad { color: var(--c-fail); }
.proof .n.zero { color: var(--c-purple); }
.proof-foot { display: flex; gap: 24px; margin-top: 26px; align-items: stretch; }
.proof-foot .card { flex: 1 1 0; padding: 16px 22px; font-size: 22px; line-height: 1.35; }
.proof-foot .card b { font-family: var(--font-heading); font-weight: 600; color: var(--c-purple); display: block; font-size: 30px; }
.proof-top { display: flex; align-items: center; gap: 24px; margin: -8px 0 18px; font-size: 22px; line-height: 1.35; color: #4a4a4a; }
.proof-top > span:nth-child(2) { max-width: 1180px; }
.proof-top .btn { margin-left: auto; }

/* ---------- 7: team ---------- */
.team svg { overflow: visible; }
.team .node rect { fill: var(--c-ground); stroke: var(--c-ink); stroke-width: 2.5; }
.team .node.ant rect { stroke: var(--c-purple); }
.team .node.oai rect { stroke: #2b8fd6; stroke-width: 3.5; }
.team .node.orr rect { stroke: #9a9a9a; stroke-dasharray: 10 7; }
.team .node.hum rect { fill: var(--c-purple); stroke: var(--c-purple); }
.team .role { font: 400 20px var(--font-heading); letter-spacing: 2px; text-transform: uppercase; fill: var(--c-purple); }
.team .node.oai .role { fill: #1f6fa8; }
.team .node.orr .role { fill: #6a6a6a; }
.team .node.hum .role, .team .node.hum .nm, .team .node.hum .ds { fill: var(--c-white); }
.team .node.hum .role { fill: var(--c-yellow); }
.team .nm { font: 600 29px var(--font-heading); fill: var(--c-ink); }
.team .ds { font: 300 22px var(--font-sans); fill: #4a4a4a; }
.team .edge { stroke: var(--c-ink); stroke-width: 3; fill: none; }
.team .edge.rv { stroke: #2b8fd6; stroke-width: 3.5; }
.team .edge.fb { stroke: #9a9a9a; stroke-dasharray: 9 7; }
.team .elab { font: 400 21px var(--font-sans); fill: #4a4a4a; }
.team .elab.rv { fill: #1f6fa8; }
section.play @keyframes travel { 0% { offset-distance: 0%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.team-facts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 26px; margin-top: 8px; }
.team-facts .card { padding: 18px 24px; font-size: 24px; line-height: 1.35; }
.team-facts .card b { font-family: var(--font-heading); font-weight: 600; display: block; font-size: 26px; color: var(--c-purple); margin-bottom: 4px; }

/* ---------- 8: humans in charge ---------- */
.cols8 { display: grid; grid-template-columns: 1fr 680px; gap: 64px; }
ul.gates { list-style: none; margin: 0; padding: 0; }
ul.gates li { display: grid; grid-template-columns: 70px 1fr; gap: 20px; margin: 0 0 44px; font-size: 27px; line-height: 1.38; align-items: start; }
ul.gates li svg { width: 62px; height: 62px; }
ul.gates li b { font-family: var(--font-heading); font-weight: 600; display: block; font-size: 27px; color: var(--c-purple); }
.ret { position: relative; background: var(--c-band); border-radius: 14px; padding: 28px 32px; }
.ret h3 { font-size: 30px; margin: 0 0 18px; }
.ret .rw { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 16px; margin-bottom: 18px; font-size: 23px; }
.ret .rb { height: 44px; border-radius: 8px; position: relative; }
.ret .rb span { position: absolute; left: calc(100% + 12px); top: 4px; font-family: var(--font-heading); font-weight: 600; font-size: 26px; white-space: nowrap; }
.ret .rb.v1 { background: #9a9a9a; width: 300px; }
.ret .rb.v2 { background: var(--c-purple); width: 159px; }
.ret .stamp2 { position: absolute; right: 26px; top: 22px; font-family: var(--font-heading); font-weight: 600; font-size: 30px; letter-spacing: 3px; color: var(--c-fail);
  border: 5px solid var(--c-fail); border-radius: 10px; padding: 2px 14px; transform: rotate(8deg); }
section.play .ret .stamp2 { animation: stampin2 .5s cubic-bezier(.3, 1.6, .5, 1) 2.2s both; }
@keyframes stampin2 { from { opacity: 0; transform: rotate(8deg) scale(2); } to { opacity: 1; transform: rotate(8deg) scale(1); } }
.ret .big { display: flex; gap: 22px; margin-top: 10px; }
.ret .big div { flex: 1; background: var(--c-ground); border-radius: 10px; padding: 14px 18px; font-size: 22px; line-height: 1.3; }
.ret .big b { font-family: var(--font-heading); font-weight: 600; font-size: 40px; color: var(--c-purple); display: block; }
.ret .q { font-size: 25px; line-height: 1.38; margin: 18px 0 0; }

/* ---------- 9: cost ---------- */
.cols9 { display: grid; grid-template-columns: 560px 1fr; gap: 70px; align-items: start; }
.total { font-family: var(--font-heading); font-weight: 600; font-size: 150px; line-height: 1; color: var(--c-purple); font-variant-numeric: tabular-nums; white-space: nowrap; }
.total small { font-size: 54px; }
.total small.ab { display: block; font-size: 36px; margin-bottom: -6px; }
.total-sub { font-size: 26px; line-height: 1.4; margin: 18px 0 30px; }
.attn { background: var(--c-band); border-radius: var(--radius); padding: 22px 26px; font-size: 25px; line-height: 1.4; display: grid; grid-template-columns: 64px 1fr; gap: 18px; }
.attn svg { width: 60px; height: 60px; }
.attn p { margin: 0; }
.phases { display: grid; grid-template-columns: 250px 1fr; row-gap: 16px; column-gap: 20px; align-items: center; font-size: 25px; }
.phases .pb { height: 46px; border-radius: 6px; background: var(--c-purple); position: relative; }
.phases .pb span { position: absolute; left: calc(100% + 12px); top: 5px; font-family: var(--font-heading); font-weight: 600; font-size: 25px; white-space: nowrap; color: var(--c-ink); }
.phases .pb.fix { background: var(--c-purple); }
.phases .hd { font-family: var(--font-heading); font-weight: 600; font-size: 22px; letter-spacing: 2px; text-transform: uppercase; color: var(--c-purple); grid-column: 1 / -1; margin-bottom: -4px; }

/* ---------- 10: pipeline ---------- */
.pipe { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; margin-top: 70px; position: relative; }
.pipe .st { position: relative; height: 200px; background: var(--c-band); padding: 26px 18px 18px 42px; font-size: 24px; line-height: 1.3;
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 50%, calc(100% - 30px) 100%, 0 100%, 30px 50%); }
.pipe .st:first-child { clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 50%, calc(100% - 30px) 100%, 0 100%); padding-left: 24px; }
.pipe .st b { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 36px; color: var(--c-purple); line-height: 1; margin-bottom: 10px; }
.pipe .st.now { background: var(--c-yellow); }
.pipe .st.done { background: var(--c-purple); color: var(--c-white); }
.pipe .st.done b { color: var(--c-yellow); }
.here { z-index: 3; position: absolute; top: -66px; width: 240px; margin-left: -120px; font-family: var(--font-heading); font-weight: 600; font-size: 24px; color: var(--c-purple); white-space: nowrap; text-align: center; transition: left 2.2s var(--ease); }
.here::after { content: ""; display: block; margin: 6px auto 0; width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 18px solid var(--c-purple); }
.status3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 46px; }
.status3 .card { padding: 20px 24px; font-size: 25px; line-height: 1.35; }
.status3 .card b { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 26px; }
.status3 .chip { display: inline-block; font-size: 19px; letter-spacing: 2px; text-transform: uppercase; padding: 2px 10px; border-radius: 6px; margin-top: 8px; font-weight: 400; }
.status3 .chip.open { background: var(--c-yellow); }
.status3 .chip.draft { background: #d4d4d4; }

/* ---------- 11: proposal ---------- */
.flow svg { overflow: visible; display: block; }
.flow .box { fill: var(--c-ground); stroke: var(--c-ink); stroke-width: 2.5; }
.flow .box.team { fill: var(--c-purple-10); stroke: var(--c-purple); stroke-width: 3; }
.flow .box.step { fill: var(--c-ground); stroke: var(--c-purple); stroke-width: 2.5; }
.flow .box.hum { fill: var(--c-purple); stroke: var(--c-purple); }
.flow .box.back { fill: var(--c-ground); stroke: #8a8a8a; stroke-dasharray: 10 7; }
.flow .lb { font: 600 26px var(--font-heading); fill: var(--c-ink); }
.flow .lb.w { fill: var(--c-white); }
.flow .sm { font: 300 22px var(--font-sans); fill: #4a4a4a; }
.flow .sm.w { fill: var(--c-white); }
.flow .lbl { fill: var(--c-yellow); stroke: #c9a24a; stroke-width: 1.5; }
.flow .lbt { font: 700 23px var(--font-mono); fill: var(--c-ink); }
.flow .ar { stroke: var(--c-ink); stroke-width: 3; fill: none; }
.flow .ar.back { stroke: #8a8a8a; stroke-dasharray: 10 7; }
.flow .gate { fill: var(--c-purple); }

/* ---------- 12: which tickets ---------- */
.cols12 { display: grid; grid-template-columns: 760px 1fr; gap: 60px; align-items: center; }
.rings { position: relative; width: 760px; height: 720px; }
.rings .ring { position: absolute; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: flex-start; justify-content: center; text-align: center; box-sizing: border-box; }
.rings .r3 { width: 720px; height: 720px; border: 4px dashed var(--c-purple); background: var(--c-purple-10); padding: 58px 120px 0; }
.rings .r1 { width: 330px; height: 330px; background: var(--c-purple); color: var(--c-white); align-items: center; padding: 30px; }
.rings .ring b { font-family: var(--font-heading); font-weight: 600; font-size: 30px; line-height: 1.25; display: block; }
.rings .ring span { font-size: 22px; display: block; margin-top: 6px; }
.rings .r3 b { max-width: 440px; color: var(--c-purple); }
.rings .start { position: absolute; left: 0; right: 0; text-align: center; top: calc(50% + 186px); font-family: var(--font-heading); font-weight: 600; font-size: 22px; letter-spacing: 2px; text-transform: uppercase; color: var(--c-purple); white-space: nowrap; }
section.play .rings .r1 { animation: ringpop .8s cubic-bezier(.3, 1.5, .5, 1) .3s both; }
section.play .rings .r3 { animation: ringgrow 1.4s var(--ease) 1.6s both; }
@keyframes ringpop { from { opacity: 0; transform: translate(-50%, -50%) scale(.2); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes ringgrow { from { opacity: 0; transform: translate(-50%, -50%) scale(.45); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.why { font-size: 28px; line-height: 1.4; }
.why h3 { font-size: 32px; margin: 0 0 8px; color: var(--c-purple); }
.why p { margin: 0 0 30px; }

/* ---------- 13: limits ---------- */
ul.limits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 36px; }
ul.limits li { background: var(--c-band); border-radius: var(--radius); padding: 16px 24px; font-size: 24px; line-height: 1.35; margin: 0; border-left: 8px solid var(--c-yellow); }
ul.limits li b { font-family: var(--font-heading); font-weight: 600; display: block; font-size: 26px; margin-bottom: 2px; }

/* ---------- 14: evidence ---------- */
.links4 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; margin-top: 10px; }
.links4 a.lk { display: block; background: var(--c-ground); border: 2px solid var(--c-purple-20); border-radius: 14px; padding: 26px 30px; color: var(--c-ink); font-weight: 300; transition: border-color .2s, transform .2s; }
.links4 a.lk:hover, .links4 a.lk:focus-visible { border-color: var(--c-purple); text-decoration: none; transform: translateY(-3px); outline: none; }
.links4 a.lk .k { font-family: var(--font-heading); font-weight: 400; font-size: 21px; letter-spacing: 2px; text-transform: uppercase; color: var(--c-purple); display: block; }
.links4 a.lk .t { font-family: var(--font-heading); font-weight: 600; font-size: 34px; display: block; margin: 4px 0 6px; }
.links4 a.lk .d { font-size: 23px; line-height: 1.35; display: block; }
.links4 a.lk .u { font-size: 19px; color: var(--c-purple); display: block; margin-top: 10px; word-break: break-all; font-weight: 400; }
.reveal .closer { margin: 22px 0 0; font-size: 30px; line-height: 1.4; background: var(--c-purple); color: var(--c-white); border-radius: 14px; padding: 24px 32px; }
.reveal .closer b { color: var(--c-yellow); font-weight: 400; }
.build { position: absolute; left: 0; right: 0; text-align: center; bottom: 40px; font-size: 18px; color: #8a8a8a; }
.reveal .slide-number { right: 120px; }

/* ---------- 10b: coverage ---------- */
.covbox { background: var(--c-band); border-radius: 14px; padding: 22px 28px 18px; }
.covhead { display: flex; justify-content: space-between; align-items: baseline; font-size: 24px; color: #4a4a4a; margin-bottom: 14px; }
.covn { font-size: 28px; color: var(--c-ink); }
.covn b { font-family: var(--font-heading); font-weight: 600; font-size: 44px; color: var(--c-purple); font-variant-numeric: tabular-nums; }
.strip { display: grid; grid-template-columns: repeat(30, 1fr); gap: 8px; height: 110px; }
.strip .tk { border-radius: 6px; background: #d9d9d9; transition: background .25s, transform .25s; }
.strip .tk.on { background: var(--c-purple); }
.strip .tk.miss.on { background: repeating-linear-gradient(-45deg, #ffd166 0 10px, #f2b93b 10px 20px); transform: scaleY(1.12); box-shadow: 0 0 0 3px #303030; }
.covleg { display: flex; gap: 40px; font-size: 22px; margin-top: 16px; color: #4a4a4a; }
.covleg .lg { display: inline-block; width: 22px; height: 22px; border-radius: 4px; vertical-align: -3px; margin-right: 10px; }
.covleg .lg.run { background: var(--c-purple); }
.covleg .lg.miss { background: #ffd166; box-shadow: 0 0 0 2px #303030; }
.reveal .cols.cov2 { margin-top: 28px; gap: 50px; font-size: 27px; line-height: 1.4; }
.reveal .cols.cov2 > div:first-child { flex: 1.25 1 0; }
.reveal .cols.cov2 p { margin: 0 0 18px; }
.reveal .cols.cov2 .card { padding: 22px 26px; }
ul.stat { list-style: none; margin: 0; padding: 0; font-size: 24px; line-height: 1.35; }
ul.stat li { display: grid; grid-template-columns: 90px 1fr; gap: 14px; margin: 0 0 12px; }
ul.stat b { font-family: var(--font-heading); font-weight: 600; font-size: 20px; letter-spacing: 1.5px; text-transform: uppercase; border-radius: 6px; padding: 2px 0; text-align: center; height: fit-content; }
ul.stat b.okc { background: var(--c-purple); color: var(--c-white); }
ul.stat b.opc { background: #ffd166; color: var(--c-ink); }
ul.limits li.wide { grid-column: 1 / -1; padding-top: 14px; padding-bottom: 14px; }
ul.limits li.wide b { margin: 0; }

/* ---------- 14: links, primary and secondary ---------- */
.links-pri { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 6px; }
.links-sec { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 24px; }
.links-pri a.lk, .links-sec a.lk { display: block; background: var(--c-ground); border: 2px solid var(--c-purple-20); border-radius: 14px; color: var(--c-ink); font-weight: 300; transition: border-color .2s, transform .2s; }
.links-pri a.lk { padding: 34px 38px; border: 4px solid var(--c-purple); }
.links-pri a.lk:hover, .links-sec a.lk:hover, .links-pri a.lk:focus-visible, .links-sec a.lk:focus-visible { border-color: var(--c-purple); text-decoration: none; transform: translateY(-3px); outline: none; }
.links-sec a.lk { padding: 16px 24px; }
a.lk .k { font-family: var(--font-heading); font-weight: 400; letter-spacing: 2px; text-transform: uppercase; color: var(--c-purple); display: block; }
a.lk .t { font-family: var(--font-heading); font-weight: 600; display: block; }
a.lk .d { display: block; }
a.lk .u { color: var(--c-purple); display: block; word-break: break-all; font-weight: 400; }
a.lk.big .k { font-size: 22px; } a.lk.big .t { font-size: 52px; margin: 6px 0 8px; line-height: 1.15; } a.lk.big .d { font-size: 26px; line-height: 1.35; } a.lk.big .u { font-size: 20px; margin-top: 12px; }
a.lk.sm .k { font-size: 17px; } a.lk.sm .t { font-size: 26px; margin: 2px 0; } a.lk.sm .d { font-size: 20px; line-height: 1.3; } a.lk.sm .u { font-size: 16px; margin-top: 4px; }
.hgate { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: center; margin: 0 0 24px; font-size: 28px; line-height: 1.4; }
.hgate svg { width: 60px; height: 60px; }
.hgate p { margin: 0; }
.hgate b { font-family: var(--font-heading); font-weight: 600; color: var(--c-purple); }
ul.gates li { margin-bottom: 30px; }

/* ---------- 7: "Why a backup?" callout ---------- */
.team details.why { position: absolute; left: 318px; top: 172px; z-index: 6; }
.team details.why summary { list-style: none; cursor: pointer; font-family: var(--font-heading); font-weight: 600; font-size: 20px; color: var(--c-ink);
  background: var(--c-yellow); border-radius: 999px; padding: 4px 16px; white-space: nowrap; }
.team details.why summary::-webkit-details-marker { display: none; }
.team details.why summary::after { content: " +"; }
.team details.why[open] summary::after { content: " \2212"; }
.team details.why summary:focus-visible { outline: 3px solid var(--c-purple); outline-offset: 3px; }
.team details.why .whyp { position: absolute; left: -218px; top: 48px; width: 700px; background: var(--c-ground); border: 3px solid var(--c-purple);
  border-radius: 14px; padding: 18px 24px; font-size: 23px; line-height: 1.38; box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.team details.why .whyp p { margin: 0 0 10px; }
.team details.why .whyp p:last-child { margin: 0; }
.team details.why[open] .whyp { animation: rise .35s var(--ease) both; }

/* ---------- 6: crash effects ---------- */
.proof { position: relative; }
.proof canvas.fxcv { position: absolute; pointer-events: none; z-index: 5; }
.proof canvas, .proof .n { will-change: transform; }
.proof .n.bad.hit { animation: hit .6s ease-out; }
@keyframes hit { 0% { transform: scale(1.35); color: #c0392b; } 100% { transform: scale(1); } }
.team details.why .whyp { padding-right: 60px; cursor: pointer; }
.team details.why .whyx { position: absolute; right: 8px; top: 8px; width: 40px; height: 40px; border: none; border-radius: 50%; background: var(--c-band);
  color: var(--c-ink); font-size: 30px; line-height: 40px; padding: 0; cursor: pointer; font-family: var(--font-sans); }
.team details.why .whyx:hover { background: var(--c-purple); color: var(--c-white); }
.team details.why .whyx:focus-visible { outline: 3px solid var(--c-purple); outline-offset: 2px; }
