/* ============================================================
   BRIGHT NOISE — brightnoi.se
   Xerox gig-poster aesthetic: cold paper, ink black,
   one signal-yellow marker. Anton / Archivo / Space Mono.
   ============================================================ */

:root {
  --paper: #f4f4f0;
  --ink: #101010;
  --signal: #f5e400;
  --grey: #8a8a85;
  --rule: #10101022;

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Space Mono", "Courier New", monospace;

  --gutter: clamp(1.25rem, 4vw, 4rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.mono { font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.02em; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  background: var(--signal);
}

/* ---------------- Top bar ---------------- */

.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem var(--gutter);
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark-dot {
  background: var(--signal);
  padding: 0 0.2em;
  margin-left: 0.15em;
}

.nav { display: flex; gap: 1.75rem; align-items: center; }

.nav a {
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav a:hover { background: var(--signal); }

.nav-cta {
  border: 2px solid var(--ink);
  padding: 0.35em 0.9em;
}

.nav-cta:hover { background: var(--signal); }

.nav-toggle { display: none; }

.mobile-nav { display: none; }

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  border-bottom: 2px solid var(--ink);
}

#noise-title {
  display: block;
  width: 100%;
  height: min(72vh, 640px);
}

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-end;
  padding: 1.25rem var(--gutter) 1.75rem;
  border-top: 2px solid var(--ink);
}

.hero-tag {
  font-weight: 800;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero-next {
  text-decoration: none;
  display: inline-block;
  border: 2px solid var(--ink);
  background: var(--signal);
  padding: 0.75rem 1.1rem;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.hero-next:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--ink);
}

.hero-next .label {
  display: block;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.15rem;
}

/* ---------------- Sections ---------------- */

.section {
  padding: clamp(3rem, 7vw, 5.5rem) var(--gutter);
  border-bottom: 2px solid var(--ink);
}

.section-inverse {
  background: var(--ink);
  color: var(--paper);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
}

.section-inverse .section-head h2 {
  color: var(--signal);
}

.section-note { color: var(--grey); }

/* ---------------- Shows ---------------- */

.shows-list { list-style: none; }

.show {
  display: grid;
  grid-template-columns: 9.5rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
}

.show:last-child { border-bottom: 1px solid var(--rule); }

.show-place strong { font-weight: 800; }

.show-tickets {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--ink);
  padding: 0.35em 0.9em;
  text-transform: uppercase;
}

a.show-tickets:hover { background: var(--signal); }

.show.is-next {
  background: var(--signal);
  border-top-color: var(--ink);
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.show.is-past { color: var(--grey); }
.show.is-past .show-place strong { font-weight: 600; }
.show-tickets.is-past { border-color: var(--grey); color: var(--grey); }

/* ---------------- Music ---------------- */

.release {
  display: grid;
  grid-template-columns: minmax(200px, 320px) 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.release-art {
  aspect-ratio: 1;
  border: 2px solid var(--paper);
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(45deg, transparent 0 6px, #ffffff0d 6px 12px);
}

.release-art-placeholder {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--grey);
  text-align: center;
  letter-spacing: 0.05em;
}

.eyebrow {
  color: var(--signal);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.release-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.release-desc {
  max-width: 46ch;
  color: #f4f4f0cc;
  margin-bottom: 1.5rem;
}

.stream-links { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.stream-link {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--paper);
  padding: 0.45em 1em;
}

.stream-link:hover {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--ink);
}

.player-embed {
  margin-top: 2.5rem;
  border: 0;
  width: 100%;
}

/* ---------------- Band ---------------- */

.members {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}

.member-photo {
  border: 2px solid var(--ink);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: 0.85rem;
  background: var(--ink);
}

.member-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.15);
  transition: filter 150ms ease;
}

.member:hover .member-photo img { filter: grayscale(0) contrast(1); }

.member-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.member-role { color: var(--grey); margin-top: 0.2rem; }

.bio {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  max-width: 62ch;
  font-size: 1.125rem;
}

/* ---------------- Contact ---------------- */

.contact-block { display: grid; gap: 2rem; }

.contact-email {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 3.2rem);
  text-decoration: none;
  text-transform: lowercase;
  color: var(--paper);
  width: fit-content;
  border-bottom: 4px solid var(--signal);
  line-height: 1.2;
  word-break: break-all;
}

.contact-email:hover { color: var(--signal); }

.socials { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.socials a {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--paper);
  padding: 0.45em 1em;
}

.socials a:hover {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--ink);
}

/* ---------------- Footer ---------------- */

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.25rem var(--gutter);
  color: var(--grey);
}

.to-top { text-decoration: none; color: var(--ink); }
.to-top:hover { background: var(--signal); }

/* ---------------- Mobile ---------------- */

@media (max-width: 760px) {
  .nav { display: none; }

  .nav-toggle {
    display: grid;
    gap: 5px;
    background: none;
    border: 2px solid var(--ink);
    padding: 9px 8px;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--ink);
  }

  .mobile-nav {
    display: none;
    position: sticky; top: 3.4rem; z-index: 19;
    flex-direction: column;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
  }

  .mobile-nav.is-open { display: flex; }

  .mobile-nav a {
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.06em;
    padding: 0.9rem var(--gutter);
    border-top: 1px solid var(--rule);
  }

  #noise-title { height: 46vh; }

  .show {
    grid-template-columns: 1fr auto;
    grid-template-areas: "date tickets" "place tickets";
    row-gap: 0.2rem;
  }
  .show-date { grid-area: date; color: var(--grey); }
  .show-place { grid-area: place; }
  .show-tickets { grid-area: tickets; }

  .release { grid-template-columns: 1fr; }
  .release-art { max-width: 260px; }

  .members { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------- Reduced motion ---------------- */

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