/* 808 Dubs: Groove brand. Palette and type per assets/brand-guide.md */
:root {
  --onyx: #0B0A08;
  --onyx-2: #141210;
  --onyx-3: #1C1915;
  --gold: #C9A24C;
  --champagne: #EAD7A4;
  --antique: #8A6A2E;
  --ivory: #F4EEE2;
  --metal: linear-gradient(180deg, #E2C47E 0%, #C9A24C 50%, #A9843A 100%);
  --display: "Michroma", "Jost", system-ui, sans-serif;
  --body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--onyx);
  color: var(--ivory);
  font-family: var(--body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--champagne); }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--onyx); padding: 10px 16px; border-radius: 8px;
  font-weight: 500; text-decoration: none;
}
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 10, 8, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 162, 76, 0.16);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.brand img { width: 132px; height: auto; } /* small-size lockup: 120-240px */
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--champagne); text-decoration: none;
  font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.22em; text-transform: uppercase;
}
.nav-links a:hover { color: var(--gold); }
.nav-links .nav-cta {
  border: 1px solid var(--gold); color: var(--gold); padding: 9px 18px; border-radius: 999px;
}
.nav-links .nav-cta:hover { background: var(--gold); color: var(--onyx); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px; border-radius: 999px;
  font-family: var(--body); font-weight: 500; font-size: 0.875rem;
  letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--metal); color: var(--onyx); }
.btn--ghost { border-color: rgba(234, 215, 164, 0.5); color: var(--champagne); }
.btn--ghost:hover { border-color: var(--champagne); }
.btn--onyx { background: var(--onyx); color: var(--champagne); }

/* ---------- Labels / display type ---------- */
.label, .eyebrow {
  font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.label::before { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 14px; }
.label--dark { color: var(--onyx); }
.display {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.6vw, 3rem);
  line-height: 1.15; letter-spacing: 0.01em;
  color: var(--champagne);
  margin-bottom: 28px;
}
.lead { font-size: 1.3125rem; font-weight: 400; color: var(--ivory); line-height: 1.5; }

/* ---------- Vinyl accent (decorative, CSS only) ---------- */
.vinyl {
  position: absolute; border-radius: 50%;
  background:
    radial-gradient(circle, var(--onyx) 0 1.6%, transparent 1.7%),
    radial-gradient(circle, var(--gold) 0 15%, transparent 15.3%),
    repeating-radial-gradient(circle, transparent 0 5px, rgba(201, 162, 76, 0.22) 5px 6px),
    radial-gradient(circle, #15130f 0 69%, #0f0d0b 70%);
  box-shadow: inset 0 0 0 2px rgba(201, 162, 76, 0.35);
}
.vinyl::after { /* light sheen so the rotation reads */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 20deg, transparent 0 8%, rgba(234, 215, 164, 0.10) 12%, transparent 18% 50%, rgba(234, 215, 164, 0.08) 62%, transparent 68%);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: min(88vh, 820px);
  display: grid; place-items: center;
  padding: 72px 0 88px;
  background:
    radial-gradient(60% 50% at 50% 40%, rgba(201, 162, 76, 0.10), transparent 70%),
    var(--onyx);
}
.vinyl--hero {
  width: 760px; height: 760px; right: -260px; top: 50%; margin-top: -380px;
  opacity: 0.55;
  animation: spin 24s linear infinite;
}
.vinyl--hero .tonearm { display: none; }
.hero-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: min(560px, 82vw); height: auto; margin: 0 auto 40px; padding: 0 4%; }
.hero .eyebrow { color: var(--gold); }
.tagline {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 1.875rem);
  line-height: 1.45; color: var(--ivory); margin-bottom: 40px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden; background: var(--gold); color: var(--onyx);
  border-block: 1px solid var(--antique);
}
.ticker-track {
  display: flex; width: max-content;
  animation: ticker 38s linear infinite;
}
.ticker span {
  font-family: var(--display); font-size: 0.875rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 16px 0; white-space: nowrap;
}
.ticker span::after { content: "●"; font-size: 0.5rem; vertical-align: middle; margin: 0 28px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }

.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.about-copy p:not(.lead) { color: rgba(244, 238, 226, 0.82); max-width: 58ch; }
.pill-list { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li {
  border: 1px solid rgba(201, 162, 76, 0.45); color: var(--champagne);
  border-radius: 999px; padding: 6px 16px;
  font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase;
}

.services { background: var(--onyx-2); border-block: 1px solid rgba(201, 162, 76, 0.12); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  position: relative; background: var(--onyx-3);
  border: 1px solid rgba(201, 162, 76, 0.18); border-radius: var(--radius);
  padding: 32px 26px 28px;
  transition: border-color .25s ease, transform .25s ease;
}
.card:hover { border-color: rgba(201, 162, 76, 0.6); transform: translateY(-4px); }
.card-icon { width: 44px; height: 44px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; }
.card-num { position: absolute; top: 28px; right: 24px; font-family: var(--display); font-size: 0.8125rem; color: rgba(201, 162, 76, 0.75); }
.card h3 {
  font-weight: 500; font-size: 1rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--champagne); margin-bottom: 12px; line-height: 1.4;
}
.card p { color: rgba(244, 238, 226, 0.78); margin: 0; font-size: 1rem; }

/* ---------- Releases (coming soon) ---------- */
.releases { background: var(--gold); color: var(--onyx); }
.releases .display { color: var(--onyx); }
.releases-copy p:not(.label) { font-size: 1.25rem; font-weight: 400; max-width: 34ch; margin-bottom: 32px; }
.releases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.crate { position: relative; height: 340px; }
.sleeve {
  position: absolute; width: 260px; height: 260px; border-radius: 6px;
  background: var(--onyx); overflow: hidden;
  display: flex; align-items: flex-end; padding: 18px;
}
.sleeve span {
  position: relative; z-index: 2;
  font-family: var(--display); font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--champagne);
}
.sleeve--1 { left: 0; top: 50px; transform: rotate(-7deg); background: #1a1712; }
.sleeve--3 { right: 0; top: 30px; transform: rotate(6deg); background: #221d15; }
.sleeve--2 { left: 50%; top: 20px; margin-left: -130px; z-index: 3; border: 1px solid rgba(234, 215, 164, 0.25); }
.vinyl--sleeve { width: 340px; height: 340px; left: -40px; top: -150px; opacity: 0.9; animation: spin 18s linear infinite; }


/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid rgba(201, 162, 76, 0.16); padding: 36px 0; }
.footer-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-inner p { margin: 0; font-size: 0.9375rem; color: rgba(244, 238, 226, 0.75); }
.footer-inner .endorse {
  margin-left: auto; font-weight: 400; font-size: 0.8125rem; letter-spacing: 0.1em;
  color: rgba(234, 215, 164, 0.7);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .crate { height: 300px; max-width: 420px; width: 100%; margin-inline: auto; }
  .sleeve { width: 210px; height: 210px; }
  .sleeve--2 { margin-left: -105px; }
  .vinyl--sleeve { width: 280px; height: 280px; top: -120px; }
}
@media (max-width: 640px) {
  .nav-links { gap: 16px; }
  .nav-links li:nth-child(n+3) { display: none; }
  .hero { min-height: auto; padding: 64px 0 72px; }
  .vinyl--hero { width: 520px; height: 520px; right: -300px; margin-top: -260px; opacity: 0.4; }
  .cards { grid-template-columns: 1fr; }
  .lead { font-size: 1.1875rem; }
  .crate { height: 260px; }
  .sleeve { width: 170px; height: 170px; }
  .sleeve--2 { margin-left: -85px; }
  .vinyl--sleeve { width: 230px; height: 230px; top: -100px; left: -30px; }
  .footer-inner .endorse { margin-left: 0; width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vinyl, .ticker-track { animation: none !important; }
  .btn, .card { transition: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* refinements after screenshot review */
@media (max-width: 640px) {
  .crate { max-width: 300px; height: 220px; }
}

.invite { margin: 20px 0 0; font-size: 0.75rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--antique-gold, #8A6A2E); }

/* ---------- Music & live sets ---------- */
.music { background: var(--gold); color: var(--onyx); }
.music .display { color: var(--onyx); }
.sets { background: var(--onyx-2); }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 40px; }
.media-grid:empty, .featured:empty { display: none; }
.featured { margin-top: 40px; }
.media-card { background: var(--onyx-3); color: var(--ivory); border: 1px solid rgba(201,162,76,0.25); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.media-art { width: 100%; aspect-ratio: 1; object-fit: cover; }
.media-play:empty { display: none; }
.media-play audio { width: 100%; display: block; accent-color: var(--gold); padding: 14px 14px 0; }
.embed { width: 100%; border: 0; display: block; }
.embed--video { aspect-ratio: 16 / 9; height: auto; }
.embed--audio { height: 166px; }
.media-meta { padding: 18px 20px 22px; }
.media-meta h3 { margin: 0 0 4px; font-weight: 500; font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--champagne); }
.media-meta time { font-size: 0.875rem; color: rgba(244,238,226,0.6); }
.media-meta p { margin: 8px 0 0; font-size: 0.9375rem; color: rgba(244,238,226,0.8); }
.media-card--big .media-meta h3 { font-size: 1.25rem; }
.empty { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 40px; }
.empty[hidden] { display: none; }
.empty h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.25rem, 2.4vw, 1.75rem); margin: 0 0 12px; color: var(--champagne); }
.empty p { margin: 0; font-size: 1.125rem; max-width: 34ch; color: rgba(244,238,226,0.8); }
.empty--gold h3 { color: var(--onyx); }
.empty--gold p { color: var(--onyx); font-weight: 400; }
.empty .vinyl--empty { position: relative; width: 260px; height: 260px; margin-inline: auto; animation: spin 18s linear infinite; }
@media (max-width: 860px) {
  .empty { grid-template-columns: 1fr; gap: 32px; }
  .media-grid { grid-template-columns: 1fr; }
}
