/* ==========================================================================
   motionstoodio — site.css
   Hand-built. No framework. Paper, ink, one accent at a time.
   ========================================================================== */

@font-face{font-family:"Anton";src:url("../fonts/anton.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"InterTight";src:url("../fonts/inter-tight-var.woff2") format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:"JBMono";src:url("../fonts/jetbrains-mono-var.woff2") format("woff2");font-weight:100 800;font-display:swap}

:root {
  --paper: #ece6d8;
  --paper-2: #e4ddcc;
  --paper-3: #d9d1bd;
  --ink: #0b0b0c;
  --ink-2: #131316;
  --ink-3: #1c1c20;
  --mute: #6a655a;
  --mute-2: #8a8477;
  --line: rgba(11, 11, 12, 0.14);
  --line-2: rgba(11, 11, 12, 0.07);
  --bone: #f4efe3;
  --acc: #e24428;
  --acc-ink: #fff6ef;
  --ok: #1f9d74;
  --pad: clamp(16px, 3.4vw, 44px);
  --barh: 76px;
  --headh: 60px;
  --sans: "InterTight", system-ui, -apple-system, sans-serif;
  --display: "Anton", "InterTight", system-ui, sans-serif;
  --mono: "JBMono", ui-monospace, "SFMono-Regular", monospace;
  --e-out: cubic-bezier(0.16, 1, 0.3, 1);
  --e-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --paper: #0b0b0c;
  --paper-2: #131316;
  --paper-3: #1a1a1e;
  --ink: #f1ece0;
  --ink-2: #e6dfd0;
  --ink-3: #cdc6b7;
  --mute: #8e887b;
  --mute-2: #6d685e;
  --line: rgba(241, 236, 224, 0.16);
  --line-2: rgba(241, 236, 224, 0.08);
  --bone: #0b0b0c;
  color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  background: var(--paper);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.011em;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--paper);
  transition: background-color 0.5s var(--e-out), color 0.5s var(--e-out);
}

/* paper grain + halftone wash, one layer, pointer-transparent */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='320' height='320' filter='url(%23n)' opacity='0.34'/></svg>");
  background-size: 320px 320px;
}
:root[data-theme="dark"] body::before { mix-blend-mode: screen; opacity: 0.16; }

::selection { background: var(--acc); color: var(--acc-ink); }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 3px;
  border-radius: 2px;
}

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1.5;
}
.mono.dim { color: var(--mute); }

.skip {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 400;
  background: var(--ink);
  color: var(--bone);
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: top 0.2s;
}
.skip:focus { top: 12px; }

/* ============================ cursor ==================================== */
.cursor, .cursor-dot {
  position: fixed;
  top: 0; left: 0;
  z-index: 900;
  pointer-events: none;
  border-radius: 50%;
  will-change: transform;
}
.cursor {
  width: 34px; height: 34px;
  border: 1px solid color-mix(in srgb, var(--ink) 55%, transparent);
  display: grid; place-items: center;
  transition: width 0.25s var(--e-out), height 0.25s var(--e-out),
              background-color 0.25s, border-color 0.25s, opacity 0.3s;
  backdrop-filter: invert(4%);
}
.cursor span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
  color: var(--ink);
}
.cursor-dot {
  width: 4px; height: 4px;
  background: var(--acc);
  transition: opacity 0.3s, transform 0.2s;
}
.cursor.is-label {
  width: 62px; height: 62px;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  border-color: var(--ink);
}
.cursor.is-label span { opacity: 1; transform: scale(1); }
.cursor.is-down { transform: scale(0.82) !important; }
.cursor.is-hidden, .cursor-dot.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-dot { display: none; }
}

/* ============================ header ==================================== */
.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--headh);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 var(--pad);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px) saturate(1.1);
  border-bottom: 1px solid var(--line);
  transition: transform 0.45s var(--e-out), background-color 0.4s;
}
.site-head.is-hidden { transform: translateY(-100%); }
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}
.brand b { font-weight: 700; }
.brand .brand-slash { color: var(--acc); }
.brand small {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--mute);
  font-weight: 500;
}
.head-nav { display: flex; align-items: center; gap: clamp(8px, 2vw, 26px); }
.head-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 2px;
  color: var(--mute);
  transition: color 0.2s;
}
.head-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--acc);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--e-out);
}
.head-link:hover, .head-link:focus-visible, .head-link[aria-current="page"] { color: var(--ink); }
.head-link:hover::after, .head-link[aria-current="page"]::after { transform: scaleX(1); }
.head-tools { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.icon-btn:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.icon-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; }

/* live dot in header */
.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  white-space: nowrap;
}
.live-dot i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--acc) 45%, transparent);
}
.live-dot.is-on i { animation: pulse 2.4s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--acc) 45%, transparent); }
  70% { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ============================ shared type =============================== */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--acc);
  flex: none;
}
.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: 0.005em;
}
.section-h {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(38px, 6.4vw, 92px);
  line-height: 0.9;
  letter-spacing: 0.005em;
}
.lede {
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.42;
  font-weight: 400;
  letter-spacing: -0.014em;
  color: var(--ink-2);
  max-width: 46ch;
}
.body p { margin-bottom: 1em; max-width: 60ch; }
.body p:last-child { margin-bottom: 0; }
.body strong { font-weight: 650; }

/* ============================ layout ==================================== */
.wrap { padding-left: var(--pad); padding-right: var(--pad); }
main { position: relative; z-index: 2; }
section { position: relative; }
#page { padding-top: var(--headh); }

.rule { height: 1px; background: var(--line); }

/* ============================ hero ===================================== */
.hero {
  min-height: calc(100svh - var(--headh) - var(--barh));
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: clamp(24px, 5vw, 80px);
  padding: clamp(28px, 6vh, 70px) var(--pad) clamp(28px, 5vh, 54px);
  overflow: hidden;
  isolation: isolate;
}
.hero-plate {
  position: absolute;
  inset: -6% -4% -10% 34%;
  z-index: -2;
  background-image: var(--plate);
  background-size: cover;
  background-position: 62% 40%;
  filter: contrast(1.02);
  will-change: transform;
}
@media (min-width: 1400px) {
  .hero-plate { background-image: var(--plate-wide); }
}
.hero-plate::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--paper) 0%, color-mix(in srgb, var(--paper) 72%, transparent) 26%, transparent 60%),
    linear-gradient(0deg, var(--paper) 0%, transparent 38%);
}
.hero-grid {
  position: absolute; inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    linear-gradient(to right, var(--line-2) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
}
.hero-copy { padding-bottom: 8px; min-width: 0; }
.hero-name {
  font-family: var(--display);
  font-size: clamp(76px, min(18.4vw, 25.5vh), 260px);
  line-height: 0.84;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 14px 0 0;
  padding-bottom: 0.07em;
  display: block;
  overflow: hidden;
}
.hero-name .ln {
  display: block;
  transform: translateY(104%);
  animation: rise 1.05s var(--e-out) forwards;
}
.hero-name .ln:nth-child(2) { animation-delay: 0.08s; }
@keyframes rise { to { transform: translateY(0); } }
.hero-sub {
  margin-top: clamp(18px, 3vh, 30px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 18px 40px;
}
.hero-sub .lede { max-width: 38ch; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }

.hero-side { align-self: end; }
.now-card {
  position: relative;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  backdrop-filter: blur(6px);
  padding: 14px;
  display: grid;
  gap: 12px;
  max-width: 372px;
  margin-left: auto;
}
.now-card .now-top { display: flex; align-items: center; justify-content: space-between; }
.now-card img { width: 100%; height: clamp(210px, 38vh, 360px); object-fit: cover; filter: saturate(1.02); }
.now-card .now-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.now-card h2 {
  font-family: var(--display);
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 0.92;
  text-transform: uppercase;
  font-weight: 400;
}
.now-card .now-mix { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-top: 6px; }
.now-card .now-play {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--acc);
  color: var(--acc-ink);
  display: grid; place-items: center;
  flex: none;
  transition: transform 0.3s var(--e-out), background-color 0.2s;
}
.now-card .now-play:hover { transform: scale(1.07); }
.now-card .now-play svg { width: 20px; height: 20px; fill: currentColor; }
.now-card .mini-vis { height: 46px; width: 100%; display: block; }

/* ============================ buttons ================================== */
.btn {
  --bh: 46px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: var(--bh);
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  overflow: hidden;
  transition: color 0.3s var(--e-out), border-color 0.3s;
  will-change: transform;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.42s var(--e-out);
  z-index: -1;
}
.btn:hover { color: var(--paper); }
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 14px; height: 14px; fill: currentColor; }
.btn.primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn.primary::before { background: var(--acc); }
.btn.primary:hover { color: var(--acc-ink); border-color: var(--acc); }
.btn.ghost { border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s, gap 0.3s var(--e-out);
}
.link-arrow:hover { border-color: var(--acc); gap: 16px; }
.link-arrow svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.6; }

/* ============================ ticker =================================== */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  user-select: none;
  background: var(--paper);
}
.ticker-track {
  display: flex;
  flex: none;
  align-items: center;
  gap: 0;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.ticker span {
  font-family: var(--display);
  font-size: clamp(20px, 2.1vw, 30px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 12px 26px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 26px;
}
.ticker span i {
  font-style: normal;
  color: var(--acc);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ============================ sections ================================= */
.section { padding: clamp(56px, 9vh, 120px) var(--pad); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(26px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.section-head .h-group { display: grid; gap: 12px; }

/* featured cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
}
.release {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--paper-2);
  isolation: isolate;
}
.release .rel-art { aspect-ratio: 1; overflow: hidden; }
.release .rel-art img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.1s var(--e-out), filter 0.6s;
}
.release:hover .rel-art img { transform: scale(1.07); }
.release .rel-body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px 18px;
  border-top: 1px solid var(--line);
}
.release h3 {
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 44px);
  line-height: 0.92;
  text-transform: uppercase;
  font-weight: 400;
}
.release .rel-meta { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-top: 8px; }
.release .rel-tag {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  background: var(--acc);
  color: var(--acc-ink);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 9px;
}
.release .rel-play {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: grid; place-items: center;
  flex: none;
  transition: background-color 0.25s, color 0.25s, transform 0.3s var(--e-out);
}
.release:hover .rel-play { background: var(--ink); color: var(--paper); transform: scale(1.06); }
.release .rel-play svg { width: 15px; height: 15px; fill: currentColor; }

/* ============================ rack ===================================== */
.rack-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
  white-space: nowrap;
}
.chip b { font-weight: 500; opacity: 0.55; font-size: 9px; }
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.chip[aria-pressed="true"] b { opacity: 0.8; }
.rack-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  height: 34px;
  min-width: 210px;
  transition: border-color 0.2s;
}
.rack-search:focus-within { border-color: var(--acc); }
.rack-search svg { width: 14px; height: 14px; stroke: var(--mute); fill: none; stroke-width: 1.6; flex: none; }
.rack-search input {
  border: 0;
  background: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink);
  width: 100%;
  outline: none;
  text-transform: uppercase;
}
.rack-search input::placeholder { color: var(--mute-2); }
.rack-sort { display: flex; align-items: center; gap: 8px; }
.rack-sort select {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 28px 9px 12px;
  color: var(--ink);
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0l5 6 5-6z' fill='%236a655a'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.rack {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.rack thead th {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute-2);
  font-weight: 500;
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.rack thead th:last-child { text-align: right; }
.rack tbody tr {
  border-bottom: 1px solid var(--line-2);
  cursor: pointer;
  transition: background-color 0.12s;
}
.rack tbody tr:hover { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.rack tbody tr.is-active { background: color-mix(in srgb, var(--acc) 10%, transparent); }
.rack tbody tr.is-active .r-title { color: var(--acc); }
.rack td { padding: 12px 8px; vertical-align: middle; }
.rack .r-num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--mute-2);
  width: 40px;
}
.rack .r-thumb {
  width: 44px;
  padding-right: 0;
}
.rack .r-thumb img {
  width: 40px; height: 40px;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.02);
  transition: filter 0.3s;
}
.rack tr:hover .r-thumb img { filter: none; }
.rack .r-title {
  font-family: var(--sans);
  font-weight: 550;
  font-size: clamp(15px, 1.35vw, 18px);
  letter-spacing: -0.01em;
  transition: color 0.2s;
  white-space: nowrap;
}
.rack .r-mix {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  white-space: nowrap;
}
.rack .r-genre {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  white-space: nowrap;
}
.rack .r-bpm, .rack .r-key, .rack .r-time {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--mute);
  white-space: nowrap;
}
.rack .r-play { width: 54px; text-align: right; }
.rack .r-play span {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.rack tr:hover .r-play span { border-color: var(--ink); }
.rack tr.is-active .r-play span { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.rack .r-play svg { width: 11px; height: 11px; fill: currentColor; }
.rack .r-badge {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 6px;
  border: 1px solid var(--acc);
  color: var(--acc);
  margin-left: 8px;
  vertical-align: 2px;
}
.rack-empty {
  padding: 40px 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mute);
  text-transform: uppercase;
}

/* ============================ statement ================================ */
.statement {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}
.statement .big {
  font-size: clamp(24px, 2.9vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 350;
  max-width: 30ch;
}
.statement .big em { font-style: normal; color: var(--acc); }
.fact-list { display: grid; gap: 0; margin-top: 34px; }
.fact {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.fact .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); padding-top: 3px; }
.fact .v { color: var(--ink-2); }

/* studio split */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 64px);
  align-items: center;
}
.split .split-text { display: grid; gap: 20px; justify-items: start; }
.split .plate {
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
}
.split .plate img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; filter: saturate(0.9) contrast(1.04); }
.split .plate .plate-cap {
  position: absolute;
  left: 12px; bottom: 12px;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  padding: 7px 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* process */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { background: var(--paper); padding: clamp(18px, 2.4vw, 30px); display: grid; gap: 10px; align-content: start; min-height: 210px; }
.step .n { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; color: var(--acc); }
.step h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.step p { font-size: 13.5px; color: var(--mute); line-height: 1.45; }

/* ============================ footer ================================== */
.site-foot {
  border-top: 1px solid var(--line);
  padding: clamp(30px, 5vw, 60px) var(--pad) calc(var(--barh) + 30px);
  display: grid;
  gap: clamp(28px, 4vw, 54px);
  background: var(--paper-2);
}
.foot-mark {
  font-family: var(--display);
  font-size: clamp(52px, 13vw, 190px);
  line-height: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.foot-mark span { color: var(--acc); }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--line); padding-top: 24px; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col h4 { font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute-2); font-weight: 500; }
.foot-col a, .foot-col span { font-size: 13.5px; color: var(--mute); transition: color 0.2s; }
.foot-col a:hover { color: var(--ink); }
.foot-fine {
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute-2);
  border-top: 1px solid var(--line); padding-top: 18px;
}

/* ============================ player ================================== */
.player {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  height: var(--barh);
  display: grid;
  grid-template-columns: minmax(210px, 0.9fr) minmax(320px, 1.6fr) minmax(260px, 0.9fr);
  align-items: center;
  gap: clamp(10px, 2vw, 28px);
  padding: 0 var(--pad);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(1.1);
  transition: transform 0.45s var(--e-out);
}
.player.is-hidden { transform: translateY(100%); }
.pl-now { display: flex; align-items: center; gap: 11px; min-width: 0; }
.pl-cover {
  width: 46px; height: 46px;
  flex: none;
  object-fit: cover;
  border: 1px solid var(--line);
  cursor: pointer;
  background: var(--paper-3);
}
.pl-meta { min-width: 0; }
.pl-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pl-sub {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.pl-centre { display: grid; gap: 4px; }
.pl-transport { display: flex; align-items: center; gap: 6px; }
.pl-btn {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--ink);
  transition: background-color 0.2s, color 0.2s, transform 0.15s;
}
.pl-btn:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.pl-btn:active { transform: scale(0.94); }
.pl-btn svg { width: 16px; height: 16px; fill: currentColor; }
.pl-btn.play {
  width: 40px; height: 40px;
  background: var(--ink);
  color: var(--paper);
}
.pl-btn.play:hover { background: var(--acc); color: var(--acc-ink); }
.pl-btn.on { color: var(--acc); }
.pl-btn.on::after {
  content: "";
  position: absolute;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--acc);
  transform: translateY(11px);
}
.pl-btn { position: relative; }
.pl-time { font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; color: var(--mute); white-space: nowrap; font-variant-numeric: tabular-nums; }
.wave-wrap { position: relative; height: 32px; flex: 1; cursor: pointer; }
.wave-wrap canvas { width: 100%; height: 100%; display: block; }
.pl-right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.pl-vol { display: flex; align-items: center; gap: 8px; width: 108px; }
.pl-vol input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  background: var(--line);
  outline: none;
}
.pl-vol input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}
.pl-vol input[type="range"]::-moz-range-thumb {
  width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer;
}
.pl-icon { width: 30px; height: 30px; display: grid; place-items: center; color: var(--mute); border-radius: 50%; transition: color 0.2s, background-color 0.2s; }
.pl-icon:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.pl-icon svg { width: 15px; height: 15px; fill: currentColor; }
.pl-icon.on { color: var(--acc); }

/* ============================ immersive =============================== */
.immersive {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: var(--ink);
  color: var(--bone);
  display: grid;
  grid-template-rows: auto 1fr auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--e-out), visibility 0.5s;
}
.immersive.is-open { opacity: 1; visibility: visible; }
.immersive canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.im-top {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(16px, 3vw, 36px);
}
.im-top .mono { color: color-mix(in srgb, var(--bone) 62%, transparent); }
.im-close {
  width: 46px; height: 46px;
  border: 1px solid color-mix(in srgb, var(--bone) 26%, transparent);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--bone);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.im-close:hover { background: var(--bone); color: var(--ink); }
.im-close svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.im-stage {
  position: relative; z-index: 2;
  display: grid;
  place-items: center;
  gap: 24px;
  padding: 10px clamp(16px, 4vw, 60px);
  text-align: center;
}
.im-art {
  width: min(46vh, 380px);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--bone) 18%, transparent);
  object-fit: cover;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
}
.im-info h2 {
  font-family: var(--display);
  font-size: clamp(34px, 6vw, 84px);
  line-height: 0.9;
  text-transform: uppercase;
  font-weight: 400;
}
.im-info .mono { margin-top: 10px; color: color-mix(in srgb, var(--bone) 62%, transparent); }
.im-modes { display: flex; gap: 6px; justify-content: center; margin-top: 16px; }
.im-mode {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 12px;
  border: 1px solid color-mix(in srgb, var(--bone) 22%, transparent);
  border-radius: 999px;
  color: color-mix(in srgb, var(--bone) 70%, transparent);
  transition: all 0.2s;
}
.im-mode:hover { color: var(--bone); border-color: var(--bone); }
.im-mode[aria-pressed="true"] { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.im-bottom {
  position: relative; z-index: 2;
  padding: 0 clamp(16px, 4vw, 60px) clamp(18px, 3vh, 34px);
  display: grid;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}
.im-wave { height: 56px; position: relative; cursor: pointer; }
.im-wave canvas { width: 100%; height: 100%; }
.im-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.im-transport { display: flex; align-items: center; gap: 8px; }
.im-transport .pl-btn { color: var(--bone); }
.im-transport .pl-btn.play { background: var(--bone); color: var(--ink); }
.im-transport .pl-btn.play:hover { background: var(--acc); color: var(--acc-ink); }
.im-time { font-family: var(--mono); font-size: 11px; color: color-mix(in srgb, var(--bone) 60%, transparent); font-variant-numeric: tabular-nums; }

/* ============================ queue panel ============================= */
.queue {
  position: fixed;
  right: 0; bottom: var(--barh);
  width: min(380px, 100vw);
  max-height: min(60vh, 520px);
  z-index: 90;
  background: var(--paper);
  border: 1px solid var(--line);
  border-right: 0; border-bottom: 0;
  transform: translateY(100%);
  visibility: hidden;
  transition: transform 0.45s var(--e-out), visibility 0.45s;
  display: grid;
  grid-template-rows: auto 1fr;
}
.queue.is-open { transform: translateY(0); visibility: visible; }
.queue-h { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.queue-list { overflow: auto; }
.queue-item { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; width: 100%; text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line-2); transition: background-color 0.15s; }
.queue-item:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.queue-item img { width: 34px; height: 34px; object-fit: cover; }
.queue-item .qt { font-size: 13px; font-weight: 550; }
.queue-item .qm { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.queue-item .qd { font-family: var(--mono); font-size: 10px; color: var(--mute); }
.queue-item.is-current .qt { color: var(--acc); }

/* ============================ toast / shortcuts ======================= */
.toast {
  position: fixed;
  left: 50%; bottom: calc(var(--barh) + 16px);
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--paper);
  padding: 11px 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--e-out);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.keys {
  position: fixed; inset: 0; z-index: 210;
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.keys.is-open { opacity: 1; visibility: visible; }
.keys-card {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: clamp(20px, 3vw, 36px);
  width: min(520px, 92vw);
}
.keys-card h3 { font-family: var(--display); font-size: 30px; text-transform: uppercase; margin-bottom: 18px; }
.keys-grid { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; align-items: center; }
.keys-grid kbd {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em;
  border: 1px solid var(--line); border-bottom-width: 2px; padding: 5px 8px; justify-self: start;
}
.keys-grid span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }

/* ============================ page transition ========================= */
.veil {
  position: fixed; inset: 0; z-index: 300;
  pointer-events: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.veil div {
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
}
.veil.is-in div { transform: scaleY(1); }
.veil.is-out div { transform-origin: top; transform: scaleY(1); }
.veil div:nth-child(1) { transition: transform 0.6s var(--e-in-out); }
.veil div:nth-child(2) { transition: transform 0.6s var(--e-in-out) 0.06s; }
.veil div:nth-child(3) { transition: transform 0.6s var(--e-in-out) 0.12s; }
.veil div:nth-child(4) { transition: transform 0.6s var(--e-in-out) 0.18s; }
.veil .veil-mark {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: clamp(28px, 6vw, 64px);
  color: var(--bone);
  opacity: 0;
  transition: opacity 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.veil.is-in .veil-mark { opacity: 1; transition-delay: 0.3s; }

/* preloader */
.preload {
  position: fixed; inset: 0; z-index: 320;
  background: var(--paper);
  display: grid;
  place-items: center;
  transition: opacity 0.6s var(--e-out), visibility 0.6s;
}
.preload.is-done { opacity: 0; visibility: hidden; }
.preload .pl-mark {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(34px, 7vw, 88px);
  line-height: 0.9;
  display: grid;
  justify-items: center;
  gap: 8px;
}
.preload .pl-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--mute); }

/* reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--e-out), transform 0.9s var(--e-out);
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .hero-name .ln { transform: none; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============================ responsive ============================== */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; align-items: start; gap: 34px; }
  .hero-plate { inset: -4% -10% 30% 20%; opacity: 0.75; }
  .hero-side { justify-self: start; }
  .now-card { margin-left: 0; max-width: 380px; }
  .statement { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .rack .r-genre, .rack .r-key { display: none; }
  .player { grid-template-columns: minmax(180px, 1fr) minmax(260px, 1.4fr) auto; }
  .pl-vol { display: none; }
}
@media (max-width: 780px) {
  :root { --barh: 66px; --headh: 54px; }
  .head-nav .head-link:nth-child(n+3) { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .rack thead { display: none; }
  .rack tbody tr { display: grid; grid-template-columns: 34px 1fr auto; grid-template-areas: "num title play" "num mix play"; padding: 10px 0; }
  .rack td { padding: 0 6px; border: 0; }
  .rack .r-num { grid-area: num; align-self: center; }
  .rack .r-thumb { display: none; }
  .rack .r-title { grid-area: title; padding-top: 4px; white-space: normal; }
  .rack .r-mix { grid-area: mix; padding-bottom: 4px; white-space: normal; }
  .rack .r-genre, .rack .r-bpm, .rack .r-key, .rack .r-time { display: none; }
  .rack .r-play { grid-area: play; align-self: center; }
  .split { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .hero-name { font-size: clamp(72px, 24vw, 160px); }
  .statement .big { max-width: none; }
  .foot-mark { flex-direction: column; align-items: flex-start; gap: 4px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .player { grid-template-columns: 1fr auto; gap: 8px; padding: 0 12px; }
  .pl-centre { display: none; }
  .pl-right { gap: 2px; }
  .pl-icon.queue-btn, .pl-icon.shuffle-btn, .pl-icon.repeat-btn { display: none; }
  .rack-tools { gap: 10px; }
  .rack-search { min-width: 100%; order: 3; }
  .im-art { width: min(38vh, 280px); }
}
@media (max-width: 480px) {
  .hero { padding-top: 20px; }
  .hero-cta .btn { height: 44px; padding: 0 16px; font-size: 10px; }
  .chips { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .head-tools .live-dot span { display: none; }
  .foot-cols { grid-template-columns: 1fr; }
}

/* utility */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.no-scroll { overflow: hidden; }
