/* design.md §4 "ghost-light playbill", same values as the landing and /tokens.css */
:root {
  --bg:      #1C1310;
  --ink:     #F7EDE0;
  --muted:   #B5A595;
  --before:  #BFD0F2;
  --after:   #FFB861;
  --rule:    #4A3A31;
  --seat:    #A8998A;
  --deep: #140D0B; --raise: #241915; --quiet: #9A8A7D;
  --font-display: "Ultra", "Ultra Fallback", Georgia, serif;
  --font-body: "Lexend", "Lexend Fallback", system-ui, sans-serif;
  --font-data: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --k: 0.5;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #0E0907; color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; overflow: hidden; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 8px; }
.vp { position: fixed; inset: 0; overflow: hidden; touch-action: pan-y; }
.deck { position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px; transform: translate(-50%, -50%) scale(var(--k)); transform-origin: 50% 50%; }
.slide { position: absolute; inset: 0; overflow: hidden; background: var(--bg); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .5s ease, visibility 0s linear .5s; padding: 92px 120px 84px; display: flex; flex-direction: column; isolation: isolate; }
.slide.on { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .5s ease; }
.slide::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: url("/media/grain.svg"); opacity: .055; mix-blend-mode: screen; }
.slide.lit { background: radial-gradient(48% 62% at 72% -8%, rgba(255, 184, 97, .16), transparent 72%), var(--bg); }
.slide.deep { background: var(--deep); }
.slide.cold { background: radial-gradient(50% 60% at 10% 110%, rgba(191, 208, 242, .07), transparent 70%), var(--deep); }

.top { display: flex; justify-content: space-between; align-items: center; font-size: 24px; color: var(--muted); letter-spacing: .02em; }
.top .wm { display: flex; align-items: center; gap: 14px; font: 400 30px/1 var(--font-display); color: var(--ink); }
.top .wm img { width: 34px; height: 34px; }
.top .cue { font: 500 22px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; }
.top .cue b { font: 400 30px/1 var(--font-display); letter-spacing: 0; color: var(--ink); margin: 0 14px 0 8px; }
.body { flex: 1; display: grid; min-height: 0; margin-top: 44px; }
.proof { margin-top: 30px; font: 400 21px/1.35 var(--font-data); color: var(--quiet); display: flex; gap: 14px; align-items: baseline; }
.proof::before { content: "proof"; font: 600 16px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); border: 1px solid rgba(247, 237, 224, .25); padding: 6px 9px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: 84px; line-height: 1.04; font-weight: 600; letter-spacing: -.03em; text-wrap: balance; }
h2 em { font-style: normal; color: var(--before); }
h2 .warm { color: var(--after); }
.lede { font-size: 36px; line-height: 1.4; color: var(--muted); margin-top: 28px; max-width: 30em; }
.lede b { color: var(--ink); font-weight: 600; }
.u { font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; font-variant-numeric: lining-nums; }
.tag { display: inline-flex; align-items: center; gap: 10px; font: 500 20px/1.2 var(--font-body); letter-spacing: .04em; color: var(--ink);
  background: rgba(20, 13, 11, .78); border: 1px solid rgba(247, 237, 224, .2); padding: 10px 16px; border-radius: 99px; }
figure { margin: 0; }
img { display: block; }

/* 1 cover */
.s-cover { padding: 0; flex-direction: row; }
.s-cover .l { flex: 1; padding: 92px 80px 84px 120px; display: flex; flex-direction: column; }
.s-cover h1 { font-size: 104px; line-height: 1.02; font-weight: 600; letter-spacing: -.038em; margin-top: auto; max-width: 9.6em; }
.s-cover h1 span { color: var(--after); display: block; margin-top: 10px; }
.s-cover .sub { font-size: 36px; line-height: 1.4; color: var(--muted); margin-top: 40px; max-width: 24em; }
.s-cover .sub em { font-style: normal; color: var(--before); }
.s-cover .meta { margin-top: auto; padding-top: 48px; display: flex; gap: 22px; font-size: 24px; color: var(--quiet); }
.s-cover .meta span + span::before { content: "·"; margin-right: 22px; }
.s-cover .r { width: 760px; position: relative; flex: none; }
.s-cover .r img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.s-cover .r::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--bg), transparent 22%), linear-gradient(0deg, rgba(20, 13, 11, .7), transparent 20%); }
.s-cover .r .tag { position: absolute; left: 60px; bottom: 56px; z-index: 2; }

/* 2 one wall */
.s-wall .body { grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.s-wall .panel { border-radius: 28px; padding: 44px; height: 100%; display: flex; flex-direction: column; box-shadow: inset 0 0 0 2px rgba(247, 237, 224, .08); }
.s-wall .panel.screen { background: rgba(247, 237, 224, .03); }
.s-wall .panel.glass { background: radial-gradient(70% 70% at 50% 100%, rgba(255, 184, 97, .12), transparent 70%), rgba(247, 237, 224, .03); }
.s-wall .panel h3 { font: 600 30px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.s-wall .panel svg { flex: 1; width: 100%; min-height: 0; margin: 28px 0; }
.s-wall .panel q { quotes: "“" "”"; font-size: 34px; line-height: 1.38; }
.s-wall .head { margin-bottom: 40px; }
.s-wall .body { grid-template-rows: minmax(0, 1fr); }

/* 3 the room */
.s-room .body { grid-template-columns: 1.25fr 1fr; gap: 80px; align-items: center; }
.s-room svg { width: 100%; height: auto; }
.s-room svg text { font: 500 22px var(--font-data); fill: var(--muted); }
.s-room svg .big { font: 600 26px var(--font-body); fill: var(--ink); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 48px; }
.facts div { border-top: 2px solid rgba(247, 237, 224, .14); padding-top: 22px; }
.facts .u { font-size: 120px; line-height: 1; display: block; }
.facts .u small { font-size: .5em; color: var(--muted); }
.facts p { font-size: 28px; color: var(--muted); margin-top: 12px; line-height: 1.3; }

/* 4 the rule */
.s-rule .body { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.s-rule .curve text { font: 22px var(--font-data); fill: var(--quiet); }
.s-rule .curve .lab { font: 600 26px var(--font-body); fill: var(--ink); }
.s-rule .live { border-radius: 26px; overflow: hidden; background: radial-gradient(80% 70% at 50% 0%, rgba(255, 184, 97, .10), transparent 70%), rgba(20, 13, 11, .5);
  box-shadow: inset 0 0 0 2px rgba(247, 237, 224, .08); position: relative; }
.s-rule .live .tag { position: absolute; top: 20px; left: 20px; z-index: 2; }
.s-rule .live .stage-svg .num { font-size: 150px; }
.s-rule .live-bar { display: flex; align-items: center; gap: 22px; padding: 0 28px 24px; font-size: 21px; color: var(--muted); line-height: 1.35; }
.s-rule .press { flex: none; font: 600 24px/1 var(--font-body); color: var(--ink); background: rgba(20, 13, 11, .8); border: 3px solid var(--ink); border-radius: 14px; min-height: 64px; min-width: 210px; cursor: pointer; }
.s-rule .press:hover { background: rgba(247, 237, 224, .12); }
.s-rule .steps { display: flex; gap: 22px; margin-top: 36px; font-size: 28px; color: var(--muted); }
.s-rule .steps b { color: var(--ink); }

/* 5 look → land */
.s-look .body { grid-template-columns: auto auto auto minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: 36px; align-items: center; }
.s-look figure { border-radius: 22px; overflow: hidden; position: relative; height: 100%; aspect-ratio: 1000 / 1272; box-shadow: inset 0 0 0 2px rgba(247, 237, 224, .08); }
.s-look figure img { width: 100%; height: 100%; object-fit: cover; }
.s-look figcaption { position: absolute; left: 16px; bottom: 16px; font: 600 24px/1 var(--font-body); padding: 10px 14px; border-radius: 10px; background: rgba(20, 13, 11, .8); }
.s-look .b figcaption { color: var(--before); } .s-look .a figcaption { color: var(--after); }
.s-look .arrow { display: grid; justify-items: center; gap: 10px; color: var(--ink); }
.s-look .arrow .u { font-size: 64px; }
.s-look .arrow svg { width: 90px; }
.s-look .body { margin-top: 36px; }
.s-look .log { margin-top: 0 !important; font-size: 24px !important; }
.s-look .log { margin-top: 30px; font: 22px/1.5 var(--font-data); color: var(--after); background: rgba(247, 237, 224, .05); border-radius: 12px; padding: 16px 20px; }
.s-look .note { margin-top: 26px; font-size: 30px; color: var(--muted); line-height: 1.4; }

/* 6 two talks */
.s-talks .body { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr); gap: 48px; margin-top: 36px; }
.s-talks .run { background: rgba(247, 237, 224, .035); border-radius: 26px; overflow: hidden; display: grid; grid-template-rows: minmax(0, 1fr) auto; box-shadow: inset 0 0 0 2px rgba(247, 237, 224, .07); }
.s-talks .run img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 68%; }
.s-talks .run .meta { display: grid; grid-template-columns: auto 1fr; gap: 30px; padding: 22px 32px 24px; align-items: center; }
.s-talks .run .u { font-size: 124px; line-height: .9; }
.s-talks .run.pass .u { color: var(--after); }
.s-talks .run p { font-size: 24px; color: var(--muted); line-height: 1.3; margin-top: 12px; }
.s-talks .run .v { font: 600 20px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.s-talks .run.fail .v { color: var(--before); } .s-talks .run.pass .v { color: var(--after); }
.s-talks .plan-svg { max-width: 380px; justify-self: end; }
.s-talks .plan-svg .plan-v { font-size: 15px; }

/* 7 CLAD */
.s-clad .body { grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; }
.s-clad ol { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; counter-reset: q; }
.s-clad li { display: grid; grid-template-columns: 64px 1fr; align-items: baseline; padding: 15px 0; border-top: 1px solid rgba(247, 237, 224, .12); font-size: 26px; line-height: 1.25; }
.s-clad li .u { font-size: 28px; color: var(--muted); }
.s-clad .bars { background: rgba(247, 237, 224, .035); border-radius: 26px; padding: 40px; box-shadow: inset 0 0 0 2px rgba(247, 237, 224, .07); }
.s-clad .bars h3 { font-size: 30px; font-weight: 600; }
.s-clad .row { margin-top: 34px; }
.s-clad .row span { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; font-size: 25px; color: var(--muted); }
.s-clad .row span b { font-family: var(--font-display); font-weight: 400; font-size: 40px; color: var(--ink); white-space: nowrap; }
.s-clad .bar { display: flex; height: 26px; border-radius: 6px; overflow: hidden; background: rgba(247, 237, 224, .06); margin-top: 12px; }
.s-clad .bar i { display: block; height: 100%; }
.s-clad .bar .sc { background: var(--ink); } .s-clad .bar .ts { background: var(--muted); }
.s-clad .legend { display: flex; gap: 28px; font-size: 21px; color: var(--quiet); margin-top: 24px; flex-wrap: wrap; }
.s-clad .legend i { display: inline-block; width: 16px; height: 16px; border-radius: 3px; margin-right: 8px; vertical-align: -2px; }

/* 8 pawns */
.s-pawns .body { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: minmax(0, 1fr); gap: 72px; align-items: center; }
.s-pawns blockquote { margin: 0; font-size: 70px; line-height: 1.08; font-weight: 600; letter-spacing: -.03em; }
.s-pawns blockquote mark { background: none; color: var(--before); }
.s-pawns .who { margin-top: 30px; font-size: 26px; color: var(--muted); line-height: 1.4; }
.s-pawns .then { margin-top: 40px; font-size: 32px; line-height: 1.4; }
.s-pawns .then b { color: var(--after); font-weight: 600; }
.s-pawns .pair { display: flex; gap: 24px; height: 100%; }
.s-pawns .pair figure { border-radius: 22px; overflow: hidden; position: relative; height: 100%; aspect-ratio: 559 / 900; background: var(--deep); box-shadow: inset 0 0 0 2px rgba(247, 237, 224, .08); }
.s-pawns .pair img { width: 100%; height: 100%; object-fit: cover; }
.s-pawns .pair figcaption { position: absolute; left: 14px; top: 14px; font: 600 21px/1 var(--font-body); padding: 9px 12px; border-radius: 9px; background: rgba(20, 13, 11, .8); }

/* 9 tested */
.s-proof .body { grid-template-rows: auto 1fr; }
.s-proof .grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; gap: 26px; margin-top: 44px; }
.s-proof .cell { background: rgba(247, 237, 224, .035); border-radius: 24px; padding: 32px 36px; display: flex; flex-direction: column; box-shadow: inset 0 0 0 2px rgba(247, 237, 224, .06); }
.s-proof .cell .u { font-size: 92px; line-height: 1; white-space: nowrap; }
.s-proof .cell .u small { font-size: .5em; color: var(--muted); }
.s-proof .cell p { font-size: 26px; color: var(--muted); margin-top: 14px; line-height: 1.32; }
.s-proof .cell code { font: 19px var(--font-data); color: var(--quiet); margin-top: auto; padding-top: 14px; }
.s-proof .cell.wide { grid-column: span 2; }
.s-proof .pass { color: var(--after); } .s-proof .fail { color: var(--before); }

/* 10 limits */
.s-limits ul { list-style: none; margin: 40px 0 0; padding: 0; }
.s-limits li { display: grid; grid-template-columns: 90px 1fr; gap: 30px; padding: 34px 0; border-top: 2px solid rgba(247, 237, 224, .12); align-items: baseline; }
.s-limits li .u { font-size: 54px; color: var(--before); }
.s-limits q { quotes: none; font-size: 44px; line-height: 1.3; }
.s-limits q b { font-weight: 600; }
.s-limits .split { display: flex; gap: 40px; margin-top: 10px; font-size: 26px; color: var(--muted); }
.s-limits .split span::before { content: ""; display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-right: 12px; }
.s-limits .split .p::before { background: var(--ink); } .s-limits .split .f::before { background: var(--before); }

/* 11 next */
.s-next .body { grid-template-columns: 1.3fr 1fr; gap: 90px; align-items: center; }
.s-next ol { list-style: none; margin: 44px 0 0; padding: 0; counter-reset: n; }
.s-next li { counter-increment: n; display: grid; grid-template-columns: 70px 1fr; padding: 22px 0; border-top: 1px solid rgba(247, 237, 224, .12); font-size: 34px; line-height: 1.3; }
.s-next li::before { content: counter(n, decimal-leading-zero); font: 400 30px/1.3 var(--font-display); color: var(--muted); }
.s-next .qrbox { justify-self: center; text-align: center; }
.s-next .qr { width: 420px; height: 420px; border-radius: 26px; display: block; box-shadow: 0 0 0 10px rgba(247, 237, 224, .06), 0 40px 90px -30px rgba(255, 184, 97, .35); }
.s-next .qrbox p { margin-top: 34px; font-size: 32px; font-weight: 600; }
.s-next .qrbox a { display: block; margin-top: 10px; font: 26px var(--font-data); color: var(--muted); text-decoration: none; }
.stamp { position: absolute; right: 120px; bottom: 40px; font: 18px var(--font-data); color: var(--quiet); }

/* staged entrances (only for the slide on screen; final state is the default) */
@keyframes up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.js .slide.on .in { animation: up .7s cubic-bezier(.22, 1, .36, 1) both; }
.js .slide.on .in.d1 { animation-delay: .12s; } .js .slide.on .in.d2 { animation-delay: .24s; } .js .slide.on .in.d3 { animation-delay: .36s; }

/* chrome: outside the scaled stage */
.chrome { position: fixed; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 10px 14px; z-index: 5; opacity: .75; transition: opacity .4s; }
.idle .chrome { opacity: 0; }
.chrome:hover, .chrome:focus-within, .idle .chrome:focus-within { opacity: 1; }
.chrome button { min-width: 44px; min-height: 44px; border-radius: 12px; border: 1px solid rgba(247, 237, 224, .18); background: rgba(20, 13, 11, .8); color: var(--ink);
  font: 500 15px var(--font-body); cursor: pointer; padding: 0 12px; }
.chrome button:hover { border-color: var(--ink); }
.chrome .count { font: 500 15px var(--font-data); color: var(--muted); margin: 0 8px; min-width: 4.5em; }
.chrome .sp { flex: 1; }
.chrome a { color: var(--muted); font-size: 14px; text-decoration: none; padding: 12px 8px; }
.bar-progress { position: fixed; left: 0; top: 0; height: 3px; background: var(--ink); z-index: 6; transition: width .4s ease; opacity: .6; }
.notes-panel { position: fixed; left: 0; right: 0; bottom: 64px; max-height: 34vh; overflow: auto; z-index: 7; background: rgba(20, 13, 11, .95); border-top: 1px solid rgba(247, 237, 224, .15);
  padding: 18px 24px; font-size: 17px; line-height: 1.55; color: var(--ink); }
.notes-panel h4 { margin: 0 0 6px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.slide .speaker-notes { display: none; }
.overview { position: fixed; inset: 0; z-index: 8; background: rgba(14, 9, 7, .97); overflow: auto; padding: 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; align-content: start; }
.overview[hidden] { display: none; }
.overview button { position: relative; aspect-ratio: 16 / 9; padding: 0; border: 2px solid rgba(247, 237, 224, .14); border-radius: 10px; background: var(--bg); overflow: hidden; cursor: pointer; }
.overview button.cur { border-color: var(--ink); }
.overview .thumb { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; pointer-events: none; }
.overview .thumb .slide { opacity: 1; visibility: visible; transition: none; }
.overview .n { position: absolute; right: 8px; bottom: 8px; z-index: 2; font: 600 13px var(--font-data); background: rgba(20, 13, 11, .85); color: var(--ink); padding: 4px 7px; border-radius: 6px; }
.rotate { display: none; }
@media (orientation: portrait) and (max-width: 700px) {
  .rotate { display: block; position: fixed; left: 0; right: 0; top: 18px; text-align: center; font-size: 14px; color: var(--muted); z-index: 4; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .slide, .slide.on { transition: none; }
  .js .slide.on .in { animation: none; }
  .bar-progress { transition: none; }
}
@page { size: 16in 9in; margin: 0; }
@media print {
  html, body { overflow: visible; height: auto; background: var(--bg); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .vp { position: static; overflow: visible; }
  .deck { position: static; transform: none; width: auto; height: auto; }
  .slide { position: relative; opacity: 1 !important; visibility: visible !important; width: 1920px; height: 1080px; zoom: 0.8; break-after: page; page-break-after: always; transition: none; }
  .slide .in { animation: none !important; }
  .chrome, .bar-progress, .notes-panel, .overview, .rotate { display: none !important; }
}

/* ---- formerly inline style attributes (CSP: style-src 'self') ---- */
.bars .w-cs { width: 62.29%; } .bars .w-ct { width: 37.71%; } .bars .w-os { width: 5.41%; } .bars .w-ot { width: 13.62%; }
i.sw-ink { background: #F7EDE0; } i.sw-muted { background: #B5A595; } i.sw-blue { background: #BFD0F2; }
.gap-t { margin-top: 44px; }
.body.flush { margin-top: 0; }
.body.start { align-content: start; }
svg.curve-wide { margin-top: 40px; width: 100%; }
