/* site.css -- One Hit Records shared stylesheet. One file for every page. */

:root {
  --ground: #F4F1EB;
  --ink: #1A1917;
  --muted: #4A463F;
  --caption: #6B665E;
  --rule: #D9D3C8;
  --dark: #171615;
  --dark-2: #1F1E1B;
  --accent: #C8352A;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'IBM Plex Sans', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --header-h: 72px;
  --radius: 4px;
  --shadow-art: 0 12px 30px rgba(26, 25, 23, .18);
}

@media (max-width: 599px) {
  :root { --header-h: 60px; }
}

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  padding-top: var(--header-h);
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2vw + 1rem, 2.2rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--muted); }

a { color: var(--ink); }
a:hover { color: var(--accent); }

.kicker, .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  display: inline-block;
  margin: 0 0 .6em;
}
.eyebrow { color: var(--caption); }

.caption, .muted { color: var(--caption); font-size: .9rem; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.section { padding: 56px 0; }
.section--tight { padding: 32px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--ground);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { color: #fff; }
.btn--light { background: var(--ground); border-color: var(--ground); color: var(--ink); }
.btn--light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--dark);
  border-bottom: 3px solid var(--accent);
  z-index: 100;
  display: flex;
  align-items: center;
}
.site-header .wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header__brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}
.site-header__mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  color: #fff;
}
.site-header__name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
}
.site-nav { display: flex; align-items: center; }
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0; padding: 0;
}
.site-nav a {
  color: #E7E3D9;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .92rem;
  padding: 8px 2px;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; border-bottom: 2px solid var(--accent); }

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid #46433D;
  border-radius: var(--radius);
  background: transparent;
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-btn svg { width: 20px; height: 20px; }

@media (max-width: 767px) {
  .menu-btn { display: inline-flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--dark);
    border-bottom: 3px solid var(--accent);
    display: none;
    flex-direction: column;
    padding: 8px 16px 16px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; width: 100%; }
  .site-nav a { display: block; padding: 12px 4px; border-bottom: 1px solid #302E2A; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: #C9C4B8;
  padding: 40px 0;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.site-footer a { color: #E7E3D9; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer__sep { color: #565248; }

/* ---------- Hero / dark bands ---------- */
.dark-band {
  background: var(--dark);
  color: #EFECE4;
}
.dark-band p { color: #C9C4B8; }
.dark-band .kicker { color: #E15B4F; }
.dark-band h1, .dark-band h2, .dark-band h3 { color: #fff; }

.hero {
  padding: 64px 0 48px;
}
.hero .standfirst { font-size: 1.15rem; max-width: 60ch; }

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 24px;
  min-width: 0;
}
.grid > * { min-width: 0; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 767px) {
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
}

.ep-header { grid-template-columns: 160px minmax(0, 1fr); align-items: center; gap: 32px; flex: 1; min-width: 0; }
.ep-header__art { width: 100%; max-width: 160px; display: block; }
@media (max-width: 600px) {
  .ep-header { grid-template-columns: 1fr; }
  .ep-header__art { max-width: 140px; }
}

.ep-rotator { display: flex; align-items: center; gap: 20px; }
.ep-rotator__btn {
  flex: 0 0 auto;
  background: none;
  border: 1px solid #4A463F;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}
.ep-rotator__btn:hover { border-color: #E15B4F; color: #E15B4F; }
@media (max-width: 600px) {
  .ep-rotator { align-items: flex-start; }
}

.card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card__body { padding: 16px; }
.card h1, .card h2, .card h3 { color: var(--ink); }
.card h3 { font-size: 1.1rem; margin-bottom: .3em; }
.card p { color: var(--muted); }
.card a.card__link { text-decoration: none; color: inherit; display: block; }

/* ---------- Embeds: click to load ---------- */
.embed {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}
.embed--video { aspect-ratio: 16 / 9; }
.embed__art {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.embed__placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--dark), var(--dark-2));
}
.embed-trigger {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
  background: rgba(23, 22, 21, .25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.embed-trigger:hover { background: rgba(23, 22, 21, .45); }
.embed-trigger__play {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
.embed-trigger__play svg { width: 20px; height: 20px; margin-left: 3px; }
.embed__video-mark {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  padding: 4px 8px;
  border-radius: var(--radius);
}
.embed iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Album / cover art shadow, per spec */
.art-shadow { box-shadow: var(--shadow-art); }

/* ---------- Track rows / lists ---------- */
.track-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  min-width: 0;
}
.track-row > * { min-width: 0; }
.track-row__title, .track-row__why { overflow-wrap: break-word; }
.track-row__thumb {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.track-row__title { font-weight: 600; margin: 0; }
.track-row__why { font-style: italic; color: var(--caption); font-size: .9rem; margin: 2px 0 0; }
.track-row__genre { font-family: var(--font-mono); font-size: 11px; color: var(--caption); text-transform: uppercase; letter-spacing: 1px; }

/* Real SoundCloud tracks: the long, classic waveform player, stacked
   under the title instead of squeezed into a small thumbnail. */
.track-row--player {
  display: block;
  padding: 16px 0;
  border-bottom: none;
}
.track-row__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.track-row__headline { display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.track-row__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.7rem;
  color: var(--rule);
  flex-shrink: 0;
  line-height: 1;
}
.track-row--player .track-row__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}
.track-row--player .track-row__why { color: var(--muted); }
.track-row__divider { margin: 20px 0 0; }
.track-row:last-child .track-row__divider { display: none; }

/* ---------- Chips (filters / anchors) ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  list-style: none;
  padding: 0;
}
.chip, .chip-link {
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: .85rem;
  font-family: var(--font-body);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.chip:hover, .chip-link:hover { border-color: var(--accent); color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Crew ---------- */
.crew-card { text-align: left; }
.crew-portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--dark);
  border-bottom: 3px solid var(--accent);
  object-fit: cover;
  color: transparent;
}
.crew-card__name { margin: 14px 0 2px; font-size: 1.15rem; }
.crew-card__role {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
.crew-portrait--placeholder img { width: 58%; display: block; }

/* Small portraits (products crew band) */
.mini-crew { display: grid; grid-template-columns: repeat(auto-fit, 96px); gap: 24px; justify-content: center; }
.mini-crew__item { width: 96px; text-align: center; }
.mini-crew__portrait {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--dark-2);
  border: 2px solid var(--accent);
  object-fit: cover;
}
.mini-crew__name { font-weight: 600; margin-top: 8px; font-size: .9rem; color: #fff; }
.mini-crew__role { font-size: .78rem; color: #C9C4B8; }

.mini-crew__portrait--placeholder {
  border-style: dashed;
  border-color: #6b6a66;
  color: #6b6a66;
  background: transparent;
  font-size: 1.8rem;
  font-weight: 400;
}
.mini-crew__item--placeholder .mini-crew__name { color: #9a978e; }
.mini-crew__item--placeholder .mini-crew__role { color: #706d66; }

/* Portrait fallback: shown in place of a crew/picker <img> whose
   img/crew/<slug>.jpg doesn't exist yet, so the page never shows a
   broken-image icon. Keeps the host class's sizing/background/border,
   just adds the initials, centred, in the display serif. */
.portrait-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: 1px;
  user-select: none;
}
.mini-crew__portrait.portrait-fallback { font-size: 1.1rem; }

/* ---------- Tags ---------- */
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
}

.media-badge {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  margin-bottom: 8px;
}
.media-badge svg { width: 11px; height: 11px; }
.dark-band .media-badge { border-color: #E15B4F; color: #E15B4F; }

.genre-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.genre-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
}
.dark-band .genre-tag { border-color: #E15B4F; color: #E15B4F; }

/* ---------- Forms ---------- */
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.form-field input[type="email"] {
  width: 100%;
  height: 44px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0 12px;
  font-size: 1rem;
  font-family: var(--font-body);
  background: #fff;
  color: var(--ink);
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.form-check input { width: 18px; height: 18px; margin-top: 3px; }
.form-check label { font-size: .88rem; color: var(--muted); }
.form-note {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: #fff;
  display: none;
}
.form-note.is-visible { display: block; }

/* ---------- Utility ---------- */
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.list-plain li:last-child { border-bottom: 0; }
.stack { display: flex; flex-direction: column; gap: 8px; }
.text-center { text-align: center; }
.side-list { border-left: 2px solid var(--accent); padding-left: 16px; }
.side-list li { padding: 6px 0; color: var(--muted); }

.folded { border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; }
.folded > summary {
  cursor: pointer;
  padding: 16px;
  font-weight: 600;
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: 1px;
}
.folded[open] > summary { border-bottom: 1px solid var(--rule); }
.folded__body { padding: 8px 16px 16px; }

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

@media (max-width: 767px) {
  .section { padding: 40px 0; }
}

/* ---------- Editorial article (kept 2025 blog posts) ---------- */
.article { max-width: 800px; margin: 0 auto; padding: 48px 16px; }
.article-header { text-align: center; margin-bottom: 32px; }
.article-header .category { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); }
.article-header .subheadline { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; color: var(--muted); margin-top: 4px; }
.article-header .byline { color: var(--caption); font-size: .9rem; margin-top: 10px; }
.article-content p { color: var(--ink); font-size: 1.05rem; line-height: 1.7; }
.article-content .speaker { font-weight: 600; }
.article-content .interviewer { font-weight: 600; color: var(--accent); }
.article-content .stage-direction { color: var(--caption); font-style: italic; }
.pull-quote { font-family: var(--font-display); font-size: 1.4rem; border-left: 3px solid var(--accent); padding-left: 20px; margin: 32px 0; color: var(--ink); }
.quote-attribution { font-family: var(--font-mono); font-size: 12px; color: var(--caption); text-transform: uppercase; letter-spacing: 1px; margin-top: 8px; }
.editorial-divider { height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); margin: 40px auto; max-width: 800px; }

/* ---------- Editorial run-in lead (bold callout inline within flowing copy) ---------- */
.lead-in {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3em;
  color: var(--ink);
  margin-right: .25em;
}
