:root{background:#030508;--bg:#030508;--orange:#f2a86b}html,body{overflow-x:clip}.site-header{max-width:none;height:76px;background:#030508;padding:0 5vw;border-bottom:1px solid #ffffff12}.hero.cosmic-hero{display:block;isolation:isolate;padding:0;margin:0;max-width:none;width:100%;height:max(760px,calc(100svh - 76px));min-height:760px;overflow:hidden;background:#030508}.cosmic-hero:before{display:none}#space-canvas,.space-fallback,.cosmic-vignette{position:absolute;inset:0}#space-canvas{z-index:1}#space-canvas canvas{display:block;width:100%;height:100%}.cosmic-vignette{z-index:2;pointer-events:none;background:linear-gradient(90deg,#03050880,transparent 55%),linear-gradient(0deg,#030508,transparent 20%)}.cosmic-hero .hero-copy{position:absolute;z-index:3;left:6vw;bottom:18%;width:46%;max-width:610px;padding:0}.cosmic-hero .kicker{font-size:8px;letter-spacing:.22em;color:#c6ac92;margin-bottom:21px}.cosmic-hero h1{font-size:clamp(46px,4.5vw,70px);line-height:1.08;letter-spacing:-.055em;margin:0 0 24px;font-weight:500}.cosmic-hero h1 em{font-size:.82em;color:#eee6dc;letter-spacing:-.04em}.cosmic-hero .hero-lead{font-size:14px;line-height:1.8;color:#acb0b6;max-width:420px;margin-bottom:28px}.cosmic-hero .hero-actions{gap:22px}.cosmic-hero .button{font-size:11px;background:#ead8c0;color:#1a1815;box-shadow:none;border-radius:4px;min-height:46px}.cosmic-shortcut{font-size:10px;color:#b7bac1;padding:15px 0}.cosmic-shortcut span{margin-left:10px}.scene-heading{position:absolute;left:6vw;top:35px;z-index:3;display:flex;align-items:center;gap:10px;font:8px Consolas,monospace;letter-spacing:.17em;color:#909ba7}.scene-heading-line{width:80px;height:1px;background:#8291a340}.scene-controls{position:absolute;z-index:4;right:5vw;top:25px;display:flex;gap:10px}.scene-controls button{background:#070a10aa;border:1px solid #ffffff24;color:#b6bdc5;font:9px Consolas,monospace;border-radius:20px;padding:10px 14px;min-height:36px}.mission-route{position:absolute;bottom:34px;left:6vw;z-index:3;display:flex;align-items:center;gap:16px;color:#777f8b;font:8px Consolas,monospace;letter-spacing:.12em}.mission-route i{width:35px;height:1px;background:#81909e40}.greeting-bubble{position:absolute;z-index:4;left:70%;top:36%;padding:10px 16px;border-radius:16px 16px 16px 1px;background:#eee7da;color:#24262b;font-size:11px;pointer-events:none;white-space:nowrap;transform:translate(-15%,-120%)}.explorer-actions{position:absolute;right:7vw;bottom:11%;z-index:4;display:flex;gap:12px}.explorer-actions button{position:static;transform:none;box-shadow:none;min-height:42px;padding:10px 13px;border:1px solid #bfb19e55;border-radius:22px;background:#070a10cf;color:#e6d9c9;font-size:10px}.explorer-actions button span{margin-left:12px}.explorer-actions button:disabled{display:none}.gravity-note{position:absolute;top:27%;left:6vw;z-index:3;color:#ae8765;font:7px Consolas,monospace;letter-spacing:.2em}.gravity-note span{display:inline-block;width:4px;height:4px;background:#d69d65;border-radius:50%;margin-right:8px}.space-fallback{overflow:hidden;background:radial-gradient(ellipse at 65% 25%,#67422b22,transparent 45%)}.fallback-hole{position:absolute;left:38%;top:3%;width:37%;aspect-ratio:1;border-radius:50%;background:#000;box-shadow:0 0 5px 2px #ffe3b8,0 0 40px 9px #c58a5077}.fallback-hole:after{content:"";position:absolute;left:-60%;top:35%;width:220%;height:26%;border-radius:50%;border:14px solid #ffd7a7;box-shadow:0 0 20px #d7995e;transform:rotate(-12deg)}.fallback-world{position:absolute;right:-4%;bottom:-48%;width:52%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 30% 0,#a89b87,#473d36 35%,#151517 68%)}.fallback-world img{position:absolute;mix-blend-mode:lighten;width:58%;left:16%;top:-50%;mask-image:radial-gradient(ellipse,#000 35%,transparent 72%)}.world-ready .space-fallback{display:none}.blackhole-return .hero-copy,.blackhole-return .explorer-actions,.blackhole-return .greeting-bubble{opacity:0}.blackhole-return .cosmic-vignette{background:none}
@media(max-width:1000px){.cosmic-hero h1{font-size:48px}.cosmic-hero .hero-actions{align-items:flex-start;flex-direction:column;gap:0}.scene-heading-line{display:none}.mission-route{gap:10px;font-size:7px}}
@media(max-width:840px){.site-header{height:68px}.site-nav{top:68px}.hero.cosmic-hero{height:980px;min-height:980px}.cosmic-hero .hero-copy{bottom:10%;left:7vw;width:86%;max-width:none}.cosmic-hero h1{font-size:49px;line-height:1.04;margin-bottom:15px}.cosmic-hero .hero-lead{font-size:13px;line-height:1.6;margin-bottom:18px}.cosmic-hero .hero-actions{flex-direction:row;align-items:center;gap:20px}.scene-heading{font-size:6px;left:7vw;top:22px}.scene-controls{top:49px;right:6vw}.scene-controls button{font-size:8px;padding:8px 11px}.gravity-note{top:15%;left:7vw;font-size:6px}.mission-route{bottom:27px;left:7vw;gap:7px;font-size:6px}.mission-route i{width:15px}.explorer-actions{bottom:42%;right:8vw}.greeting-bubble{font-size:9px;padding:8px 12px}.cosmic-vignette{background:linear-gradient(0deg,#030508 0,#030508 8%,#030508bb 25%,transparent 42%)}.fallback-hole{width:65%;left:18%;top:10%}.fallback-world{width:80%;bottom:30%;right:-20%}}
@media(max-width:420px){.hero.cosmic-hero{height:900px;min-height:900px}.cosmic-hero h1{font-size:43px}.cosmic-hero .hero-lead{font-size:12px}.cosmic-hero .hero-actions{gap:13px}.cosmic-hero .button{font-size:10px;padding:12px 13px}.cosmic-shortcut{font-size:8px}.explorer-actions{bottom:43%}}
@media(prefers-reduced-motion:reduce){.explorer-actions #pat-button{display:block}}/* A continuous, scroll-scrubbed prologue above the original story chapters. */
.escape-scroll{height:260svh;position:relative}.escape-scroll .hero.cosmic-hero{position:sticky;top:0;height:100svh;min-height:600px;--escape:0}.cosmic-hero .hero-copy{top:23%;bottom:auto;left:5vw;width:36%;max-width:470px;opacity:clamp(0,calc(1 - var(--escape)*5),1)}.cosmic-hero h1{font-size:clamp(34px,4vw,61px)}.cosmic-hero .hero-lead{font-size:13px}.cosmic-vignette{background:linear-gradient(90deg,#03050880,transparent 48%),linear-gradient(0deg,#03050899,transparent 18%)}.explorer-actions{right:5vw;bottom:4%;opacity:clamp(0,calc(1 - var(--escape)*5),1)}.mission-route{bottom:34px;opacity:clamp(0,calc(1 - var(--escape)*5),1)}.gravity-note{top:auto;bottom:10%;font-size:9px;left:5vw}.gravity-note #escape-status{width:auto;height:auto;background:none;border-radius:0;font:inherit;color:inherit}.greeting-bubble{transform:translate(-50%,-120%)}.fallback-world{width:140%;left:-20%;right:auto;bottom:-90%}.journey-reduced-motion .escape-scroll{height:100svh}.journey-reduced-motion .escape-scroll .cosmic-hero{position:relative}.journey-reduced-motion .gravity-note{display:none}
@media(max-width:840px){.escape-scroll{height:240svh}.escape-scroll .hero.cosmic-hero{height:100svh;min-height:640px}.cosmic-hero .hero-copy{top:17%;bottom:auto;left:7vw;width:73%;max-width:330px}.cosmic-hero h1{font-size:36px}.cosmic-hero .hero-lead{font-size:11px;max-width:230px}.cosmic-hero .hero-actions{flex-direction:column;align-items:flex-start;gap:2px}.cosmic-hero .button{min-height:38px;padding:10px 12px}.scene-controls{top:20px}.scene-heading{top:65px}.gravity-note{bottom:12%;font-size:7px}.explorer-actions{bottom:5%;right:5vw}.mission-route{display:none}.greeting-bubble{font-size:8px}.cosmic-vignette{background:linear-gradient(90deg,#03050866,transparent 90%)}.fallback-world{bottom:-65%;width:220%;left:-60%}}

.world-unavailable .escape-scroll{height:100svh}.world-unavailable .gravity-note{display:none}

/* Keep the entire opening visible, then ease into a short native scroll chapter. */
.escape-scroll .hero.cosmic-hero{height:calc(100svh - 76px);min-height:520px}.cosmic-hero .hero-copy{top:22%;width:37%;max-width:530px}.gravity-note{bottom:6%;color:#e6c7a3;text-shadow:0 1px 8px #000}.mission-route{bottom:20px}.explorer-actions{bottom:4%}.fallback-hole{left:52%}.fallback-world{width:180%;left:-40%;bottom:-130%}.cosmic-vignette{background:linear-gradient(90deg,#03050850,transparent 55%),linear-gradient(0deg,#03050855,transparent 15%)}
@media(max-width:840px){.escape-scroll .hero.cosmic-hero{height:calc(100svh - 68px);min-height:560px}.cosmic-hero .hero-copy{top:20%;width:78%;max-width:330px}.gravity-note{bottom:4%;font-size:6px}.explorer-actions{bottom:9%;gap:5px}.explorer-actions button{font-size:8px;min-height:34px;padding:8px}.scene-heading{top:62px}.fallback-hole{left:34%}}

/* Reference direction: warm cinema lighting and an industrial escape console. */
.site-header{height:76px;border-bottom-color:#f4d3a21c}.brand-word{letter-spacing:.3em}.site-nav{gap:34px}.site-nav>a{font-size:13px}.site-nav>a:first-child{color:#fff1d4;border-bottom:2px solid #ffb15d;padding-bottom:12px;filter:drop-shadow(0 3px 4px #ff8a2366)}.nav-lab{border-radius:30px!important}.scene-heading{top:7%;left:6vw;font-size:9px;letter-spacing:.25em;color:#f0e7db}.scene-heading .signal-dot{background:#ffc675;box-shadow:0 0 14px #ff9628}.scene-heading-line{width:90px;background:#d7b79066}.cosmic-hero .hero-copy{top:20%;left:6vw;width:43%;max-width:650px}.cosmic-hero h1{font-size:clamp(42px,4.3vw,70px);font-weight:600;line-height:1.08;letter-spacing:-.045em}.cosmic-hero h1 em{font-size:.78em;color:#ffb573;line-height:1.3;font-weight:400}.cosmic-hero .hero-lead{font-size:16px;color:#bcb8b2;line-height:1.6;margin-top:20px;margin-bottom:30px}.cosmic-hero .hero-actions{flex-direction:row;gap:22px;align-items:center}.cosmic-hero .button{border-radius:32px;border:2px solid #ffefcd;background:linear-gradient(#45200b,#231207);color:#fff6e5;font-weight:600;font-size:15px;min-height:48px;padding:12px 24px;box-shadow:0 0 5px #ffb263,inset 0 0 15px #ff851944,0 0 22px #ff881766}.cosmic-hero .button span{color:#ffc274;margin-right:8px}.cosmic-shortcut{border:1px solid #c3b7a777;border-radius:32px;padding:14px 22px;font-size:12px}.scene-controls button{font:11px 'Segoe UI',sans-serif;padding:10px 18px;border-color:#b9aa9455;background:#06070999}.explorer-actions,.mission-route{display:none}.gravity-note{left:6vw;bottom:5%;font-size:8px;letter-spacing:.25em}.cosmic-vignette{background:linear-gradient(90deg,#03050877,transparent 58%),linear-gradient(0deg,#03050855,transparent 16%)}
@media(max-width:840px){.site-header{height:68px}.site-nav{gap:12px}.scene-heading{top:12%;font-size:6px;letter-spacing:.18em}.cosmic-hero .hero-copy{top:22%;width:86%;left:7vw;max-width:410px}.cosmic-hero h1{font-size:38px}.cosmic-hero h1 em{font-size:.72em}.cosmic-hero .hero-lead{font-size:12px;margin-top:14px;margin-bottom:20px}.cosmic-hero .hero-actions{gap:12px;flex-wrap:wrap}.cosmic-hero .button{font-size:11px;padding:10px 15px;min-height:40px}.cosmic-shortcut{font-size:10px;padding:12px}.scene-controls button{font-size:9px;padding:8px 12px}}

/* The scene plays once in place; the document never pins or captures scrolling. */
.escape-scroll,.journey-reduced-motion .escape-scroll{height:auto}.escape-scroll .hero.cosmic-hero{position:relative;height:calc(100svh - 76px);min-height:620px;background:radial-gradient(ellipse at 76% 32%,#49253724,transparent 48%),#030508}.scene-controls #replay-escape{display:none}.escape-complete .scene-controls #replay-escape{display:block}.escape-complete .scene-heading,.escape-complete .gravity-note,.escape-complete .hero-copy,.escape-complete .greeting-bubble{visibility:hidden}.escape-complete .cosmic-vignette{opacity:0}.journey-reduced-motion .gravity-note{display:none}
@media(max-width:840px){.escape-scroll .hero.cosmic-hero{height:calc(100svh - 68px);min-height:620px}.scene-controls{gap:5px}.scene-controls #replay-escape{font-size:8px;padding:8px}.cosmic-hero .hero-copy{top:20%}.scene-heading{top:11%}}

.scene-controls button:disabled{opacity:.4;cursor:default}.scene-controls button:focus-visible{outline:2px solid #ffbf7b;outline-offset:3px}

.greeting-bubble{max-width:260px;white-space:normal;text-align:center;line-height:1.5;font-size:13px;box-shadow:0 6px 30px #0007}.cosmic-hero[data-phase="greeting"] .gravity-note{visibility:hidden}.world-unavailable .greeting-bubble{display:none}@media(max-width:840px){.greeting-bubble{max-width:190px;font-size:11px;transform:translate(-50%,-105%)}}

@media(max-width:840px){.greeting-bubble{width:130px;max-width:34vw;transform:translate(-50%,-30%)}}
body:not(.world-unavailable) .fallback-hole{visibility:hidden}
