/* =========================================================================
   POLYJAMOROUS — POSTER EDITION
   Screen-printed gig-flyer aesthetic. Kraft paper, bold ink, halftone
   texture, ticket-stub detailing, rubber-stamp badges. Same brand palette
   as the editorial site, applied like spot-color poster inks instead of
   a glow gradient.
   ========================================================================= */
:root {
  --paper:        #ECE1C8;
  --paper-shadow: #D8C9A3;
  --ink:          #201810;
  --ink-soft:     #4A3D30;

  --red:          #ED1C24;
  --magenta:      #EF3C6B;
  --purple:       #662D91;

  --font-display: 'Anton', sans-serif;
  --font-body:    'Archivo', sans-serif;
  --font-mono:    'Space Mono', monospace;
  --font-hand:    'Caveat', cursive;

  --radius: 3px;
  --max-width: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  background-image:
    radial-gradient(rgba(32,24,16,0.05) 1px, transparent 1px);
  background-size: 3px 3px;
  position: relative;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  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>");
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- shared type ---------- */
.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
  margin: 0 0 0.6rem;
  font-weight: 700;
}
.section-kicker--center { text-align: center; }

.poster-h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: 0.005em;
  margin: 0 0 1.3rem;
}
.poster-h2--center { text-align: center; }

.drop-cap {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 0.7;
  float: left;
  padding: 0.08em 0.08em 0 0;
  color: var(--red);
}

/* ---------- perforated tear divider ---------- */
.tear {
  height: 22px;
  background:
    radial-gradient(circle at 12px 0, transparent 11px, var(--paper) 11.5px) 0 -11px / 24px 22px repeat-x;
  position: relative;
}
.tear::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  border-top: 2px dashed var(--ink-soft);
  opacity: 0.35;
}
.tear--flip {
  transform: scaleY(-1);
}

/* ---------- ticket-stub buttons ---------- */
.stub-btn {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--paper);
  transition: transform 0.15s ease;
}
.stub-btn:hover { transform: translateY(-2px); }
.stub-btn__main { padding: 0.9rem 1.1rem; }
.stub-btn__stub {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.8rem;
  background: var(--ink);
  color: var(--paper);
  border-left: 2.5px dashed var(--paper);
}
.stub-btn--fill { background: var(--red); color: var(--paper); }
.stub-btn--fill .stub-btn__stub { background: var(--purple); border-left-color: var(--paper); }
.stub-btn--small { font-size: 0.72rem; }
.stub-btn--small .stub-btn__main { padding: 0.65rem 0.85rem; }

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

@media (max-width: 560px) {
  .hero__actions { flex-direction: column; width: 100%; }
  .stub-btn { width: 100%; }
  .stub-btn__main { flex: 1; }
}

.genre-box {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 2.4rem auto 0;
  padding: 0.6rem 1.1rem;
  border: 2px solid var(--ink-soft);
  border-radius: var(--radius);
  background: rgba(236,225,200,0.5);
}
.genre-box__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--magenta);
  border-right: 2px solid var(--ink-soft);
  padding-right: 0.7rem;
}
.genre-box__tags {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}
@media (max-width: 560px) {
  .genre-box { flex-direction: column; gap: 0.3rem; text-align: center; }
  .genre-box__label { border-right: none; padding-right: 0; }
}

/* ---------- rubber stamp button ---------- */
.rubber-stamp {
  display: inline-block;
  margin: 1.8rem 0 2rem;
  padding: 1rem 1.8rem;
  border: 3px solid var(--purple);
  border-radius: 6px;
  transform: rotate(-2deg);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--purple);
  position: relative;
}
.rubber-stamp::before {
  content: "✦";
  position: absolute;
  top: -14px;
  left: 16px;
  background: var(--paper);
  padding: 0 6px;
  font-size: 0.9rem;
}
.rubber-stamp:hover { transform: rotate(0deg); }

/* =========================================================================
   NEXT SHOW BANNER
   ========================================================================= */
.show-banner {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 1.25rem;
  background: var(--purple);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  border-bottom: 3px dashed var(--paper);
}
.show-banner__inner { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.show-banner__label { font-weight: 700; text-transform: uppercase; }
.show-banner__link { font-weight: 700; text-decoration: underline; white-space: nowrap; }
.show-banner__close {
  position: relative;
  background: none; border: none; color: var(--paper);
  font-size: 1rem; cursor: pointer; opacity: 0.75; padding: 0.2rem 0.4rem;
  flex-shrink: 0;
}
.show-banner__close::before {
  content: "";
  position: absolute;
  inset: -12px;
}
.show-banner__close:hover { opacity: 1; }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
}
.nav__mark { flex-shrink: 0; }
.nav__logo { height: 34px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  flex: 1;
  justify-content: flex-end;
}
.nav__scroll {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.nav__scroll::-webkit-scrollbar { display: none; }
.ticket-tab {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.6rem 0.75rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  white-space: nowrap;
  flex-shrink: 0;
}
.ticket-tab:hover { border-color: var(--ink); }
.ticket-tab--accent { background: var(--red); color: var(--paper); border-color: var(--ink); }
.ticket-tab--accent:hover { background: var(--magenta); }

@media (max-width: 760px) {
  .nav__scroll { gap: 0.35rem; }
  .ticket-tab { padding: 0.55rem 0.6rem; font-size: 0.66rem; }
}

@media (max-width: 480px) {
  .nav { padding: 0.85rem 1rem; gap: 0.5rem; }
  .nav__logo { height: 28px; }
  .ticket-tab { padding: 0.5rem 0.55rem; font-size: 0.62rem; }
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  padding: 5rem 1.5rem 5.5rem;
  text-align: center;
  overflow: hidden;
  border-bottom: 3px solid var(--ink);
}
.hero__halftone {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--purple) 1.6px, transparent 1.6px);
  background-size: 14px 14px;
  opacity: 0.12;
  pointer-events: none;
}
.hero__vinyl-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(780px, 130vw);
  height: min(780px, 130vw);
  transform: translate(-50%, -50%);
  opacity: 0.16;
  pointer-events: none;
}
.hero__content { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.ticket-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 1.6rem;
}
.hero__logo { width: min(520px, 84vw); margin: 0 auto 1.8rem; }

.hero__logo-wrap {
  position: relative;
  width: min(520px, 84vw);
  margin: 0 auto 1.8rem;
}
.hero__logo-wrap .hero__logo {
  position: relative;
  z-index: 4;
  width: 100%;
  margin: 0;
}
.hero__logo-echo {
  position: absolute;
  inset: 0;
  display: block;
  -webkit-mask-image: url('../assets/logo.png');
  mask-image: url('../assets/logo.png');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.hero__logo-echo--1 { background: var(--purple); opacity: 0.55; transform: translate(-26px, 0); z-index: 1; }
.hero__logo-echo--2 { background: var(--magenta); opacity: 0.6; transform: translate(-17px, 0); z-index: 2; }
.hero__logo-echo--3 { background: var(--red); opacity: 0.7; transform: translate(-8px, 0); z-index: 3; }

@media (max-width: 640px) {
  .hero__logo-echo--1 { transform: translate(-14px, 0); }
  .hero__logo-echo--2 { transform: translate(-9px, 0); }
  .hero__logo-echo--3 { transform: translate(-4px, 0); }
}
.hero__deck {
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 auto 2.2rem;
}

.hero__stamp {
  position: absolute;
  top: 28px;
  right: clamp(1rem, 4vw, 3.5rem);
  width: 108px;
  height: 108px;
  color: var(--red);
  transform: rotate(-6deg);
  z-index: 3;
  opacity: 0.92;
}
.stamp-svg { width: 100%; height: 100%; }
.stamp-svg text { font-family: var(--font-mono); font-weight: 700; }
.stamp-svg__center { font-family: var(--font-display); }

@media (max-width: 640px) {
  .hero__stamp { width: 76px; height: 76px; top: 14px; right: 14px; }
}

/* =========================================================================
   BILL (setlist)
   ========================================================================= */
.bill {
  padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 4vw, 3rem);
  max-width: var(--max-width);
  margin: 0 auto;
}
.bill__masthead {
  background: linear-gradient(115deg, var(--red) 0%, var(--magenta) 45%, var(--purple) 100%);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.6rem clamp(1.2rem, 4vw, 2.2rem);
  margin-bottom: 2rem;
  transform: rotate(-0.6deg);
}
.section-kicker--onmast { color: var(--paper); opacity: 0.9; }
.poster-h2--onmast { color: var(--paper); margin: 0; text-shadow: 2px 2px 0 rgba(0,0,0,0.18); }
.bill__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2.5px solid var(--ink);
}
.bill__list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0.2rem;
  border-bottom: 2.5px dashed var(--ink-soft);
}
.bill__list li:nth-child(even) { background: rgba(102,45,145,0.06); }
.bill__num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--magenta);
  width: 2.2rem;
  flex-shrink: 0;
}
.bill__song {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  flex: 1;
}
.bill__artist {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-align: right;
}
.bill__footnote {
  margin: 1.4rem 0 0;
  font-family: var(--font-hand);
  font-size: 1.35rem;
  color: var(--purple);
  transform: rotate(-1deg);
}

/* =========================================================================
   ABOUT
   ========================================================================= */
.about {
  padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 4vw, 3rem);
  max-width: var(--max-width);
  margin: 0 auto;
}
.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about__photo { position: relative; }
.vinyl-record {
  width: 100%;
  border: 3px solid var(--ink);
  border-radius: 50%;
  transform: rotate(-3deg);
  display: block;
  box-shadow: 6px 6px 0 var(--paper-shadow);
}
.about__photo-tape {
  position: absolute;
  width: 70px;
  height: 26px;
  background: rgba(236,225,200,0.85);
  border: 1px solid rgba(32,24,16,0.25);
  z-index: 2;
}
.about__photo-tape--l { top: -12px; left: 20px; transform: rotate(-8deg); }
.about__photo-tape--r { bottom: -12px; right: 20px; transform: rotate(6deg); }

.about__lead { font-size: 1.08rem; overflow: hidden; }
.about__text { color: var(--ink-soft); }

@media (max-width: 800px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 280px; margin: 0 auto; order: -1; }
}

/* =========================================================================
   SOUND
   ========================================================================= */
.sound {
  padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 4vw, 3rem);
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
.sound .section-kicker { color: var(--magenta); }
.sound__intro { max-width: 56ch; margin: 0 auto 2.4rem; color: #C9BEB0; }
.sound__frame {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 14px;
  background: var(--paper);
}
.sound__frame iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 2px solid var(--ink);
  display: block;
}
.sound__corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 3px solid var(--red);
}
.sound__corner--tl { top: -3px; left: -3px; border-right: none; border-bottom: none; }
.sound__corner--tr { top: -3px; right: -3px; border-left: none; border-bottom: none; }
.sound__corner--bl { bottom: -3px; left: -3px; border-right: none; border-top: none; }
.sound__corner--br { bottom: -3px; right: -3px; border-left: none; border-top: none; }
.sound__channel-link {
  display: inline-block;
  margin-top: 1.8rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--magenta);
  border-bottom: 1px solid var(--magenta);
}

/* =========================================================================
   SHOWS
   ========================================================================= */
.shows {
  padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 4vw, 3rem);
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.shows__content { margin: 1.8rem 0 2.2rem; }
.shows__follow { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

.stub {
  display: grid;
  grid-template-columns: 1fr auto 90px;
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  text-align: left;
  overflow: hidden;
}
.stub__main { padding: 1.3rem 1.4rem; }
.stub__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--magenta);
  margin: 0 0 0.4rem;
  font-weight: 700;
}
.stub__title { font-family: var(--font-display); font-size: 1.2rem; text-transform: uppercase; margin: 0 0 0.35rem; line-height: 1.15; }
.stub__sub { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
.stub__perf {
  width: 0;
  border-left: 2.5px dashed var(--ink);
}
.stub__side {
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stub__vert {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--paper);
  padding: 0.8rem 0;
}

@media (max-width: 480px) {
  .stub, .event-card { grid-template-columns: 1fr auto 56px; }
  .stub__main, .event-card__main { padding: 1.1rem 1rem; }
  .stub__title, .event-card__name { font-size: 1.05rem; }
  .stub__vert { font-size: 0.6rem; letter-spacing: 0.1em; }
}

.event-card {
  display: grid;
  grid-template-columns: 1fr auto 90px;
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  text-align: left;
  overflow: hidden;
}
.event-card__main { padding: 1.3rem 1.4rem; }
.event-card__date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--magenta);
  font-weight: 700;
  display: block;
  margin-bottom: 0.35rem;
}
.event-card__name { font-family: var(--font-display); font-size: 1.3rem; text-transform: uppercase; display: block; margin-bottom: 0.7rem; }
.event-card__cta { display: inline-block; }

/* =========================================================================
   BOOK
   ========================================================================= */
.book {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 4vw, 3rem);
  text-align: center;
}
.book__stamp-wrap { max-width: 640px; margin: 0 auto; }
.book__text { color: var(--ink-soft); max-width: 50ch; margin: 0 auto; }
.book__socials {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.book__socials .dot { color: var(--magenta); padding: 0 0.6rem; }
.book__socials a:hover { color: var(--purple); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  padding: 0 1.5rem 2.5rem;
  text-align: center;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: var(--paper);
}
.footer__logo { height: 22px; width: auto; margin: 1.6rem auto 1rem; opacity: 0.75; }
