/* ── Poster engine — brand flyer layout, data-driven ── */
/* Reference: 10. BRAND GUIDELINES/BRAND GUIDELINES.pdf, p.7 */

.poster-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
  background: #111;
}

.poster {
  position: relative;
  background: var(--poster-color, var(--yellow));
  color: var(--black);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(10px, 2vw, 18px);
  padding: clamp(16px, 2.5vw, 26px);
  overflow: hidden;
  font-family: var(--font-main);
}

.poster--coming {
  background: #0a0a0a;
  color: var(--white);
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.poster--coming .poster-kicker { color: rgba(255, 255, 255, 0.5); margin-bottom: 0; }
.poster--coming .poster-wordmark { color: rgba(255, 255, 255, 0.85); }

/* Finished client flyer artwork — shown whole, never cropped. */
.poster--flyer {
  padding: 0;
  background: #0a0a0a;
  min-height: 0;
  gap: 0;
}

.poster-flyer-image {
  width: 100%;
  height: auto;
  display: block;
}

.poster-flyer-tickets {
  display: block;
  padding: 14px 18px;
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
}

.poster-flyer-tickets:hover { background: var(--white); color: var(--black); }
.poster-flyer-tickets:focus-visible { outline: 3px solid var(--white); outline-offset: -6px; }

.poster-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.poster-venue {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 46%;
}

.poster-venue-name { font-weight: 800; }
.poster-venue-address { font-weight: 500; opacity: 0.7; font-size: 0.85em; text-transform: none; letter-spacing: 0; }

.poster-tickets, .poster-time { text-align: right; white-space: nowrap; }

.poster-tickets-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.poster-tickets-link:hover { opacity: 0.7; }

.poster-lineup {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.poster-lineup-group { display: flex; flex-direction: column; gap: 2px; }

.poster-lineup-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.65;
}

.poster-lineup-names {
  font-weight: 600;
  font-size: clamp(18px, 2.6vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}

.poster-mid { margin-top: auto; }

.poster-tracklist {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.poster-tracklist-item {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  counter-increment: poster-track;
}

.poster-tracklist-item::before {
  content: counter(poster-track) '. ';
  font-weight: 700;
  opacity: 0.6;
}

.poster-tracklist { counter-reset: poster-track; }

.poster-credits {
  margin: 8px 0 0;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0.7;
}

.poster-buy {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Release artwork has intentionally sparse chrome. Keep its purchase action
   anchored to the footer instead of floating halfway over the cover. */
.poster--release .poster-buy { margin-top: auto; }

.poster-buy-link {
  font-family: var(--font-main);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  border: 1.5px solid currentColor;
  padding: 4px 10px;
  transition: background 0.15s, color 0.15s;
}

.poster-buy-link:hover {
  background: var(--black);
  color: var(--white);
}

.poster-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.poster-wordmark {
  font-weight: 600;
  font-size: clamp(26px, 4.6vw, 46px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.poster-wordmark--rule { font-size: clamp(20px, 3.6vw, 36px); }

.poster-flourish {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
}

.poster-starburst { width: 84px; height: auto; fill: var(--black); flex-shrink: 0; }

.poster-script {
  font-family: 'Segoe Script', 'Bradley Hand', 'Comic Sans MS', cursive;
  font-size: 20px;
  transform: rotate(-6deg);
}

.poster-stamp {
  align-self: flex-start;
  border: 1.5px solid var(--black);
  padding: 6px 10px;
  transform: rotate(-3deg);
  max-width: 75%;
}

.poster-stamp p {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.poster-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1.5px solid rgba(0, 0, 0, 0.2);
  padding-top: 10px;
}

.poster-logo { display: flex; gap: 4px; }

.poster-logo span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 800;
  flex-shrink: 0;
}

.poster-footer-line {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: right;
}

/* Hover twinkle — subtle, brand-flavored micro-interaction */
@media (prefers-reduced-motion: no-preference) {
  .poster-starburst { transition: transform 0.3s var(--ease-spring); }
  .poster:hover .poster-starburst { transform: scale(1.08) rotate(-4deg); }
}

/* ── Catalog / grid section header ── */
/* Shared by releases.html and merch.html, which both render .catalog-header
   but only one of which loads releases.css. */
.catalog-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 28px var(--gutter) 16px;
  border-bottom: 1px solid #141414;
}

.catalog-header-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.catalog-header-sub {
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.58);
}

.catalog-header-count {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: var(--fw-semi);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── Compact list toggle (events page) ── */
.events-view-toggle {
  display: flex;
  gap: 8px;
}

.events-view-btn {
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.events-view-btn--active { background: var(--white); color: var(--black); border-color: var(--white); }

@media (max-width: 640px) {
  .poster-wall { grid-template-columns: 1fr 1fr; }

  /* `white-space: nowrap` on the time/tickets cells pushed the top row wider
     than the poster on narrow tiles. Let them wrap and shrink instead. */
  .poster-top { gap: 10px; font-size: 10px; }
  .poster-tickets, .poster-time { white-space: normal; min-width: 0; }
  .poster-venue { max-width: 55%; }

  .poster-flyer-tickets { min-height: 48px; }
}

@media (max-width: 420px) {
  .poster-wall { grid-template-columns: 1fr; }
}

@media (hover: none) {
  /* Poster hover states latch on touch — the starburst stays rotated and the
     tickets link stays at 70% after a tap. */
  .poster:hover .poster-starburst { transform: none; }
  .poster-tickets-link:hover { opacity: 1; }
  .poster-flyer-tickets:hover { background: transparent; color: inherit; }
}

@media (hover: none) {
  .poster-buy-link:hover { background: none; color: inherit; }
}
.poster-buy-link:active { opacity: 0.65; }

@media (max-width: 640px) {
  /* Buy links are the only tap target on a release tile. */
  .poster-buy-link { padding: 10px 14px; }
  .poster-buy { gap: 10px; }
}
