:root {
  --bg: #0a0a0a;
  --bg-alt: #121210;
  --fg: #d9d9d4;
  --dim: #7a7a75;
  --green: #4dff6a;
  --green-dim: #2fae47;
  --red: #d34a33;
  --border: #2a2a26;
  --mono: "Courier New", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--mono);
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--fg); text-decoration: underline; }

h1, h2, h3 { font-family: var(--mono); text-transform: lowercase; }

.dim { color: var(--dim); }
.small { font-size: 0.82rem; }

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-weight: bold;
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  color: var(--fg);
}
.logo:hover { color: var(--green); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--fg);
  font-size: 1.2rem;
  padding: 0.25rem 0.6rem;
  cursor: pointer;
}

.site-nav {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--dim);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}
.site-nav a:hover { color: var(--green); text-decoration: none; }

/* hero */
.hero {
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
}

.hero-photo {
  width: 220px;
  max-width: 60vw;
  filter: grayscale(1) contrast(1.15);
  border: 1px solid var(--border);
}

.hero-logo {
  display: block;
  width: 260px;
  max-width: 70vw;
  height: auto;
  margin: 1.5rem auto 0.5rem;
  filter: invert(1);
  mix-blend-mode: screen;
}

.tagline { color: var(--green-dim); margin: 0.2rem 0; }

/* sections */
.section {
  padding: 3.5rem 1.5rem;
  max-width: 780px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}
.section.alt { background: var(--bg-alt); max-width: 100%; }
.section.alt > * { max-width: 780px; margin-left: auto; margin-right: auto; }
.section.alt .gallery-grid { max-width: 900px; }

.section h2 {
  letter-spacing: 0.3em;
  color: var(--fg);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}
.section h3 {
  color: var(--green-dim);
  margin: 2rem 0 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}

/* news */
.news-post p { margin: 0.6rem 0; }
.signoff { color: var(--fg); font-weight: bold; margin-top: 1.2rem; }

.gig-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--border); }
.gig-list li {
  display: flex;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.gig-date { color: var(--green); width: 5.5rem; flex-shrink: 0; }
.gig-venue { width: 6rem; flex-shrink: 0; }
.gig-club { color: var(--dim); }

/* band */
.band-bio p { margin: 0 0 1rem; }
.band-bio .quote { color: var(--green-dim); font-style: italic; }

/* the source graphic has UI cutout shapes baked into its right/bottom edge
   (it was a background behind buttons in the original movie) — frame it down
   to just the clean photo area in the top-left */
.band-photo-frame {
  width: 230px;
  height: 240px;
  max-width: 100%;
  overflow: hidden;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
}
.band-photo {
  display: block;
  max-width: none;
  filter: grayscale(1) contrast(1.15) brightness(1.3);
}

.lineup { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.lineup-card {
  border: 1px solid var(--border);
  padding: 1rem 1.4rem;
}
.lineup-name { color: var(--red); font-weight: bold; margin: 0; }
.lineup-role { color: var(--dim); margin: 0.2rem 0 0; font-size: 0.85rem; }

/* releases */
.release { display: flex; gap: 1.2rem; margin-bottom: 2rem; }
.release-cover {
  width: 110px;
  height: 110px;
  object-fit: cover;
  flex-shrink: 0;
  filter: grayscale(1) contrast(1.1);
  border: 1px solid var(--border);
}
.release h3 { color: var(--fg); margin: 0 0 0.6rem; }
.tracklist { padding-left: 1.4rem; margin: 0.5rem 0; }
.tracklist li { margin: 0.15rem 0; }

@media (max-width: 480px) {
  .release { flex-direction: column; }
  .release-cover { width: 100px; height: 100px; }
}

/* gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.6rem;
}
.gallery-thumb {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  background: #000;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  transition: transform 0.3s ease, filter 0.3s ease;
  display: block;
}
.gallery-thumb:hover img { transform: scale(1.06); filter: grayscale(0.3) contrast(1.15); }
.gallery-thumb-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.3rem 0.5rem;
  font-size: 0.72rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: var(--fg);
}
.gallery-thumb-count { color: var(--dim); }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.94);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 88vw;
  max-height: 82vh;
  filter: grayscale(1) contrast(1.1);
  border: 1px solid var(--border);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: var(--fg);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { color: var(--green); }
.lightbox-close { top: 0.5rem; right: 1rem; font-size: 1.8rem; }
.lightbox-prev { left: 0.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 0.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--dim);
  font-size: 0.8rem;
}

/* downloads */
.track {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
}
.track-title { min-width: 10rem; margin: 0; }
.track audio { height: 32px; }
.dl-link { font-size: 0.85rem; white-space: nowrap; }

.doc-list { list-style: none; padding: 0; margin: 0.5rem 0; }
.doc-list li { padding: 0.35rem 0; border-bottom: 1px solid var(--border); }

/* footer */
.site-footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
}

/* responsive */
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.8rem 1.5rem; border-top: 1px solid var(--border); }
  .track-title { min-width: 100%; }
}
