/* RHTP site styles. Built from the approved one-pager (project doc: rhtp-style-decisions).
   Order: fonts, tokens, base, layout, buttons, sections. Mobile-first; wider layouts at 700px and 960px. */

/* ---------- Fonts (self-hosted, copied from @fontsource at build time) ---------- */
@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Karla";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/karla-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Karla";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/karla-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Nothing You Could Do";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/nothing-you-could-do-latin-400-normal.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  /* Palette: Red & Petrol */
  --off-white: #F6F1EA;
  --tint: #E2EEEC;
  --blue-green: #429195;
  --poster-red: #FF5659;
  --poster-red-hover: #F2494D;
  --petrol: #275D71;
  --deep-petrol: #0B1F26;
  --near-black: #111315;
  --hand-red: #D93A3D;

  /* Supporting neutrals taken from the boards */
  --line: #DCD3C6;
  --muted: #33454B;
  --chip: #546267;
  --sold-text: #4A4640;
  --footer-muted: #BDB6AA;

  /* Type */
  --font-display: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  --font-body: "Karla", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hand: "Nothing You Could Do", "Segoe Print", "Bradley Hand", cursive;

  --radius: 8px;
  --gutter: 20px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--off-white);
  color: var(--deep-petrol);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: var(--deep-petrol); }
a:hover { color: var(--petrol); }
:focus-visible { outline: 3px solid var(--poster-red); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.skip { position: absolute; left: -9999px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus {
  left: 16px; top: 16px; z-index: 10;
  padding: 12px 16px;
  background: var(--off-white);
  border-radius: var(--radius);
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 1040px; }
@media (min-width: 700px) { :root { --gutter: 32px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border: 2px solid transparent; border-radius: var(--radius);
  font: 700 1rem/1 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--lg { min-height: 54px; padding: 0 24px; font-size: 1.0625rem; }
.btn--primary { background: var(--poster-red); color: var(--deep-petrol); }
.btn--primary:hover { background: var(--poster-red-hover); color: var(--deep-petrol); }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--deep-petrol); }
.btn--ghost:hover { background: var(--deep-petrol); border-color: var(--deep-petrol); color: var(--off-white); }
@media (min-width: 700px) { .btn--lg { min-height: 58px; padding: 0 28px; font-size: 1.125rem; } }

/* Tickets: split button, arrow on a lighter tint of the same colour */
.btn-tickets {
  display: inline-flex; align-items: stretch;
  min-height: 44px; overflow: hidden;
  border-radius: var(--radius);
  background: var(--deep-petrol); color: #fff;
  font-weight: 700; font-size: .9375rem; text-decoration: none;
  transition: background-color .15s;
}
.btn-tickets:hover { background: var(--petrol); color: #fff; }
.btn-tickets__label { display: flex; align-items: center; padding: 0 12px; }
.btn-tickets__arrow {
  display: flex; align-items: center; padding: 0 10px;
  background: var(--chip);
  transition: background-color .15s, color .15s;
}
.btn-tickets:hover .btn-tickets__arrow { background: var(--poster-red); color: var(--deep-petrol); }
@media (min-width: 700px) {
  .btn-tickets { min-height: 48px; font-size: 1rem; }
  .btn-tickets__label { padding: 0 18px; }
  .btn-tickets__arrow { padding: 0 14px; }
}

/* ---------- Header (sits over the hero) ---------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 2; color: #fff; }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-block: 14px;
}
.brand {
  color: #fff; text-decoration: none; text-transform: uppercase;
  font: 800 1.25rem/1 var(--font-display); letter-spacing: .02em;
}
.brand:hover { color: #fff; }
.site-header__nav { display: flex; align-items: center; gap: 8px; }
.site-header__links { display: none; align-items: center; gap: 6px; }
.nav-link {
  position: relative; display: flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: #fff; font-weight: 700; text-decoration: none;
}
.nav-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
/* the current page gets a red underline */
.nav-link[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--poster-red); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.site-header .btn { min-height: 48px; padding: 0 16px; font-size: .9375rem; }
.nav-wide { display: none; }

/* Mobile menu: a native <details>, so it works without JavaScript */
.menu { position: relative; }
.menu__button {
  display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px;
  border: 2px solid #fff; border-radius: var(--radius); background: rgba(11,31,38,.35);
  color: #fff; font-weight: 700; font-size: .9375rem; cursor: pointer; list-style: none;
}
.menu__button::-webkit-details-marker { display: none; }
.menu__panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; width: 220px;
  display: flex; flex-direction: column; padding: 8px;
  border-radius: var(--radius); background: var(--deep-petrol); box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.menu__panel a {
  display: flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: 6px;
  color: #fff; font-weight: 700; text-decoration: none;
}
.menu__panel a:hover { background: rgba(255,255,255,.1); color: #fff; }
.menu__panel a[aria-current="page"] { color: var(--poster-red); }
@media (min-width: 700px) {
  .site-header__inner { padding-block: 20px; }
  .brand { font-size: 1.5rem; }
  .site-header__links { display: flex; }
  .site-header .btn { margin-left: 10px; padding: 0 22px; font-size: 1rem; }
  .nav-wide { display: inline; }
  .nav-narrow, .menu { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 720px;
  background: var(--deep-petrol); color: #fff;
}
.hero__img, .hero__video {
  position: absolute; inset: 0; z-index: -3;
  width: 100%; height: 100%; object-fit: cover;
}
.hero__img {
  object-position: var(--focus, 40% 50%); /* set per page with style="--focus: x% y%; --focus-d: x% y%" (phone, desktop) */
  /* Sun-faded photo treatment */
  filter: saturate(.6) contrast(.88) brightness(1.12) sepia(.2);
}
/* The video is already black and white, so it only gets the cream wash and shade layers below. */
.hero__video { object-position: 50% 50%; }
.hero__wash { position: absolute; inset: 0; z-index: -2; background: #FFF4E0; mix-blend-mode: soft-light; opacity: .5; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg,
    rgba(11,31,38,.6) 0%, rgba(11,31,38,0) 20%, rgba(11,31,38,0) 40%,
    rgba(11,31,38,.9) 76%, rgba(11,31,38,.95) 100%);
}
.hero__content { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: auto; padding-bottom: 32px; }
.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; max-width: 800px; }
.hero__pause {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0;
  border: 2px solid rgba(255,255,255,.85); border-radius: var(--radius);
  background: transparent; color: #fff; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.hero__pause:hover { background: #fff; color: var(--deep-petrol); }
.hero__pause .icon-play { display: none; }
.hero__pause.is-paused .icon-pause { display: none; }
.hero__pause.is-paused .icon-play { display: block; }
.hero__title {
  margin: 0; color: #fff; text-transform: uppercase;
  font: 800 clamp(3.625rem, 2rem + 7vw, 7rem)/.88 var(--font-display);
}
.hero__main { display: block; margin-top: 10px; }
.tape {
  display: block; width: fit-content;
  padding: 2px 14px 4px;
  background: var(--off-white); color: var(--deep-petrol);
  font: 400 1.875rem/1.15 var(--font-hand); text-transform: none;
  transform: rotate(-3deg); transform-origin: left;
}
.hero__lede { margin: 4px 0 10px; max-width: 560px; color: var(--off-white); font-size: 1rem; line-height: 1.5; }
@media (min-width: 700px) {
  .hero { min-height: 820px; }
  .hero__img { object-position: var(--focus-d, 50% 40%); }
  .hero__content { padding-bottom: 64px; }
  .hero__pause { width: 52px; height: 52px; }
  .hero__text { gap: 14px; }
  .tape { padding: 2px 18px 6px; font-size: 2.75rem; }
  .hero__lede { margin-bottom: 14px; font-size: 1.25rem; }
}

/* ---------- Shows page ---------- */
/* Page headers scale with the screen: about 250px on phones, 380px from ~830px wide up. */
.hero--page { min-height: clamp(250px, 30vw + 130px, 380px); }
.hero--page .hero__content { padding-bottom: 28px; }
.hero--page .hero__title { font-size: clamp(4rem, 6.5vw + 2.4rem, 6.5rem); }
.hero--page .hero__shade {
  background: linear-gradient(180deg, rgba(11,31,38,.65) 0%, rgba(11,31,38,.2) 35%, rgba(11,31,38,.92) 100%);
}
.shows--page { padding-top: 36px; }
.shows--page .wrap { display: flex; flex-direction: column; gap: 48px; }
.month__title {
  margin: 0; padding-bottom: 6px; border-bottom: 3px solid var(--deep-petrol);
  font: 800 2rem/1 var(--font-display); text-transform: uppercase;
}
.shows--page .shows__soon { margin: 0; font-size: 1.25rem; }
.empty-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 28px 22px; border: 2px solid var(--deep-petrol); border-radius: var(--radius); background: #fff;
}
.empty-card p { margin: 0; line-height: 1.55; color: var(--muted); }
.empty-card__kicker { font: 400 1.5rem/1.1 var(--font-hand); color: var(--hand-red); transform: rotate(-2deg); transform-origin: left; }
.empty-card__title { margin: 0; font: 800 2.125rem/1 var(--font-display); text-transform: uppercase; }
.venue-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 22px 20px; border-radius: var(--radius); background: var(--tint);
}
.venue-card p { margin: 0; line-height: 1.5; color: var(--muted); }
.venue-card__title { margin: 0 0 6px; font: 800 1.625rem/1 var(--font-display); text-transform: uppercase; }
@media (min-width: 700px) {
  .hero--page .hero__content { padding-bottom: 52px; }
  .shows--page { padding: 80px 0 96px; }
  .shows--page .wrap { gap: 72px; }
  .month__title { font-size: 3rem; border-bottom-width: 4px; padding-bottom: 8px; }
  .shows--page .shows__soon { font-size: 1.75rem; }
  .venue-card { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 26px 30px; }
  .venue-card__title { font-size: 2rem; margin-bottom: 4px; }
}

/* ---------- Shared bits for the sections below ---------- */
.kicker { display: inline-block; font: 400 1.5rem/1.1 var(--font-hand); color: var(--hand-red); transform: rotate(-2deg); transform-origin: left; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--deep-petrol); font-weight: 700; font-size: 1rem; text-decoration: none;
}
.link-arrow:hover { color: var(--petrol); }
/* A photo tile: sun-faded, cropped to fill its box (give it a height or an aspect-ratio) */
.tile { position: relative; display: block; overflow: hidden; isolation: isolate; background: var(--line); border-radius: 4px; clip-path: inset(0 round 4px); }
.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(.6) contrast(.88) brightness(1.12) sepia(.2); transition: transform .25s;
}
.tile::after { content: ""; position: absolute; inset: 0; background: #FFF4E0; mix-blend-mode: soft-light; opacity: .5; pointer-events: none; }
.tile:hover img { transform: scale(1.04); }

/* ---------- Homepage: About ---------- */
.about { background: var(--tint); padding: 48px 0; }
.about__inner { display: flex; flex-direction: column; gap: 14px; }
.about__text { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.about__title { margin: 0; font: 800 2.5rem/.95 var(--font-display); text-transform: uppercase; }
.about__text p { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--muted); }
.about__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.tile--about { height: 240px; }
.about__cta { align-self: flex-start; }

/* ---------- Homepage: Watch us live ---------- */
.watch { background: #111315; color: #fff; padding: 48px 0; }
.watch__inner { display: grid; gap: 14px; grid-template-areas: "head" "video" "foot"; }
.watch__head { grid-area: head; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.watch .kicker { color: var(--poster-red); }
.watch__title { margin: 0; font: 800 2.5rem/1 var(--font-display); text-transform: uppercase; }
.watch__video { grid-area: video; }
.watch__foot { grid-area: foot; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.watch__foot p { margin: 0; font-size: .9375rem; color: #D6D1C8; }
.watch .link-arrow { color: var(--off-white); }

/* ---------- Click-to-play video ---------- */
.video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--deep-petrol); }
.video__link { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--deep-petrol); text-decoration: none; }
.video__poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.6) contrast(.88) brightness(1.12) sepia(.2);
}
.video__play {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 68px; height: 68px; border-radius: 50%; background: var(--poster-red);
  transition: background-color .15s, scale .15s;
}
.video__play svg { width: 26px; height: 26px; }
.video__link:hover { color: #fff; } /* the play triangle turns white on hover */
.video__link:hover .video__play { background: var(--poster-red-hover); scale: 1.06; }
.video--small .video__play { width: 60px; height: 60px; }
.video--small .video__play svg { width: 24px; height: 24px; }
.video__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Homepage: Photos ---------- */
.photos { background: var(--off-white); padding: 48px 0 40px; }
.photos .wrap { display: flex; flex-direction: column; gap: 14px; }
.photos__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.photos__title { margin: 0; font: 800 2.5rem/1 var(--font-display); text-transform: uppercase; }
.photos__link { display: none; }
.mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mosaic__a { order: 1; grid-column: span 2; height: 210px; }
.mosaic__b { order: 2; height: 150px; }
.mosaic__c { order: 3; height: 150px; }
.mosaic__d { order: 4; height: 150px; }
.mosaic__e { order: 5; height: 150px; }

/* ---------- Gallery page ---------- */
.gallery { background: var(--off-white); padding: 28px 0 56px; }
.gallery .wrap { display: flex; flex-direction: column; gap: 44px; }
.tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tabs[hidden], .gallery__section[hidden] { display: none; }
.tab {
  min-height: 48px; padding: 0 10px; border: 2px solid var(--deep-petrol); border-radius: var(--radius);
  background: transparent; color: var(--deep-petrol); font: 700 .9375rem/1 var(--font-body); cursor: pointer;
}
.tab[aria-pressed="true"] { background: var(--deep-petrol); color: #fff; }
.gallery__section { display: flex; flex-direction: column; gap: 16px; }
.gallery__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 16px; padding-bottom: 0; }
.gallery__title { margin: 0; font: 800 2.5rem/1 var(--font-display); text-transform: uppercase; }
.gallery__link { display: none; }
.featured { display: flex; flex-direction: column; gap: 16px; }
.featured__text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.featured__text p { margin: 0; line-height: 1.55; color: var(--muted); }
.featured__title { margin: 0; font: 800 1.625rem/1 var(--font-display); text-transform: uppercase; }
.video-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
.video-grid li { display: flex; flex-direction: column; gap: 10px; }
.video-grid__title { font-weight: 700; font-size: 1.125rem; }
.video-grid__detail { font-size: .9375rem; color: var(--muted); }
.masonry { column-count: 2; column-gap: 10px; }
.masonry__col { display: contents; } /* phones: tiles just flow into two columns */
.tile--wall { margin: 0 0 10px; break-inside: avoid; border-radius: 4px; clip-path: inset(0 round 4px); cursor: zoom-in; scroll-margin-top: 16px; }

/* Photo viewer */
.lightbox {
  margin: 0; padding: 0; border: 0; width: 100%; max-width: none; height: 100%; max-height: none;
  background: rgba(11,19,21,.96); color: var(--off-white);
}
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox::backdrop { background: rgba(11,19,21,.96); }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; }
.lightbox__count { font-weight: 700; }
.lightbox__close {
  display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px;
  border: 2px solid var(--off-white); border-radius: var(--radius); background: transparent;
  color: inherit; font: 700 .9375rem/1 var(--font-body); cursor: pointer;
}
.lightbox__stage {
  flex: 1; min-height: 0; display: grid; align-content: center; gap: 12px; padding: 0 12px 16px;
  grid-template-columns: 1fr 1fr; grid-template-areas: "figure figure" "prev next";
}
.lightbox__figure { grid-area: figure; margin: 0; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.lightbox__figure img { max-width: 100%; max-height: calc(100dvh - 230px); object-fit: contain; display: block; }
.lightbox__nav {
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: var(--off-white); color: var(--deep-petrol); cursor: pointer;
}
.lightbox__nav--prev { grid-area: prev; justify-self: end; }
.lightbox__nav--next { grid-area: next; justify-self: start; }

@media (min-width: 700px) {
  .kicker { font-size: 2rem; }
  .link-arrow { font-size: 1.0625rem; }

  .about { padding: 112px 0; }
  .about__inner {
    display: grid; grid-template-columns: 1fr 1.3fr; column-gap: 64px; row-gap: 18px;
    grid-template-areas: "text photos" "cta photos";
  }
  .about__text { grid-area: text; align-self: end; }
  .about__cta { grid-area: cta; align-self: start; justify-self: start; margin-top: 6px; }
  .about__title { font-size: 4.5rem; }
  .about__text p { max-width: 480px; font-size: 1.1875rem; }
  .about__photos { grid-area: photos; gap: 16px; margin: 0; }
  .tile--about { height: 500px; }
  .tile--about:nth-child(2) { margin-top: 56px; }

  .watch { padding: 104px 0; }
  .watch__inner {
    grid-template-columns: 7fr 4fr; column-gap: 56px; row-gap: 16px; align-content: center;
    grid-template-areas: "video head" "video foot";
  }
  .watch__head { align-self: end; gap: 16px; }
  .watch__foot { align-self: start; gap: 16px; }
  .watch__title { font-size: 4.5rem; line-height: .95; }
  .watch__foot p { font-size: 1.125rem; line-height: 1.5; }
  .watch .link-arrow { font-size: 1.0625rem; }
  .video__play { width: 92px; height: 92px; }
  .video__play svg { width: 36px; height: 36px; }
  .video--small .video__play { width: 60px; height: 60px; }
  .video--small .video__play svg { width: 24px; height: 24px; }

  .photos { padding: 104px 0; }
  .photos .wrap { gap: 22px; }
  .photos__head { gap: 16px; }
  .photos__title { font-size: 4.5rem; }
  .photos__link { display: inline-flex; margin-left: auto; }
  .photos__more { display: none; }
  .mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 203px; gap: 14px; }
  .mosaic__a, .mosaic__b, .mosaic__c, .mosaic__d, .mosaic__e { order: 0; height: auto; }
  .mosaic__a { grid-column: span 2; grid-row: span 2; }

  .gallery { padding: 48px 0 104px; }
  .gallery .wrap { gap: 72px; }
  .tabs { display: flex; flex-wrap: wrap; }
  .tabs[hidden] { display: none; }
  .tab { padding: 0 22px; font-size: 1rem; }
  .gallery__section { gap: 28px; }
  .gallery__head { padding-bottom: 0; gap: 12px 16px; }
  .gallery__title { font-size: 4.5rem; }
  .gallery__link { display: inline-flex; margin-left: auto; }
  .featured { flex-direction: row; align-items: center; gap: 40px; }
  .featured__video { flex: 2 1 560px; }
  .featured__text { flex: 1 1 280px; }
  .featured__title { font-size: 2.75rem; line-height: .95; }
  .featured__text p { font-size: 1.0625rem; }
  .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Three columns that all end at the same height: the columns stretch to the tallest one and
     each tile grows a little (in proportion to its own height), cropping the photo slightly. */
  .masonry { column-count: auto; display: flex; align-items: stretch; gap: 16px; }
  .masonry__col { display: flex; flex-direction: column; gap: 16px; flex: 1 1 0; min-width: 0; }
  .tile--wall { margin: 0; flex: var(--grow, 1) 1 auto; }

  .lightbox__bar { padding: 16px 24px; }
  .lightbox__close { font-size: 1rem; padding: 0 18px; }
  .lightbox__stage { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "prev figure next"; align-items: center; gap: 20px; padding: 0 24px 24px; }
  .lightbox__figure img { max-height: calc(100dvh - 190px); }
  .lightbox__nav--prev, .lightbox__nav--next { justify-self: auto; }
}

/* ---------- On tour ---------- */
.shows { background: var(--off-white); padding: 44px 0 48px; }
.shows__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding-bottom: 8px; border-bottom: 3px solid var(--deep-petrol);
}
.shows__title { margin: 0; font: 800 2.75rem/1 var(--font-display); text-transform: uppercase; }
.show-list { margin: 0; padding: 0; list-style: none; }

.show {
  display: grid; align-items: center;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  grid-template-areas: "date town action" "date meta action" "date note action";
  column-gap: 10px; row-gap: 3px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.show__date { grid-area: date; font: 400 1.25rem/1 var(--font-hand); color: var(--petrol); }
.show__town { grid-area: town; font: 800 1.4375rem/1 var(--font-display); text-transform: uppercase; }
.show__meta { grid-area: meta; display: flex; flex-wrap: wrap; gap: 0 .35em; font-size: .875rem; color: var(--muted); }
.show__venue::before { content: "\00b7\00a0"; }
.show__note { grid-area: note; font: 400 1rem/1.2 var(--font-hand); color: var(--hand-red); }
.show__action { grid-area: action; justify-self: end; }

/* "Saturday" on desktop, "Sat" on mobile (the long form stays available to screen readers) */
.day-long {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.sold-out {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border-radius: var(--radius); background: var(--line); color: var(--sold-text);
  font-weight: 700; font-size: .9375rem;
}

.shows__empty { margin: 24px 0 0; font: 400 1.5rem/1.3 var(--font-hand); color: var(--petrol); }
/* Homepage: outlined "See all dates" button, then the handwritten note */
.shows__foot.shows__foot--home { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 22px; }
.shows__foot.shows__foot--home .shows__all { min-height: 52px; justify-content: center; font-size: 1rem; }
.shows__foot.shows__foot--home .shows__soon { margin: 0; }
.shows__foot { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; }
.shows__soon { font: 400 1.25rem/1.3 var(--font-hand); color: var(--petrol); }
.shows__fatsoma { display: none; font-size: .9375rem; color: var(--muted); }

@media (min-width: 700px) {
  .shows { padding: 96px 0 104px; }
  .shows__head { border-bottom-width: 4px; padding-bottom: 10px; }
  .shows__title { font-size: 4.5rem; }

  .show {
    grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr) 150px;
    grid-template-areas: "date town venue action" "date day note action";
    column-gap: 20px; padding: 18px 4px;
  }
  .show__date { font-size: 1.875rem; }
  .show__town { font-size: 2rem; }
  .show__meta { display: contents; }
  .show__day { grid-area: day; font-size: .9375rem; color: var(--muted); }
  .show__venue { grid-column: 3; grid-row: 1 / 3; align-self: center; font-size: 1.125rem; color: var(--deep-petrol); }
  .show--few .show__venue { grid-row: 1; align-self: end; }
  .show--few .show__note { grid-column: 3; grid-row: 2; align-self: start; }
  .show__venue::before { content: none; }
  .show__note { font-size: 1.125rem; }
  .day-long { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
  .day-short { display: none; }

  .shows__foot { margin-top: 28px; }
  .shows__soon { font-size: 1.75rem; }
  .shows__foot.shows__foot--home { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 28px; }
  .shows__foot.shows__foot--home .shows__all { min-height: 54px; padding: 0 28px; font-size: 1.0625rem; }
  .shows__fatsoma { display: inline; }
}

/* ---------- Newsletter ---------- */
.news { background: var(--petrol); color: #fff; padding: 44px 0; }
.news__inner { display: flex; flex-direction: column; gap: 14px; }
.news__intro { display: flex; flex-direction: column; gap: 8px; }
.news__kicker { font: 400 1.5rem/1.1 var(--font-hand); color: var(--off-white); transform: rotate(-2deg); transform-origin: left; }
.news__title { margin: 0; font: 800 2.5rem/.95 var(--font-display); text-transform: uppercase; }
.news__form { display: flex; flex-direction: column; gap: 12px; }
.news__label { font-weight: 700; font-size: .9375rem; }
.news__row { display: flex; flex-wrap: wrap; gap: 10px; }
.news__row input[type="email"] {
  flex: 1 1 260px; height: 50px; padding: 0 14px;
  border: 2px solid #fff; border-radius: var(--radius);
  background: #fff; color: var(--deep-petrol);
  font: inherit; font-size: 1rem;
}
.news__row .btn { flex: 1 1 100%; border: 0; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: .9375rem; }
.check input { width: 22px; height: 22px; accent-color: var(--poster-red); }
@media (min-width: 700px) {
  .news { padding: 80px 0; }
  .news__inner { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 48px; }
  .news__intro { flex: 1 1 360px; }
  .news__kicker { font-size: 1.875rem; }
  .news__title { font-size: 4rem; }
  .news__form { flex: 1 1 480px; }
  .news__label { font-size: 1rem; }
  .news__row input[type="email"] { height: 56px; padding: 0 16px; font-size: 1.0625rem; }
  .news__row .btn { flex: 0 0 auto; }
  .check { font-size: 1rem; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--deep-petrol); color: var(--off-white); }
.site-footer__inner { display: flex; flex-direction: column; gap: 16px; padding-block: 36px 40px; }
.site-footer__contact { display: flex; flex-direction: column; gap: 6px; }
.site-footer__heading { font: 800 1.5rem/1 var(--font-display); text-transform: uppercase; }
.site-footer__email {
  display: flex; align-items: center; min-height: 44px;
  color: var(--poster-red); font-weight: 700; font-size: 1.0625rem;
}
.site-footer__email:hover { color: var(--poster-red); text-decoration: underline; }
.site-footer__legal { margin: 8px 0 0; font-size: .8125rem; line-height: 1.5; color: var(--footer-muted); }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-footer__social a { display: flex; align-items: center; min-height: 44px; color: var(--off-white); font-weight: 700; }
.site-footer__social a:hover { color: #fff; }
.site-footer__icons { display: flex; align-items: center; gap: 4px; }
.site-footer__social .site-footer__icons a { justify-content: center; width: 44px; color: #fff; }
.site-footer__social .site-footer__icons a:hover { color: var(--poster-red); }
@media (min-width: 700px) {
  .site-footer__inner { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; padding-block: 56px 60px; }
  .site-footer__heading { font-size: 2rem; }
  .site-footer__email { font-size: 1.1875rem; }
  .site-footer__legal { font-size: .875rem; }
  .site-footer__social { gap: 4px 24px; }
}

/* ===== Optional dark theme (Gallery and Shows pages) =====
   Off by default. Set "darkTheme": true in src/_data/site.json to switch it on. Every rule below is
   scoped to body.theme-dark, so with the flag off none of it applies. */
/* Gallery page: deep petrol theme */
.theme-dark .gallery { background: var(--deep-petrol); color: var(--soft-white); --muted: #B9C7CC; }
.theme-dark .gallery .tab { border-color: rgba(233, 228, 220, .45); color: var(--soft-white); }
.theme-dark .gallery .tab:hover { border-color: var(--soft-white); }
.theme-dark .gallery .tab[aria-pressed="true"] { background: var(--soft-white); border-color: var(--soft-white); color: var(--deep-petrol); }
.theme-dark .gallery .link-arrow { color: var(--soft-white); }
.theme-dark .gallery .link-arrow:hover { color: var(--poster-red); }
.theme-dark .gallery .tile { background: #163640; }

/* Softer text and rules for the dark pages (less glare than pure white) */
:root { --soft-white: #E9E4DC; --soft-rule: rgba(233, 228, 220, .7); }

/* Shows page: dark petrol theme (footer matches, with a faint divider) */
.theme-dark .shows--page { background: var(--deep-petrol); color: var(--soft-white); padding-bottom: 72px; --muted: #B9C7CC; }
.theme-dark .shows--page .month__title { border-bottom: 2px solid var(--soft-rule); }
.theme-dark .shows--page .show { border-bottom-color: rgba(246, 241, 234, .2); }
.theme-dark .shows--page .show__date { color: #578F94; }
.theme-dark .shows--page .show__note, .theme-dark .shows--page .empty-card__kicker { color: #C84844; }
.theme-dark .shows--page .shows__soon { color: #578F94; }
.theme-dark .shows--page .btn-tickets { background: #578F94; color: var(--deep-petrol); }
.theme-dark .shows--page .btn-tickets__arrow { background: #87B1B4; }
.theme-dark .shows--page .btn-tickets:hover { background: #6FA3A8; color: var(--deep-petrol); }
.theme-dark .shows--page .sold-out { color: var(--muted); }
.theme-dark .shows--page .empty-card { background: transparent; border-color: rgba(246, 241, 234, .35); }
.theme-dark .shows--page .venue-card { background: rgba(246, 241, 234, .06); }
.theme-dark .shows--page .btn--ghost { color: var(--soft-white); }
.theme-dark .shows--page .btn--ghost:hover { background: var(--soft-white); border-color: var(--soft-white); color: var(--deep-petrol); }
.theme-dark .site-footer { background: var(--deep-petrol); border-top: 1px solid rgba(246, 241, 234, .16); }
.theme-dark .shows--page .show__venue { color: var(--soft-white); }
