/* Simple, classic dark beat-store layout. One accent colour, plain cards, no decoration. */
:root {
  --bg: #0a0a0a;
  --card: #151515;
  --card-2: #1d1d1d;
  --line: #2a2a2a;
  --ink: #f4f4f4;
  --dim: #9a9a9a;
  --accent: #f5c84b;
  --accent-ink: #141005;
  --head: "Anton", Impact, sans-serif;
  --sans: "Inter", Arial, sans-serif;
  --gutter: clamp(16px, 3vw, 40px);
  --max: 1120px;
  --radius: 10px;
  --player-h: 0px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  padding-bottom: var(--player-h);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px var(--gutter);
  background: rgba(10,10,10,.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
/* Brush "mp" logo; the stroke draws itself in once on load. */
.logo { display: inline-block; color: var(--ink); line-height: 0; }
.logo svg, .about-sign {
  width: 68px; height: 68px;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: sign 1.1s .2s cubic-bezier(.6,0,.2,1) forwards;
}
.logo-lg svg { width: 96px; height: 96px; }
@keyframes sign { to { stroke-dashoffset: 0; } }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--dim); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.cart-btn { font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); }
.menu-btn { display: none; width: 40px; height: 40px; position: relative; }
.menu-btn span { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--ink); transition: transform .3s; }
.menu-btn span:first-child { top: 15px; }
.menu-btn span:last-child { top: 23px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 15px; font-weight: 600;
  padding: 13px 26px; border-radius: 8px; border: 1px solid var(--accent);
  transition: filter .2s, transform .1s;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #444; }
.btn-ghost:hover { border-color: var(--ink); filter: none; }
.btn-small { padding: 8px 14px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
/* Full-bleed slideshow, no overlay. One word per slide, blended so it reads on any image. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero { position: relative; height: 100svh; min-height: 520px; overflow: hidden; background: #000; }
.hs-slides { position: absolute; inset: 0; filter: url(#warp); }
.hs-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--pos, center);
  opacity: 0; scale: 1.06;
  transition: opacity 1.2s ease, scale 6s linear;
}
.hs-slide.is-active { opacity: 1; scale: 1; }
.hs-words { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(28px, 7vh, 72px); mix-blend-mode: difference; }
.hs-word {
  position: absolute; left: 0; bottom: 0;
  font-family: var(--head); font-weight: 400; text-transform: uppercase;
  font-size: clamp(64px, 14vw, 220px); line-height: .82; letter-spacing: -0.01em; color: #fff;
  opacity: 0; translate: 0 30px; filter: blur(10px);
  transition: opacity .6s ease, translate .8s cubic-bezier(.2,.8,.2,1), filter .6s ease;
  pointer-events: none;
}
.hs-word.is-active { opacity: 1; translate: 0 0; filter: blur(0); pointer-events: auto; transition-delay: .35s; }
.hs-dots { position: absolute; right: var(--gutter); bottom: clamp(32px, 7vh, 76px); display: flex; gap: 8px; z-index: 2; }
.hs-dot { width: 28px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.35); transition: background .3s, width .3s; }
.hs-dot.is-active { width: 48px; background: var(--accent); }

/* ---------- Sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 9vw, 110px) var(--gutter) 0; }
.title { font-family: var(--head); font-weight: 400; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.lead { color: var(--dim); max-width: 600px; margin-bottom: 36px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }

/* Offers */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.offer { padding: 28px 24px; display: flex; flex-direction: column; text-align: center; }
.offer h3, .license-card h3 { font-size: 22px; font-weight: 700; color: var(--accent); }
.from { font-size: 14px; color: var(--dim); margin: 6px 0 22px; }
.checks { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; text-align: left; flex: 1; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.checks svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--accent); }

/* Track slider: tab switch on top, one horizontal rail of cards below */
.tracks { padding: 28px 0 0; }
.tracks-head { max-width: var(--max); margin: 0 auto 18px; padding: 0 var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tabs { display: inline-flex; padding: 4px; gap: 4px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); }
.tab { font-size: 14px; font-weight: 600; padding: 9px 18px; border-radius: 7px; color: var(--dim); transition: background .2s, color .2s; }
.tab:hover { color: var(--ink); }
.tab.is-on { background: var(--accent); color: var(--accent-ink); }
.rail-nav { display: flex; gap: 6px; }
.rail-btn { width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line); font-size: 22px; line-height: 1; color: var(--ink); }
.rail-btn:hover { border-color: var(--ink); }
.rail {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 8px;
  scroll-padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.rail::-webkit-scrollbar { display: none; }
.tcard { flex: 0 0 clamp(200px, 22vw, 250px); scroll-snap-align: start; display: flex; flex-direction: column; }
.tcard-wide { flex-basis: clamp(280px, 34vw, 400px); }
.tcard-art { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--card-2); }
.tcard-wide .tcard-art { aspect-ratio: 16 / 9; }
.tcard-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tcard:hover .tcard-art img { transform: scale(1.04); }
.tcard-title { font-size: 16px; font-weight: 700; margin-top: 12px; line-height: 1.25; }
.tcard-meta { font-size: 13px; color: var(--dim); margin-top: 2px; }
.tcard .platforms { padding: 10px 0 0; }
.tcard .btn { margin-top: 12px; align-self: flex-start; }
.tcard .sold-tag { margin-top: 12px; }

/* Videos */
.modal-video { width: min(960px, calc(100% - 24px)); background: #000; border-color: #222; }
.modal-video .modal-close { z-index: 2; color: #fff; top: 6px; right: 12px; }
.video-frame { aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe, .video-frame video { display: block; width: 100%; height: 100%; border: 0; }
.video-soon { height: 100%; display: grid; place-items: center; color: var(--dim); font-family: var(--head); font-size: 40px; text-transform: uppercase; }
.video-title { padding: 12px 16px; font-weight: 600; }

/* Kits */
.kits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.release, .kit { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.release-art, .kit-art { position: relative; aspect-ratio: 1; background: var(--card-2); }
.release-art img, .kit-art img { width: 100%; height: 100%; object-fit: cover; }
.play-btn {
  position: absolute; right: 14px; bottom: 14px;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-size: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.4); transition: transform .2s;
}
.play-btn:hover { transform: scale(1.06); }
.release-meta, .kit-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 16px 16px 0; }
.release-title, .kit-title { font-size: 18px; font-weight: 700; line-height: 1.2; }
.release-type, .kit-sub { color: var(--dim); font-size: 13px; }
.platforms { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px 18px; }
.platforms a { font-size: 12px; font-weight: 500; padding: 5px 10px; border-radius: 6px; border: 1px solid var(--line); color: var(--dim); transition: color .2s, border-color .2s; }
.platforms a:hover { color: var(--ink); border-color: #555; }
.kit-price { font-weight: 700; color: var(--accent); white-space: nowrap; }
.kit .btn { margin: 14px 16px 18px; width: calc(100% - 32px); }

/* Beat store */
.store { padding: 18px; }
.beat-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 6px; border: 1px solid var(--line); color: var(--dim); }
.chip.is-on, .chip:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.beats { list-style: none; }
.beat {
  display: grid;
  grid-template-columns: 42px 1.4fr 0.5fr 0.6fr 2fr auto;
  align-items: center; gap: 16px;
  padding: 12px 6px; border-top: 1px solid var(--line);
}
.beat:hover { background: rgba(255,255,255,.02); }
.beat.is-sold { opacity: .45; }
.beat-play {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid #444; display: grid; place-items: center; font-size: 12px;
  transition: background .2s, color .2s;
}
.beat-play:hover, .beat-play.is-playing { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.beat-title { font-weight: 600; font-size: 16px; }
.beat-code { display: block; font-size: 12px; color: var(--dim); font-weight: 400; }
.beat-stat { color: var(--dim); font-size: 14px; }
.wave { display: flex; align-items: center; gap: 2px; height: 32px; cursor: pointer; }
.wave i { flex: 1; background: #333; border-radius: 1px; min-width: 2px; }
.wave i.on { background: var(--accent); }
.beat-buy { display: flex; align-items: center; gap: 14px; justify-content: flex-end; }
.beat-price { font-size: 14px; color: var(--dim); white-space: nowrap; }
.sold-tag { font-size: 13px; font-weight: 600; color: var(--dim); text-transform: uppercase; }
.store.is-soundee { padding: 0; overflow: hidden; }
.store.is-soundee iframe { display: block; width: 100%; height: 760px; max-height: 92vh; border: 0; }
.store-note { margin-top: 16px; text-align: center; color: var(--dim); font-size: 14px; }
.store-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* How to buy */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.step { text-align: center; padding: 10px 12px; }
.step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); font-weight: 700; margin-bottom: 14px; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--dim); font-size: 15px; }

/* Licensing cards */
.licenses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.license-card { position: relative; padding: 30px 24px; display: flex; flex-direction: column; text-align: center; }
.license-card.is-featured { border-color: var(--accent); }
.badge { position: absolute; top: -12px; left: 50%; translate: -50% 0; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 99px; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.license-blurb { color: var(--dim); font-size: 14px; margin-top: 4px; }
.license-price-big { font-family: var(--head); font-size: 56px; line-height: 1; margin: 18px 0 2px; }
.license-per { color: var(--dim); font-size: 13px; margin-bottom: 22px; }

/* Contact: a paper letter, tilted back in 3D with two sheets stacked beneath it */
.letter-stage { perspective: 1400px; max-width: 760px; margin: 10px auto 0; padding: 0 6px 30px; }
.letter {
  position: relative;
  padding: clamp(28px, 5vw, 56px) clamp(22px, 5vw, 60px) clamp(26px, 4vw, 44px);
  color: #2a241b; font-family: "Libre Baskerville", Georgia, serif; font-size: clamp(16px, 1.8vw, 18px); line-height: 2.1;
  background:
    repeating-linear-gradient(180deg, transparent 0 37px, rgba(70,110,170,.16) 37px 38px) 0 104px / 100% calc(100% - 150px) no-repeat,
    linear-gradient(170deg, #fffaf0 0%, #f6edda 55%, #ecdfc4 100%);
  border-radius: 3px;
  transform: rotateX(9deg) rotateZ(-1.2deg);
  transform-origin: 50% 100%;
  box-shadow: 0 1px 0 #fff inset, 0 2px 0 #d9caa9, 0 30px 50px -10px rgba(0,0,0,.65), 0 60px 80px -30px rgba(0,0,0,.5);
  transition: transform .5s ease;
}
.letter:focus-within, .letter:hover { transform: rotateX(4deg) rotateZ(-.6deg); }
/* Sheets underneath */
.letter::before, .letter::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 3px; background: #e9dcc0; }
.letter::before { transform: translate(10px, 9px) rotate(2deg); box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.letter::after { transform: translate(-8px, 14px) rotate(-1.6deg); background: #ddcfb0; box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.letter-stamp {
  position: absolute; top: clamp(18px, 3vw, 30px); right: clamp(18px, 3vw, 30px);
  width: 74px; height: 86px; padding: 10px; color: #fffaf0; background: #b0332a; rotate: 6deg;
  /* Perforated edge: a dotted paper-coloured border inside a thin red rim */
  border: 4px dotted #f6edda; box-shadow: 0 0 0 3px #b0332a, 0 3px 6px rgba(0,0,0,.25);
}
.letter-date { font-style: italic; color: #7a6a52; font-size: .9em; margin-bottom: 18px; }
.letter-greet { font-weight: 700; font-size: 1.15em; margin-bottom: 4px; }
.letter-line { margin-bottom: 4px; }
.letter input, .letter select, .letter textarea {
  font-family: "Caveat", cursive; font-size: 1.45em; font-weight: 700; color: #1d3f8c;
  background: transparent; border: 0; border-bottom: 1.5px dashed rgba(42,36,27,.35); border-radius: 0;
  padding: 0 4px; outline: none; line-height: 1.2;
}
.letter input { width: 13em; max-width: 100%; }
.letter input.short { width: 4.5em; }
.letter select { cursor: pointer; }
.letter input::placeholder, .letter textarea::placeholder { color: rgba(29,63,140,.38); }
.letter input:focus, .letter select:focus { border-bottom-color: #1d3f8c; }
.letter textarea { display: block; width: 100%; margin-top: 10px; border-bottom: 0; line-height: 38px; resize: vertical; min-height: 190px; }
.letter-sign { margin-top: 14px; font-style: italic; }
.letter-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.letter .btn { font-family: var(--sans); }
.form-msg { color: #7a6a52; font-size: 14px; line-height: 1.4; }

/* Footer */
.footer { margin-top: clamp(80px, 10vw, 120px); border-top: 1px solid var(--line); padding: 40px var(--gutter) 28px; }
.footer-top, .footer-social, .footer-base { max-width: var(--max); margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--dim); padding-top: 20px; border-top: 1px solid var(--line); }

/* Player */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: grid; grid-template-columns: 44px minmax(0, 220px) 40px 1fr auto auto 28px;
  align-items: center; gap: 14px;
  padding: 10px var(--gutter);
  background: rgba(16,16,16,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.player-cover { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }
.player-meta { display: flex; flex-direction: column; min-width: 0; }
.player-meta strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-meta span { font-size: 12px; color: var(--dim); }
.player-toggle { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 11px; }
.player-track { position: relative; height: 22px; display: flex; align-items: center; cursor: pointer; }
.player-track::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; translate: 0 -50%; height: 3px; border-radius: 3px; background: #333; }
.player-fill { position: relative; z-index: 1; height: 3px; border-radius: 3px; width: 0; background: var(--accent); }
.player-time { font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.player-close { font-size: 22px; color: var(--dim); }

/* Modal */
.modal { margin: auto; border: 1px solid var(--line); padding: 0; background: var(--card); color: var(--ink); width: min(540px, calc(100% - 32px)); max-height: 90vh; border-radius: 12px; }
.modal::backdrop { background: rgba(0,0,0,.75); }
.modal-inner { padding: 28px; position: relative; display: flex; flex-direction: column; gap: 14px; }
.modal-close { position: absolute; right: 16px; top: 12px; font-size: 26px; color: var(--dim); }
.modal-title { font-size: 26px; font-weight: 700; }
.licenses { display: flex; flex-direction: column; gap: 8px; }
.license { display: grid; grid-template-columns: 18px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line); cursor: pointer; }
.license:has(input:checked) { border-color: var(--accent); }
.license input { accent-color: var(--accent); }
.license strong { display: block; font-size: 15px; }
.license small { color: var(--dim); font-size: 13px; }
.license-price { font-weight: 700; color: var(--accent); }
.modal .btn { align-self: flex-start; }

/* Cart */
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 60;
  width: min(400px, 100%); background: var(--card); border-left: 1px solid var(--line);
  display: flex; flex-direction: column; padding: 22px;
  transform: translateX(100%); transition: transform .35s ease;
}
.cart.is-open { transform: none; }
.cart-head { position: relative; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-size: 20px; }
.cart-head .modal-close { top: -4px; right: 0; }
.cart-items { list-style: none; flex: 1; overflow-y: auto; }
.cart-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 52px; height: 52px; object-fit: cover; border-radius: 6px; }
.cart-item strong { display: block; font-size: 14px; }
.cart-item small { color: var(--dim); font-size: 12px; }
.cart-item button { font-size: 12px; color: var(--dim); text-decoration: underline; margin-top: 2px; }
.cart-empty { color: var(--dim); padding: 24px 0; }
.cart-foot { padding-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.cart-total { display: flex; justify-content: space-between; font-size: 18px; }
.cart-note { font-size: 12px; color: var(--dim); }
.scrim { position: fixed; inset: 0; z-index: 55; background: rgba(0,0,0,.6); opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.is-on { opacity: 1; pointer-events: auto; }

/* Gentle fade-in on scroll */
.reveal { opacity: 0; translate: 0 16px; transition: opacity .6s ease, translate .6s ease; }
.reveal.is-in { opacity: 1; translate: 0 0; }

/* ---------- Solid look ----------
   Every control is a raised block: a lit top edge, a hard darker base underneath,
   and it presses down onto that base when clicked. */
:root {
  --edge-accent: #b8902a;
  --edge-dark: #040404;
  --lift: inset 0 1px 0 rgba(255,255,255,.35), 0 4px 0 var(--edge-accent), 0 10px 18px rgba(0,0,0,.4);
  --lift-dark: inset 0 1px 0 rgba(255,255,255,.08), 0 4px 0 var(--edge-dark), 0 10px 18px rgba(0,0,0,.45);
  --pressed: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 0 var(--edge-accent), 0 3px 6px rgba(0,0,0,.4);
}
.btn, .cart-btn, .tab.is-on, .play-btn, .player-toggle, .beat-play:hover, .beat-play.is-playing {
  background: linear-gradient(180deg, #ffd96a, var(--accent) 55%, #e8b93a);
  border: 0; box-shadow: var(--lift);
  transition: transform .08s ease, box-shadow .08s ease, filter .2s;
}
.btn-ghost, .rail-btn, .beat-play, .chip,   background: linear-gradient(180deg, #232323, #181818);
  border: 1px solid #2c2c2c; box-shadow: var(--lift-dark);
  transition: transform .08s ease, box-shadow .08s ease, color .2s;
}
.tab { box-shadow: none; border-color: transparent; background: transparent; }
.tab.is-on { border: 0; }
.chip.is-on { background: linear-gradient(180deg, #ffffff, #dcdcdc); color: var(--bg); box-shadow: inset 0 1px 0 #fff, 0 3px 0 #8a8a8a, 0 8px 14px rgba(0,0,0,.4); }
.btn:active, .cart-btn:active, .play-btn:active, .player-toggle:active, .tab:active,
.btn-ghost:active, .rail-btn:active, .beat-play:active, .chip:active {
  transform: translateY(3px); box-shadow: var(--pressed);
}
.btn-ghost:active, .rail-btn:active, .beat-play:active, .chip:active { box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 1px 0 var(--edge-dark); }
.btn:hover, .cart-btn:hover { filter: brightness(1.05); }
.play-btn:hover { transform: translateY(-1px); }

/* Panels sit on a hard base too */
.card, .tabs {
  background: linear-gradient(180deg, #1a1a1a, #121212);
  border: 1px solid #262626;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 6px 0 #050505, 0 22px 34px rgba(0,0,0,.45);
}
.tcard-art { box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 6px 0 #050505, 0 18px 28px rgba(0,0,0,.45); }
.license-card.is-featured { box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 6px 0 var(--edge-accent), 0 22px 34px rgba(0,0,0,.45); }

/* ---------- Type: bold condensed capitals, slanted, the same voice as the open menu ----------
   Anton has no italic of its own, so the browser slants it; body sentences stay in Inter. */
.title, .hs-word, .tcard-title, .license-card h3, .step h3, .step-num, .modal-title, .cart-head h3,
.license-price-big, .tab, .btn, .cart-btn, .nav-links a, .video-soon, .video-title, .sold-tag, .badge,
.cart-total, .license strong, .cart-item strong, .player-meta strong, .letter .btn {
  font-family: var(--head); font-weight: 400; font-style: italic; text-transform: uppercase; letter-spacing: .01em;
}
.title { font-size: clamp(46px, 7.5vw, 92px); line-height: .92; margin-bottom: 14px; }
.hs-word { letter-spacing: 0; }
.tcard-title { font-size: 24px; line-height: 1; margin-top: 14px; }
.license-card h3 { font-size: 34px; line-height: 1; }
.step h3 { font-size: 30px; line-height: 1; margin-bottom: 8px; }
.step-num { font-size: 22px; }
.modal-title { font-size: 44px; line-height: .95; }
.cart-head h3 { font-size: 34px; }
.cart-total { font-size: 26px; }
.license strong, .cart-item strong { font-size: 20px; }
.player-meta strong { font-size: 18px; }
.tab { font-size: 18px; letter-spacing: .03em; padding: 8px 18px; }
.btn { font-size: 18px; letter-spacing: .03em; padding: 12px 26px; }
.btn-small { font-size: 15px; padding: 8px 16px; }
.cart-btn { font-size: 17px; }
.nav-links a { font-size: 20px; color: var(--ink); }
.nav-links a:hover { color: var(--accent); }
.sold-tag { font-size: 18px; color: var(--dim); }
.badge { font-size: 14px; letter-spacing: .04em; }
.video-title { font-size: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .offers, .licenses-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .licenses-grid { gap: 28px; }
  .releases, .kits { grid-template-columns: 1fr 1fr; }
  .beat { grid-template-columns: 42px 1fr auto; row-gap: 8px; }
  .beat-stat { display: none; }
  .beat .wave { grid-column: 2 / -1; grid-row: 2; }
}
@media (max-width: 720px) {
  .menu-btn { display: block; }
  .nav-links {
    position: fixed; top: 0; left: 0; right: 0; height: 100vh; z-index: -1;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px;
    padding: 0 var(--gutter); background: var(--bg); opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  /* Open menu: big, bold, slanted words that slide in one after another */
  .nav-links a, .nav-links .cart-btn {
    font-family: var(--head); font-weight: 400; text-transform: uppercase;
    font-size: clamp(48px, 15vw, 84px); line-height: .98; color: var(--ink);
    transform: translateX(-24px); opacity: 0;
    transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .45s ease, color .2s;
  }
  .nav-links a:hover, .nav-links a:active { color: var(--accent); }
  .nav-links .cart-btn { margin-top: 18px; font-size: clamp(28px, 8vw, 40px); padding: 10px 22px; color: var(--accent-ink); }
  .nav.is-open .nav-links { opacity: 1; pointer-events: auto; }
  .nav.is-open .nav-links > * { transform: none; opacity: 1; }
  .nav.is-open .nav-links > :nth-child(2) { transition-delay: .05s; }
  .nav.is-open .nav-links > :nth-child(3) { transition-delay: .1s; }
  .nav.is-open .nav-links > :nth-child(4) { transition-delay: .15s; }
  .nav.is-open .nav-links > :nth-child(5) { transition-delay: .2s; }
  .nav.is-open .nav-links > :nth-child(6) { transition-delay: .25s; }
  .nav.is-open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hs-dots { top: 92px; bottom: auto; }
  .rail-nav { display: none; }
  .tab { padding: 9px 14px; }
  .releases, .kits, .steps { grid-template-columns: 1fr; }
  .letter { transform: rotateX(5deg) rotateZ(-.6deg); }
  .letter-stamp { width: 56px; height: 66px; padding: 9px; }
  .beat-price { display: none; }
  .player { grid-template-columns: 40px minmax(0, 1fr) 40px auto 24px; gap: 10px; }
  .player-cover { width: 40px; height: 40px; }
  .player-track { grid-column: 1 / -1; grid-row: 2; height: 10px; }
  .player-time { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; translate: 0 0; }
  .logo svg, .about-sign { stroke-dashoffset: 0; }
}

/* ---------- Practical bits: toast, honeypots, streaming embeds, checkout fields ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.toast {
  position: fixed; left: 50%; bottom: calc(var(--player-h) + 20px); z-index: 80; translate: -50% 20px;
  background: #1d1d1d; color: var(--ink); border: 1px solid #333; border-radius: 10px; padding: 12px 18px; font-size: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.5); opacity: 0; pointer-events: none; transition: opacity .25s, translate .25s;
}
.toast.is-on { opacity: 1; translate: -50% 0; }
a.play-btn { text-decoration: none; font-size: 18px; }
.video-frame.is-audio { aspect-ratio: auto; background: #121212; }
.cart-foot input:not(.hp) {
  font: inherit; font-size: 14px; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; outline: none;
}
.cart-foot input:focus { border-color: var(--accent); }
.tcard .btn + .platforms { padding-top: 10px; }

/* ---------- Logo intro ---------- */
.intro { display: none; }
html.intro-on .intro { display: block; position: fixed; inset: 0; z-index: 200; transition: opacity .35s ease; }
html.intro-on body { overflow: hidden; }
html.intro-on .nav { opacity: 0; }
.nav { transition: opacity .6s ease; }
.intro svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1.35s cubic-bezier(.75, 0, .2, 1); will-change: transform; }
.intro-ink { fill: var(--bg); }
.intro-hole { color: #fff; }   /* strokes inherit this colour: white = no window while the line draws */
.intro.open .intro-hole { color: #000; }
.intro-draw { color: #fff; transition: opacity .3s ease; }
.intro-draw path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: sign 1.15s .2s cubic-bezier(.6, 0, .2, 1) forwards; }
.intro.open .intro-draw { opacity: 0; }
.intro.done { opacity: 0; }
.intro-skip {
  position: absolute; right: var(--gutter); bottom: 24px; z-index: 1;
  font: 600 13px var(--sans); color: var(--dim); letter-spacing: .08em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 6px; transition: color .2s, opacity .3s;
}
.intro-skip:hover { color: var(--ink); }
.intro.open .intro-skip { opacity: 0; }
/* The hero waits slightly zoomed in, then settles back as we fly through the logo. */
.hs-slides { transition: transform 1.9s cubic-bezier(.2, .75, .2, 1); }
html.intro-on:not(.intro-zoom) .hs-slides { transform: scale(1.35); }

/* ---------- Log in toggle: a neon switch. Flip it on, it lights up with a glow in the middle, then the login opens ---------- */
.tl {
  --neon: var(--accent);
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: var(--head); font-style: italic; text-transform: uppercase; letter-spacing: .06em; font-size: 15px;
  color: var(--neon);
  text-shadow: 0 0 4px var(--neon), 0 0 12px rgba(245, 200, 75, .7), 0 0 24px rgba(245, 200, 75, .4);
  -webkit-tap-highlight-color: transparent;
}
/* A physical switch: a recessed groove with a glossy domed knob that casts a shadow.
   Switched on, the groove is backlit warm yellow from underneath. */
.tl-track {
  position: relative; isolation: isolate; flex: none;
  width: 58px; height: 32px; border-radius: 99px; overflow: hidden;
  background: linear-gradient(180deg, #050505 0%, #161616 55%, #222 100%);
  box-shadow:
    inset 0 3px 6px rgba(0, 0, 0, .9),          /* depth of the groove */
    inset 0 -1px 1px rgba(255, 255, 255, .08),   /* lip catching light at the bottom */
    0 1px 0 rgba(255, 255, 255, .12),            /* bevel of the surrounding plate */
    0 0 0 1px #000;
  transition: box-shadow .35s ease;
}
/* The backlight: a warm glow living inside the groove, faded in when on */
.tl-core {
  position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(120% 140% at 30% 50%, rgba(255, 240, 180, .95), rgba(245, 200, 75, .85) 40%, rgba(200, 140, 20, .9) 100%);
  box-shadow: inset 0 3px 6px rgba(80, 45, 0, .55), inset 0 -2px 4px rgba(255, 245, 210, .5);
  opacity: 0; transition: opacity .35s ease;
}
.tl-knob {
  position: absolute; top: 3px; left: 3px; z-index: 2;
  width: 26px; height: 26px; border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, #ffffff 0%, #f1f1f1 18%, #cfcfcf 55%, #9a9a9a 100%);
  box-shadow:
    0 3px 5px rgba(0, 0, 0, .55),                /* cast shadow */
    0 1px 1px rgba(0, 0, 0, .6),
    inset 0 -2px 3px rgba(0, 0, 0, .25),         /* underside of the dome */
    inset 0 1px 1px rgba(255, 255, 255, .9);     /* rim highlight */
  transition: transform .38s cubic-bezier(.3, 1.35, .5, 1);
}
.tl-knob::after { /* the specular glint that sells the gloss */
  content: ""; position: absolute; left: 22%; top: 12%; width: 42%; height: 28%; border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0));
}
.tl:hover .tl-knob { box-shadow: 0 4px 7px rgba(0, 0, 0, .6), 0 1px 1px rgba(0, 0, 0, .6), inset 0 -2px 3px rgba(0, 0, 0, .25), inset 0 1px 1px rgba(255, 255, 255, .9); }
.tl:active .tl-knob { width: 30px; }            /* the knob squashes a little as you press */
.tl:focus-visible { outline: none; }
.tl:focus-visible .tl-track { outline: 2px solid var(--neon); outline-offset: 4px; }

.tl.on .tl-core { opacity: 1; }
.tl.on .tl-track { box-shadow: inset 0 3px 6px rgba(0, 0, 0, .6), 0 1px 0 rgba(255, 255, 255, .12), 0 0 0 1px #000, 0 0 18px rgba(245, 200, 75, .45); }
.tl.on .tl-knob { transform: translateX(26px); }
.tl.on { text-shadow: 0 0 4px #fff, 0 0 14px var(--neon), 0 0 32px rgba(245, 200, 75, .9); }
.tl-foot { font-size: 14px; }
@media (max-width: 720px) {
  .nav-links .tl-nav { font-size: clamp(22px, 7vw, 32px); margin-top: 22px; gap: 14px; }
  .nav-links .tl-nav .tl-track { width: 70px; height: 38px; }
  .nav-links .tl-nav .tl-knob { width: 32px; height: 32px; }
  .nav-links .tl-nav.on .tl-knob { transform: translateX(32px); }
  .nav.is-open .nav-links > :nth-child(7) { transition-delay: .3s; }
}
/* Tiny engraved label: hollow letters pressed into the page, lit from above */
.tl-label {
  font-family: var(--sans); font-style: normal; font-weight: 800; font-size: 10px; letter-spacing: .22em;
  color: transparent;
  -webkit-text-stroke: .6px rgba(255, 255, 255, .22);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .14), 0 -1px 0 rgba(0, 0, 0, .95), 0 0 1px rgba(0, 0, 0, .9);
  transition: -webkit-text-stroke-color .3s ease, text-shadow .3s ease;
}
.tl:hover .tl-label { -webkit-text-stroke-color: rgba(255, 255, 255, .4); }
.tl.on .tl-label { -webkit-text-stroke-color: rgba(245, 200, 75, .9); text-shadow: 0 1px 0 rgba(255, 255, 255, .14), 0 -1px 0 rgba(0, 0, 0, .95), 0 0 8px rgba(245, 200, 75, .45); }
.tl, .tl.on { text-shadow: none; }
@media (max-width: 720px) { .nav-links .tl-nav .tl-label { font-size: 12px; } }

/* ---------- Footer: the same menu as the header, plus socials and copyright ---------- */
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center; }
.footer-nav a { font-family: var(--head); font-style: italic; text-transform: uppercase; font-size: 22px; color: var(--ink); transition: color .2s; }
.footer-nav a:hover { color: var(--accent); }
.footer-social { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 22px 0 0; }
.footer-social a { font-size: 13px; color: var(--dim); }
.footer-social a:hover, #footerEmail:hover { color: var(--ink); }
#footerEmail { font-size: 13px; color: var(--dim); }

/* ---------- Edit tools (signed-in owner only) ---------- */
.ed-bar {
  position: fixed; left: var(--gutter); bottom: calc(var(--player-h) + 16px); z-index: 70;
  display: flex; align-items: center; gap: 4px; padding: 5px;
  background: rgba(10,10,10,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid #333; border-radius: 99px; font: 600 13px var(--sans); color: var(--ink);
}
.ed-bar span { padding: 0 10px 0 12px; color: var(--accent); }
.ed-bar button, .ed-bar a {
  font: 600 13px var(--sans); color: var(--ink); background: transparent; border: 1px solid #3a3a3a;
  border-radius: 99px; padding: 7px 14px; cursor: pointer; text-decoration: none; transition: border-color .15s, background .15s, color .15s;
}
.ed-bar button:hover, .ed-bar a:hover { border-color: var(--ink); }
body.editing .ed-bar button { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* Controls on each card */
.ed { position: absolute; top: 8px; right: 8px; z-index: 6; display: flex; gap: 6px; }
.tcard, .license-card { position: relative; }
.ed button {
  font: 600 12px var(--sans); color: #fff; background: rgba(10,10,10,.82); border: 1px solid rgba(255,255,255,.28);
  border-radius: 99px; padding: 5px 11px; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .15s, border-color .15s, color .15s;
}
.ed button:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ed button[data-ed="del"]:hover { background: #d9483b; border-color: #d9483b; color: #fff; }
body.editing .tcard[data-id], body.editing .license-card[data-id] { cursor: pointer; }
body.editing .tcard[data-id]:hover .tcard-art, body.editing .license-card[data-id]:hover { outline: 2px dashed var(--accent); outline-offset: 3px; }

/* "+ Add" tile at the end of the row */
.tcard-add { cursor: pointer; }
.tcard-add .tcard-art { display: grid; place-content: center; justify-items: center; gap: 8px; border: 1.5px dashed #555; background: transparent; transition: border-color .2s, color .2s; color: var(--dim); }
.tcard-add b { font: 400 44px/1 var(--sans); }
.tcard-add i { font: 600 14px var(--sans); font-style: normal; }
.tcard-add:hover .tcard-art { border-color: var(--accent); color: var(--accent); }

/* Hero buttons */
.ed-hero { position: absolute; right: var(--gutter); top: 84px; z-index: 6; display: flex; gap: 8px; }
.ed-hero button { font: 600 13px var(--sans); color: #fff; background: rgba(10,10,10,.75); border: 1px solid rgba(255,255,255,.3); border-radius: 99px; padding: 8px 16px; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .15s, color .15s, border-color .15s; }
.ed-hero button:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* Side panel that holds the editor */
.ed-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .25s; }
.ed-scrim.is-open { opacity: 1; }
.ed-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(520px, 100%); background: #0f0f0f; border-left: 1px solid #2a2a2a; transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.ed-scrim.is-open .ed-panel { transform: none; }
.ed-panel iframe { width: 100%; height: 100%; border: 0; background: #0f0f0f; display: block; }
.ed-close { position: absolute; top: 12px; right: 14px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #3a3a3a; background: #0f0f0f; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.ed-close:hover { border-color: #fff; }
@media (max-width: 720px) { .ed-hero { top: 76px; } .ed-bar { bottom: calc(var(--player-h) + 12px); } }

/* Credit line at the very bottom */
.credit { max-width: var(--max); margin: 18px auto 0; font-size: 12px; color: var(--dim); text-align: center; }
.credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.credit a:hover { color: var(--accent); }
