/* The showpiece's top, LOCKED (Toby, 2026-11-24): the stage, the heading over the sky, the overlay, the button.
   Shared by lab.html and page.html. The scene and the overlay share one 1600 x 900 frame, so they line up exactly. */
.stage{position:relative; aspect-ratio:16 / 9; overflow:hidden; background:var(--ground); container-type:inline-size}
.stage svg{position:absolute; inset:0; width:100%; height:100%; display:block}
/* the heading: the front page's name type, sized to the picture (cqw = 1% of the stage's width), top left */
.mast{position:absolute; left:4.5%; top:5.5%; text-align:left; pointer-events:none}
.mast h1{margin:0; font:400 7.4cqw/1 var(--display); color:var(--amber); text-shadow:.28cqw .28cqw 0 var(--maroon)}
.mast p{margin:1.3cqw 0 0; font:700 1.45cqw/1 var(--mono); letter-spacing:.22em; text-transform:uppercase; color:var(--cream); text-shadow:2px 2px 0 var(--dusk-shade)}
.mast p span + span{margin-left:1.4em}
/* the word for the part you're in, underlined in the name's amber (2026-11-24) */
.mast p span.on{text-decoration:underline; text-decoration-color:var(--amber); text-decoration-thickness:.22em; text-underline-offset:.42em; text-decoration-skip-ink:none}
#ov{pointer-events:none; opacity:0; transition:opacity .45s, transform .7s cubic-bezier(.2,1,.3,1), filter .7s}
.stage.show #ov{opacity:1}
/* the projector look lays a transparency on: it comes in blurred and a little off, lands, then gets nudged square */
#ov.oh{transform:translate(-5%, 4%) rotate(-3deg); filter:blur(16px)}
.stage.show #ov.oh{transform:rotate(.5deg); filter:blur(0)}
.stage.show.landed #ov.oh{transform:rotate(0deg)}
#ov.bp{filter:drop-shadow(0 0 1.6px rgba(24, 20, 29, .95))}
/* the button: upper right, over the sky */
.stage .swy{position:absolute; right:3%; top:5.5%; z-index:2}
