/* ============================================================
   Violet Depth Home Recordings
   Dark & moody · pastel purple
   ============================================================ */

:root {
  --bg:        #0c0a12;
  --bg-2:      #14101e;
  --bg-3:      #1b1528;
  --purple:    #c3b1e1;   /* brand pastel purple */
  --purple-br: #ddccf5;   /* brighter highlight */
  --purple-dp: #8a74c4;   /* deeper accent */
  --text:      #ece8f4;
  --muted:     #968caa;
  --line:      rgba(195, 177, 225, 0.14);
  --line-soft: rgba(195, 177, 225, 0.07);

  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Outfit", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Atmospheric background ---------- */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 50% -5%, rgba(138, 116, 196, 0.28), transparent 70%),
    radial-gradient(45% 40% at 85% 20%, rgba(195, 177, 225, 0.10), transparent 70%),
    radial-gradient(50% 50% at 10% 80%, rgba(138, 116, 196, 0.12), transparent 70%);
  pointer-events: none;
}
.bg-grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}
.container--narrow { max-width: 680px; }

.section { padding: 120px 0; position: relative; }
.section--about   { border-top: 1px solid var(--line-soft); }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--purple);
  margin-bottom: 18px;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 42px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 100px;
  transition: all 0.35s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn--solid {
  background: var(--purple);
  color: #1a1326;
}
.btn--solid:hover {
  background: var(--purple-br);
  box-shadow: 0 0 32px rgba(195, 177, 225, 0.4);
  transform: translateY(-2px);
}
.btn--ghost {
  border-color: var(--line);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--purple);
  color: var(--purple-br);
  transform: translateY(-2px);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(12, 10, 18, 0.72);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.nav__brand { display: flex; align-items: center; gap: 11px; }
.nav__logo { width: 34px; height: 34px; }
.nav__name {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.nav__links { display: flex; gap: 34px; }
.nav__links a {
  font-family: var(--font-display);
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  transition: color 0.3s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--purple);
  transition: width 0.35s var(--ease);
}
.nav__links a:hover { color: var(--purple-br); }
.nav__links a:hover::after { width: 100%; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 110;
}
.nav__toggle span {
  width: 26px; height: 2px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 28px 80px;
  position: relative;
}
.hero__logo {
  width: min(380px, 74vw);
  margin: 0 auto 8px;
  filter: drop-shadow(0 0 50px rgba(195, 177, 225, 0.35));
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.hero__tagline {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  color: var(--text);
  letter-spacing: 0.02em;
  margin: 14px auto 36px;
  max-width: 520px;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.hero__scroll {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 100px;
  display: flex;
  justify-content: center;
}
.hero__scroll span {
  width: 4px; height: 8px;
  background: var(--purple);
  border-radius: 4px;
  margin-top: 8px;
  animation: scrolldot 1.8s infinite;
}
@keyframes scrolldot {
  0%   { opacity: 0; transform: translateY(0); }
  40%  { opacity: 1; }
  80%  { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 56px;
  max-width: 880px;
}
.about__body p { color: #c8c2d6; font-size: 1.05rem; }
.about__body strong { color: var(--purple-br); font-weight: 500; }

/* ============================================================
   ARTISTS
   ============================================================ */
.artists { display: flex; flex-direction: column; gap: 90px; }
.artist {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 56px;
  align-items: center;
}
.artist--reverse .artist__media { order: 2; }
.artist__media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.artist__media::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 80px rgba(12, 10, 18, 0.5);
  pointer-events: none;
}
.artist__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.02);
  transition: transform 0.8s var(--ease), filter 0.6s;
}
.artist:hover .artist__media img { transform: scale(1.04); filter: grayscale(0) contrast(1.05); }

.artist__name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tags li {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 5px 14px;
}
.artist__bio { color: #c0bacf; font-size: 1.02rem; max-width: 460px; margin-bottom: 26px; }
.artist__links { display: flex; gap: 26px; align-items: center; }
.artist__links a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-br);
  position: relative;
  transition: color 0.3s;
}
.artist__links a:hover { color: var(--text); }
.muted-link { color: var(--muted) !important; }

/* ============================================================
   RELEASES — featured single release
   ============================================================ */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}
.feature__cover {
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  position: relative;
}
.feature__cover::after {
  content: "⤢";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--purple-br);
  background: rgba(12, 10, 18, 0.55);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.feature__cover:hover::after { opacity: 1; }
.feature__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.feature__cover:hover img { transform: scale(1.04); }

.feature__kind {
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 12px;
}
.feature__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.feature__artist {
  color: var(--muted);
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin: 6px 0 22px;
}
.feature__desc {
  color: #c0bacf;
  font-size: 1.02rem;
  max-width: 440px;
  margin-bottom: 30px;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.section--contact { text-align: center; }
.contact__intro {
  color: #c0bacf;
  font-size: 1.08rem;
  max-width: 520px;
  margin: 0 auto 40px;
}
.newsletter__form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter__form input {
  flex: 1;
  min-width: 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 14px 22px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.newsletter__form input:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(195, 177, 225, 0.12);
}
.newsletter__form .btn { flex-shrink: 0; }
.newsletter__ml { max-width: 480px; margin: 0 auto 26px; }
.contact__or { margin-top: 26px; color: var(--muted); font-size: 0.95rem; }
.contact__or a { color: var(--purple-br); border-bottom: 1px solid var(--line); }
.contact__or a:hover { color: var(--text); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line-soft);
  padding: 64px 0 40px;
  margin-top: 40px;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: center;
  justify-content: space-between;
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__logo { width: 46px; height: 46px; }
.footer__brand span {
  font-family: var(--font-display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.8rem;
  line-height: 1.5;
}
.footer__brand em { color: var(--muted); font-style: normal; font-size: 0.7rem; }
.footer__links, .footer__social { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a, .footer__social a {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}
.footer__links a:hover, .footer__social a:hover { color: var(--purple-br); }
.footer__copy {
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  margin-top: 48px;
  opacity: 0.7;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 6, 12, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(90vw, 760px);
  max-height: 86vh;
  border-radius: 4px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  transform: scale(0.96);
  transition: transform 0.4s var(--ease);
}
.lightbox.open img { transform: scale(1); }
.lightbox__close {
  position: absolute;
  top: 24px; right: 32px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s, transform 0.3s;
}
.lightbox__close:hover { color: var(--purple-br); transform: rotate(90deg); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .section { padding: 90px 0; }

  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background: rgba(12, 10, 18, 0.97);
    backdrop-filter: blur(16px);
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { font-size: 1.3rem; }
  .nav__toggle { display: flex; }

  .about__body { grid-template-columns: 1fr; gap: 20px; }

  .artist,
  .artist--reverse { grid-template-columns: 1fr; gap: 28px; }
  .artist--reverse .artist__media { order: 0; }
  .artist__media { max-width: 420px; }

  .feature { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .feature__cover { max-width: 420px; margin: 0 auto; }
  .feature__desc { margin-left: auto; margin-right: auto; }
}

@media (max-width: 540px) {
  .container { padding: 0 20px; }
  .newsletter__form { flex-direction: column; }
  .newsletter__form .btn { width: 100%; }
  .hero__cta { flex-direction: column; width: 100%; max-width: 280px; margin: 0 auto; }
  .hero__cta .btn { width: 100%; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
