/* The lobby and all department routes share the same top-level navigation. */
html:has(#home),body:has(#home){overflow-x:clip}
body:has(#home) .header.global-header{
 position:sticky;top:0;z-index:75;display:grid;grid-template-columns:1fr auto 1fr;gap:12px;
 width:100%;box-sizing:border-box;padding:0 clamp(18px,3.8vw,66px);height:68px;min-height:68px;
 background:#100f15f2;color:#faf9fb;border-bottom:1px solid #ffffff10;backdrop-filter:blur(14px)
}
body:has(#home) .global-header .brand{color:#fff;justify-self:start}
body:has(#home) .global-header .global-nav{background:#222127;border:1px solid #ffffff12;padding:4px;border-radius:40px;color:#dddbe2;gap:2px}
body:has(#home) .global-header .nav-current,body.workspace-mode .global-header .space-menu>summary{background:#faf9f9;color:#17161a}
.global-header .global-nav>a:hover,.global-header .space-menu>summary:hover{background:#47434c;color:#fff}
.global-header .space-menu-panel,.global-header .music-panel{background:#242229;color:#fafafa;border:1px solid #48434a;box-shadow:0 14px 32px #0005}
.global-header .space-menu-panel a,.global-header .space-menu-panel small,.global-header .music-panel small,.global-header .music-panel p{color:#dedbe2}
.global-header .space-menu-panel a:hover,.global-header .space-menu-panel a:focus-visible{background:#38353c}
.global-header .header-cta{background:#f8f7f8;color:#171519}
body:has(#home) .global-header :is(#musicToggle,.motion,#musicOptions>summary){color:#d7d4db}
body:has(#home):not(.workspace-mode),body:has(#home):not(.workspace-mode) #home{background:#100f15;color:#f5f3f4}
#lobbyAura{display:none}
body:has(#home):not(.workspace-mode) .intro{padding:clamp(36px,6vh,84px) 16px 20px}
body:has(#home):not(.workspace-mode) .intro .eyebrow{display:inline-flex;color:#d5c9c8;border:1px solid #574349;border-radius:20px;padding:6px 14px;margin-bottom:20px;font-size:10px}
body:has(#home):not(.workspace-mode) .intro h1{color:#fff;font-weight:520;font-size:clamp(42px,5.5vw,80px);letter-spacing:-.065em}
body:has(#home):not(.workspace-mode) .intro h1 span{margin-top:5px;color:#aaa4ae;font-size:.78em;font-weight:400}
body:has(#home):not(.workspace-mode) .intro p{color:#c2bcc5;margin-top:16px}
#home .hero-actions a{background:transparent;color:#d8d3dc;box-shadow:none}
#home .hero-actions .hero-primary{background:#f7f5f3;color:#141317}
#home .hero-actions a:hover{box-shadow:inset 0 0 0 1px #ada5b0}
#home #gallery{--tile:clamp(186px,20vw,322px);--step:calc(var(--tile)*.66);position:relative;scroll-margin-top:80px}
body:has(#home):not(.workspace-mode) #stage{height:calc(var(--tile)*1.43 + 50px);isolation:isolate;background:radial-gradient(ellipse at 50% 83%,#54367354,transparent 62%);perspective:1300px}
#stage::before{content:'';position:absolute;left:14%;right:14%;bottom:2%;height:18%;border:1px solid #ab8ccc38;border-radius:50%;pointer-events:none}
#gallery .slide.neon-card{height:calc(var(--tile)*1.43);width:var(--tile);border:1px solid #d6bafe51;border-radius:11px;color:white;background:#211b29;box-shadow:0 10px 40px #0006;
 transform:translate(-50%,-50%) translateX(calc(var(--slot)*var(--step))) perspective(1000px) rotateY(calc(var(--slot)*-16deg)) scale(calc(1 - var(--distance)*.12));filter:brightness(calc(1 - var(--distance)*.12))}
#gallery .slide[data-department=json]{--tint:#eac78d;--angle:-28deg}
#gallery .slide[data-department=omni]{--tint:#72c6f1;--angle:37deg}
#gallery .slide[data-department=cash]{--tint:#a5aabf;--angle:-61deg}
#gallery .slide[data-department=skyline]{--tint:#bd90ff;--angle:21deg}
#gallery .slide[data-department=lead]{--tint:#73c5b2;--angle:-14deg}
#gallery .neon-art{inset:0;overflow:hidden;background:radial-gradient(ellipse at 70% 38%,color-mix(in srgb,var(--tint) 37%,#110e23),transparent 58%),linear-gradient(148deg,#282036,#15121f 60%,#25202c);filter:none}
#gallery .neon-art::before{content:'';position:absolute;inset:16% -12% 32% 13%;border-radius:50%;transform:rotate(var(--angle)) scaleY(.68);opacity:1;background:repeating-radial-gradient(ellipse at 50% 50%,transparent 0 6%,color-mix(in srgb,var(--tint) 65%,transparent) 6.5%,transparent 7.3%),conic-gradient(from 210deg,transparent,var(--tint),#30223b 24%,transparent 43%,var(--tint) 64%,#261e32 78%,transparent);mask-image:radial-gradient(ellipse,#0000 25%,#000 26% 68%,transparent 71%)}
#gallery .neon-art::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#100d19 0%,transparent 55%);pointer-events:none}
#gallery .neon-stage{display:flex;align-items:flex-end;padding:0 6% 27%;justify-content:flex-start;z-index:1}
#gallery .neon-word{opacity:1;color:#fff;letter-spacing:-.065em;text-shadow:0 2px 12px #0005;animation:none;font-size:21cqw}
#gallery .slide[data-department=lead] .neon-word,#gallery .slide[data-department=skyline] .neon-word{font-size:13.5cqw}
#gallery .neon-floor,#gallery .neon-word:before,#gallery .neon-word:after{display:none}
body:not(.mode-off) #gallery .slide.neon-card:not(.active):hover{z-index:var(--layer)!important;filter:brightness(1)}
#gallery .neon-meta,#gallery .neon-brand,#gallery .neon-copy,#gallery .neon-copy small{color:white;text-shadow:0 1px 5px #0009}
#gallery .neon-copy strong{font-size:15px}#gallery .neon-copy small{font-size:10px}
#gallery .slide.neon-card:hover{--hover-scale:1.035;--lift:-3px}
#gallery .slide.neon-card:hover .neon-word{transform:none}
body:has(#home):not(.workspace-mode) #home :is(.counter b,.active-caption strong,.section-top h2,.space-row h3,.space-row .letter,.tab[aria-selected=true],.tab[aria-selected=true] i){color:#f8f5f4}
body:has(#home):not(.workspace-mode) #home :is(.active-caption>div>span,.mini-note,.space-row p,.space-row small,.gallery-hint,.tab small,.eyebrow){color:#b7b2be}
#home .tabs,#home .space-list .space-row{border-color:#ffffff22}
body:has(#home):not(.workspace-mode) #home .space-row:hover{background:#252129}
#home #spaces{scroll-margin-top:70px}
body:has(#home):not(.workspace-mode) #home .closing{background:linear-gradient(115deg,#36252a,#201d25 70%);color:white}
#home .closing .back-top{color:white}
body:has(#home):not(.workspace-mode)>footer{background:#141318;color:#b5b0b9;border-color:#343138}
body:has(#home):not(.workspace-mode)>footer .brand{color:white}
#brandIntro{display:none}
@keyframes lobby-entry{from{opacity:0;translate:0 14px}to{opacity:1;translate:0 0}}
@media(prefers-reduced-motion:no-preference){
 body:not(.mode-off) #home .intro>*,body:not(.mode-off) #home #stage{animation:lobby-entry .54s both}
 body:not(.mode-off) #home .intro>p{animation-delay:.07s}
 body:not(.mode-off) #home .hero-actions{animation-delay:.13s}
 body:not(.mode-off) #home #stage{animation-delay:.17s}
 body:not(.mode-off) .scroll-arrival{transition:opacity .45s,translate .45s}
 body:not(.mode-off) .scroll-arrival:not(.arrived):not(:focus-within){opacity:0;translate:0 12px}
}
@media(max-width:720px){
 body:has(#home) .header.global-header{grid-template-columns:1fr auto;height:auto;min-height:88px;padding:8px 14px;gap:5px}
 body:has(#home) .global-header .global-nav{grid-column:1/-1;grid-row:2;justify-self:center;padding:1px;margin:0;gap:0}
 body:has(#home) .global-header .header-controls{grid-row:1;grid-column:2}
 body:has(#home) .global-header .global-nav>a,.global-header .space-menu>summary{padding:5px 10px}
 #home #gallery{--tile:min(53vw,245px)}
 #home #gallery,#home #spaces{scroll-margin-top:105px}
}
#home .memory-entry{background:#211f26;border-color:#3a363f;color:#f6f2f5}
#home .memory-entry:hover{background:#2c2931}
#home .memory-entry small{color:#b5aeb9}
#home .memory-open{background:#39353e;color:#fff}
body:has(#home):not(.workspace-mode) .global-header .global-nav,body.workspace-mode .global-header .global-nav{color:#e4e0e6;gap:3px}
body:has(#home) .global-header .global-nav a:hover{color:white;background:#434048}
body:has(#home) .global-header a.nav-current:hover{background:#fff;color:#151417}
@media(hover:hover){.workspace-mode .department-switch a:hover,.workspace-mode .department-switch a:focus-visible{background:#27242c;color:#fff;box-shadow:0 2px 8px #20192020}}
