/* ==========================================================================
   Club Copy — shared design system
   Warm editorial ground + Y2K-modern glass: frosted panels, soft blur,
   hairline edges, precise type.
   ========================================================================== */

:root {
  --bg: #FAF8F5;
  --card: #FFFFFF;
  --card-solid: #FFFFFF;
  --soft: #F2F0EC;
  --line: rgba(229,227,223,.92);
  --line-hi: rgba(255,255,255,.65);
  --ink: #111111;
  --muted: #6B6862;
  --dim: #79756E;
  --fill: rgba(17,17,17,.04);
  --fill-hi: rgba(17,17,17,.07);
  --glass: rgba(255,255,255,.55);
  --glass-hi: rgba(255,255,255,.92);
  --glass-dark: rgba(17,17,17,.72);
  --blur: 22px;
  --blur-lg: 36px;
  --shadow: 0 1px 2px rgba(17,17,17,.04), 0 10px 28px rgba(17,17,17,.06);
  --shadow-lg: 0 2px 6px rgba(17,17,17,.05), 0 28px 64px rgba(17,17,17,.12);
  --radius: 6px;
  --radius-lg: 10px;
  --pill: 980px;
  --ease: cubic-bezier(.22,1,.36,1);
  --dur: 280ms;
  --display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --wrap: 1200px;
  --nav-h: 64px;
  --site-origin: https://vcrrecords.com;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(255,255,255,.9), transparent 55%),
    radial-gradient(720px 460px at 8% 12%, rgba(232,228,220,.75), transparent 50%),
    linear-gradient(180deg, #F7F4EF 0%, var(--bg) 38%, #F3F0EA 100%);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -.011em;
  font-weight: 400;
  padding-bottom: var(--safe-b);
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button {
  font-family: inherit; cursor: pointer; border: none; background: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
::selection { background: rgba(17,17,17,.12); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 10px 16px;
  font-size: 13px; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* Glass utility ------------------------------------------------------------- */
.glass {
  background: var(--glass);
  backdrop-filter: saturate(160%) blur(var(--blur));
  -webkit-backdrop-filter: saturate(160%) blur(var(--blur));
  border: 1px solid var(--line);
  box-shadow: var(--shadow), inset 0 1px 0 var(--line-hi);
}

/* Layout ------------------------------------------------------------------ */
.band { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (min-width: 800px) { .band { padding: 0 40px; } }

/* Section heads ------------------------------------------------------------ */
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding: 72px 0 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
@media (min-width: 800px) { .section-head { padding: 104px 0 36px; margin-bottom: 56px; } }
.eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 12px;
}
.section-head h1, .section-head h2 {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600; letter-spacing: -.03em; line-height: 1.04;
}
.section-head .head-link {
  font-size: 14px; font-weight: 500; color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.section-head .head-link:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* Nav — frosted glass ------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  height: calc(var(--nav-h) + var(--safe-t));
  padding-top: var(--safe-t);
  background: rgba(250,248,245,.58);
  backdrop-filter: saturate(180%) blur(var(--blur-lg));
  -webkit-backdrop-filter: saturate(180%) blur(var(--blur-lg));
  border-bottom: 1px solid transparent;
  box-shadow: inset 0 -1px 0 transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.nav.scrolled {
  background: rgba(250,248,245,.72);
  border-bottom-color: var(--line);
  box-shadow: inset 0 1px 0 var(--line-hi), 0 8px 28px rgba(17,17,17,.04);
}
.nav-inner {
  max-width: var(--wrap); margin: 0 auto; height: var(--nav-h);
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
@media (min-width: 800px) { .nav-inner { padding: 0 40px; } }
.nav-logo {
  font-size: 15px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); white-space: nowrap;
  transition: opacity var(--dur) var(--ease);
}
.nav-logo img { height: 36px; width: auto; display: block; }
@media (hover:hover) { .nav-logo:hover { opacity: .6; } }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--muted);
  letter-spacing: -.01em; border-radius: var(--pill);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-links a[aria-current="page"] { color: var(--ink); }
@media (hover:hover) { .nav-links a:hover { color: var(--ink); background: var(--fill); } }
.nav-end { display: flex; align-items: center; gap: 4px; }
.nav-cart {
  position: relative; width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--pill); color: var(--ink);
  transition: background var(--dur) var(--ease);
}
@media (hover:hover) { .nav-cart:hover { background: var(--fill); } }
.nav-cart svg { width: 20px; height: 20px; }
.nav-cart-count {
  position: absolute; top: 3px; right: 1px;
  min-width: 17px; height: 17px; padding: 0 5px;
  border-radius: var(--pill); background: var(--ink); color: #fff;
  font-size: 10px; font-weight: 600; line-height: 17px; text-align: center;
}
.nav-ham { display: none; flex-direction: column; gap: 5px; padding: 12px 10px; }
.nav-ham span {
  display: block; width: 18px; height: 1.5px; background: var(--ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-ham.on span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-ham.on span:nth-child(2) { opacity: 0; }
.nav-ham.on span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 720px) { .nav-links { display: none; } .nav-ham { display: flex; } }
.nav-scrim {
  display: none;
  position: fixed; inset: 0; z-index: 280;
  background: rgba(17,17,17,.28);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.nav-scrim.on { display: block; }
.nav-drawer {
  display: none; position: fixed;
  top: calc(var(--nav-h) + var(--safe-t)); left: 0; right: 0; z-index: 290;
  background: rgba(250,248,245,.96);
  backdrop-filter: saturate(180%) blur(var(--blur-lg));
  -webkit-backdrop-filter: saturate(180%) blur(var(--blur-lg));
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 1px 0 var(--line-hi);
  padding: 8px 24px calc(20px + var(--safe-b));
  max-height: calc(100svh - var(--nav-h) - var(--safe-t));
  overflow-y: auto;
}
.nav-drawer.on { display: block; }
.nav-drawer a {
  display: block; padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: 17px; font-weight: 500; color: var(--ink); letter-spacing: -.01em;
}
.nav-drawer a:last-child { border-bottom: none; }

/* Buttons -------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 24px; border-radius: var(--pill);
  font-size: 14px; font-weight: 500; letter-spacing: -.01em;
  transition: opacity var(--dur) var(--ease), transform 160ms var(--ease),
              background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 8px 24px rgba(17,17,17,.18); }
.btn-ghost {
  background: rgba(255,255,255,.35);
  color: var(--ink);
  border: 1px solid rgba(17,17,17,.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-soft {
  background: rgba(255,255,255,.45);
  color: var(--ink);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
@media (hover:hover) {
  .btn-dark:hover { opacity: .88; }
  .btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
  .btn-soft:hover { border-color: var(--ink); background: rgba(255,255,255,.7); }
}

/* Cards — quiet panels ------------------------------------------------------ */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: none;
  transition: border-color .4s var(--ease);
}
@media (hover:hover) {
  a.card:hover, .card.is-link:hover { border-color: rgba(17,17,17,.28); }
}
.card-art {
  background: var(--soft);
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.card-art img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
@media (hover:hover) {
  a.card:hover .card-art img, .card.is-link:hover .card-art img { transform: scale(1.025); }
}

/* Catalogue / provenance badges -------------------------------------------- */
.badge {
  display: inline-flex; align-items: center;
  height: 24px; padding: 0 10px;
  font-size: 10px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: transparent;
  white-space: nowrap;
}
.badge-ink { color: var(--ink); border-color: rgba(17,17,17,.28); }
.badge-row { display: flex; flex-wrap: wrap; gap: 6px; }

/* Trust line ---------------------------------------------------------------- */
.trust-line {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  align-items: center;
  font-size: 12px; color: var(--dim); line-height: 1.4;
  margin-top: 14px;
}
.trust-line a {
  color: var(--muted);
  text-decoration: underline; text-underline-offset: 2px;
  text-decoration-color: transparent;
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
}
@media (hover:hover) {
  .trust-line a:hover { color: var(--ink); text-decoration-color: var(--ink); }
}

/* Reveal on scroll ---------------------------------------------------------- */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* Newsletter — soft band ---------------------------------------------------- */
.newsletter {
  position: relative;
  margin-top: 96px;
  padding: 88px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(242,240,236,.55);
}
.newsletter-inner { max-width: 560px; }
.newsletter h2 {
  font-family: var(--display);
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 600; letter-spacing: -.025em; line-height: 1.1;
  margin-bottom: 10px;
}
.newsletter p { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input[type="email"] {
  flex: 1; min-width: 220px; height: 48px;
  border-radius: var(--pill); border: 1px solid var(--line);
  padding: 0 18px;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--ink); font: inherit; font-size: 15px;
  box-shadow: inset 0 1px 0 var(--line-hi);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.newsletter-form input[type="email"]:focus { outline: none; border-color: var(--ink); background: #fff; }
.newsletter-form input[type="email"]::placeholder { color: var(--dim); }
.newsletter-form button {
  height: 48px; padding: 0 26px; border-radius: var(--pill);
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 500;
  letter-spacing: -.01em;
  box-shadow: 0 8px 24px rgba(17,17,17,.16);
  transition: opacity var(--dur) var(--ease);
}
@media (hover:hover) { .newsletter-form button:hover { opacity: .84; } }

/* Footer -------------------------------------------------------------------- */
.footer {
  background: transparent;
  padding: 72px 0 calc(32px + var(--safe-b));
}
.footer-top {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  padding-bottom: 48px; margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 700px) { .footer-top { grid-template-columns: 1fr; } }
.footer-wordmark {
  font-size: 15px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-logo { width: min(150px, 42vw); height: auto; margin-bottom: 16px; }
.footer-manifesto {
  font-size: 18px; font-weight: 500; letter-spacing: -.015em; line-height: 1.4;
  color: var(--muted); max-width: 20em;
}
.footer label {
  display: block; font-size: 13px; font-weight: 500; letter-spacing: -.01em;
  color: var(--muted); margin-bottom: 10px;
}
.footer-form { display: flex; gap: 8px; }
.footer-form input[type="email"] {
  flex: 1; height: 46px; border-radius: var(--pill); border: 1px solid var(--line);
  padding: 0 16px;
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--ink); font: inherit;
  box-shadow: inset 0 1px 0 var(--line-hi);
  transition: border-color var(--dur) var(--ease);
}
.footer-form input[type="email"]:focus { outline: none; border-color: var(--ink); background: #fff; }
.footer-form input[type="email"]::placeholder { color: var(--dim); }
.footer-form button {
  height: 46px; padding: 0 20px; border-radius: var(--pill);
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 500;
  letter-spacing: -.01em;
  transition: opacity var(--dur) var(--ease);
}
@media (hover:hover) { .footer-form button:hover { opacity: .84; } }
.footer-note { font-size: 12px; color: var(--dim); margin-top: 10px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 12px; color: var(--dim); letter-spacing: -.01em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px; }
.footer-links a {
  font-size: 13px; font-weight: 500; color: var(--muted);
  padding: 6px 10px; border-radius: var(--pill); letter-spacing: -.01em;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
@media (hover:hover) { .footer-links a:hover { background: var(--fill); color: var(--ink); } }

/* Reduced motion -------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}

/* Soften blur on low-power / no-backdrop environments ---------------------- */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav, .nav-drawer, .card, .newsletter, .btn-ghost, .btn-soft,
  .newsletter-form input[type="email"], .footer-form input[type="email"] {
    background: rgba(255,255,255,.92);
  }
}
