/* Artist archive: the same physical, brass and charcoal language as Band World. */
body.artist-page {
  min-height: 100dvh;
  overflow-x: hidden;
  isolation: isolate;
}
body.artist-page::before {
  content: '';
  position: fixed; z-index: -1; inset: var(--nav-h) 0 0;
  background:
    linear-gradient(rgb(5 6 6 / .78), rgb(5 6 6 / .95)),
    url('../img/ui/band-room.jpg') center / cover no-repeat;
  filter: saturate(.35) contrast(1.12);
  pointer-events: none;
}

.artist-page #page { max-width: 1560px; margin: 0 auto; }
.artist-page .body.grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 36px;
  padding: 32px 36px 72px;
}
.artist-page .stack-left { grid-column: 1 / 8; min-width: 0; }
.artist-page .col-work {
  grid-column: 8 / -1;
  min-width: 0; padding: 0 0 42px 34px;
  border-left: 1px solid #443a2d;
}
.artist-page .left-top {
  display: grid; grid-template-columns: minmax(250px, .82fr) minmax(350px, 1.18fr);
  align-items: start; gap: 32px;
}
.artist-page .col-bands { min-width: 0; padding: 0; }

/* Identity owns the display face. All archive sections use the shared label face. */
.artist-page #artist-name {
  position: relative; z-index: 3;
  margin: 0 0 18px;
  color: var(--white) !important;
  font: 400 clamp(42px, 4.5vw, 72px)/.84 var(--display-font) !important;
  letter-spacing: .01em !important;
  text-transform: none;
  text-shadow: 0 12px 22px rgb(2 3 3 / .9);
}
.artist-page #artist-name::after {
  content: ''; display: block; width: 72px; height: 2px; margin-top: 15px;
  background: var(--archive-brass);
  box-shadow: 0 4px 12px rgb(95 75 43 / .5);
}
.artist-page .artist-honors {
  display: inline-flex; align-items: center; gap: 3px;
  margin-left: .16em; color: #c9d0d9;
  font: 700 .3em var(--nav-font); vertical-align: .3em;
}
.artist-page .artist-honors img { width: 1.2em; height: 1.2em; margin: 0; vertical-align: 0; }

.artist-page .portrait {
  aspect-ratio: 3 / 4;
  border: 1px solid #756344;
  background: #101110;
  box-shadow: 14px 24px 34px rgb(2 3 3 / .8);
  transform: perspective(1000px) rotateY(2.5deg);
  transform-origin: left center;
}
.artist-page .portrait::after {
  content: ''; position: absolute; inset: 0;
  box-shadow: inset 0 0 54px rgb(3 4 4 / .42);
  pointer-events: none;
}
.artist-page .portrait img { filter: grayscale(1) sepia(.08) contrast(1.06); }

/* Honors read as earned metal plaques, not generic chips. */
.artist-page #honors-slot { margin-top: 16px; }
.artist-page #honors-slot .honors {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px; margin: 0;
}
.artist-page #honors-slot .honor {
  min-height: 36px; gap: 7px; padding: 7px 8px;
  border: 1px solid #51442f;
  background: linear-gradient(135deg, rgb(37 31 21 / .92), rgb(10 11 10 / .96));
  color: #cfb477; font-size: 8px; letter-spacing: .08em;
}
.artist-page #honors-slot .honor img { width: 21px; height: 21px; object-fit: contain; }
.artist-page #honors-slot .honor .n { display: none; }
.artist-page #honors-slot .honor .hl { overflow: hidden; text-overflow: ellipsis; }

.artist-page #facts {
  margin-top: 9px; padding: 13px 14px;
  border: 1px solid #383229;
  background: rgb(9 10 10 / .92);
}
.artist-page .born { margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid #2c2821; }
.artist-page .born b { color: #c9d0d9; font-size: 24px; }
.artist-page .fact { display: grid; grid-template-columns: 84px 1fr; line-height: 1.5; padding: 4px 0; }
.artist-page .fact .lbl, .artist-page .known .lbl { color: #7f786f; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.artist-page .fact .val, .artist-page .known div { color: #c9c1b5; font-size: 11px; }
.artist-page .known { margin-top: 8px; padding-top: 8px; border-top: 1px solid #2c2821; }
.artist-page .known div { display: inline-block; margin: 5px 8px 0 0; color: #c9d0d9; }

/* Band connections are archived plaques, with logos carrying the hierarchy. */
.artist-page .col-bands > h2, .artist-page .col-work > h2,
.artist-page .col-shows > h2, .artist-page .col-comments > h2,
.artist-page .credits-head {
  min-height: 18px; margin: 0 0 17px; padding-bottom: 9px;
  border-bottom: 1px solid #4a4032;
}
.artist-page .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 12px; }
.artist-page .tile {
  padding: 8px 8px 10px;
  border: 1px solid #373129;
  background: linear-gradient(145deg, rgb(20 20 17 / .95), rgb(7 8 8 / .98));
  box-shadow: 7px 10px 17px rgb(2 3 3 / .54);
  transition: transform .42s var(--ease), border-color .22s, filter .22s;
}
.artist-page .tile:nth-child(3n) { transform: translateY(5px) rotate(.35deg); }
.artist-page .tile:hover, .artist-page .tile:focus-visible {
  transform: translateY(-3px) rotate(0deg);
  border-color: #8a744e; filter: brightness(1.1);
}
.artist-page .tile-art {
  aspect-ratio: 16 / 10;
  background: radial-gradient(circle, #1c1b17, #0a0b0b 70%);
  border-bottom: 1px solid #403728;
}
.artist-page .tile-art::after { display: none; }
.artist-page .tile-art img { width: 86%; height: 76%; }
.artist-page .tile-name { margin-top: 8px; color: #e0d8ca; font-size: 12px; }
.artist-page .tile-role { min-height: 28px; color: #827b72; font-size: 9px; line-height: 1.35; }
.artist-page .tile:hover .tile-name { color: #c9d0d9; }

/* Releases are physical objects on a dark catalogue shelf. */
.artist-page .release-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 27px 13px; perspective: 1000px; }
.artist-page .release-grid.small { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px 11px; }
.artist-page .release {
  position: relative; min-width: 0;
  padding: 0 0 11px;
  border-bottom: 1px solid #4a3e2d;
  transition: transform .5s var(--ease), filter .22s;
  transform: perspective(800px) rotateY(-2deg);
  transform-origin: center bottom;
}
.artist-page .release:nth-child(3n + 2) { transform: perspective(800px) rotateY(1.5deg) translateY(7px); }
.artist-page .release:nth-child(3n) { transform: perspective(800px) rotateY(3deg) translateY(2px); }
.artist-page .release:hover, .artist-page .release:focus-visible { transform: translateY(-7px) rotateY(0deg); filter: brightness(1.1); }
.artist-page .rl-thumb {
  overflow: visible; aspect-ratio: 1;
  border: 1px solid #6b593d;
  background: #121312;
  box-shadow: 10px 15px 22px rgb(2 3 3 / .72);
}
.artist-page .rl-thumb::before {
  content: ''; position: absolute; z-index: -1; width: 86%; aspect-ratio: 1;
  left: 22%; top: 4%; border-radius: 50%;
  background: repeating-radial-gradient(circle, #0b0b0b 0 5px, #222 6px 7px);
  box-shadow: 8px 11px 18px rgb(2 3 3 / .76);
}
.artist-page .rl-thumb::after { display: none; }
.artist-page .rl-thumb img { filter: saturate(.72) contrast(1.04); }
.artist-page .physical-strip {
  position: static; display: block;
  margin: 8px 0 0; padding: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: #927c56; background: none; backdrop-filter: none;
  font-size: 7px; letter-spacing: .08em;
}
.artist-page .rl-title { margin-top: 9px; color: #ded5c8; font-size: 11px; font-weight: 650; }
.artist-page .rl-band { margin-top: 3px; color: #a9a198; font-size: 9px; }
.artist-page .rl-sub, .artist-page .rl-role { color: #777168; font-size: 8px; line-height: 1.35; }
.artist-page .rl-guest { color: #c9d0d9; }
.artist-page .release:hover .rl-title { color: #c9d0d9; }
.artist-page .credits-head { margin-top: 52px; }

/* The history is a wall ledger, not an unrelated list style. */
.artist-page .col-shows, .artist-page .col-comments { padding-top: 58px; }
.artist-page .shows-note { max-width: 78ch; color: #89827a; font-size: 10px; line-height: 1.6; }
.artist-page .shows-count { color: var(--archive-brass); font-size: 9px; letter-spacing: .08em; }
.artist-page .show-year { color: #c9d0d9; font-family: var(--nav-font); font-size: 11px; letter-spacing: .16em; }
.artist-page .show-row { border-bottom-color: #29261f; }
.artist-page .show-row.has-flyer:hover { background: rgb(31 27 20 / .5); }
.artist-page #shows-more {
  border-color: #5f513c; border-radius: 0; color: #c9d0d9; background: #0d0e0d;
}

@media (max-width: 1180px) {
  .artist-page .body.grid { gap: 28px; padding-inline: 24px; }
  .artist-page .stack-left { grid-column: 1 / 9; }
  .artist-page .col-work { grid-column: 9 / -1; padding-left: 24px; }
  .artist-page .left-top { grid-template-columns: minmax(230px, .8fr) minmax(310px, 1.2fr); gap: 24px; }
  .artist-page .release-grid, .artist-page .release-grid.small { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .artist-page .stack-left, .artist-page .col-work { grid-column: 1 / -1; }
  .artist-page .col-work { margin-top: 48px; padding: 0; border-left: 0; }
  .artist-page .release-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  body.artist-page::before { opacity: .55; }
  .artist-page .body.grid { display: block; padding: 22px 16px 56px; }
  .artist-page .left-top { display: block; }
  .artist-page .col-person, .artist-page .col-bands, .artist-page .col-work,
  .artist-page .col-shows, .artist-page .col-comments { margin-bottom: 46px; }
  .artist-page .portrait { max-width: none; transform: none; aspect-ratio: 4 / 5; }
  .artist-page #honors-slot .honors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .artist-page .col-bands { margin-top: 44px; }
  .artist-page .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .artist-page .release-grid, .artist-page .release-grid.small { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 15px; }
  .artist-page .col-work { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .artist-page .tile, .artist-page .release { transition-duration: .01ms !important; transform: none !important; }
}

/* ── the room's focus panels ──────────────────────────────────
   The room's MAIN view is the ar-* layer in artistroom.css and inherits
   nothing from bandworld.css. What remains here is the artist flavour of
   the shared bw-* focus panels (career wall / record shelf / the bands),
   which the artist room reuses from the band room on purpose. */

/* the bands panel lists rosters, not people — logos want contain, not cover */
.artist-page .bw-connections-focus .bw-person-photo img {
  object-fit: contain; padding: 14px;
  mix-blend-mode: screen; filter: var(--logo-filter);
}
.artist-page .bw-connections-focus .bw-person { height: 250px; text-decoration: none; }

/* ── the discography panel: sleeves in the open ───────────────
   The full shelf boxed every record into a 440px cell — cover cropped to the
   cell's top, copy locked in the black below, the row clipped by overflow and
   a lit, empty plank underneath. A discography is sleeves laid out on the
   table: the cover square and whole, the words under it in open air, and the
   grid scrolls instead of imprisoning. */
.artist-page .bw-full-shelf { height: calc(100% - 106px); perspective: none; }
.artist-page .bw-full-releases {
  height: 100%; overflow: hidden auto;
  grid-template-columns: repeat(auto-fill, minmax(172px, 1fr));
  align-items: start; align-content: start;
  gap: 34px 22px; padding: 6px 26px 40px;
}
.artist-page .bw-record.is-full {
  height: auto; display: block;
  background: none; border: 0; box-shadow: none;
}
.artist-page .bw-record.is-full .bw-vinyl { display: none; }
.artist-page .bw-record.is-full > img,
.artist-page .bw-record.is-full > .bw-cover-missing {
  width: 100%; aspect-ratio: 1; height: auto; object-fit: cover;
  border: 1px solid #2f343b; border-bottom: 1px solid #2f343b;
  box-shadow: 0 16px 30px rgb(0 0 0 / .6);
}
.artist-page .bw-record.is-full .bw-record-copy { padding: 11px 2px 0; }
.artist-page .bw-record.is-full small { color: #8b939d; font-size: 10.5px; letter-spacing: .08em; }
.artist-page .bw-record.is-full h3 { margin: 5px 0 4px; font: 400 20px/.95 var(--display-font); }
.artist-page .bw-record.is-full b { color: #9aa2ac; font-size: 10px; letter-spacing: .1em; }
.artist-page .bw-record.is-full span { display: block; margin-top: 4px; color: #6e757e; font-size: 9.5px; letter-spacing: .06em; }
.artist-page .bw-record.is-full:hover,
.artist-page .bw-record.is-full:focus-visible { transform: translateY(-5px); }
/* no furniture under sleeves on a table */
.artist-page .bw-full-shelf-edge,
.artist-page .bw-full-shelf-base { display: none; }

/* accessible: the atlas papers and panel sleeves say so when focused */
.artist-page .bw-paper:focus-visible,
.artist-page .bw-record:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}
