:root {
  --bg: #131110;
  --surface: #1b1816;
  --raised: #25211d;
  --line: #2e2924;
  --text: #f3ede3;
  --muted: #b0a699;
  --faint: #7d7468;
  --accent: #d9a35f;
  --serif: Newsreader, "Sitka Display", Georgia, serif;
  --sans: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 1px solid #94877a; outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(36px, 6vw, 62px); letter-spacing: -.01em; }
h2 { font-size: 28px; }
img { display: block; max-width: 100%; }
.muted { color: var(--muted); }
.loading, .empty { color: var(--muted); padding: 60px 0; text-align: center; }

.top { max-width: 1120px; margin: 0 auto; padding: 22px 24px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; position: relative; z-index: 2; }
.brand { font: 600 22px var(--serif); }
.top nav { display: flex; gap: 4px; }
.top nav a { padding: 6px 12px; border-radius: 8px; color: var(--muted); font-weight: 500; font-size: 14px; }
.top nav a:hover { color: var(--text); }
.top nav a[aria-current] { color: var(--text); background: rgb(255 255 255 / .07); }
main { max-width: 1120px; margin: 0 auto; padding: 8px 24px 96px; }
section { margin-top: 56px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }

.score { font-family: var(--serif); font-weight: 500; font-variant-numeric: lining-nums tabular-nums; line-height: 1; white-space: nowrap; }
.score small { font: 400 .42em var(--sans); color: var(--faint); margin-left: 3px; }
.score.none { color: var(--faint); }

.intro { padding: 24px 0 0; }
.figures { display: flex; flex-wrap: wrap; gap: 18px 48px; margin-top: 26px; padding: 20px 0; border-block: 1px solid var(--line); }
.figures b { display: block; font: 500 34px/1.1 var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.figures span { color: var(--muted); font-size: 13px; }

.artists { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 22px; margin-top: 36px; }
.artist-card { background: var(--surface); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); transition: transform .18s, border-color .18s; }
.artist-card:hover { transform: translateY(-3px); border-color: #4a4238; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; background: var(--raised); }
.mosaic img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.artist-card .body { padding: 14px 16px 16px; }
.artist-card .title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.artist-card h3 { font-size: 22px; }
.artist-card .score { font-size: 26px; color: var(--accent); }
.artist-card p { font-size: 13px; color: var(--muted); margin: 4px 0 12px; }
.bar { height: 4px; background: var(--raised); border-radius: 4px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }

/* Artist and album headers sit on a soft wash of their own cover art. */
.wash { position: absolute; inset: 0 0 auto 0; height: 520px; overflow: hidden; z-index: -1; pointer-events: none; }
.wash img { width: 100%; height: 100%; object-fit: cover; filter: blur(70px) saturate(1.25); opacity: .34; transform: scale(1.3); }
.wash::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgb(19 17 16 / .2), var(--bg)); }

.hero { display: flex; gap: 36px; align-items: flex-end; padding-top: 34px; }
.hero > img { width: 260px; height: 260px; border-radius: 12px; box-shadow: 0 24px 60px rgb(0 0 0 / .5); flex: none; }
.hero .about { min-width: 0; }
.hero .by { color: var(--accent); font-weight: 600; margin-bottom: 4px; }
.hero .by a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hero .meta { color: var(--muted); margin-top: 8px; }
.hero .link { display: inline-block; margin-top: 16px; padding: 8px 16px; border-radius: 999px; background: rgb(255 255 255 / .09); font-weight: 500; font-size: 14px; }
.hero .link:hover { background: rgb(255 255 255 / .15); }

.verdict { display: grid; grid-template-columns: auto 1fr; gap: 8px 36px; margin-top: 44px; padding: 30px 34px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; align-items: start; }
.verdict > .score { font-size: 76px; color: var(--accent); }
.verdict .summary { font: italic 400 25px/1.35 var(--serif); }
.verdict .full { color: var(--muted); margin-top: 14px; white-space: pre-wrap; max-width: 70ch; }
.verdict.waiting { display: block; color: var(--muted); }

/* Album scores in release order. */
.arc { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px 14px; overflow-x: auto; }
.arc ol { list-style: none; display: flex; align-items: flex-end; gap: 10px; min-width: min-content; }
.arc li { flex: 1 0 46px; max-width: 92px; }
.arc a { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.arc .column { height: 150px; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.arc .column i { width: 100%; max-width: 38px; background: var(--accent); border-radius: 6px 6px 2px 2px; min-height: 3px; transition: filter .15s; }
.arc .column i.none { background: var(--raised); }
.arc a:hover i { filter: brightness(1.18); }
.arc .value { font: 500 16px var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.arc img { width: 38px; height: 38px; border-radius: 5px; }
.arc .year { font-size: 11px; color: var(--faint); }

.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(188px, 1fr)); gap: 26px 20px; }
.album-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; box-shadow: 0 12px 28px rgb(0 0 0 / .35); transition: transform .18s; }
.album-card:hover img { transform: translateY(-3px); }
.album-card .title { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; align-items: baseline; }
.album-card h3 { font-size: 19px; }
.album-card .score { font-size: 22px; color: var(--accent); }
.album-card p { font-size: 13px; color: var(--muted); }
.album-card .blurb { margin-top: 4px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; line-height: 1.45; }

.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: var(--lead, 36px) 1fr auto; gap: 6px 18px; padding: 16px 6px; border-bottom: 1px solid var(--line); align-items: start; }
.row.art { --lead: 56px; }
.row.ranked { grid-template-columns: 34px 52px 1fr auto; }
.row .n { color: var(--faint); font-variant-numeric: tabular-nums; padding-top: 3px; }
.row img { width: 100%; aspect-ratio: 1; border-radius: 6px; }
.row .name { font-weight: 600; }
.row .name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.row .sub { font-size: 13px; color: var(--muted); }
.row .summary { color: var(--muted); margin-top: 3px; max-width: 74ch; }
.row .full { margin-top: 10px; white-space: pre-wrap; max-width: 70ch; font-family: var(--serif); font-size: 18px; line-height: 1.5; }
.row .more { color: var(--faint); font-size: 13px; margin-top: 5px; padding: 0; }
.row .more:hover { color: var(--text); }
.row > .score { font-size: 30px; min-width: 44px; text-align: right; }
.row.unrated .name { color: var(--muted); font-weight: 500; }
.row.unrated > .score { font-size: 14px; font-family: var(--sans); padding-top: 4px; }

.tabs { display: flex; gap: 4px; margin: 26px 0 18px; flex-wrap: wrap; }
.tabs button { padding: 7px 15px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: 14px; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.show-more { display: block; margin: 22px auto 0; padding: 9px 20px; border-radius: 999px; background: var(--raised); font-weight: 500; }

@media (max-width: 720px) {
  .top { padding: 16px; flex-wrap: wrap; }
  .top nav a { padding: 5px 9px; }
  .top nav a:first-child { margin-left: -9px; }
  main { padding: 4px 16px 72px; }
  section { margin-top: 42px; }
  .hero { flex-direction: column; align-items: flex-start; gap: 22px; padding-top: 14px; }
  .hero > img { width: min(230px, 70vw); height: auto; aspect-ratio: 1; }
  .verdict { grid-template-columns: 1fr; padding: 22px; }
  .verdict > .score { font-size: 56px; }
  .verdict .summary { font-size: 21px; }
  .artists { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .artist-card .body { padding: 10px 12px 12px; }
  .artist-card h3 { font-size: 17px; }
  .artist-card .score { font-size: 19px; }
  .albums { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .row { gap: 4px 12px; }
  .row.ranked { grid-template-columns: 24px 42px 1fr auto; }
  .row > .score { font-size: 24px; min-width: 32px; }
}
@media (max-width: 420px) { .artists { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
