/* The immersive scene belongs to the landing. Existing sections keep their presentation. */
.universe-hero{height:calc(100svh - 76px);min-height:800px;max-height:1100px;background:#07030e;isolation:isolate;overflow:hidden}
.universe-hero::after{z-index:1;height:160px;background:linear-gradient(transparent,#06070b)}
.universe-view{position:absolute;inset:0;z-index:0;overflow:hidden;cursor:grab;touch-action:pan-y;outline-offset:-6px}
.universe-view[data-dragging=true]{cursor:grabbing}
.universe-view:focus-visible{outline:1px solid #ddc6f5}
.universe-sky,.universe-sky img,.universe-canvas{display:block;position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.universe-sky img{object-fit:cover;object-position:50% 44%;filter:brightness(.65)}
.universe-canvas{opacity:0;transition:opacity .9s ease}
.universe-hero[data-universe-mode=ready] .universe-canvas{opacity:1}
.universe-view::after{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 37%,transparent 25%,#05020b2e 80%),linear-gradient(0deg,#07030e 0%,transparent 39%)}
.universe-hero .lunar-hero-grid{display:block;position:relative;min-height:0;height:100%;max-width:none;padding:0;pointer-events:none}
.universe-hero .lunar-hero-copy{position:absolute;left:0;right:0;bottom:72px;max-width:680px;padding:0 24px;margin:auto;text-align:center;pointer-events:auto;z-index:3}
.universe-hero h1{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0}
.universe-hero .lunar-kicker{font-size:10px;letter-spacing:.22em;color:#d7c6e9;margin:0 0 14px}
.universe-hero .lunar-hero-heading{font-size:clamp(27px,3vw,40px);line-height:1.14;max-width:680px;margin:0 auto 13px;text-wrap:balance}
.universe-hero .lunar-hero-heading br{display:none}
.universe-hero .lunar-hero-copy>p:not(.lunar-hero-heading):not(.lunar-kicker):not(.lunar-location){font-size:14px;line-height:1.7;max-width:580px;margin:0 auto;color:#d0c5dc}
.universe-hero .lunar-hero-actions{justify-content:center;margin-top:21px;gap:12px}
.universe-hero .btn{min-height:46px;font-size:12px}
.universe-hero .btn.primary{background:#f0e9f7;border-color:#f0e9f7;color:#1d102c}
.universe-hero .btn.secondary{background:#10091fc7;border-color:#d8bdf253;color:#eee5f8}
.universe-hero .lunar-location{font-size:10px!important;line-height:1.6!important;margin:15px auto 0!important;max-width:none!important;color:#b2a2c5!important}
.universe-hero .lunar-location br{display:none}
.universe-hero .lunar-scroll-cue{display:none}
.universe-hero .stellar-hero-shell{position:absolute;left:50%;top:32%;width:min(35vw,460px);min-height:0;padding:0;margin:0;transform:translate(-50%,-50%);display:block;pointer-events:none;z-index:2;background:transparent;will-change:transform}
.universe-hero[data-universe-mode=ready] .stellar-hero-shell{left:0;top:0}
.universe-hero .stellar-hero-shell .nova-purpose{display:none}
.universe-hero .stellar-hero-shell .nova-scene{width:100%;height:auto;filter:drop-shadow(0 0 15px #c987ff20)}
.universe-hero .nova-constellation{stroke:#f2e2ff;stroke-width:1.2}
.universe-hero .stellar-facets{opacity:.7}
.universe-hero .nova-sky{opacity:.35}
.universe-labels{position:absolute;inset:0;pointer-events:none;z-index:4}
.universe-star{position:absolute;left:var(--star-x);top:var(--star-y);transform:translate(-50%,-50%);width:188px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;min-height:76px;padding:6px 9px;pointer-events:auto;border:1px solid transparent;border-radius:50%;color:#f4eafa;background:radial-gradient(ellipse,#0c061bb3,transparent 74%);text-decoration:none;will-change:transform;-webkit-tap-highlight-color:transparent}
.universe-hero[data-universe-mode=ready] .universe-star{left:0;top:0}
.universe-hero[data-universe-stars=waiting] .universe-star{pointer-events:none}
.universe-hero[data-universe-stars=returning] .universe-star{animation:universe-return .3s ease-out var(--star-reveal-delay,0ms) both}
.universe-hero[data-universe-stars=returning] .stellar-hero-shell{animation:universe-return .3s ease-out both}
.universe-hero[data-universe-stars=returning] .universe-star:focus-visible{animation:none;opacity:1}
@keyframes universe-return{from{opacity:0}to{opacity:1}}
.universe-star-name{font-family:var(--serif,Georgia,serif);font-size:18px;line-height:1.2;color:#f5eaff;letter-spacing:-.01em;text-shadow:0 2px 16px #05020c}
.universe-star-detail{font-size:10px;line-height:1.5;color:#c7b7d7;letter-spacing:.02em;text-shadow:0 2px 8px #000}
.universe-star-spark{position:relative;display:block;width:30px;height:30px;flex-shrink:0;background:radial-gradient(circle,#fff 0 2px,#e3b9ffb3 3px,#c897ff26 8px,transparent 15px);filter:drop-shadow(0 0 8px #d4abff66);animation:universe-luminosity 9s ease-in-out var(--star-delay,0s) infinite;transition:transform .4s ease,filter .4s ease}
.universe-star-spark::before,.universe-star-spark::after{content:'';position:absolute;left:50%;top:50%;width:28px;height:1px;transform:translate(-50%,-50%) rotate(25deg);background:linear-gradient(90deg,transparent,#eddbff,transparent)}
.universe-star-spark::after{transform:translate(-50%,-50%) rotate(115deg);width:21px}
.universe-star:hover .universe-star-spark,.universe-star:focus-visible .universe-star-spark{transform:scale(1.5);filter:drop-shadow(0 0 12px #e5c7ff)}
.universe-star:hover .universe-star-name,.universe-star:focus-visible .universe-star-name{color:#fff}
.universe-star:focus-visible{outline:1px solid #dbc1f5;outline-offset:4px;background:#180b2cd9;border-radius:8px}
.universe-tools{position:absolute;z-index:5;bottom:18px;left:0;right:0;display:flex;justify-content:center;align-items:center;gap:5px 12px;color:#b6a4c9;font-size:10px;pointer-events:auto}
.universe-help{margin:0 9px 0 0;line-height:1.5}
.universe-tools button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;background:#150b23a3;color:#ddd0eb;border:1px solid #d8bdf225;border-radius:50%;padding:8px;cursor:pointer;font-family:inherit;font-size:17px}
.universe-tools button[data-universe-center]{border-radius:22px;padding-inline:15px;font-size:10px;letter-spacing:.03em}
.universe-tools button:hover,.universe-tools button:focus-visible{background:#301442;border-color:#d8bdf280;color:#fff}
.universe-hero:not([data-universe-mode=ready]) .universe-tools button{display:none}
.universe-hero:not([data-universe-mode=ready]) .universe-help .universe-drag-instruction{display:none}
.universe-portal[hidden]{display:none!important}
.universe-portal{position:absolute;inset:0;z-index:8;pointer-events:none;display:flex;align-items:flex-end;justify-content:center;padding:0 24px 10vh;text-align:center;background:linear-gradient(transparent 30%,#07030eaa)}
.universe-portal p{font-family:var(--serif,Georgia,serif);font-size:clamp(24px,4vw,40px);color:#eee2fa;margin:0 0 14px}
.universe-portal-star{position:absolute;left:0;top:0;width:96px;height:96px;pointer-events:none;background:radial-gradient(circle,#f3e5ff 0 2px,#e5bdffb3 4px,#bd79ef40 14px,#a35ad415 30px,transparent 48px);will-change:transform}
.universe-portal-star::before,.universe-portal-star::after{content:'';position:absolute;left:50%;top:50%;width:72px;height:1px;background:linear-gradient(90deg,transparent,#edd5ff99,transparent);transform:translate(-50%,-50%) rotate(30deg)}
.universe-portal-star::after{width:44px;transform:translate(-50%,-50%) rotate(120deg)}
.universe-portal button{pointer-events:auto;color:#d2c1e4;min-width:100px;min-height:44px;border:1px solid #cdb4e340;background:#12081db3;border-radius:24px;font-family:inherit;cursor:pointer}
.universe-hero[data-universe-flight=true] .universe-view{position:fixed;inset:76px 0 0;z-index:60;cursor:default;transition:opacity .34s ease;opacity:1}
.universe-hero[data-universe-flight=true]{overflow:visible;z-index:60}
.universe-hero[data-universe-flight=true] :is(.lunar-hero-copy,.stellar-hero-shell,.universe-labels,.universe-tools){visibility:hidden}
.universe-hero[data-universe-arriving=true] .universe-view{opacity:0;pointer-events:none}
.universe-hero[data-universe-arriving=true] .universe-portal{opacity:0}
.universe-route-home{margin-right:auto;color:#dec6f4!important;font-size:11px!important;white-space:nowrap}
.universe-route-home::before{content:'✧';font-size:20px;margin-right:5px;color:#d5b4ee}
.universe-hero[data-universe-active=false] .universe-star-spark{animation-play-state:paused}
html[data-motion-reduced=true] .universe-hero .universe-star-spark{animation:none}
html[data-motion-reduced=true] .universe-hero .universe-canvas{transition:none}
html[data-motion-reduced=true] .universe-hero .universe-tools button{display:none}
html[data-motion-reduced=true] .universe-hero .universe-drag-instruction{display:none}
@keyframes universe-luminosity{0%,100%{opacity:.65;transform:scale(.90)}50%{opacity:1;transform:scale(1.07)}}
@media(max-width:1000px){.universe-hero{min-height:820px}.universe-hero .stellar-hero-shell{width:35vw}.universe-star{width:160px}.universe-star-name{font-size:16px}.universe-star-detail{font-size:9px}}
@media(max-width:700px){
 .universe-hero{height:calc(100svh - 70px);min-height:770px;max-height:1050px}
 .universe-hero .lunar-hero-grid{padding:0;display:block}
 .universe-hero .lunar-hero-copy{bottom:92px;padding:0 20px;max-width:560px}
 .universe-hero .lunar-kicker{font-size:8px;letter-spacing:.12em;margin-bottom:13px}
 .universe-hero .lunar-hero-heading{font-size:29px;max-width:360px;line-height:1.12;margin-bottom:12px}
 .universe-hero .lunar-hero-copy>p:not(.lunar-hero-heading):not(.lunar-kicker):not(.lunar-location){font-size:12px;line-height:1.7;max-width:350px}
 .universe-hero .lunar-hero-actions{gap:8px;margin-top:16px;flex-wrap:wrap}
 .universe-hero .btn{font-size:11px;padding:10px 12px;min-height:44px}
 .universe-hero .lunar-location{font-size:9px!important;max-width:300px!important;margin-top:12px!important}
 .universe-hero .stellar-hero-shell{width:clamp(150px,55vw,240px);min-height:0;padding:0;margin:0}
 .universe-star{width:128px;max-width:36vw;min-height:68px;padding:5px 2px;gap:3px}
 .universe-star-name{font-size:14px;line-height:1.2}
 .universe-star-detail{font-size:8px;line-height:1.45;max-width:120px}
 .universe-star-spark{width:25px;height:25px;background-size:100%}
 .universe-tools{bottom:12px;gap:6px;flex-wrap:wrap;padding:0 20px}
 .universe-help{width:100%;text-align:center;font-size:9px;margin:0 0 1px}
 .universe-tools button{min-height:44px;min-width:44px;font-size:15px}
 .universe-tools button[data-universe-center]{font-size:9px}
 .universe-route-home{grid-column:1/-1;margin:0;min-height:44px}
 .universe-hero[data-universe-flight=true] .universe-view{top:70px}
}
@media(max-width:360px){.universe-hero{min-height:830px}.universe-hero .lunar-hero-heading{font-size:26px}.universe-star-name{font-size:12px}.universe-star-detail{font-size:8px}.universe-hero .btn{font-size:10px;padding-inline:10px}.universe-hero .lunar-hero-copy{padding-inline:14px}}
@media(prefers-reduced-motion:reduce){.universe-hero *{animation:none!important;transition:none!important}.universe-hero .universe-tools button,.universe-hero .universe-drag-instruction{display:none}}
@media print{.universe-hero{height:auto;min-height:0;max-height:none;background:#fff}.universe-view,.universe-labels,.universe-tools,.universe-hero .stellar-hero-shell{display:none}.universe-hero .lunar-hero-grid{height:auto}.universe-hero .lunar-hero-copy{position:relative;padding:24px;color:#111}.universe-hero h1{position:static;width:auto;height:auto;clip-path:none;color:#111}.universe-hero .lunar-hero-copy p{color:#222!important}}
