:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  background: #0b0b0b;
  color: #f2f2f2;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  padding: clamp(32px, 6vw, 64px) clamp(18px, 4vw, 32px);
}

main { width: min(1100px, 100%); margin: 0 auto; }
header { margin-bottom: clamp(40px, 7vw, 72px); }

h1 {
  margin: 0;
  font-size: clamp(3rem, 12vw, 7rem);
  line-height: 0.85;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.tagline {
  margin-top: 24px;
  max-width: 520px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #aaa;
}

.header-link {
  display: inline-block;
  margin-top: 4px;
  color: #888;
  font-family: monospace;
  font-size: 0.85rem;
  text-underline-offset: 4px;
}

.header-link:hover { color: #f2f2f2; }
.header-link:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.faq-header { margin-bottom: clamp(32px, 5vw, 52px); }

.section-label {
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #333;
  color: #888;
  font-family: monospace;
  font-size: 0.9rem;
  font-weight: normal;
  text-transform: lowercase;
}

.faq { width: min(760px, 100%); }

.faq-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: faq;
}

.faq-item {
  counter-increment: faq;
  padding: clamp(24px, 5vw, 40px) 0;
  border-bottom: 1px solid #333;
}

.faq-question {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 8px;
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 4vw, 1.65rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.faq-question::before {
  content: counter(faq, decimal-leading-zero) ".";
  color: #777;
  font-family: monospace;
  font-size: 0.8em;
  font-weight: normal;
  line-height: 1.6;
}

.faq-answer {
  max-width: 680px;
  margin: 0 0 0 3.5rem;
  color: #bbb;
  font-size: 1rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.faq-answer p { margin: 0; }

.faq-venues {
  margin: 12px 0;
  padding-left: 1.25rem;
}

.faq-venues li { margin: 4px 0; }

.status { margin-bottom: 24px; font-family: monospace; color: #888; }

.events {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.day-jump-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-family: monospace;
  font-size: 0.8rem;
}

.day-jump-nav a { color: #bbb; text-underline-offset: 3px; }
.day-jump-nav a:hover { color: #fff; }
.day-jump-nav a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.day-jump-separator { color: #666; }

.event-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
  scroll-margin-top: 16px;
}

.event-group-heading {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 18px;
  row-gap: 4px;
  margin: 0;
  padding: 10px 0 10px 14px;
  border-left: 3px solid #c58b54;
  border-bottom: 1px solid #333;
  font-family: monospace;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #c58b54;
  text-transform: uppercase;
}

.event-group-heading-note {
  color: #888;
  font-size: 0.75rem;
  font-weight: normal;
  letter-spacing: normal;
  text-transform: none;
}

.event-group-heading-count {
  color: #999;
  font-size: 0.8rem;
  font-weight: normal;
  letter-spacing: normal;
  text-transform: none;
}

.event-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(20px, 4vw, 28px);
  border: 1px solid #333;
  background: #111;
}

.event-card h2 { margin: 0 0 16px; font-size: 1.6rem; overflow-wrap: anywhere; }
.event-card p { margin: 6px 0; line-height: 1.5; color: #bbb; overflow-wrap: anywhere; }
.event-card .venue { color: #fff; font-weight: bold; }
.event-card .genres {
  color: #888;
  font-family: monospace;
  font-size: 0.85rem;
  text-transform: lowercase;
}

.event-card a {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 20px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.event-card a:hover { text-decoration-thickness: 2px; }
.event-card a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.message {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px solid #333;
  background: #111;
  line-height: 1.5;
}

.message.empty { color: #bbb; }
.message.error { border-color: #633; background: #211; color: #fbb; font-family: monospace; }

.site-footer {
  margin-top: clamp(40px, 7vw, 72px);
  padding-top: 18px;
  border-top: 1px solid #222;
  color: #777;
  font-family: monospace;
  font-size: 0.75rem;
  line-height: 1.5;
}

.site-footer p { margin: 0; }

@media (max-width: 420px) {
  .event-group { grid-template-columns: 1fr; }
  .faq-question { grid-template-columns: 2rem minmax(0, 1fr); }
  .faq-answer { margin-left: 2.5rem; }
}
