  :root {
    --ink: #ffffff;
    --paper: #0a0a0a;
    --accent: #ff3d00;
    --grey: #8f8f8f;
    --line: #222222;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Archivo', system-ui, sans-serif;
    background: var(--paper);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  /* ---------- NAV ---------- */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 32px;
    background: rgba(10,10,10,.82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .logo {
    font-weight: 900;
    font-size: 15px;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
  }
  .logo span { color: var(--accent); }
  .nav-links { display: flex; gap: 28px; list-style: none; }
  .nav-links a {
    text-decoration: none;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: color .15s ease;
  }
  .nav-links a:hover { color: var(--accent); }

  /* ---------- HERO ---------- */
  .hero {
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 32px 60px;
    position: relative;
  }
  .hero-kicker {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 20px;
    padding-left: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .hero-kicker::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--accent);
    display: inline-block;
  }
  .hero h1 {
    font-weight: 900;
    text-transform: uppercase;
    line-height: .88;
    letter-spacing: -.02em;
    font-size: clamp(56px, 12.5vw, 176px);
  }
  .hero h1 .outline {
    color: transparent;
    -webkit-text-stroke: 2px var(--ink);
    display: block;
  }
  .hero h1 .solid { display: block; }
  .hero h1 .solid em {
    font-style: italic;
    color: var(--accent);
  }
  .hero-sub {
    margin-top: 36px;
    max-width: 440px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--grey);
    padding-left: 8px;
  }
  /* ---------- WAVEFORM ---------- */
  .wave {
    margin-top: 56px;
    padding-left: 8px;
    height: 110px;
    display: flex;
    align-items: flex-end;
    gap: 5px;
    max-width: 880px;
    cursor: crosshair;
  }
  .wave i {
    width: 3px;
    height: 20%;
    background: var(--ink);
    border-radius: 2px;
    transition: none;
    will-change: height;
  }
  @media (max-width: 640px) {
    .wave { height: 72px; gap: 3px; }
    .wave i { width: 2px; }
  }

  .cta-row {
    margin-top: 44px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding-left: 8px;
  }
  .btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 18px 38px;
    border-radius: 999px;
    transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s ease, background .18s ease, color .18s ease;
  }
  .btn-primary {
    background: var(--ink);
    color: var(--paper);
  }
  .btn-primary:hover {
    background: var(--accent);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 30px -10px rgba(255,61,0,.45);
  }
  .btn-ghost {
    border: 2px solid var(--ink);
    color: var(--ink);
  }
  .btn-ghost:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 30px -14px rgba(255,255,255,.18);
  }

  /* ---------- MARQUEE ---------- */
  .marquee-wrap {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    white-space: nowrap;
    padding: 20px 0;
    background: var(--paper);
  }
  .marquee {
    display: inline-block;
    animation: scroll 22s linear infinite;
  }
  .marquee span {
    font-weight: 900;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-right: 48px;
  }
  .marquee .dot { color: var(--accent); }
  @keyframes scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  /* ---------- STATS ---------- */
  .stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 90px 32px;
    gap: 24px;
  }
  .stat {
    border-left: 2px solid var(--ink);
    padding-left: 22px;
  }
  .stat b {
    display: block;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 10px;
  }
  .stat b i { color: var(--accent); font-style: normal; }
  .stat small {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--grey);
  }

  /* ---------- FOOTER ---------- */
  footer {
    border-top: 1px solid var(--line);
    padding: 42px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
  }
  footer p { font-size: 13px; color: var(--grey); }
  footer a { color: var(--ink); font-weight: 700; text-decoration: none; }
  footer a:hover { color: var(--accent); }

  /* ---------- FADE IN ---------- */
  .fade { opacity: 0; transform: translateY(24px); animation: fadeUp .8s cubic-bezier(.22,1,.36,1) forwards; }
  .fade.d1 { animation-delay: .05s } .fade.d2 { animation-delay: .18s }
  .fade.d3 { animation-delay: .31s } .fade.d4 { animation-delay: .46s }
  @keyframes fadeUp { to { opacity: 1; transform: none; } }

  @media (max-width: 640px) {
    nav { padding: 14px 20px; }
    .nav-links { gap: 16px; }
    .nav-links a { font-size: 11px; }
    .hero { padding: 110px 20px 50px; }
  }

/* ---------- PAGE (inner pages) ---------- */
.page {
  padding: 150px 32px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.page-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-kicker::before {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--accent);
  display: inline-block;
}
.page h1 {
  font-weight: 900;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -.02em;
  font-size: clamp(48px, 9vw, 110px);
}
.page h1 em {
  font-style: italic;
  color: var(--accent);
}
.page-sub {
  margin-top: 22px;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--grey);
}

.nav-links a.active { color: var(--accent); }

/* ---------- BLOG ---------- */
.posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.post {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  background: var(--paper);
  transition: transform .2s cubic-bezier(.34,1.4,.64,1), box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.post::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.post:hover {
  transform: translateY(-5px);
  border-color: var(--ink);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.6);
}
.post:hover::before { transform: scaleX(1); }
.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--grey);
}
.post-meta .tag {
  color: var(--accent);
}
.post h3 {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.01em;
}
.post p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--grey);
}
.post .read {
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.post:hover .read { color: var(--accent); }
  .logo img { height: 20px; width: auto; display: block; }

/* ---------- BEAT STORE ---------- */
.beats-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.beat {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--paper);
  transition: transform .2s cubic-bezier(.34,1.4,.64,1), border-color .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.beat:hover {
  transform: translateY(-5px);
  border-color: var(--ink);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.6);
}
.beat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.beat-top .genre {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}
.beat-top .price {
  font-size: 15px;
  font-weight: 900;
  color: var(--ink);
}
.beat h3 {
  font-size: 23px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.beat-meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--grey);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.btn-accent {
  background: var(--accent);
  color: #ffffff;
}
.btn-accent:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px -10px rgba(255,61,0,.5);
}
.btn-sm {
  padding: 13px 28px;
  font-size: 12px;
}
.beat .btn { margin-top: auto; align-self: flex-start; }
.store-msg {
  color: var(--grey);
  font-size: 15px;
  padding: 30px 0;
}

/* ---------- BEAT LIST (thin tiles) ---------- */
.beat-list {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
}
.beat-row {
  display: grid;
  grid-template-columns: 48px 1fr auto 30px;
  align-items: center;
  gap: 18px;
  padding: 21px 10px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: background .15s ease, padding-left .2s ease;
}
.beat-row:first-child { border-top: 1px solid var(--line); }
.beat-row:hover {
  background: #111111;
  padding-left: 20px;
}
.row-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--grey);
}
.row-title {
  font-size: clamp(15px, 2.3vw, 21px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: 1.25;
  transition: color .15s ease;
}
.beat-row:hover .row-title { color: var(--accent); }
.row-price {
  font-size: 14px;
  font-weight: 900;
  color: var(--grey);
  white-space: nowrap;
}
.beat-row:hover .row-price { color: var(--ink); }
.row-arrow {
  font-size: 18px;
  color: var(--grey);
  transition: transform .2s ease, color .15s ease;
}
.beat-row:hover .row-arrow { transform: translateX(5px); color: var(--accent); }

/* ---------- BEAT DETAIL PAGE ---------- */
.back-link {
  display: inline-block;
  margin-bottom: 40px;
  color: var(--grey);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.back-link:hover { color: var(--accent); }
.beat-hero {
  display: grid;
  grid-template-columns: minmax(240px, 400px) 1fr;
  gap: 48px;
  align-items: start;
}
.beat-cover {
  width: 100%;
  display: block;
  border-radius: 18px;
  border: 1px solid var(--line);
}
#beat-title {
  font-weight: 900;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: -.02em;
  font-size: clamp(34px, 6vw, 72px);
}
#beat-title em { font-style: italic; color: var(--accent); }
#beat-price {
  margin-top: 16px;
  font-size: 22px;
  font-weight: 900;
  color: var(--grey);
}

/* ---------- PLAYER ---------- */
.player {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 520px;
}
.pp-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 19px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s cubic-bezier(.34,1.56,.64,1), box-shadow .15s ease;
}
.pp-btn:hover {
  transform: scale(1.07);
  box-shadow: 0 10px 26px -8px rgba(255,61,0,.55);
}
.track {
  position: relative;
  flex: 1;
  height: 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.track::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 4px;
  background: var(--line);
  border-radius: 4px;
}
.track-fill {
  position: absolute;
  left: 0;
  height: 4px;
  width: 0%;
  background: var(--ink);
  border-radius: 4px;
}
.time {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--grey);
  min-width: 74px;
  text-align: right;
  letter-spacing: .04em;
}
.no-preview {
  margin-top: 34px;
  font-size: 14px;
  color: var(--grey);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
}
.lic-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--grey);
  line-height: 1.6;
  max-width: 420px;
}
.buy-area { margin-top: 38px; }
@media (max-width: 760px) {
  .beat-hero { grid-template-columns: 1fr; gap: 30px; }
  .row-num, .row-arrow { display: none; }
  .beat-row { grid-template-columns: 1fr auto; }
}
