:root {
  color-scheme: dark;
  --bg: #101722;
  --surface: #172231;
  --line: #344355;
  --text: #f4f6f8;
  --muted: #bdcad8;
  --accent: #f5bb64;
  font-family: system-ui, sans-serif;
  line-height: 1.55;
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }
body, figure, h1, h2, p, dl, dd { margin: 0; }
main { min-height: 65vh; }
a { color: var(--accent); text-underline-offset: .24em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.skip { position: absolute; z-index: 1; padding: .75rem; background: var(--bg); transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.wrap { width: min(100% - 2.5rem, 71rem); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.wordmark { display: block; width: clamp(8rem, 30vw, 15rem); max-width: 100%; }
.wordmark img { display: block; width: 100%; height: auto; }
nav { display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; }
nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; font-weight: 650; }
nav a:hover, nav a[aria-current] { color: var(--text); text-decoration: underline; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .65rem 1rem;
  border: 1px solid transparent;
  border-radius: .25rem;
  background: var(--accent);
  color: #161920;
  text-decoration: none;
  font-weight: 750;
  text-align: center;
}
.button:hover { background: #ffd694; }
.featured-video { width: min(100% - 2.5rem, 75rem); margin-block: clamp(1rem, 3vw, 2rem) 0; }
.featured-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
.playlist-link { margin-top: 1rem; background: transparent; border-color: currentColor; color: var(--text); }
.playlist-link:hover { background: var(--surface); }
.eyebrow { color: var(--accent); font-size: .875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2 { line-height: 1.05; }
h1 { font-size: clamp(2.65rem, 7vw, 5rem); letter-spacing: -.055em; }
.page-intro h1 { margin-block: .6rem 1rem; }
.lede { max-width: 34rem; font-size: clamp(1.1rem, 2.2vw, 1.4rem); color: var(--muted); }
.page-section { padding-block: clamp(2.5rem, 7vw, 5rem); }
.page-intro { margin-bottom: 2rem; }
.events, .contact-grid { display: grid; gap: 1rem; }
.events { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr)); list-style: none; padding: 0; margin: 0; }
.event, .panel { padding: clamp(1rem, 3vw, 1.6rem); background: var(--surface); border: 1px solid var(--line); border-radius: .35rem; }
.event { display: flex; flex-direction: column; }
.event h2 { font-size: 1.3rem; margin-block: .55rem .4rem; }
.location, .panel p { color: var(--muted); }
.event-meta { display: flex; align-items: center; gap: .45rem 1rem; flex-wrap: wrap; margin-top: auto; padding-top: 1rem; }
.status { padding: .15rem .5rem; border-radius: .2rem; font-size: .875rem; font-weight: 650; }
.confirmed { color: #b3f0d3; background: #214238; }
.pending { color: #ffe0a8; background: #493725; }
.contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel h2, .panel p { margin-bottom: 1rem; }
.home-intro { max-width: 54rem; margin-block: clamp(1.5rem, 4vw, 3rem); padding: clamp(1.25rem, 4vw, 3rem); }
.home-intro h1 { font-size: clamp(2.15rem, 6vw, 4.25rem); margin-bottom: 1rem; }
.home-intro .home-tagline { color: var(--accent); font-size: clamp(1.2rem, 3vw, 1.65rem); font-weight: 750; }
.home-highlights { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 1.5rem 0 0; list-style: none; }
.home-highlights li { padding: .45rem .75rem; border: 1px solid var(--line); border-radius: 1rem; font-weight: 650; }
.panel dt { font-weight: 700; }
.panel dd + dt { margin-top: .75rem; }
.panel a { overflow-wrap: anywhere; }
#booking:target { border-color: var(--accent); }
.fan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1rem; padding: 0; margin: 0; list-style: none; }
.fan-photo { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: .35rem; background: var(--surface); }
#fans-content > .page-intro, .fan-gallery-title { text-align: center; }
.fan-stories { display: grid; gap: clamp(1.5rem, 4vw, 3rem); max-width: 56rem; margin: 0 auto 3rem; }
.fan-stories p { max-width: 44rem; color: var(--muted); font-size: 1.1rem; }
.fan-story { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1rem 2rem; align-items: center; }
.fan-story img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fan-school figure { margin-top: 1rem; }
.fan-school img { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; }
.fan-school figcaption { margin-top: .5rem; color: var(--muted); }
.fan-gallery-title { margin-bottom: 1rem; }
.fan-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fan-viewer { max-width: min(92vw, 72rem); max-height: 92vh; padding: .75rem; border: 1px solid var(--line); border-radius: .35rem; background: var(--bg); }
.fan-viewer { max-height: 92dvh; }
.fan-viewer::backdrop { background: rgb(0 0 0 / .85); }
.fan-viewer form { display: flex; justify-content: end; margin-bottom: .75rem; }
.fan-viewer img { display: block; max-width: 100%; max-height: 75vh; width: auto; height: auto; margin-inline: auto; }
.fan-viewer img { max-height: 75dvh; }
footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { flex-wrap: wrap; }

@media (max-width: 42rem) {
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; padding-bottom: .35rem; }
  nav { grid-row: 2; grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .fan-story { grid-template-columns: minmax(0, 1fr); }
}
