/*
Theme Name: Skalapeños
Theme URI: https://skalapenos.example
Author: Skalapeños
Description: One-page ska-punk theme for the Skalapeños cover band. Black/white/red poster look with photos, the original round logo and 2-tone checkerboard accents.
Version: 1.2.4
Requires at least: 6.4
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: skalapenos
*/

:root {
  --ink: #0b0b0b;
  --ink-soft: #161616;
  --paper: #ffffff;
  --red: #d21f2b;
  --check-size: 22px;
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --ease-pop: cubic-bezier(0.2, 1, 0.3, 1);
}

/* ---------- Reset-ish ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--paper);
  background: var(--ink);
  overflow-x: clip;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 0.5em;
}

/* ---------- Checkerboard accents (static) ---------- */
.checker-strip {
  /* two rows of --s × --s squares */
  --s: clamp(11px, 1.6vw, 16px);
  height: calc(var(--s) * 2);
  background: repeating-conic-gradient(var(--paper) 0% 25%, var(--ink) 0% 50%) 0
    0 / calc(var(--s) * 2) calc(var(--s) * 2);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  transition:
    background 0.3s,
    box-shadow 0.3s;
}
.site-header.is-stuck {
  background: rgba(11, 11, 11, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(244, 241, 234, 0.1);
}
.site-header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem clamp(1rem, 4vw, 2.5rem);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  text-transform: lowercase;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--paper);
  text-decoration: none;
  line-height: 1;
}
.brand__logo {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
}
.site-nav {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.75rem);
}
.site-nav a {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 0.35rem 0.1rem;
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--paper) 0 6px,
    var(--red) 6px 12px
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-pop);
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

/* ---------- Next-gig announcement bar ---------- */
.next-gig-bar {
  position: relative;
  display: flex;
  align-items: center;
  /* deep red bleed from left → pure ink */
  background: linear-gradient(90deg, #1c0408 0%, #130305 35%, var(--ink) 68%);
  border-top: 1px solid rgba(210, 31, 43, 0.25);
  overflow: hidden;
  min-height: 52px;
  max-height: 80px;
  transition:
    max-height 0.4s ease,
    opacity 0.35s ease;
}
.site-header.is-scrolled .next-gig-bar {
  max-height: 0;
  min-height: 0;
  opacity: 0;
  pointer-events: none;
}
/* slim red left-edge accent */
.next-gig-bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--red);
}
/* slide stack: all slides overlap, opacity controls visibility */
.next-gig-slides {
  flex: 1;
  min-width: 0;
  display: grid;
}
.next-gig-slide {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(0.6rem, 2vw, 1.5rem);
  padding: 0.5rem clamp(1.25rem, 4vw, 2.5rem);
  opacity: 0;
  transition: opacity 0.7s ease;
  min-width: 0;
}
.next-gig-slide.is-active {
  opacity: 1;
}

/* "NÄCHSTER GIG" pill label */
.next-gig-label {
  flex-shrink: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: var(--red);
  white-space: nowrap;
}

/* Date block: weekday + big number + month */
.next-gig-date {
  display: flex;
  align-items: center;
  gap: 0.2em;
  font-family: var(--font-display);
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}
.next-gig-wd {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  opacity: 0.65;
  text-transform: uppercase;
  margin-right: 0.1em;
}
.next-gig-num {
  font-size: clamp(1.55rem, 3.8vw, 2.1rem);
  letter-spacing: 0.01em;
  color: var(--paper);
  text-shadow:
    0 0 28px rgba(210, 31, 43, 0.55),
    0 0 56px rgba(210, 31, 43, 0.2);
}
.next-gig-mo {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  opacity: 0.65;
  text-transform: uppercase;
  margin-left: 0.05em;
}

/* thin vertical rule between date and info */
.next-gig-divider {
  flex-shrink: 0;
  align-self: stretch;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(244, 241, 234, 0.18) 30%,
    rgba(244, 241, 234, 0.18) 70%,
    transparent
  );
}

/* event title + venue */
.next-gig-info {
  display: flex;
  flex-direction: column;
  gap: 0.05em;
  min-width: 0;
  flex: 1;
  overflow: clip;
}
.next-gig-name {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(0.88rem, 2.2vw, 1.1rem);
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: clip;
  text-overflow: ellipsis;
  color: var(--paper);
}
.next-gig-venue {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: rgba(244, 241, 234, 0.55);
  white-space: nowrap;
  overflow: clip;
  text-overflow: ellipsis;
}

/* "Info →" link */
.next-gig-link {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.35em;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: rgba(244, 241, 234, 0.55);
  padding-right: clamp(0.75rem, 2vw, 1.25rem);
  transition: color 0.2s;
}
.next-gig-link svg {
  transition: translate 0.2s var(--ease-pop);
}
.next-gig-link:hover {
  color: var(--paper);
}
.next-gig-link:hover svg {
  translate: 3px 0;
}

/* slide indicator dots (right side) */
.next-gig-dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 1rem;
  flex-shrink: 0;
}
.next-gig-dot {
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: rgba(244, 241, 234, 0.2);
  transition:
    background 0.35s,
    width 0.35s var(--ease-pop);
  cursor: pointer;
}
.next-gig-dot.is-active {
  background: var(--red);
  width: 28px;
}

/* mobile adjustments */
@media (max-width: 540px) {
  .next-gig-label {
    display: none;
  }
  .next-gig-divider {
    display: none;
  }
}

/* ---------- Hero: full-bleed band photo, content bottom-left ---------- */
.hero {
  position: relative;
  /* exactly viewport height minus the checker strip so it's visible at scroll 0 */
  height: calc(100svh - clamp(22px, 3.2vw, 32px));
  display: grid;
  align-items: end;
  overflow: clip;
  /* top pad clears the fixed header (nav + optional gig bar ≈ 115px) */
  padding: clamp(9rem, 22vh, 14rem) clamp(1.25rem, 6vw, 5rem)
    clamp(3.5rem, 8vh, 6rem);
  isolation: isolate;
}
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  filter: grayscale(1) contrast(1.05) brightness(0.95);
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero__bg.is-active {
  opacity: 1;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      to top,
      var(--ink) 2%,
      rgba(11, 11, 11, 0.55) 40%,
      rgba(11, 11, 11, 0.15) 75%
    ),
    linear-gradient(
      80deg,
      rgba(11, 11, 11, 0.88) 8%,
      rgba(11, 11, 11, 0.45) 45%,
      rgba(11, 11, 11, 0.05) 80%
    );
}
.hero__inner {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  max-width: 68rem;
  width: 100%;
  margin: 0 auto;
}
.hero__logo {
  width: clamp(110px, 15vw, 190px);
  height: clamp(110px, 15vw, 190px);
  border-radius: 50%;
  border: 4px solid var(--paper);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
}
.hero__text {
  display: grid;
  gap: 1.1rem;
  justify-items: start;
  max-width: 40rem;
}
.hero__kicker {
  margin: 0;
  font-family: var(--font-display);
  text-transform: lowercase;
  letter-spacing: 0.32em;
  font-size: clamp(0.85rem, 2.2vw, 1rem);
  color: rgba(244, 241, 234, 0.85);
}
.hero__kicker .dot {
  color: var(--red);
}
.hero__title {
  margin: 0;
  font-size: clamp(2.6rem, 7.5vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-shadow: 0.05em 0.05em 0 rgba(11, 11, 11, 0.85);
}
.hero__title em {
  font-style: normal;
  color: var(--red);
  text-shadow: 0.05em 0.05em 0 var(--paper);
}
.hero__sub {
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  max-width: 36em;
  margin: 0;
  color: rgba(244, 241, 234, 0.9);
  text-wrap: balance;
}
.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Buttons: checker-wipe on hover ---------- */
.btn {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  padding: 0.85em 1.9em;
  text-decoration: none;
  border: 3px solid var(--paper);
  color: var(--paper);
  background: var(--ink);
  overflow: clip;
  isolation: isolate;
  transition:
    color 0.25s,
    border-color 0.25s,
    box-shadow 0.25s var(--ease-pop);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--paper);
  clip-path: polygon(0 0, 0 0, -20% 100%, -20% 100%);
  transition: clip-path 0.45s var(--ease-pop);
}
/* checker edge riding on the wipe front */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-conic-gradient(var(--ink) 0% 25%, transparent 0% 50%) 0
    0 / 0.8em 0.8em;
  clip-path: polygon(-20% 0, -8% 0, -28% 100%, -40% 100%);
  transition: clip-path 0.45s var(--ease-pop);
}
.btn:hover::after,
.btn:focus-visible::after {
  clip-path: polygon(118% 0, 130% 0, 110% 100%, 98% 100%);
}
.btn:hover,
.btn:focus-visible {
  color: var(--ink);
  box-shadow: 0 5px 0 var(--red);
}
.btn:hover::before,
.btn:focus-visible::before {
  clip-path: polygon(0 0, 130% 0, 110% 100%, -20% 100%);
}
.btn--red {
  background: var(--red);
  border-color: var(--red);
}
.btn--red:hover,
.btn--red:focus-visible {
  border-color: var(--paper);
}
.btn:active {
  box-shadow: 0 2px 0 var(--red);
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(3.5rem, 9vw, 7rem) clamp(1rem, 5vw, 3rem);
}
.section__inner {
  max-width: 68rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
/* Poster-style titles: skewed color block, like the flyer's date rows */
.section__title {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  display: inline-block;
  padding: 0.18em 0.55em 0.1em;
  background: var(--title-bg, var(--ink));
  color: var(--title-fg, var(--paper));
  transform: rotate(-1.5deg);
  box-shadow: 0.16em 0.16em 0 var(--title-shadow, var(--red));
}
/* Color schemes, shared by the section blocks (scheme attribute) */
.section--red {
  background: var(--red);
  color: var(--paper);
}
.section--red .section__title {
  --title-bg: var(--ink);
  --title-shadow: var(--paper);
}
.section--paper {
  background: var(--paper);
  color: var(--ink);
}
.section--paper .section__title {
  --title-bg: var(--red);
  --title-shadow: var(--ink);
}
.section--ink {
  background: var(--ink);
  color: var(--paper);
}
.section--ink .section__title {
  --title-bg: var(--red);
  --title-shadow: var(--paper);
}
.section--center {
  text-align: center;
}
.section--center .section__title {
  --title-bg: var(--ink);
  --title-shadow: var(--red);
}

/* Booking section: white so instrument white backgrounds are invisible */
#kontakt {
  background: #fff;
}

/* ---------- Checker spotlight: pattern follows the cursor ---------- */
.checker-spotlight {
  position: relative;
}
.checker-spotlight > .section__inner {
  position: relative;
  z-index: 1;
}
.checker-spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: repeating-conic-gradient(currentColor 0% 25%, transparent 0% 50%)
    0 0 / 40px 40px;
  opacity: 0;
  -webkit-mask-image: radial-gradient(
    240px circle at var(--sx, 50%) var(--sy, 50%),
    #000 25%,
    transparent 95%
  );
  mask-image: radial-gradient(
    240px circle at var(--sx, 50%) var(--sy, 50%),
    #000 25%,
    transparent 95%
  );
  transition: opacity 0.35s ease;
}
@media (hover: hover) and (pointer: fine) {
  .checker-spotlight:hover::after {
    opacity: 0.13;
    animation: checker-drift 3s linear infinite;
  }
}
@keyframes checker-drift {
  to {
    background-position: 80px 0;
  }
}

/* ---------- Gig list (poster rows) ---------- */
.gig-list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.gig {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem 1.4rem;
  padding: 1rem 1.3rem;
  background: var(--ink);
  color: var(--paper);
  border: 3px solid var(--ink);
  overflow: clip;
  isolation: isolate;
  transition:
    transform 0.3s var(--ease-pop),
    box-shadow 0.3s var(--ease-pop);
}
.gig--alt {
  background: var(--paper);
  color: var(--ink);
}
.gig:hover,
.gig:focus-within {
  transform: translateY(-3px) rotate(-0.4deg);
  box-shadow: 6px 6px 0 rgba(11, 11, 11, 0.85);
}
.gig:hover .gig__day,
.gig:focus-within .gig__day {
  color: var(--red);
}
.gig__date {
  display: grid;
  text-align: center;
  min-width: 6.5ch;
}
.gig__day {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  line-height: 1;
  transition: color 0.25s;
}
.gig__year {
  font-size: 0.78rem;
  opacity: 0.75;
  letter-spacing: 0.05em;
}
.gig__title {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.05rem, 3.4vw, 1.5rem);
  line-height: 1.15;
}
.gig__venue {
  display: block;
  font-size: 0.9rem;
  opacity: 0.8;
}
.gig__link {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  border: 2px solid currentColor;
  padding: 0.4em 0.9em;
  text-decoration: none;
  transition:
    background 0.25s,
    color 0.25s;
}
.gig:not(.gig--alt) .gig__link:hover {
  background: var(--paper);
  color: var(--ink);
}
.gig--alt .gig__link:hover {
  background: var(--ink);
  color: var(--paper);
}
.gigs-empty {
  margin-top: 2rem;
  font-size: 1.15rem;
}
.gigs-subscribe {
  margin-top: 2rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* ====================================================================
   CHILI PEPPER CONFETTI (used in Die Band section)
   ==================================================================== */
.chili-canvas__layer {
  position: absolute;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}

/* Each pepper: wrapper handles mouse repulsion, img handles float animation */
.chili-pepper {
  position: absolute;
  pointer-events: none;
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
  transition: transform 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.chili-pepper img {
  display: block;
  width: var(--w, 32px);
  height: auto;
  opacity: var(--op, 0.9);
  will-change: transform;
  animation: chili-float var(--dur, 14s) var(--del, 0s) ease-in-out infinite;
}
@keyframes chili-float {
  0% {
    transform: translate3d(0, 0, 0) rotate(var(--r, 0deg));
  }
  22% {
    transform: translate3d(var(--tx, 8px), calc(var(--ty, -12px) * 0.45), 0)
      rotate(calc(var(--r, 0deg) + var(--dr, 5deg)));
  }
  60% {
    transform: translate3d(calc(var(--tx, 8px) * -0.35), var(--ty, -12px), 0)
      rotate(calc(var(--r, 0deg) - var(--dr, 5deg) * 0.5));
  }
  85% {
    transform: translate3d(
        calc(var(--tx, 8px) * 0.15),
        calc(var(--ty, -12px) * -0.2),
        0
      )
      rotate(calc(var(--r, 0deg) + var(--dr, 5deg) * 0.2));
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(var(--r, 0deg));
  }
}
@media (prefers-reduced-motion: reduce) {
  .chili-pepper img {
    animation: none;
  }
}

/* ---------- Media section ---------- */
.media-section {
  padding: 0;
}
.media__inner {
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1rem, 5vw, 3rem);
  max-width: 68rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Chessboard image grid — base rules (all breakpoints) */
.media-chess {
  display: grid;
}
.media-chess__tile {
  aspect-ratio: 1;
  overflow: hidden;
  transition: filter 0.38s ease;
  cursor: zoom-in;
  /* All tiles start as very-bright BW; dark squares override per breakpoint.
     Background shows through while the image is still loading, so the
     checkerboard pattern is already visible before images arrive. */
  filter: grayscale(1) brightness(1.2) contrast(0.85);
  background-color: #fff;
}
.media-chess__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.media-chess__tile:hover img {
  transform: scale(1.05);
}
.media-chess__tile:hover {
  filter: none !important;
}

/* Desktop ≥901px — 8 columns
   8-col chessboard dark squares: cycle of 16, positions 1,3,5,7,10,12,14,16 */
@media (min-width: 901px) {
  .media-chess {
    grid-template-columns: repeat(8, 1fr);
  }
  .media-chess__tile:nth-child(16n + 1),
  .media-chess__tile:nth-child(16n + 3),
  .media-chess__tile:nth-child(16n + 5),
  .media-chess__tile:nth-child(16n + 7),
  .media-chess__tile:nth-child(16n + 10),
  .media-chess__tile:nth-child(16n + 12),
  .media-chess__tile:nth-child(16n + 14),
  .media-chess__tile:nth-child(16n) {
    filter: grayscale(1) brightness(0.25) contrast(1.2);
    background-color: #000;
  }
}

/* Tablet 541px–900px — 4 columns
   4-col chessboard dark squares: cycle of 8, positions 1,3,6,8 */
@media (min-width: 541px) and (max-width: 900px) {
  .media-chess {
    grid-template-columns: repeat(4, 1fr);
  }
  .media-chess__tile:nth-child(8n + 1),
  .media-chess__tile:nth-child(8n + 3),
  .media-chess__tile:nth-child(8n + 6),
  .media-chess__tile:nth-child(8n) {
    filter: grayscale(1) brightness(0.25) contrast(1.2);
    background-color: #000;
  }
}

/* Mobile ≤540px — 2 columns
   2-col chessboard dark squares: cycle of 4, positions 1,4 */
@media (max-width: 540px) {
  .media-chess {
    grid-template-columns: repeat(2, 1fr);
  }
  .media-chess__tile:nth-child(4n + 1),
  .media-chess__tile:nth-child(4n) {
    filter: grayscale(1) brightness(0.25) contrast(1.2);
    background-color: #000;
  }
}

/* Video poster wall: scroll-snap carousel — swipe on touch, arrows/dots on
   desktop. Each video is a tilted "gig poster": white frame, hard red shadow,
   red number sticker. Cards are narrower than the container so the next one
   peeks in as a cue. */
.media-videos__track {
  /* Positioned so the slider JS can use card.offsetLeft relative to the
     track (offsetParent) for its centering math. */
  position: relative;
  display: flex;
  gap: clamp(1.25rem, 3.5vw, 2.5rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Full-bleed scrollport: stretch to the viewport edges so cards are only
     ever clipped at the screen edge, never mid-page at the 68rem column.
     The inline padding is exactly the leftover space next to one centered
     card, so the first/last card can snap to dead center too. Vertical
     padding leaves room for the sticker and red shadow. */
  margin: -0.5rem calc(50% - 50vw) 0;
  padding: 1.5rem calc((100vw - min(86vw, 42rem)) / 2) 1.25rem;
  scroll-padding-inline: calc((100vw - min(86vw, 42rem)) / 2);
}
.media-videos__track::-webkit-scrollbar {
  display: none;
}
.media-videos__card {
  flex: 0 0 min(86vw, 42rem);
  min-width: 0;
  scroll-snap-align: center;
  transition:
    opacity 0.3s ease,
    scale 0.35s var(--ease-pop);
}
/* Slider focus: once JS is running (.is-ready), the centered card is full
   strength and its neighbors step back. */
.media-videos.is-ready .media-videos__card:not(.is-active) {
  opacity: 0.45;
  scale: 0.96;
}
.media-videos--single .media-videos__card {
  flex-basis: 100%;
}
.media-videos__frame {
  position: relative;
  background: #000;
  border: 6px solid var(--paper);
  box-shadow: 12px 12px 0 var(--red);
}
.media-videos__badge {
  position: absolute;
  top: -1.1rem;
  left: -1.1rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  background: var(--red);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.35rem;
  rotate: -6deg;
  box-shadow: 3px 3px 0 var(--ink);
}
.media-videos__video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
}
.media-videos__meta {
  margin-top: 0.75rem;
  padding-right: 0.75rem;
}
.media-videos__title {
  display: inline-block;
  font-size: 1.1rem;
  margin: 0 0 0.2em;
  padding: 0.1em 0.45em;
  background: var(--red);
}
.media-videos__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}
.media-videos__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 0.5rem;
}
.media-videos__arrow {
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: none;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s,
    opacity 0.2s;
}
.media-videos__arrow:hover:not(:disabled) {
  border-color: var(--red);
  background: var(--red);
}
.media-videos__arrow:disabled {
  opacity: 0.3;
  cursor: default;
}
.media-videos__dots {
  display: flex;
  gap: 0.6rem;
}
.media-videos__dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.25s var(--ease-pop);
}
.media-videos__dot.is-active {
  background: var(--red);
  border-color: var(--red);
  transform: rotate(45deg);
}

/* ---------- Lightbox ---------- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.lb[hidden] { display: none; }
.lb.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lb__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
  cursor: zoom-out;
}
.lb__stage {
  position: relative;
  z-index: 1;
}
.lb__img {
  display: block;
  max-width: min(90vw, 1400px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.8);
}
.lb__close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  z-index: 2;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  padding: 0.25rem 0.5rem;
}
.lb__close:hover { opacity: 1; }
.lb__prev,
.lb__next {
  position: fixed;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s, background 0.2s;
  padding: 0.65rem 1rem;
  border-radius: 2px;
}
.lb__prev { left: 1rem; }
.lb__next { right: 1rem; }
.lb__prev:hover,
.lb__next:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.14);
}
.lb__prev:disabled,
.lb__next:disabled {
  opacity: 0.15;
  cursor: default;
  pointer-events: none;
}

/* ---------- Band / About ---------- */
.band-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 2.5rem;
  align-items: center;
}
@media (min-width: 800px) {
  .band-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
.band-photo {
  margin: 0;
  border: 4px solid var(--ink);
  box-shadow: 10px 10px 0 var(--red);
}
.band-photo img {
  width: 100%;
  object-fit: cover;
}
.band-photo__slides {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: clip;
}
.band-photo__slides img {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.band-photo__slides img.is-active {
  opacity: 1;
}
.band-facts {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.band-facts li {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  border: 2px solid var(--ink);
  padding: 0.35em 0.8em;
  border-radius: 999px;
}

/* ---------- Past shows (posts) ---------- */
.show-grid {
  display: grid;
  gap: 1.4rem;
  margin-top: 2.5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
}
.show-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ink-soft);
  border: 3px solid var(--paper);
  text-decoration: none;
  color: var(--paper);
  overflow: clip;
  transition:
    transform 0.3s var(--ease-pop),
    box-shadow 0.3s var(--ease-pop);
}
.show-card:hover {
  transform: translateY(-5px);
  box-shadow: 7px 8px 0 var(--red);
}
.show-card__media {
  aspect-ratio: 16 / 10;
  overflow: clip;
  border-bottom: 3px solid var(--paper);
}
.show-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition:
    filter 0.4s,
    transform 0.5s var(--ease-pop);
}
.show-card:hover .show-card__media img {
  filter: grayscale(0);
  transform: scale(1.04);
}
.show-card__media--fallback {
  display: grid;
  place-items: center;
  background: repeating-conic-gradient(
      var(--ink-soft) 0% 25%,
      var(--ink) 0% 50%
    )
    0 0 / 30px 30px;
}
.show-card__media--fallback img {
  width: 45%;
  height: auto;
  border-radius: 50%;
  border: 3px solid var(--paper);
  filter: none;
}
.show-card__body {
  padding: 1.1rem 1.2rem 1.3rem;
  display: grid;
  gap: 0.4rem;
}
.show-card__date {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  font-family: var(--font-display);
}
.show-card__title {
  font-size: 1.25rem;
  margin: 0;
}
.show-card__excerpt {
  font-size: 0.92rem;
  opacity: 0.8;
  margin: 0;
}

/* ---------- Contact / Footer ---------- */
.contact-mail {
  font-family: var(--font-display);
  text-transform: lowercase;
  font-size: clamp(1.3rem, 5vw, 2.4rem);
  text-decoration: none;
  border-bottom: 4px solid var(--red);
  transition:
    background 0.25s,
    color 0.25s;
}
.contact-mail:hover {
  background: var(--ink);
  color: var(--paper);
}
.site-footer {
  background: var(--ink);
  text-align: center;
  padding: 0 0 6rem;
}
.site-footer .checker-strip {
  margin-bottom: 3rem;
}
.social-row {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin: 2rem 0 0;
  flex-wrap: wrap;
}
.social-row a {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border: 3px solid currentColor;
  border-radius: 50%;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.social-row a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
}
.footer-note {
  font-size: 0.85rem;
  opacity: 0.6;
  padding: 0 1rem;
}

.shows-more {
  margin-top: 2.5rem;
}

/* ---------- Single post / archive ---------- */
.page-plain {
  padding: clamp(9rem, 20vh, 12rem) clamp(1rem, 5vw, 3rem) 4rem;
  max-width: 46rem;
  margin: 0 auto;
}
.page-plain--wide {
  max-width: 68rem;
}
.page-plain--wide .section__title {
  --title-bg: var(--red);
  --title-shadow: var(--paper);
}
.pagination {
  margin-top: 3rem;
}
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pagination .page-numbers {
  display: inline-block;
  min-width: 2.6em;
  text-align: center;
  padding: 0.5em 0.7em;
  text-decoration: none;
  border: 2px solid var(--paper);
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.pagination .page-numbers.current {
  background: var(--red);
  border-color: var(--red);
}
.pagination a.page-numbers:hover {
  background: var(--paper);
  color: var(--ink);
}
.pagination .page-numbers.dots {
  border: none;
  min-width: auto;
}
.page-plain img {
  border: 3px solid var(--paper);
}
.entry-meta {
  color: var(--red);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
}
.entry-content .photo-grid {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
}
.entry-content .photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
}
.entry-content .credit {
  font-size: 0.85rem;
  opacity: 0.7;
}
.back-link {
  display: inline-block;
  margin-top: 3rem;
}

/* ---------- Reveal-on-scroll (subtle) ----------
   The hidden start state only applies once the front-end script has stamped
   html.js-reveal, so content stays visible in the block editor (which loads
   this file as editor style but not main.js) and for no-JS visitors. */
html.js-reveal [data-reveal] {
  opacity: 0;
  translate: 0 14px;
  transition:
    opacity 0.55s ease,
    translate 0.55s var(--ease-pop);
}
html.js-reveal [data-reveal].is-visible {
  opacity: 1;
  translate: 0 0;
}
[data-reveal-group] > :nth-child(2) {
  transition-delay: 0.06s;
}
[data-reveal-group] > :nth-child(3) {
  transition-delay: 0.12s;
}
[data-reveal-group] > :nth-child(n + 4) {
  transition-delay: 0.18s;
}

/* ---------- Mobile dock nav ---------- */
.dock {
  position: fixed;
  z-index: 110;
  left: 50%;
  bottom: max(0.8rem, env(safe-area-inset-bottom));
  translate: -50% 0;
  display: flex;
  gap: 0.25rem;
  background: rgba(11, 11, 11, 0.88);
  border: 2px solid var(--paper);
  border-radius: 999px;
  padding: 0.3rem 0.4rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.dock a {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--paper);
  padding: 0.55em 1em;
  border-radius: 999px;
  transition:
    background 0.25s,
    color 0.25s;
}
.dock a.is-active,
.dock a:active {
  background: var(--red);
}
@media (min-width: 800px) {
  .dock {
    display: none;
  }
  .site-footer {
    padding-bottom: 3rem;
  }
}
@media (max-width: 799.98px) {
  .site-nav {
    display: none;
  }
}

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html.js-reveal [data-reveal] {
    opacity: 1;
    translate: 0 0;
  }
}
