/* Bright Sounds — artwork-led grid. ABC Whyte (Dinamo), Bold for titles/nav, Regular for everything else. */
@font-face { font-family: "Whyte"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/assets/fonts/ABCWhyte-Regular.woff2") format("woff2"), url("/assets/fonts/ABCWhyte-Regular.woff") format("woff"); }
@font-face { font-family: "Whyte"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("/assets/fonts/ABCWhyte-Bold.woff2") format("woff2"), url("/assets/fonts/ABCWhyte-Bold.woff") format("woff"); }

:root {
  --bg: #fff;
  --fg: #000;
  --muted: #6b6b6b;
  --line: #e4e4e4;
  --tile: #f2f2f2;
  --bad: #b00020;
  --gap: 12px;
  --gutter: 16px;
  --max: 1600px;
  --font: "Whyte", "Helvetica Neue", Arial, sans-serif;
  /* Only Whyte Regular and Bold are licensed: bold text gets a thin stroke in its own colour, painted under the
     fill, so it reads heavier. In em, so it scales with the text; clamped so 12 px labels still thicken and
     64 px headings do not clog. */
  --embolden: clamp(0.8px, 0.05em, 3px);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #000; --fg: #fff; --muted: #9a9a9a; --line: #262626; --tile: #141414; --bad: #ff8a80; }
}
@media (min-width: 640px) { :root { --gap: 16px; --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gap: 20px; --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 15px/1.45 var(--font); }
@media (min-width: 1024px) { body { font-size: 16px; } }
a { color: inherit; text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, strong, b, .bold { font-weight: 700; }
/* Every weight-700 rule below is listed here too. The stroke is inherited, so 400 text inside bold is reset. */
h1, h2, h3, strong, b, .bold, .nav, .nav-toggle, .cover--type .catno, .cover--type .cover__name, .card__title, .tag, .btn,
.pager, .release__catno, .release__artist, .player__btn, .list-az, .links-inline, .news-list .t, .site-foot .claim,
.demo-form legend, .demo-alert {
  -webkit-text-stroke: var(--embolden) currentColor; paint-order: stroke fill; }
.list-az .count, .muted, .field-error { -webkit-text-stroke: 0; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.01em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--bg); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

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

/* Header */
.site-head { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: block; color: var(--fg); }
.brand svg { display: block; height: 48px; width: auto; }
@media (min-width: 1024px) { .site-head .wrap { min-height: 80px; } .brand svg { height: 56px; } }
.nav { display: flex; gap: 20px; font-weight: 700; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; }
.nav-toggle { display: none; }
@media (max-width: 799px) {
  .nav-toggle { display: inline-flex; background: none; border: 0; color: inherit; font: 700 15px var(--font); padding: 8px 0; cursor: pointer; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; font-size: 22px; }
  .nav a { padding: 8px 0; }
  .site-head.is-open .nav { display: flex; }
  .no-js .nav { display: flex; position: static; flex-direction: row; flex-wrap: wrap; font-size: 15px; padding: 0; border: 0; gap: 12px; }
  .no-js .nav-toggle { display: none; }
}

main { padding: 24px 0 64px; }
@media (min-width: 1024px) { main { padding: 40px 0 96px; } }
.page-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.page-head h1 { font-size: 32px; }
@media (min-width: 1024px) { .page-head h1 { font-size: 48px; } }
.muted { color: var(--muted); }

/* Grid of covers */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(var(--gap) * 1.6) var(--gap); list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card a { display: block; }
.card a:hover, .card a:focus-visible { text-decoration: none; }
.card a:hover .card__title, .card a:focus-visible .card__title { text-decoration: underline; text-underline-offset: 3px; }
.cover { position: relative; aspect-ratio: 1 / 1; background: var(--tile); overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover--type { display: flex; flex-direction: column; justify-content: space-between; padding: 8%; background: var(--fg); color: var(--bg); }
.cover--type .catno { font-weight: 700; font-size: clamp(12px, 2.4vw, 22px); }
.cover--type .cover__name { font-weight: 700; font-size: clamp(16px, 3.6vw, 34px); line-height: 1.05; }
.card__meta { margin-top: 8px; font-size: 13px; line-height: 1.35; }
@media (min-width: 1024px) { .card__meta { font-size: 14px; } }
.card__title { display: block; font-weight: 700; }
/* No tabular-nums on catalogue numbers: Whyte's tnum also swaps the space for a wide figure space ("BSRX  020"). */
.tag { position: absolute; top: 8px; left: 8px; background: var(--bg); color: var(--fg); font-size: 12px; font-weight: 700; padding: 3px 7px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid var(--fg);
  background: var(--fg); color: var(--bg); font: 700 14px var(--font); cursor: pointer; }
.btn:hover, .btn:focus-visible { text-decoration: none; opacity: .85; }
.btn--ghost { background: transparent; color: var(--fg); }
.btns { display: flex; flex-wrap: wrap; gap: 8px; }

/* Home hero */
.hero { display: grid; gap: 24px; margin-bottom: 56px; }
@media (min-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; } }
.hero__title { font-size: 34px; }
@media (min-width: 1024px) { .hero__title { font-size: 56px; } }
.hero__artist { font-size: 20px; margin-bottom: 6px; }
@media (min-width: 1024px) { .hero__artist { font-size: 28px; } }
.hero__meta { margin: 16px 0 20px; color: var(--muted); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 16px; }
.section-head h2 { font-size: 22px; }
.section { margin-bottom: 56px; }
.section--more { margin-top: 56px; }
.filters--inline { margin: 0; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 24px; }
.filters select, .filters input[type="search"] { min-height: 40px; border: 1px solid var(--line); background: var(--bg); color: var(--fg);
  font: 400 14px var(--font); padding: 0 10px; border-radius: 0; }
.filters input[type="search"] { flex: 1 1 220px; }
.filters .reset { font-size: 14px; }
.result-count { color: var(--muted); font-size: 14px; margin: -12px 0 20px; }

/* Pager */
.pager { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 40px; font-weight: 700; }
.pager a, .pager span { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); padding: 0 10px; }
.pager [aria-current="page"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* Release page */
.release { display: grid; gap: 28px; }
@media (min-width: 900px) { .release { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .release__info { position: sticky; top: 96px; } }
.release__catno { font-weight: 700; margin-bottom: 10px; }
.release__artist { font-size: 22px; font-weight: 700; }
.release__title { font-size: 32px; margin: 4px 0 16px; }
@media (min-width: 1024px) { .release__artist { font-size: 28px; } .release__title { font-size: 44px; } }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0 0 20px; font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin-top: var(--gap); }
.tracklist { list-style: none; padding: 0; margin: 24px 0; border-top: 1px solid var(--line); font-size: 14px; }
.tracklist li { display: grid; grid-template-columns: 36px 1fr auto; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.tracklist .pos, .tracklist .dur { color: var(--muted); font-variant-numeric: tabular-nums; }
.tracklist .credits { grid-column: 2 / 4; color: var(--muted); font-size: 13px; }
.prose { max-width: 62ch; }
.prose p { margin: 0 0 1em; }
.prose h2, .prose h3 { margin: 1.4em 0 .5em; font-size: 18px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose ul { padding-left: 1.1em; }
.player { position: relative; margin: 24px 0; }
.player__btn { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 0 16px; border: 1px solid var(--fg);
  background: transparent; color: var(--fg); font: 700 15px var(--font); cursor: pointer; text-align: left; }
.player__btn:hover { background: var(--fg); color: var(--bg); }
.player__note { font-size: 12px; color: var(--muted); margin-top: 6px; }
.player iframe { display: block; width: 100%; border: 0; }
.prevnext { display: flex; justify-content: space-between; gap: 16px; margin: 56px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }

/* Artists */
.list-az { columns: 2; column-gap: var(--gap); list-style: none; padding: 0; margin: 0; font-size: 18px; font-weight: 700; }
@media (min-width: 640px) { .list-az { columns: 3; } }
@media (min-width: 1024px) { .list-az { columns: 4; font-size: 22px; } }
.list-az li { break-inside: avoid; padding: 4px 0; }
.list-az .count { font-weight: 400; color: var(--muted); font-size: 13px; margin-left: 4px; }
.artist-head { display: grid; gap: 24px; margin-bottom: 48px; }
@media (min-width: 900px) { .artist-head--photo { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; } }
.artist-head h1 { font-size: 40px; margin-bottom: 16px; }
@media (min-width: 1024px) { .artist-head h1 { font-size: 64px; } }
.links-inline { display: flex; flex-wrap: wrap; gap: 6px 16px; font-weight: 700; margin-top: 16px; }

/* News */
.news-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
@media (min-width: 640px) { .news-list a { grid-template-columns: 140px 1fr; gap: 24px; } }
.news-list time { color: var(--muted); }
.news-list .t { font-weight: 700; font-size: 18px; }
.article { max-width: 760px; }
.article h1 { font-size: 32px; margin: 8px 0 24px; }
@media (min-width: 1024px) { .article h1 { font-size: 48px; } }
.article figure { margin: 0 0 24px; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 14px; }
.site-foot .wrap { display: grid; gap: 24px; }
@media (min-width: 800px) { .site-foot .wrap { grid-template-columns: 1fr auto auto; align-items: start; } }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.site-foot p { margin: 0 0 12px; }
.site-foot p:last-child { margin-bottom: 0; }
.site-foot .claim { font-weight: 700; }

.error { padding: 48px 0; }
.error h1 { font-size: 40px; margin-bottom: 12px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Demo form */
.demos { max-width: 720px; }
.demo-form { display: grid; gap: 24px; margin-top: 32px; }
.demo-form fieldset { border: 0; border-top: 1px solid var(--line); padding: 16px 0 0; margin: 0; display: grid; gap: 14px; min-width: 0; }
.demo-form legend { font-weight: 700; padding: 0; margin-bottom: 4px; }
.demo-form label { display: grid; gap: 6px; }
.demo-form input:not([type=checkbox]), .demo-form textarea, .demo-form select { font: inherit; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 0; padding: 9px 10px; width: 100%; min-width: 0; }
.demo-form textarea { resize: vertical; }
.demo-form input:focus-visible, .demo-form textarea:focus-visible { outline: 2px solid var(--fg); outline-offset: 1px; }
.demo-form [aria-invalid="true"] { border-color: var(--bad); }
.demo-check { grid-template-columns: auto 1fr; align-items: start; }
.demo-check input { margin-top: 4px; }
.field-error { color: var(--bad); font-size: 14px; }
.demo-alert { border-left: 3px solid var(--bad); padding: 8px 12px; font-weight: 700; }
.demo-note { border-left: 3px solid var(--fg); padding: 8px 12px; }
.demo-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

