/* ============================================================
   DC BEATS — Main Stylesheet
   Aesthetic: Dark Luxury / Gold Accents / Premium Producer
   ============================================================
   TABLE OF CONTENTS
   1.  CSS Variables & Theme
   2.  Reset & Base
   3.  Scrollbar
   4.  Typography
   5.  Layout Container
   6.  Buttons & UI Components
   7.  Navigation
   8.  Hero Section
   9.  Beats Section (BeatStars Embed)
   10. Services Section
   11. Contact Section
   12. Footer
   13. Scroll Reveal
   14. Keyframe Animations
   15. Responsive
============================================================ */


/* ============================================================
   1. CSS VARIABLES & THEME
============================================================ */
:root {
  /* Backgrounds */
  --bg-primary:    #0a0a0a;
  --bg-secondary:  #0f0f0f;
  --bg-card:       #131313;
  --bg-elevated:   #181818;

  /* Borders */
  --border:        rgba(255, 255, 255, 0.06);
  --border-mid:    rgba(255, 255, 255, 0.1);

  /* Gold palette */
  --gold:          #c8a96e;
  --gold-light:    #dfc28e;
  --gold-dim:      rgba(200, 169, 110, 0.1);
  --gold-glow:     rgba(200, 169, 110, 0.2);

  /* Text */
  --text-primary:  #f0ece4;
  --text-secondary:#8a8278;
  --text-muted:    #6d6761;

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  8rem;
  --space-2xl: 12rem;

  /* Layout */
  --max-width:  1160px;
  --nav-height: 76px;

  /* Motion */
  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.4, 0, 1, 1);
  --transition:  0.4s var(--ease);
  --transition-fast: 0.25s var(--ease);
}


/* ============================================================
   2. RESET & BASE
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video  { display: block; max-width: 100%; }
a           { color: inherit; text-decoration: none; }
ul, ol      { list-style: none; }
button      { cursor: pointer; border: none; background: none; font-family: inherit; }

::selection {
  background: var(--gold);
  color: var(--bg-primary);
}


/* ============================================================
   3. SCROLLBAR
============================================================ */
::-webkit-scrollbar         { width: 3px; }
::-webkit-scrollbar-track   { background: var(--bg-primary); }
::-webkit-scrollbar-thumb   { background: var(--gold); border-radius: 2px; }


/* ============================================================
   4. TYPOGRAPHY
============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 5.5rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }

p {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 58ch;
}

/* Overline label */
.label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
}

/* Gold accent text */
.text-gold { color: var(--gold); }


/* ============================================================
   5. LAYOUT CONTAINER
============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}


/* ============================================================
   6. BUTTONS & UI COMPONENTS
============================================================ */

/* Base button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.9rem 2rem;
  border-radius: 2px;
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

/* Primary — gold filled */
.btn-primary {
  background: var(--gold);
  color: var(--bg-primary);
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--gold-glow);
}

/* Ghost — transparent with gold border */
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-mid);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* Arrow icon — animated on hover */
.btn-arrow { transition: transform var(--transition-fast); }
.btn:hover .btn-arrow { transform: translateX(5px); }

/* Thin gold horizontal rule */
.gold-rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

/* Section label row */
.section-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
  flex-shrink: 0;
}


/* ============================================================
   7. NAVIGATION
============================================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

#nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  border-bottom-color: var(--border);
}

#nav.scrolled::before {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: -1;
}

#nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo image */
.nav-logo img {
  height: 150px;
  width: auto;
  transition: opacity var(--transition-fast);
  opacity: 0.9;
}

.nav-logo:hover img { opacity: 1; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition-fast);
}

.nav-links a:hover              { color: var(--text-primary); }
.nav-links a:hover::after       { width: 100%; }

/* Nav CTA */
.nav-cta {
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  color: var(--bg-primary) !important;
  background: var(--gold);
  padding: 0.45rem 1.2rem;
  border-radius: 2px;
  letter-spacing: 0.08em !important;
  transition: background var(--transition-fast), transform var(--transition-fast) !important;
}

.nav-cta::after  { display: none !important; }
.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--bg-primary) !important;
  transform: translateY(-1px);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 10000;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 22px; height: 1px;
  background: var(--text-primary);
  transition: var(--transition-fast);
}


/* ============================================================
   8. HERO SECTION — Full-screen centered layout
   Canvas background fills the entire viewport.
   Content is centered both vertically and horizontally.
   Stats bar is pinned to the bottom edge.
============================================================ */

#hero {
  position: relative;
  height: 100vh;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* Canvas — fills full section behind everything */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

/* Gradient overlay — ensures text is always readable */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.85) 100%);
  z-index: 1;
}
/* Logo image */
.hero-logo img {
  height: 250px;
  width: auto;
  transition: opacity var(--transition-fast);
  opacity: 0.7;
  margin-bottom: -80px;
}

/* ── Centered text block ── */
.hero-center {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0 var(--space-md);
  /* leave room for stats bar at bottom */
  margin-bottom: 80px;
}

/* Overline row — line · label · line */
.hero-overline {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 0.1s forwards;
}

.hero-overline-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
  flex-shrink: 0;
}

/* Main headline */
.hero-title {
  font-size: clamp(3.2rem, 7vw, 7rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.85s var(--ease) 0.25s forwards;
}

.hero-title-accent {
  display: block;
  color: var(--gold);
}

/* Sub-headline */
.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 44ch;
  text-align: center;
  margin: 0 auto 2rem;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.85s var(--ease) 0.4s forwards;
}

/* CTA buttons */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.85s var(--ease) 0.55s forwards;
}

/* ── Stats bar — pinned to bottom of hero ── */
.hero-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: stretch;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  animation: fadeIn 1s var(--ease) 0.8s forwards;
}

.hero-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem var(--space-sm);
  gap: 0.25rem;
  transition: background var(--transition-fast);
}

.hero-stat:hover {
  background: rgba(200, 169, 110, 0.05);
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-stat-num sup {
  font-size: 1.5rem;
  color: var(--gold);
  vertical-align: super;
}

.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* Thin vertical dividers between stats */
.hero-stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.06);
  align-self: stretch;
  margin: 0.75rem 0;
}

/* Scroll cue — bottom right corner */
.hero-scroll {
  position: absolute;
  right: var(--space-md);
  bottom: 90px; /* sits just above the stats bar */
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 1.2s forwards;
}

.hero-scroll-text {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}


/* ============================================================
   9. BEATS SECTION — BEATSTARS EMBED
============================================================ */
#beats {
  background: var(--bg-secondary);
  padding: var(--space-md) 0;
  border-top: 1px solid var(--border);
}

.beats-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

/* Embed wrapper */
.beats-embed-wrap {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

/* Gold corner accents */
.beats-embed-wrap::before,
.beats-embed-wrap::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  z-index: 2;
  pointer-events: none;
}

.beats-embed-wrap::before {
  top: 0; left: 0;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
  opacity: 0.5;
}

.beats-embed-wrap::after {
  bottom: 0; right: 0;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  opacity: 0.5;
}

/* Placeholder */
.beats-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  text-align: center;
  padding: var(--space-xl);
  gap: var(--space-sm);
}

.beats-placeholder p {
  margin: 0 auto;
  text-align: center;
  max-width: 36ch;
}

/* BeatStars iframe */
.beats-embed-wrap iframe {
  width: 100%;
  min-height: 600px;
  border: none;
  display: block;
}


/* ============================================================
   10. SERVICES SECTION
============================================================ */
#services {
  background: var(--bg-primary);
  padding: var(--space-md) 0;
  border-top: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: var(--space-md);
}

.service-card {
  background: var(--bg-card);
  padding: var(--space-lg) var(--space-md);
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}

/* Gold top line reveal */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.service-card:hover                 { background: var(--bg-elevated); }
.service-card:hover::before         { transform: scaleX(1); }

.service-inner { position: relative; z-index: 1; }

.service-index {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  opacity: 0.5;
  display: block;
  margin-bottom: var(--space-md);
}

.service-card h3 {
  font-weight: 700;
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}

.service-card:hover h3 { color: var(--gold); }

.service-card p {
  font-size: 0.875rem;
  max-width: 100%;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-top: var(--space-md);
  opacity: 0;
  transition: opacity var(--transition), gap var(--transition);
}

.service-card:hover .service-cta  { opacity: 1; }
.service-cta:hover                { gap: 0.65rem; }


/* ============================================================
   11. CONTACT SECTION
============================================================ */
#contact {
  background: var(--bg-secondary);
  padding: var(--space-md) 0;
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-xl);
  align-items: start;
  margin-top: var(--space-lg);
}

.contact-info p {
  margin-top: var(--space-sm);
  margin-bottom: var(--space-lg);
}

/* Contact link list */
.contact-links {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 1rem var(--space-sm);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition-fast);
}

.contact-link-item:last-child { border-bottom: none; }

.contact-link-item:hover {
  background: var(--gold-dim);
}

.contact-link-item:hover .label { opacity: 1; }

.contact-link-val {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.contact-link-item:hover .contact-link-val { color: var(--text-primary); }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.required-mark {
  color: #ff6b6b;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  padding: 0.8rem 1rem;
  border-radius: 2px;
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast);
  resize: vertical;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  background: var(--bg-elevated);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.form-group select option { background: var(--bg-card); color: var(--text-primary); }
.form-group textarea      { min-height: 130px; }

.form-group.is-invalid label,
.form-group.is-invalid .required-mark {
  color: #ff6b6b;
}

.form-group.is-invalid input,
.form-group.is-invalid textarea,
.form-group.is-invalid select {
  border-color: rgba(255, 107, 107, 0.9);
  background: rgba(74, 19, 19, 0.45);
}

.form-validation-message {
  font-size: 0.82rem;
  color: #ff6b6b;
  margin-top: -0.15rem;
}

.contact-form .btn[aria-disabled="true"],
.contact-form .btn:disabled {
  opacity: 0.45;
  filter: saturate(0.4);
  cursor: not-allowed;
  box-shadow: none;
}

.contact-form .btn[aria-disabled="true"]:hover,
.contact-form .btn:disabled:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-primary);
  transform: none;
  box-shadow: none;
}


/* ============================================================
   12. FOOTER
============================================================ */
#footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
}

/* Footer logo */
.footer-logo img {
  height: 200px;
  width: auto;
  opacity: 0.85;
  transition: opacity var(--transition-fast);
  margin-top: -80px;
  margin-bottom: -80px;
}

.footer-logo:hover img { opacity: 1; }

.footer-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  letter-spacing: 0.04em;
}

.footer-nav {
  display: flex;
  gap: var(--space-xl);
}

.footer-nav-col h4 {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
  opacity: 0.8;
}

.footer-nav-col ul  { display: flex; flex-direction: column; gap: 0.55rem; }

.footer-nav-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-nav-col a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-align: center;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  letter-spacing: 0.04em;
}

.footer-social a:hover { color: var(--gold); }


/* ============================================================
   13. TRUST BAR — Below BeatStars embed
============================================================ */
#trust-bar {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-sm) 0;
}

.trust-signals {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: var(--space-sm);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem var(--space-md);
}

.trust-icon {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
  opacity: 0.85;
}

.trust-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.trust-title {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.trust-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: var(--border-mid);
  flex-shrink: 0;
}

/* Payment logos row */
.trust-payments {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
}

.trust-pay-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 0.5rem;
}

.trust-pay-logos {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pay-logo {
  width: 52px;
  height: 34px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-mid);
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.pay-logo:hover { opacity: 1; }

.pay-logo svg {
  width: 100%;
  height: 100%;
  display: block;
}


/* ============================================================
   14. LICENSING SECTION
============================================================ */
#licensing {
  background: var(--bg-secondary);
  padding: var(--space-md) 0;
  border-top: 1px solid var(--border);
}

/* Add Licenses to nav — handled in HTML */

/* 3-column grid for lease tiers */
.license-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 1px; /* seamless join with exclusive card below */
}

/* ── License card base ── */
.license-card {
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}

.license-card:hover { background: var(--bg-elevated); }

/* Gold top line on hover */
.license-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
  z-index: 1;
}

.license-card:hover::before { transform: scaleX(1); }

/* Featured card (Professional) */
.license-card--featured {
  background: var(--bg-elevated);
}

.license-card--featured::before {
  transform: scaleX(1); /* always visible on featured */
  opacity: 0.6;
}

/* Featured badge */
.license-featured-badge {
  position: absolute;
  top: 0; right: 0;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: var(--gold);
  padding: 0.3rem 0.75rem;
  z-index: 2;
}

/* ── Front view ── */
.license-front {
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
}

.license-tier-label {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
  margin-bottom: var(--space-sm);
}

.license-price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.license-format {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

/* Rights list */
.license-rights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: var(--space-lg);
  flex: 1;
}

.license-rights li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.license-rights li::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Check — gold */
.right-yes {
  color: var(--text-secondary);
}

.right-yes::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='7' cy='7' r='7' fill='rgba(200,169,110,0.12)'/%3E%3Cpath d='M4 7l2 2 4-4' stroke='%23c8a96e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}

/* Cross — muted */
.right-no {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--text-muted);
  opacity: 0.5;
}

.right-no::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='7' cy='7' r='7' fill='rgba(74,70,66,0.15)'/%3E%3Cpath d='M5 5l4 4M9 5l-4 4' stroke='%234a4642' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
}

/* Learn More button */
.license-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold);
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: gap var(--transition-fast), opacity var(--transition-fast);
  align-self: flex-start;
}

.license-more-btn:hover { opacity: 0.75; gap: 0.75rem; }

.license-arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
  font-size: 0.85rem;
}

.license-more-btn[aria-expanded="true"] .license-arrow {
  transform: rotate(180deg);
}

/* Gold variant for exclusive */
.license-more-btn--gold {
  border: 1px solid rgba(200, 169, 110, 0.35);
  padding: 0.7rem 1.4rem;
  border-radius: 2px;
  margin-top: var(--space-md);
}

.license-more-btn--gold:hover {
  background: var(--gold-dim);
  opacity: 1;
  gap: 0.75rem;
}

/* ── Detail view ── */
.license-detail {
  padding: var(--space-lg) var(--space-md);
  position: relative;
  animation: fadeUp 0.35s var(--ease) forwards;
}

.license-close-btn {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--transition-fast);
  line-height: 1;
  padding: 0.25rem;
}

.license-close-btn:hover { color: var(--text-primary); }

.license-detail-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

/* Two-column layout for exclusive detail */
.license-detail-body--cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.license-detail-group h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.license-detail-group p {
  font-size: 0.82rem;
  max-width: 100%;
  line-height: 1.7;
}

.license-detail-note {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: var(--space-md);
  line-height: 1.7;
}

/* ── Exclusive card — full width ── */
.license-card--exclusive {
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.license-card--exclusive::before {
  background: linear-gradient(to right, var(--gold), rgba(200, 169, 110, 0.3));
}

.license-card--exclusive:hover { background: var(--bg-elevated); }

.license-front--exclusive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  padding: var(--space-lg) var(--space-md);
}

.license-exclusive-desc {
  margin-top: var(--space-sm);
  font-size: 0.88rem;
  max-width: 46ch;
  line-height: 1.7;
}

.license-rights--horizontal {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}


/* ============================================================
   15. SCROLL REVEAL
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible        { opacity: 1; transform: translateY(0); }
.reveal-delay-1        { transition-delay: 0.1s; }
.reveal-delay-2        { transition-delay: 0.22s; }
.reveal-delay-3        { transition-delay: 0.34s; }


/* ============================================================
   14. KEYFRAME ANIMATIONS
============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleX(1);    transform-origin: left; }
  50%       { opacity: 1;   transform: scaleX(1.12); transform-origin: left; }
}


/* ============================================================
   15. RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  #hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100vh;
  }

  .hero-left {
    padding: calc(var(--nav-height) + var(--space-md)) var(--space-md) var(--space-md);
  }

  .hero-right {
    height: 40vw;
    min-height: 220px;
  }

  .hero-scroll { left: var(--space-md); }

  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .contact-grid   { grid-template-columns: 1fr; }
  .footer-nav     { gap: var(--space-lg); }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 5rem;
    --space-lg: 3rem;
  }

 /* Full-screen mobile nav overlay */
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    z-index: 9999;
    transform: translateZ(0);
  }

  .nav-links.open  { display: flex; }
  .nav-links a     { font-size: 1rem; letter-spacing: 0.06em; }
  .nav-toggle      { display: flex; z-index: 10001; position: relative; }

  .nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .services-grid  { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .footer-top     { flex-direction: column; }
  .footer-nav     { flex-wrap: wrap; gap: var(--space-md); }
  .footer-bottom  { flex-direction: column; text-align: center; }
  .beats-header   { flex-direction: column; align-items: flex-start; }
  .hero-stats-bar { flex-wrap: wrap; }
  .hero-stat      { min-width: 50%; border-top: 1px solid rgba(255,255,255,0.05); }
  .hero-stat-divider { display: none; }
  .hero-title     { font-size: clamp(2.4rem, 10vw, 4rem); }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

/* ── Additional responsive rules for trust bar + licensing ── */
@media (max-width: 1024px) {
  .license-grid               { grid-template-columns: repeat(2, 1fr); }
  .license-front--exclusive   { grid-template-columns: 1fr; gap: var(--space-md); }
  .license-detail-body--cols  { grid-template-columns: repeat(2, 1fr); }
  .license-rights--horizontal { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .license-grid               { grid-template-columns: 1fr; }
  .license-detail-body--cols  { grid-template-columns: 1fr; }
  .trust-signals              { flex-direction: column; }
  .trust-divider              { width: 100%; height: 1px; }
  .trust-item                 { justify-content: center; }
}

@media (max-width: 480px) {
  .trust-payments { flex-direction: column; gap: var(--space-sm); }
}

/* ============================================================
   PROMO BANNER
   Sits immediately below the fixed nav bar.
   Toggle: set data-active="false" on #promo-banner to hide it.
   Hero padding-top adjusts automatically via JS.
============================================================ */
#promo-banner {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  z-index: 990;
  background: var(--gold);
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

#promo-banner[data-active="false"] {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  height: 0;
}

.promo-banner-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.promo-banner-text {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--bg-primary);
  margin: 0;
  max-width: none;
  text-align: center;
}

.promo-banner-text strong {
  font-weight: 600;
}

.promo-banner-cta {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg-primary);
  border-bottom: 1px solid rgba(10,10,10,0.35);
  transition: opacity var(--transition-fast);
  white-space: nowrap;
}

.promo-banner-cta:hover { opacity: 0.65; }

.promo-banner-icon {
  font-size: 0.55rem;
  color: rgba(10,10,10,0.4);
}

/* Push hero down when banner is active */
body.promo-active #hero {
  padding-top: calc(var(--nav-height) + 36px);
}


/* ============================================================
   BUY 2 GET 1 FREE — Bulk deal block
   Sits above the BeatStars embed.
============================================================ */
.bulk-deal {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-lg);
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 2px solid var(--gold);
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-md);
}

.bulk-deal-left {
  min-width: 180px;
}

.bulk-deal-left .label {
  display: block;
  margin-bottom: 0.4rem;
}

.bulk-deal-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--text-primary);
  margin: 0.25rem 0 0.2rem;
}

.bulk-deal-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin: 0;
  max-width: none;
}

.bulk-deal-steps {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.bulk-step {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.bulk-step-num {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  opacity: 0.7;
}

.bulk-step p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 0;
  max-width: 100%;
  line-height: 1.5;
}

.bulk-step p strong { color: var(--text-primary); }

.bulk-step-arrow {
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-shrink: 0;
  opacity: 0.4;
}

@media (max-width: 768px) {
  .bulk-deal {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: var(--space-md);
  }
  .bulk-deal-steps { gap: var(--space-xs); }
  .bulk-step-arrow { display: none; }
}


/* ============================================================
   ABOUT SECTION
============================================================ */
#about {
  background: var(--bg-secondary);
  padding: var(--space-xl) 0 0;
  border-top: 1px solid var(--border);
}

/* Bio grid: photo left, text right */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin-bottom: var(--space-xl);
}

/* Photo wrap */
.about-photo-wrap {
  position: relative;
  aspect-ratio: 3/4;
}

.about-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder shown when no img */
.about-photo-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-muted);
}

.about-photo-placeholder svg {
  width: 56px;
  height: 56px;
  opacity: 0.3;
}

.about-photo-placeholder span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.4;
}

/* Gold corner accents */
.about-corner {
  position: absolute;
  width: 20px;
  height: 20px;
}

.about-corner--tl {
  top: -8px; left: -8px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
  opacity: 0.5;
}

.about-corner--br {
  bottom: -8px; right: -8px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  opacity: 0.5;
}

/* Bio text */
.about-name {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.about-text {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-secondary);
  max-width: 52ch;
}

/* Genre / skill tags */
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-md);
}

.about-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-mid);
  padding: 0.3rem 0.65rem;
  border-radius: 2px;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.about-tag:hover {
  border-color: var(--gold);
  color: var(--gold);
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 200px 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 640px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .about-photo-wrap {
    max-width: 240px;
    margin: 0 auto;
  }
}


/* ============================================================
   CREDITS CAROUSEL
   Infinite auto-scroll left → right.
   JS duplicates the track for seamless loop.
   Pause on hover.
============================================================ */
.credits-carousel {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  padding: var(--space-md) 0;
  background: var(--bg-primary);
}

.credits-carousel-inner {
  position: relative;
  width: 100%;
}

.credits-track {
  display: flex;
  align-items: stretch;
  gap: 1px;
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
}

/* Pause on hover */
.credits-carousel:hover .credits-track {
  animation-play-state: paused;
}

/* Individual credit card */
.credit-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1.5rem;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  min-width: 260px;
  transition: background var(--transition-fast);
  flex-shrink: 0;
}

.credit-item:hover { background: var(--bg-elevated); }

/* Cover art */
.credit-cover {
  width: 52px;
  height: 52px;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.credit-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.credit-cover-placeholder {
  font-size: 1.2rem;
  opacity: 0.25;
  color: var(--text-primary);
}

/* Text info */
.credit-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.credit-artist {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.credit-release {
  font-size: 0.75rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.credit-type {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
  white-space: nowrap;
}

/* Edge fade overlays */
.credits-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  pointer-events: none;
  z-index: 2;
}

.credits-fade--left {
  left: 0;
  background: linear-gradient(to right, var(--bg-secondary), transparent);
}

.credits-fade--right {
  right: 0;
  background: linear-gradient(to left, var(--bg-secondary), transparent);
}

/* Scroll animation — applied by JS */
@keyframes creditsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Credits carousel — navigation arrows */
.credits-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-mid);
  color: var(--gold);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  user-select: none;
  -webkit-user-select: none;
}

.credits-arrow:hover {
  background: var(--gold);
  color: var(--bg-primary);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.1);
}
.credits-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.credits-arrow--left  { left: 12px; }
.credits-arrow--right { right: 12px; }

/* Contact form toast notification */
#form-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-elevated);
  border: 1px solid var(--border-mid);
  border-left: 2px solid var(--gold);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  padding: 0.85rem 1.5rem;
  border-radius: 2px;
  z-index: 8000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  white-space: nowrap;
}

#form-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

#form-toast.error {
  border-left-color: #e05a5a;
}

#debug-build-badge {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 9000;
  background: rgba(10, 10, 10, 0.92);
  border: 1px solid rgba(200, 169, 110, 0.45);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  padding: 0.45rem 0.65rem;
  border-radius: 2px;
  pointer-events: none;
}

/* ============================================================
   DC BEATS — Mixing & Mastering Page Stylesheet
   File: pages/mixing.css
   Depends on: ../css/style.css (CSS variables, base styles)
============================================================ */


/* ── PAGE HERO ────────────────────────────────────────────── */
.mx-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
  background: var(--bg-primary);
}

/* Animated waveform bars background */
.mx-hero-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0;
  gap: 3px;
  overflow: hidden;
}

.mx-wave-bars {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
  width: 100%;
  justify-content: center;
  padding: 0 2rem;
}

.mx-wave-bars span {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--gold);
  opacity: 0.06;
  animation: waveBar 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* Stagger each bar's animation */
.mx-wave-bars span:nth-child(1)  { height: 30%; animation-delay: 0.0s; }
.mx-wave-bars span:nth-child(2)  { height: 55%; animation-delay: 0.1s; }
.mx-wave-bars span:nth-child(3)  { height: 80%; animation-delay: 0.05s; }
.mx-wave-bars span:nth-child(4)  { height: 45%; animation-delay: 0.2s; }
.mx-wave-bars span:nth-child(5)  { height: 70%; animation-delay: 0.15s; }
.mx-wave-bars span:nth-child(6)  { height: 35%; animation-delay: 0.3s; }
.mx-wave-bars span:nth-child(7)  { height: 90%; animation-delay: 0.08s; }
.mx-wave-bars span:nth-child(8)  { height: 60%; animation-delay: 0.25s; }
.mx-wave-bars span:nth-child(9)  { height: 40%; animation-delay: 0.18s; }
.mx-wave-bars span:nth-child(10) { height: 75%; animation-delay: 0.35s; }
.mx-wave-bars span:nth-child(11) { height: 50%; animation-delay: 0.12s; }
.mx-wave-bars span:nth-child(12) { height: 85%; animation-delay: 0.4s; }
.mx-wave-bars span:nth-child(13) { height: 65%; animation-delay: 0.22s; }
.mx-wave-bars span:nth-child(14) { height: 30%; animation-delay: 0.06s; }
.mx-wave-bars span:nth-child(15) { height: 95%; animation-delay: 0.28s; }
.mx-wave-bars span:nth-child(16) { height: 55%; animation-delay: 0.16s; }
.mx-wave-bars span:nth-child(17) { height: 70%; animation-delay: 0.38s; }
.mx-wave-bars span:nth-child(18) { height: 40%; animation-delay: 0.04s; }
.mx-wave-bars span:nth-child(19) { height: 80%; animation-delay: 0.32s; }
.mx-wave-bars span:nth-child(20) { height: 50%; animation-delay: 0.14s; }
.mx-wave-bars span:nth-child(21) { height: 65%; animation-delay: 0.24s; }
.mx-wave-bars span:nth-child(22) { height: 35%; animation-delay: 0.42s; }
.mx-wave-bars span:nth-child(23) { height: 75%; animation-delay: 0.09s; }
.mx-wave-bars span:nth-child(24) { height: 55%; animation-delay: 0.36s; }
.mx-wave-bars span:nth-child(25) { height: 45%; animation-delay: 0.19s; }
.mx-wave-bars span:nth-child(26) { height: 85%; animation-delay: 0.44s; }
.mx-wave-bars span:nth-child(27) { height: 60%; animation-delay: 0.07s; }
.mx-wave-bars span:nth-child(28) { height: 40%; animation-delay: 0.29s; }
.mx-wave-bars span:nth-child(29) { height: 70%; animation-delay: 0.11s; }
.mx-wave-bars span:nth-child(30) { height: 50%; animation-delay: 0.41s; }

@keyframes waveBar {
  0%, 100% { transform: scaleY(1);    opacity: 0.06; }
  50%       { transform: scaleY(1.6); opacity: 0.12; }
}

/* Gradient overlay on hero */
.mx-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,10,10,0.97) 0%,
    rgba(10,10,10,0.85) 50%,
    rgba(10,10,10,0.6)  100%
  );
}

.mx-hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.mx-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.mx-breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.mx-breadcrumb a:hover { color: var(--gold); }
.mx-breadcrumb span   { opacity: 0.4; }
.mx-breadcrumb span:last-child { opacity: 1; color: var(--text-secondary); }

.mx-hero-title {
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.mx-hero-accent { color: var(--gold); }

.mx-hero-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 44ch;
  margin-bottom: var(--space-lg);
  line-height: 1.75;
}


/* ── SERVICES GRID ────────────────────────────────────────── */
.mx-services {
  background: var(--bg-secondary);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border);
}

.mx-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: var(--space-lg);
}

.mx-service-card {
  background: var(--bg-card);
  padding: var(--space-lg) var(--space-md);
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
  display: flex;
  flex-direction: column;
}

/* Gold top line reveal on hover */
.mx-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.mx-service-card:hover               { background: var(--bg-elevated); }
.mx-service-card:hover::before       { transform: scaleX(1); }

.mx-service-num {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  opacity: 0.5;
  display: block;
  margin-bottom: var(--space-md);
}

.mx-service-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0;
}

.mx-service-desc {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 100%;
  margin-bottom: var(--space-md);
}

/* What's included list */
.mx-service-includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: var(--space-lg);
  flex: 1;
}

.mx-service-includes li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.mx-service-includes li::before {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='7' cy='7' r='7' fill='rgba(200,169,110,0.1)'/%3E%3Cpath d='M4 7l2 2 4-4' stroke='%23c8a96e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.mx-service-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gold);
  margin-top: auto;
  transition: gap var(--transition-fast), opacity var(--transition-fast);
}

.mx-service-cta:hover { gap: 0.7rem; opacity: 0.75; }


/* ── BEFORE / AFTER EXAMPLES ─────────────────────────────── */
.mx-examples {
  background: var(--bg-primary);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border);
}

.mx-examples-title {
  margin-bottom: 0.5rem;
}

.mx-examples-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  max-width: 48ch;
}

/* Category block (groups 2 players per service type) */
.mx-category {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
}

.mx-category:last-child { border-bottom: none; margin-bottom: 0; }

.mx-category-label {
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.mx-category-label::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

/* ── A/B Player ── */
.ab-player {
  background: var(--bg-card);
  border: 1px solid var(--border);
  margin-bottom: 1px;
  transition: border-color var(--transition-fast);
}

.ab-player:last-child { margin-bottom: 0; }
.ab-player:hover      { border-color: var(--border-mid); }

.ab-info {
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--border);
}

.ab-track-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ab-track-title {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
}

.ab-track-note {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Controls row */
.ab-controls {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.85rem var(--space-md);
  flex-wrap: wrap;
}

/* Before / After toggle pills */
.ab-toggle {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}

.ab-btn {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  border: none;
  transition: background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.ab-btn--before.active {
  background: var(--bg-elevated);
  color: var(--text-secondary);
}

.ab-btn--after.active {
  background: var(--gold);
  color: var(--bg-primary);
  font-weight: 600;
}

/* Play/Pause button */
.ab-play {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.ab-play:hover {
  background: var(--gold-light);
  transform: scale(1.08);
}

.ab-play svg { width: 18px; height: 18px; }

/* Progress bar */
.ab-progress-wrap {
  flex: 1;
  min-width: 120px;
}

.ab-progress-bar {
  height: 3px;
  background: var(--border-mid);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 0.35rem;
}

.ab-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.1s linear;
}

.ab-times {
  display: flex;
  justify-content: space-between;
}

.ab-times span {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* Active label */
.ab-active-label {
  flex-shrink: 0;
}

.ab-active-text {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 2px;
}

.ab-active-text.is-after {
  color: var(--gold);
  border-color: rgba(200,169,110,0.3);
}


/* ── PROCESS ──────────────────────────────────────────────── */
.mx-process {
  background: var(--bg-secondary);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border);
}

.mx-process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: var(--space-lg);
}

.mx-process-step {
  flex: 1;
  padding: var(--space-md);
}

.mx-process-num {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  opacity: 0.6;
  display: block;
  margin-bottom: var(--space-sm);
}

.mx-process-step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.mx-process-step p {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 100%;
}

.mx-process-connector {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0.25;
  align-self: center;
  flex-shrink: 0;
  margin-top: -1.5rem;
}


/* ── CONTACT CTA ──────────────────────────────────────────── */
.mx-contact {
  background: var(--bg-primary);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border);
}

.mx-contact-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-xl);
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 2px solid var(--gold);
  padding: var(--space-lg) var(--space-xl);
}

.mx-contact-text h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.mx-contact-text p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.mx-contact-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.mx-contact-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 100%;
}

.mx-contact-note a {
  color: var(--gold);
  transition: opacity var(--transition-fast);
}

.mx-contact-note a:hover { opacity: 0.75; }


/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .mx-services-grid  { grid-template-columns: 1fr; }
  .mx-contact-inner  { grid-template-columns: 1fr; gap: var(--space-lg); padding: var(--space-md) var(--space-lg); }
}

@media (max-width: 768px) {
  .mx-process-steps  { flex-direction: column; }
  .mx-process-connector { width: 40px; height: 1px; align-self: flex-start; margin: 0 0 0 var(--space-md); }
  .ab-controls       { gap: var(--space-xs); }
  .ab-progress-wrap  { min-width: 80px; order: 5; flex-basis: 100%; }
  .ab-active-label   { order: 6; }
}
