*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #050508;
  --bg-elevated: #0c0812;
  --bg-card: #110d18;
  --bg-glass: rgba(17, 13, 24, 0.82);
  --border: rgba(139, 61, 204, 0.15);
  --border-hover: rgba(212, 175, 55, 0.35);
  --text: #f4f0fa;
  --text-muted: #9a8fb0;
  --purple: #8b3dcc;
  --purple-dark: #4a1575;
  --purple-deep: #2d0a4e;
  --purple-glow: rgba(139, 61, 204, 0.45);
  --purple-soft: rgba(139, 61, 204, 0.12);
  --gold: #d4af37;
  --gold-bright: #f0d060;
  --gold-glow: rgba(212, 175, 55, 0.4);
  --gold-soft: rgba(212, 175, 55, 0.1);
  --accent: var(--gold);
  --accent-bright: var(--gold-bright);
  --accent-glow: var(--gold-glow);
  --accent-soft: var(--gold-soft);
  --accent-2: var(--purple);
  --accent-2-glow: var(--purple-glow);
  --success: #22c55e;
  --font-display: 'Bebas Neue', sans-serif;
  --font-accent: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --player-h: 80px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: var(--player-h);
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

img, video {
  max-width: 100%;
  height: auto;
}

button, a, input, select, textarea {
  touch-action: manipulation;
}

body.player-active {
  padding-bottom: var(--player-h);
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  z-index: 1000;
  transition: width 0.1s linear;
}

a { color: inherit; text-decoration: none; }

::selection {
  background: rgba(212, 175, 55, 0.35);
  color: #fff;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 10000;
  padding: 0.65rem 1rem;
  background: var(--gold);
  color: var(--bg);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
summary:focus:not(:focus-visible) {
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee { animation: none !important; }
  .status-dot { animation: none !important; }
  .vinyl.spinning { animation: none !important; }
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 2.5rem;
  background: rgba(5, 5, 8, 0.65);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.nav.scrolled {
  background: rgba(5, 5, 8, 0.94);
  border-bottom-color: var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo-mark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--purple);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--purple-soft), var(--gold-soft));
}

.nav-logo-text {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 0.45rem 1.1rem !important;
  border: 1px solid var(--accent) !important;
  border-radius: 999px;
  color: var(--accent) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--accent);
  color: var(--bg) !important;
}

.nav-store {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-bright);
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  background: var(--accent-soft);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-store:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 5.5rem 0 0;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 20%, var(--purple-deep) 0%, var(--bg) 70%);
}

.hero-smoke {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}

.hero-smoke--1 {
  width: 500px;
  height: 500px;
  top: -10%;
  left: -5%;
  background: var(--purple-glow);
}

.hero-smoke--2 {
  width: 400px;
  height: 400px;
  bottom: 10%;
  right: -5%;
  background: var(--gold-glow);
  opacity: 0.25;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(5, 5, 8, 0.85) 100%);
}

.hero-brand {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem 2rem;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.hero-brand-frame {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin-bottom: 2rem;
}

.hero-brand-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow:
    0 0 0 1px rgba(139, 61, 204, 0.1),
    0 24px 80px rgba(0, 0, 0, 0.6),
    0 0 60px var(--purple-glow);
}

.hero-brand-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, var(--purple-glow), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-bottom {
  text-align: center;
  width: 100%;
  max-width: 720px;
  position: relative;
}

.hero-motto {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 30px var(--gold-glow);
}

.hero-role {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.35rem;
}

.hero-location,
.about-location,
.contact-location {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.hero-location {
  margin-bottom: 0.75rem;
}

.about-location {
  margin: -0.35rem 0 1rem;
}

.contact-location {
  margin: 0 0 1rem;
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 1.75rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.hero-stats[hidden] {
  display: none !important;
}

.hero-831 {
  display: block;
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  color: var(--purple);
  opacity: 0.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--bg);
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px var(--gold-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--purple);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-soft);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.stat {
  position: relative;
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1;
  display: inline;
  color: var(--text);
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
}

.stat-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.25rem;
}

/* Marquee */
.marquee-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, var(--purple-deep), var(--bg-elevated), var(--purple-deep));
  padding: 0.85rem 0;
  margin-top: auto;
}

.marquee {
  display: flex;
  gap: 2rem;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

.marquee span {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.marquee span:nth-child(even) {
  color: var(--gold);
  opacity: 0.7;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Sections ── */
.section {
  padding: 5.5rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.65rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  letter-spacing: 0.03em;
  margin-bottom: 0.65rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  font-size: 0.95rem;
}

.section-cta {
  display: block;
  width: fit-content;
  margin: 2.5rem auto 0;
}

.beats-cta-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.hidden { display: none !important; }

/* ── Beats ── */
.beats-toolbar {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition);
}

.search-box:focus-within {
  border-color: var(--accent);
}

.search-box svg { color: var(--text-muted); flex-shrink: 0; }

.search-box input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.875rem;
  outline: none;
}

.search-box input::placeholder { color: var(--text-muted); }

.sort-select {
  padding: 0.65rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.875rem;
  cursor: pointer;
  outline: none;
}

.sort-select:focus { border-color: var(--accent); }

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter {
  padding: 0.45rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.filter:hover,
.filter.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.beats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
}

.beat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.beat-card:hover {
  border-color: rgba(139, 61, 204, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 24px var(--purple-soft);
}

.beat-card.hidden { display: none; }

.beat-card.playing {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold-soft), 0 16px 48px rgba(0,0,0,0.35);
}

.beat-cover {
  aspect-ratio: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-elevated);
}

.beat-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.beat-cover img.cover-fallback,
.beat-cover:has(img.cover-fallback) {
  background:
    radial-gradient(circle at 30% 30%, var(--purple-glow), transparent 55%),
    linear-gradient(145deg, var(--purple-deep), var(--bg));
}

.beat-card:hover .beat-cover img {
  transform: scale(1.06);
}

.beat-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.2rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
}

.beat-tag--new {
  background: var(--accent);
  color: var(--bg);
}

.beat-tag--hot {
  background: #ef4444;
  color: white;
}

.beat-play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.45);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85);
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.beat-play svg { width: 20px; height: 20px; }

.beat-card:hover .beat-play,
.beat-card.playing .beat-play {
  opacity: 1;
  transform: scale(1);
}

.beat-info { padding: 1.1rem; }

.beat-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.beat-info h3 {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-weight: 700;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.35rem;
  border-radius: 6px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-btn:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.beat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.chip {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--purple-soft);
  color: var(--purple);
  border: 1px solid rgba(139, 61, 204, 0.2);
}

.chip--muted {
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
}

.beat-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.beat-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
}

.beat-btns {
  display: flex;
  gap: 0.4rem;
}

.btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.btn-sm--ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
}

.btn-sm--ghost:hover { color: var(--text); }

.btn-sm--accent {
  background: var(--accent-soft);
  color: var(--accent-bright);
}

.btn-sm--accent:hover {
  background: var(--accent);
  color: var(--bg);
}

.beats-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem;
}

.beats-empty.hidden { display: none; }

/* ── Producer Toolkit ── */
.prod-tools {
  max-width: 100%;
  background: var(--bg);
}

.prod-tools .section-header,
.prod-tools-grid,
.studio-promo {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.studio-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--purple-deep), var(--bg-card));
  border: 1px solid var(--purple);
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.studio-promo:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 40px var(--purple-glow);
  transform: translateY(-2px);
}

.studio-promo-text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.studio-promo-text strong {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  color: var(--gold-bright);
}

.studio-promo-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 520px;
}

.prod-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.ptool {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: var(--transition);
}

.ptool:hover {
  border-color: rgba(139, 61, 204, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.ptool--wide {
  grid-column: span 2;
}

.ptool-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.ptool-icon {
  font-size: 1.35rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.ptool-head h3 {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-weight: 700;
}

.ptool-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: -0.25rem;
}

.ptool-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.ptool-field span {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ptool-field input,
.ptool-field select {
  padding: 0.6rem 0.85rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.875rem;
  width: 100%;
}

.ptool-field input:focus,
.ptool-field select:focus {
  outline: none;
  border-color: var(--purple);
}

.ptool-field-row {
  display: flex;
  gap: 0.75rem;
}

.ptool-tap-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100px;
  padding: 1.25rem;
  background: linear-gradient(135deg, var(--purple-deep), var(--bg-elevated));
  border: 2px dashed var(--purple);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
  color: var(--text);
}

.ptool-tap-zone:hover,
.ptool-tap-zone.tapped {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--purple-soft), var(--gold-soft));
  transform: scale(0.98);
}

.ptool-tap-display {
  font-family: var(--font-display);
  font-size: 2.75rem;
  color: var(--gold-bright);
  line-height: 1;
}

.ptool-tap-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.ptool-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ptool-chip {
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  background: var(--purple-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
}

.ptool-chip strong {
  color: var(--gold);
  margin-left: 0.2rem;
}

.ptool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.ptool-result-lg {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-bright);
  text-align: center;
  padding: 0.5rem 0;
}

.ptool-key-result {
  color: var(--purple);
  text-shadow: 0 0 20px var(--purple-glow);
}

.ptool-result-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ptool-action {
  width: 100%;
  margin-top: auto;
}

.ptool-action.playing {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  border-color: var(--purple);
}

.ptool-beat-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  min-height: 16px;
}

.metro-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--transition);
}

.metro-dot.downbeat { width: 12px; height: 12px; }

.metro-dot.active {
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold-glow);
  transform: scale(1.2);
}

.ptool-ms-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ptool-ms-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.ptool-ms-btn:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.ptool-ms-btn strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1rem;
}

.ptool-tabs {
  display: flex;
  gap: 0.35rem;
}

.ptool-tab {
  flex: 1;
  padding: 0.45rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.ptool-tab.active {
  border-color: var(--purple);
  color: var(--purple);
  background: var(--purple-soft);
}

.ptool-panel {
  display: none;
}

.ptool-panel.active {
  display: block;
}

.ptool-tempo-list {
  list-style: none;
}

.ptool-tempo-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.ptool-tempo-list li.highlight {
  color: var(--text);
  background: var(--gold-soft);
  margin: 0 -0.5rem;
  padding: 0.45rem 0.5rem;
  border-radius: var(--radius);
  border-bottom: none;
}

.ptool-tempo-list strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.ptool-lufs-list {
  list-style: none;
}

.ptool-lufs-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
}

.ptool-lufs-list li div:first-child {
  display: flex;
  flex-direction: column;
}

.ptool-lufs-list strong { font-size: 0.85rem; }

.ptool-lufs-list span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.lufs-target {
  text-align: right;
  color: var(--purple);
  font-weight: 600;
  font-size: 0.82rem;
}

.lufs-gap {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 400;
}

.lufs-gap.ok { color: var(--success); }

.struct-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.struct-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.struct-table th,
.struct-table td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.struct-table th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--bg);
}

.struct-del {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 0.35rem;
  line-height: 1;
}

.struct-del:hover { color: #ef4444; }

.struct-add-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.struct-add-row input {
  flex: 1;
  min-width: 80px;
  padding: 0.55rem 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.82rem;
}

.struct-add-row input:focus {
  outline: none;
  border-color: var(--purple);
}

.struct-totals {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  background: var(--purple-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.struct-totals strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

/* ── Process ── */
.process {
  background: var(--bg-elevated);
  max-width: 100%;
}

.process .section-header,
.process-steps {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.step-card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.6;
  display: block;
  margin-bottom: 0.75rem;
}

.step-card h3 {
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.tools-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.tool-card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.tool-card h4 {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.tool-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.bpm-tap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.bpm-result {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--accent);
}

.quote-total {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 1rem 0;
}

.quote-total strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--accent);
}

.tool-card .sort-select {
  width: 100%;
  margin-bottom: 0.5rem;
}

/* ── Credits ── */
.credits {
  background: var(--bg);
  max-width: 100%;
}

.credits .section-header,
.credits-list {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.credits-list {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.credit-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.9fr 0.8fr 0.4fr;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  align-items: center;
  font-size: 0.875rem;
  transition: background var(--transition);
  color: inherit;
  text-decoration: none;
}

.credit-row:last-child { border-bottom: none; }

.credit-row:hover {
  background: var(--accent-soft);
}

.credit-artist { font-weight: 600; }

.credit-track { color: var(--text-muted); }

.credit-role {
  font-size: 0.8rem;
  color: var(--accent);
}

.credit-streams {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.credit-year {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: right;
}

/* ── Testimonials ── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial-card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--border-hover);
}

.testimonial-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-card footer strong {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.85rem;
}

.testimonial-card footer span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-image { position: relative; }

.about-frame {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}

.about-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #0c0812, #2d0a4e 45%, #1a1028);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.about-placeholder span {
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: rgba(139, 61, 204, 0.25);
  letter-spacing: 0.1em;
}

.about-placeholder small {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-placeholder em {
  font-style: normal;
  font-size: 0.72rem;
  color: rgba(154, 143, 176, 0.75);
  max-width: 180px;
  text-align: center;
  line-height: 1.4;
}

.about-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.08) 2px,
    rgba(0,0,0,0.08) 4px
  );
  pointer-events: none;
}

.about-badge {
  position: absolute;
  bottom: -0.75rem;
  right: -0.75rem;
  padding: 0.65rem 1.25rem;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  border: 1px solid var(--purple);
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}

.gear-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.gear-strip span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
}

.about-services {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.about-services li {
  font-size: 0.875rem;
  padding-left: 1.1rem;
  position: relative;
}

.about-services li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.about-content .btn {
  margin-top: 1.5rem;
}

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.price-card {
  position: relative;
  padding: 2.25rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
}

.price-card:hover { border-color: var(--border-hover); }

.price-card--featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), var(--bg-card) 50%);
}

.price-badge {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.2rem 0.85rem;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
}

.price-card h3 {
  font-family: var(--font-accent);
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.75rem;
  display: block;
  margin-bottom: 1.25rem;
}

.price-amount span {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.price-card ul {
  list-style: none;
  margin-bottom: 1.75rem;
  text-align: left;
}

.price-card li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
}

.price-card li:last-child { border-bottom: none; }

.price-card .btn { width: 100%; }

.license-table-wrap {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}

.license-table-wrap h3 {
  font-family: var(--font-accent);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.license-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.license-table th,
.license-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.license-table th {
  font-family: var(--font-accent);
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.license-table td:first-child { color: var(--text-muted); }

.license-table tbody tr:hover {
  background: rgba(255,255,255,0.02);
}

/* ── FAQ ── */
.faq {
  background: var(--bg-elevated);
  max-width: 100%;
}

.faq .section-header,
.faq-list {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.65rem;
  background: var(--bg-card);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.1rem 1.25rem;
  font-family: var(--font-accent);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--accent);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover { color: var(--accent); }

.faq-item p {
  padding: 0 1.25rem 1.1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Contact ── */
.contact {
  max-width: 100%;
}

.contact-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  margin-bottom: 0.85rem;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.contact-email-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.contact-email-row a {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.95rem;
}

.response-time {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem !important;
}

.socials {
  display: flex;
  gap: 0.65rem;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
}

.socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-form label span {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
}

.contact-form label small {
  font-weight: 400;
  opacity: 0.7;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.75rem 0.95rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.875rem;
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form input:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
}

/* ── Footer ── */
.footer {
  padding: 2.5rem 2.5rem 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--accent);
}

.footer p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--text); }

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.footer-socials a {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-socials a:hover { color: var(--accent); }

.footer-team {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 0.85rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-team em {
  font-style: normal;
  color: var(--gold);
  font-family: var(--font-accent);
  font-weight: 600;
  margin-right: 0.35rem;
}

.footer-team-sep {
  opacity: 0.4;
}

.about-team {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 1.25rem 0 1.5rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-team div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.about-team strong {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-accent);
}

.about-team span {
  font-size: 0.92rem;
  color: var(--text);
}

.tool-credit {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 0.65rem;
  padding: 1rem 1.25rem 1.5rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background: rgba(5, 5, 8, 0.6);
}

.keyboard-hint {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  opacity: 0.6;
}

kbd {
  display: inline-block;
  padding: 0.15rem 0.4rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
}

/* ── Player Bar ── */
.player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--player-h);
  background: rgba(12, 8, 18, 0.96);
  backdrop-filter: blur(24px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 1.5rem;
  z-index: 300;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.player-bar.visible {
  transform: translateY(0);
}

.player-track {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 200px;
  flex: 0 0 220px;
}

.player-art {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  position: relative;
}

.player-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.player-waveform {
  width: 100px;
  height: 32px;
  flex-shrink: 0;
  opacity: 0.85;
}

.player-buy {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
}

.player-buy:hover {
  background: var(--accent-bright);
}

.player-queue-btn {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition);
}

.player-queue-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.player-queue-btn span {
  color: var(--gold);
  margin-left: 0.2rem;
}

.player-progress {
  cursor: pointer;
}

.player-progress:focus-visible {
  outline-offset: 4px;
}

.vinyl {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #14141c, #242430, #14141c, #303040, #14141c);
  position: relative;
}

.vinyl.spinning {
  animation: spin 3s linear infinite;
}

.vinyl::after {
  content: '';
  position: absolute;
  inset: 35%;
  border-radius: 50%;
  background: var(--accent);
}

.player-info {
  min-width: 0;
}

.player-title {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.player-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.player-btn:hover {
  background: rgba(255,255,255,0.12);
}

.player-btn--main {
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: var(--bg);
}

.player-btn--main:hover {
  background: var(--accent-bright);
  transform: scale(1.05);
}

.player-btn--main svg {
  width: 20px;
  height: 20px;
}

.player-progress-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.player-time {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.player-progress {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.player-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  border-radius: 2px;
  transition: width 0.1s linear;
}

.player-volume {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.player-volume input[type="range"] {
  width: 80px;
  accent-color: var(--accent);
  cursor: pointer;
}

/* ── Back to top ── */
.back-top {
  position: fixed;
  bottom: calc(var(--player-h) + 1rem);
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 150;
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: calc(var(--player-h) + 1.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 0.75rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  z-index: 400;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile ── */
@media (max-width: 1024px) {
  .hero-brand-img {
    border-radius: var(--radius-lg);
  }

  .nav-status,
  .nav-store { display: none; }

  .nav-logo-text { display: none; }

  .player-waveform { display: none; }

  .prod-tools-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ptool--wide {
    grid-column: span 2;
  }

  .process-steps,
  .testimonial-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .tools-row {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .credit-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
  }

  .credit-streams { display: none; }

  .player-volume { display: none; }

  .player-track { flex: 0 0 160px; min-width: 160px; }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1.25rem;
    background: rgba(7, 7, 9, 0.98);
    border-bottom: 1px solid var(--border);
    gap: 1rem;
  }

  .nav-links.open { display: flex; }

  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  .nav { padding: 0.85rem 1.25rem; }

  .section { padding: 4rem 1.25rem; }

  .hero { padding: 5rem 0.75rem 0; }

  .hero-brand { padding: 0.75rem 0.5rem 1.25rem; }

  .hero-motto { font-size: 1.2rem; }

  .hero-stats { gap: 1.5rem; }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .player-bar {
    flex-wrap: wrap;
    height: auto;
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }

  .player-buy,
  .player-queue-btn {
    display: inline-flex;
  }

  .player-progress-wrap {
    order: 3;
    width: 100%;
    flex: none;
  }

  .player-controls {
    margin-left: auto;
  }

  body { padding-bottom: 120px; }

  .prod-tools-grid {
    grid-template-columns: 1fr;
  }

  .ptool--wide {
    grid-column: span 1;
  }

  .keyboard-hint { display: none; }
}

.studio-promo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.studio-promo--lab { border-color: rgba(212, 175, 55, 0.25); }
.beat-wave { width: 100%; height: 36px; display: block; background: rgba(0,0,0,.35); }
.beat-wish {
  position: absolute; top: 0.55rem; left: 0.55rem; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; border: none;
  background: rgba(0,0,0,.55); color: #fff; cursor: pointer; font-size: 0.95rem;
}
.beat-wish.on { color: var(--gold); }
.beat-card--featured { box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.35); }
.beat-title-row a:hover { color: var(--gold); }
.wish-nav-btn {
  margin-left: 0.35rem; background: transparent; border: 1px solid var(--border);
  color: var(--text); border-radius: 999px; padding: 0.35rem 0.7rem; cursor: pointer; font-size: 0.8rem;
}
.wish-nav-btn span { color: var(--gold); }
.wish-drawer {
  position: fixed; top: 72px; right: 1rem; width: min(340px, calc(100vw - 2rem));
  max-height: 70vh; overflow: auto; z-index: 250; padding: 1rem;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.wish-drawer[hidden] { display: none !important; }
.wish-drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }
.wish-item {
  display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.55rem 0;
  border-bottom: 1px solid var(--border); font-size: 0.88rem;
}
.wish-drawer .btn { width: 100%; margin-top: 0.85rem; }
@media (max-width: 900px) {
  .studio-promo-row { grid-template-columns: 1fr; }
  .wish-nav-btn { display: none; }
}

/* ── Demos & Songs ── */
.demos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.demo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, rgba(139, 61, 204, 0.12), rgba(5, 5, 8, 0.4));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}

.demo-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.demo-card.playing {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.25);
}

.demo-cover {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-card);
  overflow: hidden;
}

.demo-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--gold);
  color: var(--bg);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.92);
  transition: var(--transition);
  z-index: 2;
}

.demo-play svg { width: 22px; height: 22px; }

.demo-card:hover .demo-play,
.demo-card.playing .demo-play {
  opacity: 1;
  transform: scale(1);
}

.demo-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(5, 5, 8, 0.75);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.demo-info {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.demo-info h3 {
  font-family: var(--font-accent);
  font-size: 1.05rem;
}

.demo-role {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
}

.demo-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.demo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.demo-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
}

@media (max-width: 640px) {
  .demos-grid { grid-template-columns: 1fr; }
  .demo-play { opacity: 1; }
}

/* ── Featured Drop ── */
.featured-drop {
  position: relative;
  min-height: min(72vh, 640px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.featured-drop[hidden] { display: none !important; }

.featured-drop-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  filter: saturate(1.05);
}

.featured-drop.in-view .featured-drop-bg { transform: scale(1); }

.featured-drop-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,5,8,.25) 0%, rgba(5,5,8,.55) 40%, rgba(5,5,8,.92) 100%),
    linear-gradient(90deg, rgba(5,5,8,.75) 0%, rgba(5,5,8,.2) 55%, transparent 100%);
}

.featured-drop-inner {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  padding: 3.5rem 2rem 2.75rem;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.featured-drop.in-view .featured-drop-inner {
  opacity: 1;
  transform: translateY(0);
}

.featured-drop-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin: 0.35rem 0 0.65rem;
  max-width: 14ch;
}

.featured-drop-vibe {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 42ch;
  margin-bottom: 0.85rem;
}

.featured-drop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.featured-drop-meta .chip {
  background: rgba(0,0,0,.35);
  border: 1px solid var(--border);
}

.featured-drop-wave {
  width: min(100%, 560px);
  height: 56px;
  display: block;
  cursor: pointer;
  margin-bottom: 1.25rem;
  border-radius: 4px;
}

.featured-drop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.similar-vibe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.similar-vibe[hidden],
.similar-vibe.hidden { display: none !important; }

.similar-vibe strong {
  color: var(--gold);
  font-family: var(--font-accent);
  font-weight: 600;
  margin-right: 0.25rem;
}

.similar-chip {
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
}

.similar-chip:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.beat-card.previewing .beat-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--gold);
  pointer-events: none;
  animation: beatPulse 1.2s ease infinite;
}

@keyframes beatPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

.player-progress {
  cursor: pointer;
  touch-action: none;
}

.player-waveform {
  cursor: pointer;
}

.keys-tip {
  position: fixed;
  bottom: calc(var(--player-h) + 1rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 220;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem 0.65rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text-muted);
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
}

.keys-tip[hidden] { display: none !important; }

.keys-tip kbd {
  font-size: 0.7rem;
  padding: 0.1rem 0.35rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--gold);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.proof-card {
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.proof-card strong {
  display: block;
  font-family: var(--font-accent);
  margin-bottom: 0.75rem;
  color: var(--gold);
}

.proof-card audio { width: 100%; }

.about-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.nav-status.closed .status-dot {
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
}

.section-header h2,
.about-content h2,
.contact-info h2 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

@media (max-width: 720px) {
  .featured-drop { min-height: 70vh; }
  .featured-drop-inner { padding: 2.5rem 1.25rem 2rem; }
  .proof-grid { grid-template-columns: 1fr; }
  .keys-tip { width: calc(100% - 1.5rem); border-radius: var(--radius-lg); flex-wrap: wrap; justify-content: center; }
}

/* ── Device compatibility pass ── */
.nav-wish-mobile { display: none; list-style: none; }

.license-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.nav {
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}

.player-bar {
  padding-bottom: env(safe-area-inset-bottom, 0);
  padding-left: max(0.75rem, env(safe-area-inset-left));
  padding-right: max(0.75rem, env(safe-area-inset-right));
}

@media (max-width: 1100px) {
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.78rem; }
}

@media (max-width: 900px) {
  .nav {
    gap: 0.65rem;
    padding-top: max(0.75rem, env(safe-area-inset-top));
  }

  .nav-links {
    max-height: min(80vh, 560px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-wish-mobile { display: list-item; }
  .wish-nav-btn--inmenu {
    width: 100%;
    justify-content: center;
    margin: 0.25rem 0 0;
    border-radius: var(--radius);
  }

  .beats-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

  .beats-toolbar {
    flex-direction: column;
  }

  .search-box,
  .sort-select {
    width: 100%;
    min-width: 0;
  }

  .featured-drop-actions .btn {
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
  }

  .contact-info,
  .contact-form {
    width: 100%;
  }

  .socials {
    justify-content: flex-start;
  }

  .player-bar {
    height: auto;
    min-height: var(--player-h);
    flex-wrap: wrap;
    gap: 0.55rem 0.75rem;
    padding-top: 0.65rem;
    padding-bottom: max(0.65rem, env(safe-area-inset-bottom));
  }

  .player-track {
    flex: 1 1 140px;
    min-width: 0;
  }

  .player-info {
    min-width: 0;
  }

  .player-title,
  .player-meta {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .player-progress-wrap {
    order: 5;
    width: 100%;
    flex: 1 1 100%;
  }

  .keys-tip {
    bottom: calc(var(--player-h) + 0.75rem + env(safe-area-inset-bottom, 0px));
  }

  body.player-active {
    padding-bottom: calc(130px + env(safe-area-inset-bottom, 0px));
  }

  .wish-drawer {
    top: auto;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    left: 1rem;
    right: 1rem;
    width: auto;
    max-height: min(55vh, 420px);
  }

  .marquee-wrap { overflow: hidden; }
}

@media (max-width: 640px) {
  .beats-grid {
    grid-template-columns: 1fr;
  }

  .beats-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .beats-cta-row .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 320px);
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions .btn {
    max-width: none;
    width: 100%;
    justify-content: center;
  }

  .featured-drop-title {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
    max-width: none;
  }

  .featured-drop-actions {
    flex-direction: column;
  }

  .featured-drop-actions .btn { width: 100%; }

  .player-meta { display: none; }
  .player-buy { margin-left: auto; }
  .player-queue-btn { display: none !important; }

  .filter {
    padding: 0.5rem 0.9rem;
    min-height: 40px;
  }

  .beat-play {
    width: 48px;
    height: 48px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea,
  .search-box input,
  .sort-select,
  input[type="text"],
  input[type="email"],
  input[type="url"],
  input[type="number"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px !important; /* prevents iOS zoom on focus */
  }

  .section-header h2 {
    font-size: clamp(1.8rem, 9vw, 2.6rem);
  }

  .credit-row {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .back-top {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: calc(140px + env(safe-area-inset-bottom, 0px));
  }

  .tool-credit {
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .nav-logo-mark {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  .player-track { flex-basis: 110px; }
  .player-art { width: 36px; height: 36px; }
}

@media (hover: none) and (pointer: coarse) {
  .beat-card.previewing .beat-cover::after { display: none; }
  .nav-links a,
  .btn,
  .btn-sm,
  .filter,
  .beat-play,
  .transport-btn {
    min-height: 44px;
  }
}

@supports (padding: max(0px)) {
  .section {
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
  }
}
