/* BrumSound: pink and cyan photo collage, bold condensed type, quiet archive layouts. */

@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@600;700;800;900&family=Archivo:wght@400;500;600&display=swap');

:root {
  --bg: #0b0b0d;
  --bg-elevated: #16151a;
  --bg-card: #1b1a20;
  --text: #f4f2f0;
  --text-muted: #a8a5b0;
  --border: #2b2a32;

  /* the one thread that ties every page together, metal or pop */
  --accent: #ff2f92;
  --accent-2: #33e6ff;

  /* per-band mood, overridden by themes.css; sane defaults here */
  --accent-band: var(--accent);
  --accent-band-2: var(--accent-2);
  --band-tint: #141318;
  --shape-radius: 6px;

  --font-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --font-body: 'Archivo', system-ui, -apple-system, sans-serif;

  --container: 80rem;
  color-scheme: dark;
}

/* Follow the visitor's OS until they make an explicit choice. */
@media (prefers-color-scheme: light) {
  :root:not([data-color-theme]) {
    --bg: #f7f4f0;
    --bg-elevated: #eee9e3;
    --bg-card: #ffffff;
    --text: #17151a;
    --text-muted: #5f5964;
    --border: #d4cdd5;
    --band-tint: #f3edf2;
    --accent: #bd1264;
    --accent-2: #007582;
    color-scheme: light;
  }
}

:root[data-color-theme="light"] {
  --bg: #f7f4f0;
  --bg-elevated: #eee9e3;
  --bg-card: #ffffff;
  --text: #17151a;
  --text-muted: #5f5964;
  --border: #d4cdd5;
  --band-tint: #f3edf2;
  --accent: #bd1264;
  --accent-2: #007582;
  color-scheme: light;
}

:root[data-color-theme="dark"] {
  --bg: #0b0b0d;
  --bg-elevated: #16151a;
  --bg-card: #1b1a20;
  --text: #f4f2f0;
  --text-muted: #a8a5b0;
  --border: #2b2a32;
  --band-tint: #141318;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}
a:hover { color: var(--accent); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0.005em;
  line-height: 1.05;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.3rem; font-weight: 700; }

p { margin: 0 0 1em; color: var(--text-muted); max-width: 68ch; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: #ff2f92;
  color: #0b0b0d;
  padding: 0.75em 1.25em;
  font-weight: 600;
  z-index: 100;
  border-radius: 0 0 6px 0;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

/* site header */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 50;
}
.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}
.site-logo {
  font-family: var(--font-display);
  text-transform: none;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
  color: var(--text);
  text-decoration: none;
}
.site-logo:hover { color: var(--accent); }
.site-logo strong { color: var(--accent); }

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  text-transform: none;
  font-size: 1rem;
  letter-spacing: 0;
  padding: 0.5em 0.8em;
  border-radius: var(--shape-radius, 6px);
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #0b0b0d;
  background: var(--accent);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 5.5rem;
  padding: 0.5em 0.75em;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--text);
  font: 600 0.78rem/1 var(--font-body);
  cursor: pointer;
}
.theme-toggle:hover { border-color: var(--accent); }
.theme-toggle-icon { color: var(--accent); font-size: 1rem; }

/* footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  padding: 2.5rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--accent-2); }
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

/* Intro copy and the original eight-band photo collage. */
.hero {
  padding: 4rem 0;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(60rem 30rem at 15% -10%, rgba(255,47,146,.14), transparent 60%),
    radial-gradient(50rem 26rem at 100% 0%, rgba(51,230,255,.10), transparent 60%),
    var(--bg);
}
.hero h1 { color: var(--text); }
.hero p.lede { font-size: 1.1rem; color: var(--text); max-width: 48ch; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.home-page .hero { padding: 4rem 0 4.5rem; }
.hero-copy h1 { font-size: clamp(4rem, 6.7vw, 6.4rem); line-height: .96; letter-spacing: -.025em; margin-bottom: 1.8rem; }
.hero-actions { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; margin-top: 2rem; }
.hero-actions .btn { background: #ff2f92; color: #0b0b0d; border-color: #ff2f92; padding: .85rem 1.3rem; }
.hero-actions .btn:hover { background: transparent; color: var(--accent); }
.hero-actions .text-link { color: var(--accent-2); font-size: .85rem; }
/* hero photo collage: a pinned-up wall of the bands, in duotone */
.hero-collage {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 2.6rem;
  gap: 0.7rem;
  padding: 1rem 0.5rem;
}
.collage-tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.7);
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.2s ease;
}
.collage-tile:hover { transform: rotate(var(--tilt, 0deg)) scale(1.04); z-index: 2; }
.collage-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.2) brightness(0.85);
}
.collage-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  mix-blend-mode: color;
  background: var(--tile-tint, #ff2f92);
  opacity: 0.82;
  transition: opacity 0.2s ease;
}
.collage-tile:hover::after { opacity: 0.15; }

.ct-1 { grid-column: 1 / 3; grid-row: 1 / 5; --tilt: -3deg; --tile-tint: #ff2f92; }
.ct-2 { grid-column: 3 / 6; grid-row: 1 / 3; --tilt: 2deg; --tile-tint: #33e6ff; }
.ct-3 { grid-column: 6 / 7; grid-row: 1 / 6; --tilt: -2deg; --tile-tint: #ff2f92; }
.ct-4 { grid-column: 3 / 5; grid-row: 3 / 6; --tilt: 3deg; --tile-tint: #33e6ff; }
.ct-5 { grid-column: 5 / 7; grid-row: 6 / 8; --tilt: -1.5deg; --tile-tint: #ff2f92; }
.ct-6 { grid-column: 1 / 3; grid-row: 5 / 8; --tilt: 2.5deg; --tile-tint: #33e6ff; }
.ct-7 { grid-column: 3 / 5; grid-row: 6 / 9; --tilt: -2.5deg; --tile-tint: #ff2f92; }
.ct-8 { grid-column: 5 / 6; grid-row: 8 / 9; --tilt: 1.5deg; --tile-tint: #33e6ff; }

@media (max-width: 58rem) {
  .hero-collage { grid-auto-rows: 3.6rem; }
}
@media (max-width: 30rem) {
  .hero-collage {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 3.2rem;
  }
  .ct-1 { grid-column: 1 / 3; grid-row: 1 / 4; }
  .ct-2 { grid-column: 3 / 5; grid-row: 1 / 3; }
  .ct-3 { display: none; }
  .ct-4 { grid-column: 3 / 5; grid-row: 3 / 5; }
  .ct-5 { display: none; }
  .ct-6 { grid-column: 1 / 3; grid-row: 4 / 6; }
  .ct-7 { grid-column: 3 / 5; grid-row: 5 / 7; }
  .ct-8 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .collage-tile:hover { transform: rotate(var(--tilt, 0deg)); }
}
.eyebrow { display: inline-block; font-size: .9rem; margin-bottom: 1rem; color: inherit; }
.band-directory { padding-top: 3.5rem; scroll-margin-top: 6rem; }
.directory-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.directory-heading h2 { max-width: 15ch; font-size: clamp(2.4rem, 4vw, 3.5rem); margin: 0; }
.directory-heading p { margin: 0; font-size: .9rem; }
@media (max-width: 58rem) {
  .hero-grid { gap: 2rem; }
  .hero-copy h1 { font-size: clamp(3.6rem, 8vw, 6rem); }
}
@media (max-width: 42rem) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .home-page .hero { padding: 2.5rem 0 4rem; }
  .hero-copy h1 { font-size: clamp(3.5rem, 13vw, 5.4rem); }
  .directory-heading { display: block; }
  .directory-heading p { margin-top: 1rem; }
}

/* band grid on homepage */
.band-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  padding: 2.5rem 0 4rem;
}
.band-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.band-card:hover,
.band-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--accent-band, var(--accent));
}
.band-card .band-card-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #000;
}
.band-card img { width: 100%; height: 100%; object-fit: cover; }
.band-card-body { padding: 1rem 0 1.25rem; }
.band-card h3 { margin-bottom: 0.4rem; font-size: 1.9rem; color: var(--text); }
.band-card .badge { color: var(--text-muted); padding: 0; border: 0; font-family: var(--font-body); letter-spacing: 0; font-size: .75rem; }
@media (max-width: 58rem) { .band-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 26rem) { .band-grid { gap: 1rem; } .band-card h3 { font-size: 1.45rem; } .band-card .meta { font-size: .75rem; } }
.band-card .meta { color: var(--text-muted); font-size: 0.85rem; margin: 0; }
.badge {
  display: inline-block;
  font-family: var(--font-display);
  text-transform: none;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 0.2em 0.6em;
  border-radius: 999px;
  border: 1px solid currentColor;
  color: var(--accent-band, var(--accent));
  margin-bottom: 0.6rem;
}

/* section spacing */
.section { padding: 3rem 0; }
.section-tight { padding: 1.5rem 0 3rem; }

/* band page */
.band-hero {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--band-tint), var(--bg) 85%);
}
.band-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 46rem) {
  .band-hero-grid { grid-template-columns: 1fr; }
}
.band-photo {
  border-radius: var(--shape-radius, 8px);
  overflow: hidden;
  border: 1px solid var(--border);
}
.band-photo img { width: 100%; height: auto; }
.photo-credit {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}
.photo-credit a { color: var(--text-muted); }

.meta-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1rem;
}
.meta-list dt {
  font-family: var(--font-display);
  text-transform: none;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--accent-band, var(--accent));
  margin-bottom: 0.2rem;
}
.meta-list dd { margin: 0; color: var(--text); font-size: 0.95rem; }

.members {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}
.members li {
  padding: 0.4em 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text);
}
.members li:last-child { border-bottom: none; }

/* discography */
.discography {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}
.album-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--shape-radius, 8px);
  padding: 1.1rem;
}
.album-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.1rem;
}
.album-year {
  color: var(--accent-band, var(--accent));
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem;
}
.spotify-embed {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.spotify-embed iframe { display: block; width: 100%; }
.spotify-link {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.85rem;
}

/* buttons */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  text-transform: none;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  text-decoration: none;
  padding: 0.7em 1.3em;
  border-radius: var(--shape-radius, 6px);
  background: #ff2f92;
  color: #0b0b0d;
  border: 1px solid #ff2f92;
}
.btn:hover { background: transparent; color: var(--accent); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--accent-2); color: var(--accent-2); }

/* about page */
.credit-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  gap: 0.6rem;
}
.credit-list li {
  padding: 0.6rem 0.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem;
}

/* visually-hidden utility */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Shared chrome stays quiet beside the cover art. */
.site-header .container { justify-content: initial; min-height: 80px; }
.site-logo { margin-right: auto; }
.site-nav a { border-radius: 0; font-family: var(--font-body); font-size: .85rem; padding: .6rem .3rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: transparent; color: var(--accent); text-decoration: underline; text-underline-offset: .5rem; }
.theme-toggle { margin-left: 1.5rem; min-width: 0; background: transparent; padding: .7rem; }
.btn { font-family: var(--font-body); font-weight: 600; text-transform: none; letter-spacing: 0; border-radius: 3px; }
@media (max-width: 30rem) { .site-header .container { gap: .6rem; min-height: 72px; } .site-nav ul { gap: .7rem; } .theme-toggle { margin-left: 0; } .theme-toggle > span:last-child { display: none; } .site-logo { font-size: 1.45rem; } }
