:root {
  --black: #050403;
  --black-soft: #0b0907;
  --charcoal: #12100c;
  --cream: #f0e5cf;
  --paper: #fff3d8;
  --tan: #d8bd8a;
  --gold: #ffe3a6;
  --amber: #b8792f;
  --red: #d76445;
  --muted: #8c8375;
  --line: rgba(216, 189, 138, .24);
  --line-soft: rgba(216, 189, 138, .09);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

* { box-sizing: border-box; }
html { background: var(--black); color-scheme: dark; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow: hidden;
  background: var(--black);
  color: var(--cream);
  font-family: "Space Grotesk", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .7rem 1rem;
  background: var(--paper);
  color: var(--black);
}
.skip-link:focus { top: 1rem; }

.soundcheck-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(5, 4, 3, .82);
  backdrop-filter: blur(18px);
}
.soundcheck-brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  font-weight: 700;
}
.soundcheck-brand span {
  width: 17px;
  height: 17px;
  border: 1px solid var(--tan);
  transform: rotate(45deg);
  box-shadow: inset 0 0 0 4px var(--black), inset 0 0 0 5px rgba(255, 227, 166, .65);
}
.soundcheck-nav > div { display: flex; align-items: center; gap: 1.2rem; }
.soundcheck-nav a:last-child,
.nav-status {
  color: var(--muted);
  font: .62rem "Space Mono", monospace;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
}
.soundcheck-nav a:last-child:hover,
.soundcheck-nav a:last-child:focus-visible { color: var(--gold); }
.nav-status { color: var(--tan); }

.soundcheck-shell {
  position: relative;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  isolation: isolate;
  padding-top: 58px;
  background:
    radial-gradient(circle at 50% 45%, rgba(216, 189, 138, .1), transparent 36%),
    linear-gradient(180deg, #090704 0%, #050403 58%, #020201 100%);
}

.blueprint-atmosphere,
.blueprint-atmosphere::before,
.blueprint-atmosphere::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.blueprint-atmosphere::before,
.blueprint-atmosphere::after { content: ""; }
.blueprint-atmosphere::before {
  background-image:
    linear-gradient(rgba(216, 189, 138, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 189, 138, .02) 1px, transparent 1px);
  background-size: 70px 70px;
}
.blueprint-atmosphere::after {
  opacity: .36;
  background: repeating-linear-gradient(116deg, transparent 0 80px, rgba(216, 189, 138, .035) 81px, transparent 82px 160px);
}
.blueprint-atmosphere span {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 227, 166, .22), transparent);
  transform-origin: left;
}
.blueprint-atmosphere span:nth-child(1) { left: 8%; top: 25%; width: 42%; transform: rotate(17deg); }
.blueprint-atmosphere span:nth-child(2) { right: 2%; top: 28%; width: 48%; transform: rotate(-14deg); }
.blueprint-atmosphere span:nth-child(3) { left: 20%; top: 61%; width: 62%; }

.eyebrow {
  margin: 0;
  color: var(--gold);
  font: 700 .64rem "Space Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.soundcheck-entry {
  position: absolute;
  inset: 58px 0 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  padding: clamp(2rem, 6vw, 6rem);
  background:
    radial-gradient(circle at 73% 58%, rgba(216, 189, 138, .12), transparent 31%),
    rgba(5, 4, 3, .96);
  transition: transform 1s var(--ease), opacity .7s ease, visibility .7s;
}
.soundcheck-shell.is-live .soundcheck-entry {
  transform: translateY(-105%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.entry-copy { position: relative; z-index: 2; max-width: 800px; }
.entry-copy h1 {
  max-width: 13ch;
  margin: .8rem 0 1.2rem;
  color: var(--paper);
  font-size: clamp(3rem, 6.7vw, 7.2rem);
  line-height: .9;
  letter-spacing: -.055em;
}
.entry-copy h1 em { color: var(--tan); font-style: normal; }
.entry-copy > p:not(.eyebrow):not(.entry-note) {
  max-width: 60ch;
  color: #b7ad9d;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.6;
}
.enter-booth {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.1rem;
  padding: .95rem 1.1rem .95rem 1.35rem;
  border: 1px solid var(--tan);
  background: var(--gold);
  color: var(--black);
  cursor: pointer;
  font-weight: 800;
}
.enter-booth b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(5, 4, 3, .32);
  transition: transform .25s ease;
}
.enter-booth:hover b,
.enter-booth:focus-visible b { transform: translateY(4px); }
.entry-note {
  max-width: 66ch;
  margin-top: 1rem;
  color: #716a5f;
  font: .63rem/1.55 "Space Mono", monospace;
}
.entry-deck {
  position: relative;
  min-height: 430px;
  display: grid;
  grid-template-columns: 1fr .64fr 1fr;
  align-items: center;
  gap: 1rem;
  transform: perspective(900px) rotateX(58deg) rotateZ(-4deg);
  filter: drop-shadow(0 55px 65px rgba(0, 0, 0, .72));
}
.entry-deck::before {
  content: "";
  position: absolute;
  inset: 9% -5%;
  border: 1px solid rgba(216, 189, 138, .38);
  background: linear-gradient(145deg, #18130d, #070604 62%);
  box-shadow: inset 0 0 0 12px rgba(0, 0, 0, .35), inset 0 0 60px rgba(216, 189, 138, .06);
}
.entry-platter,
.entry-mixer { position: relative; z-index: 2; }
.entry-platter {
  aspect-ratio: 1;
  border: 1px solid rgba(255, 227, 166, .35);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #080705 0 8px, #13100c 9px 10px);
  box-shadow: inset 0 0 0 22px #0b0907, 0 0 42px rgba(216, 189, 138, .08);
  animation: spin 12s linear infinite;
}
.entry-platter span {
  position: absolute;
  inset: 37%;
  border-radius: 50%;
  background: var(--tan);
  box-shadow: 0 0 0 4px #070604, 0 0 22px rgba(255, 227, 166, .36);
}
.entry-mixer { height: 65%; display: grid; grid-template-columns: repeat(4, 1fr); gap: .55rem; }
.entry-mixer i { position: relative; border: 1px solid var(--line); background: #080705; }
.entry-mixer i::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 14%;
  bottom: 14%;
  width: 1px;
  background: rgba(255, 227, 166, .4);
}
.entry-mixer i::after {
  content: "";
  position: absolute;
  left: 26%;
  right: 26%;
  top: var(--fader, 44%);
  height: 13%;
  background: var(--tan);
  box-shadow: 0 0 16px rgba(255, 227, 166, .25);
}
.entry-mixer i:nth-child(2) { --fader: 20%; }
.entry-mixer i:nth-child(3) { --fader: 62%; }
.entry-mixer i:nth-child(4) { --fader: 34%; }
.entry-frequency {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 8%;
  height: 18%;
  display: flex;
  align-items: center;
  gap: 1.5vw;
  opacity: .18;
}
.entry-frequency i { flex: 1; height: var(--h); border-top: 1px solid var(--gold); }
.entry-frequency i:nth-child(1) { --h: 22%; }
.entry-frequency i:nth-child(2) { --h: 58%; }
.entry-frequency i:nth-child(3) { --h: 34%; }
.entry-frequency i:nth-child(4) { --h: 84%; }
.entry-frequency i:nth-child(5) { --h: 48%; }
.entry-frequency i:nth-child(6) { --h: 69%; }
.entry-frequency i:nth-child(7) { --h: 28%; }

.soundcheck-stage {
  height: calc(100svh - 58px);
  min-height: 582px;
  display: grid;
  grid-template-rows: auto minmax(175px, 1fr) minmax(310px, 45vh);
  opacity: .35;
  transform: translateY(70px) scale(.97);
  transition: opacity .8s .28s ease, transform 1s .18s var(--ease);
}
.soundcheck-shell.is-live .soundcheck-stage { opacity: 1; transform: none; }
.stage-instruction {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr minmax(320px, .7fr);
  gap: 2rem;
  align-items: end;
  padding: clamp(1rem, 2.3vh, 1.7rem) clamp(1rem, 3vw, 2.5rem) .8rem;
}
.stage-instruction h1 {
  margin: .25rem 0 0;
  color: var(--paper);
  font-size: clamp(1.8rem, 3.4vw, 4rem);
  line-height: .95;
  letter-spacing: -.045em;
}
.instruction-copy { display: flex; align-items: flex-end; justify-content: flex-end; gap: 1rem; }
.instruction-copy p { max-width: 60ch; margin: 0; color: #91887b; font-size: .8rem; line-height: 1.45; }
.instruction-copy b { color: var(--tan); }
.instruction-copy > div { display: flex; flex: none; gap: .45rem; }
.instruction-copy button {
  flex: none;
  padding: .45rem .65rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: .58rem "Space Mono", monospace;
  text-transform: uppercase;
}
.instruction-copy button:hover,
.instruction-copy button:focus-visible { color: var(--gold); border-color: var(--tan); }

.crowd-space {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(3, 2, 1, .04), rgba(3, 2, 1, .62) 76%, #020201),
    radial-gradient(ellipse at 50% 90%, rgba(184, 121, 47, .24), transparent 58%);
}
.crowd-space::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -30%;
  width: 130%;
  height: 110%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center bottom, rgba(184, 121, 47, .17), transparent 54%);
}
.crowd-space::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .5), transparent 18%, transparent 82%, rgba(0, 0, 0, .5)),
    linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .28));
}
.crowd-lights span {
  position: absolute;
  top: -30%;
  width: 23%;
  height: 140%;
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
  z-index: 2;
  background: linear-gradient(rgba(255, 227, 166, .16), rgba(216, 189, 138, .045) 52%, transparent 86%);
  filter: blur(.4px);
  transform-origin: top;
  animation: sweep 8s ease-in-out infinite alternate;
}
.crowd-lights span:nth-child(1) { left: 7%; transform: rotate(11deg); }
.crowd-lights span:nth-child(2) { left: 39%; animation-delay: -3s; }
.crowd-lights span:nth-child(3) { right: 5%; transform: rotate(-12deg); animation-delay: -5s; }
.crowd-people {
  position: absolute;
  inset: 3% -2% -4%;
  z-index: 3;
  overflow: hidden;
  perspective: 800px;
  pointer-events: none;
}
.crowd-person {
  position: absolute;
  left: var(--x);
  bottom: var(--y);
  width: 46px;
  height: 105px;
  transform: translateX(-50%) scale(var(--scale));
  transform-origin: center bottom;
  opacity: var(--opacity);
  filter: drop-shadow(0 -4px 10px rgba(216, 189, 138, .025));
}
.crowd-person::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 27px;
  height: 31px;
  transform: translateX(-50%);
  border-radius: 48% 48% 45% 45%;
  background: var(--person-color, #030302);
  box-shadow: inset 4px 0 rgba(216, 189, 138, .018);
}
.crowd-person::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 26px;
  width: 58px;
  height: 88px;
  transform: translateX(-50%);
  border-radius: 52% 52% 10% 10%;
  background: var(--person-color, #030302);
  box-shadow: inset 8px 0 rgba(216, 189, 138, .018);
}
.crowd-person:nth-child(5n)::before { width: 30px; border-radius: 44% 44% 50% 50%; }
.crowd-person:nth-child(7n)::after { width: 68px; }
.crowd-person:nth-child(9n) { filter: drop-shadow(0 -8px 18px rgba(184, 121, 47, .09)); }
.signal-crowd { position: absolute; inset: 0 2% 18%; z-index: 5; }
.crowd-signal {
  position: absolute;
  left: var(--x);
  top: var(--y);
  max-width: min(250px, 18vw);
  transform: translate(-50%, -50%);
  padding: .42rem .58rem;
  border: 1px solid rgba(216, 189, 138, .22);
  background: rgba(8, 6, 4, .74);
  color: #9e9587;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .34);
  font: 600 clamp(.58rem, .72vw, .7rem)/1.25 "Space Grotesk", sans-serif;
  text-align: left;
  transition: color .2s, border-color .2s, background .2s, transform .2s, box-shadow .2s;
}
.crowd-signal::before {
  content: attr(data-channel);
  display: inline-block;
  margin-right: .4rem;
  color: var(--tan);
  font: .54rem "Space Mono", monospace;
}
.crowd-signal:hover,
.crowd-signal:focus-visible { color: var(--paper); border-color: var(--tan); transform: translate(-50%, -50%) scale(1.035); }
.crowd-signal.is-live {
  color: var(--paper);
  border-color: var(--gold);
  background: rgba(64, 42, 17, .76);
  box-shadow: 0 0 28px rgba(255, 227, 166, .18);
}
.crowd-silhouettes {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -7%;
  height: 45%;
  z-index: 2;
  opacity: .76;
  background:
    radial-gradient(circle at 4% 45%, #020201 0 12px, transparent 13px),
    radial-gradient(circle at 12% 23%, #020201 0 15px, transparent 16px),
    radial-gradient(circle at 21% 57%, #020201 0 13px, transparent 14px),
    radial-gradient(circle at 31% 26%, #020201 0 17px, transparent 18px),
    radial-gradient(circle at 43% 55%, #020201 0 13px, transparent 14px),
    radial-gradient(circle at 52% 19%, #020201 0 17px, transparent 18px),
    radial-gradient(circle at 62% 49%, #020201 0 15px, transparent 16px),
    radial-gradient(circle at 72% 25%, #020201 0 14px, transparent 15px),
    radial-gradient(circle at 84% 52%, #020201 0 16px, transparent 17px),
    radial-gradient(circle at 94% 29%, #020201 0 14px, transparent 15px),
    linear-gradient(180deg, transparent 28%, #020201 84%);
}
.room-readout {
  position: absolute;
  left: 50%;
  bottom: 7%;
  z-index: 6;
  width: min(650px, 82%);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: .45rem .8rem;
  border: 1px solid rgba(216, 189, 138, .2);
  background: rgba(5, 4, 3, .78);
  backdrop-filter: blur(10px);
  text-align: center;
}
.room-readout span { color: var(--tan); font: .55rem "Space Mono", monospace; }
.room-readout strong { color: var(--cream); font-size: .72rem; }

.soundcheck-coach {
  position: fixed;
  inset: 58px 0 0;
  z-index: 80;
  background: rgba(0, 0, 0, .44);
  backdrop-filter: blur(1.5px);
  transition: opacity .25s ease, visibility .25s;
}
.soundcheck-coach.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.coach-card {
  position: absolute;
  left: 44%;
  bottom: 31vh;
  width: min(390px, calc(100% - 2rem));
  padding: 1rem;
  border: 1px solid rgba(255, 227, 166, .62);
  background: rgba(9, 7, 4, .98);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .72), 0 0 38px rgba(216, 189, 138, .09);
  transform: translateX(-50%);
  transition: left .45s var(--ease), top .45s var(--ease), bottom .45s var(--ease);
}
.coach-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 22px;
  height: 22px;
  border-right: 1px solid rgba(255, 227, 166, .62);
  border-bottom: 1px solid rgba(255, 227, 166, .62);
  background: #090704;
  transform: translateX(-50%) rotate(45deg);
}
.soundcheck-coach[data-step="1"] .coach-card { left: 48%; bottom: 19vh; }
.soundcheck-coach[data-step="2"] .coach-card { left: 61%; top: 18vh; bottom: auto; }
.coach-progress { display: grid; grid-template-columns: auto repeat(3, 1fr); gap: .35rem; align-items: center; margin-bottom: .8rem; }
.coach-progress span { margin-right: .4rem; color: var(--tan); font: .54rem "Space Mono", monospace; text-transform: uppercase; }
.coach-progress i { height: 2px; background: #312a21; }
.soundcheck-coach[data-step="0"] .coach-progress i:nth-of-type(1),
.soundcheck-coach[data-step="1"] .coach-progress i:nth-of-type(-n+2),
.soundcheck-coach[data-step="2"] .coach-progress i { background: var(--gold); box-shadow: 0 0 8px rgba(255, 227, 166, .32); }
.coach-card h2 { margin: .45rem 0 .55rem; color: var(--paper); font-size: 1.55rem; line-height: 1; letter-spacing: -.035em; }
.coach-card > p:not(.eyebrow) { margin: 0; color: #aaa093; font-size: .84rem; line-height: 1.48; }
.coach-card > div:last-child { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1rem; }
.coach-card button { padding: .55rem .7rem; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; font-size: .72rem; }
.coach-card [data-coach-next] { border-color: var(--gold); background: var(--gold); color: var(--black); font-weight: 800; }

.booth {
  position: relative;
  z-index: 6;
  min-height: 0;
  border-top: 1px solid rgba(216, 189, 138, .24);
  background: linear-gradient(180deg, rgba(18, 14, 9, .98), #060503 55%);
  box-shadow: 0 -24px 85px rgba(0, 0, 0, .7), inset 0 2px rgba(255, 227, 166, .08);
}
.booth-rail {
  height: calc(100% - 44px);
  display: grid;
  grid-template-columns: minmax(120px, .55fr) minmax(720px, 4fr) minmax(190px, .72fr) minmax(120px, .55fr);
  gap: 1px;
  padding: 14px;
  background: var(--line-soft);
}
.channel-bank {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(68px, 1fr));
  gap: 1px;
  background: rgba(216, 189, 138, .13);
  overflow-x: auto;
  scrollbar-color: var(--tan) #080604;
}
.channel-strip {
  position: relative;
  min-width: 82px;
  display: grid;
  grid-template-rows: auto auto minmax(76px, 1fr) auto auto;
  gap: .35rem;
  align-items: center;
  justify-items: center;
  padding: .55rem .3rem .45rem;
  background: #090704;
  transition: background .25s, box-shadow .25s;
}
.channel-strip.is-live { background: #171006; box-shadow: inset 0 0 0 1px rgba(255, 227, 166, .22); }
.channel-number { color: #635c52; font: .52rem "Space Mono", monospace; }
.channel-led { width: 7px; height: 7px; border-radius: 50%; background: #332d24; box-shadow: inset 0 0 0 1px #4d4437; }
.channel-strip.is-live .channel-led { background: var(--gold); box-shadow: 0 0 13px rgba(255, 227, 166, .8); }
.channel-fader-wrap { position: relative; width: 100%; height: 100%; min-height: 76px; display: grid; place-items: center; }
.channel-fader-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 5%;
  bottom: 5%;
  width: 2px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(180deg, rgba(216, 189, 138, .35) 0 1px, transparent 1px 9px);
}
.channel-fader {
  position: relative;
  z-index: 2;
  width: 18px;
  height: 100%;
  min-height: 76px;
  margin: 0;
  appearance: slider-vertical;
  writing-mode: vertical-lr;
  direction: rtl;
  accent-color: var(--gold);
  cursor: ns-resize;
}
.channel-solo {
  width: calc(100% - .35rem);
  padding: .28rem .15rem;
  border: 1px solid #41392d;
  background: #110e0a;
  color: #8e8578;
  cursor: pointer;
  font: .52rem "Space Mono", monospace;
  text-transform: uppercase;
}
.channel-solo:hover,
.channel-solo:focus-visible { border-color: var(--tan); color: var(--gold); }
.channel-name {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 3.7em;
  padding: 0 .08rem;
  color: #c8bdad;
  font: 700 clamp(.66rem, .62vw, .74rem)/1.22 "Space Grotesk", sans-serif;
  letter-spacing: .005em;
  text-align: center;
  text-wrap: balance;
}
.channel-strip.is-live .channel-name { color: var(--paper); }

.deck-platter,
.master-deck { background: #080604; }
.deck-platter { position: relative; overflow: hidden; }
.deck-platter::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(12vw, 170px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(216, 189, 138, .24);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #060503 0 7px, #12100c 8px 9px);
  box-shadow: inset 0 0 0 18px rgba(0, 0, 0, .44), 0 0 32px rgba(216, 189, 138, .05);
  animation: spin 11s linear infinite;
}
.deck-platter span {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 22%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--tan);
  box-shadow: 0 0 0 4px #070604;
}
.deck-platter i {
  position: absolute;
  right: 10%;
  top: 17%;
  z-index: 3;
  width: 3px;
  height: 50%;
  transform: rotate(16deg);
  transform-origin: top;
  background: #8c7651;
}
.master-deck {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: .7rem;
}
.master-label { margin: 0; color: var(--tan); font: .56rem "Space Mono", monospace; letter-spacing: .12em; }
.vu-meter { display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; height: 24px; }
.vu-meter span { align-self: end; height: var(--level, 24%); background: #272117; transition: height .25s, background .25s, box-shadow .25s; }
.vu-meter span:nth-child(2) { --level: 42%; }
.vu-meter span:nth-child(3) { --level: 70%; }
.vu-meter span:nth-child(4) { --level: 86%; }
.vu-meter span:nth-child(5) { --level: 60%; }
.vu-meter span:nth-child(6) { --level: 95%; }
.vu-meter span:nth-child(7) { --level: 48%; }
.vu-meter span:nth-child(8) { --level: 25%; }
.soundcheck-shell.has-signal .vu-meter span { background: var(--amber); box-shadow: 0 0 8px rgba(184, 121, 47, .42); }
.master-deck > strong { color: var(--cream); font-size: .72rem; }
.frontier-switch {
  display: grid;
  gap: .2rem;
  padding: .52rem;
  border: 1px solid #342d24;
  background: transparent;
  color: #8f8577;
  text-align: left;
  cursor: pointer;
}
.frontier-switch span { color: var(--tan); font: .5rem "Space Mono", monospace; text-transform: uppercase; }
.frontier-switch b { font-size: .62rem; line-height: 1.25; }
.frontier-switch[aria-pressed="true"] { border-color: var(--gold); color: var(--paper); background: rgba(216, 189, 138, .08); }
.play-room {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  margin-top: auto;
  padding: .65rem .75rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--black);
  cursor: pointer;
  font-weight: 800;
}
.play-room:disabled { border-color: #322c24; background: #17130e; color: #5c554b; cursor: not-allowed; }
.booth-front {
  height: 44px;
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0 1.2rem;
  border-top: 1px solid var(--line-soft);
  background: #030302;
  color: #635c51;
  font: .52rem "Space Mono", monospace;
  letter-spacing: .08em;
}
.booth-front i { height: 1px; background: linear-gradient(90deg, transparent, rgba(216, 189, 138, .2), transparent); }

.solo-drawer {
  position: fixed;
  top: 58px;
  right: 0;
  bottom: 0;
  z-index: 60;
  width: clamp(520px, 50vw, 900px);
  max-width: 92vw;
  overflow-y: auto;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-left: 1px solid rgba(216, 189, 138, .34);
  background: rgba(9, 7, 5, .98);
  box-shadow: -35px 0 90px rgba(0, 0, 0, .72);
  transform: translateX(105%);
  transition: transform .45s var(--ease);
}
.solo-drawer.is-open { transform: none; }
.drawer-close,
.result-close {
  float: right;
  padding: .4rem .55rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: .56rem "Space Mono", monospace;
  text-transform: uppercase;
}
.solo-drawer h2 {
  margin: .7rem 0 1rem;
  color: var(--paper);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: .98;
  letter-spacing: -.04em;
}
.solo-drawer blockquote {
  margin: 0;
  padding: .9rem 1rem;
  border-left: 3px solid var(--tan);
  background: rgba(216, 189, 138, .05);
  color: var(--cream);
  font-size: 1.05rem;
  line-height: 1.45;
}
.drawer-section { margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid var(--line-soft); }
.drawer-section h3 { margin: 0 0 .5rem; color: var(--tan); font: .62rem "Space Mono", monospace; text-transform: uppercase; }
.drawer-section p { margin: 0; color: #aaa093; font-size: .86rem; line-height: 1.55; }
.evidence-link {
  display: grid;
  gap: .25rem;
  margin-top: .65rem;
  padding: .75rem;
  border: 1px solid var(--line-soft);
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.evidence-link:hover,
.evidence-link:focus-visible { border-color: var(--tan); background: rgba(216, 189, 138, .04); }
.evidence-link span { color: var(--cream); font-size: .8rem; line-height: 1.35; }
.evidence-link small { color: #746d63; font: .56rem "Space Mono", monospace; }
.joe-lens { background: rgba(216, 189, 138, .035); padding: 1rem; }
.drawer-mix {
  position: sticky;
  bottom: 0;
  z-index: 1;
  width: 100%;
  margin-top: 1.3rem;
  padding: .8rem 1rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  box-shadow: 0 -1rem 1.5rem rgba(9, 7, 5, .94);
  color: var(--black);
  cursor: pointer;
  font-weight: 800;
}
.drawer-scrim {
  position: fixed;
  inset: 58px 0 0;
  z-index: 55;
  border: 0;
  background: rgba(0, 0, 0, .58);
}

.mix-result {
  position: fixed;
  inset: 58px 0 0;
  z-index: 70;
  overflow-y: auto;
  padding: clamp(1.5rem, 5vw, 5rem) clamp(1.2rem, 7vw, 7rem);
  background:
    radial-gradient(circle at 76% 30%, rgba(216, 189, 138, .12), transparent 28%),
    linear-gradient(135deg, rgba(13, 10, 6, .99), rgba(3, 3, 2, .99));
  opacity: 0;
  visibility: hidden;
  transform: translateY(4%);
  transition: opacity .45s ease, visibility .45s, transform .55s var(--ease);
}
.mix-result.is-open { opacity: 1; visibility: visible; transform: none; }
.mix-result::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .44;
  background-image:
    linear-gradient(rgba(216, 189, 138, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 189, 138, .02) 1px, transparent 1px);
  background-size: 76px 76px;
}
.mix-result > * { position: relative; z-index: 2; }
.result-route-code { color: #6f6659; font: .62rem "Space Mono", monospace; letter-spacing: .16em; }
.mix-result h2 {
  max-width: 12ch;
  margin: .7rem 0 1rem;
  color: var(--paper);
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: .89;
  letter-spacing: -.06em;
}
.result-summary { max-width: 74ch; color: #b5aa9a; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.55; }
.result-grid { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(420px, 1.2fr); gap: clamp(2rem, 6vw, 6rem); margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.result-grid h3 { margin: 0 0 1rem; color: var(--tan); font: .65rem "Space Mono", monospace; text-transform: uppercase; }
.result-grid ul { margin: 0; padding: 0; list-style: none; }
[data-result-signals] li { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--line-soft); color: #a89e90; font-size: .82rem; }
[data-result-signals] b { color: var(--gold); font: .6rem "Space Mono", monospace; }
.joe-stages { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-soft); }
.joe-stages li { display: grid; grid-template-columns: 2rem 1fr; gap: .75rem; padding: 1rem; background: rgba(8, 6, 4, .92); color: #938a7d; font-size: .76rem; line-height: 1.45; }
.joe-stages li > b { color: var(--tan); font: .6rem "Space Mono", monospace; }
.joe-stages strong { display: block; margin-bottom: .2rem; color: var(--cream); font-size: .86rem; }
.result-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.result-actions a,
.result-actions button { padding: .85rem 1rem; border: 1px solid var(--tan); font-weight: 700; text-decoration: none; cursor: pointer; }
.result-primary { background: var(--gold); color: var(--black); }
.result-actions button { background: transparent; color: var(--cream); }
.result-caveat { color: #6e675d; font: .6rem "Space Mono", monospace; }

.noscript-card { max-width: 760px; margin: 8rem auto 2rem; padding: 2rem; border: 1px solid var(--line); }

@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.entry-platter { animation-name: platterSpin; }
@keyframes platterSpin { to { transform: rotate(360deg); } }
@keyframes sweep { from { opacity: .35; } to { opacity: 1; transform: rotate(-8deg); } }

@media (max-width: 1180px) {
  .soundcheck-entry { grid-template-columns: 1fr .75fr; }
  .entry-deck { min-height: 330px; }
  .booth-rail { grid-template-columns: minmax(680px, 1fr) minmax(180px, .28fr); overflow-x: auto; }
  .deck-platter { display: none; }
}

@media (max-width: 820px) {
  body { overflow: auto; }
  .nav-status { display: none; }
  .soundcheck-nav a:last-child { font-size: .52rem; }
  .soundcheck-shell { height: auto; min-height: 100svh; overflow: visible; }
  .soundcheck-entry { position: fixed; grid-template-columns: 1fr; padding: 5rem 1.2rem 2rem; overflow-y: auto; }
  .entry-copy h1 { font-size: clamp(3.2rem, 15vw, 5.5rem); }
  .entry-deck { display: none; }
  .soundcheck-stage { height: auto; min-height: calc(100svh - 58px); grid-template-rows: auto auto auto; }
  .stage-instruction { grid-template-columns: 1fr; gap: .8rem; padding-top: 1.3rem; }
  .instruction-copy { align-items: flex-start; flex-direction: column; }
  .instruction-copy > div { align-self: stretch; }
  .crowd-space { min-height: 410px; }
  .crowd-people { inset-inline: -12%; }
  .crowd-person { width: 38px; height: 92px; }
  .signal-crowd { inset: 0 0 17%; }
  .crowd-signal { max-width: 140px; font-size: .56rem; }
  .crowd-signal:nth-child(n+9) { display: none; }
  .booth { min-height: 480px; }
  .booth-rail { height: auto; min-height: 430px; display: block; padding: 10px; overflow: visible; }
  .channel-bank { grid-template-columns: repeat(12, 82px); min-height: 310px; padding-bottom: .4rem; }
  .master-deck { margin-top: 8px; }
  .channel-strip { min-height: 290px; }
  .booth-front { display: none; }
  .room-readout { align-items: flex-start; flex-direction: column; gap: .15rem; bottom: 4%; text-align: left; }
  .coach-card,
  .soundcheck-coach[data-step="1"] .coach-card,
  .soundcheck-coach[data-step="2"] .coach-card { left: 50%; top: auto; bottom: 1rem; transform: translateX(-50%); }
  .coach-card::after { display: none; }
  .result-grid { grid-template-columns: 1fr; }
  .joe-stages { grid-template-columns: 1fr; }
  .mix-result h2 { font-size: clamp(3rem, 15vw, 5rem); }
  .solo-drawer { width: 100%; max-width: 100%; }
}

@media (max-height: 760px) and (min-width: 821px) {
  .soundcheck-stage { grid-template-rows: auto minmax(132px, 1fr) minmax(285px, 43vh); }
  .stage-instruction { padding-top: .7rem; }
  .stage-instruction h1 { font-size: clamp(1.7rem, 2.8vw, 3rem); }
  .crowd-signal { padding: .3rem .45rem; }
  .booth-rail { padding: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
