:root {
  --bg: #0e1014;
  --bg-2: #181b22;
  --bg-3: #1f232b;
  --hazard: #ffcf00;
  --hazard-dim: #c4a000;
  --ink: #f5f5f5;
  --ink-dim: #b5b5b5;
  --rule: #2a2e37;
  --cyan: #46e3ff;
  --red: #ff3b3b;
  --warn-stripe: repeating-linear-gradient(
    -45deg,
    var(--hazard) 0 14px,
    #000 14px 28px
  );
  --mono: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(1400px 700px at 85% -5%, rgba(255,207,0,0.10), transparent 60%),
    radial-gradient(1100px 600px at -5% 25%, rgba(70,227,255,0.08), transparent 60%),
    radial-gradient(900px 500px at 50% 110%, rgba(255,59,59,0.05), transparent 60%),
    linear-gradient(180deg, #11141a 0%, #0e1014 35%, #0c0e12 100%);
  min-height: 100vh;
  position: relative;
}

/* subtle film grain (SVG noise) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.35;
  z-index: 999;
  mix-blend-mode: overlay;
}

/* subtle scanlines */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.025) 0 1px,
    transparent 1px 3px
  );
  z-index: 1000;
  mix-blend-mode: overlay;
}

a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px dotted rgba(70,227,255,0.4);
}
a:hover { color: #fff; border-bottom-color: var(--cyan); }

.hazard-stripe {
  height: 14px;
  background: var(--warn-stripe);
}

/* ========== HEADER ========== */
.site-header {
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-header__brand {
  color: var(--ink);
  border-bottom: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-header__brand .dot {
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--hazard);
  box-shadow: 0 0 12px var(--hazard);
  animation: blink 1.6s steps(2) infinite;
}
@keyframes blink {
  50% { opacity: 0.2; }
}
.site-header__nav {
  display: flex;
  gap: 18px;
  color: var(--ink-dim);
}
.site-header__nav a { color: var(--ink-dim); border: none; }
.site-header__nav a:hover { color: var(--cyan); }

/* ========== BANNER ========== */
.banner {
  width: 100%;
  background: #000;
  overflow: hidden;
}
.banner img {
  width: 100%;
  height: auto;
  display: block;
  filter: contrast(1.05) saturate(0.9);
}
@media (min-width: 901px) {
  .banner img {
    max-height: 420px;
    object-fit: cover;
    object-position: center;
  }
}

/* ========== HERO (album title block, sits below banner) ========== */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 48px;
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 0 56px;
  align-items: end;
}
.hero .placard {
  grid-column: 1;
  display: inline-block;
  justify-self: start;
  align-self: end;
  color: var(--hazard);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  padding: 4px 10px;
  text-transform: uppercase;
  border: 1px solid var(--hazard);
  margin-bottom: 18px;
  width: max-content;
}
.hero__album {
  grid-column: 1;
  font-family: var(--mono);
  font-size: clamp(48px, 8.4vw, 128px);
  line-height: 0.88;
  margin: 0 0 22px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--hazard);
  text-shadow: 0 2px 0 rgba(0,0,0,0.6);
}
.hero__tagline {
  grid-column: 1;
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.45;
  color: var(--ink);
  max-width: 28ch;
  font-weight: 500;
}
.hero__sub {
  grid-column: 1;
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-dim);
  max-width: 56ch;
}
.hero__legend {
  grid-column: 2;
  grid-row: 2 / span 3;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-dim);
  border-left: 3px solid var(--hazard);
  padding: 6px 0 6px 16px;
  align-self: end;
  line-height: 1.7;
}
.hero__legend .label {
  color: var(--hazard);
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 44px 24px 32px;
  }
  .hero .placard,
  .hero__album,
  .hero__tagline,
  .hero__sub,
  .hero__legend { grid-column: 1; }
  .hero__legend {
    grid-row: auto;
    margin-top: 28px;
    align-self: start;
  }
  .hero__album { line-height: 0.92; }
}

/* ========== INTRO BLOCK ========== */
.intro {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 16px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}
.intro p {
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 16px;
  color: var(--ink);
}
.intro .legend {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-dim);
  border-left: 3px solid var(--hazard);
  padding: 4px 0 4px 14px;
}
.intro .legend .label {
  color: var(--hazard);
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

@media (max-width: 760px) {
  .intro { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; }
}

/* ========== FIELD MANUAL (SINS LIST) ========== */
.sins {
  max-width: 1200px;
  margin: 32px auto 8px;
  padding: 0 24px;
}
.sins__title {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hazard);
  margin: 0 0 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.sins__title::before {
  content: "// ";
  color: var(--ink-dim);
}
.sins__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 36px;
}
.sin-entry {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px dashed var(--rule);
}
.sin-entry:first-child,
.sin-entry:nth-child(2) {
  border-top: none;
  padding-top: 0;
}
.sin-entry__num {
  font-family: var(--mono);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  color: var(--hazard);
  letter-spacing: -0.02em;
}
.sin-entry__num::before {
  content: "0";
  color: var(--hazard-dim);
}
.sin-entry__body h3 {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 6px;
  color: var(--ink);
  font-weight: 800;
}
.sin-entry__body p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-dim);
}
.sin-entry__link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  border-bottom: none;
}
.sin-entry__link::before {
  content: "► ";
  color: var(--hazard);
}
.sin-entry__link:hover { color: var(--hazard); }

@media (max-width: 760px) {
  .sins__grid { grid-template-columns: 1fr; gap: 0; }
  .sin-entry { padding: 16px 0; border-top: 1px dashed var(--rule); }
  .sin-entry:first-child { border-top: none; padding-top: 0; }
  .sin-entry:nth-child(2) { border-top: 1px dashed var(--rule); padding-top: 16px; }
}

/* ========== TRACKS ========== */
.tracks {
  max-width: 1200px;
  margin: 32px auto 80px;
  padding: 0 24px;
  display: grid;
  gap: 28px;
}

.track-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 40%),
    var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: 2px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 8px 24px rgba(0,0,0,0.35);
  position: relative;
  overflow: hidden;
}
.track-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--hazard);
}
.track-card__art {
  width: 220px;
  height: 220px;
  background: #000;
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.track-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.track-card__art .badge {
  position: absolute;
  top: 8px; left: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  background: rgba(0,0,0,0.75);
  color: var(--hazard);
  padding: 3px 6px;
  text-transform: uppercase;
  border: 1px solid var(--hazard);
}
.track-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.track-card__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 6px;
}
.track-card__meta .sin-num {
  color: var(--hazard);
  font-weight: 700;
  margin-right: 8px;
}
.track-card__meta .sin {
  color: var(--ink-dim);
  margin-left: 6px;
}
.track-card h2 {
  font-family: var(--mono);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.05;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-weight: 800;
}
.track-card h2 a { color: var(--ink); border: none; }
.track-card h2 a:hover { color: var(--hazard); }

.track-card .oneliner {
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 16px;
  max-width: 60ch;
}

.track-card audio {
  width: 100%;
  margin-bottom: 14px;
  filter: invert(1) hue-rotate(180deg) saturate(0.6);
  border-radius: 0;
}

.track-card .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.btn {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid var(--rule);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}
.btn:hover { border-color: var(--hazard); color: var(--hazard); background: rgba(255,207,0,0.05); }
.btn--primary { border-color: var(--hazard); color: var(--hazard); }
.btn--primary:hover { background: var(--hazard); color: #000; }
.btn--lyrics[aria-expanded="true"] { color: var(--hazard); border-color: var(--hazard); }

.track-card .lyrics {
  margin-top: 18px;
  padding: 18px 0 0;
  border-top: 1px dashed var(--rule);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
  color: var(--ink);
  display: none;
}
.track-card .lyrics.open { display: block; }
.track-card .lyrics .section {
  color: var(--cyan);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.track-card .lyrics .pending {
  color: var(--ink-dim);
  font-style: italic;
}

@media (max-width: 760px) {
  .track-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .track-card__art {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    max-width: 320px;
  }
}

/* ========== TRACK PAGE ========== */
.track-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.track-page .breadcrumbs {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 24px;
}
.track-page .breadcrumbs a { color: var(--ink-dim); border: none; }
.track-page .breadcrumbs a:hover { color: var(--cyan); }

.track-hero {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 32px;
}
.track-hero__art {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #000;
  border: 1px solid var(--rule);
  overflow: hidden;
}
.track-hero__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.track-hero__meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.track-hero__meta .sin-num {
  color: var(--hazard);
  font-weight: 700;
  margin-right: 10px;
}
.track-hero h1 {
  font-family: var(--mono);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
  margin: 0 0 14px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.track-hero .sin-name {
  display: inline-block;
  background: var(--hazard);
  color: #000;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 700;
  padding: 4px 10px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.track-hero .description {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 22px;
  max-width: 60ch;
}
.track-hero audio {
  width: 100%;
  margin-bottom: 16px;
  filter: invert(1) hue-rotate(180deg) saturate(0.6);
}

@media (max-width: 760px) {
  .track-hero { grid-template-columns: 1fr; gap: 20px; }
  .track-hero__art { max-width: 360px; }
}

.track-lyrics {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.track-lyrics h2 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hazard);
  margin: 0 0 18px;
}
.track-lyrics pre {
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.7;
  white-space: pre-wrap;
  color: var(--ink);
  margin: 0;
}
.track-lyrics .section {
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.track-lyrics .pending {
  color: var(--ink-dim);
  font-style: italic;
}

.track-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  gap: 20px;
}
.track-nav a {
  color: var(--ink-dim);
  border: none;
}
.track-nav a:hover { color: var(--hazard); }
.track-nav .arrow { color: var(--hazard); }

/* ========== FOOTER ========== */
.site-footer {
  border-top: 1px solid var(--rule);
  background: linear-gradient(180deg, #0a0c10 0%, #07090d 100%);
  margin-top: 60px;
}
.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  line-height: 1.7;
}
.site-footer__inner a { color: var(--cyan); border: none; }
.site-footer__inner a:hover { color: var(--hazard); }
.site-footer .label {
  display: block;
  color: var(--hazard);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.site-footer .disclosure {
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .site-footer__inner { grid-template-columns: 1fr; }
}

/* ========== UTILITY ========== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
