/* ==================== SHARED STYLES ==================== */
:root {
  --accent-hue: 190;
  --accent: oklch(0.82 0.18 var(--accent-hue));
  --accent-deep: oklch(0.55 0.22 var(--accent-hue));
  --accent-soft: oklch(0.92 0.08 var(--accent-hue));
  --bg: #050507;
  --bg-2: #0a0a0d;
  --fg: #f2f2f5;
  --fg-dim: #9a9aa0;
  --line: #1c1c22;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--fg); font-family: 'Space Grotesk', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

/* ============ TICKER ============ */
.ticker {
  position: sticky; top: 0; z-index: 60;
  background: var(--accent);
  color: #000;
  border-bottom: 1px solid rgba(0,0,0,0.25);
  overflow: hidden;
  height: 40px;
  display: flex; align-items: center;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 26s linear infinite;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.ticker-track .item { display: inline-flex; align-items: center; padding: 0 4px; }
.ticker-track .arrow { display: inline-block; padding: 0 4px; opacity: 0.85; }
@keyframes ticker-scroll {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* ============ NAV ============ */
.nav {
  position: sticky; top: 40px; z-index: 55;
  background: rgba(5,5,7,0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr minmax(260px, auto) 1fr;
  align-items: center;
  padding: 16px 28px;
  gap: 16px;
}
.nav-left {
  grid-column: 1;
  display: flex; gap: 18px; align-items: center; justify-content: flex-start;
  overflow: hidden;
  min-width: 0;
}
.nav-right {
  grid-column: 3;
  display: flex; gap: 18px; align-items: center; justify-content: flex-end;
  overflow: hidden;
  min-width: 0;
}
.nav-left, .nav-right {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.nav-left a, .nav-right a { position: relative; padding: 4px 0; transition: color 0.2s; white-space: nowrap; }
.nav-left a:hover, .nav-right a:hover, .nav-left a.active, .nav-right a.active { color: var(--accent); }
.nav-left a.active::after, .nav-right a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--accent);
}

.wordmark {
  grid-column: 2;
  justify-self: center;
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #d9dde3 40%, #6b7078 60%, #c7ccd4 80%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(255,255,255,0.15);
  white-space: nowrap;
  padding: 4px 8px;
  display: inline-block;
  min-width: 260px;
}
.wordmark .dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  margin: 0 2px 4px 2px;
  vertical-align: middle;
  box-shadow: 0 0 12px var(--accent);
}

.nav-icons { display: flex; gap: 14px; align-items: center; margin-left: 14px; flex-shrink: 0; }
.nav-icons .icon {
  width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center;
  opacity: 0.85; cursor: pointer; transition: opacity 0.2s;
}
.nav-icons .icon:hover { opacity: 1; color: var(--accent); }
.lang { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.9; white-space: nowrap; }
.lang .active { border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ============ SECTION HEAD ============ */
.section { padding: 80px 28px; border-top: 1px solid var(--line); position: relative; }
.section-head {
  display: block;
  margin-bottom: 40px;
  position: relative;
}
.section-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.section-eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); }
.section-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(44px, 6.2vw, 96px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #d9dde3 40%, #6b7078 62%, #c7ccd4 82%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  display: inline-block;
  padding: 0.04em 0.12em 0.08em 0;
}
.section-sub {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; color: var(--fg-dim);
  max-width: 44ch;
  margin-top: 18px;
}
@media (min-width: 861px) {
  .section-head { padding-right: 400px; }
  .section-head .section-sub {
    position: absolute; right: 0; bottom: 0; margin-top: 0; width: 360px;
  }
}

/* ============ NEWSLETTER ============ */
.newsletter {
  background: var(--accent);
  color: #000;
  padding: 30px 28px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 32px;
  align-items: center;
  border-top: 1px solid rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(0,0,0,0.2);
}
@media (max-width: 800px) { .newsletter { grid-template-columns: 1fr; } }
.newsletter .n-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 14px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.newsletter .field {
  display: flex; align-items: center;
  border-bottom: 1px solid #000;
  min-width: 280px;
}
.newsletter input {
  background: transparent; border: 0; outline: 0;
  padding: 10px 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px; color: #000; width: 100%;
}
.newsletter input::placeholder { color: rgba(0,0,0,0.5); }
.newsletter .submit {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: transparent; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid transparent;
}
.newsletter .submit:hover { border-bottom-color: #000; }

/* ============ BIG WORDMARK ============ */
.big-wordmark {
  padding: 50px 28px 60px;
  text-align: center;
  overflow: hidden;
  background: #000;
}
.big-wordmark h1 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(80px, 20vw, 300px);
  line-height: 0.85;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, #ffffff 0%, #d9dde3 30%, #5b5e64 52%, #c7ccd4 74%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: 0 0 80px rgba(255,255,255,0.08);
}

/* ============ FOOTER ============ */
footer {
  background: #030304;
  padding: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-dim);
}
footer .links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
footer a:hover { color: var(--accent); }

/* ============ TWEAKS PANEL ============ */
.tweaks-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  background: #0a0a0d;
  border: 1px solid var(--line);
  padding: 20px;
  min-width: 260px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  display: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.tweaks-panel.open { display: block; }
.tweaks-panel h6 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.tweaks-panel label { display: block; margin-bottom: 8px; font-size: 12px; color: var(--fg-dim); letter-spacing: 0.05em; text-transform: uppercase; }
.tweaks-panel .row { margin-bottom: 16px; }
.tweaks-panel input[type=range] { width: 100%; accent-color: var(--accent); }
.tweaks-panel .swatches { display: flex; gap: 6px; flex-wrap: wrap; }
.tweaks-panel .swatch { width: 28px; height: 28px; border: 1px solid var(--line); cursor: pointer; }
.tweaks-panel .swatch.active { outline: 2px solid #fff; outline-offset: 2px; }
.tweaks-panel .variant-toggle { display: flex; gap: 6px; }
.tweaks-panel .variant-toggle button {
  flex: 1; background: transparent; color: var(--fg); border: 1px solid var(--line);
  padding: 8px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; cursor: pointer;
}
.tweaks-panel .variant-toggle button.active { background: var(--accent); color: #000; border-color: var(--accent); }
.tweaks-panel .hue-val { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--fg); float: right; }

body.v2 { --accent-hue: 340; }
body.v2 .wordmark,
body.v2 .section-title,
body.v2 .big-wordmark h1 {
  background: linear-gradient(180deg, #fff 0%, #ffd1e8 30%, var(--accent) 50%, #ffd1e8 70%, #fff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* Fluid nav — everything stays visible; gap & font-size scale with viewport */
.nav-left, .nav-right {
  gap: clamp(8px, 1.4vw, 18px);
  font-size: clamp(10px, 1vw, 12px);
}
.wordmark {
  font-size: clamp(16px, 2vw, 22px);
  min-width: clamp(180px, 22vw, 280px);
  padding: 4px clamp(4px, 0.6vw, 8px);
}
.wordmark .dot { width: clamp(5px, 0.55vw, 7px); height: clamp(5px, 0.55vw, 7px); margin: 0 clamp(1px, 0.2vw, 2px) 3px clamp(1px, 0.2vw, 2px); }
.nav-icons { gap: clamp(8px, 1vw, 14px); margin-left: clamp(6px, 1vw, 14px); }
.nav-icons .icon svg { width: clamp(14px, 1.4vw, 18px); height: clamp(14px, 1.4vw, 18px); }
.nav { padding: 14px clamp(14px, 2vw, 28px); gap: clamp(8px, 1.2vw, 16px); }

@media (max-width: 1100px) {
  /* only the 2 "extra" items drop when space is critical */
  .nav-left a[data-nav="press.html"] { display: none; }
}
@media (max-width: 900px) {
  .nav-left a[data-nav="mixes.html"] { display: none; }
}
@media (max-width: 720px) {
  /* ultra-narrow: icons go first (search + account), still keep all text links */
  .nav-right .nav-icons { display: none; }
}
@media (max-width: 560px) {
  .nav-right .lang { display: none; }
  .section { padding: 60px 20px; }
}
