/* Beatsbyvibez store: black and white, Unbounded for headings and prices, Hanken Grotesk for text. */
@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded.woff2") format("woff2"); font-weight: 200 900; font-display: swap; ;}
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken.woff2") format("woff2"); font-weight: 100 900; font-display: swap; ;}

:root {
  color-scheme: light;
  --bg: #fff; --panel: #f5f5f5; --panel2: #ececec;
  --line: rgba(0, 0, 0, .12); --line2: rgba(0, 0, 0, .24);
  --text: #000; --soft: rgba(0, 0, 0, .66); --faint: rgba(0, 0, 0, .42);
  --f-display: "Unbounded", "Hanken Grotesk", system-ui, sans-serif;
  --f-text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 112px;
  --gutter: clamp(16px, 4vw, 56px); --max: 1280px; --bar: 68px; --player: 76px;
;}
* { box-sizing: border-box; ;}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; ;}
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--f-text); min-height: 100vh; overflow-x: clip; -webkit-font-smoothing: antialiased; ;}
body.has-player { padding-bottom: calc(var(--player) + 12px); ;}
img { display: block; max-width: 100%; ;}
a { color: inherit; text-decoration: none; ;}
button, input, select, textarea { font: inherit; color: inherit; ;}
button { cursor: pointer; ;}
[hidden] { display: none !important; ;}
:focus-visible { outline: 2px solid #000; outline-offset: 3px; border-radius: 6px; ;}
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.03em; line-height: 1.08; margin: 0; ;}
p { margin: 0; ;}
.soft { color: var(--soft); ;} .faint { color: var(--faint); ;} .small { font-size: 13.5px; ;}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; ;}
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); ;}

/* soft light behind everything: one quiet glow, no colour */
.glow-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(900px 520px at 85% -8%, rgba(0, 0, 0, .09), transparent 60%), radial-gradient(700px 480px at -8% 36%, rgba(0, 0, 0, .05), transparent 60%); ;}
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); ;}

/* ---------- buttons, chips, inputs ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line2); background: transparent; color: var(--text); font-weight: 700; font-size: 15px; transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s; white-space: nowrap; ;}
.btn:hover { border-color: #000; ;}
.btn:active { transform: scale(.98); ;}
.btn.primary { background: #000; color: #fff; border-color: #000; ;}
.btn.primary:hover { background: #222; ;}
.btn.sm { height: 36px; padding: 0 16px; font-size: 13.5px; ;}
.btn.lg { height: 54px; padding: 0 30px; font-size: 16px; ;}
.btn.block { width: 100%; ;}
.btn[disabled] { opacity: .4; pointer-events: none; ;}
.btn.quiet { border-color: transparent; color: var(--soft); ;} .btn.quiet:hover { color: #000; border-color: transparent; ;}
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--soft); white-space: nowrap; background: transparent; ;}
button.chip { cursor: pointer; transition: all .2s; ;} button.chip:hover { color: #000; border-color: var(--line2); ;}
.chip[aria-pressed="true"], .chip.on { background: #000; color: #fff; border-color: #000; ;}
.field { display: grid; gap: 6px; ;}
.field > span { font-size: 13px; font-weight: 700; color: var(--soft); ;}
.input, .select { width: 100%; height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(0, 0, 0, .04); color: #000; outline: none; transition: border-color .2s, background .2s; ;}
textarea.input { height: auto; padding: 12px 16px; min-height: 88px; resize: vertical; ;}
.input::placeholder { color: var(--faint); ;}
.input:focus, .select:focus { border-color: #000; background: rgba(0, 0, 0, .07); ;}
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; ;}
.select option { background: #111; color: #000; ;}
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--soft); cursor: pointer; ;}
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin-top: 1px; border: 1.5px solid var(--line2); border-radius: 6px; display: grid; place-items: center; background: transparent; cursor: pointer; ;}
.check input:checked { background: #000; border-color: #000; ;}
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); ;}
.check a { color: #000; text-decoration: underline; text-underline-offset: 3px; ;}

/* ---------- top bar ---------- */
.bar { position: sticky; top: 0; z-index: 40; height: var(--bar); display: flex; align-items: center; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .72); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); ;}
.bar .wrap { display: flex; align-items: center; gap: var(--s6); ;}
.brand { display: flex; align-items: center; flex: none; ;}
.brand img { height: 40px; width: auto; ;}
.nav { display: flex; gap: var(--s5); margin-left: var(--s4); ;}
.nav a { font-weight: 600; font-size: 15px; color: var(--soft); padding: 8px 2px; position: relative; transition: color .2s; ;}
.nav a:hover, .nav a[aria-current="page"] { color: #000; ;}
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #000; border-radius: 2px; ;}
.bar-end { margin-left: auto; display: flex; align-items: center; gap: var(--s2); ;}
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; transition: border-color .2s, background .2s; ;}
.icon-btn:hover { border-color: #000; ;}
.icon-btn svg { width: 21px; height: 21px; ;}
.icon-btn .count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #000; color: #fff; font: 800 11.5px/20px var(--f-text); text-align: center; ;}
.icon-btn .count.bump { animation: bump .4s var(--ease); ;}
@keyframes bump { 40% { transform: scale(1.4); ;} }
.demo-flag { position: fixed; left: 12px; bottom: calc(var(--player) + 18px); z-index: 35; padding: 6px 12px; border-radius: 999px; background: #000; color: #fff; font-size: 12px; font-weight: 800; ;}
body:not(.has-player) .demo-flag { bottom: 12px; ;}

/* ---------- views ---------- */
#view { min-height: 70vh; animation: viewIn .5s var(--ease); ;}
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); ;} }

/* ---------- hero: the wordmark is the headline ---------- */
.hero2 { padding: var(--s8) 0 var(--s9); position: relative; overflow: clip; ;}
.hero2-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--s7); align-items: center; ;}
.hero2-title { font: 700 clamp(46px, 7.4vw, 116px)/.95 var(--f-display); letter-spacing: -.055em; margin: 0; ;}
.hero2-title .ln { display: block; overflow: hidden; padding: 0 .04em .1em 0; margin-bottom: -.1em; ;}
.hero2-title .ln > span { display: block; transform: translateY(108%); animation: rise 1.05s calc(.12s + var(--n) * .11s) var(--ease) forwards; ;}
@keyframes rise { to { transform: none; ;} }
.hero2-line { margin-top: var(--s6); font-size: clamp(16.5px, 1.5vw, 19px); line-height: 1.55; color: var(--soft); max-width: 46ch; animation: fadeUp .7s .9s var(--ease) backwards; ;}
.hero2-find { margin-top: var(--s6); position: relative; display: flex; align-items: center; max-width: 560px; height: 62px; padding: 0 7px 0 20px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(0, 0, 0, .05); transition: border-color .2s, background .2s; animation: fadeUp .7s 1.05s var(--ease) backwards; ;}
.hero2-find:focus-within { border-color: #000; background: rgba(0, 0, 0, .08); ;}
.hero2-find > svg { flex: none; width: 20px; height: 20px; color: var(--faint); ;}
.hero2-find input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: none; padding: 0 14px; font-size: 16px; color: #000; ;}
.hero2-find input::placeholder { color: var(--faint); ;}
.hero2-find .btn { height: 48px; ;}
.hero2-genres { margin-top: var(--s4); display: flex; gap: 6px 22px; flex-wrap: wrap; animation: fadeUp .7s 1.2s var(--ease) backwards; ;}
.hero2-genres button { padding: 4px 0; border: 0; background: none; color: var(--soft); font-weight: 600; font-size: 15px; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; ;}
.hero2-genres button:hover { color: #000; border-bottom-color: #000; ;}
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); ;} }

/* the three newest beats, laid out like sleeves on a table */
.hero2-crate { position: relative; aspect-ratio: 1 / 1.02; ;}
.sleeve { position: absolute; width: 58%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--panel2); border: 1px solid var(--line2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .25); transition: transform .5s var(--ease), box-shadow .5s; animation: sleeveIn .9s var(--d, .6s) var(--ease) backwards; ;}
.sleeve img { width: 100%; height: 100%; object-fit: cover; ;}
.sleeve.s1 { left: 0; top: 7%; transform: rotate(-4deg); z-index: 2; ;}
.sleeve.s2 { right: 0; top: 0; transform: rotate(3.5deg); z-index: 1; ;}
.sleeve.s3 { left: 20%; bottom: 0; transform: rotate(-1.5deg); z-index: 3; ;}
.sleeve:hover, .sleeve:focus-visible { transform: translateY(-10px) rotate(0); z-index: 5; box-shadow: 0 40px 70px -18px rgba(0, 0, 0, .28); ;}
.sleeve .cap { position: absolute; left: 10px; bottom: 10px; right: 10px; display: grid; padding: 9px 12px; border-radius: 10px; background: rgba(0, 0, 0, .66); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; translate: 0 6px; transition: opacity .3s, translate .3s var(--ease); }
.sleeve:hover .cap, .sleeve:focus-visible .cap { opacity: 1; translate: 0 0; }
.sleeve .cap b { font: 600 14px var(--f-display); letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sleeve .cap small { color: var(--soft); font-size: 12.5px; }
@keyframes sleeveIn { from { opacity: 0; translate: 0 40px; ;} }
@media (hover: none) { .sleeve .cap { opacity: 1; translate: 0 0; } }

/* ---------- YouTube band: the one white block on the page ---------- */
.band { background: #000; color: #fff; padding: var(--s9) 0; position: relative; z-index: 1; ;}
.band-page { padding-top: var(--s8); ;}
.band h1, .band h2 { font-size: clamp(32px, 4.6vw, 62px); letter-spacing: -.045em; line-height: 1; max-width: 12ch; ;}
.band-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--s8); align-items: center; ;}
.band-copy > p { margin-top: var(--s5); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: rgba(255, 255, 255, .68); max-width: 36ch; ;}
.band-actions { margin-top: var(--s6); display: flex; align-items: center; gap: var(--s5); flex-wrap: wrap; ;}
.btn.dark { background: #fff; color: #000; border-color: #fff; ;} .btn.dark:hover { background: #e9e9e9; border-color: #e9e9e9; ;}
.band-link { font-weight: 700; border-bottom: 2px solid #fff; padding-bottom: 2px; ;}
.band-note { margin-top: var(--s5); font-size: 14.5px; color: rgba(255, 255, 255, .55); max-width: 40ch; ;}
.band .ratio { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .15); ;}
.band-facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; display: grid; place-items: center; align-content: center; gap: 18px; color: #fff; background: #000 var(--bg, none) center / cover no-repeat; isolation: isolate; }
.band-facade::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .62); z-index: -1; transition: background .4s; }
.band-facade:hover::before { background: rgba(0, 0, 0, .45); }
.band-facade .fmark { width: min(62%, 360px); height: auto; }
.band-facade .vplay { position: static; translate: none; width: 64px; height: 64px; }
.band-facade:hover .vplay { transform: scale(1.08); }
.band-facade .flabel { font-weight: 700; font-size: 15px; }
.band .ratio iframe, .vframe .ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; ;}
.band-strip { margin-top: var(--s7); display: flex; gap: var(--s4); overflow-x: auto; padding-bottom: var(--s3); scroll-snap-type: x proximity; ;}
.band-page .band-strip { flex-wrap: wrap; overflow: visible; ;}
.vid { flex: 0 0 min(260px, 70vw); display: grid; gap: 10px; text-align: left; border: 0; background: none; color: #fff; scroll-snap-align: start; padding: 0; ;}
.vid-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #111; ;}
.vid-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); ;}
.vid:hover .vid-thumb img { transform: scale(1.05); ;}
.vid-thumb svg { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 46px; height: 46px; padding: 13px; border-radius: 50%; background: #fff; color: #000; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
.vid-title { font-weight: 700; font-size: 14.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; ;}
.band :focus-visible { outline-color: #fff; ;}

/* video on a beat page */
.beat-video { margin-top: var(--s8); max-width: 860px; ;}
.beat-video h2 { font-size: 24px; margin-bottom: var(--s4); ;}
.vframe .ratio, .vfacade { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #111; border: 1px solid var(--line); padding: 0; ;}
.vfacade img { width: 100%; height: 100%; object-fit: cover; ;}
.vplay { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 72px; height: 72px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); transition: transform .3s var(--ease); }
.vfacade:hover .vplay { transform: scale(1.08); } .vplay svg { width: 28px; height: 28px; }
html[data-motion="off"] .hero2-title .ln > span { transform: none; ;}
@media (prefers-reduced-motion: reduce) { .hero2-title .ln > span { transform: none; animation: none; ;} .sleeve, .hero2-line, .hero2-find, .hero2-genres { animation: none; ;} }

/* ---------- filters ---------- */
.filters { margin-top: var(--s8); display: grid; gap: var(--s4); ;}
.filters-top { display: flex; gap: var(--s3); flex-wrap: wrap; align-items: center; ;}
.search { position: relative; flex: 1 1 260px; max-width: 420px; ;}
.search svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--faint); pointer-events: none; ;}
.search .input { padding-left: 46px; border-radius: 999px; ;}
.filters .select { width: auto; min-width: 150px; border-radius: 999px; height: 46px; ;}
.view-toggle { margin-left: auto; display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; ;}
.view-toggle button { width: 38px; height: 36px; border: 0; border-radius: 999px; background: transparent; color: var(--soft); display: grid; place-items: center; ;}
.view-toggle button[aria-pressed="true"] { background: #000; color: #fff; ;}
.view-toggle svg { width: 18px; height: 18px; ;}
.genres { display: flex; gap: var(--s2); flex-wrap: wrap; ;}
.count-line { color: var(--faint); font-size: 14px; margin: var(--s5) 0 var(--s4); ;}

/* ---------- beat cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--s5) var(--s4); ;}
.beat { position: relative; display: grid; gap: var(--s3); animation: cardIn .6s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 40ms); ;}
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); ;} }
.cover { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--panel2); border: 1px solid var(--line); ;}
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; ;}
.beat:hover .cover img { transform: scale(1.05); ;}
.cover .play { position: absolute; right: 12px; bottom: 12px; width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; color: #000; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); transition: transform .25s var(--ease), opacity .25s; }
.cover .play:hover { transform: scale(1.1); }
.cover .play svg { width: 22px; height: 22px; }
.play .i-pause { display: none; ;} .is-playing .play .i-pause { display: block; ;} .is-playing .play .i-play { display: none; ;}
@media (hover: hover) { .beat:not(.is-playing) .cover .play { opacity: 0; transform: translateY(8px); } .beat:hover .cover .play, .beat:focus-within .cover .play { opacity: 1; transform: none; } }
.cover .tag { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .66); backdrop-filter: blur(6px); font-size: 12px; font-weight: 700; }
.beat h3 { font-size: 16px; letter-spacing: -.02em; ;}
.beat h3 a::after { content: ""; position: absolute; inset: 0 0 auto 0; aspect-ratio: 1; ;}   /* the whole cover opens the beat */
.beat .cover .play { z-index: 2; }
.beat .sub { color: var(--soft); font-size: 14px; margin-top: 2px; ;}
.beat .meta { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; ;}
.beat .meta .chip { height: 26px; font-size: 12.5px; padding: 0 10px; ;}
.beat .price { margin-left: auto; font: 700 14px var(--f-display); letter-spacing: -.02em; ;}
.eq { display: none; gap: 2px; align-items: flex-end; height: 14px; ;}
.eq i { width: 3px; background: #000; border-radius: 2px; animation: eq .9s ease-in-out infinite; height: 40%; ;} .eq i:nth-child(2) { animation-delay: .2s; ;} .eq i:nth-child(3) { animation-delay: .4s; ;}
@keyframes eq { 50% { height: 100%; ;} }
.is-playing .eq { display: inline-flex; ;}
html[data-motion="off"] .eq i { animation: none; height: 70%; ;}
.grid.list { grid-template-columns: 1fr; gap: 0; ;}
.grid.list .beat { grid-template-columns: 64px minmax(0, 1.6fr) minmax(0, 1.4fr); align-items: center; gap: var(--s4); padding: 12px 8px; border-top: 1px solid var(--line); border-radius: 0; ;}
.grid.list .beat:last-child { border-bottom: 1px solid var(--line); ;}
.grid.list .beat:hover { background: rgba(0, 0, 0, .04); ;}
.grid.list .cover { width: 64px; border-radius: 10px; ;}
.grid.list .cover .play { right: auto; left: 50%; bottom: auto; top: 50%; translate: -50% -50%; width: 36px; height: 36px; opacity: 0; background: rgba(255, 255, 255, .92); }
.grid.list .beat:hover .cover .play, .grid.list .beat.is-playing .cover .play { opacity: 1; transform: none; }
.grid.list .cover .play svg { width: 16px; height: 16px; } .grid.list .cover .tag { display: none; }
.grid.list h3 a::after { inset: 0; aspect-ratio: auto; ;}
.grid.list .meta { justify-content: flex-start; ;} .grid.list .price { margin-left: 0; text-align: right; ;}
.empty { padding: var(--s8) 0; text-align: center; color: var(--soft); display: grid; gap: var(--s3); justify-items: center; ;}
.empty h3 { color: #000; font-size: 22px; ;}

/* ---------- sections ---------- */
.section { padding-top: var(--s9); ;}
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; margin-bottom: var(--s6); ;}
.section-head h2 { font-size: clamp(28px, 4vw, 48px); max-width: 16ch; ;}
.section-head p { color: var(--soft); max-width: 46ch; ;}

/* ---------- licence cards ---------- */
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); ;}
.tier { position: relative; display: flex; flex-direction: column; padding: var(--s5); border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(0, 0, 0, .06), rgba(0, 0, 0, .015)); ;}
.tier.popular { border-color: rgba(0, 0, 0, .55); background: linear-gradient(180deg, rgba(0, 0, 0, .11), rgba(0, 0, 0, .03)); ;}
.tier .badge { position: absolute; top: -13px; left: 50%; translate: -50% 0; padding: 5px 14px; border-radius: 999px; background: #000; color: #fff; font-size: 12px; font-weight: 800; white-space: nowrap; ;}
.tier h3 { font-size: 20px; ;} .tier h3 small { font: 600 13px var(--f-text); color: var(--faint); letter-spacing: 0; margin-left: 6px; ;}
.tier .amount { margin: var(--s4) 0 var(--s2); font: 700 clamp(34px, 3.4vw, 44px)/1 var(--f-display); letter-spacing: -.05em; ;}
.tier .amount sup { font-size: .45em; letter-spacing: 0; vertical-align: top; position: relative; top: .35em; margin-left: 2px; ;}
.tier .amount em { font: 500 13px var(--f-text); color: var(--faint); letter-spacing: 0; margin-left: 8px; font-style: normal; ;}
.tier .blurb { color: var(--soft); font-size: 14px; margin-bottom: var(--s4); min-height: 3em; ;}
.tier dl { margin: 0 0 var(--s5); display: grid; flex: 1; align-content: start; ;}
.tier dl div { display: grid; padding: 11px 0; border-top: 1px solid var(--line); ;}
.tier dt { font-size: 13px; color: var(--faint); ;} .tier dd { margin: 1px 0 0; font-weight: 600; font-size: 15px; ;}
.tier dd.no { color: var(--faint); text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, .3); ;}
.tier .btn { width: 100%; ;}

/* ---------- custom beats strip ---------- */
.custom { margin-top: var(--s9); padding: var(--s7) var(--s6); border-radius: 22px; border: 1px solid var(--line); display: flex; gap: var(--s6); align-items: center; justify-content: space-between; flex-wrap: wrap; background: radial-gradient(600px 240px at 90% 0, rgba(0, 0, 0, .1), transparent 70%); ;}
.custom h2 { font-size: clamp(26px, 3.4vw, 40px); max-width: 15ch; ;} .custom p { color: var(--soft); margin-top: var(--s3); max-width: 44ch; ;}
.custom .actions { display: flex; gap: var(--s3); flex-wrap: wrap; ;}

/* ---------- beat page ---------- */
.crumbs { padding: var(--s5) 0 0; font-size: 14px; color: var(--faint); ;} .crumbs a:hover { color: #000; ;}
.bp { display: grid; grid-template-columns: minmax(280px, 460px) minmax(0, 1fr); gap: var(--s8); padding: var(--s6) 0 0; align-items: start; ;}
.bp .cover { border-radius: 20px; position: sticky; top: calc(var(--bar) + 24px); ;}
.bp .cover .play { width: 72px; height: 72px; opacity: 1; transform: none; } .bp .cover .play svg { width: 30px; height: 30px; }
.bp h1 { font-size: clamp(32px, 4.6vw, 60px); letter-spacing: -.045em; ;}
.bp .type { margin-top: var(--s3); color: var(--soft); font-size: 18px; ;}
.readout { margin-top: var(--s6); display: flex; gap: var(--s7); flex-wrap: wrap; ;}
.readout div { display: grid; gap: 2px; ;}
.readout b { font: 700 clamp(44px, 6vw, 84px)/.95 var(--f-display); letter-spacing: -.06em; ;}
.readout span { color: var(--faint); font-size: 14px; font-weight: 600; ;}
.readout .camelot { color: var(--soft); ;}
.moods { margin-top: var(--s5); display: flex; gap: var(--s2); flex-wrap: wrap; ;}
.wavebox { margin-top: var(--s6); display: grid; grid-template-columns: auto 1fr auto; gap: var(--s4); align-items: center; padding: var(--s4); border: 1px solid var(--line); border-radius: 16px; ;}
.wavebox .play-lg { width: 56px; height: 56px; border-radius: 50%; border: 0; background: #000; color: #fff; display: grid; place-items: center; ;}
.wavebox .play-lg svg { width: 24px; height: 24px; ;}
.wavebox .time { font: 600 13px var(--f-text); color: var(--faint); font-variant-numeric: tabular-nums; ;}
.wave { display: flex; align-items: center; gap: 2px; height: 56px; cursor: pointer; touch-action: none; ;}
.wave i { flex: 1; min-width: 1px; background: rgba(0, 0, 0, .28); border-radius: 2px; transition: background .15s; ;}
.wave i.done { background: #000; ;}
.picker { margin-top: var(--s7); ;}
.picker h2 { font-size: 22px; margin-bottom: var(--s4); ;}
.opts { display: grid; gap: var(--s3); ;}
.opt { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: var(--s4); align-items: center; padding: var(--s4) var(--s5); border: 1px solid var(--line); border-radius: 16px; cursor: pointer; transition: border-color .2s, background .2s; position: relative; ;}
.opt:hover { border-color: var(--line2); ;}
.opt input { position: absolute; opacity: 0; ;}
.opt .dot { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line2); display: grid; place-items: center; ;}
.opt .dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .2s var(--ease); ;}
.opt:has(input:checked) { border-color: #000; background: rgba(0, 0, 0, .06); ;}
.opt:has(input:checked) .dot { background: #000; border-color: #000; ;} .opt:has(input:checked) .dot::after { transform: scale(1); ;}
.opt:has(input:focus-visible) { outline: 2px solid #000; outline-offset: 3px; ;}
.opt b { font-weight: 700; font-size: 17px; ;} .opt small { display: block; color: var(--soft); font-size: 14px; margin-top: 2px; ;}
.opt .p { font: 700 20px var(--f-display); letter-spacing: -.04em; ;}
.opt .pill { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #000; color: #fff; font-size: 11px; font-weight: 800; vertical-align: 2px; ;}
.opt.sold { opacity: .45; pointer-events: none; ;}
.buy { margin-top: var(--s5); display: flex; gap: var(--s3); flex-wrap: wrap; align-items: center; ;}
.includes { margin-top: var(--s5); padding: var(--s5); border-radius: 16px; border: 1px solid var(--line); display: grid; gap: 10px; ;}
.includes h3 { font-size: 16px; ;} .includes ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; ;}
.includes li { display: flex; gap: 10px; color: var(--soft); font-size: 15px; ;} .includes li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: #000; ;}

/* ---------- licences page ---------- */
.page-head { padding: var(--s8) 0 var(--s6); ;} .page-head h1 { font-size: clamp(36px, 5.6vw, 72px); max-width: 14ch; letter-spacing: -.045em; ;}
.page-head p { margin-top: var(--s4); color: var(--soft); max-width: 56ch; font-size: 18px; ;}
.faq { max-width: 780px; margin-top: var(--s8); ;}
.faq details { border-top: 1px solid var(--line); padding: var(--s4) 0; ;} .faq details:last-child { border-bottom: 1px solid var(--line); ;}
.faq summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: var(--s4); ;}
.faq summary::-webkit-details-marker { display: none; ;}
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--soft); transition: transform .25s var(--ease); ;} .faq details[open] summary::after { transform: rotate(45deg); ;}
.faq p { margin-top: var(--s3); color: var(--soft); max-width: 62ch; ;}
.agreements { margin-top: var(--s7); display: flex; gap: var(--s3); flex-wrap: wrap; ;}

/* ---------- cart drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .38); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; ;}
.scrim.on { opacity: 1; visibility: visible; transition: opacity .3s; ;}
.drawer { position: fixed; z-index: 61; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); background: #fafafa; border-left: 1px solid var(--line2); display: flex; flex-direction: column; transform: translateX(104%); visibility: hidden; transition: transform .42s var(--ease), visibility 0s .42s; ;}
.drawer.on { transform: none; visibility: visible; transition: transform .42s var(--ease); ;}
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: var(--s5); border-bottom: 1px solid var(--line); ;}
.drawer-head h2 { font-size: 20px; ;}
.drawer-body { flex: 1; overflow-y: auto; padding: var(--s5); display: grid; align-content: start; gap: var(--s4); ;}
.drawer-foot { padding: var(--s5); border-top: 1px solid var(--line); display: grid; gap: var(--s3); ;}
.line-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: var(--s4); align-items: center; ;}
.line-item .cover { width: 64px; border-radius: 10px; ;}
.line-item b { display: block; font-size: 15px; ;} .line-item small { color: var(--soft); font-size: 13.5px; ;}
.line-item .rm { background: none; border: 0; color: var(--faint); font-size: 13px; padding: 0; margin-top: 4px; text-decoration: underline; text-underline-offset: 3px; ;} .line-item .rm:hover { color: #000; ;}
.line-item .p { font: 700 15px var(--f-display); letter-spacing: -.03em; ;}
.total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; ;} .total b { font: 700 24px var(--f-display); letter-spacing: -.04em; ;}
.form-grid { display: grid; gap: var(--s4); ;}
.note { padding: var(--s3) var(--s4); border: 1px solid var(--line); border-radius: 12px; color: var(--soft); font-size: 13.5px; ;}
.note.err { border-color: rgba(0, 0, 0, .6); color: #000; ;}
.back-link { background: none; border: 0; color: var(--soft); font-weight: 600; padding: 0; display: inline-flex; gap: 6px; align-items: center; ;} .back-link:hover { color: #000; ;}

/* ---------- player bar ---------- */
.player { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; height: var(--player); background: rgba(250, 250, 250, .88); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px); border-top: 1px solid var(--line2); transform: translateY(105%); transition: transform .5s var(--ease); ;}
.player.on { transform: none; ;}
.player .wrap { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--s5); align-items: center; ;}
.pl-info { display: flex; gap: var(--s3); align-items: center; min-width: 0; ;}
.pl-info .cover { width: 48px; flex: none; border-radius: 8px; ;}
.pl-info b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; ;} .pl-info small { color: var(--soft); font-size: 13px; ;}
.pl-mid { display: grid; gap: 6px; width: min(520px, 46vw); ;}
.pl-ctl { display: flex; align-items: center; justify-content: center; gap: var(--s4); ;}
.pl-ctl button { background: none; border: 0; width: 36px; height: 36px; display: grid; place-items: center; color: var(--soft); border-radius: 50%; ;} .pl-ctl button:hover { color: #000; ;}
.pl-ctl .main { width: 44px; height: 44px; background: #000; color: #fff; ;} .pl-ctl .main:hover { color: #fff; transform: scale(1.06); ;}
.pl-ctl svg { width: 20px; height: 20px; ;}
.pl-bar { display: flex; align-items: center; gap: var(--s3); font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; ;}
.range { flex: 1; appearance: none; -webkit-appearance: none; height: 4px; border-radius: 2px; background: linear-gradient(90deg, #000 var(--p, 0%), rgba(0, 0, 0, .22) var(--p, 0%)); outline: none; ;}
.range::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #000; border: 0; ;}
.range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #000; border: 0; ;}
.pl-end { display: flex; justify-content: flex-end; ;}

/* ---------- order + toast + footer ---------- */
.order { max-width: 820px; padding: var(--s8) 0 0; ;}
.order h1 { font-size: clamp(32px, 5vw, 56px); letter-spacing: -.045em; ;}
.order .lede { margin-top: var(--s4); color: var(--soft); font-size: 18px; max-width: 52ch; ;}
.dl-list { margin-top: var(--s7); display: grid; gap: var(--s4); ;}
.dl { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: var(--s5); padding: var(--s5); border: 1px solid var(--line); border-radius: 18px; align-items: center; ;}
.dl .cover { width: 72px; border-radius: 12px; ;}
.dl h3 { font-size: 18px; ;} .dl .soft { font-size: 14px; margin-top: 2px; ;}
.dl .files { grid-column: 1 / -1; display: flex; gap: var(--s2); flex-wrap: wrap; padding-top: var(--s2); ;}
.order .next { margin-top: var(--s7); padding: var(--s5); border-radius: 18px; border: 1px solid var(--line); display: grid; gap: 8px; ;}
.order .next li { color: var(--soft); ;}
.toasts { position: fixed; z-index: 80; left: 50%; translate: -50% 0; top: calc(var(--bar) + 12px); width: max-content; max-width: calc(100vw - 32px); display: grid; gap: 8px; justify-items: center; pointer-events: none; ;}
.toast { padding: 12px 20px; border-radius: 18px; text-align: center; background: #000; color: #fff; font-weight: 700; font-size: 14.5px; animation: toastIn .4s var(--ease); box-shadow: 0 12px 40px rgba(0, 0, 0, .14); ;}
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(.96); ;} }
.foot { margin-top: var(--s9); border-top: 1px solid var(--line); padding: var(--s7) 0 var(--s8); ;}
.foot .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--s6); ;}
.foot img { height: 44px; width: auto; ;} .foot p { color: var(--soft); font-size: 14.5px; margin-top: var(--s3); max-width: 34ch; ;}
.foot h4 { margin: 0 0 var(--s3); font: 700 14px var(--f-text); color: var(--faint); ;}
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; ;} .foot li a { color: var(--soft); font-size: 15px; ;} .foot li a:hover { color: #000; ;}
.foot .fine { grid-column: 1 / -1; color: var(--faint); font-size: 13px; padding-top: var(--s5); border-top: 1px solid var(--line); ;}
.skeleton { background: linear-gradient(90deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .1), rgba(0, 0, 0, .04)); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; border-radius: 14px; aspect-ratio: 1; ;}
@keyframes shimmer { to { background-position: -200% 0; ;} }

/* ---------- responsive ---------- */
@media (max-width: 1100px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); ;} .bp { grid-template-columns: minmax(240px, 380px) minmax(0, 1fr); gap: var(--s6); ;} }
@media (max-width: 760px) {
  :root { --bar: 60px; --player: 70px; ;}
  .nav { display: none; ;}
  .brand img { height: 34px; ;}
  .hero2 { padding: var(--s6) 0 var(--s8); ;}
  .hero2-grid { grid-template-columns: 1fr; gap: var(--s6); ;}
  .hero2-find { height: 56px; ;} .hero2-find .btn { height: 42px; padding: 0 18px; ;}
  .hero2-crate { aspect-ratio: auto; display: flex; gap: var(--s3); overflow-x: auto; padding: 8px 2px 18px; scroll-snap-type: x mandatory; ;}
  .sleeve { position: relative; flex: 0 0 62%; width: auto; transform: none !important; scroll-snap-align: start; left: auto; right: auto; top: auto; bottom: auto; ;}
  .sleeve .cap { opacity: 1; translate: 0 0; }
  .band { padding: var(--s8) 0; ;} .band-grid { grid-template-columns: 1fr; gap: var(--s6); ;}
  .tiers { grid-template-columns: 1fr; ;}
  .tier .blurb { min-height: 0; ;}
  .bp { grid-template-columns: minmax(0, 1fr); ;} .bp .cover { position: relative; top: 0; max-width: 420px; ;}
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s3); ;}
  .grid.list .beat { grid-template-columns: 56px minmax(0, 1fr) auto; ;} .grid.list .meta { display: none; ;} .grid.list .cover { width: 56px; ;}
  .view-toggle { display: none; ;}
  .filters .select { flex: 1 1 140px; ;}
  .player .wrap { grid-template-columns: minmax(0, 1fr) auto; ;} .pl-mid { width: auto; ;} .pl-end { display: none; ;}
  .pl-bar { display: none; ;} .pl-ctl .skip { display: none; ;}
  .foot .wrap { grid-template-columns: 1fr; ;}
  .wavebox { grid-template-columns: auto 1fr; ;} .wavebox .time { grid-column: 2; justify-self: end; margin-top: -8px; ;}
  .custom { padding: var(--s6) var(--s5); ;}
  .section { padding-top: var(--s8); ;}
}
@media (max-width: 420px) { .grid { grid-template-columns: 1fr 1fr; ;} .beat .price { display: none; ;} }
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; ;}

/* discount code box in the cart */
.code-box { display: flex; gap: 8px; align-items: center; margin: 0 0 14px; ;}
.code-box .input { flex: 1; min-width: 0; height: 42px; text-transform: uppercase; ;}
.code-box .btn { flex: none; height: 42px; ;}
.code-box.on { justify-content: space-between; border: 1px solid var(--line2); border-radius: 12px; padding: 10px 14px; font-size: 14px; ;}
.code-box .rm { background: none; border: 0; color: var(--soft); text-decoration: underline; font-size: 13px; padding: 4px; ;}
.note.err { color: #000; font-size: 13px; margin: -6px 0 12px; border-left: 2px solid #000; padding-left: 10px; ;}

/* email list strip */
.join { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: center; border: 1px solid var(--line2); border-radius: 24px; padding: clamp(24px, 4vw, 44px); background: var(--panel); ;}
.join h2 { font-size: clamp(22px, 3vw, 32px); margin-bottom: 8px; ;}
.join p { color: var(--soft); max-width: 46ch; ;}
.join form { display: flex; gap: 10px; ;}
.join .input { flex: 1; min-width: 0; ;}
.join .btn { flex: none; ;}
.join .joined { font-family: var(--f-display); font-weight: 600; font-size: 18px; color: #000; ;}
@media (max-width: 760px) { .join { grid-template-columns: minmax(0, 1fr); ;} .join form { flex-direction: column; ;} .join .btn { width: 100%; ;} }

/* share row on beat page */
.beat-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; ;}
.bp > * { min-width: 0; ;} .wavebox > * { min-width: 0; ;} .wave { min-width: 0; overflow: hidden; ;}
@media (max-width: 520px) { .wave { gap: 1px; ;} }
.join .input { height: 48px; ;} @media (max-width: 760px) { .join .input { flex: none; width: 100%; ;} }

/* skip link, phone menu, help page, find my order */
.skip { position: fixed; z-index: 100; left: 12px; top: -60px; background: #000; color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 700; transition: top .2s; ;}
.skip:focus { top: 12px; ;}
.menu-btn { display: none; ;}
.menu { position: fixed; z-index: 39; left: 0; right: 0; top: var(--bar); display: grid; padding: 8px var(--gutter) 20px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); animation: viewIn .2s var(--ease); ;}
.menu a { padding: 16px 2px; font: 600 20px/1.2 var(--f-display); letter-spacing: -.02em; border-bottom: 1px solid var(--line); color: var(--soft); ;}
.menu a:last-child { border-bottom: 0; ;}
.menu a[aria-current="page"] { color: #000; ;}
.menu[hidden] { display: none; ;}
@media (min-width: 761px) { .menu { display: none !important; ;} }
@media (max-width: 760px) { .menu-btn { display: inline-grid; ;} #my-dl { display: none; ;} }
.foot .legal { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 4px; ;}
.foot .legal a { color: var(--faint); text-decoration: underline; text-underline-offset: 3px; ;}
.foot .legal a:hover { color: #000; ;}
.secure { font-size: 13px; color: var(--soft); border-left: 2px solid var(--line2); padding-left: 12px; ;}
.help-contact { margin: 20px 0 8px; ;}
.policies { display: grid; gap: 40px; margin-top: 56px; max-width: 760px; ;}
.policy { scroll-margin-top: calc(var(--bar) + 24px); border-top: 1px solid var(--line); padding-top: 32px; ;}
.policy h2 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 16px; ;}
.policy h3 { font: 700 16px/1.3 var(--f-text); letter-spacing: 0; margin: 22px 0 6px; ;}
.policy p, .policy li { color: var(--soft); max-width: 68ch; ;}
.policy p + p { margin-top: 10px; ;}
.policy ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; ;}
.find-order { margin-top: 56px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line2); border-radius: 24px; background: var(--panel); display: grid; gap: 14px; max-width: 760px; ;}
.find-order h2 { font-size: 24px; ;}
.find-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; ;}
@media (max-width: 760px) { .find-row { grid-template-columns: minmax(0, 1fr); ;} .find-row .btn { width: 100%; ;} }

/* ---------- motion and menu upgrade ---------- */
.glow-bg { animation: glowDrift 22s ease-in-out infinite alternate; ;}
@keyframes glowDrift { to { transform: translate3d(-2.5%, 2%, 0) scale(1.07); ;} }
.hero2-crate { perspective: 1200px; ;}
.bar { transition: background .3s, box-shadow .3s; ;}
body.scrolled .bar { background: rgba(255, 255, 255, .92); box-shadow: 0 12px 40px -22px rgba(0, 0, 0, .25); ;}
.nav > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #000; border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); ;}
.nav > a:hover::after, .nav > a[aria-current="page"]::after { transform: scaleX(1); ;}
.dd { position: relative; display: flex; align-items: center; ;}
.dd-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 2px; border: 0; background: none; font: 600 15px var(--f-text); color: var(--soft); transition: color .2s; ;}
.dd-btn::after { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .3s var(--ease); ;}
.dd:hover .dd-btn, .dd:focus-within .dd-btn { color: #000; ;}
.dd:hover .dd-btn::after, .dd:focus-within .dd-btn::after { transform: rotate(225deg) translate(-1px, -1px); ;}
.dd-panel { position: absolute; left: -16px; top: calc(100% + 12px); min-width: 230px; display: grid; padding: 8px; border-radius: 16px; border: 1px solid var(--line2); background: rgba(250, 250, 250, .96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .27); opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98); transform-origin: top left; transition: opacity .22s, transform .3s var(--ease), visibility 0s .3s; z-index: 5; ;}
.dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; ;}
.dd:hover .dd-panel, .dd:focus-within .dd-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; ;}
.dd-panel a { padding: 11px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--soft); transition: background .2s, color .2s, padding .25s var(--ease); ;}
.dd-panel a:hover { background: rgba(0, 0, 0, .08); color: #000; padding-left: 19px; ;}
.nav .dd-panel a::after { display: none; ;}
.dd-panel .dd-all { margin-top: 4px; color: #000; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; ;}
.menu .menu-genres { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 16px; border-bottom: 1px solid var(--line); ;}
.menu .menu-genres a { padding: 8px 16px; font: 600 14px var(--f-text); letter-spacing: 0; border: 1px solid var(--line2); border-radius: 999px; ;}
.menu > * { animation: fadeUp .45s var(--ease) backwards; ;}
.menu > :nth-child(2) { animation-delay: .05s; ;} .menu > :nth-child(3) { animation-delay: .09s; ;} .menu > :nth-child(4) { animation-delay: .13s; ;} .menu > :nth-child(5) { animation-delay: .17s; ;} .menu > :nth-child(6) { animation-delay: .21s; ;} .menu > :nth-child(7) { animation-delay: .25s; ;} .menu > :nth-child(8) { animation-delay: .29s; ;} .menu > :nth-child(9) { animation-delay: .33s; ;}
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(255, 255, 255, .45); ;}
.beat { transition: transform .45s var(--ease); ;} .beat:hover { transform: translateY(-5px); ;}
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0s); ;}
.rv.in { opacity: 1; transform: none; ;}
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s6); ;}
.svc { padding: var(--s5); border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(0, 0, 0, .06), rgba(0, 0, 0, .015)); transition: transform .35s var(--ease), border-color .3s; ;}
.svc:hover { transform: translateY(-6px); border-color: var(--line2); ;}
.svc h3 { font-size: 20px; margin-bottom: 8px; ;} .svc p { color: var(--soft); font-size: 15px; ;}
.about p { color: var(--soft); max-width: 62ch; font-size: 18px; line-height: 1.6; margin-bottom: var(--s4); ;}
@media (max-width: 760px) { .svc-grid { grid-template-columns: 1fr; ;} }
@media (prefers-reduced-motion: reduce) { .glow-bg { animation: none; ;} .rv { opacity: 1; transform: none; transition: none; ;} .menu > * { animation: none; ;} }
a.svc { display: block; ;}

/* about page: discography */
.disco { margin-top: var(--s9); ;}
.disco-head { margin-bottom: var(--s6); ;} .disco-head h2 { font-size: clamp(30px, 4.4vw, 56px); letter-spacing: -.045em; ;}
.disco-head p { margin-top: 10px; color: var(--soft); max-width: 52ch; ;}
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); margin-bottom: var(--s6); ;}
.stat { padding: var(--s5); border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(0, 0, 0, .06), rgba(0, 0, 0, .015)); ;}
.stat b { display: block; font: 700 clamp(36px, 4.4vw, 62px)/1 var(--f-display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; ;}
.stat span { display: block; margin-top: 10px; color: var(--soft); font-size: 14px; font-weight: 600; ;}
.disco-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s5); ;}
.disco-filter .chip { height: 34px; padding: 0 16px; ;}
.yr { display: grid; grid-template-columns: clamp(150px, 20vw, 250px) minmax(0, 1fr); gap: var(--s5); padding: var(--s5) 0 var(--s6); border-top: 1px solid var(--line); ;}
.yr-n { align-self: start; position: sticky; top: calc(var(--bar) + 24px); font: 700 clamp(40px, 5vw, 68px)/.9 var(--f-display); letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1.5px rgba(0, 0, 0, .55); ;}
.tr { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 190px 44px; align-items: center; gap: var(--s4); padding: 18px 14px; border-bottom: 1px solid var(--line); isolation: isolate; transition: padding .35s var(--ease); ;}
.tr::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, .11), transparent 85%); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); ;}
.tr:hover { padding-left: 24px; ;} .tr:hover::before { transform: scaleX(1); ;}
.tr-t { font: 600 clamp(16px, 1.7vw, 21px)/1.2 var(--f-display); letter-spacing: -.03em; ;}
.tr-a { color: var(--soft); font-size: 15px; ;}
.tr-r { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; ;}
.tr-r i { font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 10px; border: 1px solid var(--line2); border-radius: 999px; color: var(--soft); ;}
.tr-d { color: var(--faint); font-weight: 700; font-size: 13px; text-align: right; ;}
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); ;}
  .yr { grid-template-columns: 1fr; gap: var(--s2); ;}
  .yr-n { position: static; font-size: 52px; ;}
  .tr { grid-template-columns: minmax(0, 1fr) auto; gap: 6px var(--s3); padding: 16px 4px; ;}
  .tr-a { grid-column: 1; ;} .tr-r { grid-column: 1; justify-content: flex-start; ;} .tr-d { grid-column: 2; grid-row: 1; ;}
}

/* light theme fixes */
.brand img, .foot img { filter: invert(1); }
.select option { background: #fff; color: #000; }
.sleeve .cap, .cover .tag { color: #fff; } .sleeve .cap small { color: rgba(255, 255, 255, .72); }
.vid-thumb, .vframe .ratio, .vfacade { background: #111; }

/* quick add to cart on every beat */
.qa-btn { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #000; background: #000; color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .25s var(--ease), background .2s, color .2s; position: relative; z-index: 3; }
.qa-btn:hover { transform: scale(1.1); }
.qa-btn svg { width: 18px; height: 18px; } .qa-btn .i-ok { display: none; }
.qa-btn.in { background: #fff; color: #000; } .qa-btn.in .i-bag { display: none; } .qa-btn.in .i-ok { display: block; }
.beat .meta .qa-btn { margin-left: 4px; } .beat .meta .price { margin-left: auto; }
.qa-sheet { position: absolute; z-index: 6; left: 0; right: 0; top: 0; padding: 8px; border-radius: 14px; background: #fff; border: 1px solid var(--line2); box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .35); animation: qaIn .25s var(--ease); }
@keyframes qaIn { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.qa-h { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 8px 8px; font-size: 13px; color: var(--soft); }
.qa-h button { width: 28px; height: 28px; border: 0; border-radius: 50%; background: none; color: inherit; display: grid; place-items: center; cursor: pointer; } .qa-h button:hover { background: rgba(0, 0, 0, .07); }
.qa-h svg { width: 16px; height: 16px; }
.qa-t { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: var(--text); font: 600 14px var(--f-text); text-align: left; cursor: pointer; transition: background .2s; }
.qa-t small { color: var(--soft); font-weight: 600; } .qa-t b { font: 700 13px var(--f-display); letter-spacing: -.02em; white-space: nowrap; }
.qa-t:hover { background: rgba(0, 0, 0, .07); } .qa-t.on { background: #000; color: #fff; } .qa-t.on small { color: rgba(255, 255, 255, .7); } .qa-t svg { width: 18px; height: 18px; display: block; }
.qa-v { display: block; padding: 8px 8px 4px; font-size: 13px; color: var(--soft); text-decoration: underline; text-underline-offset: 3px; text-align: center; }
.grid.list .qa-sheet { left: auto; right: 0; top: calc(100% - 6px); width: min(330px, 100%); }
.buy-row { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; }
.beat .meta .qa-btn, .beat .meta .buy-row .price { margin-left: 0; }
.grid.list .buy-row { margin-left: 0; }
.beat:has(.qa-sheet) { transform: none !important; }
@media (max-width: 760px) {
  .qa-sheet { position: fixed; left: 12px; right: 12px; top: auto; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 70; width: auto; padding: 10px; border-radius: 20px; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .32), 0 20px 60px rgba(0, 0, 0, .4); animation: qaUp .3s var(--ease); }
  .qa-t { padding: 15px 14px; font-size: 16px; } .qa-t b { font-size: 14px; }
  .qa-h { font-size: 14px; padding-bottom: 10px; }
}
@keyframes qaUp { from { opacity: 0; transform: translateY(24px); } }
.svc-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .svc-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .svc-grid.four { grid-template-columns: 1fr; } }

.hero2-grid.solo { grid-template-columns: minmax(0, 1fr); }
.hero2-grid.solo .hero2-main { max-width: 760px; }

/* ---- compact controls ---- */
.hero2 { padding-bottom: var(--s7); }
.filters { margin-top: var(--s6); gap: var(--s3); }
.filters-top { gap: 8px; }
.search { flex: 1 1 220px; max-width: 380px; }
.search svg { left: 14px; width: 16px; height: 16px; }
.search .input { height: 38px; font-size: 14px; padding-left: 38px; padding-right: 14px; }
.filters .select { height: 38px; min-width: 112px; font-size: 14px; padding-left: 14px; padding-right: 32px; background-position: right 13px center; }
.view-toggle { padding: 3px; }
.view-toggle button { width: 32px; height: 30px; }
.view-toggle svg { width: 16px; height: 16px; }
.genres { gap: 6px; }
.genres .chip { height: 26px; padding: 0 11px; font-size: 12.5px; }

/* ---- phone hero: headline on the left, revolving cover on the right ---- */
@media (max-width: 760px) {
  .hero2 { padding: var(--s5) 0 var(--s6); }
  .hero2-grid { grid-template-columns: minmax(0, 1fr) 36%; grid-template-areas: "title crate" "line line"; column-gap: 14px; row-gap: var(--s5); align-items: center; }
  .hero2-main { display: contents; }
  .hero2-title { grid-area: title; font-size: clamp(30px, 9.4vw, 46px); }
  .hero2-line { grid-area: line; margin-top: 0; font-size: 15.5px; }
  .hero2-crate { grid-area: crate; display: block; position: relative; aspect-ratio: 1; overflow: visible; padding: 0; scroll-snap-type: none; }
  .hero2-crate .sleeve { position: absolute; left: 0; top: 0; width: 100%; flex: none; }
  .hero2-crate .sleeve.s2, .hero2-crate .sleeve.s3 { display: none; }
  .hero2-crate .sleeve .cap { left: 6px; right: 6px; bottom: 6px; padding: 5px 8px; border-radius: 8px; }
  .hero2-crate .sleeve .cap b { font-size: 12px; }
  .hero2-crate .sleeve .cap small { display: none; }
  .filters .select { flex: 1 1 92px; min-width: 0; }
  .search { flex: 1 1 100%; max-width: none; }
}

/* ---- tighter gap between the hero and the beat list ---- */
.hero2 { padding-bottom: var(--s4); }
.filters { margin-top: var(--s4); }
@media (max-width: 760px) { .hero2 { padding-bottom: var(--s3); } .filters { margin-top: var(--s3); } }

/* ---- menu button on laptop and desktop too ---- */
@media (min-width: 761px) {
  .menu-btn { display: inline-grid; }
  .menu:not([hidden]) { display: grid !important; left: auto; right: 24px; top: calc(var(--bar) + 8px); width: 320px; max-height: calc(100vh - var(--bar) - 32px); overflow-y: auto; padding: 8px 20px 12px; border: 1px solid var(--line2); border-radius: 18px; box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .28); background: #fff; }
  .menu a { padding: 12px 2px; font-size: 16px; }
  .menu .menu-genres a { padding: 6px 12px; font-size: 13px; }
}

/* ---- YouTube numbers ---- */
.yt-stats { margin-top: var(--s8); display: grid; justify-items: center; gap: var(--s6); text-align: center; }
.yt-id { display: grid; justify-items: center; gap: 6px; }
.yt-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: #111; margin-bottom: 8px; }
.yt-name { font: 700 clamp(26px, 3vw, 36px)/1.1 var(--f-display); letter-spacing: -.03em; }
.yt-subs { color: rgba(255, 255, 255, .7); font-size: 16px; }
.yt-nums { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s7); }
.yt-num { display: grid; justify-items: center; gap: 6px; min-width: 120px; }
.yt-ic { width: 60px; height: 60px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); display: grid; place-items: center; margin-bottom: 6px; }
.yt-ic svg { width: 26px; height: 26px; }
.yt-num small { font-size: 14.5px; color: rgba(255, 255, 255, .7); }
.yt-num b { font: 700 clamp(26px, 3.4vw, 40px)/1 var(--f-display); letter-spacing: -.03em; }
@media (max-width: 760px) { .yt-stats { margin-top: var(--s7); gap: var(--s5); } .yt-nums { gap: var(--s5); } .yt-ic { width: 52px; height: 52px; } }

/* ---- licences: side by side, swipe on a phone ---- */
.tier-dots { display: none; }
@media (max-width: 760px) {
  .tiers-wrap { margin: 0 calc(-1 * var(--gutter)); }
  .tiers { display: flex; grid-template-columns: none; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 16px var(--gutter) 8px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .tiers::-webkit-scrollbar { display: none; }
  .tier { flex: 0 0 84%; scroll-snap-align: center; }
  .tier-dots { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
  .tier-dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 1.5px solid #000; background: transparent; }
  .tier-dot.on { background: #000; }
}

/* ---- licences slider on laptop and tablet ---- */
.tier-dots { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.tier-dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 1.5px solid #000; background: transparent; }
.tier-dot.on { background: #000; }
.tier-nav { display: none; }
@media (min-width: 761px) {
  .tiers-wrap { position: relative; }
  .tiers { display: flex; grid-template-columns: none; gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px 0 8px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .tiers::-webkit-scrollbar { display: none; }
  .tier { flex: 0 0 calc((100% - 3 * var(--s4)) / 3.25); scroll-snap-align: start; }
  .tier-nav { display: grid; place-items: center; position: absolute; top: 46%; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line2); background: #fff; color: #000; box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .35); }
  .tier-nav.prev { left: -22px; } .tier-nav.next { right: -22px; }
  .tier-nav svg { width: 18px; height: 18px; }
  .tier-nav:disabled { opacity: 0; pointer-events: none; }
}
@media (min-width: 761px) and (max-width: 1100px) { .tier { flex-basis: calc((100% - 2 * var(--s4)) / 2.25); } .tier-nav.prev { left: -14px; } .tier-nav.next { right: -14px; } }


/* ---- home page: tidier bottom, catalogue opens on 8 beats ---- */
.more-row { display: flex; justify-content: center; margin-top: var(--s6); }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5); align-items: stretch; }
.duo .custom { margin-top: 0; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: var(--s5); }
.duo .join { grid-template-columns: 1fr; align-content: space-between; gap: var(--s5); }
.duo .join form { flex-wrap: wrap; }
.duo .join .input { flex: 1 1 180px; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; gap: var(--s4); } }
@media (max-width: 900px) {
  .duo .join form { flex-direction: column; }
  .duo .join .input { flex: none; width: 100%; }
  .duo .custom, .duo .join { padding: var(--s5); gap: var(--s4); }
  .duo .custom .actions .btn { flex: 0 0 auto; }
}
/* "one-time" never splits across two lines */
.tier .amount { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 2px; }
.tier .amount em { white-space: nowrap; margin-left: 0; }
