:root{color-scheme:dark;--paper:#f2ece2}
*{box-sizing:border-box}
html{background:#161413;scrollbar-width:none}
html::-webkit-scrollbar{display:none}
body{margin:0;background:#161413;color:var(--paper);font-family:Arial,Helvetica,sans-serif}
::selection{background:#f2ece2;color:#161413}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.visual{position:fixed;inset:0;overflow:hidden;isolation:isolate;pointer-events:none}
.scene{position:absolute;inset:0;opacity:0;visibility:hidden}
.scene.is-visible{opacity:1;visibility:visible}
.ambient{position:absolute;inset:-65px;background-size:cover;background-position:center;filter:blur(38px) saturate(.68) brightness(.65);transform:scale(1.06)}
.scene::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(12,10,8,.09),transparent 40%,rgba(12,10,8,.26));pointer-events:none}
.letter-window{position:absolute;inset:0;overflow:visible}
.wordmark{font-family:Arial,Helvetica,sans-serif;font-weight:900;letter-spacing:-.075em}
.scene-caption{position:absolute;top:min(calc(48% + 6.5vw + 40px),calc(100% - 150px));left:24px;right:24px;margin:0;text-align:center;font-size:12px;font-weight:400;line-height:1.5;letter-spacing:.22em;text-transform:uppercase;text-shadow:0 2px 16px rgba(0,0,0,.65);z-index:1}
.grain{position:absolute;inset:0;opacity:.065;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.7' d='M0 0h180v180H0z'/%3E%3C/svg%3E");mix-blend-mode:soft-light}
.edge{position:absolute;left:32px;right:32px;height:12px;opacity:.4;border-left:1px solid var(--paper);border-right:1px solid var(--paper)}
.edge-top{top:32px;border-top:1px solid var(--paper);border-image:linear-gradient(90deg,var(--paper) 12px,transparent 12px,transparent calc(100% - 12px),var(--paper) calc(100% - 12px)) 1}
.edge-bottom{bottom:32px;border-bottom:1px solid var(--paper);border-image:linear-gradient(90deg,var(--paper) 12px,transparent 12px,transparent calc(100% - 12px),var(--paper) calc(100% - 12px)) 1}
.chapter{height:120svh;min-height:400px}
.chapter:last-child{height:100svh;min-height:0}
.controls{position:fixed;bottom:max(54px,calc(env(safe-area-inset-bottom) + 24px));left:60px;right:60px;display:flex;align-items:center;justify-content:space-between;height:44px;z-index:3}
.counter{font-family:monospace;font-size:10px;letter-spacing:.09em;font-variant-numeric:tabular-nums;text-shadow:0 1px 10px #000}
.counter-divider{margin:0 13px;opacity:.4}
.chapters{position:absolute;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:2px}
.chapters a{height:44px;width:27px;display:grid;place-items:center;color:inherit;text-decoration:none}
.chapters a span{display:block;width:15px;height:2px;background:currentColor;opacity:.28;transition:opacity .2s,transform .2s}
.chapters a[aria-current] span{opacity:1;transform:scaleY(2)}
.chapters a:hover span{opacity:.85}
.scroll-cue{width:44px;height:44px;display:grid;place-items:center;color:inherit;text-decoration:none;font-size:25px;font-weight:400}
.scroll-cue span{transition:transform .3s}
.scroll-cue:hover span{transform:translateY(4px)}
a:focus-visible{outline:1px solid var(--paper);outline-offset:3px;border-radius:2px}
@media(max-width:600px){.scene-caption{top:min(calc(48% + 33.32vw + 32px),calc(100% - 130px));font-size:11px;letter-spacing:.18em}.controls{left:26px;right:24px;bottom:max(38px,calc(env(safe-area-inset-bottom) + 20px))}.edge{left:20px;right:20px}.edge-top{top:max(24px,env(safe-area-inset-top))}.edge-bottom{bottom:max(22px,env(safe-area-inset-bottom))}.chapters a{width:21px}.chapters a span{width:11px}.counter{font-size:9px}.counter-divider{margin:0 8px}.ambient{filter:blur(28px) saturate(.68) brightness(.65)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
