@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(font-1.939fea723dad.ttf) format('truetype');
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(font-2.48056ef351e4.ttf) format('truetype');
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(font-3.edca7f209824.ttf) format('truetype');
}


:root{--bg:#05060a;--ink:#e8e8ee;--y:#ffd400;--card:rgba(10,11,16,.78);color-scheme:dark;box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
*{box-sizing:border-box;margin:0}
html{scrollbar-width:none;scroll-padding-top:env(safe-area-inset-top,0px)}html::-webkit-scrollbar{display:none}
body{background:var(--bg);color:var(--ink);font-family:Oswald,'Segoe UI',sans-serif;font-weight:300;overflow-x:hidden}
.stage{contain:strict;position:fixed;inset:0;perspective:1000px;overflow:hidden;background:radial-gradient(ellipse at 50% 120%,#1a1d2b,#05060a 65%)}
#city{position:absolute;inset:0;transform-style:preserve-3d}
.lay{position:absolute;left:-10%;right:-10%;bottom:0;height:60%;display:flex;align-items:flex-end;gap:2px;transform-style:preserve-3d}
.lay b{flex:1;background-color:#0a0c14;background-image:radial-gradient(#ffd40066 1px,transparent 1.6px);background-size:11px 15px;border-top:1px solid #222638}
canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
#sig{position:absolute;top:6%;right:7%;width:110px;height:110px;border-radius:50%;background:radial-gradient(circle,#fff6b0,var(--y) 55%,#b88a00);box-shadow:0 0 80px 20px #ffd40088;display:grid;place-items:center;transition:none}
#sig svg{width:80%;fill:#000}
#beam{position:absolute;top:0;right:0;width:1100px;height:900px;transform-origin:100% 0;background:linear-gradient(to left,#ffd40033,transparent 70%);clip-path:polygon(100% 0,0 35%,0 65%)}
.scene{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2.2vh;padding:5vh 5vw;text-align:center;perspective:900px;pointer-events:none;will-change:transform,opacity}
h1,h2{font-family:'Bebas Neue',Impact,sans-serif;font-weight:400;letter-spacing:.04em;line-height:.92}
h1{font-size:clamp(4.6rem,21vw,15rem);color:var(--y);text-shadow:0 0 40px #ffd400aa,0 0 110px #ffd40055;line-height:.85}
h2{font-size:clamp(2.6rem,8vw,6rem);color:var(--y)}
.p{font-size:clamp(1rem,2.2vw,1.5rem);max-width:860px;line-height:1.5}
.sub{font-size:clamp(1.2rem,3vw,2rem);letter-spacing:.3em;text-transform:uppercase}
.w{display:inline-block;will-change:transform}.w i{display:inline-block;font-style:normal}
.c{background:var(--card);border:1px solid #ffd40055;border-radius:6px;padding:1.2rem 1.4rem;box-shadow:0 0 30px #000,inset 0 0 30px #ffd4000d;will-change:transform}
.c h3{font-family:'Bebas Neue',Impact,sans-serif;font-weight:400;font-size:1.9rem;color:var(--y);letter-spacing:.06em}
.c p{font-size:1rem;opacity:.85}.c small{color:var(--y);letter-spacing:.2em;text-transform:uppercase;font-size:.7rem}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;width:min(760px,100%)}
.row{display:flex;gap:14px;flex-wrap:wrap;justify-content:center;width:min(1000px,100%)}
.row .c{flex:1 1 200px}
.n{font-family:'Bebas Neue',Impact,sans-serif;font-size:4rem;color:var(--y);line-height:1}
.ring{position:relative;width:0;height:300px;transform-style:preserve-3d;margin-top:3vh}
.slot{position:absolute;left:-110px;top:0;width:220px;transform-style:preserve-3d}
.slot .c{backface-visibility:visible}
.step{font-family:'Bebas Neue',Impact,sans-serif;font-size:3.4rem;color:#ffd40055;line-height:1}
.cta{font-family:'Bebas Neue',Impact,sans-serif;font-size:2rem;letter-spacing:.1em;color:#000;background:var(--y);padding:.6rem 1.8rem;border-radius:4px;box-shadow:0 0 50px #ffd400aa}
#bat{position:absolute;left:0;top:0;width:150px;margin:-45px 0 0 -75px;filter:drop-shadow(0 0 14px #000) drop-shadow(0 0 6px #ffd40088);will-change:transform}
#bat svg{width:100%;fill:#000;stroke:var(--y);stroke-width:1.2;animation:fl .4s ease-in-out infinite alternate;transform-origin:50% 40%}
@keyframes fl{to{transform:scaleY(.62)}}
#flash{position:absolute;inset:0;background:#fff;opacity:0;pointer-events:none}
#hud{position:fixed;left:0;right:0;bottom:calc(14px + env(safe-area-inset-bottom,0px));display:flex;justify-content:space-between;align-items:center;padding:0 20px;font-size:.75rem;letter-spacing:.25em;text-transform:uppercase;color:var(--y);z-index:5}
#dots{display:flex;gap:8px}#dots i{width:8px;height:8px;border-radius:50%;background:#ffd40044}#dots i.on{background:var(--y);box-shadow:0 0 10px var(--y)}
#hint{position:fixed;top:calc(12px + env(safe-area-inset-top,0px));left:20px;font-size:.7rem;letter-spacing:.3em;color:#ffffff88;z-index:5}
@media(prefers-reduced-motion:reduce){#bat svg{animation:none}}
@media(max-width:600px){.grid{grid-template-columns:1fr}#bat{width:100px;margin:-30px 0 0 -50px}#sig{width:70px;height:70px}}

/* Refinements retain the original Gotham motion and typography. */
html{scroll-behavior:auto}
body{min-width:280px}
::selection{background:var(--y);color:#05060a}
button{font:inherit;cursor:pointer;touch-action:manipulation}
button:focus-visible{outline:2px solid #fff;outline-offset:6px}
.stage::before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,6,10,.2),rgba(5,6,10,.5)),url('gotham.a3f1ad137852.png') center/cover no-repeat;pointer-events:none}
#city{opacity:.23;pointer-events:none}
#beam,#bat{pointer-events:none}
#sig{border:1px solid #ffe986;padding:0;color:#05060a;z-index:4;box-shadow:0 8px 70px #ffd40055;transition:box-shadow .3s ease}
#sig:hover{box-shadow:0 8px 85px #ffd40099}
#sig::after{content:'PLAY MUSIC';position:absolute;top:calc(100% + 13px);white-space:nowrap;font:500 .75rem Oswald,sans-serif;letter-spacing:.14em;color:#ffe986}
#sig[aria-pressed=true]::after{content:'PAUSE MUSIC'}
#sig[data-loading=true]::after{content:'LOADING…'}
#sig[aria-pressed=true]{box-shadow:0 8px 80px #ffd40099}
.sound-bars{position:absolute;bottom:14px;display:flex;gap:3px;align-items:center;height:12px;opacity:0}
.sound-bars i{width:2px;height:5px;background:#05060a;transform-origin:center}
#sig[aria-pressed=true] .sound-bars{opacity:1}
#sig[aria-pressed=true] .sound-bars i{animation:equalize .85s ease-in-out infinite alternate}
.sound-bars i:nth-child(2){animation-delay:-.4s!important}.sound-bars i:nth-child(3){animation-delay:-.2s!important}
@keyframes equalize{to{transform:scaleY(2.5)}}
h1{text-shadow:0 6px 45px #ffd40045;font-size:clamp(4rem,17vw,12rem);max-width:1050px;text-wrap:balance}
h2{text-wrap:balance}
.p{max-width:65ch;text-shadow:0 2px 16px #000}
.sub{letter-spacing:.2em}
.scene{z-index:2;padding:110px max(24px,5vw) 100px;gap:clamp(14px,2.5vh,26px)}
#bat{z-index:1}
.scene:not(:first-child) h2{font-size:clamp(2.3rem,7vw,5rem)}
.c{background:rgba(8,11,17,.9);box-shadow:0 12px 32px #0005;border-color:#ffd40040;padding:1.2rem 1.4rem}
.c small{font-size:.875rem;letter-spacing:.12em}.c p{opacity:1;color:#d4d7df}
.cta{color:#05060a;background:var(--y);box-shadow:0 8px 35px #ffd40030}
#hint{font-size:.875rem;color:#ccd0dc;letter-spacing:.18em;top:24px;left:24px}
#hud{padding:0 24px;gap:16px;font-size:.875rem;letter-spacing:.1em;bottom:calc(20px + env(safe-area-inset-bottom,0px))}
#hud::before{content:'';position:absolute;z-index:-1;inset:-24px 0 -24px;background:linear-gradient(transparent,#05060af2)}
#dots{gap:2px}#dots button{display:grid;place-items:center;background:none;border:0;width:28px;height:44px;padding:0}
#dots button::after{content:'';width:6px;height:6px;border-radius:50%;background:#ffd40055;transition:background .2s,transform .2s}
#dots button.on::after{background:var(--y);transform:scale(1.5)}
.nav-actions{display:flex;gap:8px}.nav-actions button,.team-nav button{background:#0b1019d9;color:var(--y);border:1px solid #ffd40055;border-radius:4px;min-height:44px;padding:8px 14px;font-size:.875rem;letter-spacing:.08em}
.nav-actions button:hover,.team-nav button:hover{background:#ffd400;color:#05060a}.nav-actions button:disabled{opacity:.35;cursor:default}
.team-nav{display:flex;gap:14px;align-items:center;pointer-events:auto;font-size:.875rem;letter-spacing:.08em}
.ring{height:190px;margin-top:24px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#audio-status{position:fixed;right:24px;top:210px;max-width:240px;z-index:6;color:#ffe986;background:#090c13e8;padding:10px 14px;border-radius:4px;font-size:.875rem}
#audio-status:empty{display:none}
@media(max-width:700px){
 #hint{font-size:.75rem;max-width:160px;line-height:1.6;left:18px;top:22px}
 #sig{top:20px;right:22px;width:64px;height:64px}#sig::after{font-size:.65rem;top:calc(100% + 8px)}.sound-bars{bottom:7px}
 .scene{padding:115px 22px 125px;gap:16px}h1{font-size:clamp(4rem,19vw,8rem)}
 .sub{font-size:clamp(1rem,4vw,1.4rem);letter-spacing:.15em}.p{font-size:1rem;line-height:1.5}
 .row{gap:8px}.row .c{flex:1 1 140px}.c{padding:12px}.c h3{font-size:1.5rem}.c small{font-size:.75rem}.c p{font-size:.9375rem}
 .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.step{font-size:2rem}
 #hud{flex-wrap:wrap;justify-content:center;gap:2px 14px;padding:0 16px;bottom:calc(12px + env(safe-area-inset-bottom,0px))}
 #cue{width:100%;text-align:center;font-size:.75rem}.nav-actions button{padding:8px 10px}#dots button{width:22px}
 .ring{height:155px;margin-top:10px}.slot{width:190px;left:-95px}.slot .c{padding:18px 12px}
 #audio-status{right:16px;top:120px;max-width:230px}
}
@media(max-height:650px) and (min-width:701px){.scene{padding:65px 8vw 85px;gap:12px}h1{font-size:clamp(4rem,13vw,8rem)}.scene:not(:first-child) h2{font-size:3rem}.ring{height:130px}.c{padding:12px}.c h3{font-size:1.5rem}#sig{width:72px;height:72px}}
@media(max-height:500px){.scene{padding-top:50px;padding-bottom:70px;gap:8px}.p{font-size:.875rem}.row .c{flex:1 1 120px}.c{padding:8px}.c p{font-size:.875rem}.scene:not(:first-child) h2{font-size:2rem}.ring{height:90px;margin:0}#sig{width:48px;height:48px;right:14px;top:14px}#hint{top:12px}#hud{bottom:4px}#cue{width:auto}.sub{font-size:1rem}h1{font-size:4.5rem}.team-nav button{padding:3px 10px;min-height:36px}}
@media(prefers-reduced-motion:reduce){#bat,#beam,canvas{display:none}*,*::before,*::after{animation:none!important;transition:none!important}.stage{perspective:none}.scene{perspective:none}}

/* One cinematic opening; the existing layout and image remain intact. */
#launch-shade{position:absolute;inset:0;z-index:1;background:#020408;opacity:0;pointer-events:none;transition:opacity 2.6s cubic-bezier(.16,1,.3,1)}
#launch-sweep{position:absolute;z-index:3;right:calc(7% + 55px);top:calc(6% + 55px);width:150vw;height:170vh;transform-origin:100% 0;clip-path:polygon(100% 0,0 38%,0 88%);background:linear-gradient(140deg,transparent 10%,#ffe6a745 55%,#fff2b080);mix-blend-mode:screen;opacity:0;pointer-events:none;will-change:transform,opacity}
.launch-ready #launch-shade{opacity:.68}
.launch-ready #beam{opacity:0!important}
.launching #beam{opacity:.12!important}
.launch-ready #bat,.launching #bat{opacity:0}
#bat{transition:opacity .6s ease}
.launch-ready .scene:first-child h1{opacity:.08;filter:blur(3px)}
.launch-ready .scene:first-child .sub,.launch-ready .scene:first-child .p{opacity:0}
.launch-ready #sig::after{content:'LIGHT THE SIGNAL'}
.launching #sig::after{content:'SIGNAL ACTIVATED'}
.launch-ready #sig{box-shadow:0 8px 90px #ffd40080}
.launching .scene:first-child h1{animation:signal-title 2s cubic-bezier(.16,1,.3,1) .45s both}
.launching .scene:first-child .sub{animation:signal-copy .9s cubic-bezier(.16,1,.3,1) 1.6s both}
.launching .scene:first-child .p{animation:signal-copy .9s cubic-bezier(.16,1,.3,1) 2s both}
.launching #sig{animation:signal-ignite 1s ease-out both}
@keyframes signal-title{0%{opacity:.08;clip-path:inset(0 100% 0 0);filter:blur(8px)}60%{opacity:1}100%{opacity:1;clip-path:inset(0 0 0 0);filter:blur(0)}}
@keyframes signal-copy{from{opacity:0;filter:blur(4px)}to{opacity:1;filter:blur(0)}}
@keyframes signal-ignite{from{box-shadow:0 8px 120px #ffeaa6cc}to{box-shadow:0 8px 70px #ffd40055}}
@media(min-width:1100px){#cue{min-width:265px}.nav-actions button{min-width:88px}}
@media(max-width:700px){#launch-sweep{right:54px;top:52px}.launch-ready #sig::after{font-size:.6rem}#cue{letter-spacing:.06em}}
@media(prefers-reduced-motion:reduce){
 #launch-sweep{display:none}#launch-shade{transition:opacity .2s ease!important}
 .launching .scene:first-child h1,.launching .scene:first-child .sub,.launching .scene:first-child .p{opacity:1;filter:none;clip-path:none}
 .launch-ready .scene:first-child h1{filter:none;opacity:.2}
}

/* Distance readability: retain the display scale, imagery, and existing composition. */
.stage{overflow:clip}
.p{color:#fff;text-shadow:0 2px 4px #000,0 0 16px #000}
.c p{color:#f5f5fa}
@media(min-width:701px) and (min-height:501px){
 .p{font-size:clamp(1.5rem,2vw,1.875rem);font-weight:500;line-height:1.45}
 .sub{font-weight:500;text-shadow:0 2px 6px #000}
 .c p{font-size:clamp(1.125rem,1.35vw,1.25rem);font-weight:500;line-height:1.45}
 .c small{font-size:.9375rem;letter-spacing:.08em;font-weight:500}
 .c h3{font-size:2rem;letter-spacing:.04em;line-height:1.1}
 .slot .c small{font-size:.875rem;letter-spacing:.04em}
}
/* Scroll past the close: no labels, scenery, or controls remain on screen. */
.stage,#hud,#hint,#audio-status{opacity:calc(1 - var(--vanish,0))}
body[data-vanished=true] .stage,body[data-vanished=true] #hud,body[data-vanished=true] #hint,body[data-vanished=true] #audio-status{visibility:hidden;pointer-events:none}
