/* ─────────────────────────────────────────────────────────────
   Jason Branscum — branscumtunes.com
   Shared stylesheet. No web fonts, no third-party requests.
   The record covers and photographs are the art direction; the
   shell stays neutral so it can never fight them.
   ───────────────────────────────────────────────────────────── */

:root {
  --paper: #fbfaf7;
  --paper-2: #f2f0ea;
  --ink: #1a1a18;
  --grey: #6b6b66;
  --rule: #e0ded6;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --measure: 33rem;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.1875rem);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: var(--paper);
  padding: 0.75rem 1.25rem; z-index: 60;
  font-family: var(--sans); font-size: 0.9rem;
}
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 52rem; }

/* ── Masthead ─────────────────────────────────────────────── */

.masthead { border-bottom: 1px solid var(--rule); }
.masthead .wrap {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 0.5rem 2rem; padding-block: 1.15rem;
}
.wordmark {
  font-family: var(--serif); font-size: 1rem; font-weight: 600;
  letter-spacing: 0.09em; text-decoration: none; margin-right: auto;
}
.nav {
  display: flex; flex-wrap: wrap; gap: 0.35rem 1.5rem;
  font-family: var(--sans); font-size: 0.8125rem; letter-spacing: 0.02em;
}
.nav a { text-decoration: none; color: var(--grey); padding-block: 0.2rem; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a:focus-visible { color: var(--ink); border-bottom-color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }

/* ── Buttons ──────────────────────────────────────────────── */

.btn {
  display: inline-block; font-family: var(--sans);
  font-size: 0.875rem; letter-spacing: 0.02em; text-decoration: none;
  padding: 0.8rem 1.5rem; border: 1px solid var(--ink);
  color: var(--ink); background: transparent; cursor: pointer;
  transition: background-color 130ms ease, color 130ms ease;
}
.btn:hover, .btn:focus-visible { background: var(--ink); color: var(--paper); }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover, .btn-solid:focus-visible { background: #000; }

/* ── Page head & bands ────────────────────────────────────── */

.pagehead { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.pagehead h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.25rem, 1.5rem + 3.2vw, 3.75rem);
  line-height: 1.05; letter-spacing: -0.024em; margin: 0 0 1rem;
}
.pagehead p { max-width: var(--measure); color: var(--grey); margin: 0; }

.band { padding-block: clamp(3rem, 6.5vw, 5.25rem); border-top: 1px solid var(--rule); }
.band-tint { background: var(--paper-2); }
.band-flush { border-top: 0; }

.band h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.5rem);
  line-height: 1.12; letter-spacing: -0.018em; margin: 0 0 1.75rem;
}
.band h3 {
  font-family: var(--sans); font-weight: 600; font-size: 0.8125rem;
  letter-spacing: 0.05em; margin: 0 0 0.9rem; color: var(--ink);
}
.band p { max-width: var(--measure); }
.band p + p { margin-top: 1.15em; }
.lede { font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem); line-height: 1.55; }

/* ── Home hero ────────────────────────────────────────────── */

.hero { padding-block: clamp(2.75rem, 7vw, 5.5rem); }
.hero .wrap { display: grid; gap: clamp(2.25rem, 5vw, 4rem); align-items: center; }
@media (min-width: 58rem) { .hero .wrap { grid-template-columns: 1fr minmax(0, 26rem); } }

.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(3rem, 1.3rem + 7.4vw, 6.75rem);
  line-height: 0.92; letter-spacing: -0.03em; margin: 0 0 1.35rem;
}
.hero h1 span { display: block; }
.hero-role {
  font-family: var(--sans); font-size: clamp(0.9375rem, 0.9rem + 0.25vw, 1.0625rem);
  line-height: 1.6; color: var(--grey); max-width: 28rem; margin: 0 0 2.25rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.cover { margin: 0; }
.cover img { width: 100%; box-shadow: 0 1px 2px rgba(26,26,24,0.09), 0 12px 34px rgba(26,26,24,0.13); }
.cover-stacked { margin-bottom: 1.5rem; }
.cover figcaption {
  font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.03em;
  color: var(--grey); margin-top: 0.9rem; line-height: 1.5;
}

/* ── Press ────────────────────────────────────────────────── */

.press { display: grid; gap: 2.25rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 48rem) { .press { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3.5rem; } }

.press blockquote {
  margin: 0 0 0.65rem; font-style: italic;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem); line-height: 1.48;
  border-left: 2px solid var(--ink); padding-left: 1.1rem;
}
.press .src {
  font-family: var(--sans); font-size: 0.8125rem; letter-spacing: 0.03em;
  color: var(--grey); padding-left: calc(1.1rem + 2px); margin: 0;
}
.press .src strong { color: var(--ink); font-weight: 600; }

/* Interviews use a deliberately different shape from reviews:
   no pull-quote, so the two groups never look inconsistent. */
.features { margin: 0; padding: 0; list-style: none; }
.features li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 1.25rem;
  padding-block: 1.15rem; border-top: 1px solid var(--rule);
}
.band-tint .features li { border-top-color: #e2e0d8; }
.features .outlet { font-size: 1.0625rem; font-weight: 600; min-width: 14rem; }
.features .what { font-family: var(--sans); font-size: 0.875rem; color: var(--grey); flex: 1 1 16rem; }
.features .go { font-family: var(--sans); font-size: 0.8125rem; margin-left: auto; }

/* ── Release / personnel ──────────────────────────────────── */

.release { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 54rem) { .release { grid-template-columns: minmax(0, 1fr) 25rem; align-items: start; } }

.personnel { margin: 0; font-family: var(--sans); font-size: 0.875rem; line-height: 1.9; color: var(--grey); }
.personnel dt { font-weight: 600; color: var(--ink); font-size: 0.8125rem; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.personnel dd { margin: 0; }
.personnel dd + dd { margin-top: 1rem; }

/* ── Click-to-load media ──────────────────────────────────── */

.player { border: 1px solid var(--ink); min-width: 0; }
.player-inline { max-width: 350px; margin-top: 1rem; }
.player iframe { display: block; width: 100%; border: 0; }

/* ── Video grid ───────────────────────────────────────────── */

.videos {
  display: grid; gap: clamp(1.25rem, 2.5vw, 2rem);
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  margin: 0; padding: 0; list-style: none;
}
.vid iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--rule); background: var(--paper-2); }

/* ── Picture gallery ──────────────────────────────────────── */

.gallery {
  columns: 3 17rem; column-gap: clamp(1rem, 2vw, 1.75rem);
  margin: 0; padding: 0; list-style: none;
}
.gallery li { break-inside: avoid; margin-bottom: clamp(1rem, 2vw, 1.75rem); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; box-shadow: 0 1px 2px rgba(26,26,24,0.08), 0 6px 18px rgba(26,26,24,0.09); }
.gallery figcaption {
  font-family: var(--sans); font-size: 0.8125rem; color: var(--grey);
  margin-top: 0.6rem; line-height: 1.45;
}

/* ── Credits lists ────────────────────────────────────────── */

.credits { display: grid; gap: 2.25rem; }
@media (min-width: 48rem) { .credits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem; } }
@media (min-width: 62rem) { .credits-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.75rem; } }
.credits ul { margin: 0; padding: 0; list-style: none; font-size: 0.9375rem; line-height: 1.9; }
.credits li { border-bottom: 1px solid var(--rule); padding-block: 0.1rem; }
.band-tint .credits li { border-bottom-color: #e2e0d8; }

/* ── Discography ──────────────────────────────────────────── */

.discs {
  display: grid; gap: clamp(1.75rem, 3vw, 2.75rem);
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  margin: 0; padding: 0; list-style: none;
}
.disc a { text-decoration: none; display: block; }
.disc img, .disc .noart {
  width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--paper-2);
  box-shadow: 0 1px 2px rgba(26,26,24,0.08), 0 8px 22px rgba(26,26,24,0.1);
  transition: transform 160ms ease;
}
.disc .noart { box-shadow: none; border: 1px dashed var(--rule); }
.disc a:hover img, .disc a:focus-visible img { transform: translateY(-3px); }
.disc .nm { display: block; font-size: 1rem; font-weight: 600; line-height: 1.3; margin-top: 0.9rem; }
.disc .meta { display: block; font-family: var(--sans); font-size: 0.75rem; color: var(--grey); margin-top: 0.3rem; }

/* ── Forms ────────────────────────────────────────────────── */

.form { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; max-width: 38rem; }
.form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form input, .form textarea {
  flex: 1 1 12rem; font: inherit; font-size: 1rem; padding: 0.8rem 0.95rem;
  background: var(--paper); border: 1px solid var(--ink); color: var(--ink);
}
.form textarea { flex-basis: 100%; min-height: 9rem; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: var(--grey); }
.form .btn { flex: 0 0 auto; }
/* Mailchimp's bot trap: a field people never see, so only bots fill it in. */
.form .hp { position: absolute; left: -5000px; }
.fineprint { font-family: var(--sans); font-size: 0.8125rem; color: var(--grey); margin-top: 1rem; }

/* ── Link lists ───────────────────────────────────────────── */

.linklist { margin: 0; padding: 0; list-style: none; }
.linklist li { padding-block: 0.9rem; border-top: 1px solid var(--rule); }
.band-tint .linklist li { border-top-color: #e2e0d8; }
.linklist .lt { font-size: 1.0625rem; font-weight: 600; }
.linklist .ld { font-family: var(--sans); font-size: 0.8125rem; color: var(--grey); margin-top: 0.2rem; }

/* ── Footer ───────────────────────────────────────────────── */

.foot {
  border-top: 1px solid var(--rule); font-family: var(--sans);
  font-size: 0.8125rem; color: var(--grey); padding-block: 2.5rem;
}
.foot .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: baseline; }
.foot .copy { margin-left: auto; }

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Video captions and the fallback link under each tile. */
.vidtitle {
  font-family: var(--sans);
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--grey);
  margin: 0.6rem 0 0;
}
.vidlink {
  font-family: var(--sans);
  font-size: 0.75rem;
  margin: 0.4rem 0 0;
}
.vidlink a { color: var(--grey); text-underline-offset: 3px; }
.vidlink a:hover { color: var(--ink); }


/* ── Small shared utilities ───────────────────────────────────
   These exist so pages carry no inline style attributes. */

.mt      { margin-top: 1.25rem; }
.mt-md   { margin-top: 2rem; }
.mt-lg   { margin-top: 2.5rem; }

/* A row of buttons that wraps cleanly on narrow screens. */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* A quotation set beside a release, rather than in the press grid. */
.pullquote { margin: 2rem 0 0; max-width: 30rem; }
.pullquote + .pullquote { margin-top: 1.75rem; }
.pullquote blockquote {
  margin: 0 0 0.6rem;
  font-style: italic;
  font-size: 1.0625rem;
  line-height: 1.5;
  border-left: 2px solid var(--ink);
  padding-left: 1.1rem;
}
.pullquote figcaption {
  font-family: var(--sans);
  font-size: 0.8125rem;
  color: var(--grey);
  padding-left: calc(1.1rem + 2px);
}
.pullquote figcaption strong { color: var(--ink); font-weight: 600; }

/* Personnel broken into named groups. */
.personnel .grp { display: block; color: var(--ink); font-weight: 600; }

/* Prose inside a two-column credits block. */
.credits p { font-size: 0.9375rem; line-height: 1.7; margin: 0; }
.credits .btn { margin-top: 1rem; }

/* Buy page. Direct Current renders its own button into .dc-slot. */
.buys { display: grid; gap: clamp(2rem, 4vw, 3rem); margin: 0; padding: 0; list-style: none; }
@media (min-width: 56rem) { .buys { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.buy h3 {
  font-family: var(--serif); font-size: 1.375rem; font-weight: 600;
  letter-spacing: -0.01em; margin: 0 0 0.5rem; color: var(--ink);
}
.buy .meta { font-family: var(--sans); font-size: 0.8125rem; color: var(--grey); margin: 0 0 0.9rem; }
.buy p { font-size: 0.9375rem; line-height: 1.65; max-width: 30rem; }
.dc-slot { min-height: 3.5rem; margin-top: 1.25rem; }
.dc-slot iframe { max-width: 100%; }

.why { display: grid; gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 46rem) { .why { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
.why h3 { margin-bottom: 0.5rem; }
.why p { font-size: 0.9375rem; line-height: 1.65; margin: 0; }
