/* home.html: the built 3D theatre hero from pov3d.html, on top of the pov.html story.
   Only the hero's own rules, copied from pov.css (which also styles a different roll call, so it is not loaded here). */
.theatre { --velvet-d: #4a0710; position: relative; height: 405vh; } /* 45 timeline units, same walk pace as before; the stage-shot hold is short */
.theatre__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #000; }
.gl { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s; }
.gl.is-ready { opacity: 1; }

/* scene 1: the next show, on the stage */
.screen { position: absolute; inset: 0; z-index: 2; clip-path: inset(50% 50% 50% 50%); opacity: 0; transition: opacity .6s;
  background:
    radial-gradient(ellipse 60% 55% at 28% 55%, rgba(242,191,82,.16), transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(110,160,255,.12), transparent 70%),
    linear-gradient(180deg, #120709, #070304 60%, #140a06);
}
.is-arrived .screen { opacity: 1; }
.s1 { position: absolute; inset: var(--led-h) 0 0 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: auto 1fr; gap: 0 clamp(24px, 4vw, 64px); padding: clamp(18px, 3vh, 36px) clamp(20px, 5vw, 80px) clamp(20px, 4vh, 44px); }
.s1__studio { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; margin-bottom: clamp(10px, 2.5vh, 28px); }
.s1__studio img { width: 74px; }
.s1__studio p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.4; }
.s1__studio b { color: var(--text); font-weight: 700; }
.s1__poster { margin: 0; align-self: center; justify-self: end; height: min(64vh, 640px); aspect-ratio: 1121 / 1400; border: 6px solid var(--paper); border-radius: 6px; box-shadow: 0 30px 90px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.4), 0 0 120px rgba(242,191,82,.18); transform: rotate(-1.5deg); }
.s1__poster img { width: 100%; height: 100%; object-fit: cover; }
.s1__info { align-self: center; max-width: 620px; }
.s1__presents { margin: 14px 0 4px; font: italic 400 clamp(20px, 2vw, 28px)/1.1 var(--serif); color: var(--paper); }
.s1__presents em { color: var(--gold); }
.s1__title { margin: 0; font: 400 clamp(54px, 7vw, 108px)/1.02 var(--mr); }
.s1__title b { font: 900 1.02em/1 var(--display); color: var(--gold); letter-spacing: .01em; }
.s1__title--nd { font: 900 clamp(48px, 6.2vw, 100px)/.9 var(--display); text-transform: uppercase; }
.s1__title--nd small { display: block; font: italic 400 .42em/1.1 var(--serif); text-transform: none; color: var(--gold); }
.s1__sub { margin: 4px 0 0; font: 800 clamp(18px, 1.8vw, 24px)/1.1 var(--display); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.s1__produced { margin: clamp(14px, 2.4vh, 24px) 0; font: 900 clamp(34px, 3.8vw, 58px)/.95 var(--display); text-transform: uppercase; }
.s1__produced span { display: block; font: italic 400 clamp(18px, 1.6vw, 24px)/1.2 var(--serif); text-transform: none; color: var(--gold); }
.s1__ticket { position: relative; display: grid; grid-template-columns: 1fr auto; border-radius: 10px; overflow: hidden; background: var(--paper); color: #2a1a12; box-shadow: 0 20px 60px rgba(0,0,0,.55); }
.s1__ticket > div { padding: 14px 18px; }
.s1__date { margin: 0; font: 900 clamp(22px, 2.2vw, 30px)/1 var(--display); text-transform: uppercase; }
.s1__venue { margin: 4px 0 10px; font-size: 13px; font-weight: 700; color: #6b4a3a; }
.cd { display: flex; gap: 6px; font: 700 12px/1 var(--sans); color: #6b4a3a; }
.cd span { background: #120a0c; color: var(--muted); border-radius: 4px; padding: 5px 7px; }
.cd b { font: 900 18px/1 var(--display); color: var(--gold); margin-right: 1px; }
.s1__book { display: grid; place-content: center; text-align: center; padding: 12px 22px; background: var(--velvet); color: var(--paper); text-decoration: none; font-size: 12px; border-left: 3px dashed rgba(244,234,214,.6); }
.s1__book b { font: 900 21px/1 var(--display); text-transform: uppercase; }
.s1__book:hover { background: var(--velvet-h); }
.screen__black { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }

/* you, in the audience */
.hud { position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; padding: 120px clamp(20px, 5vw, 80px) clamp(22px, 5vh, 52px); pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.75)); }
.hud__seat { margin: 0; font: 900 clamp(34px, 5vw, 72px)/.9 var(--display); text-transform: uppercase; }
.hud__where { margin: 8px 0 14px; color: var(--paper); font: italic 400 clamp(17px, 1.6vw, 22px)/1.3 var(--serif); }
.hud__cue { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hud__cue span { width: 20px; height: 32px; border: 1.5px solid rgba(246,239,228,.5); border-radius: 12px; position: relative; }
.hud__cue span::after { content: ''; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: hudCue 1.6s infinite; }
@keyframes hudCue { 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
.skip { position: absolute; z-index: 7; right: 16px; top: calc(var(--led-h) + 14px); background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.3); color: var(--text); border-radius: 99px; padding: 7px 14px; font: 700 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.is-arrived .skip { opacity: 0; pointer-events: none; transition: opacity .4s; }

@media (max-width: 760px) {
  .s1 { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; padding: 12px 16px 16px; overflow: hidden; }
  .s1__studio { margin-bottom: 8px; }
  .s1__studio img { width: 46px; }
  .s1__studio p { font-size: 12px; }
  .s1__poster { justify-self: center; height: 26svh; border-width: 4px; }
  .s1__info { align-self: start; margin-top: 10px; min-width: 0; max-width: 100%; }
  .s1__presents { margin-top: 8px; font-size: 18px; }
  .s1__title { font-size: clamp(30px, 10vw, 42px); }
  .s1__title--nd { font-size: clamp(32px, 10vw, 44px); }
  .s1__sub { font-size: 15px; }
  .s1__produced { margin: 10px 0; font-size: clamp(24px, 8vw, 30px); }
  .s1__produced span { font-size: 16px; }
  .s1__ticket { grid-template-columns: minmax(0, 1fr) auto; }
  .s1__ticket > div { padding: 10px 12px; }
  .s1__date { font-size: clamp(15px, 4.6vw, 19px); }
  .s1__venue { font-size: 11px; margin-bottom: 8px; }
  .s1__book { padding: 10px 12px; }
  .s1__book b { font-size: 16px; }
  .cd b { font-size: 15px; }
  .hud { padding-bottom: 72px; }
  .hud__seat { font-size: 40px; }
}
@media (max-height: 640px) and (min-width: 761px) {
  .s1__poster { height: 56vh; }
  .s1__produced { margin: 8px 0; }
}

/* scene 1 as a shot of the stage (home.html): the video fills the stage opening, then the screen */
.s1.s1--shot { inset: 0; display: block; padding: 0; overflow: hidden; }
.s1__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.s1__shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(5,3,4,.55) 0%, rgba(5,3,4,0) 20%, rgba(5,3,4,0) 48%, rgba(5,3,4,.9) 100%); }
.s1__cap { position: absolute; left: clamp(20px, 5vw, 80px); right: clamp(20px, 5vw, 80px); bottom: clamp(24px, 7vh, 72px); max-width: 780px; text-shadow: 0 4px 30px rgba(0,0,0,.9); }
.s1__cap .s1__title--nd { margin-top: 10px; }
.s1__line { margin: 10px 0 18px; color: var(--paper); font: italic 400 clamp(18px, 1.8vw, 26px)/1.25 var(--serif); }
.s1__go { display: inline-block; padding: 13px 22px; border-radius: 99px; background: var(--gold); color: var(--ink); text-decoration: none; text-shadow: none; font: 900 16px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.s1__go:hover { background: var(--paper); }
@media (max-width: 760px) {
  .s1__shot { object-position: 56% 50%; } /* keep the neon sign in frame on a tall screen */
  .s1__cap { bottom: 28px; }
  .s1__line { font-size: 17px; }
}

/* flat fallback when WebGL is missing (some in-app browsers): velvet backdrop instead of the 3D theatre */
.no3d .gl { display: none; }
.no3d .theatre__sticky { background:
  radial-gradient(ellipse 60% 45% at 50% 47%, rgba(255,214,150,.22), transparent 70%),
  repeating-linear-gradient(90deg, #4a0710 0, #8a1021 1.6%, #c11d32 2.6%, #8a1021 3.6%, #4a0710 5.2%); }
.no3d .theatre__sticky::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0) 30%, rgba(0,0,0,.6)); }
.no3d .screen { z-index: 2; }
