/* ==========================================================================
   Pressing — independent record-label template
   A Templatorium template · https://templatorium.com

   HOW TO RE-THEME (the 30-second version — full guide in docs/README.md):
   every colour, font and size the design uses is a custom property in the
   :root block directly below. Change the values there and the whole site
   follows. Everything under the tokens is structure; you rarely touch it.

   The promise this template makes — and yours should keep: every text pair in
   the shipped palette meets WCAG 2.2 AA (computed, not eyeballed; the worst
   real-text pair is white-on-signal at 7.48:1). If you change colours, re-check:
   https://webaim.org/resources/contrastchecker/

   THE COLOUR STORY, IN ONE LINE: warm newsprint paper + near-black ink + ONE
   electric signal. Every other colour on a finished site is BORROWED from your
   cover art — the system stays disciplined so the records carry the colour.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS — the re-theme contract
   -------------------------------------------------------------------------- */
:root {
  /* --- Palette. Signal is used on LESS than 5% of any page: buy/listen CTAs,
     the now-playing bar, the active state of nav/filter/toggle controls, link
     hover and the small play triangle. Nothing decorative is signal-blue —
     that restraint is what makes one electric colour read as a signal. --- */
  --paper:      #EFECE3; /* warm bone / newsprint — the dominant page ground */
  --well:       #E4E0D4; /* empty cover cells, alternating sections, chips */
  --ink:        #16150F; /* warm near-black — all body, display and headings */
  --signal:     #1B29FF; /* THE accent — electric ultramarine (6.33:1 on paper) */
  --on-signal:  #FFFFFF; /* text / icons on a signal fill (7.48:1) */

  /* --meta is DECORATION ONLY — hairlines, ledger rules, dotted leaders, the
     unplayed half of a waveform, placeholder motifs. It is 2.9:1 on paper, so
     it is NEVER used for text. Readable secondary text uses --ink-soft. */
  --meta:       #8C887E;
  --ink-soft:   #55524A; /* readable secondary text — ledes, captions (6.6:1) */

  /* Reserved decorative field token. Follows the signal by default (so it is
     value-preserving today). The browser builder's "use my brand colour" mode
     lands a too-light hue HERE — a decorative-only role, never text — when the
     colour can't be darkened into a readable signal. Do not set text in it. */
  --field:      var(--signal);

  /* The ink footer + the shared chrome that sits on ink. Signal-blue on ink is
     a computed FAIL (both are dark), so on the footer links are PAPER, never
     signal — the same discipline as "the accent is banned on its own ground". */
  --paper-on-ink: #EFECE3; /* 15:1 on ink */
  --muted-on-ink: #B8B4A8; /* 8.1:1 on ink — secondary text on the footer */
  --signal-tint:  #8F97FF; /* the signal's light companion — the ONE readable
                              accent on the ink footer (5:1). The brand-colour
                              generator lifts a buyer hue to here for the footer. */
  --ink-line:     #34322A; /* a visible seam on the ink footer */

  /* Form input borders need ≥3:1 against the ground; the decorative hairline
     (--meta) is too faint, so inputs use --ink-soft (6.6:1). */
  --input-border: #55524A;

  /* Depth is flat paper. One lift shadow for the now-playing bar (upward) and a
     hover-raised sleeve. No hard offset shadow, no gradients. */
  --shadow-lift: 0 6px 24px -8px rgb(22 21 15 / 0.18);

  /* --- Builder grounds. A section may wear paper or well; each ground carries
     its OWN readable text roles as var() refs so the pairs stay palette-
     independent (verified in pipeline/builder/contrast.mjs). Defaults = paper.
     On the WELL ground the label/accent role is INK, not signal: signal-blue
     dips below its paper figure on well, so signal stays a fill there and text
     is ink. The section[data-ground] rule (below) applies a builder choice. --- */
  --g-bg:     var(--paper);
  --g-fg:     var(--ink);
  --g-mute:   var(--ink-soft);
  --g-accent: var(--signal);
  --g-line:   var(--meta);

  /* --- Type. Three vendored faces, self-hosted as woff2, zero runtime requests
     (all SIL OFL 1.1). Bricolage Grotesque + Instrument Sans ship as ONE
     variable file each with a weight range; Space Mono is 400/700. --- */
  --font-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif; /* wordmark, titles, section heads */
  --font-body:    "Instrument Sans", system-ui, sans-serif;                     /* prose, bios, liner notes, UI */
  --font-mono:    "Space Mono", ui-monospace, SFMono-Regular, monospace;        /* DATA ONLY — CAT-№, times, formats, badges */

  /* Scale. The size JUMP is the design: an 88px display against 16.5px body. */
  --t-hero:  clamp(44px, 6vw, 88px);
  --t-h1:    clamp(34px, 4.4vw, 60px);
  --t-h2:    clamp(26px, 3vw, 40px);
  --t-h3:    20px;
  --t-body:  16.5px;
  --t-lede:  19px;
  --t-data:  13px;
  --t-cat:   clamp(13px, 1.1vw, 15px);
  --t-badge: 11px;

  /* Space & structure. Imagery leads → a wide container; the sleeve wall and
     featured bands bleed to the viewport edge, prose columns stay inside. */
  --sp-section: clamp(64px, 8vw, 104px);
  --gutter:     24px;
  --max:        1320px;
  --measure:    66ch;      /* editorial line-length cap */
  --np-height:  56px;      /* the now-playing bar height (shared chrome) */
}

/* --------------------------------------------------------------------------
   2. FONT FACES — vendored variable + static woff2, no CDN, no lottery
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-variable.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-variable.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-italic-variable.woff2") format("woff2");
  font-weight: 400 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("../fonts/space-mono-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("../fonts/space-mono-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* --------------------------------------------------------------------------
   3. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  /* sticky nav offset (§9) + room above the now-playing bar for anchor jumps */
  scroll-padding-top: 84px;
  scroll-padding-bottom: 72px;
}
[id] { scroll-margin-top: 84px; } /* sticky-nav anchor landing (promoted rule) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* the persistent now-playing bar is fixed to the bottom; keep content clear */
  padding-bottom: calc(var(--np-height) + env(safe-area-inset-bottom, 0px));
  /* full-bleed bands use 100vw; clip (not hidden — keeps the sticky nav sticky)
     stops a horizontal scrollbar at every width */
  overflow-x: clip;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }

/* Optional newsprint grain over the paper. It taxes contrast ~0.1–0.3, so it
   is kept at a low alpha and every near-floor pair keeps ≥0.3 headroom (the
   worst real-text pair, white-on-signal 7.48, has enormous headroom). It sits
   BEHIND content and never over the ink footer. */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) { body::before { opacity: 0.4; } }

/* keep real content above the grain */
.skip-link, .nav, main, .site-footer, .now-playing { position: relative; z-index: 1; }

/* Focus is visible on EVERY ground (computed per ground, §9). Light grounds:
   2px ink. Signal fills (the now-playing bar, buttons): 2px white. Ink footer:
   2px paper. Never outline:none — anywhere. */
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.on-signal :focus-visible, .now-playing :focus-visible { outline-color: var(--on-signal); }
.on-ink :focus-visible, .site-footer :focus-visible { outline-color: var(--paper-on-ink); }

/* Layout primitives */
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sp-section); }
.section--well { background: var(--well); }
/* Builder grounds: an editor choice (data-ground) overrides a section's own
   background class. Both grounds keep Pressing's ink text, so every readable
   pair is palette-independent and clears AA on every offered palette. */
section[data-ground="paper"] { background: var(--paper); }
section[data-ground="well"]  { background: var(--well); }
section[data-ground="well"] { --g-accent: var(--ink); } /* signal is fill-only on well */

/* Skip link — first tab stop on every page */
.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper);
  font: 500 14px/1 var(--font-body); padding: 10px 18px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   4. TYPE ROLES
   -------------------------------------------------------------------------- */
h1, .h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--t-h1); line-height: 1.05; letter-spacing: -0.02em;
}
h2, .h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--t-h2); line-height: 1.1; letter-spacing: -0.02em;
}
h3, .h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--t-h3); line-height: 1.3; letter-spacing: -0.01em;
}
p { max-width: var(--measure); }
.lede {
  font-family: var(--font-body); font-size: var(--t-lede); line-height: 1.5;
  color: var(--ink-soft); max-width: 54ch;
}
.prose p + p { margin-top: 1.1em; }
.prose { max-width: var(--measure); }

/* Mono DATA voice — CAT-№, times, formats, years, readouts. This is the ONLY
   role Space Mono plays: it never sets an eyebrow, kicker or section label
   (mono is data, never decoration — a house rule). Tabular figures on. */
.fig {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: var(--t-data); letter-spacing: 0.01em; color: var(--ink);
}
.cat { /* the CAT-№ on a sleeve caption */
  font-family: var(--font-mono); font-weight: 700; font-size: var(--t-cat);
  font-variant-numeric: tabular-nums; letter-spacing: 0.02em;
}
.count { /* computed catalogue counts, in prose */
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
}

/* Links in prose: ink, signal on hover (120ms colour swap, no slide). Signal-
   as-text lives on the paper ground only (6.33:1); on well, links stay ink. */
.prose a, .link {
  color: var(--ink); text-decoration: underline;
  text-underline-offset: 3px; text-decoration-thickness: 1px;
  transition: color 0.12s ease;
}
.prose a:hover, .link:hover { color: var(--signal); }
section[data-ground="well"] .prose a:hover, section[data-ground="well"] .link:hover { color: var(--ink); text-decoration-thickness: 2px; }

/* --------------------------------------------------------------------------
   5. STATUS BADGES + FILTER/TOGGLE PILLS  (the klim lozenge)
      State is ALWAYS in the WORD, never colour alone (WCAG 1.4.1). Badges are
      NEVER signal-blue (that protects the <5% accent budget). Every badge sets
      its label in INK so the 11px text clears AA — the "dim" of a sold-out
      record comes from an outline + the WORD, not from unreadable grey.
   -------------------------------------------------------------------------- */
.badge {
  display: inline-block; font-family: var(--font-mono); font-weight: 700;
  font-size: var(--t-badge); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink); background: var(--well);
  border: 1px solid transparent; border-radius: 999px;
  padding: 3px 10px; line-height: 1.4;
}
.badge--new, .badge--preorder { background: var(--well); }
.badge--repress { background: transparent; border-color: var(--ink); }
.badge--soldout { background: transparent; border: 1px solid var(--meta); text-decoration: line-through; }
section[data-ground="well"] .badge--new,
section[data-ground="well"] .badge--preorder { background: var(--paper); }

/* --------------------------------------------------------------------------
   6. BUTTONS — primary/buy = signal fill; secondary = ink outline; tertiary =
      signal text link. Never two signal fills fighting in one viewport (the
      buy is the signal; everything else defers).
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 15px/1 var(--font-body); border: 1px solid transparent;
  border-radius: 6px; padding: 14px 22px; text-decoration: none; cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.btn--buy { background: var(--signal); color: var(--on-signal); border-color: var(--signal); }
.btn--buy:hover { background: #1421d6; border-color: #1421d6; box-shadow: var(--shadow-lift); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: var(--paper); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* tertiary arrow link (mono-free — it is editorial, not data) */
.arrow-link {
  font: 600 14px/1.3 var(--font-body); color: var(--ink);
  text-decoration: underline; text-underline-offset: 4px;
  transition: color 0.12s ease;
}
.arrow-link:hover { color: var(--signal); }
section[data-ground="well"] .arrow-link:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   7. NAV — paper, sticky, the wordmark small in the corner like a colophon.
      Gains a 1px hairline after an 8px scroll (js adds .scrolled).
   -------------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 40; background: var(--paper);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { border-bottom-color: var(--meta); }
.nav .wrap { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.wordmark {
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  letter-spacing: -0.03em; color: var(--ink); text-decoration: none; margin-right: auto;
}
.wordmark .dot { color: var(--signal); } /* the one signal glyph in the wordmark */
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a {
  font: 500 15px/1 var(--font-body); color: var(--ink);
  text-decoration: none; padding-block: 8px; transition: color 0.12s ease;
}
.nav-links a:hover { color: var(--signal); }
.nav-links a[aria-current="page"] { color: var(--signal); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--ink);
  min-width: 44px; min-height: 44px; padding: 0 12px; cursor: pointer;
  align-items: center; justify-content: center; border-radius: 6px;
}
.nav-toggle .bars { display: block; width: 18px; height: 2px; background: var(--ink);
  box-shadow: 0 6px 0 var(--ink), 0 -6px 0 var(--ink); }

/* --------------------------------------------------------------------------
   8. THE SLEEVE — the atom of the whole site. A square (0-radius, records are
      square) cover slot + a Space Mono caption beneath. Empty, the slot is a
      DESIGNED record-groove plate, not a bare box (§ imagery). Hover lifts the
      sleeve, fades in a signal play triangle, and dims the neighbours.
   -------------------------------------------------------------------------- */
.sleeve { display: flex; flex-direction: column; gap: 10px; }
.sleeve__frame { position: relative; }
/* the image slot itself. The builder/customizer swaps its inner for an <img>;
   its aspect + the groove motif stay on the wrapper. */
.sleeve__art {
  position: relative; aspect-ratio: 1 / 1; background: var(--well);
  overflow: hidden; display: block;
}
/* The empty-state motif: concentric record grooves + a spindle hole, masked out
   of --meta so it re-themes and never touches text contrast. It sits BEHIND the
   spec label and retires the instant a buyer cover fills the slot. This is what
   makes an empty catalogue read as a wall of RECORDS, not a broken grid. */
.sleeve__art::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-color: var(--meta); opacity: 0.55;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23000'%3E%3Ccircle cx='50' cy='50' r='46' stroke-width='0.8'/%3E%3Ccircle cx='50' cy='50' r='38' stroke-width='0.5'/%3E%3Ccircle cx='50' cy='50' r='30' stroke-width='0.5'/%3E%3Ccircle cx='50' cy='50' r='22' stroke-width='0.5'/%3E%3Ccircle cx='50' cy='50' r='14' stroke-width='0.8'/%3E%3Ccircle cx='50' cy='50' r='2.4' fill='%23000' stroke='none'/%3E%3C/svg%3E") center / 78% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23000'%3E%3Ccircle cx='50' cy='50' r='46' stroke-width='0.8'/%3E%3Ccircle cx='50' cy='50' r='38' stroke-width='0.5'/%3E%3Ccircle cx='50' cy='50' r='30' stroke-width='0.5'/%3E%3Ccircle cx='50' cy='50' r='22' stroke-width='0.5'/%3E%3Ccircle cx='50' cy='50' r='14' stroke-width='0.8'/%3E%3Ccircle cx='50' cy='50' r='2.4' fill='%23000' stroke='none'/%3E%3C/svg%3E") center / 78% no-repeat;
}
.sleeve__art:has(img)::before { display: none; }
.sleeve__art img { width: 100%; height: 100%; object-fit: cover; }
/* the spec label — anchored TOP-LEFT as an art-direction annotation (never
   centred, the named generic tell). Retired under a buyer photo. */
.sleeve__spec {
  position: absolute; left: 0; top: 0; z-index: 1; max-width: 88%;
  font-family: var(--font-mono); font-size: var(--t-badge); letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-soft); line-height: 1.6;
  padding: 8px 10px;
}
.sleeve__spec span { background: var(--well); padding: 3px 6px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.sleeve__art:has(img) .sleeve__spec { display: none; }

/* the play affordance — a SIBLING of the image slot (so a dropped cover never
   erases it), keyboard-reachable, its own control. Signal triangle. */
.sleeve__play {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--signal); color: var(--on-signal);
  display: grid; place-items: center; padding: 0;
  opacity: 0; transform: translateY(4px); transition: opacity 0.16s ease, transform 0.16s ease;
}
.sleeve__play svg { width: 15px; height: 15px; fill: currentColor; }
.sleeve:hover .sleeve__play,
.sleeve:focus-within .sleeve__play { opacity: 1; transform: none; }
.sleeve__play:focus-visible { opacity: 1; transform: none; }

/* caption beneath — real catalogue DATA (mono), the title is the release link */
.sleeve__cap { display: flex; flex-direction: column; gap: 2px; }
.sleeve__title {
  font-family: var(--font-display); font-weight: 700; font-size: var(--t-h3);
  line-height: 1.2; color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
}
.sleeve__title:hover { text-decoration: underline; text-underline-offset: 3px; }
.sleeve__meta {
  font-family: var(--font-mono); font-size: var(--t-data); color: var(--ink-soft);
  letter-spacing: 0.02em; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline;
}

/* the hover lift + neighbour dim (M2). The dim is scoped to a mosaic/grid
   container that opts in with .dimmable. */
.dimmable:hover .sleeve { transition: opacity 0.16s ease; }
.dimmable:hover .sleeve:not(:hover):not(:focus-within) { opacity: 0.72; }
@media (prefers-reduced-motion: reduce) {
  .dimmable:hover .sleeve:not(:hover) { opacity: 1; } /* RM: play glyph only, no dim */
  .sleeve__play { opacity: 1; transform: none; } /* always visible, no fade */
}

/* --------------------------------------------------------------------------
   9. THE SLEEVE WALL — the signature (home hero). A dense, edge-to-edge,
      multi-scale quilt: mostly 1×1 cells with occasional 2×2 "featured" tiles,
      deliberately irregular so it reads hand-hung. The wordmark + a one-line
      manifesto float off-centre, top-left, overlapping the quilt like a stamp.
   -------------------------------------------------------------------------- */
.sleeve-wall { position: relative; background: var(--paper); }
.wall-grid {
  display: grid; gap: 2px;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-flow: dense;
}
.wall-grid .sleeve { gap: 0; }
.wall-grid .sleeve__frame { height: 100%; }
.wall-grid .sleeve__art { aspect-ratio: 1 / 1; height: 100%; }
/* featured 2×2 tiles seeded through the quilt */
.wall-grid .sleeve--2x { grid-column: span 2; grid-row: span 2; }
/* the caption of a wall sleeve reveals on hover/focus only — the wall reads as
   pure records until you reach for one */
.wall-grid .sleeve__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 10px 12px; background: linear-gradient(0deg, rgb(22 21 15 / 0.62), transparent);
  opacity: 0; transition: opacity 0.16s ease; pointer-events: none;
}
.wall-grid .sleeve:hover .sleeve__cap,
.wall-grid .sleeve:focus-within .sleeve__cap { opacity: 1; }
.wall-grid .sleeve__title { color: var(--on-signal); font-size: 15px; }
.wall-grid .sleeve__meta { color: var(--paper-on-ink); }

/* the floating colophon — off-centre, top-left, over the mosaic */
.wall-mark {
  position: absolute; left: clamp(20px, 4vw, 64px); top: clamp(20px, 4vw, 56px);
  z-index: 5; max-width: min(560px, 76%);
}
/* the lockup is a two-part stamp: an opaque paper copy panel (wordmark +
   manifesto — text always on solid paper, contrast guaranteed) and, beside it,
   a live turntable DISC (the modern-kit motion, § MOTION LAYER). The disc is
   aria-hidden decoration and carries NO text, so it has no contrast dependency. */
.wall-mark .lockup {
  display: flex; align-items: center; gap: clamp(14px, 2vw, 26px);
  background: var(--paper); padding: 16px 22px 18px;
  box-shadow: var(--shadow-lift);
}
.lockup-copy { min-width: 0; }
.wall-mark h1 {
  font-family: var(--font-display); font-weight: 800; font-size: var(--t-hero);
  line-height: 1.0; letter-spacing: -0.03em;
}
.wall-mark h1 .dot { color: var(--signal); }
.wall-mark .manifesto {
  margin-top: 8px; font-size: var(--t-lede); color: var(--ink-soft); max-width: 34ch;
}
@media (max-width: 900px) { .wall-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) {
  .wall-grid { grid-template-columns: repeat(2, 1fr); }
  .wall-mark { position: static; max-width: none; padding: 20px var(--gutter) 8px; }
  .wall-mark .lockup { box-shadow: none; padding: 0; background: transparent; gap: 16px; }
  .lockup-disc { width: clamp(72px, 20vw, 96px) !important; }
}

/* --------------------------------------------------------------------------
   10. THE NOW-PLAYING BAR — persistent shared chrome, the one Signal field of
       size (the sanctioned exception to the <5% budget; it IS the signal
       system). Pinned bottom, full-width, lift shadow upward. Ships VISIBLE in
       a resting/ready state (so the page is complete with no JS and the
       signature reads in a screenshot); JS swaps the track + runs the scrubber
       when a sleeve's play control is pressed. NO audio is bundled — the
       waveform is a generated SVG and the "open" link is your real DSP URL.
   -------------------------------------------------------------------------- */
.now-playing {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  min-height: var(--np-height); background: var(--signal); color: var(--on-signal);
  box-shadow: var(--shadow-lift);
  padding: 0 var(--gutter) env(safe-area-inset-bottom, 0px);
  transition: transform 0.2s ease;
}
.now-playing .wrap {
  display: flex; align-items: center; gap: 16px; min-height: var(--np-height);
  max-width: var(--max); margin-inline: auto; padding-inline: 0;
}
.np-toggle {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--on-signal); color: var(--signal); display: grid; place-items: center; padding: 0;
}
.np-toggle svg { width: 14px; height: 14px; fill: currentColor; }
.np-track {
  flex: 0 1 auto; min-width: 0; font-family: var(--font-mono); font-size: var(--t-data);
  letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.np-wave { flex: 1 1 auto; min-width: 60px; }
/* np-time carries .fig for tabular mono, but .fig sets ink — on the signal bar
   the readout must be on-signal (white); this later, equal-specificity rule wins */
.np-time { flex: 0 0 auto; font-family: var(--font-mono); font-size: var(--t-data); font-variant-numeric: tabular-nums; color: var(--on-signal); }
.np-open {
  flex: 0 0 auto; font-family: var(--font-body); font-weight: 600; font-size: 13px;
  color: var(--on-signal); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap;
}
/* JS may hide the bar until first play; without JS it stays put (html:not(.js)) */
html.js .now-playing[hidden] { display: block; transform: translateY(100%); }
@media (max-width: 640px) {
  .np-track { flex: 1 1 auto; }
  .np-wave, .np-time { display: none; } /* the readout + scrubber fold on phones */
}

/* --------------------------------------------------------------------------
   11. WAVEFORM SCRUBBER — a compact row of vertical mono bars (inline SVG).
       Played portion in signal, unplayed in --meta, a handle on the boundary.
       Static by default; JS advances the played bars on play/scrub. On the
       now-playing bar (signal ground) the played bars are WHITE, unplayed a
       translucent white — signal-on-signal would vanish.
   -------------------------------------------------------------------------- */
.wave { display: block; width: 100%; height: 30px; cursor: pointer; }
.wave .wave-bar { fill: var(--meta); }
.wave .wave-bar.played { fill: var(--signal); }
.now-playing .wave .wave-bar { fill: rgb(255 255 255 / 0.4); }
.now-playing .wave .wave-bar.played { fill: var(--on-signal); }

/* --------------------------------------------------------------------------
   12. FEATURED SPOTLIGHT (home) — one oversized sleeve + title + buy/listen
   -------------------------------------------------------------------------- */
.spotlight .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.spotlight .sleeve__art { max-width: 460px; }
.spotlight-body h2 { margin-bottom: 6px; }
.spotlight-body .by { font-family: var(--font-body); font-weight: 500; color: var(--ink-soft); font-size: var(--t-lede); }
.spotlight-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; margin: 20px 0 24px; }
.spotlight-meta .fig { color: var(--ink); }
@media (max-width: 820px) { .spotlight .wrap { grid-template-columns: 1fr; } .spotlight .sleeve__art { max-width: 340px; } }

/* --------------------------------------------------------------------------
   13. SECTION HEADS + STRIPS — a section opens with a naked Bricolage h2 (no
       mono eyebrow, no "01 —" number: those tics belong to another template).
   -------------------------------------------------------------------------- */
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(24px, 3vw, 40px); }
.sec-head .count { font-size: var(--t-data); color: var(--ink-soft); }
.strip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: clamp(20px, 2.4vw, 32px); }

/* the uniform catalogue grid (the mosaic made orderly) */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: clamp(20px, 2.4vw, 32px); }

/* --------------------------------------------------------------------------
   14. LEDGER VIEW — the mono manifest table (the secondary Catalogue view).
       Tabular, hairline rules between rows. Mono is honest DATA here.
   -------------------------------------------------------------------------- */
.ledger { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: var(--t-data); }
.ledger caption { text-align: left; }
.ledger thead th {
  text-align: left; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  font-size: var(--t-badge); color: var(--ink-soft); padding: 0 16px 10px 0; border-bottom: 1px solid var(--ink);
}
.ledger td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--meta); vertical-align: baseline; color: var(--ink); }
.ledger tbody tr:hover { background: rgb(22 21 15 / 0.03); }
.ledger .l-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.ledger .l-title a { color: var(--ink); text-decoration: none; }
.ledger .l-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ledger .l-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ledger .l-play { background: none; border: 0; cursor: pointer; color: var(--signal); padding: 4px; display: inline-grid; place-items: center; }
.ledger .l-play svg { width: 13px; height: 13px; fill: currentColor; }
@media (max-width: 720px) { .ledger .l-hide-sm { display: none; } }

/* --------------------------------------------------------------------------
   15. LEDGER⇄SLEEVE TOGGLE (Catalogue) — a CSS-only segmented control built on
       radio inputs, so the view swaps with NO JavaScript, keyboard works, and
       the state is real. Sleeve is the default view (imagery leads). Active
       segment = signal fill. The views crossfade.
   -------------------------------------------------------------------------- */
/* the two state radios live OUTSIDE .view-toggle (the ~ selectors need them as
   siblings of .cat-views). Visually hide them but keep them keyboard-focusable
   and operable — the visible labels below drive them; focus routes to a label. */
#view-sleeve, #view-ledger {
  position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px;
}
.view-toggle { display: inline-flex; border: 1px solid var(--ink); border-radius: 999px; overflow: hidden; }
.view-toggle label {
  font-family: var(--font-mono); font-weight: 700; font-size: var(--t-badge); letter-spacing: 0.06em;
  text-transform: uppercase; padding: 8px 16px; cursor: pointer; color: var(--ink);
  display: inline-flex; align-items: center; min-height: 34px;
}
.view-toggle label[for="view-ledger"] { border-left: 1px solid var(--ink); }
#view-sleeve:checked ~ .sec-head .view-toggle label[for="view-sleeve"],
#view-ledger:checked ~ .sec-head .view-toggle label[for="view-ledger"] { background: var(--signal); color: var(--on-signal); }
/* focus a (hidden) radio → ring the visible label it controls */
#view-sleeve:focus-visible ~ .sec-head .view-toggle label[for="view-sleeve"],
#view-ledger:focus-visible ~ .sec-head .view-toggle label[for="view-ledger"] { outline: 2px solid var(--ink); outline-offset: 2px; }
/* the two views. Sleeve shows by default; a checked radio swaps them. */
.cat-view { transition: opacity 0.2s ease; }
.cat-view--ledger { display: none; }
#view-ledger:checked ~ .cat-views .cat-view--sleeve { display: none; }
#view-ledger:checked ~ .cat-views .cat-view--ledger { display: block; }
@media (prefers-reduced-motion: reduce) { .cat-view { transition: none; } }

/* filter chips — mono pills, ink-on-well at rest, signal fill when active */
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  font-family: var(--font-mono); font-weight: 700; font-size: var(--t-badge); letter-spacing: 0.06em;
  text-transform: uppercase; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--meta);
  background: var(--well); color: var(--ink); text-decoration: none; cursor: pointer; min-height: 32px;
  display: inline-flex; align-items: center;
}
.chip[aria-pressed="true"], .chip.is-active { background: var(--signal); color: var(--on-signal); border-color: var(--signal); }
section[data-ground="well"] .chip { background: var(--paper); }

/* --------------------------------------------------------------------------
   16. ROSTER / ARTIST — a directory of portraits, then the detail page
   -------------------------------------------------------------------------- */
.roster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.artist-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); }
.artist-card .name { font-family: var(--font-display); font-weight: 700; font-size: var(--t-h3); letter-spacing: -0.01em; }
.artist-card:hover .name { text-decoration: underline; text-underline-offset: 3px; }
.artist-card .kind { font-family: var(--font-mono); font-size: var(--t-data); color: var(--ink-soft); }

/* generic art-directed PHOTO plate (portraits, journal, team) — a designed
   empty-state with a faint aperture/frame motif + a CORNER-anchored spec label,
   never a centred box. Retired under a buyer photo. */
.plate { position: relative; background: var(--well); overflow: hidden; }
.plate::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-color: var(--meta); opacity: 0.5;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160' fill='none' stroke='%23000' stroke-width='1'%3E%3Cpath d='M18 40V18H40M120 18H142V40M142 120V142H120M40 142H18V120'/%3E%3Ccircle cx='80' cy='80' r='26'/%3E%3Ccircle cx='80' cy='80' r='10'/%3E%3Cpath d='M80 44V54M80 106V116M44 80H54M106 80H116'/%3E%3C/svg%3E") center / 46% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160' fill='none' stroke='%23000' stroke-width='1'%3E%3Cpath d='M18 40V18H40M120 18H142V40M142 120V142H120M40 142H18V120'/%3E%3Ccircle cx='80' cy='80' r='26'/%3E%3Ccircle cx='80' cy='80' r='10'/%3E%3Cpath d='M80 44V54M80 106V116M44 80H54M106 80H116'/%3E%3C/svg%3E") center / 46% no-repeat;
}
.plate:has(img)::before { display: none; }
.plate img { width: 100%; height: 100%; object-fit: cover; }
.plate--11 { aspect-ratio: 1 / 1; }
.plate--169 { aspect-ratio: 16 / 9; }
.plate--32 { aspect-ratio: 3 / 2; }
.plate-spec {
  position: absolute; left: 0; top: 0; z-index: 1; max-width: 86%;
  font-family: var(--font-mono); font-size: var(--t-badge); letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-soft); line-height: 1.6; padding: 8px 10px;
}
.plate-spec span { background: var(--well); padding: 3px 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.plate:has(img) .plate-spec { display: none; }
/* height-cap a full-bleed plate so a wide crop is a plate, not a dead band */
.plate--bleed { margin-inline: calc(50% - 50vw); max-width: 100vw; }
.artist-hero .plate--bleed, .article-hero .plate--bleed { height: clamp(320px, 42vw, 520px); aspect-ratio: auto; }

.artist-hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 56px); align-items: end; }
.artist-hero .plate--portrait { aspect-ratio: 1 / 1; max-width: 420px; }
.artist-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
.artist-links a { font-family: var(--font-mono); font-size: var(--t-data); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.artist-links a:hover { color: var(--signal); }
@media (max-width: 820px) { .artist-hero .wrap { grid-template-columns: 1fr; } }

/* a mono list of shows / dates */
.date-list { list-style: none; border-top: 1px solid var(--meta); }
.date-list li { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--meta); }
.date-list .d { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: var(--t-data); color: var(--ink); flex: 0 0 108px; }
.date-list .v { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.date-list .c { font-family: var(--font-mono); font-size: var(--t-data); color: var(--ink-soft); margin-left: auto; }

/* --------------------------------------------------------------------------
   17. RELEASE DETAIL — the transaction page. A hard 7/5 split: oversized sleeve
       left, title / credits / buy right. Tracklist rows carry inline waveforms.
   -------------------------------------------------------------------------- */
.release-hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.release-hero .sleeve__art { aspect-ratio: 1 / 1; }
.release-facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 22px 0; font-family: var(--font-mono); font-size: var(--t-data); }
.release-facts dt { color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; font-size: var(--t-badge); padding-top: 2px; }
.release-facts dd { color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .release-hero .wrap { grid-template-columns: 1fr; } .release-hero .sleeve__art { max-width: 380px; } }

.tracklist { list-style: none; border-top: 1px solid var(--ink); }
.track {
  display: grid; grid-template-columns: 2.4rem 1fr minmax(120px, 2fr) auto auto; gap: 14px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--meta);
}
.track .t-no { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: var(--t-data); color: var(--ink-soft); }
.track .t-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.track .t-wave { min-width: 0; }
.track .t-dur { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: var(--t-data); color: var(--ink); }
.track .t-play { background: none; border: 0; cursor: pointer; color: var(--signal); padding: 6px; display: inline-grid; place-items: center; }
.track .t-play svg { width: 13px; height: 13px; fill: currentColor; }
@media (max-width: 640px) { .track { grid-template-columns: 2rem 1fr auto auto; } .track .t-wave { display: none; } }

/* credits / liner notes — a mono credit grid + Instrument prose */
.credits { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; font-family: var(--font-mono); font-size: var(--t-data); max-width: 620px; }
.credits dt { color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; font-size: var(--t-badge); padding-top: 2px; }
.credits dd { color: var(--ink); }

/* --------------------------------------------------------------------------
   18. JOURNAL — editorial cards + the article page
   -------------------------------------------------------------------------- */
.journal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(24px, 3vw, 40px); }
.jcard { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); }
.jcard .plate { aspect-ratio: 3 / 2; }
.jcard .jmeta { font-family: var(--font-mono); font-size: var(--t-data); color: var(--ink-soft); letter-spacing: 0.02em; }
.jcard h3 { font-size: var(--t-h3); }
.jcard:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.jcard .excerpt { font-size: var(--t-body); color: var(--ink-soft); }

.article-hero { max-width: 760px; margin-inline: auto; }
.article-byline { font-family: var(--font-mono); font-size: var(--t-data); color: var(--ink-soft); letter-spacing: 0.02em; margin-top: 14px; }
.article-body { max-width: 640px; margin-inline: auto; }
.article-body p { max-width: none; font-size: var(--t-body); line-height: 1.7; }
.article-body p + p { margin-top: 1.15em; }
.article-body h2 { margin: 1.4em 0 0.5em; }
.pullquote {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 3vw, 32px);
  line-height: 1.25; letter-spacing: -0.02em; margin: 1.2em 0; padding-left: 20px;
  border-left: 2px solid var(--signal); max-width: none;
}
.article-fig { margin: 1.4em 0; }
.article-fig figcaption { font-family: var(--font-mono); font-size: var(--t-data); color: var(--ink-soft); margin-top: 8px; }

/* --------------------------------------------------------------------------
   19. ABOUT — story prose, team plates, the demo-submission form
   -------------------------------------------------------------------------- */
.story { max-width: var(--measure); }
.story h2 { margin-bottom: 16px; }
/* the editorial figure in the About story (a default ships; the builder's AI
   generate swaps it). Height-capped so a 3:2 crop stays a figure, not a band. */
.manifesto-figure { margin-top: 28px; }
.manifesto-figure img {
  width: 100%; height: auto; display: block; aspect-ratio: 3 / 2; object-fit: cover;
  max-height: clamp(280px, 40vw, 440px); border-radius: 2px;
}
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.team-member { display: flex; flex-direction: column; gap: 8px; }
.team-member .plate { aspect-ratio: 1 / 1; }
.team-member .name { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.team-member .role { font-family: var(--font-mono); font-size: var(--t-data); color: var(--ink-soft); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px var(--gutter); margin-top: 28px; max-width: 720px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font: 500 14px/1.3 var(--font-body); }
.field input, .field textarea {
  font: 400 16px/1.4 var(--font-body); color: var(--ink); background: var(--paper);
  border: 1px solid var(--input-border); border-radius: 6px; padding: 12px 14px; width: 100%;
}
section[data-ground="well"] .field input, section[data-ground="well"] .field textarea { background: var(--well); }
.field textarea { min-height: 120px; resize: vertical; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .field--full { grid-column: auto; } }

/* contact block — mono facts */
.contact-list { list-style: none; border-top: 1px solid var(--meta); max-width: 620px; }
.contact-list li { display: flex; gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--meta); font-family: var(--font-mono); font-size: var(--t-data); }
.contact-list .k { color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; font-size: var(--t-badge); flex: 0 0 92px; }
.contact-list .v { color: var(--ink); }
.contact-list a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.contact-list a:hover { color: var(--signal); }

/* the newsletter + demo CTA (home + catalogue) */
.inbound .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.newsletter { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.newsletter input { flex: 1 1 200px; font: 400 16px/1.4 var(--font-body); color: var(--ink); background: var(--paper); border: 1px solid var(--input-border); border-radius: 6px; padding: 12px 14px; }
section[data-ground="well"] .newsletter input { background: var(--well); }
@media (max-width: 720px) { .inbound .wrap { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   20. FOOTER — the one ink ground; paper text, a slow CAT-№ ticker microline
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--paper-on-ink); padding-block: 56px 32px;
  position: relative; isolation: isolate; overflow: clip; } /* hosts the motion layer */
/* footer content rides ABOVE the ambient turntable motion (§ MOTION LAYER) */
.site-footer > .footer-grid, .site-footer > .ticker, .site-footer > .footer-fine { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px var(--gutter); max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.site-footer .wordmark { color: var(--paper-on-ink); }
.site-footer .wordmark .dot { color: var(--signal-tint); } /* signal vanishes on ink → its light companion */
.footer-about { font-size: var(--t-body); color: var(--muted-on-ink); margin-top: 14px; max-width: 34ch; }
.footer-col h2 { font-family: var(--font-mono); font-size: var(--t-badge); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-on-ink); margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { padding-block: 5px; }
.footer-col a { font: 400 14px/1.5 var(--font-body); color: var(--paper-on-ink); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-news input { width: 100%; margin-top: 8px; font: 400 15px/1.4 var(--font-body); color: var(--paper-on-ink); background: transparent; border: 1px solid var(--muted-on-ink); border-radius: 6px; padding: 10px 12px; }
.footer-news input::placeholder { color: var(--muted-on-ink); }

/* the CAT-№ ticker — the one ambient kinetic flourish (M6). A slow marquee of
   catalogue numbers, pausable, PAUSED under reduced-motion. Aria-hidden: it is
   decorative texture, not content a screen reader should read. */
.ticker { margin-top: 48px; border-top: 1px solid var(--ink-line); overflow: hidden; }
.ticker-track {
  display: flex; gap: 0; white-space: nowrap; padding-top: 14px; width: max-content;
  font-family: var(--font-mono); font-size: var(--t-data); color: var(--muted-on-ink); letter-spacing: 0.04em;
}
.ticker-track span { padding-inline: 18px; }
.ticker-track .sep { color: var(--field); } /* decorative separator — reads from --field */
html.js .ticker-track { animation: pressing-ticker 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes pressing-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { html.js .ticker-track { animation: none; } }

.footer-fine { max-width: var(--max); margin: 40px auto 0; padding: 20px var(--gutter) 0; border-top: 1px solid var(--ink-line); display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; }
.footer-fine p { font-family: var(--font-mono); font-size: var(--t-badge); letter-spacing: 0.04em; color: var(--muted-on-ink); max-width: none; }

/* --------------------------------------------------------------------------
   21. PAGE MASTHEAD (interior pages)
   -------------------------------------------------------------------------- */
.masthead { padding-block: clamp(48px, 6vw, 84px) clamp(24px, 3vw, 40px); }
.masthead h1 { max-width: 18ch; }
.masthead .lede { margin-top: 18px; }

/* --------------------------------------------------------------------------
   22. MOTION — the sleeve wall settles on load; sections rise as they enter.
       Nothing is hidden by default: the .in class PLAYS a keyframe whose
       `backwards` fill supplies the hidden start frame, so print, full-page
       screenshots, reduced-motion and no-JS all render the complete page.
       (html.js is set by js/main.js.) All motion ≤500ms; snappy, never floaty.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal.in { animation: pressing-rise 0.34s ease backwards; }
  /* M1 — the wall assembles: tight fade + 6px rise, capped 20ms stagger */
  html.js .wall-grid.in .sleeve { animation: pressing-rise 0.36s ease backwards; animation-delay: calc(var(--i, 0) * 20ms); }
}
@keyframes pressing-rise { from { opacity: 0; transform: translateY(6px); } }

/* --------------------------------------------------------------------------
   23. RESPONSIVE — one codebase. Nav collapses to a hamburger; grids reflow.
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav .wrap { gap: 14px; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--meta);
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding-block: 14px; font-size: 16px; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn { padding: 11px 16px; font-size: 14px; }
  .section { padding-block: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px var(--gutter); }
}

/* No-JS: without js/main.js the html.js flag is never set, so nothing above
   ever hides — every reveal, the ticker and the now-playing bar render in their
   resting state. The nav is sticky by design and works with no JS. */

/* --------------------------------------------------------------------------
   24. MOTION LAYER (the modern kit) — a hand-authored raw-WebGL fragment shader
       (js/pressing-motion.js) paints a slowly TURNING VINYL GROOVE, tinted in
       the electric --signal over the host's ground. It mounts on two hosts:

         • .lockup-disc  — the hero turntable beside the wordmark (bone ground).
           NO text sits on it (aria-hidden decoration), so no contrast dependency.
         • .site-footer .motion-layer — the ambient turntable behind the footer
           colophon (ink ground), UNDER a token-based ink scrim so footer copy
           always computes on ~ink (paper-on-ink stays 15:1, whatever the shader
           draws). Belt-and-suspenders: the shader amplitude is range-capped.

       The page is COMPLETE without any JS/WebGL: each host keeps a CSS gradient
       POSTER (a static groove/glow still frame). Reduced-motion → one still
       frame, no loop, Lenis off. All motion is ours (raw WebGL) + Lenis (MIT).
   -------------------------------------------------------------------------- */

/* --- the hero turntable disc (index sleeve wall) --------------------------- */
.lockup-disc {
  --m-base: var(--paper);   /* shader ground */
  --m-line: var(--signal);  /* groove/accent tint */
  --m-amp: 1;
  position: relative; flex: 0 0 auto; align-self: center;
  width: clamp(88px, 12vw, 140px); aspect-ratio: 1 / 1;
  border-radius: 50%; overflow: hidden; isolation: isolate;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 14%, transparent),
              0 2px 10px -4px color-mix(in srgb, var(--ink) 40%, transparent);
  /* POSTER: faint concentric grooves on bone — reads as a record with no JS */
  background:
    repeating-radial-gradient(circle at 50% 50%,
      color-mix(in srgb, var(--signal) 22%, var(--paper)) 0 0.5px,
      var(--paper) 0.5px 4px),
    var(--paper);
}
.lockup-disc .motion-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
/* the record's paper label + a single --signal spindle dot, painted OVER the
   grooves (echoes the favicon: a blue dot on a bone centre) */
.lockup-disc::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, var(--signal) 0 3.5%, transparent 4%),
    radial-gradient(circle at 50% 50%, var(--paper) 0 15%, transparent 15.5%);
}

/* --- the footer ambient turntable ----------------------------------------- */
.site-footer .motion-layer {
  --m-base: var(--ink);          /* shader ground */
  --m-line: var(--signal-tint);  /* grooves glow toward the ink-readable tint */
  --m-amp: 0.9;
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
  /* POSTER: a soft turntable glow + faint grooves in ink — no-JS/no-WebGL frame */
  background:
    repeating-radial-gradient(circle at 50% 46%,
      color-mix(in srgb, var(--signal-tint) 9%, transparent) 0 1px,
      transparent 1px 10px),
    radial-gradient(80% 100% at 50% 46%, color-mix(in srgb, var(--signal-tint) 14%, transparent), transparent 62%),
    var(--ink);
}
.site-footer .motion-layer .motion-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* the scrim — an ink wash over the motion, under the copy. The contrast
   guarantee: effective background ≈ ink, already proven 15:1 for footer text. */
.site-footer .motion-layer::after {
  content: ""; position: absolute; inset: 0;
  background: color-mix(in srgb, var(--ink) 60%, transparent);
}
@media (prefers-reduced-motion: reduce) {
  /* the shader renders ONE still frame under reduced-motion (js); nothing to do
     in CSS — the poster + scrim already hold. */
}

/* --------------------------------------------------------------------------
   25. PRINT — a catalogue should print cleanly
   -------------------------------------------------------------------------- */
@media print {
  .now-playing, .nav-toggle, .sleeve__play, body::before,
  .lockup-disc, .site-footer .motion-layer { display: none !important; }
  body { padding-bottom: 0; }
  .site-footer { background: #fff; color: #000; }
}
