/* BMA Records network — shared core. Identical on all four sites.
   Each site sets its own tokens in site.css (:root) and its display face. */

@font-face { font-family: "Instrument Sans"; src: url("fonts/InstrumentSans-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/InstrumentSans-Italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/InstrumentSans-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #fff;
  --ink: #000;
  --muted: #595959;
  --rule: currentColor;
  --accent: #000;
  --on-accent: #fff;
  --focus: #000;
  --net-bg: #000;
  --net-ink: #fff;
  --net-muted: #b3b3b3;
  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: var(--text);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --measure: 34rem;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 4vw, 2.75rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--text); font-size: var(--step-0); line-height: 1.55;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; font-weight: 700; }
p { margin: 0 0 1em; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 8px 12px; }
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 9vw, 112px); }
.section-title { font-size: var(--step-3); font-family: var(--display); margin-bottom: clamp(24px, 4vw, 40px); }
.lede { font-size: var(--step-1); line-height: 1.45; max-width: var(--measure); }
.prose { max-width: var(--measure); }
.muted { color: var(--muted); }

/* ── Network bar: the one element that is the same everywhere ── */
.net { background: var(--net-bg); color: var(--net-ink); font-size: var(--step--1); position: relative; z-index: 10; }
.net .wrap { display: flex; align-items: center; gap: 4px 20px; min-height: 44px; flex-wrap: wrap; padding-block: 6px; }
.net__home { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; margin-right: auto; }
.net__home svg { height: 16px; width: auto; }
.net ul { display: flex; gap: 4px 18px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.net li a { color: var(--net-muted); text-decoration: none; padding-block: 4px; display: inline-block; }
.net li a:hover { color: var(--net-ink); }
.net li a[aria-current="page"] { color: var(--net-ink); box-shadow: inset 0 -2px 0 currentColor; }
.net .short { display: none; }
@media (max-width: 560px) { .net .long { display: none; } .net .short { display: inline; } .net__home span { display: none; } }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 20px;
  font: 700 var(--step-0)/1 var(--text); text-decoration: none; cursor: pointer;
  background: var(--accent); color: var(--on-accent); border: 2px solid var(--accent);
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Release list ── */
.releases { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.release { display: grid; grid-template-columns: 5.5rem 1fr; gap: 8px 24px; padding-block: 22px; border-bottom: 1px solid var(--rule); }
.release__year { font-variant-numeric: tabular-nums; color: var(--muted); padding-top: 0.35em; }
.release__title { font-family: var(--display); font-size: var(--step-2); line-height: 1.1; }
.release__meta { color: var(--muted); margin: 6px 0 12px; }
.links { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; }
.links a { font-weight: 700; }
@media (max-width: 560px) { .release { grid-template-columns: 1fr; } .release__year { padding-top: 0; } }

/* ── Click-to-load player ── */
.player { border: 1px solid var(--rule); max-width: 46rem; }
.player__start {
  display: flex; align-items: center; gap: 18px; width: 100%; padding: 20px; text-align: left;
  background: none; border: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: none;
}
.player__start:hover .player__tri { transform: translateX(3px); }
.player__tri { flex: none; width: 56px; height: 56px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); transition: transform .15s ease; }
.player__tri svg { width: 22px; height: 22px; }
.player__label { font-weight: 700; font-size: var(--step-1); line-height: 1.2; }
.player__note { display: block; color: var(--muted); font-size: var(--step--1); margin-top: 4px; font-weight: 400; }
.player iframe { display: block; width: 100%; border: 0; }

/* ── Footer ── */
.foot { border-top: 1px solid var(--rule); padding-block: 32px 48px; font-size: var(--step--1); color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.foot__label { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.foot__label svg { height: 22px; width: auto; }
.foot ul { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }

/* ── Release cover grid (singles, features) ── */
.sub { font-size: var(--step-1); margin: 48px 0 16px; }
.grid-rel { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 20px; list-style: none; margin: 0; padding: 0; }
.card img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.card__title { font-size: 1rem; line-height: 1.25; margin: 10px 0 2px; }
.card__meta { font-size: var(--step--1); color: var(--muted); margin: 0; }
.more { margin-top: 24px; }
.more a { font-weight: 700; }
@media (max-width: 420px) { .grid-rel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; } }
