:root {
  --bg: #f5ecd9;
  --ink: #1a1815;
  --orange: #d8451d;
  --display: "Anton", "Bebas Neue", "Oswald", Impact, sans-serif;
  --serif: "Newsreader", "Source Serif 4", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
iframe { color-scheme: normal; }

a { color: inherit; }

/* Mobile-first defaults */
:root {
  --pad: 22px;
  --gap: 26px;
  --max: 9999px;
}

@media (min-width: 760px) {
  :root {
    --pad: 56px;
    --gap: 52px;
    --max: 1180px;
  }
}

.caps {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* ── ORANGE STRIP ─────────────────────── */
.strip {
  background: var(--orange);
  color: var(--bg);
  padding: 12px var(--pad);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
}
@media (min-width: 760px) { .strip { font-size: 11px; } }
.strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── HERO ─────────────────────────────── */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-bg-base {
  position: absolute;
  inset: 0;
  background: var(--bg);
  z-index: 1;
}
.hero-bg-photo {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: url("assets/band3.jpeg");
  background-size: cover;
  background-position: center 30%;
  filter: grayscale(1) contrast(1.25) brightness(1.05);
  mix-blend-mode: multiply;
  opacity: 0.55;
}
.hero-bg-wash {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg,
    rgba(245,236,217,0) 0%,
    rgba(245,236,217,0) 30%,
    rgba(245,236,217,.55) 60%,
    rgba(245,236,217,.95) 100%);
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--gap) var(--pad);
  position: relative;
}

.hero-title {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0;
  color: var(--ink);
}
.hero-title-desktop { display: none; }
.hero-title-mobile {
  display: inline;
  font-size: 130px;
  line-height: 0.88;
}
@media (min-width: 760px) {
  .hero-title-desktop {
    display: inline;
    font-size: clamp(96px, 18vw, 220px);
    line-height: 1;
    white-space: nowrap;
    padding-bottom: 18px;
  }
  .hero-title-mobile { display: none; }
}

.hero-rule {
  height: 4px;
  background: var(--orange);
  width: 60%;
  margin: 14px 0 16px;
}
@media (min-width: 760px) {
  .hero-rule {
    height: 6px;
    width: 320px;
    margin: 10px 0 28px;
  }
}

.hero-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@media (min-width: 760px) {
  .hero-stack {
    flex-direction: row;
    align-items: center;
    gap: 64px;
    flex-wrap: wrap;
  }
}

.hero-tagline {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  font-style: italic;
  max-width: 320px;
  color: var(--ink);
}
@media (min-width: 760px) {
  .hero-tagline {
    font-size: 30px;
    max-width: 520px;
  }
}

.hero-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
@media (min-width: 760px) {
  .hero-buttons { gap: 10px; }
}

.btn {
  flex: 0 1 auto;
  text-align: center;
  padding: 12px 14px;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: -0.005em;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid var(--ink);
  line-height: 1;
  white-space: nowrap;
  transition: box-shadow 150ms ease, transform 150ms ease, background-color 150ms ease, color 150ms ease;
}
.btn-arrow {
  font-family: var(--mono);
  font-size: 0.78em;
  vertical-align: 0.05em;
  letter-spacing: 0;
}
@media (min-width: 760px) {
  .btn {
    flex: 0 0 auto;
    padding: 16px 24px;
    font-size: 22px;
  }
}
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-outline { background: transparent; color: var(--ink); }
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--orange);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--bg);
}

/* sticker — mobile only */
.sticker {
  position: absolute;
  top: 18px;
  right: var(--pad);
  transform: rotate(8deg);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #fff3c2;
  border: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  box-shadow: 4px 4px 0 var(--ink);
}
@media (min-width: 760px) { .sticker { display: none; } }
.sticker-eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 8px;
  color: var(--orange);
  font-weight: 700;
}
.sticker-title {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 14px;
  line-height: 0.95;
  margin-top: 2px;
}
.sticker-stars {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.16em;
  margin-top: 4px;
  opacity: 0.7;
}

/* ── SECTIONS (shared) ────────────────── */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--gap) var(--pad) 0;
}

.section-eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--orange);
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0 0 22px;
  font-size: 56px;
  line-height: 0.88;
}
@media (min-width: 760px) { .section-title { font-size: 96px; } }

/* ── SHOWS ────────────────────────────── */
.show {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid rgba(26,24,21,.18);
  color: var(--ink);
}
@media (min-width: 760px) {
  .show { gap: 28px; padding: 26px 0; }
}
.show.first { border-top: 2px solid var(--ink); }
.show.last { border-bottom: 2px solid var(--ink); }

.show-date {
  border-right: 1px solid rgba(26,24,21,.25);
  padding-right: 12px;
  white-space: nowrap;
}
@media (min-width: 760px) { .show-date { padding-right: 22px; } }

.show-day {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--orange);
  font-size: 9px;
}
@media (min-width: 760px) { .show-day { font-size: 11px; } }

.show-num {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 26px;
  line-height: 0.95;
  margin-top: 2px;
  white-space: nowrap;
}
@media (min-width: 760px) { .show-num { font-size: 38px; } }

.show-venue {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: -0.005em;
  font-size: 18px;
  line-height: 1.05;
}
@media (min-width: 760px) { .show-venue { font-size: 28px; } }

.show-note {
  font-size: 13px;
  opacity: 0.7;
  margin-top: 4px;
  font-style: italic;
}
@media (min-width: 760px) { .show-note { font-size: 16px; } }

a.show-venue { display: inline-block; color: inherit; text-decoration: none; }
a.show-venue:hover { color: var(--orange); }
.show-note a { color: inherit; }

/* ── THE RECORD ───────────────────────── */
.record {
  padding-top: calc(var(--gap) + 8px);
}
@media (min-width: 760px) {
  .record { padding-top: calc(var(--gap) + 16px); }
}
.record-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}
.record .section-title { margin-bottom: 0; }

.embed-frame {
  margin-top: 18px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--orange);
  max-width: 100%;
}
@media (min-width: 760px) {
  .embed-frame { margin-top: 32px; max-width: 720px; }
}
.embed-frame iframe {
  display: block;
  border: 0;
  width: 100%;
  height: 380px;
}
@media (min-width: 760px) {
  .embed-frame iframe { height: 480px; }
}

/* ── GALLERY ──────────────────────────── */
.gallery {
  margin-top: calc(var(--gap) + 8px);
}
@media (min-width: 760px) {
  .gallery { margin-top: calc(var(--gap) + 16px); }
}

/* mobile: horizontal scroll snap */
.gallery-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: 0 var(--pad) var(--pad);
  -webkit-overflow-scrolling: touch;
}
.gallery-tile {
  flex: 0 0 78%;
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--ink);
  scroll-snap-align: center;
  padding: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: zoom-in;
  display: block;
}
.gallery-tile:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}
.gallery-tile-0 { box-shadow: 5px 5px 0 var(--orange); }

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.05);
}

/* desktop: staggered grid */
@media (min-width: 760px) {
  .gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.4fr 1fr;
    gap: 12px;
    overflow: visible;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad);
  }
  .gallery-tile {
    flex: initial;
    aspect-ratio: 3 / 4;
    scroll-snap-align: none;
    box-shadow: none;
  }
  .gallery-tile-1 {
    aspect-ratio: 4 / 5;
    margin-top: 36px;
    box-shadow: 8px 8px 0 var(--orange);
  }
  .gallery-tile-3 {
    aspect-ratio: 4 / 5;
    margin-top: 36px;
  }
  .gallery-tile-0 { box-shadow: none; }
}

/* ── FOOTER ───────────────────────────── */
.foot {
  background: var(--ink);
  color: var(--bg);
  margin-top: calc(var(--gap) + 24px);
  padding: calc(var(--gap) + 16px) var(--pad) calc(var(--pad) + 14px);
}

.foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: block;
}
@media (min-width: 760px) {
  .foot-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
  }
}

.foot-mark {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: -0.005em;
  font-size: 36px;
  line-height: 0.9;
}
@media (min-width: 760px) { .foot-mark { font-size: 80px; } }

.foot-contact {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.65;
  margin-top: 14px;
  font-size: 9px;
}
@media (min-width: 760px) { .foot-contact { font-size: 11px; } }
.foot-mail {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.foot-mail:hover { color: var(--orange); }

.foot-socials {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}
@media (min-width: 760px) { .foot-socials { margin-top: 0; } }

.foot-socials a {
  padding: 7px 10px;
  border: 1.5px solid var(--bg);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 9px;
  color: var(--bg);
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease;
}
.foot-socials a:hover {
  background: var(--bg);
  color: var(--ink);
}
@media (min-width: 760px) {
  .foot-socials a { padding: 10px 14px; font-size: 11px; }
}

.foot-fine {
  max-width: var(--max);
  margin: 22px auto 0;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.4;
  font-size: 9px;
}
@media (min-width: 760px) {
  .foot-fine { margin-top: 32px; }
}

/* ── LIGHTBOX ─────────────────────────── */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  margin: 0;
}
.lightbox::backdrop {
  background: rgba(26, 24, 21, 0.92);
}
.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border: 2px solid var(--bg);
  box-shadow: 12px 12px 0 var(--orange);
  background: var(--ink);
}
@media (max-width: 759px) {
  .lightbox-img { box-shadow: 6px 6px 0 var(--orange); }
}
.lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: transparent;
  color: var(--bg);
  cursor: pointer;
  padding: 0;
  display: grid;
  place-items: center;
}
.lightbox-close:hover {
  background: var(--bg);
  color: var(--ink);
}
.lightbox-close:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.show.has-poster { grid-template-columns: auto 1fr auto; }
.show-poster {
  display: block;
  width: 88px;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--orange);
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.show-poster img { display: block; width: 100%; height: auto; }
a.show-poster:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--orange); }
@media (min-width: 760px) { .show-poster { width: 168px; } }

.show-rsvp {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 12px;
  font-size: 14px;
}
@media (min-width: 760px) { .show-rsvp { margin-top: 14px; padding: 10px 16px; font-size: 18px; } }

/* next-show banner: one centered link, "★ NEXT SHOW · TITLE · TUE OCT 27 · VENUE · RSVP ↗" */
a.strip-next {
  display: block;
  text-align: center;
  color: inherit;
  text-decoration: none;
}
a.strip-next:hover { text-decoration: underline; text-underline-offset: 3px; }
a.strip-next > span { white-space: nowrap; }
a.strip-next > span + span::before { content: "·"; margin: 0 0.9em; }
a.strip-next .strip-title,
a.strip-next .strip-cta { font-weight: 700; }
.strip-arrow { letter-spacing: 0; }
/* phones: "TITLE · TUE OCT 27 · RSVP ↗" */
@media (max-width: 560px) {
  a.strip-next { letter-spacing: 0.08em; }
  a.strip-next > span + span::before { margin: 0 0.6em; }
  a.strip-next .strip-label { display: none; }
  a.strip-next > span:nth-child(2)::before { content: none; }
  a.strip-next .strip-title ~ .strip-where { display: none; }
}

.show-note + .show-note { margin-top: 0; }
