:root {
  color-scheme: dark;
  --bg: #000;
  --fg: #fff;
  --muted: #aaa;
  --line: rgba(255,255,255,.72);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  background: transparent;
  color: var(--fg);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: .01em;
}

a { color: inherit; }

.site-background {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

/* Safari/iOS may block autoplay (notably in Low Power Mode) and otherwise
   draw a large native play triangle over a background video. Keep the video
   decorative and suppress all native media controls/overlays. */
.site-background::-webkit-media-controls,
.site-background::-webkit-media-controls-enclosure,
.site-background::-webkit-media-controls-panel,
.site-background::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(0,0,0,.48);
  pointer-events: none;
}

.site-header {
  position: relative;
  height: 118px;
  display: grid;
  place-items: center;
  padding: 0 48px;
  border-bottom: 0;
}

.wordmark {
  font-weight: 800;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  letter-spacing: .045em;
  text-transform: uppercase;
  text-decoration: none;
}

.menu-button {
  position: absolute;
  left: 48px;
  top: 50%;
  width: 38px;
  height: 30px;
  transform: translateY(-50%);
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  position: absolute;
  left: 0;
  width: 36px;
  height: 1px;
  background: #fff;
  transition: transform .2s ease, top .2s ease;
}

.menu-button span:first-child { top: 9px; }
.menu-button span:last-child { top: 20px; }

.menu-button[aria-expanded="true"] span:first-child {
  top: 15px;
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  top: 15px;
  transform: rotate(-45deg);
}

.site-menu {
  position: absolute;
  z-index: 20;
  top: 85px;
  left: 42px;
  display: none;
  min-width: 220px;
  padding: 14px 0;
  background: #000;
  border: 1px solid rgba(255,255,255,.32);
}

.site-menu.open { display: grid; }

.site-menu a {
  padding: 10px 18px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .75rem;
}

.site-menu a:hover,
.site-menu a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page {
  width: min(var(--max), calc(100% - 96px));
  margin: 0 auto;
}

/* Contact */
.contact-page {
  min-height: calc(100svh - 182px);
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(60px, 9vw, 135px);
  align-items: center;
  padding: clamp(12px, 2.4vh, 30px) 0;
}

.contact-intro {
  max-width: 390px;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  text-align: center;
}

.contact-intro p + p { margin-top: 28px; }

.contact-form {
  display: grid;
  gap: clamp(12px, 1.8vh, 18px);
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: .95rem;
  font-weight: 600;
}

.contact-form small {
  color: var(--muted);
  font-size: .9em;
  font-weight: 400;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  padding: clamp(9px, 1.3vh, 12px) 14px;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: #fff;
  box-shadow: 0 0 0 1px #fff;
}

textarea {
  min-height: clamp(88px, 13vh, 112px);
  resize: vertical;
}

.submit-button {
  justify-self: start;
  padding: 11px 22px;
  border: 1px solid #fff;
  border-radius: 0;
  background: transparent;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .06em;
  font: inherit;
  cursor: pointer;
}

.submit-button:hover,
.submit-button:focus-visible {
  background: #fff;
  color: #000;
}

.submit-button[disabled] {
  opacity: .5;
  cursor: wait;
}

.form-status {
  margin: 0;
  color: var(--muted);
}

.form-status:empty {
  display: none;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

/* About */
.about-page {
  min-height: calc(100svh - 208px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  grid-template-areas: "photo copy";
  gap: clamp(44px, 6vw, 88px);
  align-items: center;
  padding: 28px 0;
}

.about-photo {
  grid-area: photo;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.about-photo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100svh - 264px);
  object-fit: contain;
}

.about-copy {
  grid-area: copy;
  max-width: 560px;
  text-align: center;
  justify-self: center;
}

.about-copy h1 {
  margin: 0 0 34px;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1;
}

.about-copy p {
  margin: 0 auto 26px;
  max-width: 520px;
  font-size: clamp(.95rem, 1.35vw, 1.15rem);
  line-height: 1.45;
  font-weight: 600;
}

.about-copy p:last-of-type { margin-bottom: 0; }

.inline-link {
  text-underline-offset: 4px;
}

/* Shows */
.shows-page {
  padding: 18px 0 40px;
}

.shows-header {
  margin-bottom: 46px;
  text-align: center;
}

.shows-header h1 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  line-height: 1;
}

.shows-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

.show-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(240px, 34%) 1fr;
  grid-template-areas: "photo info";
  column-gap: clamp(24px, 4vw, 52px);
  align-items: center;
  text-align: left;
}

.show-photo {
  grid-area: photo;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #111;
}

.show-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.show-info {
  grid-area: info;
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.show-venue {
  margin: 0 0 8px;
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1.03;
  letter-spacing: .015em;
}

.show-date {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.35;
  font-weight: 600;
}

.show-slot {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: clamp(.95rem, 1.2vw, 1.08rem);
  line-height: 1.35;
  font-weight: 600;
  text-transform: capitalize;
}

.shows-empty,
.shows-error,
.shows-loading {
  grid-column: 1 / -1;
  color: var(--muted);
  text-align: center;
}

/* Footer */
.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 90px;
  padding: 24px;
  border-top: 0;
  font-size: .82rem;
  font-weight: 600;
}

.contact-page + .site-footer {
  min-height: 64px;
  padding: 14px 24px;
}

.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.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;
}

@media (max-width: 820px) {
  .site-header {
    height: 94px;
    padding: 0 24px;
  }

  .menu-button { left: 24px; }
  .site-menu { left: 20px; top: 72px; }

  .page {
    width: min(100% - 40px, var(--max));
  }

  .contact-page {
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
    padding: 30px 0 48px;
  }

  .contact-intro {
    max-width: 100%;
    text-align: left;
  }

  .contact-intro p {
    margin-top: 0;
    margin-bottom: 0;
  }

  .contact-intro p + p {
    margin-top: 16px;
  }

  .contact-form {
    gap: 12px;
  }

  .contact-form label {
    gap: 4px;
  }

  .field-row {
    gap: 12px;
  }

  .about-page {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "photo";
    gap: 48px;
    padding: 50px 0 72px;
  }

  .about-copy {
    max-width: 620px;
  }

  .about-copy h1 {
    margin-bottom: 30px;
  }

  .about-copy p {
    font-size: 1rem;
  }

  .about-photo img {
    width: 100%;
    max-height: none;
    height: auto;
  }

  .shows-grid {
    grid-template-columns: 1fr;
  }

  .show-card {
    grid-template-columns: minmax(190px, 36%) 1fr;
    column-gap: 24px;
  }

  .site-footer { flex-wrap: wrap; }
}

@media (max-width: 540px) {
  .wordmark { font-size: .9rem; }

  .menu-button { width: 30px; }
  .menu-button span { width: 28px; }

  .contact-page {
    gap: 28px;
    padding: 26px 0 42px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .about-page {
    gap: 40px;
    padding-top: 44px;
  }

  .about-copy h1 {
    margin-bottom: 26px;
    font-size: 2.2rem;
  }

  .about-copy p {
    margin-bottom: 24px;
    font-size: .98rem;
  }

  .shows-page {
    padding-top: 18px;
  }

  .shows-header {
    margin-bottom: 38px;
  }

  .shows-header h1 {
    font-size: 2rem;
  }

  .shows-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .show-card {
    grid-template-columns: 38% 1fr;
    column-gap: 16px;
  }

  .show-venue {
    margin-bottom: 5px;
    font-size: 1.15rem;
  }

  .show-date {
    font-size: .9rem;
  }
}
