/* ============================================================
   StemSplit Studio — dark studio theme
   ============================================================ */
:root {
  --bg: #0a0c12;
  --bg-2: #0f1219;
  --card: #141824;
  --card-2: #181d2c;
  --line: #242b3f;
  --line-soft: #1c2233;
  --txt: #e9edf8;
  --mut: #8b93ab;
  --mut-2: #5f6880;
  --acc: #7c5cff;
  --acc-2: #22d3ee;
  --grad: linear-gradient(92deg, #7c5cff 0%, #22d3ee 100%);
  --ok: #34d399;
  --warn: #fbbf24;
  --err: #f87171;
  --r: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--txt);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(124, 92, 255, 0.14), transparent 60%),
    radial-gradient(700px 420px at 0% 0%, rgba(34, 211, 238, 0.08), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
main, header, footer, section { position: relative; z-index: 1; }
a { color: var(--acc-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img, canvas, svg { display: block; }
button { font-family: inherit; }

.container { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--card);
  color: var(--txt); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all .18s ease; white-space: nowrap;
  text-decoration: none;
}
.btn:hover { border-color: #35405e; background: var(--card-2); text-decoration: none; transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-primary {
  background: var(--grad); border: none; color: #fff;
  box-shadow: 0 6px 20px rgba(124, 92, 255, .35);
}
.btn-primary:hover { filter: brightness(1.08); background: var(--grad); }
.btn-ghost { background: transparent; }
.btn-danger:hover { border-color: rgba(248, 113, 113, .5); color: var(--err); }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 8px; }
.btn-icon { padding: 8px 10px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(10, 12, 18, 0.78);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; color: var(--txt); }
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 30px; height: 30px; border-radius: 9px; background: var(--grad);
  display: grid; place-items: center; box-shadow: 0 4px 14px rgba(124,92,255,.4);
}
.brand .logo svg { width: 16px; height: 16px; }
.brand em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--mut); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--txt); text-decoration: none; }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 {
  font-size: clamp(34px, 5vw, 54px); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em;
}
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { margin: 20px 0 28px; color: var(--mut); font-size: 17px; max-width: 520px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  border: 1px solid rgba(124, 92, 255, .35); background: rgba(124, 92, 255, .1); color: #c9bcff;
  margin-bottom: 22px;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta .btn { padding: 13px 24px; font-size: 15px; border-radius: 12px; }
.trust { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.trust span { color: var(--mut-2); font-size: 13px; display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 14px; height: 14px; color: var(--ok); }

/* ---------- Mock mixer visual ---------- */
.mock {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: 18px; padding: 20px;
  box-shadow: var(--shadow);
}
.mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mock-head .t { font-size: 13px; color: var(--mut); font-weight: 600; }
.mock-head .live { font-size: 11px; font-weight: 700; color: var(--ok); display: flex; align-items: center; gap: 6px; }
.mock-head .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.mock-row { display: grid; grid-template-columns: 86px 1fr 44px; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 10px; }
.mock-row:nth-child(odd) { background: rgba(255,255,255,0.025); }
.mock-row .nm { font-size: 12.5px; font-weight: 700; color: var(--txt); display: flex; align-items: center; gap: 8px; }
.mock-row .nm i { width: 9px; height: 9px; border-radius: 3px; background: var(--sc); box-shadow: 0 0 10px var(--sc); flex: none; }
.mock-track { height: 6px; border-radius: 3px; background: #232a3f; overflow: hidden; position: relative; }
.mock-track b {
  position: absolute; inset: 0 auto 0 0; width: 55%;
  background: var(--sc); border-radius: 3px; opacity: .85;
  animation: slide 3.2s ease-in-out infinite alternate;
}
@keyframes slide { from { width: 30%; } to { width: var(--w, 72%); } }
.mock-row .db { font-size: 11px; color: var(--mut-2); text-align: right; font-variant-numeric: tabular-nums; }
.mock-wave { margin-top: 14px; height: 54px; border-radius: 10px; background: #10141f; border: 1px solid var(--line-soft); position: relative; overflow: hidden; }
.mock-wave svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mock-play { position: absolute; top: 0; bottom: 0; left: 34%; width: 2px; background: var(--acc-2); box-shadow: 0 0 10px var(--acc-2); }

/* ---------- Sections ---------- */
section.block { padding: 72px 0; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.01em; }
.sec-head p { color: var(--mut); margin-top: 12px; font-size: 15.5px; }
.kicker { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--acc-2); display: block; margin-bottom: 10px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px; transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); border-color: #31395a; }
.card .ic {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(124, 92, 255, .12); border: 1px solid rgba(124, 92, 255, .3); color: #b3a3ff;
}
.card .ic svg { width: 21px; height: 21px; }
.card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--mut); font-size: 14px; }

/* ---------- Stem chips ---------- */
.stem-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stem-chip {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px;
}
.stem-chip i { width: 12px; height: 12px; border-radius: 4px; background: var(--sc); box-shadow: 0 0 12px var(--sc); flex: none; margin-top: 5px; }
.stem-chip b { display: block; font-size: 15px; }
.stem-chip span { color: var(--mut); font-size: 13px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 20px; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px 22px; }
.step::before {
  content: attr(data-n);
  position: absolute; top: -16px; left: 22px;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 13px;
  padding: 4px 12px; border-radius: 999px; box-shadow: 0 4px 14px rgba(124,92,255,.4);
}
.step h3 { font-size: 16.5px; margin: 8px 0 8px; }
.step p { color: var(--mut); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
details.faq-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 4px 20px; transition: border-color .15s;
}
details.faq-item[open] { border-color: #31395a; }
details.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; font-weight: 600; font-size: 15px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; font-size: 20px; color: var(--acc-2); transition: transform .2s; }
details.faq-item[open] summary::after { transform: rotate(45deg); }
details.faq-item .a { color: var(--mut); font-size: 14px; padding: 0 0 16px; }

/* ---------- CTA band / footer ---------- */
.cta-band {
  border: 1px solid rgba(124, 92, 255, .35); border-radius: 20px;
  background:
    radial-gradient(500px 200px at 20% 0%, rgba(124,92,255,.18), transparent 60%),
    radial-gradient(400px 200px at 85% 100%, rgba(34,211,238,.14), transparent 60%),
    var(--card);
  text-align: center; padding: 56px 28px;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.cta-band p { color: var(--mut); margin: 12px auto 26px; max-width: 480px; }
footer.site { border-top: 1px solid var(--line-soft); padding: 30px 0 40px; margin-top: 40px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--mut-2); font-size: 13px; }
.foot nav { display: flex; gap: 18px; }
.foot nav a { color: var(--mut-2); }
.foot nav a:hover { color: var(--txt); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   STUDIO (app.html)
   ============================================================ */
.studio-top {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(12px); background: rgba(10,12,18,.82);
  border-bottom: 1px solid var(--line-soft);
}
.studio-top-inner { display: flex; align-items: center; gap: 14px; height: 60px; }
.track-meta { min-width: 0; }
.track-meta .nm { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.track-meta .sub { font-size: 11.5px; color: var(--mut-2); }
.top-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

main.studio { padding: 26px 0 60px; }
.stage { display: none; }
.stage.active { display: block; }

/* upload stage */
.upload-hero { text-align: center; padding: 46px 0 30px; }
.upload-hero h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; }
.upload-hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.upload-hero p { color: var(--mut); margin-top: 12px; }
.dropzone {
  margin: 30px auto 0; max-width: 720px;
  border: 2px dashed #323b5c; border-radius: 20px;
  background: var(--card); padding: 56px 30px; text-align: center;
  transition: all .2s ease; cursor: pointer;
}
.dropzone:hover, .dropzone.drag { border-color: var(--acc); background: rgba(124, 92, 255, .06); }
.dropzone .dz-ic { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px; background: rgba(124,92,255,.12); border: 1px solid rgba(124,92,255,.3); display: grid; place-items: center; color: #b3a3ff; }
.dropzone .dz-ic svg { width: 30px; height: 30px; }
.dropzone h3 { font-size: 18px; margin-bottom: 8px; }
.dropzone p { color: var(--mut); font-size: 13.5px; }
.dropzone .fmts { margin-top: 16px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.fmt { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--mut); border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px; }
.upload-alt { text-align: center; margin-top: 22px; color: var(--mut-2); font-size: 13.5px; display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
.upload-note { text-align: center; margin-top: 26px; color: var(--mut-2); font-size: 12.5px; display: flex; gap: 7px; justify-content: center; align-items: center; }
.upload-note svg { width: 14px; height: 14px; color: var(--ok); }

/* progress stage */
.proc-wrap { max-width: 560px; margin: 8vh auto 0; text-align: center; }
.proc-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 40px 34px; box-shadow: var(--shadow); }
.proc-card h2 { font-size: 19px; margin-bottom: 6px; }
.proc-card .fname { color: var(--mut); font-size: 13px; margin-bottom: 26px; word-break: break-all; }
.spinner { width: 54px; height: 54px; margin: 0 auto 22px; border-radius: 50%; position: relative; }
.spinner::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 3px solid rgba(124,92,255,.15); border-top-color: var(--acc); animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.proc-phase { font-size: 14.5px; font-weight: 600; min-height: 22px; }
.proc-pct { font-size: 30px; font-weight: 800; margin: 8px 0 18px; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-variant-numeric: tabular-nums; }
.pbar { height: 8px; border-radius: 4px; background: #20273c; overflow: hidden; }
.pbar b { display: block; height: 100%; width: 0%; background: var(--grad); border-radius: 4px; transition: width .25s ease; }
.proc-tip { margin-top: 20px; color: var(--mut-2); font-size: 12.5px; min-height: 18px; }
.proc-cancel { margin-top: 22px; }

/* studio stage */
.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px; margin-bottom: 16px;
}
.transport-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tbtn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--card-2); color: var(--txt); display: grid; place-items: center; cursor: pointer;
  transition: all .15s;
}
.tbtn:hover { border-color: #3a4468; }
.tbtn svg { width: 17px; height: 17px; }
.tbtn.play { width: 52px; height: 52px; background: var(--grad); border: none; color: #fff; box-shadow: 0 6px 18px rgba(124,92,255,.4); }
.tbtn.play svg { width: 21px; height: 21px; }
.tbtn:disabled { opacity: .4; cursor: not-allowed; }
.time { font-variant-numeric: tabular-nums; font-size: 15px; font-weight: 700; }
.time span { color: var(--mut-2); font-weight: 500; font-size: 12.5px; }

.ab-wrap { display: flex; align-items: center; gap: 8px; margin-left: 6px; }
.ab-label { font-size: 11px; color: var(--mut-2); font-weight: 700; letter-spacing: .08em; }
.ab-chip {
  width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line);
  background: var(--card-2); color: var(--mut); font-weight: 800; font-size: 14px; cursor: pointer; transition: all .15s;
}
.ab-chip.activeA { background: rgba(124,92,255,.18); border-color: var(--acc); color: #c9bcff; box-shadow: 0 0 12px rgba(124,92,255,.25); }
.ab-chip.activeB { background: rgba(34,211,238,.14); border-color: var(--acc-2); color: #9be6f5; box-shadow: 0 0 12px rgba(34,211,238,.22); }
.ab-copy { width: 30px; height: 34px; border-radius: 8px; border: 1px dashed var(--line); background: transparent; color: var(--mut-2); cursor: pointer; font-size: 14px; }
.ab-copy:hover { color: var(--txt); border-color: #3a4468; }

.master-wrap { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.master-wrap label { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--mut-2); }
.mmaster { width: 110px; }
.meter { height: 6px; border-radius: 3px; background: #20273c; overflow: hidden; width: 70px; }
.meter b { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, #34d399, #fbbf24 78%, #f87171); transition: width .06s linear; }

/* waveform */
.wave-panel { padding: 14px; }
.wave-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.wave-head .hint { color: var(--mut-2); font-size: 12px; margin-left: auto; }
.wave-box { position: relative; height: 110px; border-radius: 10px; background: #0d101a; border: 1px solid var(--line-soft); overflow: hidden; cursor: crosshair; touch-action: none; }
.wave-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.wave-times { display: flex; justify-content: space-between; color: var(--mut-2); font-size: 10.5px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.btn-loop.on { background: rgba(34,211,238,.14); border-color: var(--acc-2); color: #9be6f5; }
.region-lbl { font-size: 12px; color: var(--mut); font-variant-numeric: tabular-nums; }

/* stems grid */
.stems-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stem-card {
  --sc: var(--acc);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px;
}
.stem-card.soloed { border-color: var(--sc); box-shadow: 0 0 0 1px var(--sc), 0 8px 24px rgba(0,0,0,.3); }
.stem-card.muted { opacity: .55; }
.sc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.sc-head .nm { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; }
.sc-head .nm i { width: 10px; height: 10px; border-radius: 3px; background: var(--sc); box-shadow: 0 0 10px var(--sc); }
.sc-head .nm svg { width: 15px; height: 15px; color: var(--sc); }
.ms-group { margin-left: auto; display: flex; gap: 6px; }
.ms-btn {
  width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--line);
  background: var(--card-2); color: var(--mut); font-size: 11px; font-weight: 800; cursor: pointer; transition: all .12s;
}
.ms-btn.mute.on { background: rgba(248,113,113,.16); border-color: var(--err); color: var(--err); }
.ms-btn.solo.on { background: rgba(251,191,36,.14); border-color: var(--warn); color: var(--warn); }
.ms-btn:disabled { opacity: .35; cursor: not-allowed; }
.sc-wave { height: 40px; border-radius: 8px; background: #0d101a; border: 1px solid var(--line-soft); margin-bottom: 8px; position: relative; overflow: hidden; }
.sc-wave canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sc-meter { height: 4px; border-radius: 2px; background: #1b2135; margin-bottom: 12px; overflow: hidden; }
.sc-meter b { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--sc), #fbbf24 80%, #f87171); transition: width .06s linear; }
.knob-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.knob { min-width: 0; }
.knob .k-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; }
.knob label { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: var(--mut-2); text-transform: uppercase; }
.knob output { font-size: 11.5px; color: var(--mut); font-variant-numeric: tabular-nums; }
.knob-wide { grid-column: span 2; }

/* sliders */
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--sc, var(--acc)) var(--fill, 50%), #262c40 var(--fill, 50%));
  outline: none; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 2px solid var(--sc, var(--acc)); box-shadow: 0 1px 5px rgba(0,0,0,.5); cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 12px; height: 12px; border-radius: 50%; background: #fff;
  border: 2px solid var(--sc, var(--acc)); box-shadow: 0 1px 5px rgba(0,0,0,.5); cursor: pointer;
}
input[type="range"]:disabled { opacity: .35; cursor: not-allowed; }
input[type="range"].mmaster { --sc: var(--acc-2); }

/* footer + toasts */
.studio-foot { text-align: center; color: var(--mut-2); font-size: 12px; padding: 10px 0 30px; }
.toasts { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 100; align-items: center; }
.toast {
  background: #1a2032; border: 1px solid var(--line); color: var(--txt);
  padding: 10px 18px; border-radius: 10px; font-size: 13.5px; box-shadow: var(--shadow);
  animation: toastIn .25s ease; max-width: min(520px, 90vw); text-align: center;
}
.toast.err { border-color: rgba(248,113,113,.5); }
.toast.ok { border-color: rgba(52,211,153,.5); }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } }

/* responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stem-chips { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stems-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .grid-3, .grid-2, .stem-chips { grid-template-columns: 1fr; }
  .hero { padding: 52px 0 40px; }
  .knob-grid { grid-template-columns: 1fr; }
  .knob-wide { grid-column: span 1; }
  .track-meta .nm { max-width: 150px; }
  .top-actions { gap: 6px; }
  .master-wrap { margin-left: 0; }
  .dropzone { padding: 40px 20px; }
}
