:root {
  --bg: #faf8f5;
  --paper: #f0ebe0;
  --ink: #1a1a1a;
  --ink-muted: #5a5a5a;
  --rule: #e3ddd2;
  --accent: #2f5d3a;
  --max: 1080px;
  --serif: 'Fraunces', 'Iowan Old Style', 'Georgia', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--accent); text-decoration-color: currentColor; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--bg); padding: 8px 12px; }
.skip-link:focus { left: 8px; top: 8px; z-index: 100; }

/* Header */
header.site {
  border-bottom: 1px solid var(--rule);
  padding: 24px 24px 16px;
}
.site-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.brand a { line-height: 0; text-decoration: none; }
.brand img {
  display: block;
  width: clamp(160px, 22vw, 220px);
  height: auto;
}
body.home .brand img {
  width: clamp(240px, 42vw, 380px);
}
.brand-tagline {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-muted);
  font-size: 19px;
  letter-spacing: 0.005em;
  margin-top: -2px;
  font-variation-settings: "opsz" 24;
}

nav.primary ul {
  list-style: none;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
nav.primary a {
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 2px;
  border-bottom: 1px solid transparent;
}
nav.primary a:hover,
nav.primary a[aria-current="page"] {
  border-bottom-color: var(--ink);
}

/* Main */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px 64px;
}

main > section + section { margin-top: 64px; }

h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.05;
  font-variation-settings: "opsz" 96;
}
h3 {
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  font-size: 20px;
}
h1 { font-size: clamp(40px, 6.4vw, 68px); }
h2 { font-size: clamp(28px, 3.8vw, 38px); margin-bottom: 20px; font-variation-settings: "opsz" 64; }

p { margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 12px;
}

/* Home hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 64px;
  align-items: end;
  padding-top: 8px;
}
.hero figure { margin: 0; }
.hero img { width: 100%; height: auto; display: block; border-radius: 2px; box-shadow: 0 32px 80px -40px rgba(0,0,0,0.45); }
.hero h1 { margin-top: 10px; font-size: clamp(44px, 6vw, 76px); }
.hero p.tagline { color: var(--ink-muted); margin-top: 16px; max-width: 32ch; font-size: 17px; }
.hero .release-meta { font-size: 13px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 10px; }
.hero > div { padding-bottom: 8px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .hero > div { padding-bottom: 0; }
}

.cta {
  display: inline-block;
  padding: 12px 22px;
  margin-top: 18px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 14px;
}
.cta:hover { background: var(--accent); color: var(--bg); }

.about {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto;
}
.about p { font-size: 18px; color: var(--ink-muted); }

/* Sort bar */
.sort-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
}
.sort-bar label { font-weight: 500; }
.sort-bar select {
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--rule);
  padding: 6px 10px;
  cursor: pointer;
}
.sort-bar select:focus { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Card grids */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 56px 40px;
}

/* Releases page: feature the first card at 2x */
#releases-grid {
  grid-auto-flow: dense;
}
#releases-grid > .card:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
#releases-grid > .card:first-child h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-top: 4px;
}
#releases-grid > .card:first-child .meta { font-size: 15px; }
@media (max-width: 720px) {
  #releases-grid > .card:first-child { grid-column: span 1; grid-row: span 1; }
  #releases-grid > .card:first-child h3 { font-size: 18px; font-family: inherit; font-weight: 600; }
}
.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
}
.card:hover h3 { color: var(--accent); }
.card .cover {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--paper);
  margin-bottom: 12px;
}
.card .cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 400ms ease; }
.card:hover .cover img { transform: scale(1.03); }
.card h3 { font-size: 17px; margin-bottom: 2px; }
.card .meta { font-size: 14px; color: var(--ink-muted); }

/* Release / artist detail */
.detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.1fr;
  gap: 48px;
  align-items: start;
}
.detail figure img { width: 100%; height: auto; display: block; }
.detail .eyebrow { margin-bottom: 6px; }
.detail h1 { margin-bottom: 18px; }
.detail .body p { font-size: 17px; line-height: 1.7; }
.detail .body p + p { margin-top: 14px; }

@media (max-width: 720px) {
  .detail { grid-template-columns: 1fr; gap: 24px; }
}

.press {
  margin-top: 28px;
  padding: 22px 0 4px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.press blockquote {
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  margin: 0;
}
.press blockquote p {
  font-style: italic;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 6px;
}
.press cite {
  font-style: normal;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
  font-weight: 500;
}

.embed {
  margin-top: 28px;
}
.embed iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 4px;
  background: var(--paper);
}
.embed--spotify iframe { height: 352px; }
.embed--soundcloud iframe { height: 300px; }

.listen {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.listen .label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-muted); margin-bottom: 10px; }
.platforms {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.platforms a {
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
}
.platforms a:hover { border-bottom-color: var(--accent); }

.back-link {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 24px;
}
.back-link:hover { color: var(--accent); }

/* Artist page */
.artist-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.artist-hero img { width: 100%; height: auto; display: block; }
.artist-hero .body p { font-size: 17px; line-height: 1.7; }
.artist-hero .body p + p { margin-top: 14px; }
.artist-hero .links { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; }
@media (max-width: 720px) { .artist-hero { grid-template-columns: 1fr; gap: 24px; } }

.subhead {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 10px;
  margin-bottom: 24px;
}

/* Label / contact */
.label-block {
  max-width: 60ch;
  margin: 0 auto;
}
.label-block h2 { margin-top: 32px; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 16px;
}
.contact-grid div { padding: 20px; background: var(--paper); }
.contact-grid h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 6px; color: var(--ink-muted); font-weight: 600; }
.contact-grid p { margin: 0; font-size: 16px; }

/* Footer */
footer.site {
  border-top: 1px solid var(--rule);
  padding: 28px 24px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 14px;
}
footer.site nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  justify-content: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
footer.site nav a { text-decoration: none; }
