:root {
  --ink: #0a0a0a;
  --paper: #ffffff;
  --muted: #5a5a5a;
  --glitch-a: #ff2d55;
  --glitch-b: #00e5ff;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.6;
}

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

/* Blend off-white image backgrounds into the page */
.hero-banner, .about-hand { mix-blend-mode: multiply; }

a { color: inherit; }

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

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

h2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
  margin: 0 0 1.25rem;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 16px;
}

.hero-banner {
  width: min(800px, 100%);
  animation: jitter 6s infinite steps(1);
}

.tagline {
  font-size: clamp(1.1rem, 2.6vw, 1.4rem);
  color: var(--muted);
  margin: 2rem 0 2.25rem;
}

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.15rem;
  text-decoration: none;
  padding: 14px 28px;
  border: 3px solid var(--ink);
  transition: transform 0.12s, box-shadow 0.12s;
}
.btn:hover, .btn:focus-visible {
  transform: translate(-3px, -3px);
  box-shadow: 3px 3px 0 var(--glitch-a), 6px 6px 0 var(--glitch-b);
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-ghost { background: var(--paper); color: var(--ink); }
.btn-invert { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ---------- Glitch word ---------- */
.glitch {
  position: relative;
  display: inline-block;
  color: var(--ink);
  font-weight: 600;
}
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  opacity: 0.8;
}
.glitch::before { color: var(--glitch-a); animation: glitch-a 3s infinite steps(1); }
.glitch::after  { color: var(--glitch-b); animation: glitch-b 3s infinite steps(1); }

@keyframes glitch-a {
  0%, 88%, 100% { transform: none; clip-path: inset(0 0 100% 0); }
  90% { transform: translate(-2px, 1px); clip-path: inset(10% 0 55% 0); }
  94% { transform: translate(2px, -1px); clip-path: inset(60% 0 5% 0); }
}
@keyframes glitch-b {
  0%, 88%, 100% { transform: none; clip-path: inset(0 0 100% 0); }
  91% { transform: translate(2px, 0); clip-path: inset(45% 0 20% 0); }
  95% { transform: translate(-2px, 1px); clip-path: inset(0 0 70% 0); }
}
@keyframes jitter {
  0%, 96%, 100% { transform: none; filter: none; }
  97% { transform: translateX(-3px); filter: drop-shadow(3px 0 0 var(--glitch-a)) drop-shadow(-3px 0 0 var(--glitch-b)); }
  98% { transform: translateX(2px); }
}

/* ---------- Watch ---------- */
.watch {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0;
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 3px solid var(--paper);
  box-shadow: 6px 6px 0 var(--glitch-a), 12px 12px 0 var(--glitch-b);
  background: #111;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.watch-more { margin: 2rem 0 0; }
.watch-more a { color: var(--paper); font-weight: 600; }

/* ---------- About ---------- */
.about { padding: 96px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: center;
}
.about p { color: #2a2a2a; max-width: 60ch; }

/* ---------- Subscribe band ---------- */
.subscribe {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 72px 0;
}

/* ---------- Song grid ---------- */
.songs-section { padding: 80px 0; }
.more-songs { padding: 0 0 80px; }
.song-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border: 3px solid var(--ink);
  background: var(--paper);
  transition: transform 0.12s, box-shadow 0.12s;
}
.card:hover, .card:focus-visible {
  transform: translate(-3px, -3px);
  box-shadow: 3px 3px 0 var(--glitch-a), 6px 6px 0 var(--glitch-b);
}
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 3px solid var(--ink); }
.card-title {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 1.3rem;
  line-height: 1.15;
  padding: 14px 14px 4px;
}
.card-meta { color: var(--muted); font-size: 0.85rem; padding: 0 14px 14px; }

/* ---------- Top bar (inner pages) ---------- */
.topbar { border-bottom: 3px solid var(--ink); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); text-transform: uppercase; font-size: 1.3rem;
  text-decoration: none; white-space: nowrap;
}
.brand img { width: 36px; height: 36px; mix-blend-mode: multiply; }
.topnav { display: flex; align-items: center; gap: 18px; }
.topnav a:not(.btn) { font-weight: 600; text-decoration: none; }
.topnav a:not(.btn):hover { text-decoration: underline; }
.btn-sm { font-size: 0.95rem; padding: 8px 16px; }

/* ---------- Song page ---------- */
h1 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(2.4rem, 7vw, 4.25rem);
  line-height: 1;
  margin: 0 0 0.75rem;
}
.song-hero { padding: 48px 0 72px; }
.crumbs { margin: 0 0 0.75rem; font-size: 0.9rem; }
.crumbs a { color: var(--paper); }
.song-sub { color: #bdbdbd; margin: 0 0 2rem; }
.song-body { padding: 72px 0; }
.prose { max-width: 720px; }
.prose p { margin: 0 0 1.1rem; overflow-wrap: anywhere; }
.prose h2 { margin-top: 2.5rem; }
.lyric-tag {
  display: block;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 1.75rem 0 0.35rem;
}

/* ---------- Footer ---------- */
.footer { padding: 28px 0; font-size: 0.9rem; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer p { margin: 0; }
.footer nav { display: flex; gap: 20px; }
.footer nav a { text-decoration: none; font-weight: 600; color: var(--ink); }
.footer nav a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .hero { min-height: 72vh; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-hand { width: 140px; margin: 0 auto; }
  .watch, .about, .songs-section, .song-body { padding: 56px 0; }
  .more-songs { padding: 0 0 56px; }
  .brand { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner, .glitch::before, .glitch::after { animation: none; }
  html { scroll-behavior: auto; }
}
