/* ===================================================================
   London DJ — modern dark theme
   =================================================================== */

:root {
  /* Surfaces */
  --bg:        #0a0a0f;
  --bg-elev:   #111118;
  --card:      #14141d;
  --border:    rgba(255, 255, 255, .08);
  --border-hi: rgba(255, 255, 255, .16);

  /* Text */
  --text:      #f3f3f8;
  --muted:     #9a9aa8;

  /* Neon accents (club lighting) */
  --violet:    #a855f7;
  --pink:      #ec4899;
  --cyan:      #22d3ee;
  --accent:    #b86bff;
  --grad:      linear-gradient(120deg, #8b5cf6 0%, #ec4899 52%, #22d3ee 100%);

  /* Shape */
  --radius:    16px;
  --radius-sm: 10px;
  --maxw:      1100px;

  --shadow:    0 10px 40px rgba(0, 0, 0, .45);
  --glow:      0 0 40px rgba(168, 85, 247, .35);
}

/* ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Ambient club-light glows fixed behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60vw 60vw at 12% -10%, rgba(139, 92, 246, .18), transparent 60%),
    radial-gradient(55vw 55vw at 110% 8%, rgba(236, 72, 153, .14), transparent 60%),
    radial-gradient(50vw 50vw at 50% 120%, rgba(34, 211, 238, .12), transparent 60%);
  pointer-events: none;
}

h1, h2, h3 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}

p { margin: 0 0 1rem; }

a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: #fff; }

/* Visible keyboard focus (accessibility) */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* In-text links distinguished by more than colour (WCAG) */
.about-copy a,
.contact-card .val a,
.site-footer p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Hero name shimmer: Drew <-> DRW */
.hero h1 .morph { position: relative; display: inline-block; vertical-align: top; }
.hero h1 .morph-b {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
}
.hero h1 .gradient-text { background-size: 220% auto; }
.hero h1 .morph-a { animation: morphA 7s ease-in-out infinite, sheen 7s linear infinite; }
.hero h1 .morph-b { animation: morphB 7s ease-in-out infinite, sheen 7s linear infinite; }
@keyframes morphA { 0%, 42% { opacity: 1; } 50%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes morphB { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sheen { to { background-position: 220% center; } }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------------
   Soundwave logo (PNG recolored via mask)
   ------------------------------------------------------------------ */
.wave {
  display: inline-block;
  background: var(--grad);
  -webkit-mask: url("/images/soundwave.png") center / contain no-repeat;
          mask: url("/images/soundwave.png") center / contain no-repeat;
}

/* ------------------------------------------------------------------
   Header
   ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 15, .6);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(10, 10, 15, .85);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand .wave { width: 40px; height: 26px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a.navlink {
  color: var(--muted);
  font-size: .95rem;
  font-weight: 500;
}
.nav a.navlink:hover { color: var(--text); }

/* ------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #0a0a0f;
  box-shadow: 0 6px 24px rgba(168, 85, 247, .35);
}
.btn-primary:hover {
  color: #0a0a0f;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(236, 72, 153, .5);
}
.btn-ghost {
  background: rgba(255, 255, 255, .04);
  border-color: var(--border-hi);
  color: var(--text);
}
.btn-ghost:hover {
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------ */
.hero {
  text-align: center;
  padding: clamp(72px, 14vh, 140px) 0 96px;
}
.hero .wave-logo {
  width: min(300px, 64vw);
  height: 150px;
  margin: 0 auto 28px;
  filter: drop-shadow(0 0 28px rgba(168, 85, 247, .45));
  animation: pulse 3.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: .92; transform: scaleY(1); }
  50%      { opacity: 1;   transform: scaleY(1.06); }
}
.hero h1 {
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  margin-bottom: .15em;
}
.hero .tagline {
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  color: var(--muted);
  margin-bottom: 2rem;
}
.hero .tagline strong { color: var(--text); font-weight: 600; }
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Animated equalizer accent */
.equalizer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  height: 44px;
  margin-top: 56px;
}
.equalizer span {
  width: 6px;
  border-radius: 4px;
  background: var(--grad);
  animation: eq 1.1s ease-in-out infinite;
}
.equalizer span:nth-child(1) { height: 40%; animation-delay: -.9s; }
.equalizer span:nth-child(2) { height: 80%; animation-delay: -.5s; }
.equalizer span:nth-child(3) { height: 55%; animation-delay: -.2s; }
.equalizer span:nth-child(4) { height: 95%; animation-delay: -.7s; }
.equalizer span:nth-child(5) { height: 45%; animation-delay: -.3s; }
.equalizer span:nth-child(6) { height: 70%; animation-delay: -.6s; }
.equalizer span:nth-child(7) { height: 35%; animation-delay: -.1s; }
@keyframes eq {
  0%, 100% { transform: scaleY(.4); }
  50%      { transform: scaleY(1); }
}

/* ------------------------------------------------------------------
   Sections & cards
   ------------------------------------------------------------------ */
section { padding: 72px 0; }
.section-head { margin-bottom: 36px; }
.section-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
.about-grid p { color: #d7d7df; }
.about-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.about-media {
  position: relative;
}
.about-media::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: var(--radius);
  background: var(--grad);
  z-index: -1;
  filter: blur(26px);
  opacity: .35;
}

/* Music */
.embed-wrap iframe {
  width: 100%;
  border: 0;
  border-radius: 12px;
  display: block;
}

/* Spotify click-to-play facade */
.spotify-facade {
  width: 100%;
  min-height: 352px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 38%, rgba(168, 85, 247, .18), transparent 60%),
    linear-gradient(160deg, #15151f, #0d0d14);
  transition: transform .2s ease, box-shadow .25s ease;
}
.spotify-facade:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.spotify-facade .sf-play {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 10px 30px rgba(168, 85, 247, .4);
}
.spotify-facade .sf-play svg { width: 30px; height: 30px; color: #0a0a0f; margin-left: 4px; }
.spotify-facade .sf-text {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.spotify-facade .sf-text small {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: .82rem;
  color: var(--muted);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color .25s ease, transform .25s ease;
}
.contact-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-3px);
}
.contact-card .ic {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(168, 85, 247, .12);
  color: var(--accent);
  margin-bottom: 14px;
}
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card h3 {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.contact-card .val { font-size: 1.08rem; color: var(--text); }
.contact-card .val a { color: var(--text); }
.contact-card .val a:hover { color: var(--accent); }
.contact-card.featured {
  grid-column: 1 / -1;
  background: linear-gradient(120deg, rgba(139,92,246,.12), rgba(236,72,153,.08));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.contact-card.featured .cta-copy h3 { color: var(--accent); }
.contact-card.featured .cta-copy .val { font-size: 1.35rem; font-family: "Space Grotesk", sans-serif; font-weight: 700; }

/* ------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
}
.site-footer .wave { width: 54px; height: 22px; opacity: .8; margin: 0 auto 16px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

/* ------------------------------------------------------------------
   Scroll-reveal
   ------------------------------------------------------------------ */
/* Progressive enhancement: only hide pre-reveal when JS is active */
.reveal { transition: opacity .7s ease, transform .7s ease; }
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------
   Header brand wordmark (DRW)
   ------------------------------------------------------------------ */
.brand-name { display: inline; }
.brand-tag {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: .6rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Hero subhead */
.hero .hero-sub {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.8vw, 1.7rem);
  color: var(--text);
  margin: 0 0 .7rem;
}

/* Social-proof strip */
.social-proof {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .015);
  padding: 20px 0;
}
.social-proof .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 30px;
}
.social-proof span {
  position: relative;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 500;
}
.social-proof span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -16px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
  opacity: .7;
}

/* About lead-in line */
.about-copy .about-lead {
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--text);
}

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .nav .navlink { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .wave-logo, .equalizer span { animation: none; }
  .hero h1 .morph-a { animation: none; opacity: 1; }
  .hero h1 .morph-b { display: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
}
