/* Dominion Sound Publishing — site styles
   Dark editorial system: Big Shoulders (display) + EB Garamond (body),
   near-black ground, warm off-white ink, signal red accent. */

/* ---------- fonts ---------- */
@font-face {
  font-family: "Big Shoulders";
  src: url("/assets/fonts/big-shoulders-v4-latin-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Big Shoulders";
  src: url("/assets/fonts/big-shoulders-v4-latin-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Big Shoulders";
  src: url("/assets/fonts/big-shoulders-v4-latin-800.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("/assets/fonts/eb-garamond-v33-latin-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("/assets/fonts/eb-garamond-v33-latin-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("/assets/fonts/eb-garamond-v33-latin-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --ink-0: #0c0c0d;        /* page ground */
  --ink-1: #141416;        /* raised panels */
  --ink-2: #1d1d20;        /* borders on panels */
  --paper: #f5f4f0;        /* warm off-white text */
  --muted: #a3a09a;
  --faint: rgba(245, 244, 240, 0.14);
  --red: #ef3e33;          /* signal red */
  --red-bright: #ff5449;
  --display: "Big Shoulders", "Arial Narrow", sans-serif;
  --serif: "EB Garamond", Georgia, serif;
  --measure: 62ch;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --site-max: 1120px;
}

/* ---------- base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink-0);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--paper); text-decoration-color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-bright); }
::selection { background: var(--red); color: var(--ink-0); }

.wrap { max-width: var(--site-max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.95;
}
h1 { font-size: clamp(2.75rem, 9vw, 6.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); letter-spacing: 0.03em; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.45rem); letter-spacing: 0.05em; font-weight: 700; }

.kicker {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.8rem;
  color: var(--red);
}
.lede { font-size: clamp(1.25rem, 2.2vw, 1.5rem); max-width: var(--measure); }
.muted { color: var(--muted); }
p + p { margin-top: 1em; }
.prose { max-width: var(--measure); }
.prose p + p { margin-top: 1.1em; }

hr.rule { border: 0; border-top: 1px solid var(--faint); margin: 0; }

/* ---------- header ---------- */
.site-header {
  border-bottom: 1px solid var(--faint);
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 12, 13, 0.92);
  backdrop-filter: blur(8px);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: 0.9rem; padding-bottom: 0.9rem;
}
.wordmark {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: 1.15rem; letter-spacing: 0.12em; text-decoration: none; white-space: nowrap;
}
.wordmark .tail { color: var(--muted); font-weight: 600; }
.wordmark:hover { color: var(--paper); }
.wordmark:hover .tail { color: var(--red); }
.site-nav { display: flex; gap: clamp(0.9rem, 2.5vw, 1.75rem); }
.site-nav a {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 0.85rem; text-decoration: none; color: var(--muted);
  padding: 0.25rem 0;
}
.site-nav a:hover { color: var(--paper); }
.site-nav a[aria-current="page"] { color: var(--paper); box-shadow: inset 0 -2px 0 var(--red); }

/* mobile nav: two-row header, no JS */
@media (max-width: 720px) {
  .site-header .bar { flex-wrap: wrap; justify-content: center; text-align: center; }
  .site-nav { width: 100%; justify-content: center; flex-wrap: wrap; row-gap: 0.15rem; }
}

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--faint); margin-top: clamp(4rem, 10vw, 7rem); }
.site-footer .grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem;
  padding-top: 3rem; padding-bottom: 2.5rem;
}
@media (max-width: 720px) { .site-footer .grid { grid-template-columns: 1fr; gap: 1.75rem; } }
.site-footer h3 { font-size: 0.8rem; letter-spacing: 0.24em; font-weight: 600; color: var(--muted); margin-bottom: 0.8rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin: 0.3rem 0; }
.site-footer a { text-decoration: none; color: var(--paper); font-size: 1.05rem; }
.site-footer a:hover { color: var(--red-bright); }
.footer-badge { width: 92px; opacity: 0.9; margin-bottom: 1rem; }
.legal {
  padding-bottom: 2.5rem; font-size: 0.95rem; color: var(--muted);
  display: flex; flex-direction: column; gap: 0.2rem;
}
.legal a { color: var(--muted); }

/* ---------- buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.btn {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.85rem; text-decoration: none;
  padding: 0.7rem 1.2rem; border: 1px solid var(--paper);
  color: var(--paper); background: transparent; display: inline-block;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--paper); color: var(--ink-0); }
.btn.primary { background: var(--red); border-color: var(--red); color: var(--ink-0); }
.btn.primary:hover { background: var(--red-bright); border-color: var(--red-bright); }
.also { font-size: 0.95rem; color: var(--muted); margin-top: 0.9rem; }
.also a { color: var(--muted); }
.also a:hover { color: var(--red-bright); }

/* ---------- hero ---------- */
.hero { padding-top: clamp(4rem, 12vw, 8rem); padding-bottom: clamp(3rem, 8vw, 5rem); }
.hero .kicker { display: block; margin-bottom: 1.25rem; }
.hero h1 { max-width: 12ch; }
.hero .lede { margin-top: 1.75rem; }
.hero .btn-row { margin-top: 2.25rem; }

/* ---------- sections ---------- */
.section { padding-top: clamp(3rem, 8vw, 5.5rem); padding-bottom: clamp(3rem, 8vw, 5.5rem); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 2.25rem; }
.section-head .more {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 0.85rem; color: var(--muted); text-decoration: none; white-space: nowrap;
}
.section-head .more:hover { color: var(--red-bright); }

/* ---------- release feature (latest) ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 460px) 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } }
.feature .art img { width: 100%; border: 1px solid var(--ink-2); }
.feature .meta .kicker { display: block; margin-bottom: 0.9rem; }
.feature h2, .feature h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
.feature .blurb { margin-top: 1.1rem; max-width: 48ch; }
.feature .btn-row { margin-top: 1.6rem; }

/* ---------- release grid ---------- */
.release-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }
@media (max-width: 820px) { .release-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .release-grid { grid-template-columns: 1fr; } }
.release-card { text-decoration: none; display: block; }
.release-card .art { border: 1px solid var(--ink-2); overflow: hidden; }
.release-card img { transition: transform 0.3s ease, opacity 0.3s ease; }
.release-card:hover img { transform: scale(1.02); opacity: 0.92; }
.release-card .t {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; font-size: 1.15rem; margin-top: 0.9rem; line-height: 1.05;
}
.release-card:hover .t { color: var(--red-bright); }
.release-card .m { color: var(--muted); font-size: 0.95rem; margin-top: 0.25rem; }

/* ---------- tracklist ---------- */
.tracklist { list-style: none; counter-reset: trk; max-width: 34rem; margin-top: 0.5rem; }
.tracklist li {
  counter-increment: trk; display: flex; gap: 1rem; align-items: baseline;
  padding: 0.65rem 0; border-bottom: 1px solid var(--faint); font-size: 1.1rem;
}
.tracklist li::before {
  content: counter(trk, decimal-leading-zero);
  font-family: var(--display); font-weight: 600; font-size: 0.85rem;
  color: var(--red); letter-spacing: 0.1em; min-width: 1.8em;
}

/* ---------- press ---------- */
.pull-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
@media (max-width: 720px) { .pull-grid { grid-template-columns: 1fr; } }
blockquote.pull { border-left: 2px solid var(--red); padding-left: 1.4rem; }
blockquote.pull p {
  font-size: clamp(1.35rem, 2.6vw, 1.8rem); line-height: 1.3; font-style: italic;
}
blockquote.pull cite {
  display: block; margin-top: 0.8rem; font-style: normal;
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.18em; font-size: 0.8rem; color: var(--muted);
}
blockquote.pull cite a { color: var(--muted); text-decoration: none; }
blockquote.pull cite a:hover { color: var(--red-bright); }
.press-list { list-style: none; max-width: 46rem; }
.press-list li { padding: 0.7rem 0; border-bottom: 1px solid var(--faint); }
.press-list .outlet {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 0.95rem; margin-right: 0.6rem;
}
.press-list a { text-decoration: none; }
.press-list a:hover .outlet { color: var(--red-bright); }
.press-list .pt { color: var(--muted); font-size: 1rem; }

/* ---------- artist ---------- */
.artist-head { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.platform-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }

/* ---------- detail pages ---------- */
.crumb {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.18em; font-size: 0.8rem; color: var(--muted); text-decoration: none;
}
.crumb:hover { color: var(--red-bright); }
.page-head { padding-top: clamp(2.5rem, 7vw, 4.5rem); padding-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.page-head h1 { font-size: clamp(2.4rem, 7vw, 4.5rem); margin-top: 1rem; }
.page-head .lede { margin-top: 1.25rem; }

/* ---------- misc ---------- */
.deflist { max-width: 34rem; }
.deflist div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--faint); }
.deflist dt { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.85rem; color: var(--muted); }
.deflist dd { text-align: right; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--red); color: var(--ink-0);
  padding: 0.5rem 1rem; z-index: 100; font-family: var(--display); text-transform: uppercase;
}
.skip:focus { left: 0; }
