:root {
  --bg: #0d0d0f;
  --surface: #141418;
  --surface-2: #1b1b22;
  --text: #ffffff;
  --muted: #9a9aaf;
  --line: rgba(255, 255, 255, 0.12);
  --purple: #7b2fff;
  --blue: #2fa8ff;
  --amber: #ffcf66;
  --gradient: linear-gradient(90deg, var(--purple), var(--blue));
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --max-width: 1160px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

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

body {
  position: relative;
  margin: 0;
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 8%, rgba(123, 47, 255, 0.14), transparent 32rem),
    radial-gradient(circle at 82% 16%, rgba(47, 168, 255, 0.13), transparent 30rem),
    linear-gradient(180deg, #0d0d0f 0%, #101014 48%, #0d0d0f 100%);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 30rem);
  mix-blend-mode: overlay;
  opacity: 0.18;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

button,
input,
textarea {
  font: inherit;
}

::selection {
  background: rgba(47, 168, 255, 0.35);
  color: var(--text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(13, 13, 15, 0.78);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(100% - 32px, var(--max-width));
  height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark,
.footer-logo {
  display: inline-flex;
  align-items: center;
}

.brand-mark {
  height: var(--header-height);
  overflow: visible;
}

.brand-mark img {
  width: 132px;
  height: auto;
  transform: translateY(7px);
  filter: drop-shadow(0 8px 20px rgba(47, 168, 255, 0.22));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a {
  border-radius: 999px;
  padding: 10px 14px;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  height: 2px;
  width: 100%;
  border-radius: 999px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(4) {
  transform: translateY(-8px) rotate(-45deg);
}

.section-shell {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 88px 0;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: start center;
  padding-top: calc(var(--header-height) + 18px);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 10% 2vh;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.72;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 16% 4% 10%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(circle at center, black 8%, transparent 68%);
}

.wave-grid {
  position: absolute;
  inset: 28% 50% auto;
  width: min(86vw, 980px);
  height: 280px;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(5px, 1.1vw, 14px);
}

.wave-grid span {
  width: clamp(5px, 0.75vw, 9px);
  height: calc(34px + (var(--i) % 6) * 13px);
  border-radius: 999px;
  background: var(--gradient);
  opacity: 0.24;
  animation: equalize 1.8s ease-in-out infinite;
  animation-delay: calc(var(--i) * -90ms);
  box-shadow: 0 0 26px rgba(47, 168, 255, 0.2);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 900px);
  text-align: center;
  padding: clamp(24px, 5vh, 52px) 0 70px;
}

.hero-logo {
  width: min(500px, 88vw);
  margin: 0 auto 2px;
  filter:
    drop-shadow(0 0 18px rgba(123, 47, 255, 0.22))
    drop-shadow(0 0 30px rgba(47, 168, 255, 0.18));
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Orbitron", system-ui, sans-serif;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 870px;
  margin: 0 auto;
  font-size: clamp(2.25rem, 5.8vw, 4.6rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 4.2rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

p {
  color: var(--muted);
}

.hero-copy {
  max-width: 660px;
  margin: 20px auto 0;
  font-size: clamp(1rem, 2.2vw, 1.22rem);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.hero-badges span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  padding: 7px 12px;
  color: rgba(255, 255, 255, 0.88);
  background:
    linear-gradient(rgba(13, 13, 15, 0.74), rgba(13, 13, 15, 0.74)) padding-box,
    var(--gradient) border-box;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 22px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: var(--gradient);
  box-shadow: 0 16px 34px rgba(47, 168, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.button-primary:hover,
.button-primary:focus-visible {
  filter: saturate(1.2) brightness(1.08);
}

.button-outline {
  position: relative;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    var(--gradient) border-box;
  border-color: transparent;
}

.button-outline:hover,
.button-outline:focus-visible {
  background:
    linear-gradient(rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06)) padding-box,
    var(--gradient) border-box;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.creator-visual {
  min-height: 520px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(123, 47, 255, 0.18), rgba(47, 168, 255, 0.12)),
    radial-gradient(circle at 22% 24%, rgba(255, 207, 102, 0.12), transparent 13rem),
    #101014;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.creator-visual::before {
  content: "";
  position: absolute;
}

.studio-card {
  position: relative;
  width: min(78%, 360px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
    #121217;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 26px 60px rgba(0, 0, 0, 0.38);
}

.status-light {
  position: absolute;
  top: 22px;
  left: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 20px rgba(255, 207, 102, 0.75);
}

.record-groove {
  position: absolute;
  inset: 54px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #0d0d0f 0 13%, transparent 14%),
    repeating-radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 14px),
    var(--gradient);
  opacity: 0.88;
  animation: spin 14s linear infinite;
}

.meter-stack {
  position: absolute;
  inset: auto 22px 22px;
  display: grid;
  gap: 8px;
}

.meter-stack span {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple), var(--blue), transparent);
}

.meter-stack span:nth-child(2) {
  width: 76%;
}

.meter-stack span:nth-child(3) {
  width: 54%;
}

.meter-stack span:nth-child(4) {
  width: 88%;
}

.section-copy p {
  max-width: 670px;
  margin: 22px 0 0;
  font-size: 1.03rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 34px;
}

.section-heading p {
  width: min(100%, 430px);
  margin: 0;
}

.beats-grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.beat-card,
.service-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 46%),
    var(--surface);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.2);
}

.beat-card,
.service-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease;
}

.beat-card::before,
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 170ms ease;
}

.beat-card:hover,
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 168, 255, 0.38);
  background:
    linear-gradient(180deg, rgba(47, 168, 255, 0.07), transparent 50%),
    var(--surface);
}

.beat-card:hover::before,
.service-card:hover::before {
  opacity: 1;
}

.beat-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.beat-card p,
.service-card p {
  margin: 14px 0 22px;
}

.beat-visualizer {
  height: 58px;
  display: flex;
  align-items: end;
  gap: 7px;
  margin: 6px 0 20px;
  padding: 14px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.beat-visualizer span {
  flex: 1;
  height: var(--h);
  min-height: 10px;
  border-radius: 999px 999px 2px 2px;
  background: var(--gradient);
  opacity: 0.75;
  box-shadow: 0 0 18px rgba(47, 168, 255, 0.18);
  transform-origin: bottom;
  animation: beatPulse 1.7s ease-in-out infinite;
}

.beat-visualizer span:nth-child(2n) {
  animation-delay: -440ms;
}

.beat-visualizer span:nth-child(3n) {
  animation-delay: -820ms;
}

audio {
  width: 100%;
  height: 42px;
  filter: invert(0.95) hue-rotate(175deg) saturate(0.8);
  opacity: 0.82;
}

.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  margin-bottom: 24px;
  background: var(--gradient);
  color: var(--text);
  box-shadow: 0 14px 30px rgba(47, 168, 255, 0.22);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.contact {
  padding-bottom: 110px;
}

.contact-copy p {
  max-width: 560px;
  margin: 22px 0 0;
  font-size: 1.05rem;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.socials a {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.socials a:hover,
.socials a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(47, 168, 255, 0.48);
  background: rgba(47, 168, 255, 0.1);
  outline: none;
}

.socials svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.contact-form {
  position: relative;
  padding: clamp(22px, 4vw, 34px);
  overflow: hidden;
}

.contact-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--gradient);
}

.contact-form > * {
  position: relative;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--text);
  background: rgba(7, 7, 9, 0.74);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

textarea {
  resize: vertical;
  min-height: 142px;
}

input::placeholder,
textarea::placeholder {
  color: rgba(154, 154, 175, 0.7);
}

input:focus,
textarea:focus {
  border-color: rgba(47, 168, 255, 0.6);
  box-shadow: 0 0 0 4px rgba(47, 168, 255, 0.12);
  background: rgba(10, 10, 13, 0.95);
}

.contact-form .button {
  width: 100%;
}

.form-note {
  min-height: 24px;
  margin: 14px 0 0;
  font-size: 0.9rem;
}

.form-note.is-active {
  color: var(--amber);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #09090b;
}

.footer-inner {
  width: min(100% - 32px, var(--max-width));
  min-height: 150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.footer-logo img {
  width: 136px;
}

.footer-meta {
  display: grid;
  gap: 4px;
}

.footer-meta p {
  margin: 0;
  font-size: 0.92rem;
}

.footer-meta a {
  color: var(--text);
  font-weight: 800;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  filter: brightness(1.16);
  outline: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

@keyframes equalize {
  0%,
  100% {
    transform: scaleY(0.36);
    opacity: 0.2;
  }
  45% {
    transform: scaleY(1);
    opacity: 0.48;
  }
}

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

@keyframes beatPulse {
  0%,
  100% {
    transform: scaleY(0.62);
    opacity: 0.45;
  }
  50% {
    transform: scaleY(1);
    opacity: 0.86;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 900px) {
  .beats-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 18px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  .nav {
    width: min(100% - 24px, var(--max-width));
  }

  .brand-mark img {
    width: 112px;
    transform: translateY(6px);
  }

  .nav-toggle {
    display: grid;
    align-content: center;
    gap: 6px;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-height) 12px auto;
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(13, 13, 15, 0.94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 13px 12px;
  }

  .section-shell {
    width: min(100% - 24px, var(--max-width));
    padding: 72px 0;
  }

  .hero {
    min-height: 94svh;
    padding-top: calc(var(--header-height) + 28px);
  }

  .hero-logo {
    width: min(100%, 560px);
  }

  .hero-content {
    padding-bottom: 70px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .creator-visual {
    min-height: 380px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 34px 0;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .wave-grid {
    height: 220px;
    gap: 5px;
  }

  .wave-grid span {
    width: 5px;
  }

  .beat-card,
  .service-card {
    padding: 20px;
  }

  .beat-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
