/* ==========================================================================
   Midst the Noise: "Signal Through Noise"
   Owner: Creative Director. DOM contract: scripts/build.mjs.
   Noise appears in exactly three places: empty media placeholders,
   the "tuning" rule between sections, and the hero (static grain + one sweep).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #0B0C0E;
  --surface: #15171B;
  --surface-2: #1E2127;
  --line: #2A2E36;
  --line-strong: #3A3F49;
  --text: #F2EFE9;
  --muted: #A3A7AE;          /* 7.9:1 on bg, 7.3:1 on surface, 6.6:1 on surface-2 */
  --signal: #FF5B2E;         /* 6.3:1 on bg; text on signal is --bg */
  --signal-ink: #B3380F;     /* signal for text on paper: 5.2:1 */
  --carrier: #8AD8E8;
  --paper: #F2EFE9;
  --paper-2: #E7E3DA;
  --ink: #0B0C0E;
  --muted-paper: #4A4D52;    /* 7.3:1 on paper */
  --line-paper: #CFC9BD;

  --f-display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --fs-13: 0.8125rem;
  --fs-17: 1.0625rem;
  --fs-21: 1.3125rem;
  --fs-27: 1.6875rem;
  --fs-33: 2.0625rem;
  --fs-42: 2.625rem;
  --fs-52: 3.25rem;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px;
  --s8: 32px; --s10: 40px; --s12: 48px; --s16: 64px; --s20: 80px;

  --gutter: clamp(16px, 4vw, 32px);
  --section-pad: clamp(64px, 10vw, 128px);
  --header-h: 72px;
  --r-media: 2px;
  --r-ctl: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Static grain (feTurbulence), grayscale. Used only at low opacity. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  /* Sparse light specks on transparent: for the tuning rule. */
  --specks: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='12'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .95 0 0 0 0 .94 0 0 0 0 .91 2.6 0 0 0 -1.25'/%3E%3C/filter%3E%3Crect width='160' height='12' filter='url(%23s)'/%3E%3C/svg%3E");
  --scanlines: repeating-linear-gradient(0deg, rgba(242, 239, 233, .04) 0 1px, transparent 1px 3px);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
  background: var(--bg);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--fs-17);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
abbr[title] { text-decoration: none; }

a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--signal);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}
a:hover { color: var(--signal); }

::selection { background: var(--signal); color: var(--ink); }

/* Focus: carrier ring + dark halo so it reads on photos, paper and signal fills. */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--carrier);
  outline-offset: 2px;
  box-shadow: 0 0 0 7px var(--ink);
  border-radius: 2px;
}
main:focus-visible, #form-errors:focus-visible { box-shadow: none; }

/* ---------- Utilities ---------- */
.wrap {
  width: 100%;
  max-width: calc(1200px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.mono, .eyebrow {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-13);
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 8px; height: 8px;
  background: var(--signal);
}

.skip-link {
  position: absolute;
  top: var(--s2);
  left: var(--s2);
  z-index: 200;
  padding: var(--s3) var(--s5);
  background: var(--signal);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--r-ctl);
  transform: translateY(-200%);
}
.skip-link:focus, .skip-link:focus-visible { transform: none; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: 48px;
  padding: var(--s3) var(--s6);
  border: 2px solid transparent;
  border-radius: var(--r-ctl);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: var(--fs-17);
  line-height: 1.2;
  letter-spacing: .01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease); }
}
.btn--signal { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.btn--signal:hover { background: var(--text); border-color: var(--text); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--text); color: var(--text); }
.btn--small { min-height: 44px; padding: var(--s2) var(--s4); font-size: 0.9375rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- Preview banner ---------- */
.preview-banner {
  padding: var(--s2) var(--gutter);
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-13);
  letter-spacing: .06em;
  line-height: 1.5;
  text-align: center;
}
.preview-banner::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: var(--s2);
  background: var(--signal);
  border-radius: 50%;
  vertical-align: 0.05em;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: transparent;
}
@media (prefers-reduced-motion: no-preference) {
  .site-header { transition: background-color 200ms var(--ease), border-color 200ms var(--ease); }
}
.site-header.is-scrolled,
.site-header.is-open,
html:not(.js) .site-header {
  background: rgba(11, 12, 14, .94);
  border-bottom-color: var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-scrolled { background: rgba(11, 12, 14, .82); backdrop-filter: blur(10px); }
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--s6);
  /* Fixed minimum, never var(--header-h): JS writes the measured header height into --header-h,
     so using it here would make the header grow every time it is measured. */
  min-height: 72px;
  padding-block: var(--s3);
}

.wordmark {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-right: auto;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: var(--fs-27);
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
}
.wordmark:hover { color: var(--text); }

.site-nav { display: flex; align-items: center; }
.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s1);
  list-style: none;
}
.site-nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--s3);
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-13);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
}
.site-nav__list a:hover { color: var(--signal); }

.menu-toggle {
  display: none;
  align-items: center;
  gap: var(--s2);
  min-height: 44px;
  min-width: 44px;
  padding: 0 var(--s4);
  background: transparent;
  border: 2px solid var(--line-strong);
  border-radius: var(--r-ctl);
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-13);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.menu-toggle::before {
  content: "";
  width: 16px; height: 10px;
  background:
    linear-gradient(currentColor, currentColor) top / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) bottom / 100% 2px no-repeat;
}
.menu-toggle[aria-expanded="true"]::before {
  width: 14px;
  height: 14px;
  background:
    linear-gradient(45deg, transparent calc(50% - 1px), currentColor calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(-45deg, transparent calc(50% - 1px), currentColor calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px));
}

.site-header__cta { flex: none; min-height: 44px; padding-block: var(--s2); }

@media (max-width: 859.98px) {
  .site-header__cta { display: none; }
  .js .menu-toggle { display: inline-flex; }

  .js .site-nav__list { display: none; }
  .js .site-header.is-open .site-nav__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: var(--s2) var(--gutter) var(--s6);
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .js .site-header.is-open .site-nav__list a {
    display: flex;
    min-height: 52px;
    padding: 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--f-display);
    font-weight: 800;
    font-size: var(--fs-27);
    letter-spacing: .02em;
  }

  /* No JS: nav stays visible and wraps under the wordmark. */
  html:not(.js) .site-header__inner { flex-wrap: wrap; row-gap: 0; }
  html:not(.js) .site-nav { flex-basis: 100%; }
  html:not(.js) .site-nav__list { margin-inline: calc(-1 * var(--s3)); }
}

/* Short viewports (landscape phones, zoom): nothing sticky or fixed. */
@media (max-height: 500px) {
  .site-header { position: relative; }
  html { scroll-padding-top: 0; }
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding-block: var(--section-pad);
  counter-increment: channel;
}
main { counter-reset: channel; }

/* Tuning rule: a dial strip with ticks, a band of static, and one signal needle. */
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: max(var(--gutter), calc((100% - 1200px) / 2));
  right: max(var(--gutter), calc((100% - 1200px) / 2));
  height: 11px;
  transform: translateY(-50%);
  pointer-events: none;
  background:
    linear-gradient(var(--signal), var(--signal)) 61.8% 0 / 2px 100% no-repeat,
    var(--specks) 54% 50% / 160px 8px no-repeat,
    repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 12px) 0 50% / 100% 5px no-repeat,
    linear-gradient(var(--line), var(--line)) 0 50% / 100% 1px no-repeat;
}

.section__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(var(--fs-33), 5.2vw, var(--fs-52) * 1.25);
  line-height: .95;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin-bottom: clamp(var(--s8), 4vw, var(--s12));
  max-width: 18ch;
}
/* Broadcast readout channel number above each section title (decorative, hidden from AT). */
.section .section__title::before {
  content: "CH " counter(channel, decimal-leading-zero);
  content: "CH " counter(channel, decimal-leading-zero) / "";
  display: block;
  margin-bottom: var(--s4);
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-13);
  line-height: 1.4;
  letter-spacing: .08em;
  color: var(--signal);
}

/* Reveal (JS adds html.js and .is-visible). Without JS, or with reduced motion, all visible. */
@media (prefers-reduced-motion: no-preference) {
  html.js .section {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 300ms var(--ease), transform 300ms var(--ease);
  }
  html.js .section.is-visible { opacity: 1; transform: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: min(92vh, 900px);
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(56px, 8vw, 104px);
  background:
    radial-gradient(120% 90% at 78% 18%, #22262D 0%, var(--surface) 34%, var(--bg) 72%),
    var(--bg);
}
.hero::before {
  /* static grain, ~6% */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  background-size: 220px 220px;
  opacity: .06;
  pointer-events: none;
}
.hero::after {
  /* faint off-axis carrier glow for depth (static) */
  content: "";
  position: absolute;
  z-index: -1;
  right: -10%;
  top: -20%;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(255, 91, 46, .10), transparent);
  pointer-events: none;
}

.hero__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .45;
}
.hero--video::before { opacity: .04; }

.motion-toggle {
  position: absolute;
  right: var(--gutter);
  bottom: var(--s6);
  z-index: 2;
  min-height: 44px;
  padding: 0 var(--s4);
  background: rgba(11, 12, 14, .7);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-ctl);
  font-family: var(--f-mono);
  font-size: var(--fs-13);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero__inner { position: relative; }
.hero__inner .eyebrow { margin-bottom: var(--s6); }

.hero__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(56px, 11vw, 168px);
  line-height: .92;
  letter-spacing: -.005em;
  text-transform: uppercase;
  max-width: 9ch;
}
.hero__headline {
  margin-top: var(--s6);
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(var(--fs-27), 3.4vw, var(--fs-42));
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--signal);
}
.hero__tagline {
  margin-top: var(--s4);
  max-width: 46ch;
  font-size: clamp(var(--fs-17), 1.6vw, var(--fs-21));
  line-height: 1.55;
  color: var(--muted);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-top: var(--s8);
}

/* One signal sweep: a beam crosses once, leaving a quiet signal rule at the hero's base. */
.hero__sweep {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0, var(--signal) 18%, var(--signal) 82%, transparent 100%);
  opacity: .55;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__sweep {
    transform-origin: left center;
    animation: mtn-sweep 1.2s var(--ease) 200ms both;
  }
  .hero__sweep::after {
    content: "";
    position: absolute;
    top: -3px;
    left: 0;
    width: 22%;
    height: 8px;
    background: linear-gradient(90deg, transparent, rgba(255, 91, 46, .9) 70%, #FFB59E);
    filter: blur(2px);
    opacity: 0;
    animation: mtn-beam 1.2s var(--ease) 200ms both;
  }
}
@keyframes mtn-sweep {
  from { transform: scaleX(0); opacity: 1; }
  80% { opacity: 1; }
  to { transform: scaleX(1); opacity: .55; }
}
@keyframes mtn-beam {
  0% { transform: translateX(-100%); opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateX(460%); opacity: 0; }
}

/* ---------- Stats ---------- */
.stats {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.stats__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat {
  display: flex;
  flex-direction: column-reverse; /* dd above dt visually; DOM order kept */
  justify-content: flex-end;
  gap: var(--s2);
  padding: clamp(24px, 4vw, 44px) clamp(12px, 2.5vw, 32px);
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__value {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(44px, 6vw, 80px);
  line-height: .9;
  letter-spacing: -.01em;
  color: var(--text);
}
.stat__label {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-13);
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 18ch;
}
@media (max-width: 639.98px) {
  .stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding-inline: var(--s4); }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Venue wall ---------- */
.venues { text-align: center; }
.venues .section__title { margin-inline: auto; max-width: none; }
.venue-wall {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  row-gap: var(--s2);
  max-width: 1080px;
  margin-inline: auto;
  font-family: var(--f-display);
  font-size: clamp(var(--fs-27), 4.6vw, 3.75rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.venue-wall__item:nth-child(odd) { font-weight: 900; color: var(--text); }
.venue-wall__item:nth-child(even) { font-weight: 500; color: var(--muted); }
.venue-wall__item:not(:last-child)::after {
  content: "/";
  content: "/" / "";
  margin-inline: .3em;
  font-weight: 500;
  color: var(--signal);
}

/* ---------- Media placeholders (noise location #1) ---------- */
.media-placeholder {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-media);
}
.media-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--scanlines), var(--grain);
  background-size: auto, 220px 220px;
  opacity: .5;
  mix-blend-mode: soft-light;
}
.media-placeholder--video::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(48px, 12%, 88px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='30' fill='none' stroke='%23F2EFE9' stroke-width='1.5'/%3E%3Cpath d='M26 21.5v21l17-10.5z' fill='none' stroke='%23F2EFE9' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .85;
}
.media-placeholder--photo {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(160deg, rgba(255, 91, 46, .16), rgba(138, 216, 232, .10)),
    var(--surface);
}
.media-placeholder__label {
  position: absolute;
  left: var(--s3);
  bottom: var(--s3);
  right: var(--s3);
  z-index: 1;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-13);
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.media-placeholder__label::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: var(--s2);
  background: var(--signal);
  vertical-align: .12em;
}
.media-placeholder--photo .media-placeholder__label { color: var(--text); }

/* ---------- Video ---------- */
.video-grid {
  display: grid;
  gap: var(--s6) var(--s6);
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: start;
}
.video--feature { grid-row: span 2; }
.video { min-width: 0; }
.video__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s1) var(--s3);
  margin-top: var(--s3);
  font-weight: 500;
}
.video__caption .mono { color: var(--signal); }

.yt-facade {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-media);
}
.yt-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yt-facade__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(11, 12, 14, .72);
  box-shadow: inset 0 0 0 2px var(--text);
}
.yt-facade__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--text);
}
.yt-facade:hover .yt-facade__play { background: var(--signal); box-shadow: none; }
.yt-facade:hover .yt-facade__play::after { border-left-color: var(--ink); }

.video__frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: var(--r-media);
  background: var(--surface);
}

@media (max-width: 759.98px) {
  .video-grid { grid-template-columns: minmax(0, 1fr); }
  .video--feature { grid-row: auto; }
}

/* ---------- Shows ---------- */
.shows__summary {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  margin-top: calc(-1 * var(--s4));
  margin-bottom: var(--s10);
  padding: var(--s2) var(--s4);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-13);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
}
.shows__summary::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--signal);
}

.shows__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 899.98px) {
  .shows__layout { grid-template-columns: minmax(0, 1fr); }
}

/* Calendar (markup rendered by JS) */
.calendar {
  padding: clamp(16px, 2.5vw, 28px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-media);
}
.calendar__note { color: var(--muted); font-size: 0.9375rem; }
.calendar__note:not(:only-child) { margin-top: var(--s4); }
.calendar__note:first-child:not(:only-child) { margin: 0 0 var(--s4); }
.calendar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  margin-bottom: var(--s4);
}
.calendar__month {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: var(--fs-27);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .02em;
  text-align: center;
}
.calendar__prev, .calendar__next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 44px;
  min-height: 44px;
  padding: 0 var(--s3);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-ctl);
  font-family: var(--f-mono);
  font-size: var(--fs-13);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.calendar__prev:hover, .calendar__next:hover { border-color: var(--text); }
.calendar__prev:disabled, .calendar__next:disabled { color: var(--muted); border-color: var(--line); cursor: not-allowed; }

.calendar__grid {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 4px;
  margin-inline: -4px;
  width: calc(100% + 8px);
}
.calendar__grid th {
  padding: var(--s1) 0 var(--s2);
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-13);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding-left: var(--s2);
}
.calendar__grid th abbr { text-decoration: none; }

.cal-day {
  position: relative;
  height: 68px; /* acts as a minimum for table cells */
  padding: 0;
  vertical-align: top;
  background: var(--surface-2);
  border-radius: var(--r-media);
}
.cal-day__num {
  display: block;
  padding: var(--s2) var(--s2) 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: var(--fs-21);
  line-height: 1;
}
.cal-day__label {
  display: block;
  padding: var(--s1) var(--s2) var(--s2);
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-13);
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.cal-day--empty { background: transparent; }
.cal-day--past { background: transparent; color: var(--muted); }
.cal-day--past .cal-day__num { font-weight: 500; }
.cal-day--today { box-shadow: inset 0 0 0 2px var(--text); }
.cal-day--booked { background: var(--signal); color: var(--ink); }
.cal-day--booked.cal-day--past { background: var(--surface-2); color: var(--muted); }
.cal-day--public::after {
  content: "";
  position: absolute;
  top: var(--s2);
  right: var(--s2);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--carrier);
  box-shadow: 0 0 0 2px var(--ink);
  pointer-events: none;
}
.cal-day__link {
  display: block;
  min-height: 100%;
  height: 100%;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
  border-radius: var(--r-media);
}
.cal-day__link:hover { color: inherit; background: rgba(11, 12, 14, .12); }
.cal-day__link:hover .cal-day__num { text-decoration: underline; text-decoration-thickness: 2px; }

.calendar__legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s6);
  margin-top: var(--s4);
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-13);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.calendar__legend li { display: inline-flex; align-items: center; gap: var(--s2); }
.legend__item--booked::before {
  content: "";
  width: 14px; height: 14px;
  background: var(--signal);
  border-radius: var(--r-media);
}
.legend__item--public::before {
  content: "";
  width: 10px; height: 10px;
  margin-inline: 2px;
  border-radius: 50%;
  background: var(--carrier);
}

@media (max-width: 599.98px) {
  .calendar { padding: var(--s3); }
  .cal-day { height: 44px; }
  .cal-day__label { display: none; }
  .cal-day__num { padding: var(--s2) 0 0 var(--s1); font-size: var(--fs-17); }
  .cal-day--public::after { top: 4px; right: 4px; width: 8px; height: 8px; }
  .calendar__grid { border-spacing: 2px; margin-inline: -2px; width: calc(100% + 4px); }
  .calendar__grid th { padding-left: var(--s1); letter-spacing: 0; }
}
/* Narrowest phones: let the grid bleed to the screen edge so 7 cells stay >= 44px. */
@media (max-width: 379.98px) {
  .calendar { margin-inline: calc(-1 * var(--gutter)); border-inline: 0; border-radius: 0; padding-inline: 0; }
  .calendar__head, .calendar__legend, .calendar__note { padding-inline: var(--s3); }
  .calendar__grid { border-spacing: 0; margin-inline: 0; width: 100%; }
  .cal-day { box-shadow: inset 0 0 0 1px var(--surface); border-radius: 0; }
  .cal-day--today { box-shadow: inset 0 0 0 1px var(--surface), inset 0 0 0 3px var(--text); }
}

/* Show list */
.shows__list-title {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-13);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--line);
}
.show-list { list-style: none; }
.show {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-areas: "date venue" "date meta";
  column-gap: var(--s5);
  align-items: center;
  padding: var(--s4) 0;
  border-bottom: 1px solid var(--line);
}
.show.is-past { display: none; }
.show__date {
  grid-area: date;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
.show__month {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-13);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--signal);
}
.show__day {
  margin-top: var(--s1);
  font-family: var(--f-display);
  font-weight: 900;
  font-size: var(--fs-42);
  line-height: .9;
}
.show__venue { grid-area: venue; align-self: end; font-weight: 700; font-size: var(--fs-21); line-height: 1.25; }
.show__meta { grid-area: meta; align-self: start; color: var(--muted); font-size: 0.9375rem; }
.show--private .show__venue { font-weight: 500; color: var(--muted); }
.show--private .show__month { color: var(--muted); }
.show--private .show__day { font-weight: 500; color: var(--muted); }
.shows__cta { margin-top: var(--s6); color: var(--muted); }

/* ---------- Paper sections: reviews ---------- */
.reviews {
  background: var(--paper);
  color: var(--ink);
}
.reviews::before {
  background:
    linear-gradient(var(--signal), var(--signal)) 61.8% 0 / 2px 100% no-repeat,
    repeating-linear-gradient(90deg, var(--line-paper) 0 1px, transparent 1px 12px) 0 50% / 100% 5px no-repeat;
}
.reviews .section__title::before { color: var(--signal-ink); }
.reviews a { color: var(--ink); text-decoration-color: var(--signal-ink); }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.review {
  display: flex;
  flex-direction: column;
  gap: var(--s6);
  padding-top: var(--s6);
  border-top: 2px solid var(--ink);
}
.review__quote {
  position: relative;
  font-size: var(--fs-21);
  line-height: 1.45;
  font-weight: 500;
}
.review__quote::before {
  content: "\201C";
  content: "\201C" / "";
  display: block;
  height: .5em;
  margin-bottom: var(--s3);
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--signal-ink);
}
.review__who {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--s1);
  font-weight: 700;
}
.review__role {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-13);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-paper);
}
@media (max-width: 859.98px) {
  .reviews__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- About ---------- */
.about__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.about__intro { font-size: var(--fs-21); line-height: 1.55; max-width: 38ch; }
.about__note {
  margin-top: var(--s6);
  padding-left: var(--s4);
  border-left: 2px solid var(--signal);
  color: var(--muted);
  max-width: 44ch;
}
.lineup { list-style: none; border-top: 1px solid var(--line); }
.lineup__member {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: var(--s4);
  row-gap: var(--s1);
  padding: var(--s4) 0;
  border-bottom: 1px solid var(--line);
}
.lineup__mono, .lineup__photo {
  width: 48px;
  height: 48px;
  border-radius: var(--r-media);
}
.lineup__mono {
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: var(--fs-21);
  line-height: 1;
  color: var(--signal);
}
.lineup__photo { object-fit: cover; }
.lineup__name { font-weight: 700; font-size: var(--fs-17); }
.lineup__role {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-13);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}
@media (max-width: 859.98px) {
  .about__layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 479.98px) {
  .lineup__member { grid-template-columns: 48px minmax(0, 1fr); }
  .lineup__role { grid-column: 2; text-align: left; }
  .lineup__name { grid-column: 2; }
  .lineup__mono, .lineup__photo { grid-row: span 2; }
}

/* ---------- Setlist (printed setlist) ---------- */
.setlist__list {
  list-style: none;
  counter-reset: song;
  columns: 2;
  column-gap: clamp(32px, 6vw, 96px);
  border-top: 2px solid var(--text);
}
.setlist__song {
  counter-increment: song;
  break-inside: avoid;
  display: flex;
  align-items: baseline;
  gap: var(--s4);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(var(--fs-21), 2.6vw, var(--fs-33));
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.setlist__song::before {
  content: counter(song, decimal-leading-zero);
  flex: none;
  width: 2.2em;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-13);
  letter-spacing: .08em;
  color: var(--signal);
}
.setlist__year { font-family: var(--f-mono); font-weight: 500; font-size: var(--fs-13); letter-spacing: .08em; color: var(--muted); margin-left: auto; }
.setlist__more { margin-top: var(--s8); color: var(--muted); max-width: 60ch; }
.setlist__more a { color: var(--text); }
@media (max-width: 639.98px) {
  .setlist__list { columns: 1; }
}

/* ---------- Photos ---------- */
.gallery {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s4);
}
.gallery__item { min-width: 0; }
.gallery__open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--surface);
  border-radius: var(--r-media);
  overflow: hidden;
}
.gallery__open img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 859.98px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479.98px) { .gallery { grid-template-columns: minmax(0, 1fr); } }

.lightbox {
  width: min(100vw - 32px, 1200px);
  max-height: calc(100vh - 32px);
  padding: var(--s4);
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--r-media);
}
.lightbox::backdrop { background: rgba(11, 12, 14, .92); }
.lightbox__img { max-height: 75vh; margin-inline: auto; border-radius: var(--r-media); }
.lightbox__caption, .lightbox__count { margin-top: var(--s3); color: var(--muted); }
.lightbox__count { font-family: var(--f-mono); font-size: var(--fs-13); letter-spacing: .08em; text-transform: uppercase; }
.lightbox__prev, .lightbox__next, .lightbox__close {
  min-height: 44px;
  margin-top: var(--s3);
  margin-right: var(--s2);
  padding: 0 var(--s4);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-ctl);
}

/* ---------- Press kit (EPK) ---------- */
.press { background: var(--surface); }
.press::before { top: 0; }
.press__lede {
  margin-top: calc(-1 * var(--s4));
  margin-bottom: var(--s10);
  max-width: 56ch;
  font-size: var(--fs-21);
  line-height: 1.5;
  color: var(--muted);
}
.press__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.press__bios { display: grid; gap: var(--s6); }

.bio {
  padding: clamp(24px, 3vw, 40px);
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r-media);
}
.bio__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s2) var(--s4);
  padding-bottom: var(--s4);
  margin-bottom: var(--s5);
  border-bottom: 1px solid var(--line-paper);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: var(--fs-27);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.bio__count {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-13);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-paper);
}
.bio__text { font-size: var(--fs-17); line-height: 1.7; max-width: 66ch; }
.bio .copy-btn { margin-top: var(--s6); color: var(--ink); border-color: var(--ink); }
.bio .copy-btn:hover { background: var(--ink); color: var(--paper); }
.copy-btn::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 1h9v11h-2V3H5z M2 4h9v11H2z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 1h9v11h-2V3H5z M2 4h9v11H2z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}

.press__side { display: grid; gap: var(--s4); align-content: start; }
.press__subtitle {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-13);
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--signal);
}
.press__side .press__subtitle:not(:first-child) { margin-top: var(--s8); }

.facts { border-top: 1px solid var(--line); }
.fact {
  display: grid;
  grid-template-columns: 9.5em minmax(0, 1fr);
  gap: var(--s4);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--line);
}
.fact dt {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-13);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: .2em;
}
.fact dd { font-weight: 500; }

.assets { list-style: none; border-top: 1px solid var(--line); }
.asset {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s1) var(--s3);
  min-height: 48px;
  padding: var(--s2) 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.asset a { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; }
.asset a::after { content: "\2193"; content: "\2193" / ""; color: var(--signal); text-decoration: none; }
.asset--pending { color: var(--muted); font-weight: 400; }
.asset__note {
  padding: 2px var(--s2);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-13);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.press > .wrap > .press__subtitle { margin-top: clamp(48px, 7vw, 80px); margin-bottom: var(--s4); }
.history { list-style: none; border-left: 1px solid var(--line-strong); margin-left: 5px; }
.history__item {
  position: relative;
  display: grid;
  grid-template-columns: 6.5em minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s1) var(--s6);
  align-items: baseline;
  padding: var(--s3) 0 var(--s3) var(--s6);
}
.history__item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 1.15em;
  width: 9px;
  height: 9px;
  background: var(--surface);
  border: 2px solid var(--signal);
  border-radius: 50%;
}
.history__item:first-child::before { background: var(--signal); }
.history__date { color: var(--signal); }
.history__event { font-weight: 700; }
.history__place { color: var(--muted); }

.press__quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: var(--s6); margin-top: var(--s12); }
.press-quote { padding: var(--s6); border-left: 2px solid var(--signal); background: var(--surface-2); }
.press-quote p { font-size: var(--fs-21); line-height: 1.45; }
.press-quote footer { margin-top: var(--s3); font-family: var(--f-mono); font-size: var(--fs-13); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 899.98px) {
  .press__layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639.98px) {
  .history__item { grid-template-columns: minmax(0, 1fr); }
  .fact { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* ---------- FAQ ---------- */
.faq__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: var(--s4) var(--s12) var(--s4) 0;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: var(--fs-21);
  line-height: 1.35;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
.faq__q::after {
  /* custom marker: a plus inside a square that turns to a minus */
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-ctl);
  background:
    linear-gradient(var(--signal), var(--signal)) center / 12px 2px no-repeat,
    linear-gradient(var(--signal), var(--signal)) center / 2px 12px no-repeat;
}
.faq__item[open] > .faq__q::after {
  background: linear-gradient(var(--signal), var(--signal)) center / 12px 2px no-repeat;
  border-color: var(--signal);
}
.faq__q:hover { color: var(--signal); }
.faq__a { padding: 0 var(--s12) var(--s5) 0; color: var(--muted); max-width: 62ch; }
@media (max-width: 859.98px) {
  .faq__layout { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Booking ---------- */
.booking {
  background:
    radial-gradient(80% 60% at 0% 100%, rgba(255, 91, 46, .07), transparent 70%),
    var(--bg);
}
.booking__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.steps { list-style: none; counter-reset: step; display: grid; gap: var(--s6); }
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: var(--s4);
  row-gap: var(--s1);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  grid-row: span 2;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: var(--fs-42);
  line-height: .9;
  color: var(--signal);
}
.step__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: var(--fs-27);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.step__text { color: var(--muted); }
.booking__promise {
  margin-top: var(--s10);
  padding: var(--s4) var(--s5);
  border: 1px solid var(--line);
  border-left: 3px solid var(--carrier);
  font-weight: 700;
}
.booking__direct { margin-top: var(--s5); color: var(--muted); }
.booking__email { color: var(--text); font-weight: 700; }

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s5) var(--s4);
  padding: clamp(20px, 3.5vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--signal);
  border-radius: var(--r-media);
}
.booking-form > * { grid-column: 1 / -1; }
.booking-form > .field--half { grid-column: span 1; }
@media (max-width: 559.98px) {
  .booking-form > .field--half { grid-column: 1 / -1; }
}

.form-hint { color: var(--muted); font-size: 0.9375rem; }
.req { color: var(--muted); font-weight: 400; font-size: 0.9375rem; }

.field { display: flex; flex-direction: column; gap: var(--s2); min-width: 0; }
.field label { font-weight: 700; font-size: var(--fs-17); line-height: 1.35; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--s3) var(--s4);
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid #4A505B; /* 3:1+ against surface for the field boundary */
  border-radius: var(--r-ctl);
  font-size: var(--fs-17);
  line-height: 1.4;
}
.field textarea { min-height: 128px; resize: vertical; }
.field select {
  appearance: none;
  padding-right: var(--s12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%23F2EFE9' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}
.field select option { background: var(--surface-2); color: var(--text); }
.field input[type="date"] { color-scheme: dark; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--carrier); }
.field [aria-invalid="true"] {
  border-color: var(--signal);
  box-shadow: inset 0 0 0 1px var(--signal);
}
.field [aria-invalid="true"]:focus-visible { box-shadow: inset 0 0 0 1px var(--signal), 0 0 0 7px var(--ink); }

.field__hint { color: var(--muted); font-size: 0.9375rem; line-height: 1.45; }
.field__note { color: var(--carrier); font-size: 0.9375rem; line-height: 1.45; font-weight: 500; }
.field__note:empty { display: none; }
.field__error {
  display: flex;
  align-items: flex-start;
  gap: var(--s2);
  color: var(--signal);     /* 5.8:1 on surface */
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.field__error::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: .1em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='9' fill='%23FF5B2E'/%3E%3Cpath d='M9 4.5v5.5' stroke='%230B0C0E' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='9' cy='13.3' r='1.3' fill='%230B0C0E'/%3E%3C/svg%3E") center / contain no-repeat;
}

.form-errors {
  padding: var(--s5);
  border: 2px solid var(--signal);
  border-radius: var(--r-ctl);
  background: var(--bg);
}
.form-errors h2, .form-errors h3, .form-errors p:first-child {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: var(--fs-17);
  text-transform: none;
  margin-bottom: var(--s2);
}
.form-errors ul { list-style: none; display: grid; gap: var(--s1); }
.form-errors li { display: flex; gap: var(--s2); }
.form-errors li::before { content: "\2022"; content: "\2022" / ""; color: var(--signal); }
.form-errors a { display: inline-flex; min-height: 24px; align-items: center; color: var(--text); }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status { color: var(--muted); font-size: 0.9375rem; }
.form-status:empty { display: none; }

.booking-form.is-sending { cursor: progress; }
.booking-form.is-sending button[type="submit"] {
  opacity: .7;
  pointer-events: none;
}
.booking-form.is-sending button[type="submit"]::after {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
}
@media (prefers-reduced-motion: no-preference) {
  .booking-form.is-sending button[type="submit"]::after { animation: mtn-spin 900ms linear infinite; }
}
@keyframes mtn-spin { to { transform: rotate(360deg); } }

.form-success {
  padding: clamp(24px, 4vw, 48px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--carrier);
  border-radius: var(--r-media);
}
.form-success h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: var(--fs-42);
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: var(--s4);
}
.form-success p { color: var(--muted); max-width: 52ch; }
.form-success p + p { margin-top: var(--s3); }

@media (max-width: 899.98px) {
  .booking__layout { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Facebook ---------- */
.fb-embed {
  width: 100%;
  max-width: 500px;
  min-height: 600px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-media);
  overflow: hidden;
}
.fb-embed iframe { width: 100%; border: 0; }
.fb-note { margin-top: var(--s4); color: var(--muted); font-size: 0.9375rem; max-width: 60ch; }

/* ---------- Footer ---------- */
.site-footer {
  padding-block: clamp(48px, 7vw, 80px);
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s3) var(--s8);
  align-items: end;
}
.site-footer__name {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(var(--fs-42), 7vw, 6rem);
  line-height: .9;
  text-transform: uppercase;
}
.site-footer__region {
  grid-column: 1;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-13);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--signal);
}
.social { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); grid-column: 2; grid-row: 1 / span 2; align-self: end; }
.social a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-13);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-footer__copy {
  grid-column: 1 / -1;
  margin-top: var(--s6);
  padding-top: var(--s5);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9375rem;
}
@media (max-width: 639.98px) {
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); }
  .social { grid-column: 1; grid-row: auto; }
}

/* ---------- Mobile CTA bar ---------- */
.mobile-cta { display: none; }
@media (max-width: 859.98px) {
  .mobile-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: var(--s3) var(--gutter) calc(var(--s3) + env(safe-area-inset-bottom, 0px));
    padding-left: calc(var(--gutter) + env(safe-area-inset-left, 0px));
    padding-right: calc(var(--gutter) + env(safe-area-inset-right, 0px));
    background: rgba(11, 12, 14, .96);
    border-top: 1px solid var(--line);
  }
  body { padding-bottom: calc(48px + 2 * var(--s3) + 1px + env(safe-area-inset-bottom, 0px)); }
  .page-404 { padding-bottom: 0; }
}
/* Short viewports: the bar would cover too much; let it sit in flow at the end. */
@media (max-width: 859.98px) and (max-height: 500px) {
  .mobile-cta { position: static; }
  body { padding-bottom: 0; }
}

/* ---------- 404 ---------- */
.page-404 {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(90% 70% at 70% 20%, var(--surface), var(--bg) 70%),
    var(--bg);
}
.page-404 main { text-align: left; }
.page-404 .section::before { display: none; }
.page-404 .section__title {
  font-size: clamp(56px, 11vw, 168px);
  font-weight: 900;
  line-height: .92;
  max-width: none;
}
.page-404 .section__title::before { content: "ERR 404 / NO SIGNAL"; content: "ERR 404 / NO SIGNAL" / ""; }
.page-404 p { font-size: var(--fs-21); color: var(--muted); }
.page-404 p a { color: var(--text); }

/* ---------- Forced colors ---------- */
@media (forced-colors: active) {
  .btn, .menu-toggle, .calendar__prev, .calendar__next { border: 2px solid ButtonText; }
  .cal-day--booked { forced-color-adjust: none; background: Highlight; color: HighlightText; }
  .section::before, .hero::before, .media-placeholder::before { display: none; }
  :focus-visible { outline: 3px solid Highlight; }
}

/* ---------- Print (press kit friendly) ---------- */
@media print {
  .site-header, .mobile-cta, .preview-banner, .hero__sweep, .booking-form, .fb-embed, .copy-btn, .skip-link { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .section, .hero, .stats, .press, .reviews { background: #fff !important; color: #000; opacity: 1 !important; transform: none !important; padding-block: 24px; }
  .section::before { display: none; }
  .bio { border: 1px solid #999; }
  .muted, .hero__tagline, .fact dt, .history__place { color: #333; }
}

/* Keep the calendar in view beside the long list on large screens. */
@media (min-width: 900px) and (min-height: 760px) {
  .calendar { position: sticky; top: calc(var(--header-h) + var(--s6)); }
}

/* ==========================================================================
   JS hooks (site.js by the accessibility expert)
   ========================================================================== */

/* Header stays one compact row on desktop (JS measures it into --header-h). */
@media (min-width: 860px) {
  .site-nav__list { flex-wrap: nowrap; }
}
@media (min-width: 860px) and (max-width: 1119.98px) {
  .site-header__inner { gap: var(--s3); }
  .site-nav__list a { padding: 0 var(--s2); letter-spacing: .05em; }
  .site-header__cta { padding-inline: var(--s4); font-size: 0.9375rem; }
  .wordmark { font-size: var(--fs-21); }
}

/* aria-disabled controls: dimmed, still focusable. */
.calendar__prev[aria-disabled="true"],
.calendar__next[aria-disabled="true"] {
  color: var(--muted);
  border-color: var(--line);
  border-style: dashed;
  cursor: default;
}
.calendar__prev[aria-disabled="true"]:hover,
.calendar__next[aria-disabled="true"]:hover { border-color: var(--line); }
.booking-form [type="submit"][aria-disabled="true"] {
  opacity: .6;
  cursor: default;
}
.booking-form [type="submit"][aria-disabled="true"]:hover { background: var(--signal); border-color: var(--signal); }

.calendar__arrow {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: var(--fs-27);
  line-height: 1;
  letter-spacing: 0;
  margin-top: -.12em;
}

/* Today */
td[aria-current="date"] { box-shadow: inset 0 0 0 2px var(--text); }
@media (max-width: 379.98px) {
  td[aria-current="date"] { box-shadow: inset 0 0 0 1px var(--surface), inset 0 0 0 3px var(--text); }
}

/* Public days: not color alone. Dot (shape) + inner ring + underlined date number. */
.cal-day--public { outline: 2px solid var(--ink); outline-offset: -6px; }
.cal-day--public .cal-day__num {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.cal-day--public:not(.cal-day--booked) { outline-color: var(--carrier); }
@media (max-width: 599.98px) {
  .cal-day--public { outline-offset: -4px; }
}
.legend__item--booked::before { border: 0; }
.legend__item--public::before {
  width: 14px;
  height: 14px;
  margin-inline: 0;
  border-radius: var(--r-media);
  background:
    radial-gradient(circle at 75% 25%, var(--carrier) 0 2.5px, var(--ink) 3px 4px, transparent 4.5px),
    var(--signal);
  outline: 1.5px solid var(--ink);
  outline-offset: -4px;
}
.cal-day__link:focus-visible {
  outline: 3px solid var(--carrier);
  outline-offset: 2px;
  box-shadow: 0 0 0 7px var(--ink);
  position: relative;
  z-index: 1;
}

/* Show rows targeted from calendar day links */
.show:target {
  margin-inline: calc(-1 * var(--s3));
  padding-inline: var(--s3);
  background: var(--surface-2);
  box-shadow: inset 3px 0 0 var(--carrier);
}
.show:target .show__venue::after {
  content: "Selected";
  content: "Selected" / "";
  margin-left: var(--s3);
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-13);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--carrier);
  vertical-align: .1em;
}

/* Form error states */
.field--invalid label { color: var(--text); }
.field--invalid {
  padding-left: var(--s3);
  margin-left: calc(-1 * var(--s3) - 3px);
  border-left: 3px solid var(--signal);
}
.form-errors__title {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: var(--fs-17);
  line-height: 1.4;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: var(--s2);
}
.form-errors__list { list-style: none; display: grid; gap: var(--s1); }
#form-errors:focus-visible,
.form-errors:focus-visible {
  outline: 3px solid var(--carrier);
  outline-offset: 2px;
  box-shadow: 0 0 0 7px var(--ink);
}
.form-errors:focus:not(:focus-visible) { outline: 3px solid var(--carrier); outline-offset: 2px; }

/* State classes */
.copy-btn.is-copied,
.bio .copy-btn.is-copied {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.copy-btn.is-copied::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8.5l4 4 8-9' fill='none' stroke='black' stroke-width='2.4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8.5l4 4 8-9' fill='none' stroke='black' stroke-width='2.4'/%3E%3C/svg%3E");
}
.motion-toggle.is-paused { border-color: var(--carrier); color: var(--carrier); }

/* Embeds */
.fb-embed__frame { display: block; max-width: 100%; border: 0; }
.video .video__frame,
.video__frame {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Keep focused fields clear of the fixed mobile CTA bar. */
@media (max-width: 859.98px) {
  html { scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 859.98px) and (max-height: 500px) {
  html { scroll-padding-bottom: 0; }
}

/* Narrow phones: keep wordmark + menu button on one line (with room for a scrollbar). */
@media (max-width: 399.98px) {
  .site-header__inner { gap: var(--s3); }
  .wordmark { font-size: var(--fs-21); }
  .menu-toggle { padding-inline: var(--s3); }
}

.setlist__note {
  margin-top: var(--s4);
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
  max-width: 60ch;
}
.setlist__list + .setlist__note { margin-top: var(--s6); }
.shows__subscribe {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  min-height: 44px;
  margin-top: var(--s2);
  font-weight: 500;
}
.shows__subscribe::before {
  content: "+";
  content: "+" / "";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--carrier);
  border-radius: 50%;
  color: var(--carrier);
  font-family: var(--f-mono);
  font-size: var(--fs-13);
  line-height: 1;
  text-decoration: none;
}

/* ---------- Hero genres: a broadcast "band scan" of readout chips ---------- */
.genres {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2);
  margin-top: var(--s6);
  max-width: 44rem;
}
.genres::before {
  content: "On the dial";
  content: "On the dial" / "";
  flex-basis: 100%;
  margin-bottom: var(--s1);
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-13);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.genres__item {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  min-height: 32px;
  padding: var(--s1) var(--s3);
  background: rgba(21, 23, 27, .72);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-13);
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}
.genres__item::before {
  /* tick mark, like a frequency marker on a dial */
  content: "";
  flex: none;
  width: 2px;
  height: 10px;
  background: var(--line-strong);
}
.genres__item:first-child::before,
.genres__item:last-child::before { background: var(--signal); }

/* ---------- Optional hooks (see report): next-show callout, cancelled dates ---------- */
.show--cancelled .show__venue { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--muted); }
.show--cancelled .show__venue::after {
  content: "Cancelled";
  margin-left: var(--s3);
  padding: 1px var(--s2);
  border: 1px solid var(--signal);
  border-radius: 2px;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-13);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--signal);
  display: inline-block;
}
.next-show {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2) var(--s4);
  margin-top: var(--s8);
  padding: var(--s3) var(--s4);
  max-width: 44rem;
  background: rgba(21, 23, 27, .8);
  border: 1px solid var(--line);
  border-left: 3px solid var(--carrier);
  border-radius: var(--r-media);
}
.next-show__label {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-13);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--carrier);
}
.next-show__what { font-weight: 700; }
.next-show__when { color: var(--muted); }

/* ---------- Gallery: lead with one big crowd shot (listing-style hero photo) ---------- */
@media (min-width: 640px) {
  .gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery__item:first-child .media-placeholder,
  .gallery__item:first-child .gallery__open,
  .gallery__item:first-child .gallery__open img { height: 100%; aspect-ratio: auto; }
  .gallery__item:first-child .media-placeholder { min-height: 100%; }
}
@media (min-width: 640px) and (max-width: 859.98px) {
  .gallery__item:first-child { grid-row: auto; }
  .gallery__item:first-child .media-placeholder,
  .gallery__item:first-child .gallery__open img { aspect-ratio: 16 / 9; height: auto; }
}

/* ---------- Quick-fact badges (hook: ul.badges > li.badge) ---------- */
.badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s6);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  min-height: 36px;
  padding: var(--s1) var(--s3) var(--s1) var(--s2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.3;
}
.badge::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230B0C0E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat,
    var(--carrier);
}
.reviews .badge, .bio .badge { background: var(--paper-2); border-color: var(--line-paper); color: var(--ink); }

/* ---------- Review rating + source (hooks: .review__rating with visually-hidden text, .review__source) ---------- */
.review__rating {
  display: inline-flex;
  gap: 2px;
  color: var(--signal-ink);
  font-size: var(--fs-17);
  line-height: 1;
  letter-spacing: 0;
}
.review__rating[data-stars]::before {
  content: "\2605\2605\2605\2605\2605";
  content: "\2605\2605\2605\2605\2605" / "";
  letter-spacing: 2px;
}
.review__source {
  display: inline-block;
  margin-top: var(--s2);
  padding: 2px var(--s2);
  border: 1px solid var(--line-paper);
  border-radius: 2px;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-13);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-paper);
}

/* ---------- Video runtime chip (hook: span.video__runtime inside the caption) ---------- */
.video__runtime {
  margin-left: auto;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-13);
  letter-spacing: .08em;
  color: var(--muted);
}
