/* ============================================================
   THE ANTONIO BRASS — archive site · "Jazz LP" identity
   Modes (independent, set on <html>):
     data-theme    = dark | light
     data-contrast = normal | high   (accessibility: very high contrast)
   ============================================================ */

/* ---------- THEME TOKENS ---------- */
:root,
[data-theme="dark"] {
  --bg:        #181210;
  --bg-2:      #201714;
  --surface:   #271c18;
  --ink:       #f3e9d6;
  --ink-soft:  #cdba9f;
  --ink-mute:  #94816c;
  --line:      rgba(243,233,214,.13);
  --line-strong: rgba(243,233,214,.28);

  --accent:    #d2972f;   /* brass gold */
  --accent-2:  #8f2526;   /* oxblood */
  --on-accent: #1a120e;

  --hero-from: #2a1714;
  --hero-to:   #150f0d;
  --glow-1: rgba(210,151,47,.22);
  --glow-2: rgba(143,37,38,.30);

  --vinyl-a: #0c0908; --vinyl-b: #1a1411; --vinyl-c: #2a201b;
  color-scheme: dark;
}

/* Light mode = the "Tijuana" direction: warm cream, terracotta & teal */
[data-theme="light"] {
  --bg:        #f7edd8;
  --bg-2:      #f1e2c5;
  --surface:   #fbf4e4;
  --ink:       #2a1c14;
  --ink-soft:  #5d4131;
  --ink-mute:  #8a6a50;
  --line:      rgba(42,28,20,.15);
  --line-strong: rgba(42,28,20,.30);

  --accent:    #bd4a28;   /* terracotta */
  --accent-2:  #1e6e6a;   /* teal */
  --on-accent: #fff5e6;

  --hero-from: #f4c98e;   /* sun-gold / peach */
  --hero-to:   #f4ddae;
  --glow-1: rgba(227,162,53,.45);
  --glow-2: rgba(30,110,106,.22);

  --vinyl-a: #1a1411; --vinyl-b: #2a201b; --vinyl-c: #3a2c24;
  color-scheme: light;
}

/* ---------- HIGH-CONTRAST ACCESSIBILITY ---------- */
:root[data-contrast="high"] {
  --line: currentColor;
  --line-strong: currentColor;
  --grain-opacity: 0;
}
[data-contrast="high"][data-theme="dark"] {
  --bg: #000; --bg-2: #000; --surface: #0c0c0c;
  --ink: #ffffff; --ink-soft: #f4f4f4; --ink-mute: #e2e2e2;
  --accent: #ffd23f; --accent-2: #ff8a5c; --on-accent: #000;
  --hero-from: #000; --hero-to: #000;
  --glow-1: transparent; --glow-2: transparent;
}
[data-contrast="high"][data-theme="light"] {
  --bg: #ffffff; --bg-2: #ffffff; --surface: #f2f2f2;
  --ink: #000000; --ink-soft: #141414; --ink-mute: #262626;
  --accent: #8a3b00; --accent-2: #003a8c; --on-accent: #ffffff;
  --hero-from: #fff; --hero-to: #fff;
  --glow-1: transparent; --glow-2: transparent;
}
[data-contrast="high"] .ambient { display: none; }
[data-contrast="high"] a:not(.btn):not(.brand):not(.nav-links a):hover { text-decoration: underline; }
[data-contrast="high"] .nav-links a,
[data-contrast="high"] .contact-meta a,
[data-contrast="high"] .modal-notes a { text-decoration: underline; }
[data-contrast="high"] .album-sleeve::after { display: none; }

/* Accessibility / easy-read: legible straight-stroke font, bolder, larger, no italics */
:root[data-contrast="high"] {
  --font-display: "Atkinson Hyperlegible", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible", system-ui, sans-serif;
  --font-mono: "Atkinson Hyperlegible", system-ui, monospace;
  --display-wght: 700;
  font-size: 118.5%;
}
[data-contrast="high"] body { font-weight: 600; line-height: 1.65; letter-spacing: .005em; }
[data-contrast="high"] *, [data-contrast="high"] *::before, [data-contrast="high"] *::after { font-style: normal !important; }
[data-contrast="high"] .era-label,
[data-contrast="high"] .player-name,
[data-contrast="high"] .players-subhead,
[data-contrast="high"] .timeline .tl-head,
[data-contrast="high"] .album-title,
[data-contrast="high"] .modal-heading h2,
[data-contrast="high"] .modal-col h4,
[data-contrast="high"] .pullquote blockquote,
[data-contrast="high"] .coda-body h3,
[data-contrast="high"] .footer-mark,
[data-contrast="high"] .brand-text,
[data-contrast="high"] .nav-links a,
[data-contrast="high"] .btn,
[data-contrast="high"] .eyebrow,
[data-contrast="high"] .section-index,
[data-contrast="high"] .player-years,
[data-contrast="high"] .album-year,
[data-contrast="high"] .player-role,
[data-contrast="high"] .album-kind { font-weight: 700; }
[data-contrast="high"] .btn-ghost,
[data-contrast="high"] .player,
[data-contrast="high"] .latest-spot,
[data-contrast="high"] .field input,
[data-contrast="high"] .field textarea,
[data-contrast="high"] .album-sleeve { border-width: 2px; }

/* ---------- DEFAULTS / GRAIN ---------- */
:root { --grain-opacity: .055; --radius: 4px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, monospace;
  --display-wght: 560; --title-spacing: -0.02em;
}
[data-theme="light"] { --grain-opacity: .04; }

/* ---------- RESET ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg); color: var(--ink);
  line-height: 1.6; font-weight: 380; overflow-x: hidden;
  transition: background .45s ease, color .45s ease;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; background: none; border: none; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.mono { font-family: var(--font-mono); font-feature-settings: "tnum"; letter-spacing: .02em; }

.skip-link {
  position: fixed; top: -60px; left: 1rem; z-index: 999; background: var(--accent); color: var(--on-accent);
  padding: .7rem 1.1rem; border-radius: 0 0 6px 6px; font-size: .85rem; transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ---------- ATMOSPHERE ---------- */
.grain {
  position: fixed; inset: 0; z-index: 9000; pointer-events: none; opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.ambient {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; transition: background .45s ease;
  background:
    radial-gradient(60vw 60vw at 78% -8%, var(--glow-1), transparent 60%),
    radial-gradient(50vw 50vw at -10% 18%, var(--glow-2), transparent 62%);
}

/* ---------- LAYOUT ---------- */
.section { padding: clamp(4.5rem, 10vw, 8.5rem) clamp(1.25rem, 6vw, 7rem); position: relative; }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 62ch; }
.section-index { display: inline-block; font-size: .8rem; color: var(--accent); letter-spacing: .35em; padding-bottom: .9rem; }
.section-title { font-family: var(--font-display); font-weight: var(--display-wght); font-size: clamp(2.4rem, 6.5vw, 4.6rem); line-height: .98; letter-spacing: var(--title-spacing); }
.section-sub { margin-top: 1.1rem; color: var(--ink-soft); max-width: 56ch; font-size: 1.05rem; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 1.4rem;
  padding: 1.05rem clamp(1.25rem, 6vw, 7rem);
  transition: background .35s ease, padding .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom-color: var(--line); padding-top: .65rem; padding-bottom: .65rem;
}
.brand { display: flex; align-items: center; gap: .6rem; margin-right: auto; }
.brand-mark { color: var(--accent); display: grid; place-items: center; }
.brand-mark svg { animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.brand-text { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: .01em; }
.nav-links { display: flex; gap: 1.6rem; }
.nav-links a { font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; color: var(--ink-soft); position: relative; padding: .3rem 0; transition: color .25s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0; background: var(--accent); transition: width .3s ease; }
.nav-links a:hover { color: var(--ink); } .nav-links a:hover::after { width: 100%; }

.controls { display: flex; align-items: center; gap: .6rem; }
.mode-toggle { display: flex; padding: 3px; gap: 2px; border: 1px solid var(--line-strong); border-radius: 100px; }
.mode-toggle button { width: 32px; height: 28px; display: grid; place-items: center; border-radius: 100px; color: var(--ink-mute); transition: color .2s, background .2s; }
.mode-toggle button.is-active { background: var(--accent); color: var(--on-accent); }
.contrast-toggle {
  display: inline-flex; align-items: center; gap: .45rem; padding: .42rem .8rem;
  border: 1px solid var(--line-strong); border-radius: 100px; color: var(--ink-mute);
  font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; transition: color .2s, background .2s, border-color .2s;
}
.contrast-toggle[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.nav-burger { display: none; width: 30px; height: 22px; position: relative; }
.nav-burger span { position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); transition: .3s; }
.nav-burger span:first-child { top: 5px; } .nav-burger span:last-child { bottom: 5px; }

/* ---------- HERO ---------- */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: 7rem clamp(1.25rem, 6vw, 7rem) 0;
  background: radial-gradient(120% 90% at 70% 0%, var(--hero-from), var(--hero-to) 70%);
  position: relative; overflow: hidden; transition: background .45s ease;
}
.hero-grid { flex: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; max-width: 1500px; width: 100%; margin: 0 auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .26em; font-size: .78rem; color: var(--accent); margin-bottom: 1.5rem; }
.hero-title { font-family: var(--font-display); font-weight: var(--display-wght); font-size: clamp(3.6rem, 12vw, 9.5rem); line-height: .86; letter-spacing: var(--title-spacing); margin-bottom: 1.7rem; }
.hero-title .line { display: block; }
.hero-title .accentword { font-style: italic; color: var(--accent); font-weight: 460; margin-left: .04em; }
.hero-lede { max-width: 46ch; font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--ink-soft); margin-bottom: 2.1rem; }
.hero-lede em { color: var(--ink); font-style: italic; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.8rem; }

.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .9rem 1.6rem; border-radius: 100px; font-size: .9rem; letter-spacing: .03em; font-weight: 500; transition: transform .2s, background .25s, color .25s, border-color .25s; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--accent) 88%, #fff); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.hero-stats { display: flex; gap: clamp(1.5rem, 4vw, 3rem); flex-wrap: wrap; }
.hero-stats dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-mute); margin-bottom: .35rem; }
.hero-stats dd { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }

.hero-visual { display: flex; justify-content: center; align-items: center; }
.vinyl { position: relative; width: min(80%, 420px); aspect-ratio: 1; }
.vinyl-disc {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%, var(--vinyl-a) 0 1px, var(--vinyl-b) 1px 3px),
    radial-gradient(circle at 50% 50%, var(--vinyl-c) 0 28%, var(--vinyl-a) 30%);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), inset 0 0 60px rgba(0,0,0,.6);
  display: grid; place-items: center; animation: spin 14s linear infinite; transform: translateX(30%);
}
.vinyl-label { width: 38%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--accent) 0 70%, color-mix(in srgb, var(--accent) 60%, #000) 100%); color: var(--on-accent); display: grid; place-content: center; text-align: center; font-family: var(--font-display); padding: .5rem; line-height: 1.1; }
.vinyl-label b { font-size: .52rem; text-transform: uppercase; letter-spacing: .06em; display: block; }
.vinyl-label i { font-size: .62rem; }
.vinyl-label::after { content: ""; position: absolute; width: 6px; height: 6px; background: var(--bg); border-radius: 50%; }
.sleeve-stack { position: absolute; inset: 0; transform: translate(-16%, -3%); }
.deck-card {
  position: absolute; top: 50%; left: 50%; width: 52%; aspect-ratio: 1; margin: -26% 0 0 -26%;
  border-radius: 3px; overflow: hidden; background: var(--surface);
  box-shadow: 0 26px 46px -18px rgba(0,0,0,.72);
  transition: transform .85s cubic-bezier(.45,.05,.2,1), opacity .85s ease;
  will-change: transform, opacity;
}
.deck-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.deck-card.s-top { transform: translate(-30%,-52%) rotate(-12deg) scale(.85); z-index: 2; opacity: .95; }
.deck-card.s-mid { transform: translate(0,0) rotate(-2deg) scale(1);        z-index: 5; opacity: 1; }
.deck-card.s-bot { transform: translate(30%,52%) rotate(9deg) scale(.85);   z-index: 3; opacity: .92; }
.deck-card.s-out { transform: translate(58%,104%) rotate(16deg) scale(.72); z-index: 1; opacity: 0; }
.deck-card.s-in  { transform: translate(-58%,-104%) rotate(-16deg) scale(.72); z-index: 1; opacity: 0; }

.marquee { margin-top: clamp(2rem,5vw,3.5rem); overflow: hidden; width: 100%; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: .9rem 0; }
.marquee-track { display: inline-flex; gap: 1.6rem; white-space: nowrap; align-items: center; font-family: var(--font-display); font-size: 1.1rem; font-style: italic; color: var(--ink-soft); animation: scroll-x 60s linear infinite; width: max-content; }
.marquee-track .dot { color: var(--accent); font-style: normal; font-size: .6rem; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- STORY ---------- */
.story-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.story-prose p { margin-bottom: 1.3rem; font-size: 1.12rem; color: var(--ink-soft); }
.story-prose .lead { font-size: 1.28rem; color: var(--ink); }
.story-prose strong { color: var(--ink); font-weight: 600; }
.story-prose em { color: var(--accent); font-style: italic; }
.dropcap { float: left; font-family: var(--font-display); font-size: 4.4rem; line-height: .76; font-weight: 600; color: var(--accent); padding: .35rem .55rem .1rem 0; }
.pullquote { border-left: 2px solid var(--accent); padding: .4rem 0 .4rem 1.6rem; position: sticky; top: 7rem; }
.pullquote blockquote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem,2.4vw,1.9rem); line-height: 1.25; }
.pullquote figcaption { margin-top: 1.2rem; font-size: .85rem; color: var(--ink-mute); letter-spacing: .04em; }
.pullquote cite { font-style: italic; color: var(--ink-soft); }

.timeline { list-style: none; padding: 0; margin: clamp(3.5rem,7vw,6rem) 0 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 8.5rem 1fr; gap: clamp(1rem,3vw,2.5rem); padding: 1.7rem 0; border-bottom: 1px solid var(--line); transition: background .3s; }
.timeline li:hover { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.timeline .tl-year { font-family: var(--font-mono); font-size: .95rem; color: var(--accent); padding-top: .15rem; }
.timeline .tl-head { font-family: var(--font-display); font-size: 1.35rem; font-weight: 560; margin-bottom: .35rem; }
.timeline .tl-text { color: var(--ink-soft); max-width: 64ch; font-size: 1rem; }

/* ---------- BAND STRIP ---------- */
.band-strip { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-strip img { width: 100%; height: auto; display: block; aspect-ratio: 2000 / 955; }
.band-strip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,6,4,.9), rgba(8,6,4,.1) 55%, rgba(8,6,4,.35)); }
.band-strip-cap { position: absolute; left: clamp(1.25rem,6vw,7rem); right: clamp(1.25rem,6vw,7rem); bottom: clamp(1.6rem,4vw,3.2rem); z-index: 2; max-width: 46ch; }
.band-strip-cap span { color: var(--accent); font-size: .74rem; text-transform: uppercase; letter-spacing: .2em; }
.band-strip-cap p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem,3vw,2rem); color: #f6ecd9; margin-top: .6rem; line-height: 1.22; }
/* high contrast: keep the photo bright; put the caption in its own solid chip */
[data-contrast="high"] .band-strip::after { display: none; }
[data-contrast="high"] .band-strip-cap { background: rgba(0,0,0,.82); border: 2px solid #fff; padding: .9rem 1.1rem; border-radius: 4px; max-width: 46ch; }
[data-contrast="high"] .band-strip-cap span { color: #ffd23f; }
[data-contrast="high"] .band-strip-cap p { color: #fff; }
@media (max-width: 720px) {
  .band-strip-cap { left: 1rem; right: 1rem; bottom: .9rem; max-width: none; }
  .band-strip-cap span { font-size: .64rem; }
  .band-strip-cap p { font-size: 1.02rem; margin-top: .35rem; }
}

/* ---------- PLAYERS ---------- */
.players-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(192px,1fr)); gap: .9rem; }
.player { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; background: color-mix(in srgb, var(--surface) 45%, transparent); transition: transform .25s, border-color .25s, background .25s; }
.player:hover { transform: translateY(-3px); border-color: var(--accent); background: color-mix(in srgb, var(--surface) 75%, transparent); }
.player-years { font-size: .82rem; color: var(--accent); margin-bottom: .55rem; letter-spacing: .02em; }
.player-name { font-family: var(--font-display); font-size: 1.12rem; font-weight: 560; line-height: 1.12; }
.player-alias { font-size: .76rem; color: var(--ink-mute); font-style: italic; margin-top: .12rem; }
.player-role { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); margin-top: .55rem; }

.players-subhead { font-family: var(--font-display); font-size: clamp(1.15rem,2.3vw,1.5rem); font-weight: 560; margin: 0 0 1.3rem; color: var(--ink); display: flex; align-items: baseline; gap: .9rem; }
.players-subhead::after { content: ""; flex: 1; height: 1px; background: var(--line); }
#pastHead { margin-top: clamp(2.5rem,5vw,3.5rem); }

/* past players: smaller, denser cards */
.players-grid.compact { grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: .6rem; }
.players-grid.compact .player { padding: .72rem .85rem; }
.players-grid.compact .player-years { font-size: .73rem; margin-bottom: .3rem; }
.players-grid.compact .player-name { font-size: .95rem; }
.players-grid.compact .player-role { font-size: .63rem; margin-top: .35rem; }

.players-guests { margin-top: 2rem; font-size: 1rem; color: var(--ink-mute); font-style: italic; max-width: 70ch; }

/* ---------- LATEST SPOTLIGHT ---------- */
.latest-spot { display: grid; grid-template-columns: 260px 1fr; gap: clamp(1.5rem,4vw,3rem); align-items: center; padding: clamp(1.5rem,4vw,2.4rem); border: 1px solid var(--line); border-radius: 8px; margin-bottom: clamp(3rem,6vw,5rem); background: color-mix(in srgb, var(--surface) 45%, transparent); position: relative; overflow: hidden; }
.latest-cover { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; box-shadow: 0 26px 50px -22px rgba(0,0,0,.7); cursor: pointer; transition: transform .35s; }
.latest-cover:hover { transform: translateY(-4px) rotate(-.5deg); }
.latest-cover img, .latest-cover svg { width: 100%; height: 100%; object-fit: cover; }
.latest-tag { font-size: .74rem; text-transform: uppercase; letter-spacing: .2em; color: var(--accent); }
.latest-body h3 { font-family: var(--font-display); font-size: clamp(1.8rem,4vw,2.7rem); font-weight: 560; line-height: 1; margin: .6rem 0 .8rem; }
.latest-body p { color: var(--ink-soft); max-width: 60ch; margin-bottom: 1.3rem; }

/* ---------- DISCOGRAPHY ---------- */
.era { margin-top: clamp(3rem,6vw,5rem); }
.era:first-child { margin-top: 0; }
.era-head { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; border-bottom: 1px solid var(--line-strong); padding-bottom: 1rem; margin-bottom: clamp(1.5rem,3vw,2.4rem); }
.era-label { font-family: var(--font-display); font-size: clamp(1.5rem,3.2vw,2.1rem); font-weight: 560; }
.era-span { font-family: var(--font-mono); color: var(--accent); font-size: .92rem; }
.era-blurb { flex-basis: 100%; color: var(--ink-soft); font-size: .98rem; max-width: 74ch; margin-top: .2rem; }
.era-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: clamp(1.3rem, 2.6vw, 2.1rem); }

.album { text-align: left; display: flex; flex-direction: column; }
.album-sleeve { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; box-shadow: 0 22px 40px -22px rgba(0,0,0,.6); background: var(--surface); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
.album-sleeve img, .album-sleeve .cover-svg, .album-sleeve svg { width: 100%; height: 100%; display: block; object-fit: cover; }
.album-sleeve::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.16) 50%, transparent 60%); transform: translateX(-100%); transition: transform .6s; pointer-events: none; }
.album:hover .album-sleeve { transform: translateY(-7px) rotate(-.6deg); box-shadow: 0 34px 56px -24px rgba(0,0,0,.7); }
.album:hover .album-sleeve::after { transform: translateX(100%); }
.album-sleeve .play-tag { position: absolute; right: .7rem; bottom: .7rem; z-index: 3; background: rgba(0,0,0,.5); color: #fff; backdrop-filter: blur(4px); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .6rem; border-radius: 100px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.album:hover .play-tag { opacity: 1; transform: translateY(0); }
.album-meta { padding: .9rem .15rem .15rem; display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; }
.album-title { font-family: var(--font-display); font-size: 1.08rem; font-weight: 560; line-height: 1.1; }
.album-year { font-family: var(--font-mono); font-size: .85rem; color: var(--accent); flex: none; }
.album-kind { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-mute); padding: .08rem .15rem; }

/* ---------- CONTACT ---------- */
.contact { background: var(--bg-2); transition: background .45s; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem,6vw,6rem); align-items: start; max-width: 1300px; margin: 0 auto; }
.contact-copy .section-title { margin: .6rem 0 1.2rem; }
.contact-copy p { color: var(--ink-soft); max-width: 44ch; margin-bottom: 1.8rem; }
.contact-meta { list-style: none; padding: 0; display: grid; gap: 1.1rem; }
.contact-meta li { display: grid; gap: .25rem; }
.contact-meta .lbl { font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: var(--ink-mute); }
.contact-meta a { color: var(--accent); }
.contact-meta a:hover { text-decoration: underline; }
.contact-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field label { font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-mute); }
.field input, .field textarea { font: inherit; color: var(--ink); background: color-mix(in srgb, var(--surface) 55%, transparent); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: .8rem .9rem; transition: border-color .25s, background .25s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: color-mix(in srgb, var(--surface) 85%, transparent); }
.form-note { font-size: .85rem; color: var(--accent); min-height: 1.2em; }

/* ---------- FOOTER ---------- */
.footer { padding: clamp(2.5rem,5vw,3.5rem) clamp(1.25rem,6vw,7rem); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; color: var(--ink-mute); font-size: .9rem; }
.footer-mark { font-family: var(--font-display); font-size: 1rem; color: var(--ink-soft); }
.footer strong { color: var(--ink-soft); }
.footer a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; transition: color .2s; }
.footer a:hover { color: var(--accent); }
.footer p { text-align: right; line-height: 1.7; }

/* ---------- MODAL ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8,5,4,.7); backdrop-filter: blur(6px); animation: fade .3s ease; }
.modal-card { position: absolute; inset: 0; margin: auto; width: min(960px, 94vw); max-height: 90vh; height: max-content; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; box-shadow: 0 50px 120px -30px rgba(0,0,0,.8); animation: pop .4s cubic-bezier(.2,.9,.25,1); display: flex; flex-direction: column; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.modal-close { position: absolute; top: .8rem; right: 1rem; z-index: 5; width: 38px; height: 38px; border-radius: 50%; font-size: 1.5rem; line-height: 1; background: rgba(0,0,0,.4); color: #fff; display: grid; place-items: center; transition: background .2s, transform .2s; }
.modal-close:hover { background: var(--accent); color: var(--on-accent); transform: rotate(90deg); }
.modal-body { overflow-y: auto; }
.modal-hero { display: grid; grid-template-columns: 230px 1fr; gap: 1.8rem; align-items: end; padding: clamp(1.5rem,4vw,2.5rem); position: relative; border-bottom: 1px solid var(--line); }
.modal-cover { position: relative; z-index: 1; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 44px -20px rgba(0,0,0,.7); aspect-ratio: 1; background: var(--surface); }
.modal-cover img, .modal-cover svg { width: 100%; height: 100%; object-fit: cover; }
.modal-heading { position: relative; z-index: 1; color: #f5ecda; }
.modal-kind { font-size: .74rem; text-transform: uppercase; letter-spacing: .18em; color: #f0c873; }
.modal-heading h2 { font-family: var(--font-display); font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 560; line-height: 1; margin: .5rem 0 .7rem; }
.modal-cat { font-family: var(--font-mono); font-size: .85rem; opacity: .8; }
.modal-tagline { font-family: var(--font-display); font-style: italic; opacity: .92; margin-top: .9rem; font-size: 1.15rem; }
.modal-content { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3rem); padding: clamp(1.5rem,4vw,2.5rem); }
.modal-col h4 { font-size: .76rem; text-transform: uppercase; letter-spacing: .16em; color: var(--accent); margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.modal-col h4:not(:first-child) { margin-top: 1.8rem; }
.tracklist { list-style: none; padding: 0; counter-reset: t; display: grid; }
.tracklist li { display: grid; grid-template-columns: 1.8rem 1fr; gap: .6rem; padding: .5rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.tracklist li::before { counter-increment: t; content: counter(t,decimal-leading-zero); font-family: var(--font-mono); font-size: .78rem; color: var(--ink-mute); }
.tracklist .tk-title { font-size: 1rem; }
.tracklist .tk-by { display: block; font-size: .8rem; color: var(--ink-mute); }
.credits, .lineup { list-style: none; padding: 0; }
.credits li, .lineup li { font-size: .92rem; color: var(--ink-soft); padding: .26rem 0; }
.modal-meta { font-family: var(--font-mono); font-size: .82rem; color: var(--ink-mute); margin-bottom: 1.3rem; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.modal-notes p { font-size: .98rem; color: var(--ink-soft); margin-bottom: 1rem; line-height: 1.65; }
.modal-empty { color: var(--ink-mute); font-style: italic; font-size: .95rem; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .brand-mark svg, .vinyl-disc, .marquee-track { animation: none; }
  .deck-card { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  /* mobile: keep the original single-column layout (lede full width) and float
     the small album covers (no vinyl disc) into the empty space top-right of the
     title — uses the otherwise-blank corner instead of pushing content around. */
  .hero-grid { grid-template-columns: 1fr; position: relative; }
  .hero-visual { position: absolute; top: 3.2rem; right: -.3rem; width: 128px;
    display: flex; justify-content: flex-end; pointer-events: none; z-index: 3; }
  .vinyl-disc { display: none; }
  .sleeve-stack { transform: none; }
  .vinyl { width: 100%; max-width: 134px; height: 134px; aspect-ratio: auto; }
  .story-grid, .contact-inner, .modal-content, .latest-spot { grid-template-columns: 1fr; }
  .pullquote { position: static; }
  .modal-hero { grid-template-columns: 150px 1fr; }
  .latest-cover { max-width: 240px; }
}
@media (max-width: 720px) {
  .nav { gap: .65rem; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); padding: 1.5rem clamp(1.25rem,6vw,7rem); gap: 1.2rem; border-bottom: 1px solid var(--line); }
  .nav-burger { display: block; }
  .ct-label { display: none; }
  .contrast-toggle { padding: .42rem; }
  .brand-text { font-size: .98rem; }
  .eyebrow .mono { white-space: nowrap; }
  .footer { flex-direction: column; } .footer p { text-align: left; }
  .modal-hero { grid-template-columns: 1fr; }
  .modal-cover { max-width: 180px; }
}
@media (max-width: 460px) { .brand-text { display: none; } }
