/* ============================================
   DJ WIGGLES — Mobile DJ Site
   Design tokens
   ============================================ */
:root {
  /* Color */
  --midnight: #180a30;
  --midnight-2: #24103f;
  --midnight-3: #2e1352;
  --purple: #7b2ff7;
  --purple-deep: #4b12a3;
  --magenta: #ff2e9a;
  --cyan: #21e6ff;
  --gold: #ffcb3d;
  --cream: #fbf3ff;
  --cream-dim: #d9c7f0;
  --ink: #150826;

  /* Type */
  --font-display: "Baloo 2", "Arial Rounded MT Bold", sans-serif;
  --font-accent: "Bungee", "Baloo 2", sans-serif;
  --font-body: "Poppins", "Segoe UI", sans-serif;

  /* Layout */
  --max-width: 1200px;
  --radius: 20px;
  --radius-lg: 32px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

body {
  font-family: var(--font-body);
  background: var(--midnight);
  color: var(--cream);
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Background atmosphere
   ============================================ */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(600px circle at 12% 8%, rgba(123,47,247,0.35), transparent 60%),
    radial-gradient(700px circle at 88% 18%, rgba(255,46,154,0.22), transparent 60%),
    radial-gradient(800px circle at 50% 95%, rgba(33,230,255,0.14), transparent 60%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, header, footer { position: relative; z-index: 2; }

/* ============================================
   Floating decoration (notes / stars / bolts)
   ============================================ */
.float-deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
  animation: drift 7s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(8deg); }
}

/* ============================================
   Nav
   ============================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(24, 10, 48, 0.78);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.3px;
}
.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.brand span.pop { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a {
  position: relative;
  padding: 6px 2px;
  color: var(--cream-dim);
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--cream); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, var(--magenta), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }

.nav-cta {
  background: linear-gradient(135deg, var(--magenta), var(--purple));
  color: white !important;
  padding: 5px 10px !important;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(255, 46, 154, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 26px rgba(255,46,154,0.45); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-links { 
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--midnight-2);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-cta { align-self: flex-start; }
  .nav-toggle { display: block; }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  padding: 64px 0 40px;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
}
.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-accent);
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--midnight);
  background: var(--gold);
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(255, 203, 61, 0.3);
  margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.5px;
}
.hero h1 .hl {
  background: linear-gradient(100deg, var(--magenta) 10%, var(--purple) 55%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede {
  margin-top: 22px;
  font-size: 1.15rem;
  color: var(--cream-dim);
  max-width: 46ch;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--magenta), var(--purple-deep));
  color: white;
  box-shadow: 0 10px 28px rgba(255, 46, 154, 0.32);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(255,46,154,0.42); }
.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--cream);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 46px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--gold);
}
.hero-stats div span {
  font-size: 0.85rem;
  color: var(--cream-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero image staging */
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-art .disco {
  position: absolute;
  top: -30px;
  left: -10px;
  width: 90px;
  height: 90px;
  animation: spin 14s linear infinite;
  filter: drop-shadow(0 0 18px rgba(255,255,255,0.35));
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-art img.portrait {
  width: min(480px, 100%);
  border-radius: var(--radius-lg);
  border: 4px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 60px rgba(0,0,0,0.45), 0 0 0 8px rgba(123,47,247,0.15);
}

.hero-art .badge-callout {
  position: absolute;
  bottom: 10px;
  right: -18px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-accent);
  font-size: 0.95rem;
  line-height: 1.3;
  padding: 14px 18px;
  border-radius: 18px 18px 4px 18px;
  box-shadow: 0 14px 28px rgba(0,0,0,0.35);
  transform: rotate(-3deg);
  max-width: 190px;
}
.hero-art .badge-callout .accent { color: var(--magenta); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lede { margin-inline: auto; }
  .hero-ctas, .hero-stats { justify-content: center; }
  .hero-art { margin-top: 30px; }
  .hero-art .badge-callout { right: 4px; }
  .hero-art .disco { left: 4px; }
}

/* ============================================
   Section shell
   ============================================ */
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--midnight-2); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  font-family: var(--font-accent);
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  display: block;
  margin-bottom: 14px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.1;
}
.section-head p {
  margin-top: 16px;
  color: var(--cream-dim);
  font-size: 1.05rem;
}

/* Groove divider (signature motif) */
.groove-divider {
  display: block;
  width: 100%;
  height: 46px;
}
.groove-divider path {
  stroke: rgba(255,255,255,0.12);
}
.groove-divider .bar {
  transform-origin: bottom;
  transition: transform 0.4s ease;
}

/* ============================================
   About
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.about-photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--midnight-3), var(--midnight));
  border: 2px dashed rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about-photo .placeholder-label {
  text-align: center;
  color: var(--cream-dim);
  font-size: 0.9rem;
  padding: 20px;
}
.about-photo .placeholder-label strong {
  display: block;
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.about-copy p { color: var(--cream-dim); margin-bottom: 18px; font-size: 1.05rem; }
.about-copy p:last-child { margin-bottom: 0; }
.about-copy strong { color: var(--cream); }

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.pill {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(123,47,247,0.18);
  border: 1px solid rgba(123,47,247,0.4);
  color: var(--cream);
}

/* ============================================
   Services
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--midnight-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,46,154,0.5);
  background: var(--midnight-3);
}
.service-card .icon {
  width: 48px; height: 48px;
  margin-bottom: 18px;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.service-card p { color: var(--cream-dim); font-size: 0.95rem; }

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

/* ============================================
   Music / vinyl crate (signature element)
   ============================================ */
.crate {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px 22px;
  padding: 10px 0 4px;
}
.record {
  --spin-duration: 9s;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  position: relative;
  cursor: default;
  background:
    repeating-radial-gradient(circle at center,
      #100620 0px, #100620 2px,
      #1c0b34 3px, #1c0b34 5px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin-slow var(--spin-duration) linear infinite;
  flex-shrink: 0;
}
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.record .label {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-accent);
  font-size: 0.52rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px;
  line-height: 1.15;
  box-shadow: 0 0 0 3px var(--midnight);
}
.record .label::after {
  content: "";
  position: absolute;
  width: 6px; height: 6px;
  background: var(--midnight);
  border-radius: 50%;
}
.record:nth-child(1) { animation-delay: -0.5s; }
.record:nth-child(2) { animation-delay: -1.7s; }
.record:nth-child(3) { animation-delay: -3.1s; }
.record:nth-child(4) { animation-delay: -4.6s; }
.record:nth-child(5) { animation-delay: -0.9s; }
.record:nth-child(6) { animation-delay: -6.2s; }
.record:nth-child(7) { animation-delay: -2.4s; }
.record:nth-child(8) { animation-delay: -7.5s; }
.record:nth-child(9) { animation-delay: -5.3s; }
.record:nth-child(10) { animation-delay: -8.1s; }
.record:nth-child(6n+1) .label { background: var(--magenta); }
.record:nth-child(6n+2) .label { background: var(--cyan); color: var(--ink); }
.record:nth-child(6n+3) .label { background: var(--gold); }
.record:nth-child(6n+4) .label { background: var(--purple); color: var(--cream); }
.record:nth-child(6n+5) .label { background: #ff7a3d; }
.record:nth-child(6n+6) .label { background: #35e0a1; }

.crate-note {
  text-align: center;
  margin-top: 36px;
  color: var(--cream-dim);
  font-size: 0.95rem;
}

/* ============================================
   Gallery
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 16px;
}
.gallery-grid .g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid .g-item:nth-child(4) { grid-column: span 2; }
.gallery-grid .g-item:nth-child(7) { grid-row: span 2; }

.g-item {
  border-radius: 16px;
  background: linear-gradient(150deg, var(--midnight-3), var(--midnight-2));
  border: 1.5px dashed rgba(255,255,255,0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--cream-dim);
  font-size: 0.82rem;
  text-align: center;
  padding: 14px;
}
.g-item svg { width: 30px; height: 30px; opacity: 0.7; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery-grid .g-item:nth-child(1) { grid-column: span 2; }
}

/* ============================================
   Why Wiggles / value props
   ============================================ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value-card {
  text-align: center;
  padding: 30px 18px;
}
.value-card .num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  width: 44px; height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--magenta), var(--cyan));
  color: var(--ink);
}
.value-card h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 8px; }
.value-card p { color: var(--cream-dim); font-size: 0.92rem; }

.price-banner {
  margin-top: 60px;
  background: linear-gradient(120deg, rgba(123,47,247,0.25), rgba(255,46,154,0.2));
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.price-banner h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  max-width: 30ch;
}
.price-banner p { color: var(--cream-dim); margin-top: 8px; max-width: 42ch; }

@media (max-width: 900px) {
  .value-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .value-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Contact
   ============================================ */
.contact-panel {
  background: linear-gradient(160deg, var(--midnight-3), var(--midnight-2));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.contact-panel::after {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,203,61,0.18), transparent 70%);
  top: -80px; right: -80px;
}
.contact-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}
.contact-copy p { color: var(--cream-dim); max-width: 40ch; }

.contact-list { display: flex; flex-direction: column; gap: 18px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.05);
  border-radius: 14px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.contact-item:hover { background: rgba(255,255,255,0.1); transform: translateX(4px); }
.contact-item .ic {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--magenta), var(--purple));
}
.contact-item .ic svg { width: 20px; height: 20px; }
.contact-item .txt small {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.68rem;
  color: var(--cream-dim);
}
.contact-item .txt span { font-weight: 700; font-size: 1.02rem; }

@media (max-width: 860px) {
  .contact-panel { grid-template-columns: 1fr; padding: 36px 26px; }
}

/* ============================================
   Footer
   ============================================ */
footer.site-footer {
  padding: 40px 0 50px;
  text-align: center;
  color: var(--cream-dim);
  font-size: 0.85rem;
}
footer.site-footer .brand {
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.1rem;
}

/* ============================================
   Scroll reveal
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--gold);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
  font-weight: 700;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}