/* Only the two explicitly marked hero sections use this artwork. */
.hero.hero-space{position:relative;isolation:isolate;overflow:hidden;background:#020b20;color:#faf5e9}
.hero.hero-space>.wrap{position:relative;z-index:3;padding-right:0}
.websites-hybrid .hero.hero-space>.wrap{padding-right:0}
.hero-space .hero-space-scene{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;user-select:none;background:#020b20 url("space-drift/reference.png") right center/cover no-repeat}
.hero-space.is-space-ready .hero-space-scene{background-image:none}
.hero-space .hero-space-scene::after{content:"";position:absolute;inset:0;z-index:4;background:linear-gradient(90deg,#020b20 0%,#020b20f5 35%,#020b20e5 52%,#020b208f 67%,#020b2022 88%),linear-gradient(0deg,#020b20b0,transparent 30%);pointer-events:none}
.hero-space .space-layer{position:absolute;animation-play-state:paused;pointer-events:none}
.hero-space[data-space-state=running] .space-layer{animation-play-state:running}
.hero-space .space-stars{inset:-8px;z-index:0;opacity:.8;background-image:radial-gradient(1px 1px at 8% 25%,#cbd9efb0 98%,transparent),radial-gradient(1px 1px at 31% 78%,#fff4d89f 98%,transparent),radial-gradient(1px 1px at 69% 38%,#93b5f599 98%,transparent),radial-gradient(1px 1px at 90% 65%,#e4e2ffcc 98%,transparent),radial-gradient(1px 1px at 63% 88%,#a5b7d999 98%,transparent);background-size:239px 167px,307px 211px,401px 267px,487px 313px,181px 247px;animation:aa-space-stars 90s linear infinite paused}
.hero-space .space-planet{z-index:1;width:clamp(650px,65vw,1100px);max-width:none;height:auto;right:-23%;top:-10%;opacity:0;transform-origin:50% 50%;animation:aa-space-planet 90s linear infinite paused;will-change:transform,opacity}
.hero-space .space-moon{--moon-size:clamp(900px,100vw,1600px);z-index:2;width:var(--moon-size);max-width:none;height:auto;right:-42%;bottom:calc(0px - var(--moon-size) + 12%);opacity:0;transform-origin:50% 50%;animation:aa-space-moon 90s linear infinite paused;will-change:transform,opacity}
.hero-space .hero-space-toggle{position:relative;z-index:5;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;margin-top:18px;border:1px solid #b4a67b77;border-radius:30px;background:#05112ad9;color:#ddd5be;font:500 .76rem var(--ui,system-ui);cursor:pointer}
.hero-space .hero-space-toggle:hover{background:#142443;color:#fff0c9;border-color:#d3b46e}.hero-space .hero-space-toggle:focus-visible{outline:3px solid #f3d58b;outline-offset:4px}.hero-space .hero-space-toggle[hidden]{display:none!important}
@keyframes aa-space-stars{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(-5px,3px,0)}}
@keyframes aa-space-planet{0%{opacity:0;transform:translate3d(55%,5%,0) scale(.9)}5%{opacity:.42;transform:translate3d(48%,4%,0) scale(.92)}44.444%{opacity:.9;transform:translate3d(-6%,0,0) scale(1.04)}66%{opacity:.8;transform:translate3d(-14%,-2%,0) scale(1.07)}84%{opacity:.2;transform:translate3d(-20%,-3%,0) scale(1.09)}93%{opacity:0;transform:translate3d(-24%,-4%,0) scale(1.1)}94%,100%{opacity:0;transform:translate3d(55%,5%,0) scale(.9)}}
@keyframes aa-space-moon{0%,32%{opacity:0;transform:translate3d(16%,18%,0)}44.444%{opacity:.65;transform:translate3d(4%,0,0)}61%{opacity:.9;transform:translate3d(-9%,-13%,0)}75%{opacity:.55;transform:translate3d(-20%,-24%,0)}88%{opacity:0;transform:translate3d(-33%,-35%,0)}89%,100%{opacity:0;transform:translate3d(16%,18%,0)}}
@media(max-width:700px){.hero-space .space-planet{width:620px;right:-95%;top:0}.hero-space .space-moon{--moon-size:850px;right:-150%;bottom:calc(0px - var(--moon-size) + 8%)}.hero-space .hero-space-scene::after{background:linear-gradient(90deg,#020b20f5 0%,#020b20db 48%,#020b2088 75%,#020b2055),linear-gradient(0deg,#020b20a0,transparent 35%)}.hero-space .hero-space-toggle{margin-top:16px}}
.hero-space[data-space-state=still] .space-layer{display:none;animation:none}.hero-space[data-space-state=still] .hero-space-scene{background-image:url("space-drift/reference.png")}
@media(prefers-reduced-motion:reduce){.hero-space .space-layer{display:none!important;animation:none!important}.hero-space .hero-space-scene{background-image:url("space-drift/reference.png")!important}.hero-space .hero-space-toggle{display:none!important}}

/* Keep narrow-screen hero text and actions clear of the fixed drawer grip. */
@media(max-width:900px){.hero.hero-space>.wrap{padding-left:56px}}
