:root {
  --ink: #121417;
  --ink-soft: #1C1E21;
  --charcoal: #2E3033;
  --stone: #6B6E70;
  --cream: #FAF7F2;
  --cream-2: #F0E9DD;
  --brass: #BC9864;
  --brass-dark: #9E7D4E;
  --brass-light: #D9BE9B;
  --paper: #FFFFFF;
  --success: #2E7D5B;
  --error: #C25B5B;
  --overlay: rgba(18,20,23,0.55);
  --overlay-strong: rgba(18,20,23,0.78);
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --h1: clamp(3rem, 8vw, 5.5rem);
  --h2: clamp(1.75rem, 4vw, 2.5rem);
  --h3: clamp(1.25rem, 3vw, 1.6rem);
  --radius-card: 12px;
  --radius-pill: 999px;
  --radius-input: 8px;
  --shadow-card: 0 8px 30px rgba(18,20,23,0.08);
  --shadow-dark: 0 2px 12px rgba(0,0,0,0.35);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
  --space-9: 128px;
  --container: 1160px;
  --nav-height: 64px;
  --nav-height-mobile: 48px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

ul, ol {
  list-style: none;
}

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

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

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1001;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: var(--radius-input);
  box-shadow: var(--shadow-card);
  transform: translateY(-150%);
  transition: transform 180ms ease;
  font-weight: 600;
  font-size: var(--text-sm);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

main {
  flex: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height-mobile);
  background: rgba(18,20,23,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--cream);
  white-space: nowrap;
}

.brand span {
  color: var(--brass);
}

.nav-primary {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav-primary a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--cream);
  position: relative;
  padding: 4px 0;
  transition: color 180ms ease;
}

.nav-primary a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--brass);
  transition: width 180ms ease;
}

.nav-primary a:hover,
.nav-primary a:focus-visible {
  color: var(--brass-light);
}

.nav-primary a:hover::after,
.nav-primary a:focus-visible::after {
  width: 100%;
}

.nav-primary a[aria-current="page"] {
  color: var(--brass);
}

.nav-primary a[aria-current="page"]::after {
  width: 100%;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--brass);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--brass);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn-pill:hover,
.btn-pill:focus-visible {
  background: var(--brass-dark);
  border-color: var(--brass-dark);
  color: var(--paper);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  border-radius: 8px;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
}

#site-drawer,
#mySidenav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(84vw, 360px);
  height: 100vh;
  height: 100dvh;
  background: var(--ink);
  color: var(--cream);
  z-index: 1000;
  padding: 24px;
  padding-top: 72px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: -8px 0 30px rgba(0,0,0,0.35);
}

#site-drawer[data-open="true"],
#mySidenav[data-open="true"] {
  transform: translateX(0);
}

#site-drawer a,
#mySidenav a {
  display: block;
  padding: 12px 8px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--cream);
  border-radius: 8px;
  transition: background 180ms ease, color 180ms ease;
}

#site-drawer a:hover,
#site-drawer a:focus-visible,
#mySidenav a:hover,
#mySidenav a:focus-visible {
  background: rgba(255,255,255,0.06);
  color: var(--brass-light);
}

#site-drawer a[aria-current="page"],
#mySidenav a[aria-current="page"] {
  color: var(--brass);
}

.drawer-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
}

.drawer-close:hover,
.drawer-close:focus-visible {
  color: var(--brass-light);
  background: rgba(255,255,255,0.06);
}

#nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
  border: 0;
  padding: 0;
}

#nav-overlay[data-open="true"] {
  opacity: 1;
  visibility: visible;
}

.hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}

.hero--large {
  min-height: 82vh;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.65;
}

.hero--index .hero-media { object-position: center 30%; }
.hero--audio .hero-media { object-position: center 18%; }
.hero--upcoming .hero-media { object-position: center 20%; }
.hero--support .hero-media { object-position: center 22%; }
.hero--contact .hero-media { object-position: center 28%; }

@media (max-width: 700px) {
  .hero--audio .hero-media,
  .hero--upcoming .hero-media,
  .hero--support .hero-media { object-position: center top; }
  .hero--index .hero-media { object-position: center center; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--overlay), var(--overlay-strong));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
  padding-inline: 24px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.7);
  margin-bottom: 16px;
}

.hero h1,
.page-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: var(--h1);
  line-height: 0.95;
  color: var(--cream);
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
  margin-bottom: 16px;
}

.page-title {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
}

.hero-sub {
  font-size: var(--text-base);
  color: rgba(250,247,242,0.85);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(250,247,242,0.7);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.section {
  padding: 96px 0;
}

.section--alt {
  background: var(--cream-2);
}

.card {
  background: var(--paper);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.card--dark {
  background: var(--ink-soft);
  color: var(--cream);
  box-shadow: var(--shadow-dark);
}

.card--overlap {
  margin-top: -48px;
  position: relative;
  z-index: 2;
}

.card--upcoming {
  margin-top: -24px;
  position: relative;
  z-index: 2;
}

.card--narrow {
  max-width: 720px;
  margin-inline: auto;
}

.card--support {
  max-width: 560px;
  margin: -32px auto 0;
  text-align: center;
  padding: 40px 32px;
}

h2 {
  font-size: var(--h2);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

h3 {
  font-size: var(--h3);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

.card--dark h2,
.card--dark h3 {
  color: var(--cream);
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 6px;
}

.icon-row {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 32px 0;
}

.icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: var(--brass);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-dark);
}

.icon-circle img {
  width: 55%;
  height: 55%;
  object-fit: contain;
}

.divider-brass {
  width: 48px;
  height: 3px;
  background: var(--brass);
  border: 0;
  margin: 16px 0;
}

.divider-brass--center {
  margin-inline: auto;
}

.members {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.member {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.member-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-card);
  background: var(--cream-2);
}

.member-body h3 {
  margin-bottom: 4px;
}

.member-body .bio {
  color: var(--charcoal);
  margin-top: 12px;
}

.gigs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gig {
  padding: 20px 20px 20px 19px;
  border-left: 3px solid var(--brass);
  background: var(--cream);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gig-when {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--stone);
  letter-spacing: 0.02em;
}

.gig-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.gig-where {
  font-size: var(--text-sm);
  color: var(--charcoal);
}

.gigs-empty {
  text-align: center;
  color: var(--stone);
  padding: 24px;
}

.gigs-error {
  text-align: center;
  color: var(--error);
  padding: 24px;
}

.btn-retry {
  margin-top: 12px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  font-size: var(--text-sm);
  cursor: pointer;
}

.audio-card {
  max-width: 640px;
  margin: -32px auto 0;
  background: var(--ink-soft);
  color: var(--cream);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-dark);
  text-align: center;
  position: relative;
  z-index: 2;
}

.audio-card audio {
  width: 100%;
  border-radius: 8px;
  accent-color: var(--brass);
}

.audio-fallback {
  padding: 16px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-input);
  font-size: var(--text-sm);
}

.audio-caption {
  color: rgba(250,247,242,0.7);
  margin-top: 14px;
  font-size: var(--text-sm);
}

.audio-fallback a {
  color: var(--brass-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-qr {
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  width: 260px;
  height: 260px;
  object-fit: contain;
  background: var(--paper);
}

.support-actions {
  margin-top: 16px;
}

.support-divider {
  margin-top: 28px;
}

.support-note {
  margin-top: 16px;
  color: var(--stone);
  font-weight: 500;
}

.dbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.dbox {
  text-align: center;
  padding: 24px 16px;
}

.dbox .icon-circle {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
}

.dbox p {
  font-size: var(--text-sm);
  color: rgba(250,247,242,0.75);
  margin-top: 4px;
}

.dbox a {
  color: var(--brass-light);
  word-break: break-all;
}

.dbox a:hover,
.dbox a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-wrap {
  max-width: 960px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.form-group {
  margin-bottom: 16px;
}

.form-control {
  width: 100%;
  height: 52px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-input);
  background: rgba(255,255,255,0.06);
  color: var(--cream);
  font-family: inherit;
  font-size: var(--text-sm);
  transition: border-color 180ms ease, background 180ms ease;
}

.form-control::placeholder {
  color: rgba(250,247,242,0.55);
}

.form-control:focus {
  border-color: var(--brass);
  background: rgba(255,255,255,0.09);
  outline: none;
}

textarea.form-control {
  height: auto;
  min-height: 160px;
  resize: vertical;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: var(--brass);
  color: var(--ink);
  border: 1px solid var(--brass);
  font-weight: 600;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--brass-dark);
  border-color: var(--brass-dark);
  color: var(--paper);
}

.form-message {
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius-input);
  font-size: var(--text-sm);
  margin-bottom: 16px;
}

#form-message-success {
  background: rgba(46,125,91,0.15);
  color: var(--success);
  border: 1px solid rgba(46,125,91,0.25);
}

#form-message-warning {
  background: rgba(194,91,91,0.12);
  color: var(--error);
  border: 1px solid rgba(194,91,91,0.22);
}

.form-message[data-visible="true"] {
  display: block;
}

.submitting {
  display: none;
  font-size: var(--text-sm);
  color: var(--stone);
  margin-top: 8px;
}

.not-found-card {
  text-align: center;
}

.not-found-links {
  margin-top: 12px;
}

.not-found-links a {
  color: var(--brass);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  background: var(--ink);
  color: rgba(250,247,242,0.7);
  padding: 32px 0;
  text-align: center;
  font-size: var(--text-sm);
  margin-top: auto;
}

.site-footer a {
  color: var(--brass-light);
}

.contact-wrap--inner {
  max-width: none;
  margin: 0;
  gap: 0;
}

.contact-heading {
  text-align: center;
  margin-bottom: 16px;
  color: var(--cream);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 640px) {
  .hero {
    padding: 96px 0;
  }
  .card--support {
    padding: 40px 32px;
  }
}

@media (min-width: 700px) {
  .dbox-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .site-header {
    height: var(--nav-height);
  }
  .nav-toggle {
    display: none;
  }
  .nav-primary {
    display: flex;
  }
  #site-drawer,
  #mySidenav {
    display: none !important;
  }
  #nav-overlay {
    display: none !important;
  }
  .member {
    grid-template-columns: 1.15fr 1fr;
    gap: 40px;
  }
  .member:nth-child(even) .member-media {
    order: 2;
  }
  .member:nth-child(even) .member-body {
    order: 1;
  }
  .dbox-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .section {
    padding: 96px 0;
  }
}

@media (min-width: 1160px) {
  .container {
    padding-inline: 24px;
  }
}

@media (max-width: 899px) {
  .nav-primary {
    display: none;
  }
  .site-header .btn-pill {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 56px 0;
  }
  .card {
    padding: 24px;
  }
  .icon-row {
    gap: 20px;
  }
}
