/* ============================================================
   ELECTRIK LEMONADE — "stage-lit" design system
   World: the page is the lighting rig; content is the show.
   Ground: deep indigo haze. Gels: magenta / cyan / sodium yellow.
   Type: Monoton (neon marquee) + Big Shoulders (structure).
   ============================================================ */

:root {
  /* palette */
  --haze: #0d0a1f;          /* deep indigo stage haze */
  --haze-2: #161230;        /* lifted haze */
  --ink: #f4f1ff;           /* house lights up — near-white w/ violet cast */
  --ink-dim: #b9b2d9;       /* tinted secondary, from the hue (never gray) */
  --gel-magenta: #ff2fb3;
  --gel-cyan: #2fd8ff;
  --gel-yellow: #ffd11a;    /* sodium spot + brand logo yellow */
  --chrome: #c9c4e6;

  /* type */
  --font-neon: 'Monoton', cursive;
  --font-stage: 'Big Shoulders', 'Arial Narrow', sans-serif;

  /* rhythm */
  --space-section: clamp(4rem, 10vw, 8rem);
  --wrap: 72rem;
}

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

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

body {
  margin: 0;
  background:
    radial-gradient(120% 60% at 50% -10%, var(--haze-2) 0%, var(--haze) 55%),
    var(--haze);
  color: var(--ink);
  font-family: var(--font-stage);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

::selection { background: var(--gel-yellow); color: var(--haze); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--gel-yellow);
  color: var(--haze);
  padding: 0.6rem 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

a { color: var(--gel-cyan); }
a:focus-visible {
  outline: 2px solid var(--gel-yellow);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--haze) 82%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--gel-yellow) 18%, transparent);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
}

.nav-logo {
  display: block;
  filter: drop-shadow(0 2px 10px rgba(255, 209, 26, 0.45));
  transition: transform 0.25s ease;
}
.nav-logo:hover { transform: rotate(-6deg) scale(1.08); }
.nav-logo img { display: block; }

.nav-links {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
  text-shadow: 0 1px 8px var(--haze), 0 0 16px rgba(13, 10, 31, 0.8);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--gel-yellow);
  box-shadow: 0 0 12px var(--gel-yellow);
  transition: right 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { right: 0; }
.nav-links a:hover { color: var(--gel-yellow); }

/* ---------- hero: the stage ---------- */
.hero {
  position: relative;
  height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background: var(--haze);
}

.hero-stage {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: hero-settle 2.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* flown light cones — additive, heavily feathered */
.rig {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cone {
  position: absolute;
  top: 0;
  width: 26vw;
  height: 100%;
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  filter: blur(40px);
  opacity: 0.45;
  mix-blend-mode: screen;
  transform-origin: 50% 0;
  animation: cone-sway 9s ease-in-out infinite alternate;
}
.cone--magenta {
  left: 6%;
  background: linear-gradient(180deg, var(--gel-magenta) 0%, transparent 70%);
  animation-delay: -2s;
}
.cone--cyan {
  left: 37%;
  background: linear-gradient(180deg, var(--gel-cyan) 0%, transparent 70%);
  animation-duration: 11s;
}
.cone--yellow {
  right: 14%;
  background: linear-gradient(180deg, var(--gel-yellow) 0%, transparent 70%);
  animation-duration: 13s;
  animation-delay: -5s;
}
.page-funk .cone { opacity: 0.25; }

/* hero apron — text owns the dark deck below the stage */
.hero-front {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  text-align: center;
  padding: clamp(0.75rem, 2vh, 1.5rem) 1rem 1rem;
  background: var(--haze);
  margin-top: 0;
  animation: rise-in 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.wordmark {
  font-family: var(--font-neon);
  font-weight: 400;
  font-size: clamp(2.2rem, 6.5vh, 4.5rem); /* viewport-capped so the strip always fits */
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin: 0 0 0.75rem;
  color: var(--gel-yellow);
  text-shadow:
    0 0 18px rgba(255, 209, 26, 0.65),
    0 0 60px rgba(255, 209, 26, 0.35),
    0 4px 30px rgba(0, 0, 0, 0.6);
  animation: neon-flicker 7s linear infinite;
}

.tagline {
  font-size: clamp(1.3rem, 3.2vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 0.4rem;
  text-wrap: balance;
}

.sub {
  color: var(--ink-dim);
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  letter-spacing: 0.06em;
  margin: 0;
}

/* cue strip: splat buttons — the band's own splash mark as the doors */
.cue-strip {
  position: relative;
  flex: 0 0 auto;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0.5rem 1rem 1.25rem;
  animation: rise-in 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
}

.cue-splat {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(5rem, 11vh, 7rem);
  aspect-ratio: 557 / 634; /* splat silhouette's own proportions */
  text-decoration: none;
  background: color-mix(in srgb, var(--gel-cyan) 85%, var(--haze));
  -webkit-mask: url('/assets/img/splat.svg') center / contain no-repeat;
  mask: url('/assets/img/splat.svg') center / contain no-repeat;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease;
  filter: drop-shadow(0 6px 18px rgba(47, 216, 255, 0.25));
}
.cue-splat:hover {
  transform: scale(1.08) rotate(-3deg);
  filter: drop-shadow(0 8px 26px rgba(47, 216, 255, 0.5));
}

.cue-splat--accent {
  background: var(--gel-yellow);
  filter: drop-shadow(0 6px 18px rgba(255, 209, 26, 0.3));
}
.cue-splat--accent:hover {
  filter: drop-shadow(0 8px 26px rgba(255, 209, 26, 0.55));
}

.cue-label {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  color: var(--haze);
  /* optical centering: splat blob sits slightly high in its viewBox */
  transform: translateY(-8%);
}

/* ---------- sections ---------- */
.section-title {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
  text-wrap: balance;
}

.listen, .follow {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: var(--space-section) 1.25rem;
}

/* listen: platform links as stage doors */
.listen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.listen-link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.75rem 1.5rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--haze-2);
  border-radius: 14px;
  border: 1px solid transparent;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.8);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.listen-link:hover { transform: translateY(-5px); }
.listen-link--spotify:hover  { border-color: var(--gel-cyan);    box-shadow: 0 22px 50px -16px rgba(47, 216, 255, 0.35); }
.listen-link--soundcloud:hover { border-color: var(--gel-magenta); box-shadow: 0 22px 50px -16px rgba(255, 47, 179, 0.35); }
.listen-link--youtube:hover  { border-color: var(--gel-yellow);  box-shadow: 0 22px 50px -16px rgba(255, 209, 26, 0.35); }

.listen-name {
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.listen-note { color: var(--ink-dim); font-size: 1rem; }

/* marquee: tour-banner energy */
.marquee {
  overflow: hidden;
  padding: 1.1rem 0;
  border-top: 1px solid color-mix(in srgb, var(--gel-magenta) 30%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--gel-magenta) 30%, transparent);
  background: color-mix(in srgb, var(--gel-magenta) 6%, var(--haze));
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  white-space: nowrap;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 1.05rem;
  color: var(--gel-magenta);
  animation: marquee 26s linear infinite;
}
.marquee-track span { text-shadow: 0 0 16px rgba(255, 47, 179, 0.5); }

/* follow */
.follow { text-align: center; }

.follow-list {
  display: flex;
  gap: clamp(1.5rem, 5vw, 3rem);
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.follow-list a {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid color-mix(in srgb, var(--gel-cyan) 45%, transparent);
  padding-bottom: 0.15rem;
  transition: color 0.25s ease, border-color 0.25s ease, text-shadow 0.25s ease;
}
.follow-list a:hover {
  color: var(--gel-cyan);
  border-color: var(--gel-cyan);
  text-shadow: 0 0 24px rgba(47, 216, 255, 0.6);
}

.follow-note { color: var(--ink-dim); margin: 0; }
.follow-note a { color: var(--gel-yellow); }

/* ---------- transmission page (bring-the-funk-back) ---------- */
.transmission {
  position: relative;
  min-height: 90svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--space-section) + 3rem) 1.25rem var(--space-section);
  overflow: hidden;
}

.transmission-kicker {
  color: var(--gel-cyan);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.9rem;
  font-weight: 800;
  margin: 0 0 1.25rem;
  text-shadow: 0 2px 14px var(--haze), 0 0 22px rgba(13, 10, 31, 0.9);
  animation: rise-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.transmission-title {
  font-family: var(--font-neon);
  font-weight: 400;
  font-size: clamp(2.4rem, 8vw, 5rem);
  line-height: 1.1;
  color: var(--gel-yellow);
  margin: 0 0 1.5rem;
  text-shadow:
    0 0 18px rgba(255, 209, 26, 0.6),
    0 0 60px rgba(255, 209, 26, 0.3);
  animation: rise-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

.transmission-body {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--ink);
  margin: 0 0 3rem;
  animation: rise-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
}
.transmission-body strong { color: var(--gel-magenta); }

/* signup console (EmailOctopus embed, skinned to the rig) */
.signup-console {
  width: min(34rem, 100%);
  padding: 2rem;
  background: color-mix(in srgb, var(--haze-2) 88%, transparent);
  border: 1px solid color-mix(in srgb, var(--gel-yellow) 25%, transparent);
  border-radius: 14px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.85);
  animation: rise-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.8s both;
}

.signup-title {
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 1.25rem;
}

/* EmailOctopus injects its own markup; override hard with !important */
.eo-embed form { margin: 0 !important; }

.eo-embed input[type="email"],
.eo-embed input[type="text"] {
  width: 100%;
  padding: 0.85rem 1.1rem !important;
  font: inherit !important;
  font-size: 1rem !important;
  color: var(--ink) !important;
  background: var(--haze) !important;
  border: 1px solid color-mix(in srgb, var(--chrome) 40%, transparent) !important;
  border-radius: 4px !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.eo-embed input::placeholder { color: var(--ink) !important; opacity: 0.55; }
.eo-embed input:focus {
  outline: none !important;
  border-color: var(--gel-yellow) !important;
  box-shadow: 0 0 0 3px rgba(255, 209, 26, 0.25) !important;
}

.eo-embed label {
  color: var(--ink-dim) !important;
  font-family: var(--font-stage) !important;
  font-size: 0.95rem !important;
}

.eo-embed button,
.eo-embed input[type="submit"] {
  width: 100%;
  margin-top: 0.6rem !important;
  padding: 0.85rem 1.6rem !important;
  font: inherit !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: var(--haze) !important;
  background: var(--gel-yellow) !important;
  border: 0 !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  box-shadow: 0 10px 28px -8px rgba(255, 209, 26, 0.5) !important;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease !important;
}
.eo-embed button:hover,
.eo-embed input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -8px rgba(255, 209, 26, 0.65) !important;
}

.signup-note {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-dim);
}

/* ---------- footer ---------- */
.site-footer {
  text-align: center;
  padding: 2.5rem 1.25rem;
  color: var(--ink-dim);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

/* ---------- scroll reveal (JS-gated) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* hero entrance animations handle their own timing; skip reveal-gating them */
.js .transmission-kicker.reveal,
.js .transmission-title.reveal,
.js .transmission-body.reveal,
.js .signup-console.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ---------- motion library ---------- */
@keyframes hero-settle {
  from { transform: scale(1.14); }
  to   { transform: scale(1.06); }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes cone-sway {
  from { transform: rotate(-7deg); }
  to   { transform: rotate(7deg); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes neon-flicker {
  0%, 6.5%, 8%, 100% { opacity: 1; }
  7% { opacity: 0.75; }
  46%, 46.8% { opacity: 1; }
  46.4% { opacity: 0.85; }
}

/* ---------- small screens ---------- */
@media (max-width: 640px) {
  .cone { width: 48vw; filter: blur(16px); opacity: 0.45; }
  .cue-strip { gap: 0.25rem; }
  .cue-splat { width: clamp(4.75rem, 10vh, 5.5rem); }
  .signup-form { padding: 1.5rem 1.25rem; }
}
