/* Heavy Relics Records — prototype stylesheet
   Palette taken from the logo: ink black, bone white, relic purple (#9014BC). */
:root {
  --ink: #0b0a0d;
  --bg: #0e0c11;
  --surface: #16131a;
  --surface-2: #1f1b24;
  --line: #2f2a36;
  --line-strong: #4a4352;
  --text: #f2ede6;          /* bone */
  --muted: #b3abbd;
  --faint: #8b8396;
  --purple: #9014bc;        /* logo purple */
  --purple-hi: #a92ad8;
  --purple-deep: #5c0d80;
  --lilac: #cfa0f2;         /* purple for text on dark: AA contrast */
  --bone: #ece6dc;
  --ok: #7fd49a;
  --warn: #f0b85a;
  --low: #ff8a8f;
  --display: "Holtwood One SC", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --r: 6px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: dark;
}
/* Metal-horns cursor, cut from the Heavy Relics logo hand (assets/img/cursor/).
   Mouse users only, and not in the back office (admin body is .page-light).
   Hotspot = the index fingertip. --cur-hand is the purple-edged one for things you can click. */
@media (hover: hover) and (pointer: fine) {
  body:not(.page-light) {
    --cur: image-set(url("../img/cursor/horns.png") 1x, url("../img/cursor/horns@2x.png") 2x) 3 5, auto;
    --cur-hand: image-set(url("../img/cursor/horns-hover.png") 1x, url("../img/cursor/horns-hover@2x.png") 2x) 4 6, pointer;
    cursor: var(--cur);
  }
  a[href], summary, label[for], select, [role="button"],
  input[type="checkbox"], input[type="radio"], input[type="submit"], input[type="button"] { cursor: var(--cur-hand, pointer); }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h, 130px) + 12px); } /* --header-h: main.js */
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--body); overflow-x: hidden; }
body.lock { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--lilac); }
button { font: inherit; color: inherit; cursor: var(--cur-hand, pointer); }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--purple); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- type ---------- */
.display { font-family: var(--display); font-weight: 400; letter-spacing: .01em; text-transform: uppercase; }
.eyebrow { font: 600 12px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--lilac); margin: 0 0 .75rem; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 60ch; }
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(22px, 3vw, 32px); margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); }
.more { font-weight: 600; text-decoration: none; color: var(--lilac); white-space: nowrap; }
.more::after { content: " →"; }

/* ---------- buttons & chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: var(--r); padding: 12px 20px; font-weight: 700; font-size: 15px; text-decoration: none; transition: background .15s, border-color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-hi); color: #fff; }
.btn-light { background: var(--bone); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--lilac); color: var(--lilac); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-block { width: 100%; }
.chip { display: inline-block; font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 8px; border-radius: 3px; background: rgba(11,10,13,.88); color: var(--bone); border: 1px solid var(--line-strong); }
.chip-relic { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.chip-pre { background: var(--ink); color: var(--lilac); border-color: var(--purple); }
.chip-excl { background: var(--purple); color: #fff; border-color: var(--purple); }
.link { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; font-size: 13px; }

/* ---------- top bar & header ---------- */
.topbar { background: var(--purple-deep); color: #f6eefc; font-size: 13px; }
/* the promises scroll right to left in a loop (two copies side by side, moved by half their width); hover pauses */
.topbar-marquee { overflow: hidden; padding: 8px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.topbar-track { display: flex; width: max-content; animation: topbar-scroll 45s linear infinite; }
.topbar:hover .topbar-track, .topbar:focus-within .topbar-track { animation-play-state: paused; }
.topbar-set { display: flex; white-space: nowrap; }
.topbar-set > span { padding: 0 28px; position: relative; }
.topbar-set > span::after { content: "✦"; position: absolute; right: -6px; top: 50%; transform: translateY(-50%); font-size: 10px; color: #cfa0f2; }
@keyframes topbar-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .topbar-track { animation: none; } .topbar-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; } }
.topbar a { color: #fff; }
.topbar .stars { display: inline-flex; gap: 6px; align-items: center; }
.topbar .stars svg { width: 14px; height: 14px; fill: #ffd27a; stroke: none; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(11,10,13,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 32px); padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 56px; height: 56px; transition: transform .6s; }
.brand:hover img { transform: rotate(-12deg); }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word span { font-family: var(--display); font-size: 20px; text-transform: uppercase; color: var(--text); }
.brand-word small { font: 500 11px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--lilac); margin-top: 4px; }
.search { position: relative; flex: 1; display: flex; max-width: 560px; }
.search input { width: 100%; background: var(--surface); border: 1px solid var(--line-strong); border-right: 0; color: var(--text); padding: 11px 14px; border-radius: var(--r) 0 0 var(--r); font-size: 15px; }
.search input::placeholder { color: var(--faint); }
.search input:focus { outline: none; border-color: var(--purple); }
.search > button { background: var(--purple); border: 0; color: #fff; padding: 0 14px; border-radius: 0 var(--r) var(--r) 0; }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r); box-shadow: 0 20px 40px rgba(0,0,0,.5); z-index: 50; overflow: hidden; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 12px; text-decoration: none; border-bottom: 1px solid var(--line); }
.suggest a:hover { background: var(--surface-2); color: var(--text); }
.suggest img { width: 40px; height: 40px; border-radius: 2px; }
.suggest span { flex: 1; font-size: 14px; }
.suggest small { display: block; color: var(--faint); font-size: 12px; }
.suggest em { font-style: normal; font-weight: 700; }
.suggest .all { color: var(--lilac); font-weight: 600; font-size: 14px; border: 0; }
.suggest .none { padding: 12px; margin: 0; font-size: 14px; color: var(--muted); }
.actions { display: flex; gap: 4px; margin-left: auto; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: none; border: 0; color: var(--text); text-decoration: none; }
.icon-btn:hover { background: var(--surface-2); color: var(--lilac); }
.count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; border-radius: 9px; background: var(--purple); color: #fff; font: 700 11px/18px var(--body); text-align: center; padding: 0 4px; }
.menu-btn, .nav-close { display: none; }

.main-nav { border-top: 1px solid var(--line); }
.nav-list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav-list > li > a { display: block; padding: 12px 14px; font-weight: 600; font-size: 15px; text-decoration: none; letter-spacing: .01em; border-bottom: 2px solid transparent; }
.nav-list > li > a:hover, .nav-list > li > a[aria-current] { border-color: var(--purple); color: var(--text); }
.nav-relics { color: var(--lilac) !important; }
.nav-relics::before { content: "◉ "; font-size: 11px; vertical-align: 1px; }
.nav-sell { margin-left: auto; }
.nav-list > li:last-child { margin-left: auto; }
.has-mega { position: relative; }
.mega { position: absolute; left: -12px; top: 100%; display: none; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; width: min(720px, 90vw); padding: 24px 28px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 0 0 var(--r) var(--r); box-shadow: 0 30px 60px rgba(0,0,0,.6); }
.has-mega:hover .mega, .has-mega:focus-within .mega { display: grid; }
.mega h3 { font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--lilac); margin-bottom: 12px; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: block; padding: 5px 0; text-decoration: none; color: var(--muted); font-size: 15px; }
.mega li a:hover { color: var(--text); }
.mega-genres { columns: 2; column-gap: 24px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse 60% 70% at 72% 45%, #3b3742 0%, #18151c 45%, var(--ink) 75%); border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.hero h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(24px, 5vw, 60px); line-height: 1.02; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--lilac); }
.hero .lede { color: #d9d2e0; font-size: clamp(17px, 1.8vw, 20px); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 0; }
.hero-art { position: relative; justify-self: center; width: min(440px, 100%); aspect-ratio: 1; }
.hero-art .spin { position: absolute; inset: 8% -4% 8% 20%; border-radius: 50%; background: repeating-radial-gradient(circle, #121014 0 2px, #1b181f 2px 4px); box-shadow: 0 30px 80px rgba(0,0,0,.7); animation: spin 18s linear infinite; }
.hero-art .spin::after { content: ""; position: absolute; inset: 34%; border-radius: 50%; background: conic-gradient(from 0deg, var(--purple), var(--purple-deep), var(--purple)); }
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-art .spin { animation: none; } html { scroll-behavior: auto; } }

/* trust strip */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { display: flex; gap: 12px; align-items: center; padding: 18px 16px; border-left: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.trust li:first-child { border-left: 0; }
.trust li strong { display: block; color: var(--text); font-size: 15px; }
.trust svg { width: 28px; height: 28px; color: var(--lilac); flex-shrink: 0; }
.trust .rating svg { fill: #ffd27a; stroke: none; }

/* ---------- product tiles ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: clamp(16px, 2vw, 28px); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile { display: flex; flex-direction: column; min-width: 0; }
.tile-media { position: relative; aspect-ratio: 1; background: var(--surface-2); border-radius: 3px; overflow: hidden; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.tile:hover .tile-media img { transform: scale(1.04); }
.tile-flags { position: absolute; bottom: 10px; left: 10px; align-items: end; display: flex; gap: 6px; flex-wrap: wrap; max-width: calc(100% - 56px); }
.stock-flag { font: 600 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 8px; border-radius: 3px; background: rgba(11,10,13,.88); color: var(--low); border: 1px solid rgba(255,138,143,.4); }
.wish { position: absolute; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(11,10,13,.85); color: var(--text); }
.wish { top: 8px; right: 8px; width: 36px; height: 36px; }
.wish svg { width: 18px; height: 18px; }
.wish:hover { color: var(--lilac); }
.wish.on { color: #fff; background: var(--purple); }
.wish.on svg { fill: currentColor; }
.tile-body { display: flex; flex-direction: column; flex: 1; padding-top: 12px; }
.tile-title { margin: 0 0 4px; font-size: 16px; }
.tile-title a { text-decoration: none; }
.t-artist { display: block; font-weight: 800; }
.t-album { display: block; font-weight: 400; color: var(--muted); }
.tile-meta { font: 500 12px/1.4 var(--mono); color: var(--faint); margin: 0 0 8px; letter-spacing: .02em; }
.grades { display: flex; gap: 6px; margin: 0 0 8px; }
.grades span { font: 500 11px/1 var(--mono); padding: 5px 7px; border: 1px solid var(--line-strong); border-radius: 3px; color: var(--muted); }
.grades b { color: var(--text); }
.tile-staff { font-size: 13.5px; line-height: 1.45; color: #d6cfde; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; border-left: 2px solid var(--purple); padding-left: 10px; }
.tile-staff span { color: var(--lilac); font-weight: 600; }
.tile-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.price { font-weight: 800; font-size: 17px; }
.empty { color: var(--muted); }

/* rails scroll horizontally on small screens */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-color: var(--line-strong) transparent; }
.rail > * { scroll-snap-align: start; }

/* ---------- drop panel ---------- */
.drop { display: grid; grid-template-columns: 340px 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.drop-card { position: sticky; top: 150px; background: linear-gradient(160deg, var(--purple-deep), #24102f 70%); border: 1px solid var(--purple); border-radius: 10px; padding: 28px; }
.drop-card h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 30px; line-height: 1.05; }
.drop-card p { color: #e5d8ee; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 20px 0 24px; }
.countdown span { background: rgba(11,10,13,.6); border-radius: var(--r); text-align: center; padding: 10px 0; font: 500 11px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: #d9c6e6; }
.countdown b { display: block; font: 400 26px/1.1 var(--display); color: #fff; margin-bottom: 2px; }

/* ---------- staff picks ---------- */
.staff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.staff-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.staff-who { display: flex; gap: 12px; align-items: center; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 400 18px var(--display); background: var(--bone); color: var(--ink); border: 3px solid var(--purple); flex-shrink: 0; }
.staff-who strong { display: block; }
.staff-who small { color: var(--faint); font-size: 13px; }
.staff-rec { display: flex; gap: 12px; text-decoration: none; }
.staff-rec img { width: 84px; height: 84px; border-radius: 3px; flex-shrink: 0; }
.staff-rec strong { display: block; }
.staff-rec span { color: var(--muted); font-size: 14px; }
.staff-card blockquote { margin: 0; font-size: 15px; line-height: 1.55; color: #ddd5e5; }

/* ---------- genres ---------- */
.genre-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.genre-grid a { position: relative; display: flex; align-items: end; aspect-ratio: 1; padding: 14px; border-radius: 50%; text-decoration: none; overflow: hidden; background: repeating-radial-gradient(circle at 50% 50%, #141117 0 2px, #1d1a21 2px 4px); border: 1px solid var(--line); justify-content: center; text-align: center; align-items: center; transition: border-color .2s, transform .2s; }
.genre-grid a::before { content: ""; position: absolute; inset: 36%; border-radius: 50%; background: var(--purple); opacity: .9; transition: inset .25s; }
.genre-grid a:hover { border-color: var(--purple); transform: rotate(-4deg); color: var(--text); }
.genre-grid a:hover::before { inset: 30%; }
.genre-grid span { position: relative; font: 400 clamp(11px, 1.15vw, 14px)/1.1 var(--display); text-transform: uppercase; color: #fff; max-width: 70%; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.genre-grid .beyond { border-style: dashed; border-color: var(--lilac); }

/* curated entry points */
.curated { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.curated a { display: block; padding: 22px; border-radius: 10px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.curated a:hover { border-color: var(--purple); color: var(--text); }
.curated strong { display: block; font: 400 18px/1.15 var(--display); text-transform: uppercase; margin-bottom: 6px; }
.curated span { color: var(--muted); font-size: 14px; }

/* ---------- split bands (sell / packing) ---------- */
.band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.band h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(24px, 3.4vw, 40px); }
.band ol, .band ul.ticks { padding: 0; margin: 0 0 24px; list-style: none; counter-reset: step; }
.band ol li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.band ol li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--purple); color: #fff; font: 400 14px var(--display); }
.band ol strong { display: block; }
.band ol span { color: var(--muted); font-size: 15px; }
.ticks li { padding: 8px 0 8px 30px; position: relative; color: var(--muted); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--lilac); font-weight: 800; }
.ticks strong { color: var(--text); }
.sell-panel { background: var(--bone); color: var(--ink); border-radius: 10px; padding: clamp(24px, 4vw, 40px); }
.sell-panel h3 { font: 400 22px/1.15 var(--display); text-transform: uppercase; }
.sell-panel p { color: #3a3540; }
.sell-panel .stat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; }
.sell-panel .stat div { border-top: 3px solid var(--purple); padding-top: 8px; font-size: 14px; color: #3a3540; }
.sell-panel .stat b { display: block; font: 400 22px var(--display); color: var(--ink); }
.pack-visual { position: relative; aspect-ratio: 4/3; border-radius: 10px; background: linear-gradient(135deg, #2b2530, #18151c); border: 1px dashed var(--line-strong); display: grid; place-items: center; text-align: center; color: var(--faint); padding: 24px; }
.pack-visual .layers { display: grid; gap: 6px; width: min(320px, 90%); margin-bottom: 16px; }
.pack-visual .layers span { display: block; padding: 10px; border-radius: 4px; font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.pack-visual .layers span:nth-child(1) { background: #8a6d4b; color: #fff; }
.pack-visual .layers span:nth-child(2) { background: #c9b79a; color: #2b2017; }
.pack-visual .layers span:nth-child(3) { background: var(--purple); color: #fff; }
.pack-visual .layers span:nth-child(4) { background: #c9b79a; color: #2b2017; }
.pack-visual .layers span:nth-child(5) { background: #8a6d4b; color: #fff; }

/* ---------- guides ---------- */
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; }
.guide:hover { border-color: var(--purple); color: var(--text); }
.guide-art { aspect-ratio: 16/9; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, var(--purple-deep), var(--ink) 70%); font: 400 clamp(22px, 2.6vw, 34px)/1 var(--display); color: var(--bone); text-transform: uppercase; padding: 16px; text-align: center; }
.guide-art.alt { background: radial-gradient(circle at 70% 30%, #3b3742, var(--ink) 70%); }
.guide-body { padding: 18px 20px 22px; }
.guide-body small { font: 600 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--lilac); }
.guide-body h3 { font-size: 19px; margin: 8px 0; }
.guide-body p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- newsletter ---------- */
.newsletter { background: radial-gradient(ellipse 70% 120% at 15% 50%, var(--purple-deep), var(--ink) 70%); border-top: 1px solid var(--purple); border-bottom: 1px solid var(--purple); }
.newsletter .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.newsletter h2 { font: 400 clamp(22px, 3vw, 34px)/1.1 var(--display); text-transform: uppercase; }
.newsletter p { color: #ddd0e6; margin: 0; }
.nl-form { display: flex; gap: 8px; }
.nl-form input { flex: 1; min-width: 0; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--ink); color: var(--text); font-size: 16px; }
.nl-form + small { display: block; margin-top: 10px; color: #c8b9d3; font-size: 13px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); border-top: 1px solid var(--line); padding-top: 56px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-brand img { width: 96px; height: 96px; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); max-width: 36ch; }
.site-footer h3 { font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--lilac); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-block; padding: 4px 0; color: var(--muted); text-decoration: none; }
.site-footer li a:hover { color: var(--text); }
.footer-base { border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 32px; font-size: 13px; color: var(--faint); }
.pay { display: flex; flex-wrap: wrap; gap: 6px; }
.pay span { border: 1px solid var(--line-strong); border-radius: 4px; padding: 4px 8px; font: 600 11px var(--mono); color: var(--muted); }
.ack { max-width: 70ch; }
.proto-note { color: var(--warn); }

/* ---------- drawer & toast ---------- */
.drawer-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 80; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: var(--surface); border-left: 1px solid var(--line-strong); z-index: 90; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease; visibility: hidden; }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font: 400 20px var(--display); text-transform: uppercase; margin: 0; }
.ship-meter { padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 14px; }
.ship-meter p { margin: 0 0 10px; }
.meter { height: 8px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--purple), var(--lilac)); transition: width .4s; }
.drawer-items { list-style: none; margin: 0; padding: 0 20px; overflow-y: auto; flex: 1; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.cart-line a { text-decoration: none; }
.cart-line small { display: block; color: var(--faint); margin: 2px 0 8px; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button:not(.link) { width: 28px; height: 28px; border-radius: 4px; border: 1px solid var(--line-strong); background: none; }
.qty .link { margin-left: 8px; }
.cart-empty { text-align: center; padding: 48px 0; color: var(--muted); }
.cart-empty svg { width: 48px; height: 48px; color: var(--purple); margin: 0 auto 12px; }
.drawer-foot { padding: 16px 20px 24px; border-top: 1px solid var(--line); }
.drawer-foot .row { display: flex; justify-content: space-between; font-size: 17px; margin-bottom: 4px; }
.afterpay-line { font-size: 13px; color: var(--muted); min-height: 1em; }
.fine { font-size: 12px; color: var(--faint); text-align: center; margin: 10px 0 0; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--bone); color: var(--ink); padding: 12px 18px; border-radius: var(--r); font-weight: 600; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.5); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- breadcrumbs ---------- */
.crumbs { font-size: 13px; color: var(--faint); padding: 18px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: 24px 0 56px; align-items: start; }
.gallery { position: sticky; top: 140px; }
.gallery-main { position: relative; aspect-ratio: 1; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .chip { position: absolute; top: 12px; left: 12px; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 3px; overflow: hidden; background: var(--surface-2); aspect-ratio: 1; }
.thumbs button[aria-current="true"] { border-color: var(--purple); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-cap { font-size: 13px; color: var(--faint); margin-top: 10px; }
.pdp-info h1 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; margin-bottom: 6px; }
.pdp-info h1 .by { display: block; font: 400 clamp(16px, 1.8vw, 20px)/1.2 var(--display); text-transform: uppercase; color: var(--lilac); margin-bottom: 8px; }
.pdp-info h1 .fmt { color: var(--muted); font-weight: 400; }
.pdp-sub { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 10px 0 20px; font-size: 14px; color: var(--muted); }
.pdp-sub a { color: var(--muted); }
.pdp-sub .stars-inline { display: inline-flex; align-items: center; gap: 2px; color: #ffd27a; }
.stars-inline svg { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.pdp-price { font-size: 32px; font-weight: 800; margin: 0; }
.afterpay { font-size: 14px; color: var(--muted); margin: 2px 0 20px; }
.afterpay b { color: var(--text); }
.variants { border: 0; padding: 0; margin: 0 0 20px; }
.variants legend { font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--lilac); margin-bottom: 10px; }
.variant { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--r); margin-bottom: 8px; cursor: var(--cur-hand, pointer); background: var(--surface); }
.variant:has(input:checked) { border-color: var(--purple); background: #1e1328; box-shadow: inset 0 0 0 1px var(--purple); }
.variant input { accent-color: var(--purple); width: 18px; height: 18px; }
.variant small { display: block; color: var(--faint); font-size: 13px; }
.variant .v-stock { font-size: 12px; font-family: var(--mono); }
.variant.sold { opacity: .7; }
.in { color: var(--ok); } .lowc { color: var(--low); } .out { color: var(--faint); }
.buy-row { display: flex; gap: 10px; margin-bottom: 16px; }
.buy-row .btn-primary { flex: 1; padding: 16px; font-size: 16px; }
.buy-row .wish-lg { width: 54px; border-radius: var(--r); border: 1px solid var(--line-strong); background: none; display: grid; place-items: center; }
.buy-row .wish-lg.on { background: var(--purple); border-color: var(--purple); }
.buy-row .wish-lg.on svg { fill: currentColor; }
.facts { list-style: none; margin: 0 0 20px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); display: grid; gap: 10px; font-size: 14px; }
.facts li { display: flex; gap: 10px; align-items: start; color: var(--muted); }
.facts svg { width: 20px; height: 20px; color: var(--lilac); flex-shrink: 0; margin-top: 1px; }
.facts strong { color: var(--text); }
.ship-calc { display: flex; gap: 6px; margin-top: 6px; }
.ship-calc input { width: 110px; padding: 6px 10px; border-radius: 4px; border: 1px solid var(--line-strong); background: var(--ink); color: var(--text); font-size: 14px; }
.ship-calc button { padding: 6px 10px; font-size: 13px; }
.staff-note { position: relative; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--purple); border-radius: var(--r); padding: 18px 20px; margin: 0 0 24px; }
.staff-note .staff-who { margin-bottom: 10px; }
.staff-note p { margin: 0; font-size: 16px; line-height: 1.6; }
.spec { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 24px; }
.spec th, .spec td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { color: var(--faint); font-weight: 500; width: 40%; }
.spec td { font-family: var(--mono); font-size: 13.5px; }
.spec a { color: var(--lilac); }
.tracklist { list-style: none; margin: 0 0 24px; padding: 0; counter-reset: none; }
.tracklist li { display: grid; grid-template-columns: 36px 1fr auto; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.tracklist .pos { font: 500 13px var(--mono); color: var(--lilac); }
.tracklist .dur { font: 500 13px var(--mono); color: var(--faint); }
.pdp details { border-top: 1px solid var(--line); }
.pdp details:last-of-type { border-bottom: 1px solid var(--line); }
.pdp summary { cursor: var(--cur-hand, pointer); padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
.pdp summary::after { content: "+"; color: var(--lilac); font-size: 20px; line-height: 1; }
.pdp details[open] summary::after { content: "−"; }
.pdp details > div { padding-bottom: 8px; }
.h-sub { font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--lilac); margin: 0 0 10px; }

/* grade panel (relics) */
.grade-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 12px; }
.grade-box { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r); padding: 14px 16px; }
.grade-box small { font: 600 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.grade-box b { display: block; font: 400 34px/1.1 var(--display); color: var(--text); margin: 4px 0; }
.grade-box span { font-size: 13px; color: var(--muted); }
.grade-scale { display: flex; gap: 3px; margin-top: 8px; }
.grade-scale i { flex: 1; height: 5px; border-radius: 2px; background: var(--line); }
.grade-scale i.on { background: var(--lilac); }
.defect { background: #1b1612; border: 1px solid #4b3b28; border-radius: var(--r); padding: 14px 16px; font-size: 15px; margin-bottom: 12px; color: #e9dfcf; }
.defect strong { color: var(--warn); display: block; font: 600 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.grade-link { font-size: 14px; color: var(--lilac); display: inline-block; margin-bottom: 20px; }
.one-copy { display: inline-flex; gap: 8px; align-items: center; font: 600 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--low); margin-bottom: 4px; }
.one-copy::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--low); box-shadow: 0 0 0 4px rgba(255,138,143,.15); }
.copies { width: 100%; border-collapse: collapse; font-size: 14px; }
.copies th, .copies td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.copies th { color: var(--faint); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.copies tr.this td { background: #1e1328; }
.copies td:last-child { text-align: right; }

/* reviews */
.reviews { display: grid; grid-template-columns: 260px 1fr; gap: 40px; }
.review-sum b { display: block; font: 400 56px/1 var(--display); }
.review-sum .stars-inline { color: #ffd27a; margin: 8px 0; }
.review-sum .stars-inline svg { width: 20px; height: 20px; }
.review-list { display: grid; gap: 16px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.review header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 14px; color: var(--muted); }
.review p { margin: 0; }
.verified { font: 600 11px var(--mono); color: var(--ok); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- collection page ---------- */
.coll-head { padding: 28px 0 8px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.coll-head h1 { font: 400 clamp(26px, 4vw, 44px)/1.05 var(--display); text-transform: uppercase; margin: 0 0 12px; }
.coll-intro { color: var(--muted); max-width: 75ch; margin: 0; }
.coll-intro.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.read-more { background: none; border: 0; color: var(--lilac); padding: 6px 0; font-weight: 600; }
.coll-tabs { display: flex; gap: 8px; flex-wrap: wrap; padding: 20px 0; border-bottom: 1px solid var(--line); }
.coll-tabs a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); text-decoration: none; font-size: 14px; font-weight: 600; }
.coll-tabs a[aria-current="true"] { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.coll { display: grid; grid-template-columns: 250px 1fr; gap: 36px; padding: 28px 0 64px; }
.filters { position: sticky; top: 140px; align-self: start; max-height: calc(100vh - 160px); overflow-y: auto; padding-right: 8px; scrollbar-width: thin; }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.filters-head h2 { font: 400 18px var(--display); text-transform: uppercase; margin: 0; }
.filters details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.filters summary { cursor: var(--cur-hand, pointer); padding: 10px 0; font-weight: 700; font-size: 15px; list-style: none; display: flex; justify-content: space-between; }
.filters summary::after { content: "+"; color: var(--lilac); }
.filters details[open] summary::after { content: "−"; }
.filters label { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; color: var(--muted); cursor: var(--cur-hand, pointer); }
.filters label:hover { color: var(--text); }
.filters input[type=checkbox] { accent-color: var(--purple); width: 16px; height: 16px; }
.filters label em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.price-range { display: flex; gap: 8px; align-items: center; padding: 6px 0 12px; }
.price-range input { width: 100%; padding: 8px; border-radius: 4px; border: 1px solid var(--line-strong); background: var(--ink); color: var(--text); }
.toggle { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 15px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.toolbar p { margin: 0; color: var(--muted); font-size: 14px; }
.toolbar select { background: var(--surface); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--r); padding: 9px 12px; font-size: 14px; }
.active-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.active-filters button { background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 12px; font-size: 13px; }
.active-filters button::after { content: " ×"; color: var(--lilac); }
.filter-open { display: none; }
.wantlist-cta { margin-top: 40px; padding: 24px; border: 1px dashed var(--line-strong); border-radius: 10px; display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.wantlist-cta p { margin: 0; color: var(--muted); }
.wantlist-cta strong { color: var(--text); display: block; font-size: 17px; }

/* ---------- grading page ---------- */
.prose { max-width: 72ch; }
.prose h2 { font: 400 clamp(20px, 2.6vw, 28px) var(--display); text-transform: uppercase; margin-top: 2em; }
.prose p, .prose li { color: #d9d2e0; }
.grade-table { width: 100%; border-collapse: collapse; margin: 16px 0 32px; }
.grade-table th, .grade-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.grade-table th { font: 600 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.grade-table td:first-child { font: 400 22px var(--display); white-space: nowrap; color: var(--lilac); }
.grade-table td:last-child { font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .genre-grid { grid-template-columns: repeat(4, 1fr); }
  .curated { grid-template-columns: repeat(2, 1fr); }
  .drop { grid-template-columns: minmax(0, 1fr); }
  .drop-card { position: static; }
  .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust ul { grid-template-columns: repeat(2, 1fr); }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .brand-word { display: none; }
}
@media (max-width: 860px) {
  .menu-btn, .nav-close { display: inline-grid; }
  /* a blur on the header would trap the fixed menu inside the header's box (iPhone Safari), so the menu opened as a sliver */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgb(11,10,13); }
  .header-in { flex-wrap: wrap; }
  .brand img { width: 48px; height: 48px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .main-nav { position: fixed; inset: 0 25% 0 0; min-width: 280px; background: var(--surface); z-index: 95; transform: translateX(-105%); transition: transform .3s; overflow-y: auto; border: 0; border-right: 1px solid var(--line-strong); box-shadow: 30px 0 60px rgba(0,0,0,.6); }
  .main-nav.open { transform: none; }
  .main-nav .wrap { padding: 12px 20px 32px; }
  .nav-close { margin-left: auto; display: grid; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list > li > a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-list > li:last-child { margin-left: 0; }
  .mega { position: static; display: grid; grid-template-columns: 1fr; gap: 16px; width: auto; padding: 12px 0 16px 12px; background: none; border: 0; box-shadow: none; }
  .hero-in { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .hero h1 { font-size: clamp(22px, 6.6vw, 40px); }
  .hero-art { width: min(260px, 70%); order: -1; }
  .band, .newsletter .wrap { grid-template-columns: minmax(0, 1fr); }
  .guides { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .reviews { grid-template-columns: 1fr; gap: 20px; }
  .coll { grid-template-columns: 1fr; }
  .coll-head { grid-template-columns: 1fr; }
  /* hidden while closed: when iPhone Safari's toolbar shrinks on scroll, the screen grows and the top of a parked panel peeked up */
  .filters { position: fixed; inset: 0; z-index: 95; background: var(--surface); padding: 20px; max-height: none; transform: translateY(100%); visibility: hidden; transition: transform .3s, visibility 0s .3s; }
  .filters.open { transform: none; visibility: visible; transition: transform .3s; }
  .filter-open { display: inline-flex; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .countdown b { font-size: 20px; }
  .hero-art .spin { inset: 8% -6% 8% 18%; }
  .tile-staff { -webkit-line-clamp: 2; font-size: 13px; }
  .tile-foot { flex-wrap: wrap; }
  .tile-foot .btn { width: 100%; }
  .staff-grid { grid-template-columns: 1fr; }
  .genre-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .genre-grid span { font-size: 10px; }
  .curated { grid-template-columns: 1fr; }
  .trust ul { grid-template-columns: 1fr; }
  .trust li { border-left: 0 !important; border-top: 1px solid var(--line); padding: 12px 0; }
  .trust li:first-child { border-top: 0; }
  .nl-form { flex-direction: column; }
  .sell-panel .stat { grid-template-columns: 1fr; }
  .rail { grid-auto-columns: 68%; }
  .footer-grid { grid-template-columns: 1fr; }
  .grade-table td:last-child { white-space: normal; }
  .thumbs { grid-template-columns: repeat(5, 1fr); gap: 6px; }
}
.filter-apply { display: none; }
@media (max-width: 860px) { .filter-apply { display: flex; position: sticky; bottom: 0; } }

/* grid children must be allowed to shrink below their content width */
.hero-in > *, .drop > *, .band > *, .pdp > *, .coll > *, .newsletter .wrap > *, .reviews > * { min-width: 0; }
.tile-meta { overflow-wrap: anywhere; }

[hidden] { display: none !important; }

/* ---------- real buyer reviews ---------- */
.review-wall { columns: 3 300px; column-gap: 20px; }
.review-list { display: grid; gap: 16px; }
.ebay-review { break-inside: avoid; margin: 0 0 20px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--purple); border-radius: var(--r); padding: 20px; }
.review-list .ebay-review { margin: 0; }
.ebay-review blockquote { margin: 0 0 14px; }
.ebay-review blockquote p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--text); }
.ebay-review .translation { display: block; margin-top: 6px; font-size: 15px; color: var(--muted); }
.ebay-review .translation em { font-style: normal; font-size: 12px; color: var(--faint); }
.ebay-review figcaption { display: grid; gap: 6px; font-size: 13px; color: var(--faint); border-top: 1px solid var(--line); padding-top: 12px; }
.rv-item { color: var(--muted); font-weight: 600; }
.trust li a { color: var(--lilac); }
.ebay-stats { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ebay-stats li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; color: var(--muted); font-size: 14px; }
.ebay-stats b { display: block; font: 400 30px/1.1 var(--display); color: var(--lilac); margin-bottom: 4px; }
@media (max-width: 860px) { .ebay-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- stock states + checkout (backend) ---------- */
.chip-out { background: rgba(11,10,13,.92); color: var(--low); border-color: rgba(255,138,143,.55); }
.tile.is-out .tile-media img { filter: grayscale(.85) brightness(.6); }
.checkout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; padding: 8px 0 72px; }
.checkout form { display: grid; gap: 16px; align-content: start; }
.checkout label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.checkout input, .checkout select { width: 100%; min-height: 46px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r); color: var(--text); font: inherit; }
.checkout input:focus, .checkout select:focus { border-color: var(--lilac); outline: none; }
.checkout .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkout .three { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
.order-sum { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 10px; align-self: start; }
.order-sum .row { display: flex; justify-content: space-between; gap: 12px; margin: 0; font-size: 15px; }
.order-sum .total { font-size: 18px; font-weight: 800; border-top: 1px solid var(--line); padding-top: 10px; }
.note-box { padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface); color: var(--muted); font-size: 14px; margin: 0; }
.note-box.err { border-color: var(--low); color: #ffd0d2; }
@media (max-width: 860px) { .checkout { grid-template-columns: 1fr; } .checkout .two, .checkout .three { grid-template-columns: 1fr; } }

/* checkout: address suggestions */
.addr-wrap { position: relative; display: grid; gap: 6px; }
.addr-wrap > label { font-size: 14px; color: var(--muted); }
.addr-suggest { position: absolute; z-index: 30; top: 100%; left: 0; right: 0; margin: 4px 0 0; padding: 4px; list-style: none; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--r); box-shadow: 0 16px 40px rgba(0,0,0,.55); }
.addr-suggest li[role=option] { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding: 10px 12px; border-radius: 4px; cursor: var(--cur-hand, pointer); }
.addr-suggest li[role=option] strong { color: var(--text); font-weight: 600; }
.addr-suggest li[role=option] span { grid-column: 1; color: var(--muted); font-size: 13.5px; }
.addr-suggest li[role=option] em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 600 11px/1 var(--mono); color: var(--warn); font-style: normal; text-transform: uppercase; letter-spacing: .04em; }
.addr-suggest li[role=option]:hover, .addr-suggest li[aria-selected=true] { background: var(--purple-deep); }
.addr-suggest .addr-foot { padding: 8px 12px 6px; font-size: 12.5px; color: var(--faint); border-top: 1px solid var(--line); margin-top: 4px; }
.checkout .filled { border-color: var(--ok) !important; box-shadow: 0 0 0 3px rgba(127, 212, 154, .18); transition: box-shadow .4s; }

/* filter options with nothing in them yet (e.g. a decade with no records) */
.filters label.empty-opt { opacity: .5; }

/* Instagram: footer link + home carousel */
.social-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--text); text-decoration: none; font-weight: 600; }
.social-link svg { width: 22px; height: 22px; }
.social-link:hover { color: var(--lilac); }
.ig-carousel { position: relative; }
.ig-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px; }
.ig-track::-webkit-scrollbar { display: none; }
.ig-post { position: relative; display: block; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--surface-2); scroll-snap-align: start; }
.ig-post img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.ig-post:hover img, .ig-post:focus-visible img { transform: scale(1.05); }
.ig-cap { position: absolute; inset: auto 0 0 0; padding: 28px 12px 12px; font-size: 13px; line-height: 1.4; color: #fff; background: linear-gradient(transparent, rgba(11,10,13,.92)); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; opacity: 0; transition: opacity .2s; }
.ig-post:hover .ig-cap, .ig-post:focus-visible .ig-cap { opacity: 1; }
.ig-video { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(11,10,13,.75); color: #fff; font-size: 11px; }
.ig-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(11,10,13,.88); color: var(--text); font-size: 26px; line-height: 1; display: grid; place-items: center; }
.ig-nav:hover { border-color: var(--lilac); color: var(--lilac); }
.ig-nav.prev { left: -14px; } .ig-nav.next { right: -14px; }
.ig-banner { display: flex; align-items: center; gap: 18px; padding: 20px 24px; border-radius: 10px; text-decoration: none; color: #fff;
  background: linear-gradient(120deg, #6a1093, #3a1450 60%, #1d1424); border: 1px solid var(--purple); }
.ig-banner:hover { color: #fff; }
.ig-banner[hidden] { display: none; }
.ig-banner strong { display: block; font-size: 18px; }
.ig-banner small { color: #e9dff2; font-size: 14px; }
.ig-banner .btn { margin-left: auto; }
.ig-badge { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 30% 110%, #fdc468, #df4996 45%, #9014bc 75%); }
.ig-badge svg { width: 28px; height: 28px; }
@media (max-width: 900px) { .ig-track { grid-auto-columns: calc((100% - 16px) / 2.3); } .ig-nav { display: none; } }
@media (max-width: 560px) { .ig-banner { flex-wrap: wrap; } .ig-banner .btn { margin-left: 70px; } }

/* coverflow carousel (assets/js/coverflow.js) */
.cf { width: 100%; }
.cf-stage-wrap { position: relative; }
.cf-frame { overflow: hidden; padding: 40px 0; outline: none; cursor: grab; touch-action: pan-y; border-radius: 12px; }
.cf-frame:active { cursor: grabbing; }
.cf-frame:focus-visible { box-shadow: 0 0 0 2px var(--lilac); }
.cf-stage { position: relative; height: var(--cf-card); transform-style: preserve-3d; user-select: none; }
.cf-card { position: absolute; left: 50%; top: 0; width: var(--cf-card); aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--surface-2);
  box-shadow: 0 22px 40px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06); will-change: transform; -webkit-user-drag: none; }
.cf-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }
.cf-card.is-active { box-shadow: 0 26px 50px rgba(0,0,0,.6), 0 0 0 2px var(--purple); }
.cf-badge { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(11,10,13,.78); color: #fff; font-size: 11px; }
.cf-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 200; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: rgba(11,10,13,.72); backdrop-filter: blur(6px); color: var(--text); font-size: 28px; line-height: 1; display: grid; place-items: center; }
.cf-nav:hover { background: var(--purple); border-color: var(--purple); color: #fff; }
.cf-nav.prev { left: 12px; } .cf-nav.next { right: 12px; }
.cf-caption { min-height: 52px; margin-top: 4px; text-align: center; padding: 0 24px; animation: cf-fade .3s ease; }
.cf-title { margin: 0; font-size: 15px; font-weight: 600; color: var(--text); }
.cf-sub { margin: 4px 0 0; font-size: 13px; color: var(--lilac); }
.cf-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.cf-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--text); opacity: .3; transition: opacity .2s, transform .2s; }
.cf-dots button[aria-current="true"] { opacity: 1; background: var(--lilac); transform: scale(1.25); }
@keyframes cf-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cf-caption { animation: none; } }

/* home header: logo follows the cursor (assets/js/hero.js) */
.hero-glow { position: absolute; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(circle at 30% 45%, rgba(244, 189, 64, .38), rgba(211, 151, 36, .14) 24%, transparent 42%); }
.hero-in { position: relative; z-index: 1; }
.hero-art { perspective: 900px; }
.hero-art .disc-move, .hero-art .logo-move { position: absolute; inset: 0; will-change: transform; transform-style: preserve-3d; }
.hero-art .logo-move img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art.is-floating .logo-move { animation: hero-float 6s ease-in-out infinite; }
.hero-art.is-floating .disc-move { animation: hero-float 6s ease-in-out infinite reverse; }
@keyframes hero-float { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); } 50% { transform: translate3d(0, -12px, 0) rotate(-2deg); } }
@media (prefers-reduced-motion: reduce) { .hero-art.is-floating .logo-move, .hero-art.is-floating .disc-move { animation: none; } }

/* home header as a dark card with a cursor spotlight (after the Spline / Spotlight demo) */
.hero { background: var(--ink); border-bottom: 0; padding: 20px 0 8px; }
.hero-card { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid #26222c; background: rgba(0, 0, 0, .96);
  box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.04); min-height: clamp(460px, 44vw, 560px); display: flex; align-items: center; }
.hero-card .hero-in { width: 100%; padding: clamp(28px, 4vw, 56px); }
.hero-glow { border-radius: inherit; }
.hero-spot { position: absolute; left: 0; top: 0; z-index: 0; width: 420px; height: 420px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at center, rgba(250,250,250,.32), rgba(228,228,231,.13) 42%, transparent 72%); filter: blur(22px);
  opacity: 0; transition: opacity .25s; will-change: transform; }
.hero-spot.on { opacity: 1; }
.hero-grad { background: linear-gradient(180deg, #fafafa, #a3a3a3); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 860px) { .hero-card { min-height: 0; } }

/* soft glow around an image on hover (or keyboard focus) so it's clear what you're pointing at */
:root { --glow: 0 0 0 1px rgba(207, 160, 242, .6), 0 0 26px 5px rgba(169, 42, 216, .6), 0 0 60px 14px rgba(244, 189, 64, .2); }
.tile-media, .staff-card, .thumbs button, .cf-card { transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease; }
.tile:hover .tile-media, .tile:focus-within .tile-media,
.staff-card:hover, .staff-card:focus-within,
.thumbs button:hover, .thumbs button:focus-visible,
.cf-card:hover, .cf-card:focus-visible { box-shadow: var(--glow); }
.tile:hover .tile-media, .tile:focus-within .tile-media { transform: translateY(-3px); }
.cf-card.is-active:hover { box-shadow: 0 0 0 2px var(--purple), 0 0 22px 4px rgba(169, 42, 216, .5), 0 0 48px 8px rgba(244, 189, 64, .16); }
/* Warm orange glow on boxes (Staff picks, Shop-by-genre shortcuts, Learn the craft guides),
   so they read differently from the purple glow on record images */
:root { --glow-warm-border: rgba(253, 218, 92, .8);
  --glow-warm: 0 0 0 1px rgba(253, 218, 92, .6), 0 0 26px 5px rgba(244, 189, 64, .5), 0 0 60px 14px rgba(211, 151, 36, .25); }
.curated a, .guide { transition: box-shadow .3s ease, border-color .3s ease, transform .3s ease; }
.staff-card:hover, .staff-card:focus-within,
.curated a:hover, .curated a:focus-visible,
.guide:hover, .guide:focus-visible { border-color: var(--glow-warm-border); box-shadow: var(--glow-warm); }
@media (prefers-reduced-motion: reduce) { .tile-media, .staff-card, .thumbs button, .cf-card, .curated a, .guide { transition: none; } }

/* packing guarantee: Instagram reel of an order being packed */
.pack-video { display: flex; justify-content: center; align-items: center; min-height: 420px; padding: 18px; border-radius: 12px;
  background: radial-gradient(ellipse at 50% 30%, #2b2530, #141117 75%); border: 1px solid var(--line); }
.pack-video .instagram-media { margin: 0 !important; width: 100% !important; max-width: 400px !important; min-width: 280px !important; border-radius: 12px !important; background: var(--surface) !important; border: 0 !important; box-shadow: 0 20px 50px rgba(0,0,0,.5) !important; }
.pack-video iframe.instagram-media { background: #fff !important; }
.pack-fallback { display: grid; justify-items: center; gap: 10px; padding: 48px 24px; text-align: center; color: var(--text); text-decoration: none; }
.pack-fallback strong { font-size: 18px; }
.pack-fallback small { color: var(--lilac); }

/* packing video (our own clip) */
.pack-video { flex-direction: column; gap: 12px; min-height: 0; }
.pack-clip { display: block; width: 100%; max-width: 320px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px; background: #000;
  box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06); }
.pack-ig { font-size: 13.5px; color: var(--lilac); text-decoration: none; }
.pack-ig:hover { text-decoration: underline; }

/* Friday Relics Drop: orange inside, purple frame; stretches to the height of the Relics beside it */
.drop { align-items: stretch; }
.drop-card { position: relative; top: auto; display: flex; flex-direction: column; justify-content: center; padding: 34px 30px;
  background: linear-gradient(165deg, #fdda5c 0%, #f4bd40 42%, #d39724 76%, #a8741a 100%);
  border: 2px solid var(--purple); border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(169, 42, 216, .35), 0 0 28px rgba(144, 20, 188, .35), 0 24px 50px rgba(0, 0, 0, .45); }
.drop-card .eyebrow { color: #3a2806; }
.drop-card h2 { font-size: clamp(30px, 2.6vw, 36px); color: #1a1205; text-shadow: 0 1px 0 rgba(255, 236, 190, .4); }
.drop-card p { color: #2a1d06; }
.drop-card .countdown span { background: rgba(26, 18, 5, .85); color: #fdda5c; border: 1px solid rgba(253, 218, 92, .3); }
@media (max-width: 860px) { .drop { align-items: start; } .drop-card { padding: 28px 24px; } }

/* orange accent text: the "All …" links beside section titles, and the footer headings */
:root { --orange: #fdda5c; --orange-hi: #ffe58a; /* the shop's warm gold accent */
  /* Heavy Relics Underground: lime from its badge (--ug-text is the one for words; deepened on light pages) */
  --ug: #c4d816; --ug-hi: #dcef4a; --ug-deep: #8a9a0a; --ug-ink: #141a00; --ug-text: #c4d816; }
.more { color: var(--orange); }
.more:hover { color: var(--orange-hi); }
.site-footer h3 { color: var(--orange); }

/* header title slam (assets/js/slam.js) */
.slam-word { display: inline-block; transform-origin: 50% 100%; will-change: transform; }
.slam-ready { cursor: var(--cur-hand, pointer); outline: none; }
.slam-ready:focus-visible { box-shadow: 0 0 0 2px var(--orange); border-radius: 4px; }
.slam-fx { position: absolute; inset: 0; pointer-events: none; z-index: 3; overflow: hidden; border-radius: inherit; }
.slam-dirt { position: absolute; display: block; box-shadow: 0 1px 2px rgba(0,0,0,.5); }
.slam-puff { position: absolute; display: block; border-radius: 50%; filter: blur(12px);
  background: radial-gradient(ellipse at center, rgba(196, 176, 150, .55), rgba(140, 120, 100, .25) 55%, transparent 72%); }
.slam-flash { position: absolute; display: block; height: 60px; border-radius: 50%; filter: blur(16px);
  background: radial-gradient(ellipse at center, rgba(253, 218, 92, .5), transparent 70%); transform-origin: center; }

/* ---------- Underground (account.html) ---------- */
.club-title { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.02; margin: 0 0 12px; }
.club-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: start; padding: 12px 0 72px; }
.club-perks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.club-perks li { padding-left: 30px; position: relative; color: var(--muted); }
.club-perks li::before { content: "★"; position: absolute; left: 0; color: var(--ug-text); }
.club-perks b { color: var(--text); }
.club-box { background: var(--surface); border: 2px solid var(--purple); border-radius: 14px; padding: 22px; box-shadow: 0 0 28px rgba(144, 20, 188, .25); }
.club-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 16px; }
.club-tabs button { padding: 10px; border-radius: var(--r); border: 1px solid var(--line-strong); background: transparent; font-weight: 700; }
.club-tabs button[aria-selected="true"] { background: var(--ug); border-color: var(--ug-deep); color: var(--ug-ink); }
.club-form { display: grid; gap: 14px; }
.club-form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.club-form input:not([type=checkbox]) { min-height: 46px; padding: 10px 14px; background: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--r); color: var(--text); font: inherit; }
.club-form input:focus { border-color: var(--ug-deep); outline: none; }
.club-check { display: flex !important; grid-template-columns: none; gap: 10px !important; align-items: flex-start; }
.club-check input { margin-top: 3px; accent-color: var(--purple); width: 17px; height: 17px; }
.club-fine { font-size: 13px; color: var(--faint); margin: 4px 0 0; }
#club-msg .note-box { margin-bottom: 12px; }
.club-head { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: center; padding: 8px 0 32px; }
.points-card { border-radius: 14px; padding: 22px; border: 2px solid var(--purple);
  background: linear-gradient(165deg, #fdda5c 0%, #f4bd40 45%, #c88a1f 100%); color: #1a1205; box-shadow: 0 0 28px rgba(144, 20, 188, .3); }
.points-card small { font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #3a2806; }
.points-card > b { display: block; font: 400 56px/1 var(--display); margin: 6px 0 12px; }
.points-card p { margin: 10px 0 0; color: #2a1d06; font-size: 14px; }
.pts-bar { height: 8px; border-radius: 4px; background: rgba(26, 18, 5, .25); overflow: hidden; }
.pts-bar span { display: block; height: 100%; background: #1a1205; border-radius: 4px; }
.pts-earn { opacity: .8; font-size: 13px !important; }
.club-sec { padding: 26px 0; border-top: 1px solid var(--line); }
.reward-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.reward { padding: 16px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 4px; }
.reward b { font-size: 17px; } .reward small { color: var(--faint); font-family: var(--mono); } .reward span { font-size: 13px; color: var(--muted); }
.reward.ready { border-color: var(--glow-warm-border); box-shadow: var(--glow-warm); } .reward.ready span { color: var(--orange); font-weight: 600; }
.offer-list { display: grid; gap: 10px; }
.offer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 10px; background: var(--surface); border: 1px dashed var(--orange); flex-wrap: wrap; }
.offer b { font-size: 18px; color: var(--orange); margin-right: 10px; } .offer span { color: var(--text); } .offer small { display: block; color: var(--faint); }
.ord { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 12px; }
.ord header { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; } .ord header span { color: var(--muted); font-size: 14px; }
.ord-total { margin-left: auto; }
.ord-status { font: 700 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: 5px 8px; border-radius: 3px; }
.ord-status.packing { background: var(--purple); color: #fff !important; } .ord-status.shipped { background: var(--ok); color: #0b2414 !important; }
.ord ul { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.ord li { display: flex; align-items: center; gap: 12px; } .ord li img { width: 48px; height: 48px; border-radius: 4px; object-fit: cover; }
.ord footer { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.pts-chip { font: 700 12px/1 var(--mono); padding: 5px 8px; border-radius: 20px; background: rgba(253, 218, 92, .14); color: var(--orange); border: 1px solid rgba(253, 218, 92, .45); }
.pts-chip.spent { background: rgba(169, 42, 216, .15); color: var(--lilac); border-color: rgba(169, 42, 216, .4); }
.pts-table { width: 100%; border-collapse: collapse; font-size: 14px; } .pts-table td { padding: 8px 6px; border-bottom: 1px solid var(--line); }
.pts-table td:first-child { color: var(--faint); white-space: nowrap; width: 130px; } .pts-table td:last-child { text-align: right; font-family: var(--mono); font-weight: 700; }
.pts-table .pos { color: var(--ok); } .pts-table .neg { color: var(--lilac); }
.club-details { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--muted); padding-bottom: 72px; }
@media (max-width: 860px) { .club-intro, .club-head { grid-template-columns: 1fr; } }
/* checkout: Underground panel */
.club-panel { display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; flex-wrap: wrap; padding: 14px 16px; border-radius: 10px;
  border: 1px solid var(--glow-warm-border); background: linear-gradient(120deg, rgba(244, 189, 64, .14), rgba(144, 20, 188, .1)); }
.club-panel > div:first-child { display: grid; gap: 2px; } .club-panel span { color: var(--muted); font-size: 14px; }
.club-panel-acts { display: flex; gap: 8px; }
.club-panel-head { display: flex !important; align-items: center; gap: 10px; width: 100%; }
.reward-pick { border: 0; padding: 0; margin: 0; width: 100%; display: grid; gap: 6px; }
.reward-pick legend { font-weight: 700; margin-bottom: 6px; }
.reward-pick label { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text); cursor: var(--cur-hand, pointer); }
.reward-pick label.dim { color: var(--faint); cursor: not-allowed; } .reward-pick small { color: var(--faint); }
.reward-pick input { accent-color: var(--orange); width: 16px; height: 16px; }
.code-row { display: flex; gap: 8px; width: 100%; } .code-row input { flex: 1; min-height: 38px; text-transform: uppercase; }
.order-sum .disc span:last-child { color: var(--ok); }
.earn-line { margin: 4px 0 0; font-size: 13.5px; color: var(--orange); } .earn-line a { color: var(--orange); }
.checkout .reward-pick input, .checkout .club-check input { width: 16px; height: 16px; min-height: 0; padding: 0; flex: none; }
.checkout .reward-pick label { display: flex; gap: 10px; }

/* Underground logo */
.club-logo { width: clamp(160px, 18vw, 240px); height: auto; border-radius: 50%; margin-bottom: 18px; box-shadow: 0 0 40px rgba(196, 216, 22, .2); }
.club-logo.sm { width: 110px; margin: 0; flex: none; }
.club-head-who { display: flex; align-items: center; gap: 22px; }
@media (max-width: 560px) { .club-head-who { flex-direction: column; align-items: flex-start; } }

/* home: Join the Underground band (replaces the newsletter box) */
.club-band { border-top: 1px solid var(--purple); border-bottom: 1px solid var(--purple);
  background: radial-gradient(ellipse 45% 90% at 12% 50%, rgba(244, 189, 64, .16), transparent 70%), radial-gradient(ellipse 70% 120% at 85% 50%, var(--purple-deep), var(--ink) 70%); }
.club-band-in { display: grid; grid-template-columns: auto 1.15fr .9fr; gap: clamp(24px, 3.5vw, 48px); align-items: center; padding-top: 56px; padding-bottom: 56px; }
.club-band-logo { width: clamp(150px, 16vw, 230px); height: auto; border-radius: 50%; box-shadow: 0 0 50px rgba(196, 216, 22, .22), 0 20px 50px rgba(0, 0, 0, .5); }
.club-band h2 { font: 400 clamp(26px, 3.2vw, 40px)/1.05 var(--display); text-transform: uppercase; margin: 0 0 10px; color: var(--ug); }
.club-band-lede { color: #e7dcef; font-size: 17px; margin: 0 0 16px; }
.club-band-perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.club-band-perks li { position: relative; padding-left: 26px; color: #d8cde2; font-size: 15px; line-height: 1.45; }
.club-band-perks li::before { content: "★"; position: absolute; left: 0; top: 0; color: var(--ug); }
.club-band-perks b { color: #fff; }
.club-band-form { background: rgba(11, 10, 13, .72); border: 2px solid var(--purple); border-radius: 14px; padding: 20px; box-shadow: 0 0 30px rgba(144, 20, 188, .3); }
.club-band-form form { display: grid; gap: 12px; }
.club-band-form label { display: grid; gap: 5px; font-size: 13.5px; color: var(--muted); }
.club-band-form input:not([type=checkbox]) { min-height: 44px; padding: 10px 14px; border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--ink); color: var(--text); font: inherit; }
.club-band-form input:focus { border-color: var(--ug); outline: none; }
.club-band-check { display: flex !important; align-items: flex-start; gap: 9px !important; color: var(--text) !important; }
.club-band-check input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--purple); flex: none; }
.club-band-fine { margin: 0; font-size: 13px; color: var(--faint); } .club-band-fine a { color: var(--ug); }
.club-band-msg { margin: 0; font-size: 14px; color: #ffd0d2; } .club-band-msg a { color: var(--ug); } .club-band-msg:empty { display: none; }
.club-band-welcome h3 { font: 400 26px/1.1 var(--display); text-transform: uppercase; margin: 0 0 8px; }
.club-band-welcome p { color: #e2d6ea; }
.club-band-pts { margin: 0 0 6px; color: var(--muted) !important; } .club-band-pts b { font: 400 44px/1 var(--display); color: var(--ug); margin-right: 6px; }
@media (max-width: 1080px) { .club-band-in { grid-template-columns: auto 1fr; } .club-band-form { grid-column: 1 / -1; } }
@media (max-width: 640px) { .club-band-in { grid-template-columns: 1fr; } .club-band-logo { width: 150px; } }

/* Shop by genre records: gold edge and glow on hover (matches the Underground gold) */
.genre-grid a { transition: border-color .2s, transform .2s, box-shadow .3s; }
.genre-grid a:hover, .genre-grid a:focus-visible { border-color: var(--glow-warm-border); box-shadow: var(--glow-warm); }

/* header: gold "Dig through the Relics" button that grows and shakes on hover */
.hero-ctas .btn-gold { background: linear-gradient(180deg, #fdda5c, #f4bd40 55%, #d39724); color: #1a1205; border-color: #d39724;
  box-shadow: 0 6px 18px rgba(211, 151, 36, .25); transition: box-shadow .25s; }
.hero-ctas .btn-gold:hover, .hero-ctas .btn-gold:focus-visible { color: #1a1205; box-shadow: var(--glow-warm); animation: gold-shake .55s ease-in-out forwards; }
@keyframes gold-shake {
  0% { transform: scale(1) rotate(0); }
  20% { transform: scale(1.1) rotate(-3deg); }
  40% { transform: scale(1.1) rotate(3deg); }
  60% { transform: scale(1.1) rotate(-2deg); }
  80% { transform: scale(1.1) rotate(1deg); }
  100% { transform: scale(1.08) rotate(0); }
}
@media (prefers-reduced-motion: reduce) { .hero-ctas .btn-gold:hover { animation: none; transform: none; } }

/* header: "Shop new pressings" grows and shakes on hover too (keeps its purple) */
.hero-ctas .btn-primary:hover, .hero-ctas .btn-primary:focus-visible { box-shadow: var(--glow); animation: gold-shake .55s ease-in-out forwards; }
@media (prefers-reduced-motion: reduce) { .hero-ctas .btn-primary:hover { animation: none; transform: none; } }

/* Friday Relics Drop: the whole card gives a small shake on hover */
.drop-card:hover, .drop-card:focus-within { animation: drop-shake .5s ease-in-out; }
@keyframes drop-shake {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  20% { transform: translate(-3px, 0) rotate(-1deg); }
  40% { transform: translate(3px, 0) rotate(1deg); }
  60% { transform: translate(-2px, 0) rotate(-.6deg); }
  80% { transform: translate(2px, 0) rotate(.4deg); }
}
.drop-card .btn-primary:hover { background: var(--purple-hi); }
@media (prefers-reduced-motion: reduce) { .drop-card:hover, .drop-card:focus-within { animation: none; } }

/* ---------- Sell to us page ---------- */
.sell-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: 8px 0 40px; }
.sell-title { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.02; margin: 0 0 14px; }
.sell-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sell-points li { padding: 14px 16px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--orange); }
.sell-points b { display: block; } .sell-points span { color: var(--muted); font-size: 14.5px; }
.sell-sec { padding: 40px 0; border-top: 1px solid var(--line); }
.sell-h { font: 400 clamp(22px, 2.8vw, 32px)/1.1 var(--display); text-transform: uppercase; margin: 0 0 18px; }
.sell-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.sell-steps li { counter-increment: s; padding: 18px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.sell-steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--purple); color: #fff; font: 400 15px var(--display); margin-bottom: 10px; }
.sell-steps b { display: block; margin-bottom: 4px; } .sell-steps span { color: var(--muted); font-size: 14.5px; }
.sell-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.sell-sec.sell-two { align-items: start; }
.ticks.no li::before { content: "✕"; color: var(--low); }
.price-box { border-radius: 14px; padding: 22px; border: 2px solid var(--purple); background: linear-gradient(165deg, #fdda5c, #f4bd40 55%, #d39724); color: #1a1205; display: grid; gap: 10px; align-content: center; }
.price-box p { margin: 0; font-size: 16px; color: #2a1d06; } .price-box b { color: #1a1205; }
.sell-form-sec { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.sell-form-intro { position: sticky; top: 140px; } .sell-form-intro p { color: var(--muted); }
.sell-tips { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.sell-tips li { padding-left: 24px; position: relative; color: var(--muted); font-size: 14.5px; }
.sell-tips li::before { content: "★"; position: absolute; left: 0; color: var(--orange); } .sell-tips b { color: var(--text); }
.sell-form { display: grid; gap: 18px; padding: 22px; border-radius: 14px; background: var(--surface); border: 2px solid var(--purple); box-shadow: 0 0 28px rgba(144, 20, 188, .2); }
.sell-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.sell-form legend { font: 400 15px var(--display); text-transform: uppercase; color: var(--orange); margin-bottom: 4px; }
.sell-form legend small, .sell-form label small { font: 400 12.5px var(--body); text-transform: none; color: var(--faint); }
.sell-form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.sell-form input:not([type=checkbox]):not([type=radio]), .sell-form select, .sell-form textarea { width: 100%; min-height: 44px; padding: 10px 14px; background: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--r); color: var(--text); font: inherit; }
.sell-form textarea { resize: vertical; line-height: 1.5; }
.sell-form input:focus, .sell-form select:focus, .sell-form textarea:focus { border-color: var(--orange); outline: none; }
.sell-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: block; cursor: var(--cur-hand, pointer); } .chips input { position: absolute; opacity: 0; }
.chips span { display: block; padding: 8px 14px; border-radius: 20px; border: 1px solid var(--line-strong); color: var(--text); font-size: 14px; }
.chips input:checked + span { background: var(--purple); border-color: var(--purple); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--orange); }
.photo-drop { display: grid !important; place-items: center; gap: 4px !important; padding: 20px; border: 2px dashed var(--line-strong); border-radius: 10px; cursor: var(--cur-hand, pointer); text-align: center; }
.photo-drop:hover { border-color: var(--orange); } .photo-drop b { color: var(--text); }
.photo-row { display: flex; flex-wrap: wrap; gap: 8px; } .photo-row:empty { display: none; }
.photo-row .ph { position: relative; width: 84px; height: 84px; } .photo-row img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.photo-row button { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(11,10,13,.8); color: #fff; font-size: 11px; }
.radio-row { display: flex; gap: 18px; flex-wrap: wrap; } .radio-row label { display: flex !important; align-items: center; gap: 8px !important; color: var(--text) !important; }
.radio-row input, .agree input { accent-color: var(--purple); width: 17px; height: 17px; }
.money-in { display: flex; align-items: center; gap: 6px; color: var(--text); } .money-in input { max-width: 200px; }
.agree { display: flex !important; align-items: flex-start; gap: 10px !important; color: var(--text) !important; }
.sell-done { padding: 24px; border-radius: 14px; background: var(--surface); border: 2px solid var(--orange); grid-column: 1 / -1; }
.sell-faq details { border-bottom: 1px solid var(--line); padding: 12px 0; } .sell-faq summary { cursor: var(--cur-hand, pointer); font-weight: 700; }
.sell-faq p { color: var(--muted); margin: 8px 0 0; } .sell-faq a { color: var(--orange); }
@media (max-width: 960px) { .sell-steps { grid-template-columns: 1fr 1fr; } .sell-hero, .sell-form-sec, .sell-two { grid-template-columns: 1fr; } .sell-form-intro { position: static; } }
@media (max-width: 560px) { .sell-steps, .sell-form .two { grid-template-columns: 1fr; } }

.sell-sec .ticks { list-style: none; padding: 0; margin: 0 0 16px; }

/* home: smaller "Sell to us" band at the bottom */
#sell.section { padding: 34px 0; }
#sell .band { gap: 32px; align-items: start; }
#sell .band h2 { font-size: clamp(20px, 2.4vw, 28px); margin-bottom: 6px; }
#sell .lede { font-size: 15.5px; margin-bottom: 10px; }
#sell .band ol { margin-bottom: 14px; }
#sell .band ol li { padding: 7px 0; grid-template-columns: 32px 1fr; }
#sell .band ol li::before { width: 26px; height: 26px; font-size: 12px; }
#sell .band ol span { font-size: 14px; }
#sell .sell-panel { padding: 18px; }
#sell .sell-panel h3 { font-size: 17px; }
#sell .sell-panel p { font-size: 14.5px; }

/* home: larger Join the Underground band */
.club-band-in { padding-top: 76px; padding-bottom: 76px; gap: clamp(28px, 4vw, 60px); }
.club-band-logo { width: clamp(180px, 20vw, 290px); }
.club-band h2 { font-size: clamp(30px, 3.8vw, 48px); }
.club-band-lede { font-size: 19px; }
.club-band-perks { gap: 11px; }
.club-band-perks li { font-size: 16px; }
.club-band-form { padding: 26px; }
.club-band-form input:not([type=checkbox]) { min-height: 48px; }

/* home "Sell to us": points matching the Sell to us page instead of the cream panel */
.sell-points-home { align-self: center; }
.sell-points-home li { padding: 12px 16px; }
.sell-points-home b { font-size: 15.5px; }
.sell-points-home span { font-size: 14px; }

/* gold secondary button, available site-wide (header's "Dig through the Relics" adds its own shake) */
.btn-gold { background: linear-gradient(180deg, #fdda5c, #f4bd40 55%, #d39724); color: #1a1205; border-color: #d39724; transition: box-shadow .25s, transform .2s; }
.btn-gold:hover, .btn-gold:focus-visible { color: #1a1205; box-shadow: var(--glow-warm); transform: translateY(-1px); }

/* Shop by genre: make each record and shortcut stand out on its own */
.genre-grid { gap: 18px; }
.genre-grid a {
  background:
    conic-gradient(from 20deg, transparent 0 12%, rgba(255,255,255,.07) 16%, transparent 22% 62%, rgba(255,255,255,.05) 66%, transparent 72%),
    repeating-radial-gradient(circle at 50% 50%, #121015 0 2px, #1e1b23 2px 4px);
  border: 2px solid rgba(244, 189, 64, .28);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .55), inset 0 0 0 6px rgba(0, 0, 0, .35);
}
/* bigger centre label so the genre name sits on it, in three alternating label colours */
.genre-grid a::before { inset: 24%; opacity: 1; background: radial-gradient(circle, #0b0a0d 0 3.5%, var(--purple) 4% 100%);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .35); }
.genre-grid a:hover::before { inset: 20%; }
.genre-grid a:nth-child(3n+2)::before { background: radial-gradient(circle, #0b0a0d 0 3.5%, #f4bd40 4% 100%); }
.genre-grid a:nth-child(3n+3)::before { background: radial-gradient(circle, #0b0a0d 0 3.5%, var(--bone) 4% 100%); }
.genre-grid span { max-width: 48%; font-size: clamp(10px, 1.02vw, 13px); line-height: 1.12; text-shadow: none; color: #fff; }
.genre-grid a:nth-child(3n+2) span, .genre-grid a:nth-child(3n+3) span { color: #1a1205; }
.genre-grid .beyond { border-style: dashed; border-color: rgba(244, 189, 64, .55); }

/* the four shortcut boxes: gold heading, coloured top edge, and an arrow */
.curated a { position: relative; background: linear-gradient(180deg, #1d1922, var(--surface)); border: 1px solid var(--line-strong); border-top: 3px solid var(--purple); padding: 20px 22px 22px; }
.curated a:nth-child(even) { border-top-color: #f4bd40; }
.curated strong { color: #fdda5c; padding-right: 24px; }
.curated a::after { content: "→"; position: absolute; top: 18px; right: 18px; color: #fdda5c; font-weight: 700; transition: transform .2s; }
.curated a:hover::after { transform: translateX(4px); }
.curated span { color: #c9bfd3; }
.genre-grid a::before { inset: 19%; background: var(--purple); }
.genre-grid a:hover::before { inset: 16%; }
.genre-grid a:nth-child(3n+2)::before { background: #f4bd40; }
.genre-grid a:nth-child(3n+3)::before { background: var(--bone); }
.genre-grid span { max-width: 58%; font-size: clamp(9px, .86vw, 12px); letter-spacing: -.01em; }
.genre-grid span.long { font-size: clamp(8px, .74vw, 10.5px); }

/* ---- home page review fixes ---- */
/* 1. shorter header card so the first records show sooner */
.hero { padding: 14px 0 4px; }
.hero-card { min-height: clamp(360px, 31vw, 440px); }
.hero-card .hero-in { padding: clamp(22px, 3vw, 40px) clamp(24px, 3.4vw, 48px); }
.hero-art { width: min(340px, 100%); }
.hero h1 { font-size: clamp(24px, 4.3vw, 54px); margin-bottom: 14px; }
.hero-ctas { margin-top: 20px; }
#drop.section { padding-top: 36px; }
@media (max-width: 860px) { .hero-art { width: 150px; justify-self: start; } .hero-card .hero-in { padding: 20px; gap: 14px; } }
/* 4. easier-to-read record details under each cover */
.tile-meta { font-size: 13px; color: #c9bfd3; }
/* 5. "see more" card that fills a short row */
.tile-more { display: grid; place-content: center; text-align: center; gap: 6px; aspect-ratio: 1; border-radius: 6px; text-decoration: none;
  border: 2px dashed rgba(244, 189, 64, .45); background: radial-gradient(circle, rgba(244, 189, 64, .08), transparent 70%); padding: 16px; transition: box-shadow .3s, border-color .3s; }
.tile-more span { font: 400 18px/1.15 var(--display); text-transform: uppercase; color: #fdda5c; }
.tile-more small { color: var(--muted); }
.tile-more:hover { border-color: var(--glow-warm-border); box-shadow: var(--glow-warm); }

/* info pages (shipping, care) */
.info-page { max-width: 860px; padding-bottom: 72px; }
.info-title { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.04; margin: 0 0 12px; }
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0 8px; }
.info-cards div { padding: 16px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid #f4bd40; }
.info-cards b { display: block; margin-bottom: 4px; } .info-cards span { color: var(--muted); font-size: 14.5px; }
.info-sec { padding: 26px 0; border-top: 1px solid var(--line); }
.info-sec h2 { font: 400 clamp(20px, 2.4vw, 26px)/1.1 var(--display); text-transform: uppercase; margin: 0 0 12px; }
.info-sec .ticks { list-style: none; padding: 0; margin: 0 0 12px; }
.info-sec p { color: var(--muted); } .info-page a { color: var(--orange); }
@media (max-width: 640px) { .info-cards { grid-template-columns: 1fr; } }
.hero-card { min-height: clamp(320px, 26vw, 380px); }
.hero-art { width: min(290px, 100%); }
.hero .lede { font-size: clamp(16px, 1.5vw, 18px); }
#drop.section { padding-top: 26px; }
/* Friday Relics Drop card: a good size, and it stays in view while people scroll the Relics beside it */
.drop { align-items: start; }
.drop-card { position: sticky; top: 140px; min-height: 540px; }
@media (max-width: 860px) { .drop-card { position: static; min-height: 0; } .hero-art { width: 110px; } }
.trust li { padding: 12px 16px; }

/* Japan Collection */
.japan-sec .section-head h2 { color: #fdda5c; }
.japan-soon { grid-column: 1 / -1; display: grid; justify-items: start; gap: 8px; padding: 26px 28px; border-radius: 12px; border: 2px dashed rgba(244, 189, 64, .5);
  background: radial-gradient(ellipse at 10% 50%, rgba(244, 189, 64, .1), transparent 60%), var(--surface); }
.japan-soon b { font: 400 22px/1.1 var(--display); text-transform: uppercase; color: #fdda5c; }
.japan-soon span { color: var(--muted); max-width: 70ch; }
.chip-japan { background: #fff; color: #b3121c; border-color: #b3121c; }
.hero h1 { font-size: clamp(24px, 3.7vw, 48px); }

/* menu: Genres, Formats and Dig in each have their own drop-down */
.mega.mega-one { grid-template-columns: 1fr; width: auto; min-width: 220px; gap: 0; }
.mega.mega-one.mega-wide { min-width: 380px; }
@media (max-width: 900px) { .mega.mega-one, .mega.mega-one.mega-wide { min-width: 0; } }

/* ---------- shop helper: "What are you looking for?" (assets/js/helper.js) ----------
   Lives outside <main>, so it carries its own light colours. */
.hh-launch { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: inline-flex; align-items: center; gap: 7px; height: 46px; padding: 0 18px; border: 0; border-radius: 999px;
  background: var(--purple); color: #fff; font: 700 15px/1 var(--body); box-shadow: 0 8px 24px rgba(60, 10, 90, .35); cursor: var(--cur-hand, pointer); transition: transform .2s, background .2s; }
.hh-launch:hover { background: var(--purple-hi); transform: translateY(-2px); }
.hh-launch:focus-visible, .hh button:focus-visible, .hh a:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.hh { position: fixed; right: 18px; bottom: 18px; z-index: 75; width: min(420px, calc(100vw - 32px)); max-height: min(640px, calc(100dvh - 36px)); display: flex; flex-direction: column;
  background: #fff; color: #17141b; border: 1px solid #e7e1d7; border-radius: 20px; box-shadow: 0 24px 60px -12px rgba(23, 20, 27, .45); color-scheme: light;
  opacity: 0; transform: translateY(16px) scale(.97); transform-origin: bottom right; transition: opacity .2s ease-out, transform .35s cubic-bezier(.175, .885, .32, 1.275); }
.hh.in { opacity: 1; transform: none; }
.hh[hidden] { display: none; }
.hh-head { display: grid; grid-template-columns: 36px minmax(0, 1fr) 32px; gap: 12px; align-items: start; padding: 18px 16px 12px 18px; }
.hh-head img { border-radius: 50%; }
.hh-head h2 { margin: 0; font: 800 18px/1.25 var(--body); letter-spacing: 0; text-transform: none; color: #17141b; }
.hh-head p { margin: 4px 0 0; font-size: 14px; line-height: 1.45; color: #4f4859; }
.hh-x { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #f3eff7; color: #4f4859; cursor: var(--cur-hand, pointer); }
.hh-x:hover { background: #e9e1f1; color: #17141b; }
.hh svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.hh svg .fill { fill: currentColor; stroke: none; }
.hh-body { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 16px 10px; display: grid; gap: 10px; align-content: start; }
.hh-ideas { display: flex; flex-wrap: wrap; gap: 8px; }
.hh-ideas button { padding: 8px 12px; border: 1px solid #e0d6ea; border-radius: 999px; background: #faf7fc; color: #5d1180; font: 600 13px/1.2 var(--body); cursor: var(--cur-hand, pointer); }
.hh-ideas button:hover { border-color: var(--purple); background: #f3eaf9; }
.hh-msg { max-width: 92%; font-size: 14.5px; line-height: 1.5; }
.hh-msg p { margin: 0; }
.hh-msg.me { justify-self: end; padding: 9px 13px; border-radius: 16px 16px 4px 16px; background: var(--purple); color: #fff; }
.hh-msg.them { justify-self: start; width: 100%; max-width: 100%; padding: 10px 13px; border-radius: 16px 16px 16px 4px; background: #f6f3f0; color: #17141b; }
.hh-wait { display: flex; gap: 5px; width: auto !important; }
.hh-wait i { width: 7px; height: 7px; border-radius: 50%; background: #8b8396; animation: hh-dot 1s infinite ease-in-out; }
.hh-wait i:nth-child(2) { animation-delay: .15s; } .hh-wait i:nth-child(3) { animation-delay: .3s; }
@keyframes hh-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.hh .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hh-cards { display: grid; gap: 8px; margin-top: 10px; }
.hh-card { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px; border: 1px solid #e7e1d7; border-radius: 12px; background: #fff; color: #17141b; text-decoration: none; transition: border-color .15s, transform .15s; }
.hh-card:hover { border-color: var(--purple); transform: translateY(-1px); color: #17141b; }
.hh-card img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; background: #efe9e0; }
.hh-card > span { display: grid; min-width: 0; }
.hh-card b, .hh-card > span > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hh-card b { font-size: 14px; } .hh-card > span > span { font-size: 13.5px; color: #4f4859; }
.hh-card small { font-size: 12px; color: #6b6375; margin-top: 2px; }
.hh-card strong { font-size: 14.5px; }
.hh-next { display: inline-block; margin-top: 10px; font-weight: 700; font-size: 14px; color: #7a10a3; }
/* the input: grows as you type; one round button that's a mic, a send arrow or stop */
.hh-input { position: relative; margin: 0 14px; border: 1px solid #d9d0e2; border-radius: 22px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.hh-input:focus-within { border-color: rgba(144, 20, 188, .55); box-shadow: 0 0 0 3px rgba(144, 20, 188, .12); }
.hh-input textarea { display: block; width: 100%; min-height: 48px; max-height: 132px; resize: none; border: 0; outline: 0; background: transparent; color: #17141b;
  padding: 13px 54px 13px 16px; font: 15px/22px var(--body); border-radius: 22px; }
.hh-input textarea::placeholder { color: #8b8396; }
.hh-go { position: absolute; right: 7px; bottom: 7px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--purple); color: #fff; cursor: var(--cur-hand, pointer); display: grid; place-items: center; transition: background .2s, opacity .2s; }
.hh-go:hover { background: var(--purple-hi); } .hh-go:disabled { opacity: .45; cursor: default; }
.hh-go > span { grid-area: 1 / 1; display: grid; place-items: center; transition: opacity .25s, transform .3s cubic-bezier(.175, .885, .32, 1.275); opacity: 0; transform: scale(.5) rotate(45deg); }
.hh-input[data-mode="mic"] .i-mic, .hh-input[data-mode="send"] .i-send, .hh-input[data-mode="stop"] .i-stop { opacity: 1; transform: none; }
.hh-bars { position: absolute; right: 48px; bottom: 12px; display: flex; align-items: center; gap: 3px; height: 24px; opacity: 0; transition: opacity .25s; pointer-events: none; }
.hh-bars i { width: 4px; height: 4px; border-radius: 2px; background: var(--purple); transition: height .08s; }
.hh-input.rec .hh-bars { opacity: 1; }
.hh-input.rec textarea { padding-right: 96px; }
.hh-browse { align-self: center; margin: 8px 0 12px; padding: 6px 10px; border: 0; background: none; color: #4f4859; font: 600 13.5px/1.2 var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: var(--cur-hand, pointer); }
.hh-browse:hover { color: #17141b; }
@media (max-width: 560px) {
  .hh { right: 0; left: 0; bottom: 0; width: 100%; max-height: 88dvh; border-radius: 20px 20px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .hh-launch { right: 14px; bottom: 14px; height: 44px; padding: 0 16px; }
  .hh-input textarea { font-size: 16px; } /* stops iPhone zooming in */
}
@media (prefers-reduced-motion: reduce) { .hh, .hh-go > span, .hh-launch { transition: none; } .hh-wait i { animation: none; } }
/* Merch & books menu: two columns */
.mega.mega-two { grid-template-columns: 1fr 1fr; width: auto; min-width: 420px; gap: 32px; }
@media (max-width: 900px) { .mega.mega-two { grid-template-columns: 1fr; min-width: 0; gap: 16px; } }

/* ---------- My Underground pass on a lanyard (assets/js/pass.js) ---------- */
.hrp-stage { position: fixed; inset: 0; z-index: 120; overflow: hidden; opacity: 0; transition: opacity .25s ease; }
.hrp-stage.in { opacity: 1; }
.hrp-scrim { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 30%, rgba(30, 10, 40, .72), rgba(5, 4, 8, .9)); }
.hrp-rope { position: absolute; inset: 0; pointer-events: none; }
.hrp-welcome { position: absolute; left: 50%; bottom: 76px; transform: translateX(-50%); margin: 0; width: max-content; max-width: calc(100vw - 32px); text-align: center;
  color: #ece6dc; font: 500 15px/1.4 var(--body); pointer-events: none; }
.hrp-welcome b { color: #fdda5c; }
.hrp-hint { position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%); margin: 0; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.1);
  color: #cfc6d8; font: 500 12px/1.2 var(--mono); letter-spacing: .04em; white-space: nowrap; pointer-events: none; transition: opacity .4s; }
.hrp-hint.gone { opacity: 0; }
.hrp-close { position: absolute; top: 14px; right: 14px; padding: 9px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: rgba(0,0,0,.45);
  color: #ece6dc; font: 600 13.5px/1 var(--body); cursor: var(--cur-hand, pointer); }
.hrp-close:hover { background: rgba(0,0,0,.7); border-color: rgba(255,255,255,.5); }
.hrp-close:focus-visible, .hrp-card:focus-visible { outline: 2px solid #fdda5c; outline-offset: 4px; }

.hrp-card { position: absolute; top: 0; left: 0; width: clamp(220px, 64vw, 264px); aspect-ratio: 264 / 440; perspective: 1400px; transform-origin: top center;
  cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; border-radius: 16px; }
.hrp-card:active { cursor: grabbing; }
.hrp-flip { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.hrp-face { position: absolute; inset: 0; overflow: hidden; display: flex; flex-direction: column; border-radius: 16px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  /* bottom-right corner bent over */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
  box-shadow: 0 30px 60px -18px rgba(0,0,0,.75), 0 10px 22px -8px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.12); }
/* worn laminate: grime texture, edge scuffing and faded print */
.hrp-face::before { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit; opacity: .55; mix-blend-mode: multiply;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .25  0 0 0 0 .18  0 0 0 0 .12  0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    radial-gradient(ellipse at 50% 45%, transparent 55%, rgba(60, 40, 20, .35) 100%); }
/* laminate shine that follows the pointer */
.hrp-face::after { content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none; border-radius: inherit; opacity: .35; transition: opacity .3s;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.22) 45%, transparent 60%),
    radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255,255,255,.35), transparent 42%); mix-blend-mode: screen; }
.hrp-card.hover .hrp-face::after { opacity: .9; }

.hrp-front { background: linear-gradient(170deg, #1a1420 0%, #120e16 100%); color: #ece6dc; padding: 14px 16px 12px; }
.hrp-back { background: linear-gradient(170deg, #ebe3d4, #d9cfbd); color: #1b1620; padding: 14px 18px 14px; transform: rotateY(180deg); align-items: center; text-align: center; }
.hrp-slot { flex-shrink: 0; width: 46px; height: 10px; margin: 0 auto 10px; border-radius: 6px; background: #050406; box-shadow: inset 0 2px 3px rgba(0,0,0,.8), 0 1px 0 rgba(255,255,255,.15); }
.hrp-back .hrp-slot { box-shadow: inset 0 2px 3px rgba(0,0,0,.8), 0 1px 0 rgba(255,255,255,.5); }
.hrp-top { display: flex; align-items: center; gap: 9px; }
.hrp-top img { border-radius: 50%; filter: saturate(.85) contrast(1.05); }
.hrp-top b { display: block; font: 400 12.5px/1.1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.hrp-top small { display: block; margin-top: 2px; font: 600 7.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #a99fb4; }
.hrp-title { display: grid; margin: 14px 0 10px; line-height: .9; text-transform: uppercase; }
.hrp-title span { font: 400 30px/.95 var(--display); color: #ece6dc; letter-spacing: .01em; text-shadow: 2px 2px 0 #5c0d80; }
.hrp-title span + span { font-size: 44px; color: #cfa0f2; text-shadow: 3px 3px 0 #2c0a3d; }
.hrp-band { margin: 0 -16px 12px; padding: 7px 0; background: repeating-linear-gradient(-45deg, var(--ug) 0 14px, #afc212 14px 28px); color: var(--ug-ink);
  font: 800 11px/1 var(--body); letter-spacing: .26em; text-transform: uppercase; text-align: center; box-shadow: 0 1px 0 rgba(0,0,0,.4), 0 -1px 0 rgba(0,0,0,.4); }
.hrp-paper { position: relative; padding: 9px 12px 10px; border-radius: 6px; background: #ece4d4; color: #1b1620; transform: rotate(-.6deg);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), inset 0 -10px 18px rgba(120, 90, 50, .14); }
.hrp-paper > small, .hrp-paper dt { font: 600 7.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #6d6474; }
.hrp-name { margin: 4px 0 8px; font-family: "Permanent Marker", "Marker Felt", "Comic Sans MS", cursive; line-height: 1.05; color: #17121c; transform: rotate(-2deg);
  overflow-wrap: anywhere; opacity: .92; }
.hrp-paper dl { display: grid; grid-template-columns: 1.2fr 1fr .8fr; gap: 6px; margin: 0; border-top: 1px dashed rgba(0,0,0,.2); padding-top: 7px; }
.hrp-paper dd { margin: 3px 0 0; font: 700 11px/1 var(--mono); }
.hrp-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 10px; margin: 12px 2px 0; padding: 0; list-style: none; }
.hrp-areas li { display: flex; align-items: center; gap: 6px; font: 700 8.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #cfc6d8; }
.hrp-areas li::before { content: "✓"; display: grid; place-items: center; width: 13px; height: 13px; border: 1.5px solid #8b8396; border-radius: 2px;
  font: 700 10px/1 var(--body); color: #fdda5c; transform: rotate(-4deg); }
.hrp-fine { margin-top: auto; padding-top: 8px; font: 600 6.5px/1.2 var(--mono); letter-spacing: .06em; white-space: nowrap; text-transform: uppercase; color: #7f7589; text-align: center; }
/* wear and tear */
.hrp-stamp { position: absolute; z-index: 4; right: 14px; top: 56%; padding: 3px 9px; border: 2.5px solid rgba(253, 218, 92, .7); border-radius: 4px; transform: rotate(14deg);
  color: rgba(253, 218, 92, .75); font: 400 17px/1 var(--display); letter-spacing: .1em; text-transform: uppercase;
  -webkit-mask-image: radial-gradient(circle at 30% 60%, #000 40%, rgba(0,0,0,.35) 70%); mask-image: radial-gradient(circle at 30% 60%, #000 40%, rgba(0,0,0,.35) 70%); }
.hrp-ring { position: absolute; z-index: 4; left: -26px; bottom: 52px; width: 96px; height: 96px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, transparent 57%, rgba(150, 100, 40, .3) 60%, rgba(150, 100, 40, .12) 64%, transparent 68%); transform: scaleX(1.08); }
.hrp-scratch { position: absolute; z-index: 4; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); pointer-events: none; }
.hrp-scratch.s1 { width: 120px; left: 20px; top: 150px; transform: rotate(-24deg); }
.hrp-scratch.s2 { width: 70px; right: 8px; top: 64px; transform: rotate(38deg); opacity: .7; }
.hrp-scratch.s3 { width: 150px; left: 40px; bottom: 70px; transform: rotate(-8deg); background: linear-gradient(90deg, transparent, rgba(0,0,0,.25), transparent); }
.hrp-scratch.s4 { width: 140px; left: 30px; top: 210px; transform: rotate(16deg); background: linear-gradient(90deg, transparent, rgba(0,0,0,.2), transparent); }
.hrp-tape { position: absolute; z-index: 4; left: -10px; top: 128px; width: 54px; height: 18px; background: rgba(40, 38, 42, .82); transform: rotate(-32deg);
  box-shadow: 0 1px 2px rgba(0,0,0,.4); -webkit-mask-image: linear-gradient(90deg, transparent 0 3px, #000 3px calc(100% - 3px), transparent calc(100% - 3px));
  mask-image: linear-gradient(90deg, transparent 0 3px, #000 3px calc(100% - 3px), transparent calc(100% - 3px)); }
.hrp-ear { position: absolute; z-index: 7; right: 0; bottom: 0; width: 26px; height: 26px; background: linear-gradient(135deg, #8e8270 0%, #c9bda6 55%, #6e6456 100%);
  clip-path: polygon(0 0, 100% 0, 0 100%); box-shadow: -2px -2px 4px rgba(0,0,0,.4); }
/* back */
.hrp-club { width: 84px; height: 84px; margin: 2px 0 6px; border-radius: 50%; filter: grayscale(.15) sepia(.15); }
.hrp-back-h { margin: 0 0 6px; font: 400 15px/1 var(--display); text-transform: uppercase; color: #2c0a3d; }
.hrp-back ul { margin: 0 0 10px; padding: 0; list-style: none; display: grid; gap: 5px; font: 500 11.5px/1.3 var(--body); color: #3b3342; }
.hrp-back li::before { content: "✦ "; color: #7a10a3; }
.hrp-bars { display: flex; align-items: stretch; gap: 2px; height: 34px; width: 100%; padding: 0 6px; background: #f6f1e7; border-radius: 3px; overflow: hidden; opacity: .85; }
.hrp-bars i { flex: 1 1 0; min-width: 1px; background: #1b1620; }
.hrp-bars i:nth-child(odd) { background: transparent; }
.hrp-no { margin: 4px 0 6px; font: 700 11px/1 var(--mono); letter-spacing: .18em; }
.hrp-lost { margin: 0; font: 600 8px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #6d6474; }
.hrp-sig { margin-top: auto; width: 100%; text-align: left; }
.hrp-sig span { display: block; font-family: "Permanent Marker", "Marker Felt", cursive; font-size: 18px; color: #2c0a3d; transform: rotate(-3deg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hrp-sig small { display: block; margin-top: 2px; padding-top: 3px; border-top: 1px solid rgba(0,0,0,.3); font: 600 7px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #6d6474; }
@media (prefers-reduced-motion: reduce) { .hrp-stage, .hrp-hint, .hrp-face::after { transition: none; } }

/* account page: show the pass again */
.pass-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; }
.hrp-stage:focus { outline: none; }
/* Records page: signed-in members get their pass one tap away (bottom-left; the Ask us button is bottom-right) */
.pass-pill { position: fixed; left: 18px; bottom: 18px; z-index: 70; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px 0 14px;
  border: 1px solid rgba(253, 218, 92, .55); border-radius: 999px; background: #16131a; color: #ece6dc; font: 700 14.5px/1 var(--body);
  box-shadow: 0 8px 24px rgba(0,0,0,.35); cursor: var(--cur-hand, pointer); transition: transform .2s, border-color .2s; }
.pass-pill small { padding: 4px 8px; border-radius: 999px; background: #fdda5c; color: #16131a; font: 700 12px/1 var(--mono); }
.pass-pill:hover { transform: translateY(-2px); border-color: #fdda5c; }
.pass-pill:focus-visible { outline: 2px solid #fdda5c; outline-offset: 3px; }
@media (max-width: 560px) { .pass-pill { left: 14px; bottom: 14px; height: 44px; padding: 0 12px; font-size: 13.5px; } }
@media (max-width: 380px) { .pass-pill { font-size: 0; gap: 6px; } .pass-pill span { font-size: 18px; } .pass-pill small { font-size: 12px; } }
.club-band-welcome #band-pass { margin-bottom: 10px; }
/* header: the Underground badge takes you to the members' area */
.icon-btn.club-btn { width: 48px; height: 48px; padding: 0; }
.club-btn img { width: 44px; height: 44px; border-radius: 50%; display: block; box-shadow: 0 0 0 1px rgba(196, 216, 22, .4); transition: transform .2s, box-shadow .2s; }
.club-btn:hover img, .club-btn:focus-visible img { transform: scale(1.08) rotate(-4deg); box-shadow: 0 0 0 2px var(--ug), 0 0 14px rgba(196, 216, 22, .45); }
@media (max-width: 560px) { .icon-btn.club-btn { width: 44px; height: 44px; } .club-btn img { width: 40px; height: 40px; } }

/* ---------- song preview play button on covers (main.js HR.playButton) ---------- */
.play { position: absolute; right: 10px; bottom: 10px; z-index: 3; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; cursor: var(--cur-hand, pointer);
  display: grid; place-items: center; color: #fff;
  /* the ring fills as the 30 seconds play */
  background: radial-gradient(circle, #9014bc 0 17px, transparent 17.5px), conic-gradient(#fdda5c var(--p, 0%), rgba(255,255,255,.35) 0);
  box-shadow: 0 4px 14px rgba(0,0,0,.45); transition: transform .15s ease, opacity .2s; }
.play:hover { transform: scale(1.08); }
.play:focus-visible { outline: 2px solid #fdda5c; outline-offset: 3px; }
.play-ic { width: 0; height: 0; margin-left: 3px; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #fff; }
.play.on .play-ic { width: 12px; height: 14px; margin: 0; border: 0; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.play-lg { right: 16px; bottom: 16px; width: 58px; height: 58px; background: radial-gradient(circle, #9014bc 0 23px, transparent 23.5px), conic-gradient(#fdda5c var(--p, 0%), rgba(255,255,255,.35) 0); }
.play-lg .play-ic { border-width: 9px 0 9px 15px; }
.play-lg.on .play-ic { width: 15px; height: 18px; border-left-width: 5px; border-right-width: 5px; }
/* "now playing" label beside the button */
.now { position: absolute; right: 60px; bottom: 18px; z-index: 3; max-width: calc(100% - 72px); padding: 6px 10px; border-radius: 999px; background: rgba(11, 10, 13, .85);
  display: flex; gap: 5px; color: #ece6dc; font: 600 12px/1.2 var(--body); white-space: nowrap;
  opacity: 0; transform: translateX(6px); pointer-events: none; transition: opacity .2s, transform .2s; }
.now-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.now a { flex-shrink: 0; color: #cfa0f2; pointer-events: auto; } /* Apple asks for the link next to every preview: never cut it off */
.playing > .now { opacity: 1; transform: none; }
.play-lg + .now { right: 84px; bottom: 28px; font-size: 13px; }
@media (hover: hover) { .tile-media .play { opacity: .92; } }
@media (max-width: 560px) { .tile-media .now-t { display: none; } .tile-media .now a::before { content: "♫ "; } .tile-media .now { right: 56px; bottom: 16px; } }
@media (prefers-reduced-motion: reduce) { .play, .now { transition: none; } }

/* want lists: the "tell me when it's in" dialog and the wantlist page's form */
.want-dlg { position: fixed; inset: 0; z-index: 120; background: rgba(11,10,13,.55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.want-card { position: relative; background: #fff; color: #16131a; width: min(440px, 100%); border-radius: 10px; padding: 24px; display: grid; gap: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.want-card h2 { margin: 0; font-size: 20px; padding-right: 28px; }
.want-card p { margin: 0; color: #4f4859; font-size: 14px; }
.want-card label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.want-card input { padding: 11px 12px; border: 1px solid #cfc8d8; border-radius: 6px; font: inherit; color: #16131a; background: #fff; }
.want-x { position: absolute; top: 12px; right: 12px; background: none; border: 0; cursor: var(--cur-hand, pointer); color: #16131a; width: 32px; height: 32px; display: grid; place-items: center; }
.want-x svg { width: 18px; height: 18px; }
.want-err { color: #c62828 !important; font-weight: 600; } .want-err:empty { display: none; }
.want-fine { font-size: 13px !important; } .want-fine a { color: #7a10a3; }
.want-acts { display: flex; flex-wrap: wrap; gap: 10px; } .want-acts .btn-ghost { color: #16131a; border-color: #cfc8d8; }
.hunt-join { margin-top: 6px; padding: 16px; border-radius: var(--r); background: rgba(196, 216, 22, .12); border: 1px solid var(--ug-deep); } .hunt-join p { margin: 0; }
.hunt-join-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px !important; }
.hunt { margin: 18px 0 26px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); }
.hunt h2 { margin: 0 0 4px; font-size: 20px; } .hunt > p { margin: 0 0 14px; color: var(--muted); }
.hunt-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; align-items: end; }
.hunt-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.hunt-form label small { font-weight: 400; color: var(--muted); }
.hunt-form input, .hunt-form select { padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 6px; font: inherit; background: transparent; color: inherit; }
.hunt-wide { grid-column: span 2; }
.hunt-msg { grid-column: 1 / -1; margin: 0; font-weight: 600; } .hunt-msg:empty { display: none; }
.hunt-list { list-style: none; padding: 0; margin: 8px 0 0; } .hunt-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.hunt h3 { margin: 18px 0 0; font-size: 16px; } .hunt-fine { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 600px) { .hunt-wide { grid-column: auto; } }

/* ---------- our own merch: printed to order; Underground items are members only (merch/house.py) ---------- */
.chip-club, html.look-light main .chip.chip-club { background: linear-gradient(180deg, var(--ug-hi), var(--ug)); color: var(--ug-ink); border-color: var(--ug-deep); }
.btn-club { background: linear-gradient(180deg, var(--ug-hi), var(--ug)); color: var(--ug-ink); border-color: var(--ug-deep); }
.btn-club:hover, .btn-club:focus-visible { color: var(--ug-ink); filter: brightness(1.06); }
.staff-note.club-note { border-left-color: var(--ug); }
.club-note .club-note-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.club-note .club-note-head img { width: 48px; height: 48px; }
.club-note p + p { margin-top: 8px; }
.size-guide { width: 100%; border-collapse: collapse; font-size: 14px; }
.size-guide th, .size-guide td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.size-guide td:not(:first-child), .size-guide th:not(:first-child) { text-align: right; font-family: var(--mono); }
.merch-desk .merch-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.merch-desk .merch-split h3 { margin: 0 0 12px; font-size: 18px; }
.merch-desk .merch-split .grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .merch-desk .merch-split { grid-template-columns: 1fr; } }

/* Underground Patch Pack chooser (product page) */
.pack-pick { flex-basis: 100%; display: grid; gap: 10px; margin: 4px 0 12px; padding: 14px; border: 1px solid var(--line-strong); border-radius: 10px; }
.pack-pick .pack-back { display: grid; gap: 4px; font-weight: 600; }
.pack-pick select { padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line-strong); font: inherit; }
.pack-pick .pack-h { margin: 6px 0 0; font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.pack-pick ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pack-genres li { display: grid; grid-template-columns: 1fr 34px 28px 34px; align-items: center; gap: 6px; }
.pack-genres button { height: 34px; border-radius: 8px; border: 1px solid var(--line-strong); background: transparent; font: inherit; font-size: 18px; cursor: var(--cur-hand, pointer); color: inherit; }
.pack-genres button:disabled { opacity: .35; cursor: default; }
.pack-genres b { text-align: center; }
.pack-adds label { display: flex; gap: 8px; align-items: center; }

/* Underground ladder (underground.html, account page): a table, perks down the side, tiers across the top, each tier in its
   badge-family colour: Member steel, Floor Pass lime, Backstage purple, All Access gold. It climbs in when it scrolls into view. */
.ladder-scroll { overflow-x: auto; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); padding: 14px 10px 10px; }
.ladder-tbl { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 6px 0; font-size: 14px; }
.ladder-tbl .t0 { --tc: #6b6577; --tc-bg: linear-gradient(160deg, #8d879a, #57526a); --tc-ink: #fff; --tc-tint: rgba(107, 101, 119, .08); }
.ladder-tbl .t1 { --tc: #a8bb0e; --tc-bg: linear-gradient(160deg, #e2f25c, #b9cd12); --tc-ink: #141a00; --tc-tint: rgba(196, 216, 22, .14); }
.ladder-tbl .t2 { --tc: #9014bc; --tc-bg: linear-gradient(160deg, #b745e6, #7a0fa2); --tc-ink: #fff; --tc-tint: rgba(144, 20, 188, .08); }
.ladder-tbl .t3 { --tc: #d39724; --tc-bg: linear-gradient(160deg, #fdda5c, #f4bd40 55%, #d39724); --tc-ink: #1a1205; --tc-tint: rgba(244, 189, 64, .16); }
.ladder-tbl thead th { width: 16%; position: relative; overflow: hidden; padding: 14px 8px 12px; border-radius: 12px 12px 0 0; background: var(--tc-bg); color: var(--tc-ink); text-align: center; vertical-align: bottom; transition: transform .2s, box-shadow .2s; }
.ladder-tbl thead th b { display: block; font: 400 15px/1.15 var(--display); letter-spacing: .02em; }
.ladder-tbl thead th span { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; opacity: .85; }
.ladder-tbl thead th em { display: inline-block; margin-top: 7px; padding: 2px 9px; border-radius: 99px; font: 700 10.5px/1.6 var(--body); font-style: normal; text-transform: uppercase; letter-spacing: .06em; background: rgba(0, 0, 0, .22); color: #fff; }
.ladder-tbl thead th.t3::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-100%); animation: lt-shine 4.5s ease-in-out 2s infinite; pointer-events: none; }
.ladder-tbl .lt-corner { vertical-align: bottom; padding: 0 6px 6px 2px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ladder-tbl .lt-corner span::after { content: " →"; }
.ladder-tbl .lt-climb td { padding: 0; }
.ladder-tbl .lt-climb i { display: block; height: 6px; margin: 0 -6px; background: linear-gradient(90deg, #6b6577, #c4d816 33%, #9014bc 66%, #f4bd40); transform-origin: left; }
.ladder-tbl tbody th { text-align: left; padding: 12px 12px 12px 4px; border-top: 1px solid var(--line); font-weight: 400; min-width: 190px; }
.ladder-tbl tbody th strong { display: block; font-size: 15px; color: var(--text); }
.ladder-tbl tbody th small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.ladder-tbl tbody td { text-align: center; vertical-align: middle; padding: 10px 6px; background: var(--tc-tint); border-top: 1px solid var(--line); transition: box-shadow .2s; }
.ladder-tbl tbody tr:first-child > * { border-top: 0; }
.ladder-tbl tbody tr:last-child td { border-radius: 0 0 12px 12px; }
.ladder-tbl .lt-all { background: linear-gradient(90deg, rgba(107, 101, 119, .08), rgba(196, 216, 22, .14) 33%, rgba(144, 20, 188, .08) 66%, rgba(244, 189, 64, .16)); }
.ladder-tbl tbody tr:hover > * { box-shadow: inset 0 0 0 9999px rgba(144, 20, 188, .05); }
.ladder-tbl .mk { display: inline-grid; place-items: center; transition: transform .2s; }
.ladder-tbl .mk.tick { width: 30px; height: 30px; border-radius: 50%; background: var(--tc-bg); box-shadow: 0 3px 10px -3px var(--tc); }
.ladder-tbl .mk.tick svg { width: 18px; height: 18px; fill: none; stroke: var(--tc-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ladder-tbl .mk.chip { border: 0; font-family: var(--body); text-transform: none; letter-spacing: 0; line-height: 1.4; padding: 4px 11px; border-radius: 99px; background: var(--tc-bg); color: var(--tc-ink); font-weight: 800; font-size: 13px; white-space: nowrap; box-shadow: 0 3px 10px -4px var(--tc); }
.ladder-tbl .mk.chip.all { background: var(--bg); color: var(--text); border: 1px solid var(--line-strong); box-shadow: none; white-space: normal; }
.ladder-tbl .mk.no { color: var(--line-strong); font-size: 20px; font-weight: 700; }
.ladder-tbl td:hover .mk.tick, .ladder-tbl td:hover .mk.chip:not(.all) { transform: scale(1.15) rotate(-5deg); }
/* the column under the pointer lights up, header and all */
.ladder-tbl[data-hc="0"] td.t0, .ladder-tbl[data-hc="1"] td.t1, .ladder-tbl[data-hc="2"] td.t2, .ladder-tbl[data-hc="3"] td.t3 { box-shadow: inset 0 0 0 9999px var(--tc-tint); }
.ladder-tbl[data-hc="0"] th.t0, .ladder-tbl[data-hc="1"] th.t1, .ladder-tbl[data-hc="2"] th.t2, .ladder-tbl[data-hc="3"] th.t3 { transform: translateY(-3px); box-shadow: 0 10px 22px -8px var(--tc); }
/* signed in: their tier is outlined and pulses, the ones above are greyed out */
.ladder-tbl thead th.here { box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .7), 0 10px 22px -8px var(--tc); }
.ladder-tbl thead th.here em { animation: lt-pulse 2s ease-out infinite; }
.ladder-tbl tbody td.here { box-shadow: inset 0 0 0 9999px var(--tc-tint); }
.ladder-tbl .locked { opacity: .45; filter: grayscale(.7); }
/* phones: each perk gets its own line, with the four tiers side by side underneath it */
@media (max-width: 700px) {
  .ladder-scroll { padding: 10px 8px 8px; }
  .ladder-tbl, .ladder-tbl thead, .ladder-tbl tbody { display: block; min-width: 0; }
  .ladder-tbl tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 5px; }
  .ladder-tbl .lt-corner, .ladder-tbl .lt-climb td:first-child { display: none; }
  .ladder-tbl .lt-climb td, .ladder-tbl .lt-all, .ladder-tbl tbody th { grid-column: 1 / -1; }
  .ladder-tbl .lt-climb i { margin: 0; }
  .ladder-tbl thead th { width: auto; padding: 10px 3px 9px; }
  .ladder-tbl thead th b { font-size: 10px; letter-spacing: 0; }
  .ladder-tbl thead th span { font-size: 11px; }
  .ladder-tbl tbody th { min-width: 0; padding: 14px 2px 6px; }
  .ladder-tbl tbody tr:first-child > th { border-top: 0; }
  .ladder-tbl tbody td, .ladder-tbl tbody tr:last-child td { border-top: 0; border-radius: 8px; padding: 8px 2px; }
  .ladder-tbl .mk.chip { padding: 4px 8px; font-size: 12px; }
}
/* the climb-in: tiers rise left to right, the climb bar fills, rows slide in, then the ticks pop */
.ladder-tbl.anim:not(.in) thead th, .ladder-tbl.anim:not(.in) tbody tr { opacity: 0; }
.ladder-tbl.anim:not(.in) .lt-climb i, .ladder-tbl.anim:not(.in) .mk { transform: scale(0); }
.ladder-tbl.in thead th { animation: lt-rise .6s cubic-bezier(.2, .8, .25, 1.25) var(--d) backwards; }
.ladder-tbl.in .lt-climb i { animation: lt-grow 1.1s cubic-bezier(.5, 0, .2, 1) .25s backwards; }
.ladder-tbl.in tbody tr { animation: lt-row .5s ease-out calc(.5s + var(--r) * 70ms) backwards; }
.ladder-tbl.in .mk { animation: lt-pop .45s cubic-bezier(.3, 1.7, .5, 1) calc(.75s + var(--r) * 70ms + var(--d)) backwards; }
@keyframes lt-rise { from { opacity: 0; transform: translateY(22px) scale(.94); } }
@keyframes lt-grow { from { transform: scaleX(0); } }
@keyframes lt-row { from { opacity: 0; transform: translateX(-16px); } }
@keyframes lt-pop { from { opacity: 0; transform: scale(0); } }
@keyframes lt-shine { 0%, 70% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes lt-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); } 100% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); } }
@media (prefers-reduced-motion: reduce) { .ladder-tbl thead th.t3::after, .ladder-tbl thead th.here em { animation: none; } .ladder-tbl .mk, .ladder-tbl thead th { transition: none; } }
.club-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; counter-reset: s; }
.club-steps li { border: 1px solid var(--line-strong); border-radius: 12px; padding: 16px; counter-increment: s; }
.club-steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--purple); color: #fff; font-weight: 800; margin-bottom: 8px; }
.club-steps b { display: block; margin-bottom: 4px; }
.draft-banner { border: 2px dashed #c62828; color: #c62828; padding: 10px 14px; border-radius: 10px; font-weight: 700; margin: 12px 0 20px; }

/* Underground gear for a non-member: no buy button, a locked box saying how to get in */
.club-lock { border: 2px solid var(--ug); border-radius: 12px; padding: 16px; margin-bottom: 16px; background: rgba(196,216,22,.1); }
.club-lock p { margin: 0 0 8px; }
.club-lock .club-lock-h { font-weight: 800; font-size: 18px; display: flex; gap: 8px; align-items: center; }
.club-lock .club-lock-acts { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 0; }
.ladder-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }

/* Underground: spend your points (Underground page, account page) and the reward picker at checkout */
.redeem-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border: 1px solid var(--ug-deep); border-radius: 12px; overflow: hidden; margin: 0 0 12px; }
.redeem-strip div { display: flex; align-items: baseline; justify-content: center; gap: 8px; padding: 12px; background: rgba(196,216,22,.1); }
.redeem-strip div + div { border-left: 1px solid var(--ug-deep); }
.redeem-strip span { color: var(--muted); font-weight: 600; }
.redeem-strip b { font-size: 22px; font-weight: 800; }
.reward-pick { display: grid; gap: 6px; margin: 8px 0; }
.reward-pick label { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 8px; cursor: var(--cur-hand, pointer); }
.reward-pick label.off { opacity: .5; cursor: not-allowed; }
.reward-pick label small { color: var(--muted); margin-left: auto; }

/* ---------- Heavy Relics: the four parts (Records, Radio, TV, Underground), each in its badge colour ---------- */
:root { --rec: #9014bc; --rec-text: #cfa0f2; --radio: #d42019; --radio-text: #ff7166; --tv: #d4a000; --tv-text: #f2c94c; }
.fam-records { --fam: var(--rec); --fam-text: var(--rec-text); }
.fam-radio, .ff-radio { --fam: var(--radio); --fam-text: var(--radio-text); }
.fam-tv, .ff-tv { --fam: var(--tv); --fam-text: var(--tv-text); }
.fam-underground, .ff-underground { --fam: var(--ug); --fam-text: var(--ug); }
.ff-records { --fam: var(--rec); --fam-text: var(--rec-text); } .ff-heavy-relics { --fam: var(--bone); --fam-text: var(--bone); }
/* the thin bar above the shop's header */
.family { background: #050406; border-bottom: 1px solid var(--line); font-size: 13px; }
.family-in { display: flex; align-items: center; gap: 18px; min-height: 34px; overflow-x: auto; scrollbar-width: none; }
.family-in::-webkit-scrollbar { display: none; }
.family-home { display: inline-flex; align-items: center; gap: 7px; font: 400 12px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--bone); text-decoration: none; white-space: nowrap; }
.family-home img { width: 22px; height: 22px; border-radius: 50%; }
.family ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.family .fam { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; color: #d8d0e0; text-decoration: none; font-weight: 600; white-space: nowrap; }
.family .fam::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--fam); }
.family .fam:hover, .family .fam[aria-current] { color: var(--fam-text); background: rgba(255, 255, 255, .06); }
/* the menu on the Heavy Relics home, Radio and TV pages: the four parts */
.nav-family > li > a.fam { display: flex; align-items: center; gap: 9px; }
.nav-family > li > a.fam img { width: 30px; height: 30px; border-radius: 50%; }
.nav-family > li > a.fam:hover, .nav-family > li > a.fam[aria-current] { border-color: var(--fam); color: var(--fam-text); }
/* footer: every badge */
.footer-family { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 3vw, 36px); padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.ff { display: grid; justify-items: center; gap: 8px; text-decoration: none; color: var(--muted); font: 400 13px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.ff img { width: 88px; height: 88px; border-radius: 50%; transition: transform .2s, box-shadow .2s; }
.ff:hover { color: var(--fam-text); } .ff:hover img { transform: translateY(-3px) rotate(-3deg); box-shadow: 0 0 0 2px var(--fam), 0 10px 26px rgba(0, 0, 0, .5); }
@media (max-width: 560px) { .ff img { width: 64px; height: 64px; } .ff { font-size: 11px; } }
/* Heavy Relics home (index.html) */
.hub-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse 55% 75% at 22% 50%, #2a2530 0%, #141117 50%, var(--ink) 80%); }
.hub-hero-in { --hub-pad: clamp(40px, 6vw, 84px); position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding-top: var(--hub-pad); padding-bottom: var(--hub-pad); }
/* the moving logo (hub-logo.js): drifts and tilts toward the cursor, spins like a record when clicked, floats on touch screens */
.hub-logo { display: grid; place-items: center; perspective: 900px; }
.hub-logo-move { position: relative; border-radius: 50%; will-change: transform; }
.hub-badge { display: block; width: clamp(180px, 28vw, 380px); height: auto; border-radius: 50%; box-shadow: 0 0 0 1px rgba(236, 230, 220, .12), 0 24px 60px rgba(0, 0, 0, .6);
  transition: transform 1.2s cubic-bezier(.2, .75, .2, 1); }
.hub-glare { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--gx, 35%) var(--gy, 30%), rgba(255, 255, 255, .3), rgba(255, 255, 255, .06) 30%, transparent 55%); mix-blend-mode: overlay; }
.hub-logo.is-on .hub-glare { opacity: 1; }
.hub-logo.can-spin .hub-badge { cursor: var(--cur-hand, pointer); }
.hub-logo.is-floating .hub-logo-move { animation: hero-float 6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .hub-logo.is-floating .hub-logo-move { animation: none; } }
.hub-hero h1, .part-hero h1 { font-size: clamp(36px, 7vw, 88px); line-height: .95; margin: 0 0 16px; color: var(--bone); }
.hub-hero .eyebrow { color: var(--bone); opacity: .8; }
.hub-hero .lede, .part-hero .lede { color: #d9d2e0; }
.hub-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 0; }
.hub-parts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
/* the four boxes get a little more room than the rest of the page so UNDERGROUND fits on one line at full size;
   on in-between widths (4 across, under ~1320px) the heading eases down with its box instead of splitting the word */
.wrap.hub-parts { max-width: 1320px; }
@media (min-width: 1001px) { .hub-parts .part { container-type: inline-size; } .hub-parts .part h2 { font-size: clamp(16px, min(1.9vw, 9.8cqi), 25px); } }
/* the moving purple glow behind the four boxes (assets/js/hub-noise.js); cards go a little see-through over it */
.hub-parts-sec { position: relative; overflow: hidden; isolation: isolate; }
.hub-noise { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: .95; }
.hub-parts-sec .part { background: color-mix(in srgb, var(--surface) 80%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.part { display: grid; align-content: start; justify-items: start; gap: 10px; padding: 22px; border-radius: 14px; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--fam); transition: transform .2s, box-shadow .2s, border-color .2s; }
.part img { width: 120px; height: 120px; border-radius: 50%; margin-bottom: 4px; transition: transform .25s; }
.part h2 { font: 400 clamp(19px, 1.9vw, 25px)/1 var(--display); overflow-wrap: anywhere; text-transform: uppercase; margin: 0; color: var(--fam-text); }
.part p { margin: 0; color: var(--muted); font-size: 15px; }
/* the "Shop records →" line is drawn as a button in the part's colour (the whole box is the link) */
.part-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 10px 18px; border-radius: var(--r); font-weight: 700; font-size: 15px; line-height: 1.2;
  background: var(--fam); color: var(--fam-on, #fff); border: 1px solid var(--fam); transition: filter .15s, box-shadow .15s; }
.fam-tv .part-go, .fam-underground .part-go { --fam-on: var(--ink); }
.part:hover .part-go, .part:focus-visible .part-go { filter: brightness(1.15); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fam) 35%, transparent); }
@media (min-width: 641px) { .part { grid-template-rows: auto auto auto 1fr; } .part-go { align-self: end; } }
.part:hover, .part:focus-visible { transform: translateY(-3px); border-color: var(--fam); box-shadow: 0 14px 34px rgba(0, 0, 0, .45); color: var(--text); }
.part:hover img { transform: rotate(-5deg) scale(1.04); }
@media (max-width: 1000px) { .hub-parts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .hub-hero-in { grid-template-columns: 1fr; justify-items: start; } .hub-parts { grid-template-columns: 1fr; }
  .part { grid-template-columns: 84px 1fr; column-gap: 16px; } .part img { width: 84px; height: 84px; grid-row: span 3; } }
/* a part's own page (Radio, TV): its badge and colour */
.part-hero { position: relative; overflow: hidden; border-bottom: 3px solid var(--fam);
  background: radial-gradient(ellipse 50% 80% at 20% 50%, color-mix(in srgb, var(--fam) 22%, #141117) 0%, #121015 55%, var(--ink) 85%); }
.part-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 5vw, 60px); align-items: center; padding-top: clamp(36px, 6vw, 76px); padding-bottom: clamp(36px, 6vw, 76px); }
.part-badge, .part-logo .hub-badge { width: clamp(160px, 22vw, 260px); max-width: none; height: auto; border-radius: 50%; box-shadow: 0 20px 50px rgba(0, 0, 0, .55); }
.part-logo { justify-self: start; }
.part-hero .eyebrow { color: var(--fam-text); }
@media (max-width: 640px) { .part-hero-in { grid-template-columns: 1fr; } }
/* Heavy Relics TV: video cards (Shorts stand tall, 9:16) */
.tv-eyebrow { color: var(--tv-text); }
.tv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.tv-card h3 { font-size: 15px; line-height: 1.35; margin: 10px 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tv-card p { margin: 0; font-size: 13px; color: var(--faint); }
.tv-card p a { color: var(--tv-text); white-space: nowrap; }
.tv-play, .tv-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; border: 1px solid var(--line); padding: 0; cursor: var(--cur-hand, pointer); }
.tv-card.short .tv-play, .tv-card.short .tv-frame { aspect-ratio: 9 / 16; }
.tv-play img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s, filter .3s; }
.tv-play:hover img, .tv-play:focus-visible img { transform: scale(1.04); filter: brightness(1.08); }
.tv-btn { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--tv); box-shadow: 0 6px 20px rgba(0, 0, 0, .5); transition: transform .2s; }
.tv-btn svg { width: 26px; height: 26px; fill: #1a1205; margin-left: 3px; }
.tv-play:hover .tv-btn { transform: scale(1.1); }
.tv-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tv-note { margin-top: 28px; border-left: 4px solid var(--ug); }
.tv-note a { color: var(--ug); }
@media (max-width: 480px) { .tv-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .tv-btn { width: 46px; height: 46px; } }
/* Heavy Relics Radio (coming soon) */
.radio-player { display: inline-flex; align-items: center; gap: 14px; margin-top: 24px; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(0, 0, 0, .35); }
.radio-player small { display: block; color: var(--muted); font-size: 13px; }
.radio-dot { width: 14px; height: 14px; border-radius: 50%; background: #5a5560; box-shadow: 0 0 0 4px rgba(212, 32, 25, .18); }
.radio-what { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; }
.radio-what h2 { font-size: clamp(22px, 3vw, 32px); margin: 0 0 12px; }
.radio-what .ticks li::before { color: var(--radio-text); }
.radio-signup { border-color: var(--radio); box-shadow: 0 0 30px rgba(212, 32, 25, .25); }
.radio-signup input:focus { border-color: var(--radio-text); }
.radio-signup-lede { margin: 0; font-size: 15px; color: var(--muted); } .radio-signup-lede b { color: var(--text); } .radio-signup-lede a { color: var(--radio-text); }
.radio-signup > .btn-ug { margin-top: 16px; }
.btn-ug { background: var(--ug); color: var(--ug-ink); border-color: var(--ug-deep); } .btn-ug:hover, .btn-ug:focus-visible { background: var(--ug-hi); color: var(--ug-ink); }
@media (max-width: 760px) { .radio-what { grid-template-columns: 1fr; } }

/* Clothing rail (assets/js/rail.js): the Underground Shop's tees and hoodies on a rail, styled after the original React
   component. Sizes come from JS: --rail-w/--rail-h one piece, --rail-y/--rail-r the rail's centre and radius,
   --rail-top where the drawings start, --rail-blur the cast shadow's softness. */
.clothes-rail { position: relative; margin: 8px 0 18px; padding-top: 28px; border-radius: 12px; overflow: hidden; color: #16131a;
  background: radial-gradient(120% 70% at 18% 0%, rgba(22,19,26,.06), transparent 62%), linear-gradient(180deg, #f3efe8, #ece6dc 60%, #e3dcd0); }
.rail-head { display: grid; justify-items: center; gap: 6px; padding: 0 24px; text-align: center; }
.rail-eyebrow { margin: 0; font: 600 11px/1.4 var(--mono); letter-spacing: .28em; text-transform: uppercase; color: #6b6474; }
.rail-head h2 { margin: 0; font: 400 clamp(22px, 3vw, 30px)/1.1 var(--display); text-transform: uppercase; }
.rail-stage { position: relative; margin-top: 20px; width: 100%; overflow-x: clip; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.rail-stage.is-dragging { cursor: grabbing !important; }
.rail-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.rail-pole { position: absolute; left: 0; right: 0; z-index: 0; top: calc(var(--rail-y) - var(--rail-r)); height: calc(var(--rail-r) * 2); pointer-events: none; }
.rail-pole-shadow { position: absolute; left: 0; right: 0; top: calc(var(--rail-r) * 2 + 1px); height: 12px; border-radius: 99px; background: rgba(22,19,26,.1); filter: blur(5px); }
.rail-pole-bar { position: absolute; inset: 0; border-radius: 99px; box-shadow: 0 1px 0 rgba(22,19,26,.18);
  background: linear-gradient(180deg, #d6d3d9 0%, #fff 18%, #bdb9c1 38%, #8b8792 62%, #4f4b55 100%); }
.rail-pole-bar::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: .4; mix-blend-mode: overlay;
  background: repeating-linear-gradient(90deg, transparent 0 2px, rgba(255,255,255,.4) 2px 3px, transparent 3px 7px); }
.rail-pole-end { position: absolute; top: 50%; left: 6px; width: 16px; height: 28px; transform: translateY(-50%); border-radius: 3px;
  background: linear-gradient(90deg, #bdb9c1, #8b8792 55%, #55515b); box-shadow: 0 3px 6px rgba(22,19,26,.18); }
.rail-pole-end.is-right { left: auto; right: 6px; }
.rail-pole-end::before, .rail-pole-end::after { content: ""; position: absolute; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: rgba(22,19,26,.35); }
.rail-pole-end::before { top: 4px; } .rail-pole-end::after { bottom: 4px; }
.rail-slot { position: absolute; left: 0; top: var(--rail-top); width: var(--rail-w); height: var(--rail-h); padding: 0; border: 0; border-radius: 12px;
  background: none; color: inherit; pointer-events: none; will-change: transform; }
.rail-slot:focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; }
.rail-swing, .rail-castwrap, .rail-cast, .rail-side, .rail-turn, .rail-drape, .rail-shade { position: absolute; inset: 0; display: block; }
.rail-swing { transform-origin: 50% calc(4 / 310 * 100%); }
.rail-castwrap { pointer-events: none; filter: blur(var(--rail-blur, 6px)); }
.rail-cast { background: #000; opacity: .16; }
.rail-cast, .rail-shade { -webkit-mask-position: top center; mask-position: top center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.rail-cast.is-photo, .rail-shade.is-photo { top: 8%; }
.rail-turn { border-radius: 8px; transform-style: preserve-3d; }
.rail-drape { transform-origin: top; transform: skewX(var(--drape, 0deg)); }
.rail-shade { background: #000; opacity: var(--shade, .2); pointer-events: none; }
.rail-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rail-matte { color: rgba(22, 19, 26, .85); }
.rail-photo { position: absolute; inset: 8% 0 0; width: 100%; height: 92%; object-fit: contain; object-position: top; pointer-events: none; user-select: none; }
.rail-photo.is-full { inset: 0; height: 100%; }
.rail-print { position: absolute; height: auto; pointer-events: none; opacity: .94; filter: saturate(.9) contrast(1.02); }
.rail-tag { position: absolute; left: 50%; top: calc(32 / 310 * 100%); transform-origin: top; transform: rotate(-12deg); pointer-events: none; }
.rail-tag-cord { display: block; width: 1px; height: 14px; transform: translateX(3px); background: rgba(22,19,26,.35); }
.rail-tag-card { position: relative; display: block; transform: translateX(calc(-50% + 3px)); padding: 8px 6px 4px; white-space: nowrap;
  border: 1px solid rgba(22,19,26,.1); border-radius: 3px; background: #fff; color: #16131a; font: 600 10px/1 var(--body); letter-spacing: .03em;
  box-shadow: 0 2px 6px rgba(22,19,26,.18); }
.rail-tag-card::before { content: ""; position: absolute; left: 50%; top: 3px; width: 3px; height: 3px; margin-left: -1.5px; border-radius: 50%; background: rgba(22,19,26,.3); }
.rail-dots { position: relative; z-index: 1; display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
.rail-dots[hidden] { display: none; }
.rail-dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 99px; background: rgba(22,19,26,.25); cursor: var(--cur-hand, pointer); transition: width .3s, background-color .3s; }
.rail-dots button:hover { background: rgba(22,19,26,.45); }
.rail-dots button[aria-current="true"] { width: 24px; background: #16131a; }
.rail-dots button:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.rail-foot { position: relative; z-index: 1; display: grid; justify-items: center; gap: 16px; padding: 16px 24px 28px; text-align: center; }
.rail-caption { min-height: 3.25rem; }
.rail-caption p { margin: 0; animation: rail-fade .3s ease; }
.rail-cap-name { font-size: 14px; font-weight: 600; }
.rail-cap-desc { max-width: 42ch; margin: 4px auto 0 !important; font-size: 13px; line-height: 1.6; color: #5c5566; }
@keyframes rail-fade { from { opacity: 0; } }

/* the detail view: full screen over a frosted backdrop */
.rail-dialog { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 24px; border: 0;
  background: transparent; color: #16131a; overflow-y: auto; }
.rail-dialog[open] { display: flex; align-items: center; justify-content: center; }
.rail-dialog::backdrop { background: transparent; }
.rail-dlg-back { position: fixed; inset: 0; background: rgba(243,239,232,.9); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); opacity: 0; transition: opacity .3s; }
.rail-dlg-close { position: fixed; top: 20px; right: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 0; border-radius: 99px;
  background: none; font: 600 12px var(--body); letter-spacing: .04em; color: #5c5566; cursor: var(--cur-hand, pointer); opacity: 0; transition: opacity .3s, color .2s; }
.rail-dlg-close svg { width: 14px; height: 14px; }
.rail-dlg-close:hover { color: #16131a; }
.rail-dlg-close:focus-visible { outline: 2px solid var(--purple); }
.rail-dialog.is-shown .rail-dlg-back, .rail-dialog.is-shown .rail-dlg-close { opacity: 1; }
.rail-dlg-grid { position: relative; display: grid; align-items: center; gap: 40px; width: 100%; max-width: 1024px; padding-top: 40px; }
.rail-dlg-fig { position: relative; margin: 0 auto; height: min(62vh, 560px); max-height: 100%; aspect-ratio: 200 / 310; transform-origin: top; }
.rail-dlg-rod { position: absolute; left: 50%; top: calc(-40vh + 4 / 310 * 100%); width: 3px; height: 40vh; margin-left: -1.5px; border-radius: 99px;
  background: linear-gradient(90deg, #d6d3d9, #8b8792, #4f4b55); }
.rail-dlg-turn { position: absolute; inset: 0; perspective: 1400px; cursor: grab; touch-action: pan-y; }
.rail-dlg-turn:active { cursor: grabbing; }
.rail-dlg-spin { position: absolute; inset: 0; transform-style: preserve-3d; }
.rail-dlg-face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.rail-dlg-face.is-back { transform: rotateY(180deg); }
.rail-dlg-text { display: grid; justify-items: center; gap: 14px; text-align: center; opacity: 0; transform: translateY(8px); transition: opacity .5s .15s, transform .5s .15s; }
.rail-dialog.is-shown .rail-dlg-text { opacity: 1; transform: none; }
.rail-dlg-text p { margin: 0; }
.rail-dlg-count { font: 500 11px var(--mono); letter-spacing: .2em; color: #6b6474; }
.rail-dlg-text h2 { margin: 0; font: 400 clamp(24px, 3vw, 32px)/1.1 var(--display); text-transform: uppercase; }
.rail-dlg-text .price { font-size: 18px; }
.rail-dlg-desc { font-size: 14px; line-height: 1.6; color: #5c5566; }
.rail-dlg-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rail-dlg-pills li { padding: 4px 12px; border: 1px solid rgba(22,19,26,.15); border-radius: 99px; font-size: 12px; color: #5c5566; }
.rail-dlg-flip { display: inline-flex; gap: 24px; margin-top: 4px; }
.rail-dlg-flip button { position: relative; padding: 0 0 6px; border: 0; background: none; font: 500 14px var(--body); color: #6b6474; cursor: var(--cur-hand, pointer); }
.rail-dlg-flip button:hover, .rail-dlg-flip button[aria-pressed="true"] { color: #16131a; }
.rail-dlg-flip button span { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #16131a; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.rail-dlg-flip button[aria-pressed="true"] span { transform: scaleX(1); }
.rail-dlg-flip button:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
@media (min-width: 768px) {
  .rail-dlg-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); }
  .rail-dlg-text { justify-items: start; text-align: left; }
  .rail-dlg-pills { justify-content: flex-start; }
}
@media (max-width: 767px) { .rail-dlg-fig { height: min(50vh, 440px); } .rail-dlg-grid { gap: 24px; } }
@media (prefers-reduced-motion: reduce) {
  .rail-caption p { animation: none; }
  .rail-dots button, .rail-dlg-back, .rail-dlg-close, .rail-dlg-text, .rail-dlg-flip button span { transition: none; }
}
