:root {
  --bg: #0b0b0a;
  --bg-soft: #131310;
  --paper: #f0eee8;
  --muted: rgba(240, 238, 232, 0.68);
  --line: rgba(240, 238, 232, 0.16);
  --accent: #c2ae83;
  --accent-deep: #96815b;
  --ink: #151511;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.section-shell {
  width: min(var(--max), 90vw);
  margin-inline: auto;
}

.eyebrow,
.section-label {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 940px;
  font-size: clamp(3.35rem, 8vw, 7.9rem);
  line-height: 0.99;
}

h2 {
  font-size: clamp(2.45rem, 5vw, 5.2rem);
  line-height: 1.04;
}

em {
  color: var(--accent);
  font-weight: 400;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  background: #050505;
  transition: opacity 700ms ease, visibility 700ms ease;
}

.intro.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-video {
  width: min(100vw, 1280px);
  max-height: 100vh;
  object-fit: contain;
}

.intro-logo-fallback {
  position: absolute;
  width: min(700px, 72vw);
  opacity: 0;
  animation: fallbackLogo 1400ms ease both;
}

.intro.video-missing .intro-logo-fallback {
  opacity: 1;
}

@keyframes fallbackLogo {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro-line {
  position: absolute;
  left: 50%;
  bottom: 19%;
  width: min(430px, 64vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: translateX(-50%) scaleX(0);
  animation: introLine 1100ms 650ms ease forwards;
}

@keyframes introLine {
  to {
    transform: translateX(-50%) scaleX(1);
  }
}

.intro-skip {
  position: absolute;
  right: 28px;
  bottom: 25px;
  border: 0;
  background: transparent;
  color: rgba(240, 238, 232, 0.64);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  height: 2px;
  background: rgba(240, 238, 232, 0.04);
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent), var(--paper));
  box-shadow: 0 0 18px rgba(194, 174, 131, 0.55);
}

.cursor-glow {
  position: fixed;
  z-index: 1;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(194, 174, 131, 0.095), transparent 68%);
  transform: translate(-50%, -50%);
  transition: opacity 300ms ease;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 5vw;
  transition: padding 320ms ease, background 320ms ease, border-color 320ms ease;
}

.site-header.is-scrolled {
  padding-top: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(240, 238, 232, 0.1);
  background: rgba(11, 11, 10, 0.82);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 168px;
  transition: width 320ms ease;
}

.site-header.is-scrolled .brand img {
  width: 142px;
}

.site-nav {
  display: flex;
  gap: 34px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav a:hover {
  color: var(--paper);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 152px 5vw 108px;
  border-bottom: 1px solid var(--line);
}

.hero-ambient {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.28;
}

.hero-glow-one {
  width: 420px;
  height: 420px;
  top: 18%;
  right: 14%;
  background: rgba(194, 174, 131, 0.3);
}

.hero-glow-two {
  width: 320px;
  height: 320px;
  left: -7%;
  bottom: -10%;
  background: rgba(92, 82, 60, 0.24);
}

.hero-grid {
  position: absolute;
  inset: -20%;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(240, 238, 232, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 238, 232, 0.035) 1px, transparent 1px);
  background-size: 82px 82px;
  transform: rotate(-8deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.hero-copy {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 23px;
  border: 1px solid transparent;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-4px) scale(1.015);
}

.button-primary {
  background: var(--paper);
  color: var(--ink);
}

.button-secondary {
  border-color: var(--line);
}

.button-light {
  background: var(--ink);
  color: var(--paper);
}

.hero-art {
  position: absolute;
  top: 50%;
  right: -5vw;
  width: min(46vw, 650px);
  aspect-ratio: 1;
  opacity: 0.62;
  transform: translateY(-48%);
}

.orbit {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.orbit-one {
  inset: 2%;
}

.orbit-two {
  inset: 15%;
}

.vinyl {
  position: absolute;
  inset: 24%;
  border: 1px solid rgba(194, 174, 131, 0.4);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(194, 174, 131, 0.08) 0 1px, transparent 2px 13px);
  animation: spin 28s linear infinite;
}

.vinyl-ring {
  position: absolute;
  inset: 23%;
  border: 1px solid rgba(194, 174, 131, 0.38);
  border-radius: 50%;
}

.vinyl-label {
  position: absolute;
  inset: 36%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(194, 174, 131, 0.16);
  color: var(--accent);
  font-family: "Libre Baskerville", serif;
  letter-spacing: 0.18em;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.scroll-cue {
  position: absolute;
  left: 5vw;
  bottom: 31px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 58px;
  height: 1px;
  background: var(--accent);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.stat {
  min-height: 178px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 5vw;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat-number {
  color: var(--paper);
  font-family: "Libre Baskerville", serif;
  font-size: clamp(2.25rem, 4vw, 4.2rem);
  letter-spacing: -0.075em;
}

.stat-number span {
  color: var(--accent);
}

.stat-label {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.about {
  padding-top: 120px;
  padding-bottom: 135px;
}

.about-grid,
.beattape-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
}

.about-heading {
  display: flex;
  flex-direction: column;
}

.about-word {
  display: block;
}

.accent-word {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}

.about-copy,
.beattape-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.88;
}

.about-copy p {
  margin: 0 0 22px;
}

.beattapes {
  padding: 118px 0 125px;
  border-top: 1px solid var(--line);
}

.release-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 70px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.release-point {
  padding: 32px 28px 34px;
  border-right: 1px solid var(--line);
}

.release-point:last-child {
  border-right: 0;
}

.point-number {
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.release-point h3 {
  margin: 45px 0 12px;
  font-family: "Libre Baskerville", serif;
  font-size: 1.28rem;
}

.release-point p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.72;
}

.submit {
  position: relative;
  overflow: hidden;
  background: var(--accent);
  color: var(--ink);
}

.submit-lines {
  position: absolute;
  inset: 0;
}

.submit-lines span {
  position: absolute;
  left: -10%;
  width: 120%;
  height: 1px;
  background: rgba(21, 21, 17, 0.14);
  transform: rotate(-8deg);
}

.submit-lines span:nth-child(1) { top: 18%; }
.submit-lines span:nth-child(2) { top: 38%; }
.submit-lines span:nth-child(3) { top: 58%; }
.submit-lines span:nth-child(4) { top: 78%; }

.submit-inner {
  position: relative;
  z-index: 1;
  padding-top: 115px;
  padding-bottom: 120px;
}

.submit .eyebrow {
  color: rgba(21, 21, 17, 0.62);
}

.submit em {
  color: var(--ink);
  opacity: 0.74;
}

.submit p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(21, 21, 17, 0.73);
  font-size: 1.04rem;
  line-height: 1.8;
}

.submit-guide {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 31px;
}

.submit-guide span {
  padding: 8px 10px;
  border: 1px solid rgba(21, 21, 17, 0.2);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spotify-dock {
  position: fixed;
  right: 22px;
  bottom: 20px;
  z-index: 110;
}

.spotify-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  background: rgba(11, 11, 10, 0.88);
  color: var(--paper);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.spotify-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1ed760;
}

.spotify-panel {
  position: absolute;
  right: 0;
  bottom: 58px;
  width: min(370px, calc(100vw - 28px));
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(11, 11, 10, 0.96);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.spotify-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.spotify-panel-head {
  display: flex;
  justify-content: space-between;
  padding: 2px 3px 10px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.spotify-panel-head button {
  border: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.site-footer {
  padding-top: 70px;
  padding-bottom: 28px;
}

.footer-brand img {
  width: 200px;
}

.footer-brand p,
.footer-links a,
.footer-bottom {
  color: var(--muted);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(170px, 260px));
  gap: 30px;
  margin-top: 60px;
}

.footer-links div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-heading {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 68px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
}

.reveal-item,
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-group.is-visible .reveal-item,
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 760px) {
  .site-header {
    padding: 21px 5vw;
  }

  .brand img {
    width: 145px;
  }

  .menu-toggle {
    display: grid;
    gap: 7px;
    border: 0;
    background: transparent;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 27px;
    height: 1px;
    background: var(--paper);
  }

  .site-nav {
    position: absolute;
    top: 73px;
    left: 5vw;
    right: 5vw;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 23px;
    border: 1px solid var(--line);
    background: rgba(11, 11, 10, 0.96);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: 88vh;
    padding-top: 125px;
  }

  .hero-art {
    width: 88vw;
    right: -27vw;
    opacity: 0.34;
  }

  .stats,
  .about-grid,
  .beattape-intro,
  .release-points {
    grid-template-columns: 1fr;
  }

  .stat,
  .release-point {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .about,
  .beattapes {
    padding-top: 82px;
    padding-bottom: 90px;
  }

  .release-points {
    margin-top: 46px;
  }

  .submit-inner {
    padding-top: 85px;
    padding-bottom: 92px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
  }

  .cursor-glow {
    display: none;
  }
}


/* CLEAN CSS LOGO INTRO */
.intro-logo-clean {
  width: min(560px, 58vw);
  opacity: 0;
  transform: translateY(18px) scale(0.94);
  animation: cleanLogoIntro 1900ms cubic-bezier(.2,.65,.2,1) forwards;
}

@keyframes cleanLogoIntro {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.94);
  }

  38% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.intro-line {
  animation: cleanIntroLine 1150ms 720ms ease forwards;
}

@keyframes cleanIntroLine {
  from {
    transform: translateX(-50%) scaleX(0);
    opacity: 0;
  }

  to {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
  }
}
