/* /band/<slug> — a member's page.
 *
 * Rendered by netlify/functions/band.mjs, not by build_site.py, so this is the
 * one stylesheet whose markup does not live in this repo as HTML. Keep the class
 * names in step with that function.
 *
 * style.css and press.css come first and supply the tokens, the nav, the footer,
 * the .pq press-quote block and .crumbs. Only what is specific to a member page
 * is below.
 */

.bm-page { padding: 40px 0 20px; }

/* <header> is styled by style.css for the homepage hero — 40px/24px/88px of
   padding and centred text. Reset explicitly, the same way the interview and
   manage pages have to. This keeps biting because the tag is reused. */
.bm-head {
  padding: 0;
  text-align: left;
  overflow: visible;
  display: flex;
  gap: 26px;
  align-items: flex-start;
  margin: 0 0 30px;
}
.bm-photo {
  width: 200px; height: auto; flex: none;
  border-radius: 12px;
  border: 1px solid var(--hairline);
  object-fit: cover;
}
.bm-head .eyebrow { color: var(--magenta); }
.bm-head .eyebrow span { color: var(--cream); }
.bm-head h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.08; letter-spacing: 0.01em;
  margin: 0 0 6px;
}
.bm-role {
  font-family: var(--mono);
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cream-dim);
  margin: 0;
}
.bm-note {
  font-size: 14px; line-height: 1.55;
  color: var(--cream-dim);
  max-width: 46ch;
  margin: 12px 0 0;
}
.bm-note span, .bm-head .bm-note span { color: var(--magenta); }

.bm-links { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 0; }
.bm-links a {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cream-dim);
  border: 1px solid var(--hairline); border-radius: 999px;
  padding: 6px 14px; text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.bm-links a:hover { color: var(--cream); border-color: var(--cream-dim); }

/* The bio is the reason this page is server-rendered rather than generated, so
   it gets the reading treatment: the serif the interviews use, at a measure that
   suits prose rather than a card. */
.bm-bio {
  font-family: var(--serif);
  font-size: 16px; line-height: 1.68;
  color: var(--cream);
  max-width: 60ch;
  margin: 0 0 15px;
}
.bm-bio em { font-style: italic; }
.bm-sub { font-size: 13px; color: var(--cream-dim); margin: 0 0 14px; }

.bm-songs { list-style: none; margin: 0; padding: 0; }
.bm-songs li {
  display: flex; gap: 14px; align-items: baseline;
  padding: 11px 0;
  border-top: 1px solid var(--hairline);
}
.bm-songs li:first-child { border-top: 0; }
.bm-songs a { color: var(--cream); text-decoration: none; font-size: 15px; }
.bm-songs a:hover { color: var(--magenta); }
.bm-songs span {
  margin-left: auto; text-align: right;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em;
  color: var(--cream-dim);
}

@media (max-width: 620px) {
  .bm-head { flex-direction: column; gap: 18px; }
  .bm-photo { width: 100%; max-width: 320px; }
  .bm-songs li { flex-direction: column; gap: 3px; }
  .bm-songs span { margin-left: 0; text-align: left; }
}

/* ---------- photographs ---------- */
.bm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.bm-grid figure { margin: 0; }
.bm-grid a { display: block; line-height: 0; border-radius: 8px; overflow: hidden; }
.bm-grid figcaption {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em;
  color: var(--cream-dim); line-height: 1.4; margin: 5px 0 0;
}
.bm-grid img {
  width: 100%; height: 128px; object-fit: cover; display: block;
  transition: transform 0.25s ease, filter 0.25s ease;
}
.bm-grid a:hover img { transform: scale(1.04); filter: saturate(1.15); }
.bm-sub a { color: var(--cyan); }
@media (prefers-reduced-motion: reduce) { .bm-grid img { transition: none; } }

/* ---------- what they played ---------- */
/* Prose, not a table. Eight rows repeating one credit told you one fact and took
   up half the page; a sentence says the same thing and leaves room for the parts
   of this page that differ between people. */
.bm-played {
  font-size: 15px; line-height: 1.7; color: var(--cream-dim);
  max-width: 62ch; margin: 0 0 10px;
}
.bm-played strong { color: var(--cream); font-weight: 400; }
.bm-played a { color: var(--cream); text-decoration: none; border-bottom: 1px solid var(--hairline); }
.bm-played a:hover { color: var(--magenta); border-color: var(--magenta); }

/* ---------- bands, and what's on right now ---------- */
.bm-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bm-list a {
  display: inline-block;
  font-size: 14px; color: var(--cream); text-decoration: none;
  border: 1px solid var(--hairline); border-radius: 999px;
  padding: 7px 15px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.bm-list a:hover { color: var(--magenta); border-color: var(--magenta); }
