/* Loading-screen homage, drawn in a 256 × 192 pixel canvas. */
html.spectrum-boot{overflow:hidden}
dialog.spectrum-intro{position:fixed;inset:0;max-width:none;max-height:none;width:100%;height:100dvh;margin:0;padding:0;border:0;background:#000;color:#fff;overflow:hidden;z-index:1000;opacity:1;transition:opacity .38s ease}
dialog.spectrum-intro::backdrop{background:#000}
.spectrum-intro.is-finished{opacity:0;pointer-events:none}
.spectrum-border{position:absolute;inset:0;background:repeating-linear-gradient(0deg,#00c5c5 0 18px,#000 18px 23px,#b90000 23px 40px,#000 40px 47px);animation:tapeBorder 1.3s steps(8,end) infinite}
.spectrum-intro.is-ready .spectrum-border{animation:none;background:#070909}
.spectrum-screen{position:absolute;inset:clamp(18px,4vw,56px);display:flex;align-items:center;justify-content:center;background:#000}
.spectrum-screen canvas{display:block;width:min(100%,calc((100dvh - 150px)*1.3333),1024px);height:auto;aspect-ratio:4/3;image-rendering:pixelated;image-rendering:crisp-edges}
.spectrum-controls{position:absolute;inset:auto 24px 20px;display:flex;align-items:center;justify-content:space-between;gap:20px;z-index:2;font:11px/1.5 'IBM Plex Mono',monospace;letter-spacing:.04em}
.spectrum-controls span{color:#b4b9b5;background:#000;padding:7px 10px}
.spectrum-controls button{border:1px solid #a9ada7;background:#000;color:#fff;padding:10px 15px;font:inherit;min-height:42px}
.spectrum-controls button:hover,.spectrum-controls button:focus-visible{border-color:#ffff00;color:#ffff00}
@keyframes tapeBorder{to{background-position:0 94px}}
.hero h1{font-size:clamp(26px,5.65vw,96px);line-height:1.07;letter-spacing:-.055em}
.hero-bottom{align-items:flex-start;margin-top:40px;gap:30px}
.hero-bottom p{font-size:18px;line-height:1.65;max-width:770px;margin:0}
@media(max-width:700px){.hero h1{font-size:clamp(25px,5.65vw,42px);letter-spacing:-.055em}.hero-bottom{margin-top:28px;gap:15px}.hero-bottom p{font-size:16px;max-width:calc(100% - 60px)}.spectrum-controls{inset:auto 16px 18px;font-size:9px;gap:10px}.spectrum-controls span{padding:6px}.spectrum-screen{inset:18px}.spectrum-screen canvas{width:min(100%,calc((100dvh - 130px)*1.3333))}}
@media(prefers-reduced-motion:reduce){.spectrum-border{animation:none}.spectrum-intro{transition:none!important}}
/* Tape pilot, data stripes, then a hard cut: no modern HUD or fades. */
dialog.spectrum-intro{transition:none}
.spectrum-border{background:repeating-linear-gradient(0deg,#0000d7 0 18px,#d7d700 18px 36px);animation:tapePilot .7s steps(8,end) infinite}
.spectrum-intro.is-data .spectrum-border{background:repeating-linear-gradient(0deg,#00d7d7 0 8px,#d70000 8px 13px,#00d7d7 13px 26px,#d70000 26px 30px,#00d7d7 30px 36px,#d70000 36px 48px);animation:tapeData .62s steps(10,end) infinite}
.spectrum-intro.is-ready .spectrum-border{animation:none;background:#000}
.spectrum-controls{justify-content:flex-end}
.spectrum-controls button{font-size:10px;color:#b4b9b5;border-color:#555;background:#000}
.spectrum-controls button:focus-visible{outline:1px solid #ffff00;outline-offset:3px}
@keyframes tapePilot{to{background-position:0 72px}}
@keyframes tapeData{to{background-position:0 96px}}
.hero h1{font-size:clamp(38px,8vw,120px);line-height:1.04}
.hero h1 .outline{margin-right:.22em}
@media(max-width:700px){.hero h1{font-size:clamp(32px,8vw,58px)}}
@media(prefers-reduced-motion:reduce){.spectrum-border,.spectrum-intro.is-data .spectrum-border{animation:none!important}}
/* Reuse the actual painted cross from the alphabet, rather than a typeset X. */
.hero h1 .hero-cross{display:inline-block;position:relative;width:1.08em;height:.8em;aspect-ratio:auto;vertical-align:baseline;margin:0 .12em 0 0;transform:translateY(.08em);mix-blend-mode:screen}
.hero h1 .hero-cross img{position:absolute;inset:0 auto auto 0;width:100%;height:auto;max-width:none}
.hero h1 .hero-cross{background:none;mix-blend-mode:lighten}
.hero h1 .hero-cross img{mix-blend-mode:lighten;filter:contrast(1.2)}
