/* ═══════════════════════════════════════════════════
   MEMBER PAGES  (band/*.html)
   Loaded after tokens.css + main.css, which supply the
   nav, buttons, footer and section basics.
═══════════════════════════════════════════════════ */

.member-page { padding-top: var(--nav-height); }

.member-back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  min-height: 44px;
  margin: var(--space-lg) 0 var(--space-md);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--t-fast);
}
.member-back:hover,
.member-back:focus-visible { color: var(--accent); }

/* ─── Hero: portrait + name + facts ─────────────── */
.member-hero {
  display: grid;
  gap: var(--space-xl);
  padding-bottom: var(--space-3xl);
}
@media (min-width: 900px) {
  .member-hero {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: var(--space-3xl);
    align-items: end;
  }
}

.member-portrait {
  position: relative;
  margin: 0;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-card);
}
.member-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 30%);
  filter: grayscale(25%) contrast(1.06);
}
/* burnt-orange rule down the edge, the one loud touch */
.member-portrait::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--accent);
}

.member-headline .section-label { margin-bottom: var(--space-sm); }
.member-page-name {
  font-family: var(--font-display);
  font-size: clamp(64px, 11vw, 136px);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}
.member-page-role {
  margin-top: var(--space-md);
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.member-facts {
  margin-top: var(--space-xl);
  border-top: 1px solid var(--border-light);
}
.member-fact {
  display: grid;
  grid-template-columns: 9.5em 1fr;
  gap: var(--space-md);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.member-fact dt {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding-top: 2px;
}
.member-fact dd {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
}
.member-fact a {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}
.member-fact a:hover { color: var(--accent); }
@media (max-width: 480px) {
  .member-fact { grid-template-columns: 1fr; gap: 2px; }
}

/* ─── Story ─────────────────────────────────────── */
.member-story {
  max-width: 720px;
  padding: var(--space-3xl) 0;
}
.member-story p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-secondary);
}
.member-story p + p { margin-top: var(--space-lg); }
.member-story p:first-of-type {
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.6;
  color: var(--text-primary);
}
.member-story em { color: var(--text-primary); }
.member-story p a {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}
.member-story p a:hover { color: var(--accent); }
/* Pull-quote: the member's own sign-off, set loud */
.member-story .member-quote {
  margin: var(--space-2xl) 0 0;
  padding-left: var(--space-lg);
  border-left: 4px solid var(--accent);
}
.member-story .member-quote p {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}
.member-story .member-quote cite {
  display: block;
  margin-top: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.member-story .member-more-link {
  display: inline-flex;
  margin-top: var(--space-xl);
}

/* ─── Songwriting credits ───────────────────────── */
.member-songs { padding: var(--space-3xl) 0; border-top: 1px solid var(--border); }
.member-songs-note {
  max-width: 640px;
  margin: calc(var(--space-md) * -1) 0 var(--space-xl);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.song-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--space-lg) var(--space-md);
}
.song-card { display: block; color: inherit; }
.song-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--bg-card);
  transition: transform var(--t-base), filter var(--t-base);
  filter: grayscale(15%);
}
.song-card:hover img,
.song-card:focus-visible img { transform: translateY(-3px); filter: none; }
.song-card-title {
  margin-top: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}
.song-card-meta {
  margin-top: 2px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ─── Call to action ────────────────────────────── */
.member-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border);
}
.member-cta-text {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  color: var(--text-primary);
}
.member-cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-md); }

/* ─── The rest of the band ──────────────────────── */
.member-others { padding: var(--space-3xl) 0 var(--space-4xl); background: var(--bg-surface); }
.member-others-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
@media (max-width: 640px) {
  .member-others-grid { grid-template-columns: 1fr; gap: var(--space-md); }
}
.other-card { position: relative; display: block; background: var(--bg-card); overflow: hidden; }
.other-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: var(--focus, 50% 30%);
  filter: grayscale(40%) contrast(1.08);
  transition: transform var(--t-slow), filter var(--t-slow);
}
.other-card:hover img,
.other-card:focus-visible img { transform: scale(1.05); filter: grayscale(0%) contrast(1.05); }
.other-card-info { padding: var(--space-md) 20px var(--space-lg); }
.other-card-name {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  color: var(--text-primary);
}
.other-card-role {
  margin-top: 4px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .song-card img, .other-card img { transition: none; }
  .song-card:hover img, .other-card:hover img { transform: none; }
}

/* ─── Archive video (click to play; scripts/member.js) ─── */
.member-video { padding: 0 0 var(--space-3xl); max-width: 720px; }
.member-video .section-label { margin-bottom: var(--space-md); }
.archive-facade {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4/3;            /* 1997 video: 4:3, so the frame crops YouTube's side bars */
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  cursor: pointer;
}
.archive-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.15) contrast(1.05);
  transition: transform var(--t-slow), filter var(--t-slow);
}
.archive-facade:hover img,
.archive-facade:focus-visible img { transform: scale(1.03); filter: brightness(0.75); }
.archive-facade:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.archive-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text-primary);
  transition: background var(--t-fast), transform var(--t-fast);
}
.archive-play svg { margin-left: 4px; }
.archive-facade:hover .archive-play,
.archive-facade:focus-visible .archive-play { background: var(--accent-hover); transform: translate(-50%, -50%) scale(1.08); }
.archive-iframe {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  border: 0;
  border-radius: var(--radius-lg);
}
.member-video figcaption {
  margin-top: var(--space-md);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}
.member-video figcaption span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
@media (prefers-reduced-motion: reduce) {
  .archive-facade img { transition: none; }
  .archive-facade:hover img { transform: none; }
}
