/* ==========================================================================
   Marquee — utilities (layout, type helpers, visibility)
   ========================================================================== */

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--bleed { max-width: none; }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 6rem); }

.grid { display: grid; gap: var(--gap, var(--s-5)); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 991px) {
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .cols-4--keep, .cols-2--keep { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.stack > * + * { margin-top: var(--stack, var(--s-4)); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap, var(--s-3)); }
.split { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-5); flex-wrap: wrap; }

.text-lead { font-size: var(--fs-lead); line-height: 1.4; font-weight: 450; text-wrap: pretty; }
.text-small { font-size: var(--fs-small); }
.text-muted { color: var(--fg-muted); }
.text-upper { text-transform: uppercase; }
.text-center { text-align: center; }
.t-wide   { font-stretch: var(--stretch-wide); }
.t-narrow { font-stretch: var(--stretch-narrow); }
.t-black  { font-weight: 900; }

/* Mono label: stage names, times, small captions */
.label {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  line-height: 1.3;
}

/* Highlighter: the volt marker swipe behind headline words (ref: Con-fret) */
.mark {
  background: var(--hi);
  color: var(--c-ink);
  padding: 0 0.12em;
  margin-inline: -0.04em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hide-mobile { display: initial; }
.show-mobile { display: none; }
@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
  .show-mobile { display: initial; }
}
.no-scroll { overflow: hidden; }

/* Mobile gallery: cards become a snap-scroll rail (about 1.1 cards per view) */
@media (max-width: 767px) {
  .snap-x { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: var(--s-4) !important; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: var(--s-3); }
  .snap-x::-webkit-scrollbar { display: none; }
  .snap-x > * { flex: none; width: min(78vw, 22rem); scroll-snap-align: start; }
}
