/* ============================================================
   Sudden Moves — main stylesheet
   Design tokens live in :root so you can re-theme fast.
   ============================================================ */
:root {
  --bg:        #0d0b12;
  --bg-2:      #14111d;
  --ink:       #f5f1e8;
  --muted:     #9a92ab;
  --accent:    #ff4d5e;   /* hot coral */
  --accent-2:  #6cf0c2;   /* mint */
  --accent-3:  #ffd23f;   /* yellow */
  --maxw:      1100px;
  --display:   'Archivo Black', system-ui, sans-serif;
  --body:      'Space Grotesk', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ---- Film grain overlay ---- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.05;
  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");
}

/* ---- Nav ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  mix-blend-mode: difference;
}
.nav__logo { font-family: var(--display); font-size: 1.1rem; letter-spacing: 0.02em; }
.nav__links { display: flex; gap: clamp(0.75rem, 2vw, 1.75rem); font-weight: 500; }
.nav__links a { position: relative; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -3px;
  width: 100%; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.nav__links a:hover::after { transform: scaleX(1); }

/* ---- Hero ---- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1rem 3rem;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(255,77,94,0.18), transparent 70%),
    radial-gradient(50% 50% at 80% 100%, rgba(108,240,194,0.12), transparent 70%),
    var(--bg);
}
.hero__title {
  font-family: var(--display);
  line-height: 0.86;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.hero__line {
  display: block;
  font-size: clamp(3.5rem, 18vw, 12rem);
}
.hero__line--alt {
  color: transparent;
  -webkit-text-stroke: 2px var(--accent-2);
  text-stroke: 2px var(--accent-2);
}
.hero__tagline {
  margin: 1.75rem auto 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
}
.hero__cta { display: flex; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; justify-content: center; }

.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  font-weight: 700;
  border-radius: 999px;
  background: var(--accent);
  color: #14111d;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); box-shadow: 0 10px 0 rgba(255,77,94,0.25); }
.btn--ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn--ghost:hover { box-shadow: 0 10px 0 rgba(245,241,232,0.15); }

/* ---- Marquee ---- */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--accent-3);
  color: #14111d;
}
.marquee__track {
  display: inline-flex;
  font-family: var(--display);
  font-size: clamp(1.1rem, 3vw, 2rem);
  padding: 0.6rem 0;
  animation: scroll 22s linear infinite;
}
.marquee__track span { display: inline-block; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---- Sections ---- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 8rem) clamp(1rem, 4vw, 2rem);
}
.section__title {
  font-family: var(--display);
  font-size: clamp(2.25rem, 8vw, 5rem);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.section__lead { color: var(--muted); max-width: 55ch; margin-bottom: 2.5rem; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---- Music / release ---- */
.release {
  border: 2px solid var(--ink);
  border-radius: 18px;
  padding: clamp(1.75rem, 5vw, 3rem);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(255,77,94,0.16), transparent 60%),
    var(--bg-2);
}
.release__tag {
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--accent-2);
  margin-bottom: 0.5rem;
}
.release__title {
  font-family: var(--display);
  font-size: clamp(2.25rem, 8vw, 4.5rem);
  line-height: 0.95;
  text-transform: uppercase;
}
.release__date { font-family: var(--display); color: var(--accent-3); margin-top: 0.5rem; font-size: 1.15rem; }
.release__blurb { color: var(--muted); max-width: 48ch; margin: 1rem 0 1.75rem; font-size: 1.1rem; }

/* ---- Shows (empty state) ---- */
.shows-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(245,241,232,0.15);
  border-bottom: 1px solid rgba(245,241,232,0.15);
}
.shows-empty p { font-size: 1.25rem; max-width: 40ch; }

/* ---- About ---- */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; align-items: start; }
.about__photo { border-radius: 14px; overflow: hidden; aspect-ratio: 4/5; background: var(--bg-2); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about__photo img.is-missing {
  object-fit: contain; padding: 2rem; color: var(--muted); font-style: italic;
}
.about__bio p { margin-bottom: 1.25rem; font-size: 1.1rem; }
.about__bio blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  font-style: italic;
  color: var(--ink);
}
.about__bio cite { display: block; margin-top: 0.5rem; color: var(--muted); font-style: normal; }

/* ---- Contact ---- */
.contact { display: flex; flex-direction: column; gap: 2rem; align-items: flex-start; }
.contact__email {
  font-family: var(--display);
  font-size: clamp(1.5rem, 6vw, 3.5rem);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 8px;
}
.socials { display: flex; flex-wrap: wrap; gap: 1.5rem; font-weight: 700; }
.socials a:hover { color: var(--accent-2); }

/* ---- Footer ---- */
.footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 2rem);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  border-top: 1px solid rgba(245,241,232,0.15);
}

/* ---- Responsive ---- */
@media (max-width: 760px) {
  .nav__links { gap: 0.9rem; font-size: 0.9rem; }
  .music-grid, .about { grid-template-columns: 1fr; }
  .show { grid-template-columns: 70px 1fr auto; }
  .show__city { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
