/* The entry stays quiet so the shared galaxy fills the screen. */
html.cosmic-galaxy #webgl-canvas { max-width:none!important; max-height:none!important; object-fit:fill; }
.cosmic-entry[hidden] { display:none!important; }
html.cosmic-intro-open,html.cosmic-intro-open body { overflow:hidden; }
.cosmic-intro-open body > header,.cosmic-intro-open body > main,.cosmic-intro-open body > footer,.cosmic-intro-open .scroll-tracker { visibility:hidden; }
.cosmic-intro-open .brand-loader { display:none!important; }
.cosmic-intro-open #webgl-canvas { z-index:100001; background:#030606; }
.cosmic-entry { position:fixed; inset:0; z-index:100002; color:#f1f5f2; display:grid; place-items:center; padding:24px; box-sizing:border-box; isolation:isolate; background:transparent; transition:opacity .65s ease; outline:none; }
.cosmic-entry button { font-family:'Josefin Sans',sans-serif; cursor:pointer; }
.cosmic-entry-core { text-align:center; border:0; transition:opacity .4s ease,transform .8s cubic-bezier(.2,.7,.2,1); }
/* A quiet wordmark button leaves the galaxy unobstructed. */
.cosmic-enter { display:inline-flex; flex-direction:column; gap:3px; align-items:center; justify-content:center; min-height:62px; padding:8px 14px; border:0; background:transparent; color:#dce6e0; border-radius:4px; box-shadow:none; text-shadow:none; transition:transform .3s ease; }
.cosmic-enter-label { font-size:10px; letter-spacing:.22em; font-weight:600; line-height:1; }
.cosmic-enter-name { display:inline-block; font-family:var(--font-heading,'Phonk Contrast','Arial Black',sans-serif); font-size:26px; font-style:normal; font-weight:400; line-height:1; letter-spacing:-.025em; color:#19bd4a; transform:none; transition:color .3s ease; }
.cosmic-enter:hover { background:transparent; transform:translateY(-2px); }
.cosmic-enter:hover .cosmic-enter-name { color:#54dc79; }
@media(max-width:600px) { .cosmic-enter-name { font-size:24px; } .cosmic-enter-label { font-size:9px; } }
.cosmic-enter:active { transform:translateY(0) scale(.97); }
.cosmic-entry button:focus-visible { outline:2px solid #1ec24d; outline-offset:4px; }
.cosmic-entry.is-flying .cosmic-entry-core { opacity:0; transform:scale(1.2); }
.cosmic-entry.is-flying .cosmic-enter { animation-play-state:paused; }
.cosmic-entry.is-flying::after { content:'';position:absolute;inset:0;pointer-events:none;background:#030606;animation:cosmic-blackout 1.45s ease-in forwards; }
@keyframes cosmic-blackout { 0%,65%{opacity:0} 100%{opacity:1} }
.cosmic-entry.is-exiting { opacity:0;pointer-events:none;background:#030606; }
.space-credit-link { display:inline-block; margin-left:8px; font-size:10px; color:#8c9e92; }
@media(prefers-reduced-motion:reduce) { .cosmic-entry,.cosmic-entry * { animation:none!important;transition:none!important; } }
#hero-heading[tabindex="-1"]:focus { outline:none; }

/* Gestures move the entry scene without scrolling the hidden page. */
.cosmic-entry { touch-action:none; user-select:none; -webkit-user-select:none; }
.cosmic-entry.is-flying .cosmic-entry-core { transition:opacity .24s ease,transform .4s ease; transform:scale(1.04); }
.cosmic-entry-particles { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
