/* ==========================================================================
   KROW — styles
   ========================================================================== */

:root {
  --bg: #070708;
  --bg-2: #0c0c0f;
  --surface: #111115;
  --surface-2: #17171c;
  --surface-3: #1f1f26;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f3f1ec;
  --muted: #8e8d95;
  --dim: #5b5a62;
  --c1: #4cc9f0;
  --c2: #9b8cff;
  --c3: #e879f9;
  --c4: #3ddc97;
  --iri: linear-gradient(90deg, var(--c1) 0%, var(--c2) 30%, var(--c3) 52%, var(--c4) 76%, var(--c1) 100%);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --f-display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --f-body: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-serif: 'Instrument Serif', Georgia, serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --pad: clamp(16px, 4vw, 56px);
  --nav-h: 76px;
  --radius: 20px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); color-scheme: dark; scroll-padding-top: calc(var(--nav-h) + 12px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
body.has-player { padding-bottom: 104px; }
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
input, select { font: inherit; color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--c2); color: #08080a; }
:focus-visible { outline: 2px solid var(--c2); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.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; }
.mono { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.04em; }
.ta-r { text-align: right; }

.iri {
  background: var(--iri);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: iri 7s linear infinite;
}
@keyframes iri { to { background-position: -200% 0; } }

/* ---------- Grain ---------- */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 95;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 0.9s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-2%, 4%); }
  80% { transform: translate(5%, -2%); }
  100% { transform: translate(0, 0); }
}

/* ---------- Preloader ---------- */
.preloader { display: none; }
.js .preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--bg);
  clip-path: inset(0 0 0 0);
  animation: preloader-failsafe 0.6s 7s forwards;
}
@keyframes preloader-failsafe { to { opacity: 0; visibility: hidden; } }
.preloader__inner { display: grid; justify-items: center; gap: 22px; }
.preloader__word { display: flex; overflow: hidden; font-family: var(--f-display); font-size: clamp(64px, 12vw, 150px); line-height: 0.9; letter-spacing: 0.01em; }
.preloader__word span { display: block; }
.preloader__word .o { background: var(--iri); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: iri 3s linear infinite; }
.preloader__bar { width: min(260px, 60vw); height: 1px; background: var(--line-2); overflow: hidden; }
.preloader__bar i { display: block; height: 100%; background: var(--iri); transform: scaleX(0); transform-origin: left; }
.preloader__count { color: var(--muted); }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 150;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.cursor.is-on { opacity: 1; }
.cursor__ring {
  position: absolute;
  width: 38px;
  height: 38px;
  left: -19px;
  top: -19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(243, 241, 236, 0.45);
  transition: transform 0.45s var(--ease), background-color 0.35s, border-color 0.35s;
}
.cursor.is-hover .cursor__ring { transform: scale(1.5); border-color: rgba(243, 241, 236, 0.85); background: rgba(243, 241, 236, 0.06); }
.cursor.is-label .cursor__ring { transform: scale(2.2); background: var(--text); border-color: var(--text); }
.cursor.is-down .cursor__ring { transform: scale(0.8); }
.cursor__label {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #08080a;
  opacity: 0;
  transition: opacity 0.25s;
}
.cursor.is-label .cursor__label { opacity: 1; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.45s var(--ease), border-color 0.45s, opacity 0.3s;
}
.btn::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  transform: translateY(102%);
  transition: transform 0.6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.5s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--text); color: #08080a; }
.btn--primary::before { background: var(--iri); background-size: 200% 100%; animation: iri 5s linear infinite; }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn--ghost::before { background: var(--text); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: #08080a; border-color: var(--text); }
.btn--small { height: 40px; padding: 0 18px; font-size: 0.85rem; }
.btn--lg { height: 62px; padding: 0 34px; font-size: 1.05rem; }
.btn[disabled] { opacity: 0.4; pointer-events: none; }

.roll { position: relative; display: inline-block; height: 1.25em; line-height: 1.25em; overflow: hidden; vertical-align: top; }
.roll__in { display: block; text-shadow: 0 1.25em 0 currentColor; transition: transform 0.55s var(--ease); }
.btn:hover .roll__in, .btn:focus-visible .roll__in, a:hover > .roll .roll__in { transform: translateY(-1.25em); }

.magnetic { will-change: transform; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 70;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--pad);
  transition: transform 0.7s var(--ease), background-color 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(7, 7, 8, 0.8); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.nav.is-hidden { transform: translateY(-105%); }
.logo { font-family: var(--f-display); font-size: 1.75rem; letter-spacing: 0.03em; line-height: 1; justify-self: start; }
.nav__links { display: flex; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.nav__links a { position: relative; padding: 8px 16px; border-radius: 999px; font-size: 0.86rem; color: var(--muted); transition: color 0.3s, background-color 0.3s; }
.nav__links a:hover { color: var(--text); }
.nav__links a.is-active { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.nav__actions { display: flex; align-items: center; gap: 10px; justify-self: end; }

.lang {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  height: 40px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}
.lang::before {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.55s var(--ease);
}
.lang[data-lang='en']::before { transform: translateX(100%); }
.lang span { position: relative; display: grid; place-items: center; width: 36px; color: var(--muted); transition: color 0.4s; }
.lang span.is-active { color: #08080a; }

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: background-color 0.3s, border-color 0.3s, transform 0.4s var(--ease);
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.3); }
.icon-btn svg { width: 18px; height: 18px; }
.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--iri);
  background-size: 200% 100%;
  color: #08080a;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  font-weight: 600;
  transform: scale(0);
  transition: transform 0.5s var(--ease);
}
.cart-count.is-on { transform: scale(1); }
.icon-btn.is-bump { animation: bump 0.6s var(--ease); }
@keyframes bump { 30% { transform: scale(1.18); } 100% { transform: scale(1); } }

.burger { display: none; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform 0.5s var(--ease), opacity 0.3s; }
.burger span:nth-child(1) { transform: translateY(-4px); }
.burger span:nth-child(2) { transform: translateY(4px); }
.menu-open .burger span:nth-child(1) { transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: rotate(-45deg); }

/* Mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 65;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 40px;
  padding: calc(var(--nav-h) + 24px) var(--pad) 40px;
  background: var(--bg-2);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease-io);
  visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__links { display: grid; gap: 4px; }
.menu__links a { display: block; overflow: hidden; font-family: var(--f-display); font-size: clamp(48px, 14vw, 88px); line-height: 1; text-transform: uppercase; }
.menu__links a span { display: block; transform: translateY(105%); transition: transform 0.8s var(--ease); }
.menu-open .menu__links a span { transform: none; }
.menu-open .menu__links a:nth-child(2) span { transition-delay: 0.05s; }
.menu-open .menu__links a:nth-child(3) span { transition-delay: 0.1s; }
.menu-open .menu__links a:nth-child(4) span { transition-delay: 0.15s; }
.menu-open .menu__links a:nth-child(5) span { transition-delay: 0.2s; }
.menu__foot { display: flex; justify-content: space-between; align-items: center; color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  --bass: 0;
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: calc(var(--nav-h) + 20px) var(--pad) 32px;
  overflow: hidden;
  isolation: isolate;
}
.hero__glow { position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: calc(0.55 + var(--bass) * 0.6); }
.hero__glow i { position: absolute; border-radius: 50%; filter: blur(90px); mix-blend-mode: screen; }
.hero__glow i:nth-child(1) { width: 46vw; height: 46vw; left: 8%; top: 18%; background: radial-gradient(circle, rgba(76, 201, 240, 0.32), transparent 65%); animation: drift1 18s ease-in-out infinite alternate; }
.hero__glow i:nth-child(2) { width: 40vw; height: 40vw; right: 6%; top: 8%; background: radial-gradient(circle, rgba(155, 140, 255, 0.38), transparent 65%); animation: drift2 22s ease-in-out infinite alternate; }
.hero__glow i:nth-child(3) { width: 36vw; height: 36vw; left: 36%; bottom: -12%; background: radial-gradient(circle, rgba(232, 121, 249, 0.22), transparent 65%); animation: drift3 20s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(12vw, 8vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-10vw, 14vh) scale(0.9); } }
@keyframes drift3 { to { transform: translate(-8vw, -10vh) scale(1.2); } }

.hero__vizwrap { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__viz { width: 100%; height: 100%; }

.hero__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--muted); }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--c4); }
.pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--c4); animation: pulse 2s ease-out infinite; }
@keyframes pulse { to { transform: scale(3.2); opacity: 0; } }
.hero__genres { color: var(--muted); text-transform: uppercase; }

.hero__title {
  align-self: center;
  justify-self: center;
  display: flex;
  margin: 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: min(37vw, 60vh);
  line-height: 0.82;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  user-select: none;
  will-change: transform;
}
.hero__mask { display: block; overflow: hidden; padding: 0.04em 0.005em 0; }
.hero__char { display: block; }
.hero__char--o {
  background: var(--iri);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: iri 6s linear infinite;
  filter: drop-shadow(0 0 calc(var(--bass) * 40px) rgba(155, 140, 255, 0.55));
}

.hero__bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px; }
.hero__copy { display: grid; gap: 22px; max-width: 470px; }
.hero__sub { font-size: clamp(1rem, 1.25vw, 1.15rem); color: var(--muted); line-height: 1.5; }
.hero__sub em, .section__lead em { font-family: var(--f-serif); font-style: italic; font-size: 1.18em; color: var(--text); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__scroll { display: grid; justify-items: center; gap: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.2em; }
.hero__scroll i { position: relative; width: 1px; height: 52px; background: var(--line-2); overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--text); animation: scrollLine 2s var(--ease-io) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

/* Featured card */
.feat {
  justify-self: end;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: min(360px, 100%);
  padding: 10px 18px 10px 10px;
  border-radius: 18px;
  background: rgba(17, 17, 21, 0.6);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: border-color 0.4s, background-color 0.4s;
}
.feat:hover { border-color: rgba(255, 255, 255, 0.28); background: rgba(23, 23, 28, 0.75); }
.feat__cover { position: relative; width: 62px; height: 62px; border-radius: 12px; overflow: hidden; }
.feat__info { display: grid; min-width: 0; }
.feat__label { color: var(--c2); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.66rem; }
.feat__title { font-size: 1.02rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feat__type { font-size: 0.82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feat__btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--text); color: #08080a; transition: transform 0.5s var(--ease); }
.feat:hover .feat__btn { transform: scale(1.08); }
.feat__btn svg { width: 16px; height: 16px; margin-left: 2px; }
.feat__btn .eq { display: none; width: 14px; height: 12px; }
.feat__btn .eq i { background: #08080a; }
.feat.is-playing .feat__btn svg { display: none; }
.feat.is-playing .feat__btn .eq { display: inline-flex; }
.feat.is-loading .feat__btn svg { animation: blink 0.8s ease-in-out infinite alternate; }

/* Play state overlay (shared by featured, beats) */
.state {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(8, 8, 10, 0.42);
  color: #fff;
  opacity: 0;
  transition: opacity 0.35s;
}
.state svg { width: 22px; height: 22px; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4)); }
.state .i-pause, .is-playing .state .i-play { display: none; }
.is-playing .state .i-pause { display: block; }
.is-loading .state svg { animation: blink 0.9s ease-in-out infinite alternate; }
@keyframes blink { to { opacity: 0.25; } }

/* Equalizer */
.eq { display: inline-flex; align-items: flex-end; gap: 2px; width: 16px; height: 14px; }
.eq i { flex: 1; height: 100%; background: var(--text); border-radius: 1px; transform-origin: bottom; transform: scaleY(0.2); }
.is-playing .eq i { animation: eq 0.9s ease-in-out infinite alternate; }
.is-playing .eq i:nth-child(2) { animation-duration: 0.7s; animation-delay: -0.3s; }
.is-playing .eq i:nth-child(3) { animation-duration: 1.1s; animation-delay: -0.5s; }
.is-playing .eq i:nth-child(4) { animation-duration: 0.8s; animation-delay: -0.2s; }
@keyframes eq { 0% { transform: scaleY(0.2); } 100% { transform: scaleY(1); } }

/* ---------- Generated covers ---------- */
.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.cover--gen {
  container-type: size;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(55% 55% at var(--x) var(--y), hsl(var(--h1) 88% 64% / 0.95), transparent 72%),
    radial-gradient(50% 50% at calc(100% - var(--x)) calc(100% - var(--y)), hsl(var(--h2) 82% 58% / 0.85), transparent 72%),
    conic-gradient(from var(--a), #0b0b0e, #20202a, #0b0b0e 60%, #16161d);
}
.cover--gen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.45));
  mix-blend-mode: multiply;
}
.cover__l {
  position: relative;
  z-index: 1;
  font-family: var(--f-display);
  font-size: 92cqh;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: max(1px, 1.2cqw) rgba(255, 255, 255, 0.55);
  transform: translate(18%, 12%);
}

/* ---------- Marquee ---------- */
.marquees { position: relative; padding: clamp(40px, 6vw, 80px) 0; overflow: hidden; }
.marquee { position: relative; overflow: hidden; white-space: nowrap; }
.marquee--a { background: var(--iri); background-size: 200% 100%; animation: iri 12s linear infinite; color: #08080a; transform: rotate(-2.2deg) scale(1.05); z-index: 2; }
.marquee--b { border-block: 1px solid var(--line-2); background: var(--bg); transform: rotate(1.6deg) scale(1.05); margin-top: -14px; }
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__group { display: inline-flex; flex: none; padding: 14px 0; font-family: var(--f-display); font-size: clamp(30px, 4.6vw, 64px); line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; }
.marquee__group span { padding-right: 0.45em; }
.marquee--b .marquee__group { color: transparent; -webkit-text-stroke: 1px rgba(243, 241, 236, 0.55); }
.no-anim .marquee__track, .marquee__track.is-css { animation: marquee 40s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(96px, 13vw, 180px) var(--pad); }
.section__head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; gap: 24px 48px; margin-bottom: clamp(40px, 6vw, 80px); }
.section__kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.section__kicker::before { content: ''; width: 28px; height: 1px; background: var(--line-2); }
.section__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(3.2rem, 9.5vw, 9rem);
  line-height: 0.88;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.section__title em, .cta__title em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.02em;
  font-size: 1.06em;
  padding-right: 0.06em;
}
.section__title em { background: var(--iri); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: iri 8s linear infinite; }
.section__lead { justify-self: end; max-width: 42ch; color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.12rem); }

/* ---------- Toolbar ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 18px; }
.search { position: relative; flex: 1 1 280px; max-width: 400px; }
.search svg { position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input {
  width: 100%;
  height: 50px;
  padding: 0 20px 0 48px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  outline: none;
  transition: border-color 0.3s, background-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.search input::placeholder { color: var(--dim); }
.search input:focus { border-color: rgba(255, 255, 255, 0.28); background: var(--surface-2); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--muted);
  transition: color 0.3s, background-color 0.3s, border-color 0.3s;
}
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip.is-active { background: var(--text); color: #08080a; border-color: var(--text); }
.toolbar__right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.toolbar__count { color: var(--muted); text-transform: uppercase; }
.select { position: relative; }
.select select {
  height: 40px;
  padding: 0 38px 0 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.86rem;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}
.select select:focus-visible { border-color: var(--c2); }
.select svg { position: absolute; right: 14px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); pointer-events: none; color: var(--muted); }

/* ---------- Tracklist ---------- */
.tracklist { --cols: 34px 60px minmax(0, 2.3fr) minmax(0, 1.5fr) 58px 82px 54px 176px; }
.tracklist__head, .beat { display: grid; grid-template-columns: var(--cols); align-items: center; gap: 18px; }
.tracklist__head { padding: 14px 16px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.66rem; border-bottom: 1px solid var(--line); }
.beat { position: relative; padding: 14px 16px; border-radius: 16px; transition: background-color 0.45s var(--ease); }
.beat::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 0; height: 1px; background: var(--line); transition: opacity 0.3s; }
.beat:hover, .beat.is-current { background: var(--surface); }
.beat:hover::after, .beat.is-current::after { opacity: 0; }
.beat__num { position: relative; color: var(--dim); font-family: var(--f-mono); font-size: 0.78rem; }
.beat__num .eq { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; }
.beat.is-playing .beat__num .n { opacity: 0; }
.beat.is-playing .beat__num .eq { opacity: 1; }
.beat__cover { position: relative; width: 60px; height: 60px; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.beat:hover .cover { transform: scale(1.08); }
.beat:hover .state, .beat.is-current .state, .beat__cover:focus-visible .state { opacity: 1; }
.beat__main { min-width: 0; }
.beat__titleRow { display: flex; align-items: center; gap: 10px; min-width: 0; }
.beat__title { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.beat__type { font-size: 0.86rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.beat__meta { display: none; margin-top: 4px; color: var(--dim); }
.badge {
  flex: none;
  padding: 3px 8px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #08080a;
  background: var(--iri);
  background-size: 200% 100%;
}
.badge--cover { display: none; position: absolute; top: 5px; left: 5px; z-index: 2; padding: 2px 5px; font-size: 0.5rem; }
.beat__tags { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.tag { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.74rem; color: var(--muted); white-space: nowrap; }
.beat__bpm, .beat__key, .beat__dur { font-family: var(--f-mono); font-size: 0.8rem; color: var(--muted); }
.beat__buy {
  justify-self: end;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 0.86rem;
  font-weight: 600;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--ease), border-color 0.4s;
}
.beat__buy::before { content: ''; position: absolute; inset: -1px; z-index: -1; background: var(--text); transform: translateY(102%); transition: transform 0.5s var(--ease); border-radius: inherit; }
.beat__buy:hover { color: #08080a; border-color: var(--text); }
.beat__buy:hover::before { transform: none; }
.beat__buy svg { width: 16px; height: 16px; }
.beat__buy .from { font-weight: 400; opacity: 0.6; font-size: 0.78rem; }
.beat__buy.is-in { border-color: transparent; background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, var(--iri) border-box; border: 1px solid transparent; }
.beat__buy.is-in:hover { color: var(--text); }
.beat__buy.is-in::before { display: none; }
.tracklist__empty { display: grid; justify-items: center; gap: 18px; padding: 70px 0; color: var(--muted); text-align: center; }

/* ---------- Licenses ---------- */
.lic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; perspective: 1200px; }
.lic {
  --mx: 50%;
  --my: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 30px 28px 28px;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: translate 0.6s var(--ease), border-color 0.4s;
}
.lic::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(155, 140, 255, 0.16), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
}
.lic:hover { translate: 0 -6px; border-color: var(--line-2); }
.lic:hover::before { opacity: 1; }
.lic--pop { border: 1px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--iri) border-box; background-size: 100% 100%, 200% 100%; animation: iriBorder 6s linear infinite; }
@keyframes iriBorder { to { background-position: 0 0, -200% 0; } }
.lic__badge { position: absolute; top: 22px; right: 22px; padding: 5px 10px; border-radius: 999px; background: var(--text); color: #08080a; font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; }
.lic__files { color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.66rem; }
.lic__name { margin-top: 10px; font-size: 1.45rem; font-weight: 600; letter-spacing: -0.015em; }
.lic__price { display: flex; align-items: baseline; gap: 8px; font-family: var(--f-display); font-size: clamp(2.6rem, 3.6vw, 3.4rem); line-height: 1; letter-spacing: 0.005em; }
.lic__price small { font-family: var(--f-body); font-size: 0.85rem; color: var(--muted); letter-spacing: 0; }
.lic__features { display: grid; align-content: start; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); flex: 1; }
.lic__features li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 0.92rem; color: #c9c7cf; }
.lic__features svg { width: 18px; height: 18px; margin-top: 2px; color: var(--c2); }
.lic .btn { width: 100%; }
.lic-note { margin-top: 28px; color: var(--muted); font-size: 0.92rem; text-align: center; }
.lic-note a { color: var(--text); border-bottom: 1px solid var(--line-2); transition: border-color 0.3s; }
.lic-note a:hover { border-color: var(--text); }

/* ---------- Process ---------- */
.process { position: relative; overflow: hidden; }
.process__pin { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 100vh; min-height: 100svh; padding: clamp(88px, 11vh, 120px) var(--pad) 48px; }
.process .section__head { grid-template-columns: 1fr; margin-bottom: clamp(28px, 3.5vw, 48px); }
.process .section__title { font-size: clamp(3rem, 7vw, 7rem); }
.process__track { display: flex; gap: 18px; width: max-content; will-change: transform; }
.step {
  position: relative;
  flex: none;
  width: min(80vw, 470px);
  min-height: min(400px, 44vh);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 34px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.step::after { content: ''; position: absolute; right: -30%; bottom: -40%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(155, 140, 255, 0.14), transparent 65%); pointer-events: none; }
.step__top { display: flex; justify-content: space-between; align-items: flex-start; }
.step__num { font-family: var(--f-display); font-size: clamp(6rem, 10vw, 9rem); line-height: 0.78; color: transparent; -webkit-text-stroke: 1px rgba(243, 241, 236, 0.3); }
.step__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-2); }
.step__icon svg { width: 22px; height: 22px; }
.step__title { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.step__text { color: var(--muted); max-width: 34ch; }
.process__progress { position: relative; height: 1px; margin-top: 40px; background: var(--line); }
.process__progress i { position: absolute; inset: 0; background: var(--iri); transform: scaleX(0); transform-origin: left; }

/* ---------- About ---------- */
.about__statement {
  max-width: 1200px;
  font-size: clamp(1.9rem, 4.4vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(40px, 5vw, 64px); }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 0.92rem; }
.pill svg { width: 20px; height: 20px; color: var(--c2); }

/* ---------- CTA ---------- */
.contact { padding-top: 0; }
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(56px, 9vw, 130px) clamp(24px, 6vw, 96px);
  border-radius: clamp(24px, 3vw, 40px);
  background: #0d0c12;
  border: 1px solid var(--line);
}
.cta__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta__bg i { position: absolute; border-radius: 50%; filter: blur(80px); }
.cta__bg i:nth-child(1) { width: 60%; aspect-ratio: 1; right: -15%; top: -40%; background: radial-gradient(circle, rgba(155, 140, 255, 0.45), transparent 65%); animation: drift2 16s ease-in-out infinite alternate; }
.cta__bg i:nth-child(2) { width: 50%; aspect-ratio: 1; left: -10%; bottom: -50%; background: radial-gradient(circle, rgba(76, 201, 240, 0.3), transparent 65%); animation: drift1 20s ease-in-out infinite alternate; }
.cta__follow { width: 420px; height: 420px; left: 0; top: 0; margin: -210px 0 0 -210px; background: radial-gradient(circle, rgba(232, 121, 249, 0.35), transparent 65%); opacity: 0; transition: opacity 0.6s; }
.cta:hover .cta__follow { opacity: 1; }
.cta__title { max-width: 16ch; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(3rem, 8.5vw, 8.4rem); line-height: 0.9; }
.cta__text { max-width: 44ch; margin-top: 26px; color: #bdbbc4; font-size: clamp(1rem, 1.3vw, 1.15rem); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; margin-top: 44px; }
.socials { display: flex; align-items: center; gap: 16px; }
.socials__label { color: var(--muted); text-transform: uppercase; letter-spacing: 0.14em; }
.socials__list { display: flex; gap: 8px; }

/* ---------- FAQ ---------- */
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 2.4vw, 32px) 0;
  text-align: left;
  font-size: clamp(1.1rem, 1.9vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  transition: color 0.3s;
}
.faq__q:hover { color: #fff; }
.faq__icon { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform 0.6s var(--ease), background-color 0.4s, border-color 0.4s; }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -0.75px 0 0 -7px; background: currentColor; border-radius: 2px; transition: transform 0.6s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon { transform: rotate(180deg); background: var(--text); border-color: var(--text); color: #08080a; }
.faq__item.is-open .faq__icon::after { transform: rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { max-width: 70ch; padding-bottom: 30px; color: var(--muted); font-size: 1.02rem; opacity: 0; transform: translateY(-8px); transition: opacity 0.5s, transform 0.6s var(--ease); }
.faq__item.is-open .faq__a p { opacity: 1; transform: none; transition-delay: 0.1s; }

/* ---------- Footer ---------- */
.footer { position: relative; padding: clamp(64px, 8vw, 110px) var(--pad) 28px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 40px; align-items: start; }
.footer__brand p { margin-top: 14px; color: var(--muted); max-width: 26ch; }
.footer__nav { display: grid; gap: 10px; }
.footer__nav a, .footer__links a { color: var(--muted); width: fit-content; transition: color 0.3s; }
.footer__nav a:hover { color: var(--text); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.footer__up { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); transition: color 0.3s; }
.footer__up:hover { color: var(--text); }
.footer__up svg { width: 16px; height: 16px; }
.footer__big {
  display: flex;
  justify-content: center;
  margin: clamp(40px, 6vw, 80px) 0 0;
  font-family: var(--f-display);
  font-size: 35vw;
  line-height: 0.8;
  letter-spacing: -0.01em;
  user-select: none;
  overflow: hidden;
  padding-top: 0.04em;
}
.footer__big span { display: block; background: linear-gradient(180deg, #2a2a33 0%, #121216 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__big span.o { background: var(--iri); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; animation: iri 8s linear infinite; opacity: 0.85; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); }

.social-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); transition: background-color 0.35s, color 0.35s, border-color 0.35s, transform 0.5s var(--ease); }
.social-btn:hover { background: var(--text); color: #08080a; border-color: var(--text); transform: translateY(-3px); }
.social-btn svg { width: 18px; height: 18px; }

/* ---------- Player ---------- */
.player {
  position: fixed;
  left: 50%;
  bottom: 12px;
  z-index: 60;
  width: min(1180px, calc(100% - 24px));
  border-radius: 22px;
  background: rgba(17, 17, 21, 0.78);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid var(--line-2);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  transform: translate(-50%, calc(100% + 30px));
  transition: transform 0.9s var(--ease);
}
.player.is-visible { transform: translate(-50%, 0); }
.player__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; padding: 12px 16px 12px 12px; }
.player__track { display: flex; align-items: center; gap: 12px; min-width: 0; }
.player__cover { position: relative; flex: none; width: 50px; height: 50px; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.player__meta { display: grid; min-width: 0; }
.player__meta strong { font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__meta span { font-size: 0.8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__controls { display: flex; align-items: center; gap: 6px; }
.pbtn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--muted); transition: color 0.3s, background-color 0.3s, transform 0.4s var(--ease); }
.pbtn:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.pbtn svg { width: 20px; height: 20px; }
.pbtn--main { width: 48px; height: 48px; background: var(--text); color: #08080a; }
.pbtn--main:hover { background: #fff; color: #08080a; transform: scale(1.06); }
.pbtn--main .i-pause, .player.is-playing .pbtn--main .i-play { display: none; }
.player.is-playing .pbtn--main .i-pause { display: block; }
.player.is-loading .pbtn--main svg { animation: blink 0.8s ease-in-out infinite alternate; }
.player__side { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.player__time { color: var(--muted); white-space: nowrap; }
.player__vol { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.player__vol svg { width: 18px; height: 18px; }
.player__vol input { width: 86px; }
input[type='range'] { -webkit-appearance: none; appearance: none; height: 18px; background: transparent; cursor: pointer; }
input[type='range']::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--text) var(--v, 90%), var(--line-2) var(--v, 90%)); }
input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -4.5px; border-radius: 50%; background: var(--text); border: 0; }
input[type='range']::-moz-range-track { height: 3px; border-radius: 3px; background: var(--line-2); }
input[type='range']::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--text); }
input[type='range']::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--text); border: 0; }

.player__seek { position: absolute; left: 22px; right: 22px; top: 0; height: 16px; transform: translateY(-50%); cursor: pointer; touch-action: none; }
.player__rail { position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); overflow: hidden; transition: height 0.3s, margin 0.3s; }
.player__fill { position: absolute; inset: 0; background: var(--iri); background-size: 200% 100%; transform-origin: left; transform: scaleX(0); }
.player__knob { position: absolute; top: 50%; left: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 4px rgba(155, 140, 255, 0.25); transform: scale(0); transition: transform 0.3s var(--ease); }
.player__seek:hover .player__rail, .player__seek.is-drag .player__rail { height: 5px; margin-top: -2.5px; }
.player__seek:hover .player__knob, .player__seek.is-drag .player__knob, .player__seek:focus-visible .player__knob { transform: scale(1); }

/* ---------- Layers: drawer & modal ---------- */
.layer { position: fixed; inset: 0; z-index: 90; pointer-events: none; visibility: hidden; transition: visibility 0s 0.8s; }
.layer.is-open { pointer-events: auto; visibility: visible; transition: visibility 0s 0s; }
.layer__backdrop { position: absolute; inset: 0; background: rgba(4, 4, 6, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.6s var(--ease); }
.layer.is-open .layer__backdrop { opacity: 1; }

.drawer__panel {
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: 10px;
  width: min(440px, calc(100% - 20px));
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  transform: translateX(calc(100% + 24px));
  transition: transform 0.8s var(--ease);
}
.layer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 22px 18px 26px; border-bottom: 1px solid var(--line); }
.drawer__title { font-family: var(--f-display); font-weight: 400; font-size: 2rem; line-height: 1; text-transform: uppercase; }
.drawer__title sup { font-family: var(--f-mono); font-size: 0.75rem; color: var(--muted); margin-left: 6px; vertical-align: top; }
.drawer__body { flex: 1; overflow-y: auto; padding: 10px 14px; overscroll-behavior: contain; }
.drawer__foot { padding: 20px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.cart__row { display: flex; justify-content: space-between; align-items: baseline; }
.cart__row strong { font-family: var(--f-display); font-weight: 400; font-size: 1.9rem; line-height: 1; }
.cart__note { color: var(--dim); text-align: center; }
.cart__empty { display: grid; justify-items: center; gap: 20px; padding: 80px 20px; color: var(--muted); text-align: center; }
.cart__empty svg { width: 46px; height: 46px; color: var(--dim); }
.cart-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; transition: background-color 0.3s; animation: itemIn 0.6s var(--ease) both; }
.cart-item:hover { background: var(--surface); }
@keyframes itemIn { from { opacity: 0; transform: translateX(20px); } }
.cart-item__cover { position: relative; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; }
.cart-item__info { display: grid; min-width: 0; }
.cart-item__info strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item__info span { font-size: 0.82rem; color: var(--muted); }
.cart-item__side { display: grid; justify-items: end; gap: 4px; }
.cart-item__price { font-weight: 600; }
.cart-item__remove { font-size: 0.76rem; color: var(--dim); transition: color 0.3s; }
.cart-item__remove:hover { color: var(--c3); }

.modal__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(560px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65);
  transform: translate(-50%, -46%) scale(0.96);
  opacity: 0;
  transition: transform 0.7s var(--ease), opacity 0.45s;
}
.layer.is-open .modal__panel { transform: translate(-50%, -50%); opacity: 1; }
.modal__head { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 18px 18px 18px; border-bottom: 1px solid var(--line); }
.modal__cover { position: relative; width: 76px; height: 76px; border-radius: 14px; overflow: hidden; }
.modal__label { color: var(--c2); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.64rem; }
.modal__title { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.modal__sub { color: var(--muted); font-size: 0.86rem; }
.modal__body { overflow-y: auto; padding: 14px; display: grid; gap: 8px; overscroll-behavior: contain; }
.opt { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); cursor: pointer; transition: border-color 0.3s, background-color 0.3s; }
.opt:hover { border-color: var(--line-2); background: var(--surface); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__dot { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: border-color 0.3s; }
.opt__dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--iri); transform: scale(0); transition: transform 0.4s var(--ease); }
.opt input:checked ~ .opt__dot { border-color: var(--text); }
.opt input:checked ~ .opt__dot::after { transform: scale(1); }
.opt:has(input:checked) { border-color: rgba(255, 255, 255, 0.4); background: var(--surface); }
.opt input:focus-visible ~ .opt__dot { outline: 2px solid var(--c2); outline-offset: 3px; }
.opt__name { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.opt__name .badge { font-size: 0.55rem; }
.opt__files { display: block; color: var(--muted); font-size: 0.8rem; }
.opt__price { font-weight: 600; font-size: 1.05rem; }
.modal__foot { padding: 14px 18px 18px; border-top: 1px solid var(--line); }
.modal__foot .btn { width: 100%; }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 120;
  max-width: calc(100% - 32px);
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--text);
  color: #08080a;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform 0.7s var(--ease), opacity 0.4s;
  pointer-events: none;
}
.toast.is-show { transform: translate(-50%, 0); opacity: 1; }
.has-player .toast { bottom: 112px; }

/* Fly to cart */
.fly { position: fixed; z-index: 130; border-radius: 12px; overflow: hidden; pointer-events: none; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .tracklist { --cols: 34px 60px minmax(0, 1fr) 58px 82px 54px 168px; }
  .tracklist__head span:nth-child(4), .beat__tags { display: none; }
  .lic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --nav-h: 68px; }
  .nav { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .burger { display: grid; }
  .section__head { grid-template-columns: 1fr; }
  .section__lead { justify-self: start; }
  .hero__bottom { grid-template-columns: 1fr; align-items: start; gap: 28px; }
  .hero__scroll { display: none; }
  .feat { justify-self: start; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .player__vol { display: none; }
}

@media (max-width: 820px) {
  .tracklist { --cols: 56px minmax(0, 1fr) auto; }
  .tracklist__head { display: none; }
  .beat { gap: 14px; padding: 12px 10px; }
  .beat::after { left: 10px; right: 10px; }
  .beat__num, .beat__bpm, .beat__key, .beat__dur { display: none; }
  .beat__cover { width: 56px; height: 56px; }
  .beat__meta { display: block; }
  .beat__buy { height: 40px; padding: 0 12px 0 10px; }
  .beat__buy .from { display: none; }
  .beat__buy.is-in { width: 40px; padding: 0; justify-content: center; }
  .beat__buy.is-in span { display: none; }
  .beat__titleRow .badge { display: none; }
  .badge--cover { display: block; }
  .beat__title { font-size: 1rem; }
  .toolbar__right { margin-left: 0; width: 100%; justify-content: space-between; }
  .search { max-width: none; flex-basis: 100%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); scrollbar-width: none; width: calc(100% + var(--pad) * 2); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .process__pin { min-height: 0; }
  .process__track { flex-direction: column; width: auto; }
  .step { width: 100%; min-height: 0; }
  .process__progress { display: none; }
  .player__inner { grid-template-columns: minmax(0, 1fr) auto; padding: 10px 12px 10px 10px; gap: 10px; }
  .player__side { display: none; }
  .player__controls .pbtn[data-prev] { display: none; }
  .player__cover { width: 44px; height: 44px; }
  .pbtn--main { width: 44px; height: 44px; }
  body.has-player { padding-bottom: 92px; }
  .has-player .toast { bottom: 96px; }
}

@media (max-width: 640px) {
  .hero__top { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero__genres { display: none; }
  .hero__title { font-size: 40vw; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .feat { width: 100%; }
  .lic-grid { grid-template-columns: 1fr; }
  .lic { padding: 26px 22px 22px; }
  .cta__actions { flex-direction: column; align-items: stretch; }
  .cta__actions .btn { width: 100%; }
  .socials { justify-content: space-between; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .drawer__panel { top: auto; left: 8px; right: 8px; bottom: 8px; width: auto; max-height: 86vh; transform: translateY(calc(100% + 20px)); }
  .modal__panel { top: auto; bottom: 8px; transform: translate(-50%, 30px); width: calc(100% - 16px); max-height: 88vh; }
  .layer.is-open .modal__panel { transform: translate(-50%, 0); }
  .modal__head { grid-template-columns: 60px minmax(0, 1fr) auto; }
  .modal__cover { width: 60px; height: 60px; }
}

@media (hover: none) {
  .cursor { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .grain { display: none; }
}
