.roster-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.6rem;
}

.roster-filter {
  min-height: 2.4rem;
  padding: 0 0.95rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: transparent;
  color: var(--muted);
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  text-transform: uppercase;
  transition: border-color 0.35s, color 0.35s, background 0.35s;
}

.roster-filter[aria-pressed="true"],
.roster-filter:hover,
.roster-filter:focus-visible {
  border-color: var(--gold);
  color: var(--gold-1);
  background: rgba(143, 94, 37, 0.16);
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.roster-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: rgba(7, 7, 7, 0.45);
  min-height: 100%;
  transition: border-color 0.35s, background 0.35s, transform 0.35s;
}

.roster-card:hover,
.roster-card:focus-visible {
  border-color: var(--gold);
  background: rgba(143, 94, 37, 0.12);
  transform: translateY(-3px);
}

.roster-card__photo {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #101010;
}

.roster-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.roster-card__kind {
  position: absolute;
  left: 0.7rem;
  top: 0.7rem;
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(212, 175, 55, 0.55);
  background: rgba(7, 7, 7, 0.72);
  color: var(--gold);
  font-family: var(--font-display-en);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.roster-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1.1rem 1.25rem;
  flex: 1;
}

.roster-card__name {
  font-family: var(--font-display-en);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.roster-card__stage {
  color: var(--gold);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

.roster-card__roles {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.roster-card__go {
  margin-top: auto;
  padding-top: 0.85rem;
  color: var(--gold-1);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.roster-empty {
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  padding: 2.4rem 1.2rem;
  text-align: center;
  color: var(--muted);
}

.profile-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 3.2rem) 6vw 4.2rem;
}

.profile-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.38);
}

.profile-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 7, 7, 0.42) 0%, rgba(7, 7, 7, 0.55) 48%, rgba(7, 7, 7, 0.94) 100%),
    radial-gradient(ellipse at 78% 20%, rgba(143, 94, 37, 0.22), transparent 50%);
}

.profile-hero__grid {
  position: relative;
  z-index: 2;
  width: min(100%, 1080px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.75fr);
  gap: 2.4rem 3rem;
  align-items: center;
}

.profile-kicker {
  font-family: var(--font-display-en);
  letter-spacing: 0.36em;
  font-size: 0.68rem;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.profile-hero h1 {
  font-family: var(--font-display-en);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  letter-spacing: 0.06em;
  font-weight: 500;
  line-height: 1.05;
}

.profile-stage {
  margin-top: 0.55rem;
  color: var(--gold-1);
  letter-spacing: 0.14em;
  font-size: 1.05rem;
}

.profile-roles {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 38rem;
}

.profile-headline {
  margin-top: 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.45;
  max-width: 36rem;
}

.profile-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin-top: 1.6rem;
}

.profile-photo {
  justify-self: end;
  width: min(100%, 360px);
  border: 1px solid rgba(212, 175, 55, 0.55);
  padding: 8px;
  background: rgba(7, 7, 7, 0.35);
}

.profile-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 18%;
}

.profile-band {
  padding: 4.4rem 6vw;
}

.profile-band--dim {
  background: #0b0b0b;
}

.profile-wrap {
  width: min(100%, 1080px);
  margin: 0 auto;
}

.profile-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  max-width: 44rem;
  margin: 0.35rem 0 1.8rem;
  line-height: 1.5;
}

.profile-facts {
  width: 100%;
  border-collapse: collapse;
  margin: 0.4rem 0 2rem;
}

.profile-facts th,
.profile-facts td {
  text-align: left;
  vertical-align: top;
  padding: 0.95rem 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.profile-facts th {
  width: 7.5rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.profile-facts td {
  color: var(--text);
}

.profile-copy {
  color: var(--muted);
  max-width: 52rem;
  font-size: 1rem;
}

.method-list {
  display: grid;
  gap: 0;
  margin: 0.6rem 0 2rem;
}

.method-list article {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
}

.method-list em {
  font-style: normal;
  color: var(--gold);
  letter-spacing: 0.08em;
  font-size: 0.92rem;
}

.method-list p {
  color: var(--muted);
}

.strength-grid,
.work-grid,
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.strength-card,
.work-card,
.note-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  padding: 1.15rem 1.1rem 1.2rem;
}

.strength-card strong,
.work-card strong {
  display: block;
  font-family: var(--font-display-zh);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

html[data-lang="en"] .strength-card strong,
html[data-lang="en"] .work-card strong {
  font-family: var(--font-display-en);
}

html[data-lang="zh-Hans"] .strength-card strong,
html[data-lang="zh-Hans"] .work-card strong {
  font-family: var(--font-display-sc);
}

.work-card span,
.credit-role {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  margin-bottom: 0.45rem;
}

.strength-card p,
.work-card p,
.note-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.note-card {
  margin-top: 1rem;
}

.note-card--gold {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(143, 94, 37, 0.08);
}

.note-card strong {
  display: block;
  color: var(--gold-1);
  margin-bottom: 0.4rem;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}

.credit-list {
  border-top: 1px solid var(--line);
  margin: 0.4rem 0 1.2rem;
}

.credit-row {
  display: grid;
  grid-template-columns: minmax(8rem, 0.7fr) minmax(0, 1.3fr);
  gap: 0.8rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.credit-row strong {
  font-weight: 500;
}

.credit-row span {
  color: var(--muted);
}

.stat-card {
  border: 1px solid var(--line);
  padding: 1.35rem 1.15rem;
  background: #080808;
}

.stat-card--gold {
  background: linear-gradient(165deg, rgba(143, 94, 37, 0.28), rgba(7, 7, 7, 0.9));
}

.stat-card b {
  display: block;
  font-family: var(--font-display-en);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--gold-1);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.stat-card strong {
  display: block;
  margin: 0.35rem 0 0.25rem;
  font-weight: 500;
}

.stat-card p {
  color: var(--muted);
  font-size: 0.88rem;
}

.listen-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.8rem;
}

.listen-table th,
.listen-table td {
  text-align: left;
  padding: 0.85rem 0.4rem;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

.listen-table th {
  width: 7.2rem;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.listen-table a {
  color: var(--gold-1);
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
}

.split-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1rem;
}

.profile-footnote {
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 1100px) {
  .roster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .profile-hero {
    padding: calc(var(--header-h) + 2rem) 1.15rem 2.6rem;
  }

  .profile-hero__grid,
  .method-list article,
  .strength-grid,
  .work-grid,
  .stat-grid,
  .split-notes,
  .credit-row {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    justify-self: start;
    width: min(100%, 320px);
  }

  .profile-band {
    padding: 3.2rem 1.15rem;
  }

  .profile-facts th {
    display: block;
    width: auto;
    padding-bottom: 0.15rem;
    border-top: 0;
  }

  .profile-facts td {
    display: block;
    padding-top: 0.2rem;
  }
}

@media (max-width: 640px) {
  .roster-grid {
    grid-template-columns: 1fr;
  }
}
