/* =============================================================
   PAST / FUTURE — stylesheet
   Theme: greyscale, dark, distorted-but-clean.
   Edit colors via the :root variables below.
   ============================================================= */

/* Inter — used only for the header logo (matches Grab the Groove typography) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@700&display=swap');

:root {
  --bg:        #131313;
  --bg-alt:    #181818;
  --fg:        #ededed;
  --fg-dim:    #9a9a9a;
  --muted:     #888888;
  --line:      rgba(255, 255, 255, 0.08);
  --accent:    #ffffff;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 2rem;
  --space-4: 4rem;
  --space-5: 8rem;

  --maxw:    1280px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }
button { font: inherit; cursor: pointer; }

/* ---------- base ---------- */
html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-stretch: 100%;
  letter-spacing: -0.005em;
  line-height: 1.3;
  background: transparent; /* let .site-bg show through */
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100vh;
}

/* keep all flow children (sections, footer, header) full-width when body is a flex column */
body > section,
body > footer,
body > header,
body > main {
  width: 100%;
  align-self: stretch;
}

::selection { background: var(--fg); color: var(--bg); }

/* ---------- grain overlay (static paper grain) ---------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.10;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- layered site background (two GIFs slowly drifting) ---------- */
.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  background: var(--bg);
}

.bg-layer {
  position: absolute;
  inset: -8%;
  background-repeat: no-repeat;
  filter: grayscale(1) contrast(1.05) url(#bg-distort);
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

.bg-hand {
  background-image: url("../img/bg/hand.gif");
  background-position: left center;
  background-size: auto 90vh;
  opacity: 0.18;
  animation: bg-drift-hand 55s ease-in-out infinite alternate;
}

.bg-wave {
  background-image: url("../img/bg/waveform.gif");
  background-position: center 60%;
  background-size: 110% auto;
  opacity: 0.13;
  animation: bg-drift-wave 75s ease-in-out infinite alternate;
}

/* deepest layer — subtle grayscale video texture sitting behind the hand and wave */
.bg-texture {
  background-image: url("../img/bg/texture.gif");
  background-position: center center;
  background-size: cover;
  opacity: 0.45;
  filter: grayscale(1) contrast(0.9) brightness(0.95);
  mix-blend-mode: soft-light;
  animation: bg-drift-texture 240s ease-in-out infinite alternate;
}


@keyframes bg-drift-texture {
  0%   { transform: translate3d(-0.6%, 0,    0) scale(1.02); }
  100% { transform: translate3d( 0.8%, -0.5%, 0) scale(1.04); }
}

@keyframes bg-drift-hand {
  0%   { transform: translate3d(-1.5%, 0,    0) scale(1.02); }
  100% { transform: translate3d( 2%,   -1.5%, 0) scale(1.06); }
}

@keyframes bg-drift-wave {
  0%   { transform: translate3d(-3%, 1%, 0); }
  100% { transform: translate3d( 3%, -1%, 0); }
}

/* subtle background glitch — occasional, irregular intervals, no flashes */
.site-bg {
  animation: bg-glitch-subtle 27s steps(1) infinite;
  will-change: transform, filter;
}

@keyframes bg-glitch-subtle {
  /* Mostly idle (transform 0, no filter), with brief subtle distortion bumps at odd intervals */
  0%, 11.0%, 100%       { transform: translate3d(0, 0, 0);    filter: none; }
  11.2%                 { transform: translate3d(2px, 0, 0);  filter: brightness(1.04); }
  11.5%                 { transform: translate3d(0, 0, 0);    filter: none; }

  29.0%, 29.6%          { transform: translate3d(0, 0, 0);    filter: none; }
  29.7%                 { transform: translate3d(-2px, 1px, 0); }
  29.95%                { transform: translate3d(0, 0, 0); }

  47.0%, 47.5%          { transform: translate3d(0, 0, 0);    filter: none; }
  47.7%                 { filter: contrast(1.06) brightness(1.03); }
  48.0%                 { filter: none; }

  64.0%, 64.7%          { transform: translate3d(0, 0, 0);    filter: none; }
  64.8%                 { transform: translate3d(1px, 0, 0); }
  65.1%                 { transform: translate3d(0, 0, 0); }

  82.0%, 82.6%          { transform: translate3d(0, 0, 0);    filter: none; }
  82.8%                 { transform: translate3d(-1px, 0, 0); filter: brightness(1.03); }
  83.1%                 { transform: translate3d(0, 0, 0);    filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  .site-bg { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .bg-layer, .site-bg { animation: none; }
}

/* ---------- TV static (animated, sits on top of grain) ---------- */
.tv-static {
  position: fixed;
  inset: -10%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='s'><feTurbulence type='fractalNoise' baseFrequency='1.6' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.85 0'/></filter><rect width='100%25' height='100%25' filter='url(%23s)'/></svg>");
  background-size: 220px 220px;
  animation: tv-static-flicker 0.18s steps(5) infinite;
}

@keyframes tv-static-flicker {
  0%   { background-position: 0 0; }
  20%  { background-position: -60px 30px; }
  40%  { background-position: 40px -50px; }
  60%  { background-position: -90px -20px; }
  80%  { background-position: 50px 70px; }
  100% { background-position: -30px -80px; }
}

@media (prefers-reduced-motion: reduce) {
  .tv-static { animation: none; opacity: 0.04; }
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 40px;
  z-index: 100;
  background: var(--bg); /* opaque so page content doesn't bleed through */
  color: var(--fg);
  border-bottom: 1px solid var(--line);
}

.logo-mark {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}

.logo-mark .slash { opacity: 0.5; }

/* P / F mark — perfect square box, Inter-rendered HTML so it picks up the webfont */
.logo-stack {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1;
  text-transform: none;
}

.logo-pf {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.logo-wordmark {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

/* the slash inside the small wordmark stays white for legibility */
.logo-wordmark .title-slash { color: inherit; }

/* legacy SVG logo class kept for fallback */
.logo-img {
  display: block;
  height: 40px;
  width: auto;
}

/* legacy placeholder (kept for fallback if .logo-img missing) */
.logo-placeholder {
  display: inline-block;
  padding: 6px 14px;
  border: 1px dashed currentColor;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.85;
}

.primary-nav {
  display: flex;
  gap: 28px;
}

.primary-nav a {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.35s cubic-bezier(.2,.8,.2,1);
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after { width: 100%; }

/* ---------- HERO ---------- */
.hero {
  height: 82vh;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  text-align: center;
  position: relative;
}

.hero-logo {
  font-size: 56px;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin: 0;
  font-weight: 700;
  filter: url(#hero-distort);
  will-change: filter;
}

.hero-logo .slash { color: var(--muted); }

.hero-tagline {
  margin-top: 1.6rem;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  max-width: 600px;
}

/* ---------- glitch text effect ---------- */
.glitch { position: relative; display: inline-block; }

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  pointer-events: none;
  color: #ffffff;
  mix-blend-mode: screen;
}

/* Ghost layers — hidden by default, only revealed in brief glitch bursts */
.glitch::before {
  opacity: 0.6;
  transform: translate(-3px, 0);
  clip-path: inset(0 0 100% 0);
  animation: glitch-a 9s infinite steps(1);
}

.glitch::after {
  opacity: 0.6;
  transform: translate(3px, 0);
  clip-path: inset(0 0 100% 0);
  animation: glitch-b 9s infinite steps(1);
}

@keyframes glitch-a {
  0%, 14%    { clip-path: inset(0 0 100% 0); transform: translate(-3px, 0); }
  15%       { clip-path: inset(20% 0 65% 0); transform: translate(-5px, 0); }
  16%, 35%   { clip-path: inset(0 0 100% 0); transform: translate(-3px, 0); }
  36%       { clip-path: inset(55% 0 25% 0); transform: translate(4px, 1px); }
  37%, 64%   { clip-path: inset(0 0 100% 0); transform: translate(-3px, 0); }
  65%       { clip-path: inset(40% 0 45% 0); transform: translate(-4px, 0); }
  66%, 86%   { clip-path: inset(0 0 100% 0); transform: translate(-3px, 0); }
  87%       { clip-path: inset(78% 0 8% 0);  transform: translate(3px, -1px); }
  88%, 100%  { clip-path: inset(0 0 100% 0); transform: translate(-3px, 0); }
}

@keyframes glitch-b {
  0%, 18%    { clip-path: inset(0 0 100% 0); transform: translate(3px, 0); }
  19%       { clip-path: inset(60% 0 25% 0); transform: translate(5px, -1px); }
  20%, 40%   { clip-path: inset(0 0 100% 0); transform: translate(3px, 0); }
  41%       { clip-path: inset(15% 0 70% 0); transform: translate(-4px, 0); }
  42%, 70%   { clip-path: inset(0 0 100% 0); transform: translate(3px, 0); }
  71%       { clip-path: inset(50% 0 30% 0); transform: translate(5px, 1px); }
  72%, 92%   { clip-path: inset(0 0 100% 0); transform: translate(3px, 0); }
  93%       { clip-path: inset(25% 0 60% 0); transform: translate(-3px, 0); }
  94%, 100%  { clip-path: inset(0 0 100% 0); transform: translate(3px, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .glitch::before, .glitch::after { animation: none; opacity: 0; }
  .hero-logo { filter: none; }
}

/* ---------- generic block / page sections ---------- */
.block {
  padding: var(--space-4) 32px;
  border-top: 1px solid var(--line);
}

.block-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin: 0 0 1.5rem;
}

.lede {
  font-size: 18px;
  line-height: 1.4;
  max-width: 720px;
  letter-spacing: -0.01em;
  font-weight: 700;
}

/* ---------- page heads (releases / artists / about) ---------- */
/* page-head spans full width with padding; the title inside centers itself
   to the same max-width as .block-inner so headers and content below align */
.page-head {
  padding: calc(var(--space-4) + 80px) 32px var(--space-3);
}

.page-title {
  font-size: 40px;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0;
  filter: url(#title-distort);
  text-transform: uppercase;
}

/* grey "/" prefix on every section header — brand mark */
.page-title::before {
  content: "/ ";
  color: var(--muted);
  font-weight: 700;
}

/* opt-out: titles that already have an embedded "/" (e.g. MIXING / MASTERING) */
.page-title.no-prefix-slash::before { content: none; }

/* any embedded "/" in a multi-word title should also pick up the grey */
.title-slash { color: var(--muted); }

.page-title .glitch { display: block; }
.page-title .glitch + .glitch { margin-top: 0.05em; }

/* ---------- featured release (homepage) ---------- */
.release-feature {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-3);
  align-items: start;
  margin-top: 1.5rem;
}

.release-cover {
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.4s ease, transform 0.6s cubic-bezier(.2,.8,.2,1);
}

.release-cover:hover {
  filter: grayscale(1) contrast(1.2) brightness(1.05);
  transform: scale(1.01);
}

.cover-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-transform: uppercase;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.02) 0px,
      rgba(255,255,255,0.02) 1px,
      transparent 1px,
      transparent 8px
    ),
    var(--bg-alt);
}

.release-meta { padding-top: 1rem; }

.cat {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--fg-dim);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.release-title {
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  color: var(--fg);
}

.release-info {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin: 0 0 1.5rem;
}

.release-blurb {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-dim);
  font-weight: 500;
  margin: 0 0 1.5rem;
  max-width: 480px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.release-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* extra breathing room between the button row and audio player on the home featured release */
.release-audio {
  margin-top: 14px;
}

.btn {
  display: inline-block;
  padding: 11px 18px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--fg-dim);
  color: var(--fg);
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.btn.ghost {
  border-color: var(--muted);
  color: var(--fg-dim);
}

.btn.ghost:hover {
  border-color: var(--fg);
  background: transparent;
  color: var(--fg);
}

/* ---------- release list (releases.html) ---------- */
.release-list { display: flex; flex-direction: column; }

.release-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s ease;
  max-width: 640px;
}

.release-row:hover { padding-left: 1rem; }

.row-top {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  align-items: start;
}

.row-meta {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.row-meta .row-links { margin-top: 0; padding-top: 0; }

.cover-thumb {
  width: 180px;
  min-width: 180px;
  max-width: 180px;
  height: 180px;
  min-height: 180px;
  max-height: 180px;
  aspect-ratio: 1 / 1;
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  overflow: hidden;
  filter: grayscale(1);
  align-self: start;
  flex-shrink: 0;
  box-sizing: border-box;
}

.release-row .cat {
  margin: 0;
}

.cover-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 90px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  overflow: hidden;
  filter: grayscale(1);
}

.cover-thumb .cover-placeholder { font-size: 9px; letter-spacing: 0.2em; }

/* SVG / image cover art (replaces the diagonal-pattern placeholder when present) */
.cover-thumb img,
.release-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.artist-portrait img,
.artist-detail-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.05);
}

.row-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.row-artist {
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-transform: uppercase;
  line-height: 1.2;
}

.row-title {
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--fg-dim);
  text-transform: uppercase;
  line-height: 1.2;
}

.row-info {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}

.row-links {
  display: flex;
  gap: 16px;
}

.row-links a {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
  transition: color 0.25s;
}

.row-links a:hover { color: var(--fg); }

/* ---------- audio player (custom) ---------- */
.audio-player {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--fg-dim);
}

.audio-player audio { display: none; }

.audio-play {
  width: 32px;
  height: 32px;
  background: var(--fg);
  color: var(--bg);
  border: 0;
  font-size: 11px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.audio-play:hover { opacity: 0.85; transform: scale(1.04); }

/* skip buttons (-10s / +10s) */
.audio-skip {
  width: 28px;
  height: 28px;
  background: transparent;
  color: var(--fg-dim);
  border: 1px solid var(--fg-dim);
  font-size: 13px;
  line-height: 1;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.audio-skip:hover { color: var(--fg); border-color: var(--fg); }

.audio-progress {
  flex: 1;
}

.audio-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  cursor: pointer;
  transition: height 0.2s ease;
  user-select: none;
}

.audio-progress:hover { height: 6px; }
.audio-progress.is-dragging { height: 6px; }

/* invisible padding extends the click/drag hit area above and below the visible bar */
.audio-progress::before {
  content: '';
  position: absolute;
  top: -8px; bottom: -8px; left: 0; right: 0;
}

.audio-bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--fg);
  transition: width 0.08s linear;
  pointer-events: none;
}

.audio-time {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--fg-dim);
  font-variant-numeric: tabular-nums;
  min-width: 10ch;
  text-align: right;
}

/* ---------- video (homepage) ---------- */
.cinematic-video {
  width: 100%;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  overflow: hidden;
  margin-top: 1rem;
}

/* edge-to-edge cinematic player */
.video-wrap.cinematic {
  aspect-ratio: 21 / 9;
  margin-top: 0;
  border: 0;
}

.video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  background: var(--bg-alt);
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 9px
    ),
    var(--bg-alt);
}

.video-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--fg);
  padding-left: 4px; /* nudge the triangle visually centered */
}

.video-label {
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ===================================================================
   TYPE SYSTEM — uniform across every page
   ──────────────────────────────────────────────────────────────────
   MAIN HEADER     .page-title, .hero-logo       clamp(36px..108px)  white
   SUBJECT HEADER  .section-title, .cta-title    clamp(22px..36px)   white
   TOPIC           .service-title, .artist-name,
                   .row-artist, .release-title,
                   .track-title, .faq-question   clamp(15px..22px)   white
   TOPIC (alt)     .row-title (song under name)  clamp(15px..22px)   grey
   CONTENT         .about-text, .service-desc,
                   .service-bullets, .spec-val,
                   .artist-bio, .release-blurb,
                   .faq-answer, .cta-text         15px               grey
   META            .eyebrow, .cat, .row-info,
                   .row-links, .service-price,
                   .btn, .artist-cta, .track-eyebrow,
                   .audio-time, form labels       12px               muted
   =================================================================== */

/* SUBJECT HEADER */
.section-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--fg);
  margin: 0 0 1rem;
}

/* page-title constrains itself to the same max-width as .block-inner and centers,
   so its left edge lines up exactly with the content below it */
.page-title {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}

.services-list { display: flex; flex-direction: column; }

.service-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-3);
  align-items: start;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

/* simple dotted list under each service title (replaces the key/value spec) */
.service-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 540px;
}

.service-bullets li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-dim);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.service-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--muted);
}

.service-num {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--fg-dim);
  text-transform: uppercase;
  padding-top: 0.6rem;
}

.service-title {
  font-size: 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  color: var(--fg);
  text-transform: uppercase;
}

.service-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-dim);
  font-weight: 500;
  max-width: 540px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* spec-sheet style description (key/value rows under each service) */
.service-spec {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  max-width: 580px;
}

.service-spec li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.2rem;
  align-items: baseline;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}

.service-spec li:first-child { padding-top: 0; }
.service-spec li:last-child  { border-bottom: 0; padding-bottom: 0; }

.spec-key {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.spec-val {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-dim);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 600px) {
  .service-spec li {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}

.service-price {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--fg);
  text-transform: uppercase;
  white-space: nowrap;
  padding-top: 0.7rem;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin-top: 1rem;
}

.process-list li {
  border-top: 1px solid var(--fg);
  padding-top: 1.2rem;
}

.process-num {
  display: block;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--fg-dim);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.process-title {
  font-size: 17px;
  letter-spacing: -0.005em;
  margin: 0 0 0.6rem;
}

.process-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-dim);
  font-weight: 500;
  margin: 0;
}

.cta-block {
  text-align: left;
  /* uses parent .block-inner's max-width so it aligns with the page-title and
     other content blocks above */
}

.cta-title {
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 1rem;
  color: var(--fg);
}

.cta-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-dim);
  font-weight: 500;
  margin: 0 0 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- FAQ accordion ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child { border-top: 1px solid var(--line); }

.faq-question {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fg);
  font-weight: 700;
  line-height: 1.4;
  transition: color 0.25s ease;
}

.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { content: ""; }

.faq-question::after {
  content: "+";
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 400;
  line-height: 0.9;
  color: var(--fg-dim);
  transition: color 0.25s ease;
}

.faq-item[open] .faq-question::after { content: "−"; color: var(--fg); }

.faq-question:hover { color: var(--fg); }
.faq-question:hover::after { color: var(--fg); }

.faq-answer {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 0.2rem 0 1.5rem;
  max-width: 720px;
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-dim);
  font-weight: 500;
  margin: 0;
  max-width: 640px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.faq-answer a {
  color: var(--fg);
  border-bottom: 1px solid var(--muted);
  transition: border-color 0.25s ease;
}

.faq-answer a:hover { border-color: var(--fg); }

/* ---------- demo submission form ---------- */
.demo-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 640px;
  margin-top: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.form-field input,
.form-field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 0;
  transition: border-color 0.25s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted);
  font-weight: 500;
}

.form-field input:hover,
.form-field textarea:hover {
  border-bottom-color: var(--fg-dim);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-bottom-color: var(--fg);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

.form-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.form-fallback {
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--fg-dim);
  margin: 0;
  text-transform: uppercase;
}

.form-fallback a {
  border-bottom: 1px solid var(--muted);
  transition: border-color 0.25s;
}

.form-fallback a:hover { border-color: var(--fg); }

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ---------- artist subpage (artist-XX.html) ---------- */
.artist-tag {
  margin-top: 1.5rem;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.artist-detail-grid {
  display: block;
  /* uses parent .block-inner's max-width so it aligns with the page-title above */
}

.artist-detail-portrait {
  position: relative;
  width: 160px;
  aspect-ratio: 4 / 5;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  overflow: hidden;
  margin: 0 0 var(--space-3);
}

.artist-detail-bio .about-text { max-width: 540px; }

.artist-detail-bio .artist-links { margin-top: 2rem; }


/* ---------- artists (artists.html listing) — grid of cards ---------- */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(560px, 1fr));
  gap: var(--space-4);
  margin-top: 1rem;
}

.artist {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--line);
  max-width: 760px;
  align-items: start;
}

.artist-portrait {
  width: 240px;
  height: 240px;            /* explicit height — guarantees a perfect square regardless of row height */
  align-self: start;
  flex-shrink: 0;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  overflow: hidden;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.4s ease;
  box-sizing: border-box;
}

/* right column: name on top, featured track below, socials anchored to the bottom */
.artist-content {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
  min-height: 240px;          /* matches square portrait height */
}

.artist-content .artist-links {
  margin-top: auto;           /* push to bottom, aligns with bottom of portrait */
  padding-top: 0.5rem;
}

@media (max-width: 700px) {
  .artist {
    grid-template-columns: 1fr;
    max-width: none;
  }
  .artist-portrait {
    width: 200px;
  }
  .artist-content {
    min-height: 0;
  }
}

.artist-name {
  font-size: 16px;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--fg);
}

.artist-name a {
  color: inherit;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}

.artist-name a:hover { border-color: var(--fg); }

.artist-bio {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-dim);
  font-weight: 500;
  margin: 0;
  max-width: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.artist-cta {
  display: inline-block;
  margin-top: 0.5rem;
  align-self: flex-start;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
  border-bottom: 1px solid var(--muted);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}

.artist-cta:hover { color: var(--fg); border-color: var(--fg); }

/* Featured track on each artist card */
.featured-track {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.track-eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0;
}

.track-title {
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 0 0 0.2rem;
  text-transform: uppercase;
  line-height: 1.2;
}

.artist-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  overflow: hidden;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.4s ease;
}

.artist:hover .artist-portrait {
  filter: grayscale(1) contrast(1.2);
}

/* artist-name on subpages — slightly larger than card variant */
.artist-detail-bio .artist-name,
.page-head .artist-name {
  font-size: 32px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 1.2rem;
}

.artist-bio {
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-dim);
  font-weight: 500;
  max-width: 560px;
  margin: 0 0 2rem;
}

.artist-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.artist-links a {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg);
  border-bottom: 1px solid var(--muted);
  padding-bottom: 2px;
  transition: border-color 0.25s;
}

.artist-links a:hover { border-color: var(--fg); }

/* ---------- about (about.html) ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-4);
}

.about-text {
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--fg-dim);
  margin: 0 0 1.2rem;
  max-width: 640px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.about-text a {
  border-bottom: 1px solid var(--muted);
  transition: border-color 0.25s;
}

.about-text a:hover { border-color: var(--fg); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 18px 40px;
  margin-top: auto; /* sticky footer — pushes to bottom on short pages */
  background: var(--bg); /* opaque so bg layers don't bleed through */
}

.footer-inner {
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer-logo {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.socials.inline { gap: 18px; }

.socials a {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.25s;
}

.socials a:hover { border-color: var(--fg); }

.copyright {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

/* ---------- reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(.2,.8,.2,1),
              transform 0.9s cubic-bezier(.2,.8,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .site-header { padding: 18px 20px; }
  .primary-nav { gap: 18px; }
  .primary-nav a { font-size: 10px; }

  .block { padding: var(--space-4) 20px; }
  .page-head { padding: calc(var(--space-4) + 32px) 20px var(--space-3); }
  .site-footer { padding: var(--space-3) 20px; }

  .release-feature { grid-template-columns: 1fr; }
  .row-top {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .cover-thumb { width: 160px; height: 160px; }
  .row-meta { min-height: 0; }
  .artists-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; }
  .service-price { grid-column: 1; padding-top: 0.4rem; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-logo { font-size: 56px; }
  .hero-tagline { font-size: 10px; letter-spacing: 0.18em; }
}
