/* Syre Beats — design system v3
   Black stage, one orange accent, floating 3D artwork, big grotesk type. */

:root {
  color-scheme:dark;
  --bg: #050506;
  --panel: #0c0c0e;
  --panel-2: #121215;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .14);
  --ink: #f4f4f5;
  --muted: #9a9aa3;
  --muted-2: #5b5b64;
  --accent: #ff3b3b;
  --accent-2: #ff6060;
  --accent-ink: #1a0404;
  --accent-glow: rgba(255, 59, 59, .4);
  --radius: 12px;
  --radius-lg: 18px;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t: .5s;
  --sans: 'Inter', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  --display: 'Archivo', 'Inter', system-ui, sans-serif;
  --header-h: 72px;
}

/* Base ------------------------------------------------------------------ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); text-size-adjust: 100%; -webkit-text-size-adjust: 100%; background: var(--bg); overscroll-behavior-y: none; }
body { margin: 0; background: transparent; overscroll-behavior-y: none; color: var(--ink); font: 400 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; min-height: 100vh; overflow-x: hidden; }
body:has(.audio-dock:not([hidden])) { padding-bottom: 110px; }
a { color: inherit; text-decoration: none; transition: color var(--t) var(--ease), opacity var(--t) var(--ease); }
button, input, select, textarea { font: inherit; }
button, a, input, select, summary, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; border-radius: 10px; transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease), opacity var(--t) var(--ease), transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease); }
button, a, summary { touch-action: manipulation; }
button:disabled { cursor: wait; opacity: .5; }
input, select, textarea { color: var(--ink); background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px; transition: border-color var(--t) var(--ease), background var(--t) var(--ease); }
input[type=search] { min-width: 0; -webkit-appearance: none; appearance: none; }
input::placeholder, textarea::placeholder { color: var(--muted-2); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.wrap { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: fixed; left: 20px; top: -100px; z-index: 300; background: var(--accent); color: var(--accent-ink); padding: 12px 20px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 14px; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* Type ------------------------------------------------------------------ */
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; font-stretch: 112.5%; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance; }
h2 { font-size: clamp(24px, 2.4vw, 32px); }
h3 { font-size: 22px; }
.label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); padding: 7px 12px; border-radius: 999px; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.count { font-size: 12px; color: var(--muted-2); padding-top: 18px; }
.note { font-size: 12px; color: var(--muted-2); margin-top: 16px; }

/* Buttons --------------------------------------------------------------- */
.button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 14px 24px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; letter-spacing: -.005em; border-radius: 12px; background: rgba(255, 255, 255, .04); color: var(--ink); white-space: nowrap; transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease); }
.button:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .3); transform: translateY(-2px); }
.button.primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 10px 30px -12px var(--accent-glow); }
.button.primary:hover { background: var(--accent-2); border-color: var(--accent-2); transform: translateY(-2px); box-shadow: 0 18px 40px -12px var(--accent-glow); }
.button.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.button.ghost:hover { color: var(--ink); background: rgba(255, 255, 255, .05); transform: none; }
.button.small { min-height: 40px; padding: 9px 16px; font-size: 13px; border-radius: 10px; }
.text-link { display: inline-flex; gap: 8px; align-items: center; background: none; border: 0; padding: 6px 0; font-size: 14px; font-weight: 500; color: var(--muted); border-radius: 4px; }
.text-link:hover { color: var(--ink); }
.icon-button { display: inline-grid; place-items: center; width: 40px; height: 40px; background: none; border: 1px solid transparent; font-size: 20px; flex-shrink: 0; border-radius: 50%; color: var(--muted); }
.icon-button:hover { background: rgba(255, 255, 255, .07); color: var(--ink); }
.icon-button:disabled { cursor: default; opacity: .2; }
.icon-button svg { width: 15px; height: 15px; fill: currentColor; }

/* 3D tilt + shine --------------------------------------------------------- */
.tilt { --rx: 0deg; --ry: 0deg; --sx: 50%; --sy: 50%; transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .9s var(--ease-out), box-shadow .9s var(--ease-out); will-change: transform; }
.tilt.is-tilting { transition: transform .12s linear, box-shadow .9s var(--ease-out); }
.shine { position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; background: radial-gradient(420px circle at var(--sx) var(--sy), rgba(255, 255, 255, .16), transparent 55%); opacity: 0; transition: opacity .6s var(--ease); }
.tilt:hover .shine { opacity: 1; }

/* Cursor light: soft white circle that follows the pointer, behind all content. */
.cursor-glow { position: fixed; left: 0; top: 0; width: 1000px; height: 1000px; z-index: -1; pointer-events: none; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .085), rgba(255, 255, 255, .035) 30%, rgba(255, 255, 255, .01) 50%, transparent 68%); transform: translate3d(-3000px, -3000px, 0); will-change: transform; display: none; }
@media (hover: hover) and (pointer: fine) { .cursor-glow { display: block; } }

/* Scroll reveal ---------------------------------------------------------- */
html.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js .kit-card[data-reveal].is-in { transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)); }
html.js .kit-card[data-reveal] { transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), box-shadow .9s var(--ease-out); }
html.js .kit-card.is-tilting { transition: opacity .9s var(--ease-out), transform .12s linear, box-shadow .9s var(--ease-out); }

/* Page transitions -------------------------------------------------------- */
html.js body { animation: page-in .7s var(--ease-out) both; }
html.is-leaving body { opacity: 0; transition: opacity .2s ease; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

/* Header ----------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(5, 5, 6, .6); backdrop-filter: blur(18px) saturate(130%); -webkit-backdrop-filter: blur(18px) saturate(130%); border-bottom: 1px solid transparent; transition: border-color var(--t) var(--ease), background var(--t) var(--ease); }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(5, 5, 6, .82); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 900; font-stretch: 112.5%; font-size: 22px; letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; }
.brand-mark { font-size: 30px; line-height: 1; color: var(--ink); display: inline-block; transition: transform .9s var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(90deg); }
.site-header nav { display: flex; gap: 2px; align-items: center; font-size: 14px; font-weight: 500; }
.site-header nav a { padding: 9px 14px; border-radius: 10px; color: var(--muted); }
.site-header nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 42px; height: 42px; background: none; border: 1px solid var(--line-2); border-radius: 10px; place-items: center; position: relative; }
.menu-bar { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform var(--t) var(--ease-out); }
.menu-bar:first-child { transform: translateY(-4px); }
.menu-bar:last-child { transform: translateY(4px); }
.menu-toggle[aria-expanded=true] .menu-bar:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded=true] .menu-bar:last-child { transform: rotate(-45deg); }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(20px, 4vw, 50px); }
.hero-ghost { position: absolute; left: 50%; top: clamp(0px, 1vw, 16px); transform: translateX(-50%); font-family: var(--display); font-weight: 900; font-stretch: 112.5%; font-size: clamp(90px, 19vw, 300px); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; white-space: nowrap; color: transparent; background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .05) 88%); -webkit-background-clip: text; background-clip: text; pointer-events: none; user-select: none; opacity: 0; animation: ghost-in 1.6s var(--ease-out) .2s both; }
@keyframes ghost-in { from { opacity: 0; transform: translateX(-50%) translateY(20px); } to { opacity: 1; transform: translateX(-50%); } }
.hero-inner { position: relative; display: grid; justify-items: center; padding-top: clamp(60px, 9vw, 130px); padding-bottom: clamp(40px, 5vw, 70px); }
.hero-stage { position: relative; width: min(860px, 90vw); aspect-ratio: 16 / 9; }
.hero-float { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-card { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--panel); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 1), 0 0 0 1px rgba(255, 255, 255, .03) inset; opacity: 0; animation: card-in 1.3s cubic-bezier(.22, 1, .36, 1) .3s both; }
@keyframes card-in { 0% { opacity: 0; transform: perspective(1100px) scale(.4) translateY(40px); } 60% { opacity: 1; transform: perspective(1100px) scale(1.07) translateY(-6px); } 80% { transform: perspective(1100px) scale(.97); } 100% { opacity: 1; transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)); } }
.hero-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; object-position: center 40%; }
.hero-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5, 5, 6, .85)); pointer-events: none; }
.hero-glow { position: absolute; left: 10%; right: 10%; bottom: -8%; height: 30%; background: radial-gradient(closest-side, var(--accent-glow), transparent); filter: blur(30px); opacity: .7; pointer-events: none; z-index: -1; animation: glow 7s ease-in-out infinite; }
@keyframes glow { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: .85; transform: scale(1.08); } }
.hero-copy { position: relative; z-index: 2; text-align: center; margin-top: -120px; display: grid; justify-items: center; gap: 14px; max-width: 560px; }
.hero-title { font-size: clamp(36px, 5vw, 64px); letter-spacing: -.025em; text-shadow: 0 20px 60px rgba(0, 0, 0, .8); }
.hero-text { font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 46ch; text-wrap: pretty; }
.hero-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
html.js .hero-copy > * { animation: rise 1s var(--ease-out) both; }
html.js .hero-copy > :nth-child(1) { animation-delay: .7s; }
html.js .hero-copy > :nth-child(2) { animation-delay: .8s; }
html.js .hero-copy > :nth-child(3) { animation-delay: .9s; }
html.js .hero-copy > :nth-child(4) { animation-delay: 1s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Intro hero (home) ----------------------------------------------------------- */
.intro-hero { position: relative; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: grid; align-items: end; justify-items: center; overflow: hidden; isolation: isolate; }
.intro-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(1.05) contrast(1.05); opacity: 0; animation: video-in .8s ease-out both; }
@keyframes video-in { to { opacity: 1; } }
.intro-veil { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(5, 5, 6, .2), rgba(5, 5, 6, .7) 70%), linear-gradient(180deg, rgba(5, 5, 6, .35), rgba(5, 5, 6, .15) 40%, var(--bg) 100%); }
.intro-copy { position: relative; text-align: center; display: grid; justify-items: center; gap: 12px; padding: 40px 20px clamp(56px, 8vh, 90px); max-width: 760px; }
.intro-mark { font-size: clamp(56px, 6vw, 80px); line-height: 1; color: var(--ink); text-shadow: 0 10px 50px rgba(0, 0, 0, .8); margin-bottom: 10px; }
.intro-copy .label { color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .22em; }
.intro-copy h1 { font-size: clamp(36px, 4.6vw, 64px); line-height: .98; text-transform: none; letter-spacing: -.03em; text-shadow: 0 20px 60px rgba(0, 0, 0, .8); }
.intro-copy h1 .accent { color: var(--accent); }
.intro-copy p { font-size: 15px; color: var(--muted); margin-top: 4px; }
.intro-copy .button { margin-top: 18px; min-height: 54px; padding-inline: 28px; }
html.js .intro-copy { animation: pop-in 1.1s var(--ease-out) .1s both; }
@keyframes pop-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.kits-page { padding-top: 10px; }
.kits-page h1 { font-size: clamp(26px, 2.8vw, 38px); }

/* Categories ------------------------------------------------------------------ */
.cats-section { padding-top: clamp(40px, 6vw, 80px); }
.cats-head { text-align: center; display: grid; gap: 10px; margin-bottom: 30px; }
.cats-head h2 { font-size: clamp(26px, 3vw, 40px); text-transform: none; letter-spacing: -.03em; }
.cats-head p { color: var(--muted); font-size: 14px; }
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 960px; margin: 0 auto; perspective: 1400px; }
.cat { position: relative; display: flex; align-items: center; gap: 20px; padding: 26px 26px 26px 24px; border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line); overflow: hidden; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 1); transition: border-color var(--t) var(--ease), box-shadow .9s var(--ease-out), transform .9s var(--ease-out); }
.cat:hover { border-color: rgba(255, 255, 255, .2); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 1), 0 0 60px -30px var(--accent-glow); }
.cat-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--accent); flex-shrink: 0; transition: background var(--t) var(--ease), transform .9s var(--ease-out); }
.cat-icon svg { width: 30px; height: 30px; fill: currentColor; }
.cat:hover .cat-icon { background: rgba(255, 59, 59, .12); transform: translateZ(20px); }
.cat-body { display: grid; gap: 4px; flex: 1; min-width: 0; }
.cat-body strong { font-family: var(--display); font-weight: 800; font-stretch: 112.5%; font-size: 18px; letter-spacing: -.01em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cat-body span { font-size: 13px; color: var(--muted); }
.soon { font: 600 10px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); padding: 5px 8px; border-radius: 999px; font-style: normal; }
.cat-arrow { color: var(--muted); font-size: 20px; transition: transform var(--t) var(--ease-out), color var(--t) var(--ease); }
.cat:hover .cat-arrow { transform: translateX(6px); color: var(--accent); }

/* Sections ----------------------------------------------------------------- */
.section { padding-block: clamp(50px, 6vw, 90px) 10px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head > p { font-size: 14px; color: var(--muted); }
.tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.chips { display: inline-flex; gap: 2px; padding: 3px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.chips button { background: transparent; border: 0; padding: 8px 14px; min-height: 36px; font-size: 13px; font-weight: 500; border-radius: 9px; color: var(--muted); }
.chips button:hover { color: var(--ink); }
.chips button[aria-pressed=true] { background: rgba(255, 255, 255, .1); color: var(--ink); }
.search-field { display: flex; align-items: center; min-width: 0; }
.search-field input { width: 170px; max-width: 100%; min-height: 42px; padding: 9px 14px; font-size: 14px; }
.search-field input:hover, .search-field input:focus { border-color: rgba(255, 255, 255, .35); outline: none; }
.sort-field select, .tools select { font-size: 13px; font-weight: 500; background-color: var(--panel); border: 1px solid var(--line-2); border-radius: 10px; padding: 9px 34px 9px 14px; min-height: 42px; color: var(--ink); -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%239a9aa3' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; background-size: 14px; cursor: pointer; }
.sort-field select:hover, .tools select:hover { border-color: rgba(255, 255, 255, .35); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); }

/* Cards ------------------------------------------------------------------ */
.kit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; perspective: 1400px; }
.kit-card { position: relative; display: block; aspect-ratio: 1 / 1.06; border-radius: var(--radius-lg); overflow: hidden; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 1); }
.kit-card:hover { border-color: rgba(255, 255, 255, .18); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 1), 0 0 60px -30px var(--accent-glow); }
.card-media { position: absolute; inset: 0; display: block; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out), filter 1s var(--ease); filter: saturate(.9); transform: scale(1.02); }
.kit-card:hover .card-media img { transform: scale(1.08); filter: saturate(1.05); }
.card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 5, 6, .05) 35%, rgba(5, 5, 6, .92) 100%); transition: opacity var(--t) var(--ease); }
.card-price { position: absolute; top: 14px; right: 14px; z-index: 4; font-size: 13px; font-weight: 600; padding: 7px 11px; border-radius: 999px; background: rgba(5, 5, 6, .6); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease); }
.kit-card:hover .card-price { background: var(--accent); border-color: var(--accent); color: #fff; }
.card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 20px; display: grid; gap: 4px; transform: translateZ(30px); transition: transform .9s var(--ease-out); }
.card-tag { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.card-body strong { font-family: var(--display); font-weight: 800; font-stretch: 112.5%; font-size: clamp(19px, 1.8vw, 24px); line-height: 1; letter-spacing: -.02em; text-transform: uppercase; }
.card-text { font-size: 13px; color: var(--muted); transition: color var(--t) var(--ease); }
.kit-card:hover .card-text { color: var(--ink); }
.empty-state { padding: 55px 20px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius-lg); color: var(--muted); margin-top: 18px; }
.empty-state p { margin: 10px 0 22px; }
.empty-state h3 { color: var(--ink); }

/* Notes / FAQ -------------------------------------------------------------- */
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-bottom: 40px; }
.note-card { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: radial-gradient(600px circle at 0% 0%, rgba(255, 59, 59, .14), transparent 60%), var(--panel); display: grid; gap: 14px; align-content: center; }
.note-card p { color: var(--muted); line-height: 1.75; max-width: 44ch; }
.faq { padding: 6px clamp(20px, 3vw, 36px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--panel); }
.faq details + details { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-size: 15px; font-weight: 500; transition: color var(--t) var(--ease); }
summary:hover { color: var(--accent-2); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; background: linear-gradient(var(--muted), var(--muted)) center / 100% 1.5px no-repeat, linear-gradient(var(--muted), var(--muted)) center / 1.5px 100% no-repeat; transform: translateY(-50%); transition: transform var(--t) var(--ease-out); }
details[open] summary::after { transform: translateY(-50%) rotate(135deg); }
details > p { color: var(--muted); font-size: 14px; line-height: 1.8; padding: 0 30px 22px 0; }

/* Footer ----------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 60px 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-col { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.footer-col p { color: var(--muted); margin-top: 12px; line-height: 1.75; }
.footer-col .label { margin-bottom: 8px; color: var(--muted-2); }
.footer-col a:not(.brand) { color: var(--muted); padding: 5px 0; width: fit-content; }
.footer-col a:not(.brand):hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; align-items: center; border-top: 1px solid var(--line); padding-top: 22px; font-size: 12px; color: var(--muted-2); }
.footer-bottom a:hover { color: var(--ink); }

/* Previews ----------------------------------------------------------------- */
.sample-list { overflow: hidden; }
.sample-row { position: relative; width: 100%; display: flex; gap: 14px; align-items: center; text-align: left; background: transparent; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); padding: 12px 18px; min-height: 64px; --p: 0%; transition: background var(--t) var(--ease); }
.sample-row:last-child { border-bottom: 0; }
.sample-row:hover { background: rgba(255, 255, 255, .035); }
.sample-row[aria-pressed=true] { background: rgba(255, 59, 59, .08); }
.sample-row::before { content: ''; position: absolute; left: 0; bottom: -1px; height: 2px; width: var(--p); background: var(--accent); opacity: 0; transition: opacity var(--t) var(--ease); }
.sample-row[aria-pressed=true]::before { opacity: 1; }
.row-index { font-size: 11px; color: var(--muted-2); width: 22px; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.sample-row > .play-glyph { display: block; width: 36px; height: 36px; padding: 11px; border-radius: 50%; flex-shrink: 0; box-sizing: border-box; color: var(--ink); background: rgba(255, 255, 255, .07); transition: background var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease-out); }
.sample-row:hover > .play-glyph { background: var(--ink); color: var(--bg); transform: scale(1.06); }
.sample-row[aria-pressed=true] > .play-glyph { background: var(--accent); color: #fff; }
.play-glyph { fill: currentColor; }
.ico-pause { display: none; }
[aria-pressed=true] .ico-play { display: none; }
[aria-pressed=true] .ico-pause { display: block; }
.is-loading .play-glyph { animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }
.sample-title { flex: 1; min-width: 0; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; line-height: 1.4; }
.sample-title small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; margin-top: 2px; }
.waveform { width: 144px; height: 32px; flex-shrink: 0; color: rgba(255, 255, 255, .16); transition: color var(--t) var(--ease); }
.waveform path { stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; fill: none; }
.waveform .wave-fill { stroke: var(--accent); clip-path: inset(0 calc(100% - var(--p)) 0 0); opacity: 0; transition: opacity var(--t) var(--ease); }
.sample-row[aria-pressed=true] .waveform .wave-fill { opacity: 1; }
.sample-row:hover .waveform { color: rgba(255, 255, 255, .32); }
.sample-time { font-variant-numeric: tabular-nums; font-size: 12px; color: var(--muted); min-width: 44px; text-align: right; }

/* Inside / editions --------------------------------------------------------- */
.inside { padding: clamp(20px, 3vw, 32px); display: grid; gap: 20px; }
.contents { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 28px; margin: 0; }
.contents > div { display: flex; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); padding-block: 12px; font-size: 14px; }
.contents dt { color: var(--muted); }
.contents dd { margin: 0; font-variant-numeric: tabular-nums; }
.feature-list { padding-left: 18px; margin: 0; color: var(--muted); font-size: 14px; line-height: 2; }
.edition-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.edition-grid:has(> :only-child) { grid-template-columns: minmax(0, 620px); }
.edition { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; transition: border-color var(--t) var(--ease), transform .9s var(--ease-out), box-shadow .9s var(--ease-out); }
.edition:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 1); }
.edition h3 { font-size: 26px; }
.edition > p:not(.note) { color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 40ch; }
.edition.full { background: radial-gradient(500px circle at 100% 0%, rgba(255, 59, 59, .16), transparent 60%), var(--panel); border-color: rgba(255, 59, 59, .25); }
.edition.full:hover { border-color: rgba(255, 59, 59, .55); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 1), 0 0 80px -40px var(--accent-glow); }
.edition-price { display: block; font-family: var(--display); font-weight: 800; font-stretch: 112.5%; font-size: 48px; line-height: 1; letter-spacing: -.02em; margin: 14px 0 8px; }
.edition-price > span { display: block; font-family: var(--sans); font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 8px; letter-spacing: 0; }
.edition .button { margin-top: auto; }
.download-state { margin-top: 10px; }
.download-state progress { display: block; width: 100%; height: 4px; accent-color: var(--accent); border: 0; border-radius: 4px; overflow: hidden; }
.download-state p { font-size: 12px; color: var(--muted); margin-top: 10px; }
.download-state .text-link { font-size: 12px; }
.coming { padding-block: clamp(90px, 14vw, 180px); min-height: 60vh; display: grid; gap: 18px; justify-items: center; text-align: center; }
.coming h1 { font-size: clamp(40px, 5.5vw, 76px); text-transform: none; letter-spacing: -.03em; }
.coming p { color: var(--muted); max-width: 46ch; font-size: 16px; line-height: 1.7; }
.not-found { padding-block: 120px; min-height: 60vh; display: grid; gap: 20px; justify-items: start; }
.not-found h1 { font-size: clamp(44px, 7vw, 110px); }

/* Audio dock -------------------------------------------------------------- */
.audio-dock { position: fixed; z-index: 100; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(980px, calc(100% - 32px)); display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(12, 12, 14, .85); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 1); backdrop-filter: blur(24px) saturate(130%); -webkit-backdrop-filter: blur(24px) saturate(130%); animation: dock-in .8s var(--ease-out) both; }
@keyframes dock-in { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }
.audio-dock > img { object-fit: cover; border-radius: 10px; flex-shrink: 0; width: 48px; height: 48px; }
.now-playing { width: 220px; min-width: 0; }
.now-playing > span:first-child { color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.now-playing > strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; font-weight: 600; }
.now-playing #player-status { display: block; font-size: 11px; color: var(--muted); min-height: 14px; }
.transport { display: flex; gap: 2px; align-items: center; }
.transport .icon-button { width: 34px; height: 34px; }
.player-toggle { display: grid; place-items: center; background: var(--accent); color: #fff; width: 42px; height: 42px; border: 0; border-radius: 50%; transition: transform var(--t) var(--ease-out), background var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.player-toggle:hover { transform: scale(1.06); background: var(--accent-2); box-shadow: 0 0 24px -4px var(--accent-glow); }
.player-toggle .play-glyph { width: 15px; height: 15px; }
.seek-wrap { display: flex; gap: 12px; align-items: center; flex: 1; min-width: 80px; }
.seek-wrap > span { font-size: 11px; font-variant-numeric: tabular-nums; color: var(--muted); min-width: 36px; }
.seek-wrap > span:last-child { text-align: right; }
.volume-control { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.volume-control svg { width: 15px; height: 15px; fill: currentColor; }
.volume-control input { width: 72px; }
.audio-dock #player-close { font-size: 22px; width: 34px; height: 34px; }

/* Custom range slider ----------------------------------------------------- */
.slider { --p: 0%; -webkit-appearance: none; appearance: none; width: 100%; height: 20px; background: transparent; border: 0; padding: 0; margin: 0; cursor: pointer; }
.slider::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) var(--p), rgba(255, 255, 255, .15) var(--p)); }
.slider::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .15); }
.slider::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--accent); }
.slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 12px; height: 12px; margin-top: -4.5px; border-radius: 50%; background: var(--ink); border: 0; transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease); }
.slider::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 0; }
.slider:hover::-webkit-slider-thumb, .slider:focus-visible::-webkit-slider-thumb { transform: scale(1.3); box-shadow: 0 0 0 6px rgba(255, 255, 255, .1); }
.slider:disabled { cursor: default; opacity: .4; }

/* Toast & dialogs ---------------------------------------------------------- */
.toast { position: fixed; z-index: 150; left: 50%; transform: translateX(-50%); bottom: 110px; max-width: min(500px, 90vw); border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 600; box-shadow: 0 10px 30px #0008; }
.toast:not(:empty) { padding: 11px 20px; animation: rise .5s var(--ease-out) both; }
dialog { background: var(--panel); color: var(--ink); border: 1px solid var(--line-2); border-radius: 18px; padding: 28px; width: min(440px, 92vw); box-shadow: 0 50px 140px -20px #000; }
dialog::backdrop { background: rgba(0, 0, 0, .65); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
dialog[open] { animation: dialog-in .7s var(--ease-out) both; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.dialog-title { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin-bottom: 18px; }
.dialog-title h2 { font-size: 24px; }
dialog label { font-size: 13px; color: var(--muted); }
dialog input { display: block; width: 100%; padding: 12px 14px; margin: 8px 0 14px; }
dialog p { color: var(--muted); font-size: 14px; }
.promo { position: fixed; inset: auto 24px 24px auto; margin: 0; width: min(380px, calc(100% - 32px)); padding: 28px 26px 24px; background: radial-gradient(500px circle at 100% 0%, rgba(255, 59, 59, .18), transparent 55%), var(--panel); }
.promo::backdrop { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.promo[open] { animation: promo-in 1s var(--ease-out) both; }
@keyframes promo-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.promo-close { position: absolute; top: 12px; right: 12px; }
.promo h2 { font-size: 30px; margin: 10px 0 8px; }
.promo-code { display: flex; gap: 10px; align-items: center; margin: 18px 0 4px; }
.promo-code code { flex: 1; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; letter-spacing: .16em; padding: 13px 16px; border: 1px dashed var(--line-2); border-radius: 12px; text-align: center; color: var(--ink); }
.promo-code .button { min-height: 46px; padding-inline: 18px; }

/* Catalog editor ----------------------------------------------------------- */
.editor-shell { max-width: 1050px; padding-block: 55px 80px; }
.editor-shell h1 { font-size: clamp(40px, 5vw, 64px); margin: 20px 0; }
.editor-intro { max-width: 700px; color: var(--muted); font-size: 14px; }
.editor-layout { display: grid; grid-template-columns: 220px 1fr; gap: 35px; margin-top: 35px; }
.editor-layout > * { min-width: 0; }
.editor-list { display: flex; gap: 5px; flex-direction: column; align-self: start; max-width: 100%; width: 100%; }
.editor-list button { background: transparent; color: var(--muted); border: 1px solid var(--line); padding: 11px 14px; text-align: left; font-size: 12px; }
.editor-list button[aria-pressed=true] { background: rgba(255, 255, 255, .06); border-color: var(--line-2); color: var(--ink); }
.editor-form { min-width: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.editor-form label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.editor-form input, .editor-form select, .editor-form textarea { display: block; width: 100%; padding: 12px; margin-top: 8px; min-height: 46px; }
.editor-form textarea { min-height: 110px; resize: vertical; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.danger { color: #ff9a7a !important; }
.editor-status { font-size: 13px; color: var(--accent-2); margin-top: 20px; min-height: 22px; }
.export-panel { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius-lg); margin-top: 35px; }
.export-panel h2 { font-size: 25px; }
.export-panel > p { color: var(--muted); font-size: 12px; margin: 14px 0 20px; }
.export-panel .form-actions { margin-top: 15px; }
.editor-note { font-size: 11px; color: var(--muted); padding-top: 15px; }
.editor-form .hint { font-size: 11px; color: var(--muted); margin-top: -10px; margin-bottom: 18px; }
.eyebrow { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.accent { color: var(--accent); }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 56px); }
  .now-playing { width: 170px; }
  .volume-control { display: none; }
}
@media (max-width: 860px) {
  .kit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .notes { grid-template-columns: 1fr; }
  .cats { grid-template-columns: 1fr; }
  .edition-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .header-cta .button { display: none; }
  .editor-layout { grid-template-columns: 170px 1fr; }
}
@media (max-width: 700px) {
  :root { --header-h: 64px; }
  .wrap { width: calc(100% - 36px); }
  .header-inner { position: relative; }
  .menu-toggle { display: grid; }
  .site-header nav { display: none; position: absolute; left: -18px; right: -18px; top: var(--header-h); background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 18px 18px; gap: 2px; box-shadow: 0 30px 60px -20px #000; }
  .site-header nav.is-open { display: flex; flex-direction: column; align-items: stretch; animation: rise .5s var(--ease-out) both; }
  .site-header nav a { padding: 13px 12px; min-height: 48px; font-size: 15px; }
  .intro-copy { padding: 40px 10px 60px; }
  .intro-copy h1 { font-size: clamp(32px, 9vw, 44px); }
  .hero-ghost { font-size: clamp(64px, 24vw, 120px); }
  .hero-inner { padding-top: 46px; }
  .hero-stage { width: min(420px, 90vw); aspect-ratio: 4 / 3; }
  .hero-card img { aspect-ratio: 4 / 3; }
  .hero-copy { margin-top: -70px; gap: 12px; }
  .hero-title { font-size: clamp(38px, 11vw, 56px); }
  .hero-text { font-size: 15px; }
  .hero-actions .button { flex: 1 1 100%; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 18px; }
  .tools { width: 100%; }
  .chips { width: 100%; }
  .chips button { flex: 1; }
  .search-field { flex: 1; }
  .search-field input { width: 100%; }
  .kit-grid { grid-template-columns: 1fr; gap: 14px; }
  .kit-card { aspect-ratio: 1 / .9; }
  .card-body { padding: 16px; }
  .card-body strong { font-size: 24px; }
  .sample-row { padding: 12px; gap: 12px; }
  .row-index { display: none; }
  .waveform { width: 70px; }
  .edition-price { font-size: 42px; }
  .audio-dock { bottom: 10px; width: calc(100% - 20px); display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 6px 12px; padding: 10px 12px; border-radius: 14px; }
  .audio-dock > img { width: 44px; height: 44px; grid-row: 1; }
  .now-playing { width: auto; grid-column: 2; grid-row: 1; }
  .now-playing > strong { font-size: 13px; }
  .transport { grid-column: 3; grid-row: 1; }
  .transport .icon-button { display: none; }
  .player-toggle { width: 38px; height: 38px; }
  .audio-dock #player-close { grid-column: 4; grid-row: 1; width: 30px; }
  .seek-wrap { grid-column: 1 / -1; grid-row: 2; gap: 10px; }
  .seek-wrap > span { font-size: 10px; min-width: 30px; }
  .toast { bottom: 120px; font-size: 12px; }
  .promo { inset: auto 10px 10px 10px; width: auto; padding: 24px 20px 20px; }
  .promo h2 { font-size: 26px; }
  .promo-code { flex-direction: column; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-bottom { flex-wrap: wrap; gap: 10px 18px; }
  .editor-shell { padding-top: 35px; }
  .editor-layout { grid-template-columns: 1fr; gap: 25px; }
  .editor-list { flex-direction: row; overflow-x: auto; padding-bottom: 10px; }
  .editor-list button { white-space: nowrap; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* Reduced motion / touch ------------------------------------------------------ */
@media (hover: none), (pointer: coarse) {
  .tilt { transform: none !important; }
  .shine { display: none; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .tilt { transform: none !important; }
  .hero-float, .hero-glow { animation: none; }
  .intro-video { opacity: 1; animation: none; }
  .hero-ghost, .hero-card { opacity: 1; animation: none; }
}
