:root {
  color-scheme: dark;
  --ink: #070614;
  --text: #ece9f8;
  --mute: #b0adcf;
  --pink: #ff62c3;
  --pink-deep: #e0309f;
  --blue: #2f6bff;
  --ice: #a9cdf5;
  --line: rgba(110, 150, 255, 0.28);
  --panel: rgba(8, 8, 26, 0.66);
  --display: "Oxanium", "Arial Narrow", system-ui, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 4.5rem); scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: inherit; }

/* The brick wall runs behind every page. Bricks are semi-transparent so the
   plum-to-navy gradient shows through, like the light on the sign. */
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-color: var(--ink);
  background-image:
    url("bricks.svg"),
    linear-gradient(180deg, #1d0a2c 0%, #2a0a36 9%, #170f33 32%, #0a1233 66%, #070b24 100%);
  background-size: 384px 176px, 100% 100%;
  background-repeat: repeat, no-repeat;
}
main { flex: 1; display: flex; flex-direction: column; }
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(72rem, 100% - 2.5rem); margin-inline: auto; }

/* Header */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  background: rgba(9, 8, 24, 0.94);
  z-index: 10;
}
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: rgba(9, 8, 24, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  padding-block: 0.75rem;
}
.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--ice);
  text-decoration: none;
  text-shadow: 0 0 14px rgba(47, 107, 255, 0.75);
}
.site-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.site-nav a {
  text-decoration: none;
  color: var(--mute);
  font-size: 1rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: #fff; border-bottom-color: var(--pink); }
.site-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--pink); }

/* Home: the sign hangs centered on the wall and switches on once at load */
.hero {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-height: min(46rem, 90vh);
  display: flex;
  align-items: center;
  padding-block: 3.5rem;
  text-align: center;
  background:
    radial-gradient(38% 42% at 30% 42%, rgba(255, 98, 195, 0.22), transparent 70%),
    radial-gradient(42% 46% at 68% 60%, rgba(47, 107, 255, 0.26), transparent 70%);
}
.hero .wrap { display: flex; flex-direction: column; align-items: center; }
.hero h1 { margin: 0; width: min(54rem, 100%); line-height: 0; }
.hero h1 img {
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 0 22px rgba(255, 98, 195, 0.35))
    drop-shadow(0 0 40px rgba(47, 107, 255, 0.45));
  animation: neon-on 1.9s steps(1, end) both;
}
@keyframes neon-on {
  0%   { opacity: 0.05; }
  7%   { opacity: 0.95; }
  9%   { opacity: 0.1; }
  14%  { opacity: 0.85; }
  17%  { opacity: 0.2; }
  24%  { opacity: 1; }
  31%  { opacity: 0.55; }
  36%  { opacity: 1; }
  100% { opacity: 1; }
}
.hero .tagline {
  max-width: 34rem;
  margin: 2rem 0 2.25rem;
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  line-height: 1.45;
}
.hero .ask {
  margin: 0 0 1.1rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 98, 195, 0.55);
}
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; }
.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 0.7rem 1.75rem;
  text-align: center;
  overflow-wrap: anywhere;
  border: 2px solid var(--pink);
  border-radius: 12px;
  cursor: pointer;
  background: rgba(255, 98, 195, 0.06);
  color: #fff;
  box-shadow: 0 0 14px rgba(255, 98, 195, 0.45), inset 0 0 12px rgba(255, 98, 195, 0.2);
}
.btn:hover { background: rgba(255, 98, 195, 0.22); }
.btn-blue {
  border-color: #6fa5ff;
  background: rgba(47, 107, 255, 0.08);
  box-shadow: 0 0 14px rgba(47, 107, 255, 0.55), inset 0 0 12px rgba(47, 107, 255, 0.22);
}
.btn-blue:hover { background: rgba(47, 107, 255, 0.26); }

/* Inner pages */
.page { padding-block: 4rem 5rem; }
.page-title {
  margin: 0 0 2.25rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  line-height: 1.05;
  color: var(--ice);
  text-shadow: 0 0 22px rgba(47, 107, 255, 0.6);
}
.sub { margin: 0 0 0.75rem; font-family: var(--display); font-weight: 700; font-size: 1.8rem; line-height: 1.15; }
.lede { max-width: 38rem; margin: 0 0 1rem; font-size: 1.3rem; }

/* About */
.intro {
  margin: 0 0 1.25rem;
  max-width: none;
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  line-height: 1.55;
}
.intro:last-of-type { margin-bottom: 0; }
.about-members { margin-top: 4.5rem; }
.members { margin: 1.5rem 0 0; padding: 0; list-style: none; max-width: 62rem; }
.member {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  grid-template-areas:
    "photo head"
    "bio bio";
  gap: 0.9rem 1.1rem;
  align-items: start;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}
.member:first-child { border-top: 1px solid var(--line); }
.member-photo {
  grid-area: photo;
  display: block;
  width: 100%;
  height: auto;
  align-self: start;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid var(--line);
}
.member-name { grid-area: head; margin: 0; align-self: center; font-family: var(--display); font-size: 1.35rem; line-height: 1.2; color: var(--text); }
.member-name strong { font-weight: 800; }
.member-name span { font-weight: 500; color: var(--mute); }
.member-bio { grid-area: bio; margin: 0; max-width: 46rem; }
@media (min-width: 46rem) {
  .member {
    grid-template-columns: 14rem 1fr;
    grid-template-areas:
      "photo head"
      "photo bio";
    grid-template-rows: auto 1fr;
    gap: 0.6rem 2rem;
  }
  .member-name { align-self: start; font-size: 1.7rem; }
}

/* Shows */
.shows { margin: 0; padding: 0; list-style: none; }
.show {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0.25rem 1.5rem;
  align-items: center;
  padding: 1.25rem 0.75rem;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.show:first-child { border-top: 1px solid var(--line); }
.show-date { text-align: left; font-family: var(--display); line-height: 0.95; }
.show-date .day { display: block; font-weight: 800; font-size: 2.9rem; }
.show-date .mon { display: block; font-weight: 700; font-size: 1.15rem; color: var(--pink); text-shadow: 0 0 14px rgba(255, 98, 195, 0.6); }
.show-venue { font-family: var(--display); font-weight: 600; font-size: 1.6rem; line-height: 1.15; margin: 0; }
.show-place { margin: 0.15rem 0 0; color: var(--mute); }
.show-status { grid-column: 2; margin: 0.35rem 0 0; font-size: 1rem; }
.show-status.sold { color: var(--mute); text-decoration: line-through; }
@media (min-width: 46rem) {
  .show { grid-template-columns: 6rem 1fr auto; padding-inline: 1.25rem; }
  .show-status { grid-column: auto; margin: 0; text-align: right; }
}

/* Setlist */
.albums {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.25rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 40rem) { .albums { grid-template-columns: repeat(3, 1fr); gap: 2.25rem 1.5rem; } }
@media (min-width: 64rem) { .albums { grid-template-columns: repeat(4, 1fr); gap: 2.5rem 1.75rem; } }
.album-cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid var(--line);
}
.album-name { margin: 0.75rem 0 0; font-family: var(--display); font-size: 1.15rem; line-height: 1.25; color: var(--text); }
.album-name strong { font-weight: 700; }
.album-name span { font-weight: 500; color: var(--mute); }
.album-artist { margin: 0.2rem 0 0; font-size: 1rem; color: var(--mute); }

/* Photos: free-flowing columns, every photo keeps its own shape */
.gallery { column-count: 1; column-gap: 1rem; }
@media (min-width: 36rem) { .gallery { column-count: 2; } }
@media (min-width: 64rem) { .gallery { column-count: 3; column-gap: 1.25rem; } }
.photo {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 1rem;
  border-radius: 10px;
  border: 2px solid var(--line);
  break-inside: avoid;
}
@media (min-width: 64rem) { .photo { margin-bottom: 1.25rem; } }

/* Contact */
.contact-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 52rem) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.contact-grid p { margin: 0 0 1.25rem; max-width: 30rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; max-width: 26rem; }
.field label { color: var(--mute); font-size: 1rem; }
.field input {
  font: inherit;
  color: var(--text);
  background: rgba(8, 8, 26, 0.8);
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
}
.field input:focus-visible { outline-offset: 1px; border-color: var(--ice); }
.confirm {
  margin: 1.1rem 0 0;
  padding: 0.8rem 1rem;
  max-width: 26rem;
  border-left: 3px solid var(--pink);
  background: var(--panel);
}
.confirm[hidden] { display: none; }

footer { padding-block: 2.5rem 3rem; border-top: 1px solid var(--line); color: var(--mute); font-size: 1rem; background: rgba(5, 4, 16, 0.55); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero h1 img { animation: none; }
}
