:root {
  --ink: #f3eee7;
  --tolex: #14110f;
  --plaster: #9e6c47;
  --valve: #e8892b;
  --red: #e31e24;
  --hall: #a9508e;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --anton: "Anton", "Impact", "Arial Narrow", sans-serif;
  --mono: "Space Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: #0c0a09; color: var(--ink); }
html.locked, html.locked body { overflow: hidden; height: 100%; }
/* the walk moves room by room under main.js: no scrollbar to drag, no rubber band */
html { scrollbar-width: none; overscroll-behavior: none; }
html::-webkit-scrollbar { display: none; }
body { font-family: var(--mono); -webkit-font-smoothing: antialiased; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; }

/* ================= the stage ================= */
#walk { position: relative; height: 1080vh; }
#stage { position: sticky; top: 0; width: 100%; height: 100vh; overflow: hidden; container-type: size; background: #0c0a09;
  /* photobox: the shush photo, 1400 x 2100 */
  --pbh: 112cqh; --pbw: calc(var(--pbh) * .6667); --pbt: -6cqh; --pbl: calc(60cqw - var(--pbw) * .51);
}
@media (max-aspect-ratio: 3/4) {
  #stage { --pbh: 100cqh; --pbt: 0cqh; --pbl: calc(100cqw - var(--pbw) + 1cqw); }
}
.layer { position: absolute; inset: 0; }
/* every room after the first waits hidden: the scene in main.js shows and moves them from the scroll position */
#hall, #radio, #hands, #boardroom, #lw, #silence { visibility: hidden; }
#room, #roomfx, #kizz { will-change: transform; }

/* ---------- the hall (behind everything) ---------- */
#hall { z-index: 1; background: #0b0710; }
.hallbox { position: absolute; left: 50%; top: 50%; aspect-ratio: 1919 / 798; width: max(100cqw, 240.5cqh); transform: translate(var(--hx, -50%), -50%); }
@media (max-aspect-ratio: 3/4) { .hallbox { --hx: -50%; } }
.hallbox > img { position: absolute; inset: 0; width: 100%; height: 100%; }
#hallwash { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 50% 30%, #c05bd6, transparent 70%); mix-blend-mode: screen; opacity: 0; }
#hallshade { position: absolute; inset: 0; background: #07040a; opacity: .15; transition: opacity .5s; }
/* the stage's centre screen, drawn in code over the old event sign */
#led { position: absolute; left: 45.6%; top: 42.4%; width: 9.6%; height: 21.2%; background: #050304; box-shadow: 0 0 2.2em .4em rgba(227,30,36,.35); }
#lasers { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; }
.pyro { position: absolute; bottom: 36%; width: 3.4%; height: 26%; transform-origin: 50% 100%; transform: scaleY(0); background: radial-gradient(ellipse 50% 60% at 50% 100%, #fff3c4 0, #ffb13b 22%, #ff4a12 48%, rgba(227,30,36,0) 75%); mix-blend-mode: screen; filter: blur(2px); }
.pyro.l { left: 31.5%; } .pyro.r { left: 65%; }

.hall-type { position: absolute; inset: 0; pointer-events: none; }
#seven { position: absolute; left: 0; right: 0; top: 4cqh; text-align: center; font-family: var(--anton); font-size: 31cqh; line-height: .9; color: #fff; letter-spacing: -.005em; text-shadow: 0 0 .25em rgba(200,90,214,.55); }
#seven-cap { position: absolute; left: 50%; transform: translateX(-50%) rotate(-1.2deg); width: max-content; max-width: 92cqw; top: 32.5cqh; padding: 8px 14px; background: #0c0a09; box-shadow: 0 6px 18px rgba(0,0,0,.5); text-align: center; line-height: 1.7; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px #000, 0 0 2px #000; }
@media (max-aspect-ratio: 3/4) {
  #seven { font-size: 40cqw; top: 9cqh; }
  #seven-cap { top: 25cqh; font-size: 10px; line-height: 1.6; padding: 6px 10px; }
}

/* ---------- the room ---------- */
#room { z-index: 2; }
.room-copy { position: absolute; inset: 0; }
.ext { position: absolute; inset: 0; background: #4a3020 url("../../../moodboard/img/crop-plaster-wall.jpg") center / cover; filter: brightness(.72) saturate(.95) contrast(1.05); }
.ext::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 50%; background: inherit; background-size: cover; transform: scaleX(-1); }
.ext::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 75% 80% at 58% 45%, transparent 30%, rgba(26,14,6,.72) 100%); }
.pbox { position: absolute; left: var(--pbl); top: var(--pbt); width: var(--pbw); height: var(--pbh); }
.pbox > img.photo { width: 100%; height: 100%; filter: contrast(1.08) saturate(1.1) sepia(.06);
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 3.5%, #000 90%, transparent 100%); mask: linear-gradient(90deg, transparent 0, #000 3.5%, #000 90%, transparent 100%); }
@media (max-aspect-ratio: 3/4) { .pbox > img.photo { -webkit-mask: none; mask: none; } }
/* the shards carry the wall without him: he steps out of it as it falls */
body.fallen .shard .pbox > img.photo { -webkit-mask: url("../img/hole.png") 0 0 / 100% 100% no-repeat, linear-gradient(90deg, transparent 0, #000 3.5%, #000 90%, transparent 100%); -webkit-mask-composite: source-in; mask: url("../img/hole.png") 0 0 / 100% 100% no-repeat, linear-gradient(90deg, transparent 0, #000 3.5%, #000 90%, transparent 100%); mask-composite: intersect; }
@media (max-aspect-ratio: 3/4) { body.fallen .shard .pbox > img.photo { -webkit-mask: url("../img/hole.png") 0 0 / 100% 100% no-repeat; mask: url("../img/hole.png") 0 0 / 100% 100% no-repeat; } }

/* the name runs across the plaster, behind him */
.mark { position: absolute; left: 3cqw; right: 3cqw; top: 2.5cqh; font-family: var(--anton); font-weight: 400; text-transform: uppercase; color: #fff; line-height: .86; white-space: nowrap; font-size: var(--markfs, 19cqw); letter-spacing: -.005em; text-shadow: 0 .02em .12em rgba(40,20,8,.35); transform: translateY(var(--mky, 0px)); }
.mark span { display: inline-block; }
.facts { position: absolute; left: 3.4cqw; top: 38cqh; font-size: 14px; line-height: 1.75; letter-spacing: .2em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.85); }
.facts b { font-weight: 700; color: var(--valve); text-shadow: 0 1px 2px #000, 0 0 12px rgba(0,0,0,.9); }
@media (max-aspect-ratio: 3/4) {
  .mark { top: 4cqh; left: auto; right: 4cqw; font-size: var(--markfs, 33cqw); line-height: .84; white-space: normal; text-align: right; }
  .mark span { display: table; margin-left: auto; }
  .facts { left: auto; right: 4cqw; top: 36cqh; max-width: 38cqw; white-space: normal; text-align: right; font-size: 10.5px; letter-spacing: .14em; line-height: 1.8; }
}

#shards { position: absolute; inset: 0; visibility: hidden; }
.shard { position: absolute; inset: 0; will-change: transform; }

#cracks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
#cracks path { stroke-linejoin: miter; stroke-linecap: butt; }
#cracks .shadow { fill: #1a0d05; opacity: .6; filter: blur(3px); transform: translate(2px, 2.5px); }
#cracks .lip { fill: none; stroke: #e3c49c; stroke-width: 1; opacity: .5; }
#cracks .chipP { fill: #d8b88f; opacity: .85; }
#cracks .chipD { fill: #2b1709; opacity: .9; }
#cracks .fissure { fill: #0b0503; }
#cracks g.leak path { fill: none; stroke-width: 1.6; stroke-dasharray: 38 22 11 31 17 46; }
#cracks g.leakg path { fill: none; stroke-width: 4; stroke-dasharray: 38 22 11 31 17 46; }
#cracks g.leak { mix-blend-mode: screen; opacity: .06; }
#cracks g.leakg { mix-blend-mode: screen; opacity: 0; filter: blur(3px); }

/* room things that react: valves, cone, tape */
#roomfx { z-index: 4; }
#valve { position: absolute; left: 13%; top: 31%; width: 30%; height: 12%; background: radial-gradient(ellipse 50% 50% at 50% 55%, rgba(255,170,70,.95), rgba(232,137,43,.45) 35%, transparent 70%); mix-blend-mode: screen; opacity: 0; }
#cone { position: absolute; left: calc(83.9% - 8.9%); top: calc(80.7% - 5.93%); width: 17.8%; height: 11.87%; border-radius: 50%; background: url("../img/room.jpg") no-repeat; background-size: calc(100% / .178) calc(100% / .1187); background-position: 91.24% 84.84%; -webkit-mask: radial-gradient(circle, #000 60%, transparent 71%); mask: radial-gradient(circle, #000 60%, transparent 71%); }
#tape { position: absolute; left: 66%; top: 70.5%; width: 37%; height: 4.6%; min-height: 40px; display: flex; align-items: center; justify-content: center; background: var(--red); color: #fff; font-family: var(--anton); font-size: clamp(20px, 3.5cqh, 34px); letter-spacing: .06em; text-transform: uppercase; transform: rotate(-4deg); transform-origin: 30% 50%; clip-path: polygon(1.5% 6%, 4% 0, 7% 9%, 10% 2%, 94% 0, 96.5% 10%, 99% 3%, 97.5% 30%, 100% 52%, 98% 74%, 100% 96%, 95% 100%, 92% 91%, 89% 100%, 4% 97%, 1% 100%, 2.5% 70%, 0 50%, 2% 26%); box-shadow: inset 0 0 0 999px rgba(0,0,0,0); }
#tape::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); mix-blend-mode: multiply; opacity: .45; }
#tape span { position: relative; z-index: 1; }
@media (max-aspect-ratio: 3/4) { #tape { left: 60%; width: 40%; top: 69%; font-size: 20px; } }

/* ---------- the subject ---------- */
#kizz { z-index: 5; pointer-events: none; }
#kizz img { position: absolute; left: 29.44%; top: 16.46%; width: 43.71%; height: 83.62%; filter: contrast(1.08) saturate(1.1) sepia(.06); }

#dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 6; pointer-events: none; }

/* ---------- the fuse board ---------- */
#boardroom { z-index: 7; pointer-events: none; }

.bt { position: absolute; left: 4cqw; top: 5cqh; width: 44cqw; }
.bt .pre { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 1.2cqh; }
.bt h2 { font-family: var(--anton); font-weight: 400; font-size: 10.5cqw; line-height: .86; text-transform: uppercase; color: #fff; white-space: nowrap; }
.bt .sub { margin-top: 1.6cqh; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; line-height: 1.7; }
.bt .date { position: relative; margin-top: 2.4cqh; height: 15cqh; font-family: var(--anton); text-transform: uppercase; }
.bt .date > div { position: absolute; left: 0; top: 0; white-space: nowrap; }
.bt .date .turn { font-family: var(--mono); font-size: 13px; letter-spacing: .24em; color: var(--valve); padding-top: 1cqh; transition: opacity .3s; }
.bt .date .day { font-size: 13cqh; line-height: .9; color: var(--valve); text-shadow: 0 0 .3em rgba(232,137,43,.5); }
.bt .date .day small { display: block; font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .3em; color: #fff; margin-top: 1cqh; }

.board { position: absolute; left: 50cqw; top: 9cqh; width: 40cqw; height: 72cqh; background: linear-gradient(180deg, #efeadf, #ddd6c7 70%, #cfc6b4); box-shadow: 0 2.5cqh 6cqh rgba(0,0,0,.65), inset 0 0 0 2px rgba(0,0,0,.12); display: flex; flex-direction: column; padding: 2.2cqh 2cqw; color: #1a1512; }
.board::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 30% 18% at 22% 88%, rgba(110,80,40,.18), transparent 70%), radial-gradient(ellipse 18% 30% at 90% 30%, rgba(110,80,40,.14), transparent 70%), var(--grain); background-size: auto, auto, 240px; mix-blend-mode: multiply; opacity: .55; }
.board .louvre { height: 13cqh; background: repeating-linear-gradient(180deg, #e9e3d6 0 1.55cqh, #b8af9d 1.55cqh 1.75cqh, #f6f2e9 1.75cqh 1.95cqh); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); display: flex; justify-content: space-between; align-items: flex-start; padding: .8cqh .8cqw; }
.board .brand { font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: .2em; color: #1b3a24; }
.board .logo { height: 4.2cqh; }
.board .rail { flex: 1; margin: 1.8cqh 0; background: #2a2622; box-shadow: inset 0 0 0 2px #111, inset 0 1.4cqh 2cqh rgba(0,0,0,.6); padding: 2cqh 1.2cqw; display: grid; grid-template-columns: repeat(4, 1fr) 1.25fr; gap: .7cqw; position: relative; }
.board .rail::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2.4cqh; transform: translateY(-50%); background: linear-gradient(#bfc2c4, #7d8184 60%, #a7abad); }
.brk { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1cqh; background: linear-gradient(90deg, #1a1817, #242120 50%, #161413); box-shadow: inset 0 0 0 1px #000, 0 .4cqh .8cqh rgba(0,0,0,.6); padding: 1.4cqh .3cqw; text-align: center; cursor: pointer; }
.brk .lbl { font-family: var(--anton); font-size: clamp(13px, 2.1cqh, 21px); line-height: 1; color: #fff; text-transform: uppercase; min-height: 2.2em; display: flex; align-items: center; }
.brk .slot { position: relative; margin: 1.4cqh 0; width: 60%; height: 21cqh; background: #0c0b0a; box-shadow: inset 0 0 0 2px #000, inset 0 0 1.2cqh rgba(0,0,0,.9); }
.brk .handle { position: absolute; left: 10%; right: 10%; height: 46%; top: 50%; background: linear-gradient(180deg, #f4f1ea, #c9c3b7); box-shadow: 0 .4cqh 0 #8d877c; transition: top .14s cubic-bezier(.5,0,.2,1.4); }
.brk .handle::after { content: "O"; position: absolute; left: 0; right: 0; bottom: 8%; text-align: center; font-weight: 700; font-size: 11px; color: #222; }
.brk.on .handle { top: 4%; background: linear-gradient(180deg, #ff3b3b, #b5141a); box-shadow: 0 .4cqh 0 #6d0b0e; }
.brk.on .handle::after { content: "I"; color: #fff; top: 8%; bottom: auto; }
.brk .state { font-size: 10px; letter-spacing: .2em; color: rgba(255,255,255,.55); }
.brk .stamp { position: absolute; left: -6%; right: -6%; top: 40%; transform: rotate(-12deg) scale(1.6); opacity: 0; pointer-events: none; padding: .5em .1em; border: 3px solid var(--red); color: var(--red); background: rgba(243,238,231,.92); font-family: var(--anton); font-size: clamp(13px, 2.2cqh, 22px); line-height: 1; text-transform: uppercase; transition: transform .22s cubic-bezier(.3,1.6,.5,1), opacity .12s; }
.brk.on .stamp { opacity: 1; transform: rotate(-12deg) scale(1); pointer-events: auto; }
.brk.main { background: linear-gradient(90deg, #8f1115, #c4191f 50%, #8a0f13); }
.brk.main .slot { width: 64%; }
.brk.main .handle { background: linear-gradient(180deg, #fff, #e2ddd2); top: 4%; }
.brk.main .handle::after { content: "I"; top: 8%; bottom: auto; }
.brk.main .lbl { font-size: clamp(15px, 2.6cqh, 26px); }
.board .foot { display: flex; justify-content: space-between; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: #4a4038; }
.board .foot b { color: var(--red); }
@media (max-aspect-ratio: 3/4) {
  .bt { left: 4cqw; right: 4cqw; width: auto; top: 3cqh; }
  .bt .pre { font-size: 10px; }
  .bt h2 { font-size: 17cqw; }
  .bt .sub { font-size: 10px; letter-spacing: .14em; margin-top: 1cqh; }
  .bt .date { height: 7cqh; margin-top: 1.4cqh; }
  .bt .date .day { font-size: 13cqw; }
  .bt .date .day small { display: inline; font-size: 10px; margin-left: 8px; }
  .bt .date .turn { font-size: 11px; }
  .board { left: 3cqw; right: 3cqw; width: auto; top: 33cqh; height: 47cqh; padding: 1.4cqh 2.6cqw; }
  .board .louvre { height: 7cqh; }
  .board .rail { grid-template-columns: repeat(2, 1fr); grid-template-rows: 1fr 1fr; gap: 1.6cqw; padding: 1.2cqh 2cqw; margin: 1.2cqh 0; }
  .board .rail::before { display: none; }
  .brk { flex-direction: row; justify-content: space-between; padding: .6cqh 2cqw; }
  .brk .lbl { font-size: 15px; text-align: left; min-height: 0; flex: 1; }
  .brk .slot { width: 13cqw; height: 8.5cqh; margin: 0; flex: none; }
  .brk .state { display: none; }
  .brk.main { grid-column: 1 / -1; }
  .brk.main .slot { width: 13cqw; }
  .board .foot { font-size: 9px; }
}

/* ---------- grain and vignette ---------- */
#grain { position: absolute; inset: -60px; z-index: 8; pointer-events: none; background-image: var(--grain); background-size: 240px; mix-blend-mode: overlay; opacity: .34; }
#vig { position: absolute; inset: 0; z-index: 8; pointer-events: none; background: radial-gradient(ellipse 85% 85% at 50% 50%, transparent 55%, rgba(0,0,0,.55)); }

/* ================= the amp panel: knob, lamp, standby ================= */
#panel { position: fixed; left: 2.2vw; bottom: 3vh; z-index: 20; display: flex; align-items: stretch; background: linear-gradient(180deg, #1d1a18, #0f0d0c); box-shadow: 0 10px 30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08), inset 0 0 0 1px #000; padding: 14px 18px 14px 14px; gap: 16px; transform: translateY(160%); transition: transform .8s cubic-bezier(.2,.9,.2,1); }
body.on #panel { transform: none; }
#panel::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px); pointer-events: none; }
.knobwrap { position: relative; width: 150px; height: 150px; flex: none; touch-action: none; cursor: grab; }
.knobwrap:active { cursor: grabbing; }
.knobwrap svg.scale { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.knobwrap .scale text { font-family: var(--mono); font-weight: 700; font-size: 9px; fill: #f3eee7; text-anchor: middle; dominant-baseline: middle; }
.knobwrap .scale text.hot { fill: var(--valve); }
.knobwrap .scale line { stroke: #f3eee7; stroke-width: 1.4; }
.knobwrap .scale line.on { stroke: var(--valve); }
.knobcap { position: absolute; left: 25%; top: 25%; width: 50%; height: 50%; border-radius: 50%; background: radial-gradient(circle at 38% 32%, #4a4340, #1a1716 46%, #0a0908 72%); box-shadow: 0 5px 10px rgba(0,0,0,.75), 0 0 0 3px #0a0908, 0 0 0 4px #2b2624; }
.knobcap::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; background: repeating-conic-gradient(#2c2725 0 5deg, #0e0c0b 5deg 10deg); z-index: -1; }
.knobcap::after { content: ""; position: absolute; left: calc(50% - 2px); top: 5%; width: 4px; height: 38%; background: #fff; box-shadow: 0 0 6px rgba(255,255,255,.5); }
.knobcap.hot::after { background: var(--valve); box-shadow: 0 0 10px var(--valve); }
.knobwrap .vol { position: absolute; left: 0; right: 0; top: -2px; text-align: center; font-size: 9px; letter-spacing: .32em; font-weight: 700; }
.pcol { display: flex; flex-direction: column; justify-content: space-between; min-width: 128px; }
.plabel { font-size: 9px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: #f3eee7; }
.pbrand { font-family: var(--anton); font-size: 22px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.pbrand small { display: block; font-family: var(--mono); font-size: 8.5px; letter-spacing: .26em; color: rgba(243,238,231,.6); margin-top: 4px; font-weight: 700; }
.readout { display: flex; align-items: center; gap: 10px; }
.lamp { width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #5a1a1a, #2a0808 70%); box-shadow: 0 0 0 2px #0a0908, 0 0 0 3px #3a3330; }
body.on .lamp { background: radial-gradient(circle at 40% 35%, #ffb3a8, #ff2a1f 45%, #9b0c0c 80%); box-shadow: 0 0 0 2px #0a0908, 0 0 0 3px #3a3330, 0 0 calc(10px + var(--lampg, 0px)) rgba(255,42,31,.85); }
.num { font-family: var(--anton); font-size: 34px; line-height: 1; color: var(--valve); min-width: 2.1ch; text-shadow: 0 0 10px rgba(232,137,43,.55); }
.num small { font-family: var(--mono); font-size: 9px; letter-spacing: .2em; color: rgba(243,238,231,.6); vertical-align: top; margin-left: 4px; }
.sws { display: flex; gap: 12px; align-items: flex-end; }
.sw { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 8.5px; font-weight: 700; letter-spacing: .2em; }
.toggle { position: relative; width: 18px; height: 28px; background: #070606; box-shadow: inset 0 0 0 2px #2d2826; }
.toggle::after { content: ""; position: absolute; left: 4px; width: 10px; height: 12px; top: 3px; background: linear-gradient(#e9e5de, #9c968c); transition: top .12s; }
.sw[aria-pressed="true"] .toggle::after { top: 13px; }
.sw[aria-pressed="true"] { color: var(--valve); }
.jack { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle, #000 34%, #9a9da0 36%, #d8dadb 52%, #6f7275 70%, #1a1716 72%); }
.sw.sel { color: var(--valve); }
.sw.sel .jack { box-shadow: 0 0 0 2px var(--valve); }
#hint { position: absolute; left: 100%; bottom: 18px; margin-left: 14px; white-space: nowrap; font-size: 11px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 6px #000; transition: opacity .4s; }
#hint i { font-style: normal; color: var(--valve); display: inline-block; animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(-4px); } }
body.n-past #hint { opacity: 0; }
@media (max-aspect-ratio: 3/4) {
  #panel { left: 0; right: 0; bottom: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 12px; }
  .knobwrap { width: 118px; height: 118px; }
  .pcol { flex: 1; min-width: 0; }
  .pbrand { font-size: 18px; }
  #hint { left: auto; right: 12px; bottom: auto; top: -26px; margin: 0; font-size: 10px; }
}

/* ================= the door ================= */
#door { position: fixed; inset: 0; z-index: 30; display: flex; align-items: flex-end; transition: opacity .9s .5s, visibility 0s 1.4s; background: linear-gradient(180deg, rgba(8,5,3,.15), rgba(8,5,3,.05) 50%, rgba(8,5,3,.55)); }
body.on #door { opacity: 0; visibility: hidden; pointer-events: none; }
body:not(.on) #stage { filter: brightness(.62) saturate(.9); }
#stage { transition: filter 1.2s; }
.plate { position: relative; width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; padding: 26px 4vw 28px; background: linear-gradient(180deg, #1c1917, #0c0a09); box-shadow: 0 -1px 0 rgba(255,255,255,.07), 0 -20px 50px rgba(0,0,0,.5); }
.plate::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px); pointer-events: none; }
.plate h1 { font-family: var(--anton); font-weight: 400; font-size: clamp(64px, 9vw, 148px); line-height: .86; text-transform: uppercase; color: #fff; }
.plate .line { margin-top: 12px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: rgba(243,238,231,.85); }
.plate .line b { color: var(--valve); font-weight: 700; }
.power { display: flex; align-items: center; gap: 22px; padding-bottom: 6px; }
.power .lamp { width: 26px; height: 26px; }
#enter { position: relative; width: 118px; height: 150px; background: #050404; box-shadow: inset 0 0 0 3px #2d2826, 0 0 0 1px #000; display: flex; flex-direction: column; justify-content: space-between; padding: 8px 0; align-items: center; }
#enter .rocker { position: absolute; left: 14px; right: 14px; top: 26px; bottom: 26px; background: linear-gradient(180deg, #2a2523 0, #3a3431 48%, #141110 52%, #221d1b 100%); box-shadow: inset 0 0 0 1px #000, 0 6px 0 #000; transition: transform .12s; transform-origin: 50% 50%; display: flex; align-items: center; justify-content: center; }
#enter .rocker span { font-family: var(--anton); font-size: 30px; letter-spacing: .04em; color: #fff; text-transform: uppercase; }
#enter:hover .rocker span { color: var(--valve); }
#enter .on-off { font-size: 9px; font-weight: 700; letter-spacing: .3em; color: rgba(243,238,231,.7); }
body.on #enter .rocker { transform: perspective(300px) rotateX(18deg); }
.power .plabel { writing-mode: vertical-rl; transform: rotate(180deg); }
@media (max-aspect-ratio: 3/4) {
  .plate { grid-template-columns: 1fr; gap: 18px; padding: 22px 16px calc(24px + env(safe-area-inset-bottom)); }
  .plate h1 { font-size: 23vw; }
  .plate .line { font-size: 11px; letter-spacing: .14em; line-height: 1.6; }
  .power { justify-content: space-between; }
  #enter { width: 100%; height: 86px; flex-direction: row; padding: 0 14px; }
  #enter .rocker { left: 64px; right: 64px; top: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  #hint i { animation: none; }
}


/* ================= the radio (6) ================= */
#radio { z-index: 7; background: #1a0f08; }
#radio .rbg { position: absolute; inset: -4%; background: url("../img/room.jpg") 26% 37% / 520% auto no-repeat; filter: blur(7px) brightness(.72) saturate(1.15); }
#radio .set { position: absolute; left: 50%; top: 47%; transform: translate(-50%, -50%); width: min(94cqw, 172cqh); aspect-ratio: 2.1 / 1; background: linear-gradient(180deg, #3a2414, #24150b 60%, #160c06); box-shadow: 0 3cqh 8cqh rgba(0,0,0,.7), inset 0 0 0 3px #0f0804, inset 0 2px 0 rgba(255,220,170,.12); display: grid; grid-template-columns: 20% 1fr; grid-template-rows: 1fr auto; gap: 2.4%; padding: 3.2% 3.4% 2.6%; }
#radio .set::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); mix-blend-mode: overlay; opacity: .5; pointer-events: none; }
#radio .grille { grid-row: 1 / 3; background: repeating-linear-gradient(90deg, #120a05 0 6%, #c9b79a 6% 9%, #8d7a5f 9% 10%, #120a05 10% 16%); box-shadow: inset 0 0 0 3px #0c0603, inset 0 0 3cqh rgba(0,0,0,.8); }
#radio .dial { position: relative; background: #0d0704; padding: 2.2%; box-shadow: inset 0 0 0 2px #6b5236; touch-action: pan-y; cursor: ew-resize; }
#radio .glass { position: relative; height: 100%; background: radial-gradient(ellipse 80% 90% at 50% 60%, rgba(255,186,92,calc(.55 + var(--glow, 0) * .45)), rgba(214,120,40,calc(.35 + var(--glow, 0) * .35)) 60%, rgba(90,40,10,.9)); overflow: hidden; }
#radio .glass::after { content: ""; position: absolute; inset: 0; background: linear-gradient(170deg, rgba(255,255,255,.22), transparent 38%); pointer-events: none; }
#radio .nbs { position: absolute; left: 0; right: 0; top: 7%; text-align: center; font-family: var(--anton); font-size: clamp(26px, 6.2cqh, 64px); line-height: 1; text-transform: uppercase; color: #2a1406; letter-spacing: .02em; }
#radio .rscale { position: absolute; left: 4%; right: 4%; top: 46%; height: 12%; background: repeating-linear-gradient(90deg, rgba(40,18,4,.85) 0 2px, transparent 2px 2%); -webkit-mask: linear-gradient(#000 0 100%); }
#radio .rscale::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(40,18,4,.85); }
#radio .stations { position: absolute; left: 4%; right: 4%; top: 64%; height: 30%; }
#radio .stations button { position: absolute; transform: translateX(-50%); top: 0; white-space: nowrap; font-family: var(--anton); font-size: clamp(14px, 2.7cqh, 28px); line-height: 1; text-transform: uppercase; color: rgba(42,20,6,.75); padding: 4px 2px; }
#radio .stations button.on { color: #fff; text-shadow: 0 0 12px #fff0c8, 0 0 2px #fff; }
#radio .needle { position: absolute; top: 3%; bottom: 3%; width: 3px; margin-left: -1.5px; left: 10%; background: #c8141a; box-shadow: 0 0 8px rgba(255,40,30,.8); }
#radio .rknobs { display: flex; align-items: center; gap: 3%; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: #d8c4a4; font-weight: 700; }
#radio .rk { width: clamp(34px, 7cqh, 64px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 38% 32%, #6a4a30, #2a170b 60%, #120904); box-shadow: 0 4px 10px rgba(0,0,0,.7), 0 0 0 2px #0c0603; position: relative; }
#radio .rk i { position: absolute; left: calc(50% - 1.5px); top: 8%; width: 3px; height: 36%; background: #e8d6b8; transform-origin: 50% 117%; }
#radio .rbrand { position: absolute; right: 4%; bottom: 3.2%; text-align: right; font-family: var(--anton); font-size: clamp(16px, 3cqh, 28px); text-transform: uppercase; color: #d8c4a4; line-height: 1; }
#radio .rbrand small { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .22em; color: rgba(216,196,164,.7); margin-top: 4px; }
#radio .rcap { position: absolute; left: 0; right: 0; top: 4.5%; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: #f3e2c6; text-shadow: 0 1px 6px #000; }
@media (max-aspect-ratio: 3/4) {
  #radio .rbg { background-size: 900% auto; }
  #radio .set { width: 94cqw; aspect-ratio: auto; height: 60cqh; top: 42%; grid-template-columns: 1fr; grid-template-rows: 18% 1fr auto; padding: 5% 5% 4%; }
  #radio .grille { grid-row: 1; background: repeating-linear-gradient(0deg, #120a05 0 14%, #c9b79a 14% 22%, #8d7a5f 22% 25%, #120a05 25% 36%); }
  #radio .nbs { font-size: 11cqw; }
  #radio .stations button { font-size: 14px; }
  #radio .stations button:nth-child(even) { top: 46%; }
  #radio .rcap { top: 76%; font-size: 10px; padding: 0 16px; }
  #radio .rbrand { position: static; grid-row: 3; text-align: left; font-size: 16px; }
  #radio .rknobs { display: none; }
}

/* ================= the rig (16) ================= */
#rig { z-index: 7; background: #05030a; }
.reel { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#rig .rigshade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,3,10,.82), rgba(5,3,10,.25) 55%, rgba(5,3,10,.1)); }
#rig .spot { position: absolute; top: -10%; width: 70cqh; height: 130cqh; margin-left: -35cqh; transform-origin: 50% 0; background: conic-gradient(from 168deg at 50% 0, transparent 0deg, rgba(255,250,235,.55) 10deg, rgba(255,250,235,.7) 12deg, rgba(255,250,235,.55) 14deg, transparent 24deg); mix-blend-mode: screen; filter: blur(6px); opacity: .5; }
#rig .s1 { left: 30%; } #rig .s2 { left: 55%; } #rig .s3 { left: 80%; }
#riglasers { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; }
#rig .fire { position: absolute; bottom: 0; width: 18cqw; height: 75cqh; transform-origin: 50% 100%; transform: scaleY(.05); background: radial-gradient(ellipse 42% 60% at 50% 100%, #fff6d0 0, #ffc04a 18%, #ff5a14 40%, rgba(227,30,36,.6) 58%, rgba(227,30,36,0) 74%); mix-blend-mode: screen; filter: blur(3px); }
#rig .fire.l { left: -4cqw; } #rig .fire.r { right: -4cqw; }
#rig .words { position: absolute; left: 4cqw; top: 8cqh; display: flex; flex-direction: column; font-family: var(--anton); text-transform: uppercase; font-size: 21cqh; line-height: .88; color: #fff; }
#rig .words span { transition: color .08s, text-shadow .08s; }
#rig .rigcap { position: absolute; left: 4cqw; top: 70cqh; max-width: 44cqw; font-size: 12px; line-height: 1.8; letter-spacing: .2em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 6px #000; }
@media (max-aspect-ratio: 3/4) {
  #rig .words { font-size: 22cqw; top: 6cqh; }
  #rig .rigcap { top: 64cqh; max-width: 88cqw; font-size: 10px; }
  #rig .spot { width: 60cqw; margin-left: -30cqw; }
}

/* ================= the hands (20) ================= */
#hands { z-index: 1; background: #120a10; cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='64' viewBox='0 0 48 64'><path d='M14 62 L12 36 C8 32 5 27 5 22 L5 12 C5 9 9 9 9 12 L9 22 L11 22 L11 6 C11 3 15 3 15 6 L15 21 L17 21 L17 3 C17 0 21 0 21 3 L21 21 L23 21 L23 5 C23 2 27 2 27 5 L27 23 L29 23 L29 12 C29 9 33 9 33 12 L33 30 C33 38 30 42 28 45 L28 62 Z' fill='%23f3eee7' stroke='%230c0a09' stroke-width='2'/></svg>") 18 2, pointer; }
#hands .crowd { position: absolute; left: 0; top: -14%; width: 100%; height: 120%; object-fit: cover; object-position: 50% 100%; mix-blend-mode: multiply; filter: brightness(1.9) contrast(1.7); transform: translateY(30%); }
#hands .haze { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 45% at 50% 30%, rgba(255,240,230,.22), transparent 70%); mix-blend-mode: screen; pointer-events: none; }
#hands .htype { position: absolute; left: 4cqw; right: 4cqw; top: 7cqh; }
#hands .hpre { font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 6px #000; }
#hands .hline { margin-top: 1.4cqh; font-family: var(--anton); font-size: 11cqh; line-height: .9; text-transform: uppercase; color: #fff; max-width: 70cqw; text-shadow: 0 .04em .3em rgba(0,0,0,.5); }
@media (max-aspect-ratio: 3/4) { #hands .hline { font-size: 13cqw; max-width: none; } #hands .crowd { filter: brightness(1.5) contrast(1.6); object-position: 62% 78%; } }

/* ================= the board: keep its date steady ================= */
.bt .date .day { position: static !important; }

/* ================= the bench (27) ================= */
#bench { z-index: 7; background: #f1f0ec; color: #0c0a09; }
#bench .bphoto { position: absolute; right: 0; top: 0; height: 100%; width: 52cqw; object-fit: cover; object-position: 50% 30%; -webkit-mask: linear-gradient(90deg, transparent 0, #000 14%); mask: linear-gradient(90deg, transparent 0, #000 14%); }
#bench .btype { position: absolute; left: 4cqw; top: 9cqh; width: 50cqw; }
#bench h2 { font-family: var(--anton); font-weight: 400; font-size: 12cqw; line-height: .86; text-transform: uppercase; white-space: nowrap; }
#bench .bl { margin-top: 3cqh; font-family: var(--anton); font-size: 8cqh; line-height: 1; text-transform: uppercase; max-width: 40cqw; }
#bench .bs { margin-top: 2cqh; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.7; max-width: 40cqw; }
#bench::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); background-size: 240px; mix-blend-mode: multiply; opacity: .35; pointer-events: none; }
@media (max-aspect-ratio: 3/4) {
  #bench .bphoto { width: 100%; height: 58%; top: auto; bottom: 120px; -webkit-mask: linear-gradient(180deg, transparent 0, #000 22%); mask: linear-gradient(180deg, transparent 0, #000 22%); }
  #bench .btype { width: auto; right: 4cqw; top: 4cqh; }
  #bench h2 { font-size: 21cqw; }
  #bench .bl { font-size: 7.5cqw; max-width: none; margin-top: 1.6cqh; }
  #bench .bs { font-size: 10px; max-width: none; margin-top: 1cqh; }
}

/* ================= LIVEWIRE DECEMBER (29) ================= */
#lw { z-index: 7; background: #e31e24; }
#wave { position: absolute; left: 0; top: 30cqh; width: 100%; height: 26cqh; }
#lw .lwtop { position: absolute; left: 4cqw; top: 5cqh; }
#lw .lwtop p { font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: #fff; margin-bottom: 1.2cqh; }
#lw .lwtop img { height: 13cqh; width: auto; }
#lw .big { position: absolute; left: 4cqw; right: 4cqw; top: 26cqh; height: 36cqh; font-family: var(--anton); text-transform: uppercase; color: #fff; overflow: hidden; }
#lw .big .in-29 { transform: translateY(40cqh); }
#lw .big span { position: absolute; left: 0; top: 0; font-size: 34cqh; line-height: .95; white-space: nowrap; }
#lw .big #bigNum { color: rgba(255,255,255,.22); }
#lw .lwline { position: absolute; left: 4cqw; right: 4cqw; top: 63cqh; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: #fff; line-height: 1.7; }
#lw .lwline b { font-weight: 700; }
#lw .ampback { position: absolute; left: 30cqw; right: 2cqw; bottom: 3cqh; height: 26cqh; background: repeating-linear-gradient(45deg, #151210 0 3px, #1c1815 3px 6px); box-shadow: 0 1.5cqh 4cqh rgba(0,0,0,.5), inset 0 0 0 3px #0a0807; }
#lw .screw { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle, #9b9a96 30%, #5b5a57 60%, #2a2928); }
#lw .screw::after { content: ""; position: absolute; left: 2px; right: 2px; top: 6px; height: 2px; background: #2a2928; transform: rotate(35deg); }
#lw .screw.a { left: 10px; top: 10px; } #lw .screw.b { right: 10px; top: 10px; } #lw .screw.c { left: 10px; bottom: 10px; } #lw .screw.d { right: 10px; bottom: 10px; }
#lw .since { position: absolute; left: 32px; bottom: 8px; font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: rgba(243,238,231,.55); font-weight: 700; }
#lw .stk { position: absolute; width: 12.2%; height: 40%; background: #fff; padding: 4px; box-shadow: 0 4px 10px rgba(0,0,0,.55); }
#lw .stk img { display: block; height: 100%; width: 100%; object-fit: contain; }
@media (max-aspect-ratio: 3/4) {
  #lw .lwtop img { height: 7cqh; }
  #lw .big { top: 20cqh; }
  #lw .big span { font-size: 20cqw; }
  #wave { top: 18cqh; height: 20cqh; }
  #lw .lwline { top: 40cqh; font-size: 10px; letter-spacing: .14em; }
  #lw .ampback { left: 3cqw; right: 3cqw; bottom: 130px; height: 33cqh; }
  #lw .stk { width: 21.5%; height: 20%; }
}

/* ================= the cut to silence ================= */
#silence { z-index: 8; background: #050403; }
#silence .sphoto { position: absolute; right: 0; top: 0; height: 100%; width: 50cqw; object-fit: cover; object-position: 50% 20%; filter: brightness(.82) contrast(1.05); -webkit-mask: linear-gradient(90deg, transparent 0, #000 22%); mask: linear-gradient(90deg, transparent 0, #000 22%); }
#silence .stype { position: absolute; left: 4cqw; top: 10cqh; width: 52cqw; }
#silence h2 { font-family: var(--anton); font-weight: 400; font-size: 11cqw; line-height: .86; text-transform: uppercase; color: #fff; white-space: nowrap; }
#silence .stype > p { margin-top: 2.4cqh; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; line-height: 1.8; color: #fff; }
#silence .stype > p b { color: var(--valve); }
#silence .bigtape { display: inline-flex; margin-top: 4cqh; padding: 2.2cqh 4cqw; background: var(--red); color: #fff; font-family: var(--anton); font-size: clamp(30px, 7cqh, 64px); text-transform: uppercase; letter-spacing: .04em; transform: rotate(-3deg); clip-path: polygon(1.5% 6%, 4% 0, 7% 9%, 10% 2%, 94% 0, 96.5% 10%, 99% 3%, 97.5% 30%, 100% 52%, 98% 74%, 100% 96%, 95% 100%, 92% 91%, 89% 100%, 4% 97%, 1% 100%, 2.5% 70%, 0 50%, 2% 26%); }
#silence .kinds { font-size: 11px !important; color: rgba(243,238,231,.7) !important; margin-top: 3cqh !important; }
@media (max-aspect-ratio: 3/4) {
  #silence .sphoto { width: 100%; height: 62%; -webkit-mask: linear-gradient(180deg, #000 60%, transparent 100%); mask: linear-gradient(180deg, #000 60%, transparent 100%); }
  #silence .stype { width: auto; right: 4cqw; top: auto; bottom: 150px; }
  #silence h2 { font-size: 20cqw; }
  #silence .stype > p { font-size: 10.5px; letter-spacing: .14em; margin-top: 1.4cqh; }
  #silence .bigtape { font-size: 30px; margin-top: 2cqh; padding: 12px 22px; }
  #silence .kinds { font-size: 9.5px !important; }
}

/* ================= the ticket room in the bench's black and white (24 Nov) ================= */
#boardroom { background: #f1f0ec; color: #0c0a09; }
#boardroom::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); background-size: 240px; mix-blend-mode: multiply; opacity: .35; pointer-events: none; z-index: 3; }
#boardroom .bphoto { position: absolute; right: 0; top: 0; height: 100%; width: 46cqw; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.06); -webkit-mask: linear-gradient(90deg, transparent 0, #000 16%); mask: linear-gradient(90deg, transparent 0, #000 16%); }
#boardroom .bt { top: 4cqh; width: 52cqw; z-index: 2; }
#boardroom .bt .pre { color: rgba(12,10,9,.7); }
#boardroom .bt h2 { color: #0c0a09; font-size: 7.2cqw; }
#boardroom .bt .sub { color: #0c0a09; }
#boardroom .bt .date { height: 9cqh; margin-top: 1.6cqh; }
#boardroom .bt .date .day { color: #0c0a09; text-shadow: none; font-size: 8.5cqh; }
#boardroom .bt .date .day small { color: #0c0a09; }
#boardroom .board { left: 4cqw; top: 38cqh; width: 50cqw; height: 36cqh; z-index: 2; filter: grayscale(1) contrast(1.08); box-shadow: 0 2cqh 4cqh rgba(0,0,0,.28), inset 0 0 0 2px rgba(0,0,0,.14); }
#boardroom .board .louvre { height: 6cqh; }
#boardroom .board .logo { height: 3.4cqh; }
#boardroom .board .rail { margin: 1.2cqh 0; }
#boardroom .brk .slot { height: 9cqh; margin: .6cqh 0; }
@media (max-aspect-ratio: 3/4) {
  #boardroom .bphoto { width: 100%; height: 46%; top: auto; bottom: 0; -webkit-mask: linear-gradient(180deg, transparent 0, #000 30%); mask: linear-gradient(180deg, transparent 0, #000 30%); }
  #boardroom .bt { width: auto; top: 3cqh; }
  #boardroom .bt h2 { font-size: 17cqw; }
  #boardroom .bt .date .day { font-size: 13cqw; }
  #boardroom .board { left: 3cqw; right: 3cqw; width: auto; top: 31cqh; height: 46cqh; }
  #boardroom .brk .slot { height: 8.5cqh; margin: 0; }
}
