.livehouse-page {
  position: relative;
  isolation: isolate;
  background: #050505;
}

.livehouse-page::before,
.livehouse-page::after {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
}

.livehouse-page::before {
  background: #050505 url("/assets/livehouse-venue-grit-display-landscape-DERIVED-20260831-v3.png") center center / cover no-repeat;
}

.livehouse-page::after {
  background:
    radial-gradient(circle at 50% 34%, rgba(0, 0, 0, .04) 0 20%, rgba(0, 0, 0, .34) 72%),
    linear-gradient(180deg, rgba(4, 4, 4, .16) 0%, rgba(4, 4, 4, .44) 54%, rgba(4, 4, 4, .64) 100%);
}

.livehouse-page main,
.livehouse-page footer { position: relative; z-index: 1; }

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.12) saturate(.76);
}

.hero-venue-status {
  position: absolute;
  z-index: 3;
  top: 96px;
  right: var(--pad);
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, .38);
  background: rgba(10, 10, 9, .68);
  color: var(--white);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #63d86e;
  box-shadow: 0 0 0 4px rgba(99, 216, 110, .16);
}

.livehouse {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent;
  color: var(--white);
}

.livehouse-page .livehouse { min-height: 100svh; padding-top: 132px; }

.livehouse::before {
  content: "VENUE";
  position: absolute;
  z-index: -1;
  top: 95px;
  right: -3vw;
  color: rgba(255, 255, 255, .035);
  font-size: clamp(160px, 28vw, 470px);
  line-height: .7;
  font-weight: 1000;
  letter-spacing: -.12em;
}

.venue-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, .4fr);
  gap: 48px;
  align-items: end;
  margin-top: 52px;
}

.venue-heading h1,
.venue-heading h2 {
  margin: 0;
  transform: none;
  font-family: "Arial Black", Arial, "Helvetica Neue", sans-serif;
  font-size: clamp(62px, 9.5vw, 150px);
  line-height: .74;
  letter-spacing: -.085em;
  font-weight: 1000;
}

.venue-heading h1 span,
.venue-heading h2 span { color: var(--gold); -webkit-text-stroke: 0; }
.venue-heading h1 { text-shadow: 0 4px 32px rgba(0, 0, 0, .92); }

.venue-board {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .36);
  background: rgba(8, 8, 7, .68);
  -webkit-backdrop-filter: blur(12px) saturate(.7);
  backdrop-filter: blur(12px) saturate(.7);
}

.venue-board span,
.venue-board small {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
}

.venue-board span { color: #7ce587; }
.venue-board strong { font-size: clamp(20px, 2.4vw, 34px); letter-spacing: -.04em; }
.venue-board small { line-height: 1.6; opacity: .7; }

.venue-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  margin-top: 62px;
  border-top: 1px solid rgba(255, 255, 255, .3);
  border-left: 1px solid rgba(255, 255, 255, .3);
}

.venue-card {
  position: relative;
  min-width: 0;
  padding: clamp(25px, 3vw, 42px);
  overflow: hidden;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .3);
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  background: rgba(12, 12, 11, .84);
  color: var(--white);
  text-align: left;
  font: inherit;
  -webkit-backdrop-filter: blur(12px) saturate(.72);
  backdrop-filter: blur(12px) saturate(.72);
}

a.venue-card,
button.venue-card { transition: background .2s ease, color .2s ease, transform .2s ease; cursor: pointer; }
a.venue-card:hover,
button.venue-card:hover { z-index: 2; background: var(--gold); color: var(--ink); transform: translateY(-4px); }

.venue-card h2,
.venue-card h3 {
  margin: 24px 0 20px;
  font-size: clamp(38px, 4.6vw, 72px);
  line-height: .79;
  letter-spacing: -.075em;
}

.venue-card > p:not(.venue-kicker),
.message-layout > div > p {
  margin: 0;
  max-width: 620px;
  font-size: 13px;
  line-height: 1.7;
  font-weight: 600;
  opacity: .78;
}

.venue-kicker {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid currentColor;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
}

.venue-kicker span { color: var(--gold); }
a.venue-card:hover .venue-kicker span,
button.venue-card:hover .venue-kicker span { color: currentColor; }

.venue-action {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding: 16px 3px;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}

.daily-hit { grid-column: span 12; background: rgba(238, 233, 222, .9); color: var(--ink); }
.daily-hit .venue-kicker span { color: var(--red); }
.daily-hit-body { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: end; margin-top: 28px; }
.daily-hit-body small { font-size: 9px; font-weight: 900; letter-spacing: .2em; color: var(--red); }
.daily-hit-body h2,
.daily-hit-body h3 { margin: 12px 0 7px; font-size: clamp(36px, 5.5vw, 82px); }
.daily-hit-body p { margin: 0; max-width: 760px; line-height: 1.6; font-weight: 600; }
.daily-hit-body .venue-action { min-width: 250px; }

.mosh-entry { grid-column: span 7; min-height: 520px; background: rgba(146, 20, 20, .88); }
.mosh-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(220px, .78fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: end;
  margin-top: 28px;
}
.mosh-copy h2 { margin-top: 0; }
.mosh-copy > p:not(.mosh-sound) { margin: 0; font-size: 13px; line-height: 1.7; font-weight: 600; opacity: .82; }
.mosh-sound {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 18px 0 0;
  font-size: 9px;
  line-height: 1.5;
  font-weight: 1000;
  letter-spacing: .1em;
}
.mosh-sound::before { content: ""; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--gold); }
.mosh-preview {
  position: relative;
  margin: 0;
  aspect-ratio: 9 / 11;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .55);
  background: #07040c;
}
.mosh-preview img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.mosh-preview figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 10px 12px;
  background: rgba(7, 4, 12, .84);
  color: #fff6ec;
  font-size: 8px;
  font-weight: 1000;
  letter-spacing: .12em;
}
.quiz-entry { grid-column: span 5; min-height: 520px; }
.venue-card.is-coming-soon { cursor: not-allowed; }
button.venue-card.is-coming-soon:hover {
  z-index: auto;
  background: rgba(12, 12, 11, .84);
  color: var(--white);
  transform: none;
}
.is-coming-soon .venue-kicker b { color: var(--gold); }
.is-coming-soon .venue-action { opacity: .52; }
.coming-soon-cover { display: none; }
.is-coming-soon .coming-soon-cover {
  position: absolute;
  z-index: 8;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(24px, 4vw, 56px);
  overflow: hidden;
  background:
    repeating-linear-gradient(-45deg, transparent 0 16px, rgba(181, 138, 44, .08) 16px 32px),
    rgba(8, 8, 7, .68);
  color: var(--white);
  -webkit-backdrop-filter: blur(2px) saturate(.55);
  backdrop-filter: blur(2px) saturate(.55);
  pointer-events: all;
}
.coming-soon-lockup {
  display: grid;
  justify-items: center;
  width: min(92%, 820px);
  padding: clamp(22px, 4vw, 44px) 18px;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  background: rgba(8, 8, 7, .42);
  text-align: center;
  transform: rotate(-2deg);
}
.coming-soon-lockup small {
  margin-bottom: 13px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: .24em;
}
.coming-soon-lockup strong {
  font-size: clamp(46px, 6.5vw, 96px);
  line-height: .72;
  letter-spacing: -.07em;
}
.venue-big-number { position: absolute; right: -12px; bottom: -64px; color: rgba(255, 255, 255, .1); font-size: 260px; line-height: 1; font-weight: 1000; letter-spacing: -.1em; }

.merch-table { grid-column: span 12; min-height: 420px; background: rgba(181, 138, 44, .94); color: var(--ink); }
.merch-table .venue-kicker span { color: var(--ink); }
.merch-tag { display: inline-block; margin-top: 30px; padding: 8px 10px; border: 1px solid currentColor; font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.merch-layout { display: grid; grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr); gap: clamp(30px, 6vw, 90px); margin-top: 24px; }
.merch-copy h2 { margin-top: 20px; }
.merch-copy p { max-width: 500px; margin: 24px 0 0; font-size: clamp(16px, 1.6vw, 23px); line-height: 1.55; font-weight: 700; }
.merch-products { align-self: start; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; min-width: 0; }
.merch-product { min-width: 0; border: 1px solid rgba(8, 8, 7, .64); background: rgba(238, 233, 222, .92); color: var(--ink); text-decoration: none; transition: transform .18s ease, background .18s ease, color .18s ease; }
.merch-product:hover { background: var(--ink); color: var(--white); transform: translateY(-4px) rotate(-.35deg); }
.merch-product img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-bottom: 1px solid currentColor; background: #d1ad59; }
.merch-product-meta { display: grid; gap: 7px; padding: 12px; }
.merch-product-meta small { overflow: hidden; color: currentColor; font-size: 8px; font-weight: 900; letter-spacing: .12em; text-overflow: ellipsis; white-space: nowrap; opacity: .65; }
.merch-product-meta strong { display: -webkit-box; overflow: hidden; min-height: 2.7em; font-size: 12px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.merch-product-meta b { font-size: 13px; letter-spacing: .04em; }
.merch-status { grid-column: 1 / -1; align-self: center; margin: 0; padding: clamp(34px, 7vw, 90px) 24px; border: 1px dashed rgba(8, 8, 7, .58); font-size: 11px; line-height: 1.8; font-weight: 900; letter-spacing: .09em; text-align: center; }
.merch-table > .venue-action { margin-top: 30px; }

.message-booth { grid-column: span 12; background: rgba(238, 233, 222, .9); color: var(--ink); }
.message-booth .venue-kicker span { color: var(--red); }
.message-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 8vw, 120px); margin-top: 34px; }
.message-layout h3 { margin-top: 0; }
#message-form { display: grid; gap: 17px; }
#message-form label { display: grid; gap: 8px; font-size: 9px; font-weight: 900; letter-spacing: .16em; }
#message-form label small { letter-spacing: .05em; opacity: .58; }
#message-form input,
#message-form select,
#message-form textarea {
  width: 100%;
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 13px 14px;
  background: transparent;
  color: var(--ink);
  font: 600 15px/1.5 Arial, sans-serif;
}
#message-form textarea { resize: vertical; }
#message-form :focus { outline: 3px solid rgba(181, 138, 44, .38); outline-offset: 2px; }
.form-submit { width: 100%; border-right: 0; border-left: 0; background: transparent; color: inherit; cursor: pointer; }
.form-submit:disabled { cursor: wait; opacity: .5; }
.form-status { margin: 0; min-height: 1.5em; font-size: 12px; line-height: 1.5; }
.form-status[data-state="success"] { color: #176b2e; font-weight: 800; }
.form-status[data-state="error"] { color: var(--red); font-weight: 800; }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.quiz-dialog {
  width: min(900px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 1px solid var(--white);
  background: var(--ink);
  color: var(--white);
}
.quiz-dialog::backdrop { background: rgba(0, 0, 0, .88); backdrop-filter: blur(8px); }
.dialog-close-row { position: sticky; z-index: 3; top: 0; display: flex; justify-content: flex-end; background: var(--ink); }
.dialog-close-row button { padding: 16px 20px; border: 0; border-left: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(255,255,255,.35); background: transparent; color: var(--white); font-size: 10px; font-weight: 900; letter-spacing: .14em; cursor: pointer; }
.quiz-shell { padding: clamp(26px, 6vw, 74px); padding-top: 22px; }
.quiz-shell h2 { margin: 0; font-size: clamp(58px, 10vw, 112px); line-height: .72; letter-spacing: -.08em; }
.quiz-shell h2 span { color: var(--gold); }
#quiz-intro { margin: 28px 0 34px; line-height: 1.7; opacity: .72; }
.quiz-question { margin: 0 0 34px; padding: 24px; border: 1px solid rgba(255,255,255,.32); }
.quiz-question legend { padding: 0 8px; font-size: 17px; line-height: 1.5; font-weight: 900; }
.quiz-choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; }
.quiz-choice { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px; border: 1px solid rgba(255,255,255,.24); font-size: 13px; cursor: pointer; }
.quiz-choice:has(input:checked) { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.quiz-choice input { accent-color: var(--gold); }
.quiz-submit { width: 100%; padding: 19px; border: 0; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 1000; letter-spacing: .14em; cursor: pointer; }
.quiz-result { margin-top: 32px; padding: 28px; border: 2px solid var(--gold); }
.quiz-result strong { display: block; color: var(--gold); font-size: clamp(52px, 9vw, 90px); line-height: .82; letter-spacing: -.07em; }
.quiz-result h3 { margin: 12px 0; font-size: 28px; }
.quiz-review { margin: 20px 0 0; padding: 0; list-style: none; }
.quiz-review li { padding: 13px 0; border-top: 1px solid rgba(255,255,255,.25); font-size: 12px; line-height: 1.6; }
.quiz-review b { color: var(--gold); }

[hidden] { display: none !important; }

@media (min-width: 901px) {
  .venue-grid {
    width: min(100%, 1560px);
    margin-right: auto;
    margin-left: auto;
    box-shadow: 0 30px 100px rgba(0, 0, 0, .24);
  }

  .venue-card {
    background: rgba(12, 12, 11, .74);
    -webkit-backdrop-filter: blur(9px) saturate(.76);
    backdrop-filter: blur(9px) saturate(.76);
  }

  .daily-hit,
  .message-booth { background: rgba(238, 233, 222, .82); }
  .mosh-entry { background: rgba(146, 20, 20, .8); }
  .merch-table { background: rgba(181, 138, 44, .84); }
  .venue-card.is-coming-soon { background: rgba(12, 12, 11, .66); }
  .is-coming-soon .coming-soon-cover { background-color: rgba(8, 8, 7, .5); }
}

@media (max-width: 900px) {
  .venue-heading,
  .daily-hit-body,
  .message-layout { grid-template-columns: 1fr; }
  .venue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .venue-card,
  .daily-hit,
  .message-booth { grid-column: span 2; }
  .mosh-entry,
  .quiz-entry { grid-column: span 1; }
  .mosh-layout { grid-template-columns: 1fr; }
  .mosh-preview { aspect-ratio: 16 / 10; }
  .daily-hit-body .venue-action { min-width: 0; }
  .merch-layout { grid-template-columns: 1fr; }
  .merch-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .hero-video { position: relative; width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .hero-venue-status { top: 76px; right: 14px; }
  .livehouse::before { top: 130px; }
  .venue-heading { margin-top: 42px; }
  .venue-heading h1,
  .venue-heading h2 { font-size: clamp(58px, 19vw, 78px); }
  .venue-grid { grid-template-columns: 1fr; margin-top: 44px; }
  .venue-card,
  .daily-hit,
  .message-booth,
  .mosh-entry,
  .quiz-entry,
  .merch-table { grid-column: 1; min-height: 0; }
  .venue-card { padding: 25px 21px; }
  .venue-card h2,
  .venue-card h3 { font-size: 48px; }
  .venue-big-number { font-size: 170px; }
  .coming-soon-lockup strong { font-size: clamp(46px, 13vw, 78px); }
  .quiz-choices { grid-template-columns: 1fr; }
  .merch-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none !important; }
  .venue-card { transition: none; }
}

@media (orientation: portrait) {
  .livehouse-page::before {
    background-image: url("/assets/livehouse-venue-grit-display-portrait-9x16-DERIVED-20260831-v4.png");
    background-position: center top;
  }

  .livehouse-page .livehouse { padding-top: 112px; }
  .venue-heading,
  .daily-hit-body,
  .message-layout { grid-template-columns: 1fr; }
  .venue-heading { gap: 26px; margin-top: 38px; }
  .venue-heading h1,
  .venue-heading h2 { font-size: clamp(54px, 13vw, 96px); }
  .venue-grid { grid-template-columns: 1fr; margin-top: 36px; }
  .venue-card,
  .daily-hit,
  .message-booth,
  .mosh-entry,
  .quiz-entry,
  .merch-table { grid-column: 1; min-height: 0; }
  .venue-card h2,
  .venue-card h3 { font-size: clamp(36px, 10vw, 56px); }
  .mosh-layout { grid-template-columns: 1fr; }
  .mosh-preview { aspect-ratio: 16 / 10; }
  .daily-hit-body .venue-action { min-width: 0; }
}

@media (max-width: 760px) and (orientation: portrait) {
  .venue-heading {
    min-width: 0;
    gap: 20px;
    margin-top: 30px;
  }

  .venue-heading > * { min-width: 0; }

  .venue-heading h1,
  .venue-heading h2 {
    max-width: 100%;
    font-size: clamp(40px, 12.5vw, 56px);
    line-height: .8;
  }

  .venue-heading h1 span,
  .venue-heading h2 span {
    display: block;
    max-width: 100%;
    white-space: nowrap;
  }

  .venue-board {
    width: 100%;
    min-width: 0;
    gap: 10px;
    padding: 18px;
  }

  .venue-board > * {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .venue-board strong { font-size: clamp(18px, 6vw, 24px); }
}

@media (max-width: 340px) {
  .merch-products { grid-template-columns: 1fr; }
}
