/* ===========================
   OPTIMIZED THEME TOKENS
   =========================== */
:root {
  /* Brand colors — derived from logo palette */
  --ink: #000000;           /* Pure black — space vibes */
  --night: #0A0A0F;         /* Card backgrounds — near-black */
  --mist: #0F0F18;          /* Input backgrounds */
  --text: #F0F0FF;          /* Primary text — bright starlight */
  --muted: #9BA8CC;         /* Secondary text */
  --accent: #E07050;        /* Warm coral (logo center glow) */

  /* Gradient — matches logo's blue → purple → magenta */
  --g1: 220 50% 65%;        /* Steel blue (letter faces) */
  --g2: 268 55% 58%;        /* Purple (letter gradient mid) */
  --g3: 340 65% 58%;        /* Magenta/pink (letter outlines) */
  --aura: linear-gradient(135deg, hsl(var(--g1)) 0%, hsl(var(--g2)) 45%, hsl(var(--g3)) 100%);

  /* Typography scale (fluid) */
  --fs-300: clamp(0.98rem, 0.9rem + 0.4vw, 1.06rem);
  --fs-400: clamp(1.06rem, 0.95rem + 0.8vw, 1.25rem);
  --fs-600: clamp(1.35rem, 1.1rem + 2.2vw, 2.1rem);
  --fs-700: clamp(2.4rem, 1.5rem + 5vw, 4.5rem);

  /* Spacing scale */
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;

  /* Design tokens */
  --radius: 14px;
  --shadow: 0 8px 24px rgba(0,0,0,.35);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.18);
  --container-max: 64rem;
  
  /* Animation */
  --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
  --transition-fast: 0.15s var(--ease-out);
  --transition: 0.2s var(--ease-out);
}

/* ===========================
   RESET & BASE
   =========================== */
*,
*::before,
*::after { 
  box-sizing: border-box; 
}

html { 
  color-scheme: dark; 
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #000 url('assets/body-bg.jpg') center / cover fixed;
  color: var(--text);
  font-family: 'Rajdhani', system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.6;
  padding-bottom: env(safe-area-inset-bottom);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 0;
  pointer-events: none;
}

#content,
.site-header,
.site-footer,
.sticky-cta {
  position: relative;
  z-index: 2;
}

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

h1, h2, h3, h4 {
  font-family: 'Oswald', 'Bebas Neue', Impact, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* ===========================
   UTILITIES
   =========================== */
.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;
}

.muted { color: var(--muted); }
.hidden { display: none !important; }

:focus-visible {
  outline: 2px solid hsl(var(--g2));
  outline-offset: 2px;
}

:target { scroll-margin-top: 4.5rem; }

/* ===========================
   LAYOUT
   =========================== */
.container {
  width: min(100%, var(--container-max));
  padding-inline: var(--sp-4);
  margin-inline: auto;
}

section { 
  padding-block: var(--sp-8); 
}

/* ===========================
   HEADER
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(0,0,0,.85);
  border-bottom: 1px solid rgba(232,236,243,.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
  padding-block: 0.75rem;
}

.brand { 
  display: inline-flex; 
  align-items: center; 
  gap: var(--sp-3);
  transition: transform var(--transition-fast);
}

.brand:active {
  transform: scale(0.98);
}

.nav-logo {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--text);
  border-radius: 0.5rem;
  transition: background var(--transition-fast);
}

.menu-toggle:hover {
  background: rgba(232,236,243,.06);
}

.primary-nav {
  position: relative;
}

.primary-nav .nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--night);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 12.5rem;
  border: 1px solid rgba(232,236,243,.12);
}

.primary-nav.open .nav-list {
  display: grid;
  gap: 2px;
  padding: 0.5rem;
  animation: slideIn var(--transition);
}

@keyframes slideIn {
  from { 
    opacity: 0; 
    transform: translateY(-0.5rem); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

.primary-nav .nav-list a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background var(--transition-fast);
}

.primary-nav .nav-list a:is(:hover, :focus) {
  background: rgba(232,236,243,.06);
  color: var(--accent);
}
.primary-nav .nav-list a:active {
  animation: glitchNav 0.3s steps(2, end);
}
@keyframes glitchNav {
  0%   { text-shadow: -2px 0 var(--g1), 2px 0 var(--g2); transform: translate(-1px, 1px); }
  20%  { text-shadow: 2px 0 var(--g2), -2px 0 var(--g3); transform: translate(1px, -1px); opacity: 0.8; }
  40%  { text-shadow: -1px 0 var(--g3), 1px 0 var(--g1); transform: translate(0, 1px); }
  60%  { text-shadow: 1px 0 var(--g1), -1px 0 var(--g2); transform: translate(-1px, 0); opacity: 0.9; }
  80%  { text-shadow: -2px 0 var(--g2), 2px 0 var(--g3); transform: translate(1px, 1px); }
  100% { text-shadow: none; transform: translate(0); opacity: 1; }
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.125rem;
  border-radius: 62.5rem;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--transition);
  touch-action: manipulation;
  user-select: none;
  min-height: 2.75rem;
  border: none;
  cursor: pointer;
}

.btn-primary {
  color: var(--ink);
  background: var(--aura);
  box-shadow: 0 0 1.5rem rgba(120,80,180,.25);
}

.btn-primary:hover { 
  box-shadow: 0 0 2rem rgba(120,80,180,.35);
  transform: translateY(-1px);
}

.btn-primary:active { 
  transform: translateY(0); 
}

.btn-epk {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--accent);
}

.btn-epk:hover { 
  box-shadow: 0 0 1rem rgba(224,112,80,.25);
  background: rgba(224,112,80,.05);
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(232,236,243,.12);
}

.btn-ghost:hover {
  background: rgba(232,236,243,.06);
  border-color: rgba(232,236,243,.2);
}

/* ===========================
   HERO
   =========================== */
.hero {
  padding: 0;
  position: relative;
  margin-top: -4rem; /* tuck under the sticky header */
}

.hero-img-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  border-radius: 0;
  background: #000;
}

.hero-img-full {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-main-logo {
  position: absolute;
  top: 6rem;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(14rem, 40%, 28rem);
  opacity: 0.92;
  z-index: 2;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.75) 100%);
  z-index: 1;
}

.sub {
  font-size: var(--fs-400);
  color: rgba(240,240,255,.8);
  margin: 0 auto var(--sp-6);
  line-height: 1.75;
  max-width: 52ch;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}

/* ===========================
   SECTIONS & CARDS
   =========================== */
.section-title {
  font-size: clamp(1.6rem, 1.2rem + 2.5vw, 2.8rem);
  font-weight: 400;
  margin: 0 0 var(--sp-6);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(224,112,80,.35), transparent);
  margin-left: 0.75rem;
}

/* About sub-sections */

/* Centered column for the whole section — story and member cards share the same
   edges, so a readable measure doesn't leave the text pinned to the left with a
   wide empty gutter beside it. */
.about-general {
  max-width: 46rem;
  margin-inline: auto;
}

.about-general h3 {
  font-size: var(--fs-400);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--sp-4);
}

.about-general p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 var(--sp-4);
}

.about-general p:last-child {
  margin-bottom: var(--sp-8);
}

/* ===========================
   SHOWS
   =========================== */
.shows-list { 
  display: grid; 
  /* minmax(0,1fr) instead of the implicit 1fr: an auto-min track refuses to
     shrink below the flyer's intrinsic width and pushes the card off-screen */
  grid-template-columns: minmax(0, 1fr); 
  gap: 1.25rem; 
}

.show {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(232,236,243,.06);
  background: var(--night);
  transition: all var(--transition);
}

.show:hover {
  border-color: rgba(232,236,243,.15);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.date-pill {
  width: 6rem;
  text-align: center;
  font-weight: 700;
  border-radius: 0.75rem;
  padding: 1rem 0.5rem;
  background: rgba(232,236,243,.06);
}

.date-pill .month { 
  letter-spacing: 0.08em; 
  font-size: 0.85rem; 
  color: var(--muted);
}

.date-pill .day { 
  font-size: 2.4rem; 
  line-height: 1.1; 
  color: var(--text);
}

.show-title { 
  margin: 0 0 0.4rem 0; 
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem); 
  font-weight: 600;
}

.show .meta {
  font-size: 0.95rem;
  margin: 0 0 0.35rem 0;
}

.show .show-where {
  margin-bottom: 1.15rem;
  opacity: 0.8;
}

.meta { 
  color: var(--muted); 
  font-size: 0.9rem; 
  margin: 0 0 0.75rem 0;
}

.actions { 
  display: flex; 
  gap: 0.5rem; 
  flex-wrap: wrap; 
}

/* Show flyer thumbnail. Scoped with :has() so shows without a flyer keep the
   original two-column layout untouched. */
.show-thumb {
  display: block;
  /* grid items default to min-width:auto, which refuses to shrink below the
     image's intrinsic 800px and overflows the card on narrow screens */
  min-width: 0;
  max-width: 100%;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(232,236,243,.08);
  transition: border-color var(--transition), transform var(--transition);
}

.show-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.show-thumb:hover {
  border-color: var(--accent);
  transform: scale(1.02);
}

.show:has(.show-thumb) {
  grid-template-areas:
    "pill  body"
    "thumb thumb";
}

.show:has(.show-thumb) .date-pill  { grid-area: pill; }
.show:has(.show-thumb) .show-body  { grid-area: body; }
.show:has(.show-thumb) .show-thumb { grid-area: thumb; }

/* Wide enough for the flyer to sit inline as its own column */
/* On a phone the vertical pill steals a third of the card, wrapping the title
   to three lines and stacking every button. Single column, pill as a chip. */
@media (max-width: 39.99rem) {
  .show,
  .show:has(.show-thumb) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "pill"
      "body"
      "thumb";
    gap: 0.9rem;
    justify-items: start;
  }

  .date-pill {
    width: auto;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
  }

  .date-pill .day {
    font-size: 1.5rem;
  }

  .show-body,
  .show-thumb {
    justify-self: stretch;
  }
}

@media (min-width: 40rem) {
  .show {
    padding: 1.75rem;
    gap: 1.5rem;
  }
  .show:has(.show-thumb) {
    grid-template-columns: auto auto 1fr;
    grid-template-areas: "pill thumb body";
  }
  .show:has(.show-thumb) .show-thumb { width: 11rem; }
}

@media (min-width: 64rem) {
  .show:has(.show-thumb) .show-thumb { width: 16rem; }
}

.form {
  display: grid;
  gap: 1rem;
}

.input,
textarea,
select {
  width: 100%;
  padding: 0.875rem 1rem;
  color: var(--text);
  background: var(--mist);
  border: 1px solid rgba(232,236,243,.12);
  border-radius: 0.75rem;
  font: inherit;
  transition: all var(--transition);
}

.input:focus,
textarea:focus,
select:focus {
  border-color: hsl(var(--g2));
  box-shadow: 0 0 0 3px rgba(120,80,180,.15);
  outline: 2px solid transparent;
}

.input::placeholder { 
  color: color-mix(in oklab, var(--muted), #fff 10%); 
}

/* ===========================
   BAND MEMBERS
   =========================== */
.member-card {
  display: flex;
  align-items: center;
  background: var(--night);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: var(--sp-6) 0;
  padding: var(--sp-6);
  gap: var(--sp-6);
  border: 1px solid rgba(232,236,243,.06);
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
}

.member-card:hover {
  border-color: rgba(224,112,80,.2);
}

/* No bio to open, so don't invite a click */
.member-card.static {
  cursor: default;
}

.member-card.static:hover {
  border-color: rgba(232,236,243,.06);
}

.member-card.expanded {
  /* Flex kept the bio in a narrow column beside a tall empty gap. Block flow
     with a floated photo lets the text wrap past it and use the full width. */
  display: block;
  border-color: rgba(224,112,80,.35);
  box-shadow:
    var(--shadow),
    0 0 20px rgba(224,112,80,.12),
    0 0 40px rgba(120,80,180,.08);
}

/* Photo sits right on every card. The alternating layout these classes were
   meant to drive never actually took effect: the JS swapped DOM order too,
   which cancelled the row-reverse out. Flip .left to `row` to turn it on. */
.member-card.left,
.member-card.right {
  flex-direction: row-reverse;
}

.member-info {
  flex: 1;
  min-width: 0;
}

.member-info h3 {
  margin: 0 0 var(--sp-2) 0;
  font-size: var(--fs-600);
  color: var(--accent);
}

.member-info h4 {
  margin: 0 0 var(--sp-3) 0;
  font-weight: 500;
  font-size: var(--fs-300);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.member-info p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}

.member-card.expanded .member-info p {
  /* -webkit-box ignores floats; block lets the lines wrap around the photo */
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}

.member-img {
  flex: 0 0 8.75rem;
  display: grid;
  place-items: center;
  transition: all 0.4s var(--ease-out);
}

.member-card.expanded .member-img {
  float: right;
  width: 7rem;
  margin: 0 0 var(--sp-4) var(--sp-6);
}

.member-card.expanded::after {
  content: "";
  display: block;
  clear: both;
}

.member-img img {
  width: 8.75rem;
  height: 8.75rem;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(232,236,243,.12);
  transition: all 0.4s var(--ease-out);
}

.member-card.expanded .member-img img {
  width: 7rem;
  height: 7rem;
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(224,112,80,.25);
}

/* Expand hint */
.member-expand-hint {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: var(--sp-3);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.member-card.expanded .member-expand-hint {
  opacity: 0;
}

/* ===========================
   VIDEO CAROUSEL
   =========================== */
.video-carousel {
  padding-block: 4rem;
  background: rgba(5,5,10,0.6);
  border-top: 1px solid rgba(232,236,243,.06);
  border-bottom: 1px solid rgba(232,236,243,.06);
}

.carousel-wrapper {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
}

.carousel-container {
  display: flex;
  transition: transform 0.5s var(--ease-out);
}

.carousel-slide {
  flex: 0 0 100%;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}

.video-thumbnail {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--night);
  border: 1px solid rgba(232,236,243,.06);
  box-shadow: var(--shadow);
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.carousel-slide:hover .video-thumbnail img {
  transform: scale(1.05);
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.9;
  transition: all var(--transition);
  pointer-events: none;
}

.carousel-slide:hover .play-overlay {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  transform: translateY(0.5rem);
  transition: transform var(--transition);
  pointer-events: none;
}

.carousel-slide:hover .video-info {
  transform: translateY(0);
}

.video-info h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.video-info p {
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.duration {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0,0,0,0.8);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  pointer-events: none;
}

/* Inline video player */
.inline-video {
  display: none;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: #000;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.carousel-slide.playing {
  z-index: 20;
}

.carousel-slide.playing .video-thumbnail {
  opacity: 0;
}

.carousel-slide.playing .inline-video {
  display: block;
}

/* Video controls styling */
.inline-video::-webkit-media-controls-panel {
  background-color: rgba(0, 0, 0, 0.9);
}

.inline-video::-webkit-media-controls-play-button,
.inline-video::-webkit-media-controls-mute-button {
  filter: invert(1);
}

/* Carousel Navigation */
.carousel-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--sp-6);
  padding: 0 var(--sp-4);
}

.nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--night);
  border: 1px solid rgba(232,236,243,.12);
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
}

.nav-btn:hover {
  background: var(--mist);
  border-color: rgba(232,236,243,.2);
  transform: scale(1.05);
}

.nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: rgba(232,236,243,.3);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.dot.active,
.dot:hover {
  background: var(--accent);
  transform: scale(1.2);
}

.autoplay-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid rgba(232,236,243,.12);
  color: var(--muted);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
}

.autoplay-toggle:hover {
  color: var(--text);
  border-color: rgba(232,236,243,.2);
}

.autoplay-toggle.active {
  color: var(--accent);
  border-color: var(--accent);
}

/* ===========================
   STICKY BOTTOM BAR
   =========================== */
.sticky-cta {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: calc(0.75rem + env(safe-area-inset-bottom)) var(--sp-4) 0.75rem;
  backdrop-filter: blur(0.75rem);
  background: rgba(0,0,0,.9);
  border-top: 1px solid rgba(232,236,243,.06);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  padding: var(--sp-8) 0 var(--sp-12);
  color: var(--muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

/* Set in letterspaced caps to echo the printed business card */
.footer-tagline {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--text);
  opacity: 0.85;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-logo {
  height: 32px;
  width: 32px;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid rgba(232,236,243,.06);
  padding-top: var(--sp-6);
}

.footer-contact {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--muted);
  text-align: right;
}

.footer-contact a {
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-contact .sep {
  margin: 0 0.2rem;
  opacity: 0.4;
}

@media (max-width: 47.9375rem) {
  .footer-contact {
    text-align: left;
  }
}
/* ===========================
   PHOTO BREAK / TITLE CARDS
   =========================== */
.photo-break {
  width: 100%;
  height: 22rem;
  overflow: hidden;
  position: relative;
}

.photo-break img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(0.2) contrast(1.1);
  transition: transform 0.6s ease, filter 0.6s ease;
  z-index: 0;
}

.photo-break::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Title cards use their own overlay, kill the ::after */
.title-card::after {
  display: none;
}

/* Title card overlay + text */
.title-card .title-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  transition: background 0.5s ease;
  z-index: 1;
}

.title-card-text {
  position: absolute;
  top: auto;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, var(--container-max));
  padding-inline: var(--sp-4);
  z-index: 2;
  font-family: 'Oswald', 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  margin: 0;
  pointer-events: none;
  transition: color 0.5s ease, text-shadow 0.5s ease;
}

/* Hover: accent color pop */
.title-card:hover .title-card-overlay {
  background: rgba(224,112,80,0.35);
}

.title-card:hover img {
  transform: scale(1.03);
  filter: grayscale(0) contrast(1.15);
}

.title-card:hover .title-card-text {
  color: var(--accent);
  text-shadow: 0 0 30px rgba(224,112,80,0.4), 0 2px 12px rgba(0,0,0,0.6);
}


.btn-sm {
  padding: 0.5rem 0.875rem;
  font-size: 0.95rem;
  min-height: 2.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.show-body {
  min-width: 0;
}

/* ===========================
   SETLIST / WHAT WE COVER
   =========================== */
#shows {
  padding-block: 4.5rem 4rem;
}
#contact {
  padding-block: 1rem 2.5rem;
}
#setlist {
  padding-block: 4rem;
}
#about {
  padding-block: 4rem;
}
#epk {
  padding-block: 4rem;
}
.setlist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2) var(--sp-8);
  max-width: 36rem;
}
.setlist-grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 54rem;
}

/* Three fixed columns of band names can't fit a phone, and auto-min tracks
   refuse to shrink — that pushed the whole page into horizontal scroll. */
@media (max-width: 39.99rem) {
  .setlist-grid,
  .setlist-grid-3 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--sp-2) var(--sp-4);
  }
}

.setlist-col {
  list-style: none;
  padding: 0;
  margin: 0;
}

.setlist-col li {
  font-family: 'Oswald', 'Bebas Neue', Impact, sans-serif;
  font-size: var(--fs-600);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  padding: var(--sp-2) 0;
  border-bottom: 1px solid rgba(232,236,243,.06);
  color: var(--text);
}

.setlist-col li:last-child {
  border-bottom: none;
  color: var(--accent);
}

/* ===========================
   SIGNUP STRIP
   =========================== */
.signup-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4) var(--sp-6);
  padding: var(--sp-6);
  border: 1px solid rgba(232,236,243,.06);
  border-radius: var(--radius);
  background: rgba(10,10,15,.6);
}

.signup-text {
  flex: 1;
  min-width: 14rem;
}

.signup-text .section-title {
  margin-bottom: var(--sp-2);
  font-size: clamp(1.2rem, 1rem + 1.5vw, 1.8rem);
}

.signup-text .muted {
  margin: 0;
}

.form-inline {
  display: flex;
  gap: 0.75rem;
  flex: 1;
  min-width: 14rem;
  flex-wrap: wrap;
}

.form-inline .input {
  flex: 1;
  min-width: 8rem;
}

.form-inline .btn {
  white-space: nowrap;
}

/* ===========================
   FORM SUCCESS MESSAGE
   =========================== */
/* Bot trap. Off-screen rather than display:none, which bots learned to skip. */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  margin-top: var(--sp-4);
  padding: var(--sp-4);
  border: 1px solid rgba(224,112,80,.4);
  border-radius: 0.5rem;
  background: rgba(224,112,80,.08);
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}

.form-success {
  padding: var(--sp-6) var(--sp-4);
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: var(--fs-600);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  animation: fadeIn 0.4s ease-out;
}

/* ===========================
   BOOKING FORM (cardless)
   =========================== */
.booking-form {
  max-width: 40rem;
}

/* ===========================
   RESPONSIVE BREAKPOINTS
   =========================== */

/* Large mobile / Small tablet */
@media (min-width: 40rem) {
  .member-card {
    gap: var(--sp-8);
  }
  
  .member-img {
    flex: 0 0 11.25rem;
  }

  .member-img img {
    width: 11.25rem;
    height: 11.25rem;
  }

  /* Expanded photo shrinks and floats; flex-basis no longer applies to it */
  .member-card.expanded .member-img {
    width: 8rem;
  }

  .member-card.expanded .member-img img {
    width: 8rem;
    height: 8rem;
  }
}

/* Tablet */
@media (min-width: 48rem) {
  .primary-nav .nav-list {
    display: flex;
    gap: 0.5rem;
    position: static;
    background: none;
    box-shadow: none;
    border: none;
    padding: 0;
    min-width: auto;
  }

  .primary-nav .nav-list a {
    padding: 0.625rem 0.875rem;
  }

  .menu-toggle {
    display: none;
  }

  .sticky-cta {
    display: none;
  }

  .carousel-nav {
    padding: 0;
  }

  .show {
    grid-template-columns: auto 1fr auto;
  }
}

/* Desktop */
@media (min-width: 64rem) {
  .nav {
    padding-block: 0.75rem;
  }
}

/* Mobile-specific optimizations */
@media (max-width: 47.9375rem) {
  body {
    background-attachment: scroll;
  }

  .video-info {
    padding: 1rem 1rem 1rem 1rem;
  }
  
  .video-info h3 {
    font-size: 1rem;
  }
  
  .video-info p {
    font-size: 0.8rem;
  }
  
  .carousel-nav {
    flex-direction: column;
    gap: 1rem;
  }
  
  .autoplay-toggle {
    order: -1;
  }
}

/* ===========================
   VISUAL EFFECTS
   =========================== */

/* --- Floating Particles --- */
#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: fixed;
  width: 3px;
  height: 3px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  z-index: 1;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered cascade for member cards */
.reveal-stagger:nth-child(1) { transition-delay: 0s; }
.reveal-stagger:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger:nth-child(3) { transition-delay: 0.24s; }
.reveal-stagger:nth-child(4) { transition-delay: 0.36s; }
.reveal-stagger:nth-child(5) { transition-delay: 0.48s; }

/* --- Film Grain Overlay --- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 101;
  opacity: 0.35;
}

/* --- Scanlines Overlay --- */
#scanlines {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
  z-index: 100;
}

/* --- Glitch Text on Hover --- */
.glitch {
  position: relative;
  cursor: default;
}

.glitch:hover {
  animation: glitchText 0.3s ease-in-out;
  text-shadow:
    2px 0 hsl(var(--g1)),
    -2px 0 hsl(var(--g3));
}

@keyframes glitchText {
  0%   { transform: translate(0); }
  20%  { transform: translate(-3px, 2px); }
  40%  { transform: translate(3px, -2px); }
  60%  { transform: translate(-2px, -1px); }
  80%  { transform: translate(2px, 1px); }
  100% { transform: translate(0); }
}

/* --- Glitch Text for Title Cards --- */
.glitch-card {
  cursor: default;
}

.title-card:hover .glitch-card {
  animation: glitchCard 0.4s steps(2, end);
}

@keyframes glitchCard {
  0%   { transform: translateX(-50%); text-shadow: 0 2px 12px rgba(0,0,0,0.6); }
  10%  { transform: translateX(-50%) translate(-4px, 2px); text-shadow: 4px 0 hsl(var(--g1)), -4px 0 hsl(var(--g3)), 0 2px 12px rgba(0,0,0,0.6); }
  20%  { transform: translateX(-50%) translate(3px, -1px); text-shadow: -3px 0 hsl(var(--g1)), 3px 0 hsl(var(--g3)), 0 2px 12px rgba(0,0,0,0.6); }
  30%  { transform: translateX(-50%) translate(0, 3px); text-shadow: 2px 0 hsl(var(--g1)), -2px 0 hsl(var(--g3)), 0 2px 12px rgba(0,0,0,0.6); opacity: 0.85; }
  40%  { transform: translateX(-50%) translate(-2px, -2px); text-shadow: -4px 0 hsl(var(--g1)), 4px 0 hsl(var(--g3)), 0 2px 12px rgba(0,0,0,0.6); }
  50%  { transform: translateX(-50%); text-shadow: 0 2px 12px rgba(0,0,0,0.6); opacity: 1; }
  60%  { transform: translateX(-50%) translate(4px, 1px); text-shadow: 3px 0 hsl(var(--g1)), -3px 0 hsl(var(--g3)), 0 2px 12px rgba(0,0,0,0.6); }
  70%  { transform: translateX(-50%) translate(-3px, -2px); text-shadow: -2px 0 hsl(var(--g1)), 2px 0 hsl(var(--g3)), 0 2px 12px rgba(0,0,0,0.6); opacity: 0.9; }
  80%  { transform: translateX(-50%) translate(2px, 1px); text-shadow: 4px 0 hsl(var(--g1)), -4px 0 hsl(var(--g3)), 0 2px 12px rgba(0,0,0,0.6); }
  90%  { transform: translateX(-50%); opacity: 1; }
  100% { transform: translateX(-50%); text-shadow: 0 0 20px rgba(224,112,80,0.3), 0 2px 12px rgba(0,0,0,0.6); }
}

/* ===========================
   ACCESSIBILITY & PERFORMANCE
   =========================== */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }

  .glitch:hover,
  .title-card:hover .glitch-card,
  .primary-nav .nav-list a:active {
    animation: none;
  }

  .carousel-container {
    transition: none;
  }

  .particle,
  #particles,
  #scanlines {
    display: none !important;
  }

  .title-card:hover img,
  .carousel-slide:hover .video-thumbnail img {
    transform: none;
  }
}

@media (prefers-contrast: high) {
  .btn {
    border-width: 2px;
  }
}

/* Enhanced focus for keyboard navigation */
@media (prefers-reduced-motion: no-preference) {
  .btn:focus-visible {
    transform: translateY(-1px);
  }
}

/* Print styles */
@media print {
  .sticky-cta,
  .video-carousel {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
}