/* MUSÉE SONORE — artist index. Reuses album.css/artist.css detail primitives. */

.artists-hero { padding: 64px 0 62px; border-bottom: 1px solid var(--line); }
.artists-hero h1 { font: 400 clamp(54px, 8vw, 112px)/.96 var(--serif); letter-spacing: -.065em; margin: 18px 0 24px; }
.artists-hero h1 em { color: var(--accent); font-weight: 400; }
.artists-lead { max-width: 620px; margin: 0; color: var(--muted); font: 400 clamp(17px, 1.5vw, 21px)/1.7 var(--serif); }

#artistIndexGrid[hidden], #artistEmpty[hidden] { display: none; }

.artist-filter-bar { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 18px; padding-bottom: 24px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.artist-filter { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font: 7px var(--mono); letter-spacing: .1em; }
.artist-filter input, .artist-filter select { width: 100%; padding: 7px 0 9px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; outline: none; background: transparent; color: var(--ink); font: 12px var(--sans); letter-spacing: 0; }
.artist-filter input::placeholder { color: #b7b3aa; }
.artist-filter input:focus, .artist-filter select:focus { border-color: var(--accent); }
.artist-filter select { appearance: none; cursor: pointer; }

.artist-index-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 18px; }
.artist-index-card { display: block; min-width: 0; padding-top: 12px; border-top: 1px solid var(--ink); color: inherit; transition: border-color .2s; }
.artist-index-card:hover { border-color: var(--accent); }
.artist-index-panel {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(14px, 1.5vw, 20px);
  background: radial-gradient(circle at 82% 18%, #ffffffa8 0, transparent 34%), linear-gradient(145deg, #e9e5dc 0%, #ded8cc 52%, #d5cbbd 100%);
}
.artist-index-panel::before { content: ""; position: absolute; width: 68%; aspect-ratio: 1; right: -25%; bottom: -22%; border: 1px solid #a47c5a45; border-radius: 50%; box-shadow: 0 0 0 16px #a47c5a0c, 0 0 0 32px #a47c5a0c; }
.artist-index-brand { position: relative; z-index: 1; color: #8a6a50; font: 6px var(--mono); letter-spacing: .1em; }
.artist-index-name { position: relative; z-index: 1; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; color: #292824; font: 400 clamp(20px, 2vw, 29px)/1.08 var(--serif); letter-spacing: -.045em; overflow-wrap: anywhere; margin: auto 0; padding: 12px 0; }
.artist-index-meta { position: relative; z-index: 1; color: #777064; font: 7px/1.5 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.artist-index-foot { display: flex; justify-content: space-between; align-items: end; gap: 8px; padding-top: 11px; }
.artist-index-count { color: var(--muted); font: 7px var(--mono); letter-spacing: .06em; white-space: nowrap; }
.artist-index-action { color: var(--accent); font: 7px var(--mono); letter-spacing: .08em; white-space: nowrap; transition: color .2s; }
.artist-index-card:hover .artist-index-action { color: var(--ink); }
.artist-index-card:hover .artist-index-name { color: var(--accent); }
.artist-index-card:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

@media (max-width: 1050px) {
  .artist-index-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .artists-hero { padding: 40px 0 42px; }
  .artists-hero h1 { font-size: clamp(48px, 14vw, 70px); margin-top: 14px; }
  .artists-lead { font-size: 16px; }
  .artist-index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .artist-filter-bar { grid-template-columns: 1fr; gap: 14px; }
  .artist-index-name { font-size: 19px; }
  .artist-index-brand { font-size: 6px; }
  .artist-index-meta { font-size: 7px; }
  .artist-index-foot { display: block; padding-top: 9px; }
  .artist-index-count { font-size: 7px; }
  .artist-index-action { display: block; margin-top: 5px; font-size: 7px; }
}
html[lang="zh-CN"] .artists-lead { font-family: var(--sans); line-height: 1.9; }
html[lang="zh-CN"] .artist-index-name { letter-spacing: -.04em; }
