/* =====================================================================
   MOTEL TRANSYLVANIA — public site stylesheet (2026 redesign)
   Source of truth for tokens and rules: DESIGN.md (repo root).
   No framework: one dark theme, one accent, radius 0 everywhere.
   ===================================================================== */

:root {
  --accent: #9be300;
  --accent-hover: #c4ff4d;
  --on-accent: #0a0a0a;
  --canvas: #0a0a0a;
  --canvas-alt: #0d0d0d;
  --surface: #121212;
  --hairline: #1f1f1f;
  --border: #222222;
  --control-border: #63635e;
  --text-strong: #f2f2ee;
  --text: #c9c9c3;
  --text-soft: #b8b8b2;
  --text-mute: #8f8f89;

  --f-display: 'Anton', Impact, 'Arial Narrow Bold', sans-serif;
  --f-label: 'Cousine', ui-monospace, 'Courier New', monospace;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: 32px;
  --section-y: 96px;
  --container: 1280px;
}
@media (max-width: 767px) {
  :root { --gutter: 16px; --section-y: 48px; }
}
@media (min-width: 1920px) {
  :root { --container: 1560px; --gutter: 48px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--canvas); color: var(--text);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1000; padding: 12px 16px; background: var(--accent); color: var(--on-accent); font-family: var(--f-label); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 8px; }
.skip-link:hover { color: var(--on-accent); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; border-top: 1px solid var(--hairline); }
.section--alt { background: var(--canvas-alt); }
.stack { display: flex; flex-direction: column; gap: 24px; }

/* ---------- type ---------- */
.display, .h1, .h2, .h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; color: var(--text-strong); line-height: 0.95; }
.h1 { font-size: clamp(52px, 7vw, 96px); }
.h2 { font-size: clamp(40px, 4.4vw, 56px); line-height: 1; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.05; }
.lead { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5; color: var(--text-strong); max-width: 560px; }
.body { font-size: 17px; line-height: 1.6; color: var(--text); max-width: 65ch; }
.meta { font-family: var(--f-label); font-size: 13px; letter-spacing: 1px; color: var(--text-mute); }
@media (max-width: 767px) { .body { font-size: 15px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 0;
  font-family: var(--f-label); font-weight: 700; font-size: 14px; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer; background: none;
  transition: background-color .15s ease-out, border-color .15s ease-out, color .15s ease-out;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn--secondary { border-color: var(--control-border); color: var(--text-strong); background: rgba(10,10,10,.6); }
.btn--secondary:hover { border-color: var(--text-strong); color: var(--text-strong); }
.btn--sm { min-height: 48px; padding: 0 20px; font-size: 13px; }
.btn svg { flex: 0 0 auto; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 767px) {
  .btn-row--stack { flex-direction: column; }
  .btn-row--stack .btn { width: 100%; }
}
.icon-btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--control-border); color: var(--text); background: transparent; padding: 0; cursor: pointer;
  transition: border-color .15s ease-out, color .15s ease-out;
}
.icon-btn:hover { border-color: var(--text-strong); color: var(--text-strong); }
@media (max-width: 767px) { .icon-btn { width: 48px; height: 48px; } }

/* ---------- header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--canvas); border-bottom: 1px solid var(--hairline); }
.site-header .container { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text-strong); text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--text-strong); }
.brand img { width: 40px; height: 40px; }
.brand span { font-family: var(--f-display); font-size: 20px; letter-spacing: 2px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.icon-btn) { font-family: var(--f-label); font-size: 13px; letter-spacing: 2px; color: var(--text-soft); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.icon-btn):hover { color: var(--text-strong); }
.nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.nav-toggle { display: none; }
@media (max-width: 899px) {
  .site-header .container { height: 64px; }
  .brand img { width: 36px; height: 36px; }
  .brand span { font-size: 17px; letter-spacing: 1.5px; }
  .nav-toggle { display: inline-flex; color: var(--text-strong); }
  .nav {
    position: fixed; left: 0; right: 0; top: 64px; bottom: 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 32px;
    background: var(--canvas); border-top: 1px solid var(--hairline);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease-out, transform .2s ease-out, visibility 0s linear .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease-out, transform .2s ease-out; }
  .nav a:not(.icon-btn) { font-family: var(--f-display); font-size: 36px; letter-spacing: 1px; color: var(--text-strong); padding: 14px 0; border-bottom: 1px solid var(--hairline); }
  .nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--hairline); }
  .nav .icon-btn { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) { .nav { transition: none !important; } }
/* language switch (generated by claude/tools/i18n.mjs into every page) */
.lang-switch { display: flex; align-items: center; border: 1px solid var(--control-border); }
.nav .lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; padding: 0 6px; border: 0; font-family: var(--f-label); font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--text-mute); }
.nav .lang-switch a + a { border-left: 1px solid var(--control-border); }
.nav .lang-switch a:hover { color: var(--text-strong); }
.nav .lang-switch a[aria-current="true"] { background: var(--text-strong); color: var(--canvas); }
@media (max-width: 899px) {
  .nav .lang-switch { margin-top: 24px; align-self: flex-start; }
  .nav .lang-switch a { min-width: 52px; min-height: 48px; font-family: var(--f-label); font-size: 14px; letter-spacing: 1px; padding: 0 10px; border-bottom: 0; }
  .nav .lang-switch + .icon-btn { margin-top: 16px; }
}

/* ---------- hero (home) ---------- */
.hero {
  /* hero height follows the viewport, capped so ultra-wide / very tall screens keep a sane frame */
  --hero-h: clamp(560px, calc(100svh - 72px), 1100px);
  --hero-w: calc(var(--hero-h) * 2.1); /* widest the photo is allowed to get before it would crop the faces */
  position: relative; isolation: isolate; overflow: hidden;
  min-height: var(--hero-h); display: flex; align-items: flex-end; background: var(--canvas);
}
.hero-media { position: absolute; inset: 0; z-index: -1; display: flex; justify-content: center; }
.hero-img {
  width: 100%; max-width: var(--hero-w); height: 100%; object-fit: cover; object-position: center 30%;
  /* on screens wider than --hero-w (21:9, 32:9) the photo stops growing and its edges fade into the canvas;
     the fade is 0px whenever the photo fills the width, so normal screens are unaffected */
  --fade: clamp(0px, calc((100vw - var(--hero-w)) / 2), 280px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%);
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.15) 0%, rgba(10,10,10,.35) 45%, rgba(10,10,10,.92) 78%, #0a0a0a 100%);
}
.hero .container {
  padding-top: 96px; padding-bottom: 72px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
}
.hero-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.hero .btn-row { padding-top: 8px; }

/* next show, surfaced in the first screen */
.hero-next {
  flex: 0 0 auto; display: flex; gap: 16px; align-items: center; min-width: 300px; max-width: 380px;
  padding: 16px 20px 16px 16px; background: rgba(18,18,18,.92); border: 1px solid var(--border);
  color: var(--text-strong); text-decoration: none; transition: border-color .15s ease-out;
}
.hero-next[hidden] { display: none; }
.hero-next:hover { border-color: var(--accent); }
.hero-next .where { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hero-next .h3 { letter-spacing: 1px; }
.hero-next p { font-size: 14px; color: var(--text-soft); }
.hero-next .arrow { margin-left: auto; color: var(--accent); }

@media (max-width: 767px) {
  .hero { min-height: 0; display: block; }
  .hero-media { position: static; display: block; }
  .hero-media::after { display: none; }
  .hero-img { height: auto; max-width: none; aspect-ratio: 390 / 272; -webkit-mask-image: none; mask-image: none; }
  .hero .container { padding-top: 24px; padding-bottom: 32px; flex-direction: column; align-items: stretch; gap: 20px; }
  .hero-copy { gap: 14px; }
  .hero .h1 { font-size: 52px; }
  .hero .lead { font-size: 16px; }
  .hero-next { min-width: 0; max-width: none; }
}

/* quick links (mobile only) */
.quicklinks { display: none; }
@media (max-width: 767px) {
  .quicklinks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
  .quicklinks a { display: flex; align-items: center; justify-content: center; min-height: 52px; font-family: var(--f-label); font-weight: 700; font-size: 13px; letter-spacing: 2px; color: var(--text-strong); text-decoration: none; }
  .quicklinks a + a { border-left: 1px solid var(--hairline); }
}

/* teaser strip */
.leak {
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  background: linear-gradient(90deg, rgba(10,10,10,.9) 0%, rgba(10,10,10,.78) 55%, rgba(10,10,10,.4) 100%), url("../images/teaser-texture.jpg") center / cover;
}
.leak .container { padding-top: 56px; padding-bottom: 56px; }
.leak p { font-family: var(--f-display); font-size: clamp(44px, 5vw, 72px); line-height: .95; color: var(--text-strong); text-transform: uppercase; }
@media (max-width: 767px) {
  .leak { background: linear-gradient(rgba(10,10,10,.78), rgba(10,10,10,.82)), url("../images/teaser-texture.jpg") center / cover; }
  .leak .container { padding-top: 40px; padding-bottom: 40px; }
}

/* ---------- live ---------- */
.live-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 48px; row-gap: 40px; align-items: start; }
.live-next { grid-column: span 5; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.live-past { grid-column: span 7; display: flex; flex-direction: column; min-width: 0; }
.live-past .h3 { font-size: 32px; margin-bottom: 16px; }
@media (max-width: 899px) { .live-grid { grid-template-columns: minmax(0, 1fr); } .live-next, .live-past { grid-column: 1 / -1; } }

/* flyers come portrait (4:5) or landscape (banner): show them whole, never cropped */
.poster { display: block; width: 100%; height: auto; }
.show-card { display: flex; gap: 20px; align-items: center; padding: 20px; background: var(--surface); border: 1px solid var(--border); }
.show-card + .show-card { margin-top: -8px; }
.date-block { flex: 0 0 auto; min-width: 76px; padding: 10px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--accent); color: var(--on-accent); }
.date-block .d { font-family: var(--f-display); font-size: 36px; line-height: 1; }
.date-block .m { font-family: var(--f-label); font-weight: 700; font-size: 12px; letter-spacing: 2px; }
.show-card .h3 { letter-spacing: 1px; }
.show-card p { font-size: 15px; color: var(--text-soft); }
.show-card .t-link { margin-left: auto; }
@media (max-width: 767px) {
  .show-card { padding: 16px; gap: 16px; flex-wrap: wrap; }
  .date-block { min-width: 68px; padding: 8px 0; }
  .date-block .d { font-size: 30px; }
  .show-card .t-link { margin-left: 0; width: 100%; }
}
.empty-card { display: flex; flex-direction: column; gap: 16px; padding: 32px; background: var(--surface); border: 1px solid var(--border); }
.empty-card .btn { align-self: flex-start; }
@media (max-width: 767px) { .empty-card { padding: 24px 20px; } .empty-card .btn { align-self: stretch; } }

.past-row { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 20px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--hairline); }
.past-row .when { font-family: var(--f-label); font-size: 13px; letter-spacing: 1px; color: var(--text-mute); }
.past-row .what { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.past-row .venue { font-family: var(--f-display); font-size: 22px; line-height: 1.1; color: var(--text-strong); text-transform: uppercase; }
.past-row .city { font-size: 14px; color: var(--text-soft); }
.past-row .note { font-family: var(--f-label); font-weight: 700; font-size: 12px; letter-spacing: 2px; color: var(--accent); }
@media (max-width: 767px) {
  .past-row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 0; }
  .past-row .when { grid-column: 1; grid-row: 2; font-size: 13px; }
  .past-row .venue { font-size: 19px; }
  .past-row .city { display: none; }
  .past-row .note { grid-column: 2; grid-row: 1; align-self: center; }
}
.booking-line { margin-top: 16px; font-size: 15px; color: var(--text-mute); }

/* ---------- music ---------- */
.music-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 48px; align-items: center; }
.music-text { grid-column: span 6; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.music-cover { grid-column: 8 / span 5; width: 100%; height: auto; aspect-ratio: 800 / 710; object-fit: cover; }
@media (max-width: 767px) {
  .music-grid { display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
  .music-cover { order: -1; }
  .music-text { gap: 16px; }
  .music-text .btn-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .music-text .btn-row .btn--primary { grid-column: 1 / -1; }
  .music-text .btn-row .btn--secondary { font-size: 12px; letter-spacing: 1.5px; padding: 0 8px; min-height: 48px; }
}

/* ---------- videos ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.video { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--surface); overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.video-play img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .2s ease-out; }
.video-play:hover img { opacity: 1; }
.video-play .play { position: absolute; left: 16px; bottom: 16px; width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: var(--on-accent); }
.video .h3 { font-size: 24px; }
@media (max-width: 767px) {
  .video-grid { display: flex; overflow-x: auto; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .video-grid::-webkit-scrollbar { display: none; }
  .video { flex: 0 0 300px; scroll-snap-align: start; }
  .video .h3 { font-size: 20px; }
  .video-play .play { width: 48px; height: 48px; left: 12px; bottom: 12px; }
}

/* ---------- promoters ---------- */
.festivals { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; column-gap: 32px; row-gap: 10px; max-width: 1040px; }
.festivals li { font-family: var(--f-display); font-size: 28px; line-height: 1.15; color: var(--text-strong); text-transform: uppercase; }
.festivals li span { font-family: var(--f-label); font-size: 13px; letter-spacing: 1px; color: var(--text-mute); }
@media (max-width: 767px) {
  .festivals { column-gap: 18px; row-gap: 6px; }
  .festivals li { font-size: 21px; }
  .festivals li span { font-size: 12px; }
  .promoters .btn-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .promoters .btn-row .btn--primary { grid-column: 1 / -1; }
  .promoters .btn-row .btn--secondary { font-size: 12px; letter-spacing: 1.5px; padding: 0 8px; min-height: 48px; }
}

/* ---------- band page ---------- */
.band-hero { position: relative; isolation: isolate; min-height: clamp(520px, calc(100svh - 72px), 860px); display: flex; align-items: flex-end; overflow: hidden; }
.band-hero img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
/* readability scrim, not a glow: flat dark ramp behind the text only */
.band-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,10,10,.96) 0%, rgba(10,10,10,.72) 34%, rgba(10,10,10,0) 64%); }
.band-hero .container { padding-top: 120px; padding-bottom: 64px; }
.band-hero h1 { font-size: clamp(56px, 8.4vw, 132px); line-height: .9; }
.band-hero .lead { max-width: 620px; font-size: clamp(17px, 1.5vw, 21px); }
.credit { font-family: var(--f-label); font-size: 11px; letter-spacing: 1px; color: var(--text-mute); }
.band-hero .credit { position: absolute; right: var(--gutter); bottom: 20px; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.fact { display: flex; flex-direction: column; gap: 8px; padding: 32px var(--gutter) 32px 0; min-width: 0; color: inherit; text-decoration: none; }
.fact + .fact { padding-left: 32px; border-left: 1px solid var(--hairline); }
.fact b { font-family: var(--f-display); font-weight: 400; font-size: clamp(36px, 3.6vw, 52px); line-height: 1; color: var(--text-strong); text-transform: uppercase; }
.fact span { font-size: 15px; color: var(--text-soft); line-height: 1.45; }
a.fact b { color: var(--accent); }
a.fact:hover span { color: var(--text-strong); }

.bio-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.bio-grid figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.bio-grid figure img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.bio-grid .body + .body { margin-top: -8px; }
.bio-lead { font-size: 18px; }
.quote { margin: 8px 0 0; padding-left: 0; font-family: var(--f-display); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; text-transform: uppercase; color: var(--text-strong); max-width: 22ch; }

.press-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.press-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--surface); border: 1px solid var(--border); min-width: 0; }
.press-card h3 { margin: 0; }
.press-card p { margin: 0; color: var(--text-soft); font-size: 15px; line-height: 1.55; }
.press-card .btn { align-self: flex-start; margin-top: auto; }
.press-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 15px; }
.press-card dt { font-family: var(--f-label); font-size: 12px; letter-spacing: 1px; color: var(--text-mute); text-transform: uppercase; padding-top: 2px; }
.press-card dd { margin: 0; color: var(--text-strong); }
.press-card dd a { color: var(--accent); }
.photos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.photos a { display: block; position: relative; color: var(--text-strong); text-decoration: none; }
.photos img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--surface); }
.photos span { display: flex; justify-content: space-between; gap: 8px; padding-top: 8px; font-family: var(--f-label); font-size: 12px; letter-spacing: 1px; color: var(--text-mute); }
.photos a:hover span b { color: var(--accent); }
.photos b { font-weight: 700; color: var(--text-soft); }
.map-s { display: none; }

@media (max-width: 1023px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--hairline); }
  .press-grid { grid-template-columns: minmax(0, 1fr); }
  .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .band-hero { min-height: 0; display: block; }
  .band-hero img { position: static; height: auto; aspect-ratio: 3 / 2; }
  .band-hero::after { display: none; }
  .band-hero .container { padding-top: 28px; padding-bottom: 40px; }
  .band-hero .credit { position: static; display: block; margin-top: 20px; }
  .band-hero .btn-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fact { padding: 22px 16px 22px 0; }
  .fact + .fact { padding-left: 16px; }
  .fact:nth-child(3) { padding-left: 0; }
  .fact span { font-size: 13px; }
  .bio-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  /* phones: same content, about half the scroll */
  .bio-grid figure, .quote, .bio-more, .press-intro, .band-hero .credit, .fest-more, .map-l { display: none; }
  .map-s { display: inline; }
  .bio-lead { font-size: 16px; }
  .press-grid { gap: 0; border: 1px solid var(--border); background: var(--surface); }
  .press-card { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 0; background: transparent; }
  .press-card + .press-card { border-top: 1px solid var(--hairline); }
  .press-card h3 { font-size: 20px; }
  .press-card p, .press-card dl { display: none; }
  .press-card .btn { margin-top: 0; min-height: 44px; }
  .press-card .btn-row { gap: 8px; }
  .photos { display: flex; overflow-x: auto; gap: 10px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .photos::-webkit-scrollbar { display: none; }
  .photos li { flex: 0 0 72%; scroll-snap-align: start; }
}

/* ---------- merch cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1099px) { .cards--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); text-decoration: none; min-width: 0; }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media .badge { position: absolute; top: 12px; left: 12px; padding: 6px 10px; background: var(--accent); color: var(--on-accent); font-family: var(--f-label); font-weight: 700; font-size: 12px; letter-spacing: 1.5px; }
.card-media .badge--sold { background: var(--text-strong); color: var(--canvas); text-transform: uppercase; }
.card-media.is-sold img { filter: grayscale(1); opacity: .45; }
.card-body { padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.card-cat { font-family: var(--f-label); font-size: 12px; letter-spacing: 2px; color: var(--accent); text-transform: uppercase; }
.card-name { font-family: var(--f-display); font-weight: 400; font-size: 22px; line-height: 1.1; color: var(--text-strong); text-transform: uppercase; }
a.card:hover .card-name { color: var(--accent); }
@media (max-width: 767px) {
  .cards--rail { display: flex; overflow-x: auto; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .cards--rail::-webkit-scrollbar { display: none; }
  .cards--rail .card { flex: 0 0 260px; scroll-snap-align: start; }
  .cards--4, .cards--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cards--4 .card-media, .cards--grid .card-media { aspect-ratio: 1 / 1; }
  .card-body { padding: 12px; gap: 4px; }
  .card-cat { letter-spacing: 1px; }
  .card-name { font-size: 17px; line-height: 1.15; }
  .cards--rail .card-name { font-size: 18px; }
  .card-media .badge { top: 8px; left: 8px; padding: 5px 7px; letter-spacing: 1px; }
}

/* ---------- merch page hero ---------- */
.merch-hero { position: relative; isolation: isolate; overflow: hidden; }
.merch-hero .container { padding-top: 128px; padding-bottom: 120px; }
.merch-hero .stack { max-width: 640px; }
.merch-banner .container { padding-bottom: 72px; }
.merch-banner img { display: block; width: 100%; height: auto; border: 1px solid var(--border); }
@media (max-width: 767px) { .merch-banner .container { padding-bottom: 40px; } }
.merch-sigil {
  position: absolute; z-index: -1; right: -150px; top: 50%; width: 820px; height: 820px; transform: translateY(-50%); pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
}
@media (max-width: 767px) {
  .merch-hero .container { padding-top: 200px; padding-bottom: 40px; }
  .merch-hero .stack { gap: 16px; }
  .merch-sigil {
    right: -120px; top: -30px; width: 400px; height: 400px; transform: none;
    -webkit-mask-image: linear-gradient(180deg, #000 35%, transparent 92%); mask-image: linear-gradient(180deg, #000 35%, transparent 92%);
  }
}

.next-band {
  border-top: 1px solid var(--hairline);
  background: linear-gradient(90deg, rgba(10,10,10,.95) 0%, rgba(10,10,10,.86) 60%, rgba(10,10,10,.6) 100%), url("../images/teaser-texture.jpg") center / cover;
}
.next-band .container { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.next-band .big { font-family: var(--f-display); font-size: clamp(60px, 7vw, 96px); line-height: .95; color: var(--accent); }
.next-band .city { font-family: var(--f-display); font-size: clamp(28px, 3vw, 36px); letter-spacing: 2px; color: var(--text-strong); }
@media (max-width: 767px) {
  .next-band { background: linear-gradient(rgba(10,10,10,.82), rgba(10,10,10,.9)), url("../images/teaser-texture.jpg") center / cover; }
  .next-band .container { padding-top: 48px; padding-bottom: 48px; flex-direction: column; align-items: stretch; gap: 16px; }
}

/* ---------- gallery page ---------- */
.gallery-head .container, .page-head .container { padding-top: 96px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.gallery-head .stack, .page-head .stack { max-width: 640px; gap: 20px; }
.chips { display: flex; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; background: transparent; border: 1px solid var(--control-border); color: var(--text-strong); font-family: var(--f-label); font-weight: 700; font-size: 13px; letter-spacing: 2px; cursor: pointer; transition: border-color .15s ease-out, background-color .15s ease-out, color .15s ease-out; }
.chip:hover { border-color: var(--text-strong); }
.chip[aria-pressed="true"] { background: var(--text-strong); border-color: var(--text-strong); color: var(--canvas); }
.g-grid { list-style: none; margin: 0; padding: 0 0 96px; column-count: 3; column-gap: 16px; }
.g-item { break-inside: avoid; margin: 0 0 16px; }
.g-item figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.g-open { display: block; background: var(--surface); cursor: zoom-in; }
.g-open img { width: 100%; height: auto; transition: opacity .15s ease-out; }
.g-open:hover img { opacity: .85; }
.g-item figcaption { font-family: var(--f-label); font-size: 12px; letter-spacing: 1px; color: var(--text-mute); }
.g-tag { border-top: 1px solid var(--hairline); background: var(--canvas-alt); }
.g-tag .container { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.g-tag .stack { max-width: 640px; gap: 14px; }
@media (max-width: 1023px) { .g-grid { column-count: 2; } }
@media (max-width: 767px) {
  .gallery-head .container, .page-head .container { padding-top: 40px; padding-bottom: 20px; flex-direction: column; align-items: stretch; gap: 20px; }
  .gallery-head .h1, .page-head .h1 { font-size: 56px; }
  .chips .chip { flex: 1; padding: 0 10px; }
  .g-grid { column-gap: 8px; padding-bottom: 48px; }
  .g-item { margin-bottom: 8px; }
  .g-item figcaption { display: none; } /* credit is shown full screen */
  .g-tag .container { padding-top: 48px; padding-bottom: 48px; flex-direction: column; align-items: stretch; gap: 16px; }
  .g-tag .btn { width: 100%; }
}

/* photo viewer */
.lb { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-rows: 72px minmax(0, 1fr) auto; background: rgba(10,10,10,.97); }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); }
.lb-count { font-family: var(--f-label); font-size: 13px; letter-spacing: 2px; color: var(--text-soft); }
.lb-stage { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr) 96px; grid-template-rows: minmax(0, 1fr); align-items: center; min-height: 0; overflow: hidden; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; margin: 0 auto; object-fit: contain; touch-action: pan-y; }
.lb-nav { justify-self: center; width: 52px; height: 52px; }
.lb-cap { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px var(--gutter) 24px; text-align: center; }
.lb-cap .alt { font-size: 15px; color: var(--text-strong); max-width: 70ch; }
.lb-cap .who { font-family: var(--f-label); font-size: 12px; letter-spacing: 1px; color: var(--text-soft); }
.lb-mnav { display: none; }
body.lb-open { overflow: hidden; }
@media (max-width: 767px) {
  .lb { grid-template-rows: 64px minmax(0, 1fr) auto; background: var(--canvas); }
  .lb-stage { grid-template-columns: minmax(0, 1fr); }
  .lb-stage img { grid-column: 1; }
  .lb-stage .lb-nav { display: none; }
  .lb-cap { align-items: stretch; text-align: left; gap: 6px; padding-bottom: 16px; }
  .lb-mnav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
}

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--hairline); }
.follow { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; padding: 80px 0 48px; }
.follow .h2 { max-width: 760px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding: 24px 0 40px; border-top: 1px solid var(--hairline); }
.footer-row .socials { display: flex; gap: 8px; }
.footer-row p { font-family: var(--f-label); font-size: 13px; color: var(--text-mute); }
@media (max-width: 767px) {
  /* compact on phones: title, two buttons side by side, then one tight row of links */
  .follow { flex-direction: column; align-items: stretch; padding: 32px 0 24px; gap: 14px; }
  .follow .h2 { font-size: 32px; }
  .follow .btn-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .follow .btn { width: 100%; min-height: 52px; padding: 0 6px; font-size: 11px; letter-spacing: 1px; }
  .footer-row { flex-direction: row; align-items: center; gap: 10px 16px; padding: 16px 0 24px; }
  .footer-row .socials { width: 100%; }
}

/* ---------- hidden by admin module flags ---------- */
[hidden] { display: none !important; }

/* =====================================================================
   TOUR MAP modal (logic in scripts/tour-map.js — markup ids unchanged)
   ===================================================================== */
.tourmap-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(5,5,6,.88); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility 0s linear .28s; }
.tourmap-overlay.open { opacity: 1; visibility: visible; transition: opacity .28s ease, visibility 0s linear 0s; }
.tourmap-modal { width: 100%; max-width: 1240px; height: min(82vh, 760px); background: #0e0e10; border: 1px solid var(--border); display: flex; flex-direction: column; transform: translateY(12px); opacity: 0; transition: transform .32s cubic-bezier(.2,.8,.2,1), opacity .32s ease; }
.tourmap-overlay.open .tourmap-modal { transform: none; opacity: 1; }
.tourmap-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--border); font-family: var(--f-display); letter-spacing: 2px; text-transform: uppercase; color: var(--text-strong); font-size: 20px; }
.tourmap-close { background: transparent; border: 1px solid var(--control-border); color: var(--text-strong); width: 44px; height: 44px; cursor: pointer; font-size: 20px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.tourmap-close:hover { border-color: var(--text-strong); }
.tourmap-body { position: relative; flex: 1 1 auto; min-height: 0; display: flex; }
.tourmap-sidebar { width: 300px; flex: 0 0 300px; border-right: 1px solid var(--border); display: flex; flex-direction: column; min-height: 0; background: #0c0c0d; }
.tms-search { display: flex; padding: 14px; border-bottom: 1px solid var(--hairline); flex: 0 0 auto; }
.tms-search input { flex: 1; min-width: 0; min-height: 44px; background: #0a0a0b; border: 1px solid var(--control-border); border-right: none; color: var(--text-strong); font-family: var(--f-label); font-size: 13px; padding: 9px 10px; outline: none; border-radius: 0; }
.tms-search input::placeholder { color: var(--text-mute); }
.tms-search input:focus { border-color: var(--accent); }
.tms-search button { background: transparent; border: 1px solid var(--control-border); color: var(--accent); width: 44px; cursor: pointer; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; }
.tms-search button:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.tms-result { flex: 0 0 auto; }
.tms-result:empty { display: none; }
.tms-match, .tms-fallback { margin: 0 14px 12px; padding: 12px 14px; font-size: 13px; line-height: 1.6; color: var(--text); border: 1px solid var(--border); background: var(--surface); }
.tms-match b { color: var(--accent); display: block; margin-bottom: 2px; }
.tms-fallback b { color: var(--text-strong); display: block; margin-bottom: 4px; }
.tms-fallback a { color: var(--accent); word-break: break-all; }
.tms-result-close { background: transparent; border: none; color: var(--text-soft); font-family: var(--f-label); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; padding: 8px 0 0; text-decoration: underline; }
.tms-list { flex: 1 1 auto; overflow-y: auto; min-height: 0; }
.tms-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--hairline); cursor: pointer; }
.tms-item:hover { background: rgba(155,227,0,.05); }
.tms-item-dot { flex: 0 0 auto; width: 9px; height: 9px; margin-top: 6px; background: var(--accent); border-radius: 50%; }
.tms-item-dot.is-festival { border-radius: 0; transform: rotate(45deg); }
.tms-item-name { color: var(--text-strong); font-size: 13px; font-weight: 500; line-height: 1.4; }
.tms-item-meta { color: var(--text-mute); font-size: 12px; margin-top: 1px; }
.tms-empty { padding: 20px 14px; color: var(--text-mute); font-size: 13px; text-align: center; }
.tourmap-mapwrap { position: relative; flex: 1 1 auto; min-width: 0; }
.tourmap-canvas { width: 100%; height: 100%; background: #0a0a0b; }
.tourmap-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--text-mute); font-family: var(--f-label); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; pointer-events: none; }
.tourmap-loading.is-hidden { display: none; }
.tourmap-legend-toggle { position: absolute; bottom: 14px; left: 14px; z-index: 500; min-height: 36px; background: rgba(10,10,11,.9); border: 1px solid var(--control-border); color: var(--text-strong); font-family: var(--f-label); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; padding: 7px 12px; cursor: pointer; }
.tourmap-legend { position: absolute; bottom: 58px; left: 14px; z-index: 500; background: rgba(10,10,11,.95); border: 1px solid var(--border); padding: 10px 14px; font-size: 12px; color: var(--text); display: none; flex-direction: column; gap: 6px; min-width: 150px; }
.tourmap-legend.open { display: flex; }
.tml-row { display: flex; align-items: center; gap: 8px; }
.tml-dot { width: 10px; height: 10px; flex: 0 0 auto; background: var(--accent); }
.tml-shape-circle { border-radius: 50%; }
.tml-shape-diamond { transform: rotate(45deg); }
.tml-fade-old { background: #5f8c00; border-radius: 50%; }
.tml-fade-new { background: #b6ff14; border-radius: 50%; }
.tm-popup .leaflet-popup-content-wrapper { background: #0e0e10; color: var(--text-strong); border: 1px solid var(--border); border-radius: 0; }
.tm-popup .leaflet-popup-tip { background: #0e0e10; }
.tm-popup .leaflet-popup-content { margin: 10px 12px; font-size: 13px; line-height: 1.5; }
.tm-popup-name { color: var(--text-strong); font-weight: 500; display: block; margin-bottom: 2px; }
.tm-popup-meta { color: var(--accent); font-size: 12px; }
@media (max-width: 760px) {
  .tourmap-overlay { padding: 0; }
  .tourmap-modal { max-width: none; height: 100%; border: none; }
  .tourmap-body { flex-direction: column; }
  .tourmap-sidebar { width: 100%; flex: 0 0 auto; max-height: 38vh; border-right: none; border-bottom: 1px solid var(--border); }
  .tourmap-mapwrap { flex: 1 1 auto; min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tourmap-overlay, .tourmap-modal, .btn, .video-play img { transition: none !important; }
}
