/* ==========================================================================
   MY POTENTIAL SUICIDE / slick, minimal, edgy
   --------------------------------------------------------------------------
   1. Tokens          5. Hero
   2. Base / reset    6. Sections & components
   3. Utilities       7. Page-specific
   4. Header / nav    8. Footer, media queries
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --black: #0a0a0a;
  --black-2: #0a0a0a;
  --paper: #f1f0ec;
  --red: #8f8f8f;
  --red-ink: #c7c7c7;
  --grey: #8f8f8f;
  --line: rgba(255, 255, 255, .14);
  --bg-words-opacity: .07;

  --font-head: Verdana, Geneva, 'DejaVu Sans', Tahoma, sans-serif;
  --font-body: Verdana, Geneva, 'DejaVu Sans', Tahoma, sans-serif;
  --font-logo: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --font-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --max: 1180px;
  --gutter: clamp(20px, 4vw, 48px);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch' result='noise'/%3E%3CfeColorMatrix in='noise' type='matrix' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 -0.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 2. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--black);
  background-image: var(--grain);
  background-repeat: repeat;
  background-attachment: fixed;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.05; margin: 0 0 .4em; text-transform: uppercase; letter-spacing: 0; }
.section-title, .card h3 { font-family: var(--font-logo); font-style: italic; font-weight: 400; }
h1 { font-size: clamp(2.6rem, 7.5vw, 6rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
p { margin: 0 0 1.1em; }
::selection { background: var(--red); color: var(--black); }

/* Background song-title wall (injected by main.js) */
.bg-words {
  position: fixed; inset: -5vh -5vw; z-index: -1;
  display: flex; flex-wrap: wrap; align-content: flex-start; gap: 0 .35em;
  overflow: hidden; pointer-events: none; user-select: none;
  font-family: var(--font-logo); font-style: italic; text-transform: uppercase;
  font-size: clamp(3rem, 9vw, 8rem); line-height: .95;
  color: var(--paper); opacity: var(--bg-words-opacity);
  transform: rotate(-4deg);
}
.bg-words .is-outline { color: transparent; -webkit-text-stroke: 1.5px var(--paper); }

/* 3. Utilities ---------------------------------------------------------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt-sm { margin-top: 1.5rem; }
.mt-lg { margin-top: 3rem; }
.band-photo { max-width: 600px; width: 100%; }
.about-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.ep-cover { max-width: 420px; }
.prose-w { max-width: 60ch; }
.align-center { align-items: center; }
.inline-link { text-decoration: underline; text-underline-offset: .15em; }
.video-frame { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Buttons: flat, instant, no drop-shadow theatrics */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
  padding: .85em 1.7em;
  background: transparent;
  color: inherit;
  border: 1.5px solid currentColor;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  cursor: pointer;
}
.btn:hover, .btn:focus-visible { background: var(--red); border-color: var(--red); color: var(--black); outline: none; }
.btn--red { background: var(--red); border-color: var(--red); color: var(--black); }
.btn--red:hover, .btn--red:focus-visible { background: transparent; color: var(--red); }
.btn--mono { background: var(--paper); border-color: var(--paper); color: var(--black); }
.btn--mono:hover, .btn--mono:focus-visible { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn--sm { font-size: .74rem; padding: .55em 1.1em; letter-spacing: .04em; }

/* Flat text tags, no badges or rotation */
.tag { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
.tag--red { color: var(--red); }

/* Section titles */
.section-title { display: inline-block; margin-bottom: 1.3rem; }

/* 4. Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background-color: var(--black);
  background-image: var(--grain);
  background-repeat: repeat;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: center; gap: 1rem; min-height: 64px; position: relative; }
.nav { display: flex; gap: .2rem; }
.nav a {
  font-family: var(--font-logo);
  font-style: italic;
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: .03em;
  padding: .4em .8em;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a:focus-visible { color: var(--red); outline: none; }
.nav a[aria-current="page"] { border-bottom-color: var(--red); }
.nav-toggle { display: none; background: none; border: 1px solid var(--paper); color: var(--paper); font-family: var(--font-logo); font-style: italic; font-weight: 400; font-size: .85rem; padding: .3em .7em; cursor: pointer; text-transform: uppercase; letter-spacing: .03em; }

/* 5. Hero ----------------------------------------------------------------*/
.hero {
  position: relative;
  overflow: hidden;
  background: var(--black);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem);
}
.hero--banner {
  background-image: url("../img/banner.png");
  background-size: cover;
  background-position: center 35%;
  min-height: 46vh;
  display: flex;
  align-items: center;
  text-align: center;
}
.hero--banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, .5) 0%, rgba(10, 10, 10, .75) 55%, rgba(10, 10, 10, .92) 100%);
}
.hero .wrap { position: relative; z-index: 1; width: 100%; }
.hero__logo { max-width: 760px; margin-inline: auto; }
.hero__logo img { width: 100%; filter: invert(1) brightness(1.05); transition: filter .15s ease; }

.hero__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem; margin-top: 1.8rem; }
.hero__links a { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; text-decoration: none; letter-spacing: .03em; font-size: .85rem; color: var(--paper); opacity: .55; transition: opacity .15s ease; }
.hero__links a:hover, .hero__links a:focus-visible { opacity: 1; }

/* Subtle emphasis on logo hover, no shake */
.glitch img { transition: filter .15s ease; }
.glitch:hover img { filter: invert(1) brightness(1.05) drop-shadow(3px 0 var(--red)); }

/* 6. Sections ------------------------------------------------------------*/
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; position: relative; }
.section--red { background: var(--red); color: var(--black); }
.section--stripes { background-color: var(--black-2); background-image: var(--grain); background-repeat: repeat; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.section-head p { max-width: 50ch; margin: 0; opacity: .75; }

.grid { display: grid; gap: 2rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* Card: flat, bordered only on top, no shadow */
.card {
  background: transparent;
  color: inherit;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-top-color: var(--red); transform: translateY(-2px); }
.card .tag { display: block; margin-bottom: .7rem; }
.card h3 { margin-top: .1em; }
.card .meta { font-family: var(--font-mono); font-size: .82rem; opacity: .55; margin-bottom: .9rem; letter-spacing: .02em; }

.video-frame.card:hover { transform: none; }

/* Spotify embed: raw, unframed, no card chrome beyond the hairline */
.embed { margin: .3rem 0 1rem; line-height: 0; }
.embed iframe { width: 100%; border: 0; display: block; }
.card--embed { max-width: 440px; border-top: 0; padding-top: 0; }
.card--embed:hover { transform: none; }

/* Home: latest release on the left, latest Instagram + TikTok stacked on the right */
.latest-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.latest-col, .latest-social { display: grid; gap: 2rem; }
.social-embed { max-width: 540px; }
.social-embed__body { margin: .3rem 0 1rem; }
.social-embed__body blockquote { margin: 0 !important; }
.social-embed__body iframe { max-width: 100% !important; }
.ig-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin: .3rem 0 1rem; }
.ig-tile { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--black-2); }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease, opacity .25s ease; }
.ig-tile:hover img, .ig-tile:focus-visible img { transform: scale(1.04); opacity: .8; }
.ig-tile::after { content: ""; position: absolute; inset: 0; border-bottom: 3px solid var(--red); transform: scaleX(0); transform-origin: left; transition: transform .15s ease; }
.ig-tile:hover::after, .ig-tile:focus-visible::after { transform: scaleX(1); }
.ig-tile--video::before { content: ""; position: absolute; top: .6rem; right: .6rem; z-index: 1; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #fff; filter: drop-shadow(0 0 2px rgba(0,0,0,.6)); }
.social-embed__empty { font-family: var(--font-mono); font-size: .85rem; opacity: .6; margin: 0; }

/* Release artwork: flat color block, no border noise */
.art {
  aspect-ratio: 1;
  margin-bottom: 1.1rem;
  display: grid; place-items: center;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: .02em;
  padding: 1rem;
  background: var(--black);
  color: var(--paper);
}
.art--red { background: var(--red); color: var(--black); }
.art--outline { background: var(--black); box-shadow: inset 0 0 0 1px var(--line); }
.tracklist { list-style: none; padding: 0; margin: .5rem 0 1.1rem; font-size: .9rem; font-family: var(--font-mono); }
.tracklist li { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: .4em 0; }
.tracklist li span:last-child { opacity: .55; }
.links { display: flex; flex-wrap: wrap; gap: .6rem; }

/* Show rows */
.shows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.show {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 1rem 1.5rem;
  align-items: center;
  padding: 1.2rem .4rem;
  border-bottom: 1px solid var(--line);
  transition: background-color .15s ease;
}
.show:hover { background: rgba(255, 255, 255, .03); }
.show__date { font-family: var(--font-head); font-weight: 700; font-size: 1.8rem; line-height: .95; }
.show__date small { display: block; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; opacity: .55; margin-top: .3em; }
.show__venue h3 { font-size: 1.3rem; margin: 0; }
.show__venue p { margin: .3em 0 0; font-size: .88rem; opacity: .6; }
.show--past { opacity: .4; }
.show--past .show__venue h3 { text-decoration: line-through; }
.show--soldout .btn { pointer-events: none; opacity: .5; }

/* Form fields */
.form { display: grid; gap: 1.2rem; max-width: 640px; }
.form label { display: grid; gap: .4rem; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: .82rem; }
.form input, .form textarea, .form select {
  font-family: var(--font-body);
  font-size: .95rem;
  padding: .75em .9em;
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
  width: 100%;
}
.form :focus { outline: 1.5px solid var(--red); outline-offset: 2px; }
.form textarea { min-height: 160px; resize: vertical; }
.form-note { font-size: .82rem; opacity: .6; }

/* 7. Page-specific ------------------------------------------------------ */
.page-hero { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); }
.page-hero h1 span { color: var(--red); }
.page-hero p { max-width: 55ch; font-size: 1rem; opacity: .75; }

.members { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.members li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.member__bio { flex-basis: 100%; }
.member__bio p { margin: 0 0 1rem; opacity: .85; }
.member__bio .embed { margin-bottom: 0; }
.members strong { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; }
.members span { font-family: var(--font-mono); font-size: .82rem; opacity: .6; text-transform: uppercase; letter-spacing: .04em; }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.contact-list strong { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: .8rem; }
.contact-list span { font-family: var(--font-mono); font-size: .9rem; }

/* 8. Footer & responsive ------------------------------------------------ */
.site-footer { background-color: var(--black); background-image: var(--grain); background-repeat: repeat; border-top: 1px solid var(--line); padding: 3rem 0 2rem; font-size: .88rem; }
.site-footer .wrap { display: grid; gap: 1.5rem; grid-template-columns: 1fr auto; align-items: center; }
.site-footer img { height: 26px; width: auto; margin-bottom: .9rem; filter: invert(1) brightness(1.05); }
.socials { display: flex; flex-wrap: wrap; align-items: center; gap: 1.3rem; }
.socials a { display: flex; align-items: center; gap: .5rem; text-decoration: none; position: relative; padding-bottom: 4px; opacity: .55; transition: opacity .15s ease; }
.socials svg { display: block; width: 42px; height: 42px; flex-shrink: 0; }
.social-label { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: .85rem; }
.socials a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .15s ease; }
.socials a:hover, .socials a:focus-visible { opacity: 1; }
.socials a:hover::after, .socials a:focus-visible::after { transform: scaleX(1); }
.site-footer small { display: block; opacity: .45; margin-top: 1.1rem; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .02em; }

@media (max-width: 760px) {
  .nav { display: none; position: absolute; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); top: 100%; flex-direction: column; background: var(--black); border-bottom: 1px solid var(--line); padding: .8rem var(--gutter) 1.2rem; }
  .nav.is-open { display: flex; }
  .nav a { font-size: 1.3rem; }
  .nav-toggle { display: inline-block; }
  .show { grid-template-columns: 90px 1fr; }
  .show .btn { grid-column: 2; justify-self: start; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: .2rem; }
  .about-grid { grid-template-columns: 1fr; }
  .latest-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
