/* No Emb Blanc – static archive
   Fonts: Archivo (OFL), IBM Plex Mono (OFL) – self-hosted, see assets/fonts */

@font-face { font-family: "Archivo"; src: url("fonts/archivo.woff") format("woff"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("fonts/plexmono-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("fonts/plexmono-700.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --ground: #121211;
  --ground-2: #181816;
  --field: #1c1b19;
  --paper: #ece8df;
  --paper-2: #c9c4b8;
  --muted: #9c978c;
  --faint: #6e6a62;
  --line: #3a3833;
  --line-2: #55524b;
  --accent: #ff5533;
  --display: "Archivo", "Arial Black", Impact, sans-serif;
  --mono: "Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--ground);
  background-image: radial-gradient(rgba(236, 232, 223, 0.07) 1px, transparent 1.2px);
  background-size: 4px 4px;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--paper); text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 10; background: var(--accent); color: var(--ground); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 12px; color: var(--ground); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.label { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); font-weight: 400; }
.display { font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.01em; }

/* ---------- header / footer ---------- */
.site-head { border-bottom: 1px solid var(--line); background: var(--ground); position: relative; z-index: 2; }
.site-head .wrap { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.logo { font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: 23px; line-height: 1.4; text-transform: lowercase; letter-spacing: -0.01em; color: var(--paper); }
.nav { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; }
.nav a { display: inline-block; padding: 8px 0; }
.nav a[aria-current="page"] { color: var(--accent); }

.site-foot { border-top: 1px solid var(--line); margin-top: 32px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 28px 64px; justify-content: space-between; padding-top: 44px; padding-bottom: 60px; font-size: 13px; color: var(--muted); }
.site-foot .logo { font-size: 17px; display: block; margin-bottom: 6px; }
.site-foot .nav a { color: var(--paper); }

/* ---------- home: hero / obituary ---------- */
.hero { display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: flex-start; padding-top: 72px; padding-bottom: 72px; }
.hero-main { flex: 999 1 560px; min-width: 0; position: relative; z-index: 0; }
.hero h1 { margin: 26px 0 0; font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: clamp(26px, 8.2vw, 122px); line-height: 0.92; letter-spacing: -0.035em; text-transform: uppercase; white-space: nowrap; }
@media (min-width: 1068px) {
  /* side by side: the orange line runs into the obituary */
  .hero h1 { font-size: clamp(60px, 7.1vw, 104px); }
}
.hero h1 em { font-style: normal; color: var(--accent); }
/* the obituary sits on top: the headline may run into it */
.obit { flex: 1 1 380px; min-width: 0; max-width: 500px; border-top: 3px solid var(--accent); padding-top: 22px; position: relative; z-index: 1; text-shadow: 0 0 2px var(--ground), 0 0 5px var(--ground); }
.obit p { margin: 0 0 16px; }
.obit .sign { margin: 22px 0 0; font-family: var(--display); font-weight: 700; font-stretch: 100%; font-size: 18px; text-transform: none; }

.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; white-space: nowrap; font-size: 12px; letter-spacing: 0.2em; color: var(--faint); padding: 10px 0; }

/* ---------- catalogue ---------- */
.section { padding-top: 72px; padding-bottom: 88px; }
.section-head { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.section-head h2, .page-title { margin: 0; font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: clamp(30px, 4.6vw, 56px); line-height: 1; text-transform: uppercase; letter-spacing: -0.02em; }
.count { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.search { display: none; flex-direction: column; gap: 6px; width: 340px; max-width: 100%; }
.search label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.search input { height: 48px; padding: 0 14px; background: var(--field); border: 1px solid var(--line-2); border-radius: 0; color: var(--paper); font: inherit; font-size: 15px; }
.search input::placeholder { color: var(--faint); }
.chips { display: none; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; padding: 0; border: 0; }
.js .search { display: flex; }
.js .chips { display: flex; }
.chip { min-height: 44px; padding: 0 16px; background: transparent; color: var(--paper); border: 1px solid var(--line-2); border-radius: 0; font: inherit; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer; }
.chip:hover { border-color: var(--paper); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--ground); font-weight: 700; }
.empty { padding: 40px 0; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 40px 24px; margin: 0; padding: 0; list-style: none; }
.card { display: flex; flex-direction: column; gap: 8px; color: var(--paper); }
.card img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--field); filter: grayscale(1) contrast(1.15); transition: filter .25s ease; }
.card:hover img, .card:focus-visible img { filter: none; }
.card:hover { color: var(--paper); }
.card:hover .cat { text-decoration: underline; }
.card .cat { margin-top: 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--accent); }
.card .name { font-family: var(--display); font-weight: 800; font-size: 16px; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.01em; }
.card .title { font-size: 14px; line-height: 1.35; color: var(--paper-2); margin-top: -4px; }

/* ---------- release / artist pages ---------- */
.backdrop { position: relative; height: 340px; margin-bottom: -260px; overflow: hidden; z-index: 0; }
.backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: 0.55; }
.backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,18,17,0.2) 0%, var(--ground) 92%); }
.page-top { position: relative; z-index: 1; }
.back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 28px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--paper-2); }
.back svg { flex: none; }

.rel-hero { display: flex; flex-wrap: wrap; gap: 44px 64px; padding-top: 20px; padding-bottom: 72px; position: relative; z-index: 1; }
.rel-cover { flex: 1 1 400px; min-width: 0; max-width: 600px; margin: 0; }
.rel-cover img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; box-shadow: 0 24px 60px rgba(0,0,0,0.55); }
.rel-info { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.rel-cat { margin: 0 0 12px; font-size: 14px; font-weight: 700; letter-spacing: 0.2em; color: var(--accent); }
.rel-artist { margin: 0 0 10px; font-family: var(--display); font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: 0.02em; }
.rel-artist a { border-bottom: 2px solid var(--accent); }
.rel-title { margin: 0; font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: clamp(30px, 6vw, 88px); line-height: 0.98; letter-spacing: -0.035em; text-transform: uppercase; overflow-wrap: break-word; hyphens: auto; }
.meta { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 28px; font-size: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; }
.meta dt { color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; padding-top: 2px; }
.meta dd { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--line-2); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.tags a:hover { border-color: var(--accent); }
.buy { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border: 1px solid var(--accent); color: var(--accent); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.btn:hover { background: var(--accent); color: var(--ground); }
.btn.ghost { border-color: var(--line-2); color: var(--paper); font-weight: 400; }
.btn.ghost:hover { border-color: var(--paper); background: transparent; color: var(--paper); }
.prose { max-width: 680px; }
.prose p { margin: 0 0 14px; }
.prose a { border-bottom: 1px solid var(--line-2); }
.prose a:hover { border-color: var(--accent); }
.prose h2 { font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: 20px; text-transform: uppercase; margin: 44px 0 14px; line-height: 1.3; }
.prose h3 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin: 28px 0 8px; }
.more-text { margin-top: 4px; }
.more-text summary { cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); }

/* tracklist */
.tracklist { padding-bottom: 88px; }
.tl-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 3px solid var(--accent); padding-bottom: 12px; margin-bottom: 8px; }
.tl-head h2 { margin: 0; font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: clamp(24px, 3vw, 36px); text-transform: uppercase; line-height: 1.2; }
.now { font-size: 13px; color: var(--muted); }
.sides { display: flex; flex-wrap: wrap; gap: 0 64px; }
.side { flex: 1 1 460px; min-width: 0; }
.side h3 { margin: 24px 0 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted); }
.side ol { list-style: none; margin: 0; padding: 0; }
.trk { display: flex; align-items: center; gap: 16px; padding: 6px 8px 6px 0; border-bottom: 1px solid #2a2925; min-height: 57px; }
.trk:hover { background: var(--field); }
.trk .pos { flex: 0 0 34px; font-size: 13px; color: var(--muted); }
.trk .t { flex: 1 1 auto; min-width: 0; font-family: var(--display); font-weight: 700; font-size: 17px; }
.trk .t small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.trk .na { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--faint); }
.play { flex: 0 0 44px; width: 44px; height: 44px; display: none; align-items: center; justify-content: center; cursor: pointer; border-radius: 0; background: transparent; color: var(--paper); border: 1px solid var(--line-2); padding: 0; }
.js .play { display: inline-flex; }
.play:hover { border-color: var(--paper); }
.play .i-pause { display: none; }
.trk.is-playing { color: var(--accent); }
.trk.is-playing .play { background: var(--accent); border-color: var(--accent); color: var(--ground); }
.trk.is-playing .i-play { display: none; }
.trk.is-playing .i-pause { display: block; }
.trk.is-error .t small { color: var(--accent); }
.nojs-note { font-size: 13px; color: var(--muted); }
.js .nojs-note { display: none; }

/* artist block */
.artist-block { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ground-2); }
.artist-block .wrap, .artist-hero { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; padding-top: 64px; padding-bottom: 64px; }
.artist-photo { flex: 0 1 360px; min-width: 0; width: 360px; max-width: 100%; margin: 0; }
.artist-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.artist-body { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.artist-body h2, .artist-body h1 { margin: 0; font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: clamp(28px, 4vw, 48px); line-height: 1.12; text-transform: uppercase; letter-spacing: -0.02em; }
.links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; }
.links a { display: inline-block; padding: 6px 0; border-bottom: 1px solid var(--line-2); }

/* artist page: content above the backdrop */
.artist-hero { position: relative; z-index: 1; }

/* related */
.related { display: flex; flex-wrap: wrap; gap: 56px 64px; padding-top: 72px; padding-bottom: 88px; }
.related > div { flex: 999 1 560px; min-width: 0; }
.related > div.narrow { flex: 0 1 220px; }
.related > div.narrow .grid { grid-template-columns: minmax(0, 1fr); }
.related h2 { margin: 0 0 24px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted); }
.related .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 32px 24px; }

/* artists index */
.artist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 40px 24px; margin: 0; padding: 0; list-style: none; }
.artist-card img { aspect-ratio: 4 / 5; }

/* legal / text pages */
.text-page { padding-top: 56px; padding-bottom: 88px; }
.text-page .prose { margin-top: 32px; }

@media (max-width: 640px) {
  body { font-size: 14px; }
  .hero { padding-top: 56px; padding-bottom: 48px; }
  .section { padding-top: 48px; }
  .grid, .related .grid, .related > div.narrow .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .related > div.narrow { flex: 1 1 100%; }
  .backdrop { height: 220px; margin-bottom: -170px; }
  .trk { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
