:root {
  --bg: #0b0b0d;
  --bg-alt: #151317;
  --flame: #ff4b1f;
  --acid: #d4ff3d;
  --hazard: #ffb703;
  --text: #f2ede4;
  --text-dim: #948e85;
  --border: #2a2731;

  --font-display: 'Archivo Black', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* film-grain / static overlay across the whole page */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.hazard-bar {
  height: 14px;
  width: 100%;
  background: repeating-linear-gradient(
    135deg,
    var(--hazard),
    var(--hazard) 18px,
    #1a1a1a 18px,
    #1a1a1a 36px
  );
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 4.5rem 1.5rem 2.5rem;
  background: radial-gradient(ellipse at 50% -10%, rgba(255,75,31,0.18), transparent 60%);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--acid);
  margin: 0 0 1rem;
}

.wordmark {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 10vw, 6rem);
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--text);
  position: relative;
  display: inline-block;
}

/* signature glitch effect: RGB-split layers on hover/focus */
.wordmark::before,
.wordmark::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: var(--bg);
  clip-path: inset(0 0 0 0);
}

.wordmark:hover::before,
.wordmark:hover::after {
  animation: glitch 0.6s steps(2, end) infinite;
}

.wordmark::before { color: var(--flame); z-index: -1; }
.wordmark::after { color: var(--acid); z-index: -2; }

@keyframes glitch {
  0%   { clip-path: inset(10% 0 60% 0); transform: translate(-3px, 1px); }
  20%  { clip-path: inset(60% 0 5% 0);  transform: translate(3px, -1px); }
  40%  { clip-path: inset(30% 0 40% 0); transform: translate(-2px, 2px); }
  60%  { clip-path: inset(70% 0 10% 0); transform: translate(2px, -2px); }
  80%  { clip-path: inset(5% 0 70% 0);  transform: translate(-3px, -1px); }
  100% { clip-path: inset(45% 0 20% 0); transform: translate(3px, 1px); }
}

.tagline {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin: 0.5rem 0 2.25rem;
}

/* ---------- Mode switch ---------- */
.mode-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}

.mode-btn {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  background: none;
  border: none;
  color: var(--text-dim);
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.mode-btn:hover { color: var(--text); }

.mode-btn.is-active {
  background: var(--flame);
  color: #0b0b0d;
}

.mode-btn:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 2px;
}

/* ---------- Panels ---------- */
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.panel { display: none; }
.panel.is-active { display: block; }

.panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin: 0 0 1rem;
}

.body-text {
  color: var(--text-dim);
  max-width: 58ch;
  font-size: 1.02rem;
}

/* ---------- Static/noise box (band section) ---------- */
.static-box {
  position: relative;
  margin-top: 2rem;
  height: 220px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.garage-scene {
  width: 100%;
  height: 100%;
  display: block;
}

/* strumming arm swings on the shoulder pivot */
.strum-arm {
  transform-origin: 140px 86px;
  animation: strum 0.5s ease-in-out infinite alternate;
}

@keyframes strum {
  from { transform: rotate(-10deg); }
  to   { transform: rotate(14deg); }
}

/* drum arms alternate hits */
.drum-arm-l {
  transform-origin: 330px 112px;
  animation: hit-l 0.45s ease-in-out infinite;
}
.drum-arm-r {
  transform-origin: 330px 112px;
  animation: hit-r 0.45s ease-in-out infinite;
  animation-delay: 0.225s;
}

@keyframes hit-l {
  0%, 100% { transform: rotate(0deg); }
  50%      { transform: rotate(-16deg); }
}
@keyframes hit-r {
  0%, 100% { transform: rotate(0deg); }
  50%      { transform: rotate(16deg); }
}

/* bassist arm swings a little slower than the guitarist */
.bass-arm {
  transform-origin: 235px 88px;
  animation: strum 0.7s ease-in-out infinite alternate;
}

/* mic sways gently, held up near the mouth */
.mic-arm {
  transform-origin: 402px 80px;
  animation: sway 0.6s ease-in-out infinite alternate;
}

@keyframes sway {
  from { transform: rotate(-3deg); }
  to   { transform: rotate(4deg); }
}

/* amp shakes like it's blasting, even though nothing plays */
.amp {
  transform-origin: 54px 120px;
  animation: rattle 0.5s steps(2, end) infinite;
}

@keyframes rattle {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-1px, 1px); }
}

/* sound rings expand outward and fade — visibly "loud" but silent */
.ring {
  transform-origin: 20px 118px;
  animation: ring-out 1.4s ease-out infinite;
  opacity: 0;
}
.ring-b { animation-delay: 0.7s; }

@keyframes ring-out {
  0%   { transform: scale(0.4); opacity: 0.6; }
  100% { transform: scale(2.6); opacity: 0; }
}

.mute-icon {
  opacity: 0.9;
}

.static-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--hazard);
  background: rgba(0,0,0,0.5);
  padding: 0.4rem 0.9rem;
}

/* ---------- Fake mailing list ---------- */
.mailing-list { margin-top: 2.5rem; }

.fake-form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.fake-form input {
  flex: 1;
  min-width: 200px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.7rem 0.9rem;
  color: var(--text);
  font-family: var(--font-body);
}

.fake-form button {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: transparent;
  border: 1px solid var(--acid);
  color: var(--acid);
  border-radius: 6px;
  padding: 0.7rem 1rem;
  cursor: pointer;
}

.fake-form button:hover { background: var(--acid); color: #0b0b0d; }

/* ---------- Video grid (studio section) ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.video-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-alt);
}

.video-card video {
  width: 100%;
  display: block;
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-card .video-meta {
  padding: 0.9rem 1rem 1.1rem;
}

.song-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.song-grid .video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
}

/* ---------- Member grid + about us ---------- */
.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.member-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-alt);
  text-align: center;
}

.member-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.member-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--flame), var(--hazard));
  color: #0b0b0d;
}

.member-meta {
  padding: 0.9rem 1rem 1.2rem;
}

.member-meta h3 {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  margin: 0 0 0.2rem;
  color: var(--text);
}

.member-role {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--acid);
}

.member-bio {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.about-us {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.video-card h3 {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  margin: 0 0 0.3rem;
  color: var(--text);
}

.video-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.88rem;
}

footer {
  text-align: center;
  padding: 2rem 1.5rem 3rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

@media (prefers-reduced-motion: reduce) {
  .wordmark:hover::before,
  .wordmark:hover::after { animation: none; }
  .strum-arm, .bass-arm, .drum-arm-l, .drum-arm-r, .amp, .ring, .mic-arm { animation: none; }
  html { scroll-behavior: auto; }
}
