/* Colors and fonts are set from content.js (theme). These are fallbacks. */
:root {
  --bg: #0c0b14;
  --surface: #161427;
  --text: #f5f1ff;
  --muted: #a39fbd;
  --accent: #ff3d7f;
  --accent2: #3de0ff;
  --accent-text: #ffffff;
  --line: color-mix(in srgb, var(--text) 12%, transparent);
  --glow: 0 0 18px color-mix(in srgb, var(--accent) 55%, transparent);
  --font-head: Impact, "Arial Black", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.05; margin: 0 0 .5em; }
h2 { font-size: clamp(1.9rem, 5.5vw, 3rem); text-transform: uppercase; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.link { text-decoration: none; border-bottom: 1px solid currentColor; }
.link:hover { color: var(--accent2); }
.eyebrow { font-weight: 800; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent2); margin-bottom: .8rem; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--accent); color: var(--accent-text); padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--accent2); outline-offset: 3px; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 48px; padding: 0 1.5em; border-radius: 999px;
  background: var(--accent); color: var(--accent-text); border: 2px solid var(--accent);
  font: 800 .92rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap; box-shadow: var(--glow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 28px color-mix(in srgb, var(--accent) 75%, transparent); }
.btn--ghost { background: transparent; color: var(--text); border-color: color-mix(in srgb, var(--text) 40%, transparent); box-shadow: none; }
.btn--ghost:hover { border-color: var(--accent2); color: var(--accent2); box-shadow: none; }
.btn--dark { background: var(--bg); color: var(--text); border-color: var(--bg); box-shadow: none; }
.btn--small { min-height: 40px; padding: 0 1.1em; font-size: .8rem; }
.btn--disabled, .btn--disabled:hover { background: transparent; color: var(--muted); border-color: var(--line); box-shadow: none; cursor: default; transform: none; }
.btn.is-low { background: #ffb020; border-color: #ffb020; color: #1a1200; box-shadow: 0 0 18px rgba(255,176,32,.5); }

/* ── Demo banner ─────────────────────────────────────── */
.demo-banner {
  position: relative; z-index: 60; text-align: center; font-size: .85rem; font-weight: 600;
  padding: 8px var(--gutter); color: #fff;
  background: repeating-linear-gradient(-45deg, var(--accent), var(--accent) 14px, color-mix(in srgb, var(--accent) 80%, #000) 14px, color-mix(in srgb, var(--accent) 80%, #000) 28px);
}
.demo-banner a { font-weight: 800; }
@media (max-width: 640px) { .demo-banner { font-size: .75rem; padding: 6px 12px; line-height: 1.4; } }

/* ── Nav ─────────────────────────────────────────────── */
.nav { position: fixed; left: 0; right: 0; top: 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.demo-banner:not([hidden]) ~ .nav { position: sticky; }
.demo-banner:not([hidden]) ~ main .hero { margin-top: -72px; }
.nav.is-scrolled, .nav.is-open {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo { font-family: var(--font-head); font-size: 1.3rem; text-decoration: none; text-transform: uppercase; }
.nav__menu { display: flex; align-items: center; gap: 1.5rem; }
.nav__menu a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .9rem; letter-spacing: .05em; text-transform: uppercase; opacity: .85; }
.nav__menu a:not(.btn):hover { opacity: 1; color: var(--accent2); }
.nav__toggle { display: none; }
@media (max-width: 860px) {
  .nav__toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 48px; height: 48px; margin-right: -10px; padding: 12px; background: none; border: 0; cursor: pointer; color: var(--text); }
  .nav__toggle span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__menu { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .nav.is-open .nav__menu { display: flex; }
  .nav__menu a:not(.btn) { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav__menu .btn { margin-top: 16px; min-height: 52px; }
}

/* ── Hero ────────────────────────────────────────────── */
.hero { position: relative; min-height: 92svh; display: flex; align-items: flex-end; padding: 130px 0 clamp(48px, 8vh, 88px); overflow: hidden; isolation: isolate; }
.hero__img, .hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__img img { object-fit: cover; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--bg) 3%, color-mix(in srgb, var(--bg) 60%, transparent) 45%, color-mix(in srgb, var(--bg) 15%, transparent) 80%); }
.hero__name {
  font-size: clamp(3rem, 12vw, 7.5rem); line-height: .95; margin-bottom: .25em; text-transform: uppercase;
  text-shadow: 0 0 10px color-mix(in srgb, var(--accent) 60%, transparent), 0 0 40px color-mix(in srgb, var(--accent) 45%, transparent);
}
.hero__tagline { font-size: clamp(1.1rem, 2.6vw, 1.45rem); max-width: 34ch; margin-bottom: .8rem; }
.hero__schedule {
  display: inline-block; font-weight: 700; color: var(--accent2); border: 1px solid color-mix(in srgb, var(--accent2) 50%, transparent);
  border-radius: 999px; padding: 6px 16px; margin-bottom: 1.8rem; font-size: .95rem;
  background: color-mix(in srgb, var(--bg) 55%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Next show spotlight ─────────────────────────────── */
.next { position: relative; z-index: 2; margin-top: -8px; }
.next__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  background: var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: 20px; padding: clamp(22px, 4vw, 34px); box-shadow: 0 0 40px color-mix(in srgb, var(--accent) 18%, transparent);
  max-width: calc(var(--wrap) - 2 * var(--gutter));
}
.next__label { display: inline-block; margin: 0 0 8px; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; background: var(--accent); color: var(--accent-text); border-radius: 999px; padding: 4px 12px; }
.next__when { font-weight: 800; font-size: 1.15rem; margin: 0; color: var(--accent2); }
.next__title { font-family: var(--font-head); font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.1; margin: 4px 0; }
.next__lineup { margin: 0; font-weight: 600; }
.next__venue { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }
.next .btn { min-height: 56px; font-size: 1rem; }
@media (max-width: 640px) { .next .btn { width: 100%; } }

/* ── Sections ────────────────────────────────────────── */
.section { padding: clamp(64px, 10vw, 104px) 0; }
.section--alt { background: var(--surface); }
.section--accent { background: var(--accent); color: var(--accent-text); }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1.5rem; margin-bottom: 1.8rem; }
.section__head h2, .section__head p { margin: 0; }

/* ── Shows ───────────────────────────────────────────── */
.shows { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.show {
  display: grid; grid-template-columns: 76px 1fr auto; align-items: center; gap: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px;
  transition: border-color .15s;
}
.show:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.show__date { display: flex; flex-direction: column; align-items: center; line-height: 1; text-transform: uppercase; border-right: 1px solid var(--line); padding-right: 16px; }
.show__dow { font-size: .7rem; font-weight: 800; letter-spacing: .12em; color: var(--muted); }
.show__day { font-family: var(--font-head); font-size: 2.2rem; margin: 5px 0 3px; }
.show__mon { font-size: .74rem; font-weight: 800; letter-spacing: .12em; color: var(--accent); }
.show__title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-weight: 800; font-size: 1.12rem; margin: 0; }
.show__lineup { margin: 2px 0 0; font-weight: 600; color: var(--accent2); }
.show__meta { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.show__note { margin: 4px 0 0; font-size: .85rem; color: #ffb020; }
.show--sold { opacity: .55; }
.tag { font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--accent2); color: var(--accent2); white-space: nowrap; }
.tag.is-low { border-color: #ffb020; color: #ffb020; }
.tag.is-sold { border-color: var(--line); color: var(--muted); }
.shows__more { margin-top: 24px; }
.shows__empty { padding: 28px; color: var(--muted); background: var(--surface); border-radius: var(--radius); }
@media (max-width: 640px) {
  .show { grid-template-columns: 58px 1fr; gap: 10px 14px; padding: 14px 16px; }
  .show__date { grid-row: span 2; align-self: start; padding-right: 12px; }
  .show__day { font-size: 1.9rem; }
  .show__action { grid-column: 2; }
}

/* ── Quotes ──────────────────────────────────────────── */
.quotes { padding: clamp(40px, 7vw, 72px) 0; border-top: 1px solid var(--line); }
.quotes__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px 48px; }
.quote { margin: 0; }
.quote blockquote { margin: 0 0 .5rem; font-size: clamp(1.15rem, 2.4vw, 1.4rem); font-weight: 700; line-height: 1.35; }
.quote figcaption { color: var(--accent2); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }

/* ── Venue ───────────────────────────────────────────── */
.venue { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 64px); align-items: center; }
.venue__name { font-size: 1.5rem; margin-bottom: .2em; color: var(--accent2); }
.venue__address { display: inline-block; font-weight: 600; margin-bottom: 1.4rem; }
.venue__details { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0 0 1.8rem; }
.venue__details dt { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); padding-top: 4px; }
.venue__details dd { margin: 0; }
.venue__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 760px) {
  .venue { grid-template-columns: 1fr; }
  .venue__img { order: -1; }
  .venue__details { grid-template-columns: 1fr; gap: 2px; }
  .venue__details dd { margin-bottom: 10px; }
}

/* ── Alumni ──────────────────────────────────────────── */
.alumni { text-align: center; }
.alumni__list { list-style: none; padding: 0; margin: 0 auto; max-width: 900px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.alumni__list li { font-family: var(--font-head); font-size: clamp(1.1rem, 2.6vw, 1.5rem); text-transform: uppercase; }
.alumni__list li:nth-child(3n+1) { color: var(--accent); }
.alumni__list li:nth-child(3n+2) { color: var(--accent2); }

/* ── Gallery ─────────────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery__item { overflow: hidden; border-radius: 12px; aspect-ratio: 1; }
.gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery__item:hover img { transform: scale(1.05); }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; gap: 8px; } }

/* ── Perform form ────────────────────────────────────── */
.perform { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.perform__form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3.5vw, 32px); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font: 500 1rem var(--font-body);
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent2) 25%, transparent); }
.perform__thanks { margin: 0; font-weight: 700; color: var(--accent2); }
@media (max-width: 760px) { .perform { grid-template-columns: 1fr; } .perform__form { grid-template-columns: 1fr; } }

/* ── Newsletter ──────────────────────────────────────── */
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: center; }
.newsletter p { margin: 0; font-weight: 500; }
.newsletter__form { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter__form input { flex: 1 1 220px; min-height: 52px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--bg); background: #fff; color: #111; font: 500 1rem var(--font-body); }
.newsletter__form .btn { min-height: 52px; }
.newsletter__thanks { flex-basis: 100%; font-weight: 700; }
@media (max-width: 760px) { .newsletter { grid-template-columns: 1fr; } }

/* ── FAQ ─────────────────────────────────────────────── */
.faq { max-width: 800px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font-weight: 700; font-size: 1.05rem; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 1.6rem; font-weight: 400; transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { color: var(--muted); padding-bottom: 8px; }

/* ── Contact / footer ────────────────────────────────── */
.contact { text-align: center; }
.contact__email { display: inline-block; font-family: var(--font-head); font-size: clamp(1.2rem, 4.5vw, 2.2rem); color: var(--accent2); text-decoration: none; overflow-wrap: anywhere; }
.contact__email:hover { text-shadow: 0 0 16px color-mix(in srgb, var(--accent2) 60%, transparent); }
.footer { padding: 44px 0 calc(44px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer p { margin: 0; }
.social { list-style: none; display: flex; gap: 10px; padding: 0; margin: 0; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); transition: color .15s, border-color .15s; }
.social a:hover { color: var(--accent2); border-color: var(--accent2); }
.social svg { width: 20px; height: 20px; }

/* ── Sticky phone CTA ────────────────────────────────── */
.sticky-cta { display: none; }
@media (max-width: 640px) {
  .sticky-cta:not([hidden]) {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 40;
    min-height: 54px; border-radius: 999px; background: var(--accent); color: var(--accent-text); text-decoration: none;
    font-weight: 800; letter-spacing: .08em; text-transform: uppercase; box-shadow: var(--glow), 0 10px 30px rgba(0,0,0,.45);
    transition: transform .25s, opacity .25s;
  }
  .sticky-cta.is-away { transform: translateY(140%); opacity: 0; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
