@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@400;600;700&display=swap');

/* ─── CUSTOM PROPERTIES ─────────────────────────────────────────────── */
:root {
  --ink: #0e0c0a;
  --ink: oklch(10% 0.008 60);
  --muted: #7a7168;
  --muted: oklch(52% 0.018 68);
  --paper: #ece7d9;
  --paper: oklch(92% 0.018 76);
  --panel: #f5f0e4;
  --panel: oklch(95% 0.015 76);
  --line: #cec3aa;
  --line: oklch(82% 0.030 76);
  --red: #c90e08;
  --red: oklch(43% 0.22 25);
  --teal: #076869;
  --teal: oklch(48% 0.11 194);
  --gold: #f0ae0c;
  --gold: oklch(76% 0.14 78);
  --green: #1a6b39;
  --green: oklch(48% 0.13 152);
  --charcoal: #100e0c;
  --charcoal: oklch(10% 0.005 60);
  --ash: #1c1a16;
  --ash: oklch(13% 0.008 62);
  --cream: #fff2cc;
  --blue: #1e4282;

  --shadow: 0 2px 0 rgba(14,12,10,0.10), 0 8px 22px rgba(14,12,10,0.09);
  --hard-shadow: 5px 5px 0 var(--ink);

  --font-hero: 'Bebas Neue', 'Impact', 'Haettenschweiler', 'Arial Narrow', sans-serif;
  --font-display: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  --ease-out: cubic-bezier(0.2, 0, 0.3, 1);
}

/* ─── RESET / BASE ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Zine-paper micro-texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  background-image:
    repeating-linear-gradient(0deg,   transparent 0, transparent 3px, rgba(0,0,0,0.006) 3px, rgba(0,0,0,0.006) 4px),
    repeating-linear-gradient(90deg,  transparent 0, transparent 3px, rgba(0,0,0,0.006) 3px, rgba(0,0,0,0.006) 4px);
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { text-wrap: balance; }

/* ─── TOPBAR / NAVIGATION ────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 11, 9, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 14px 32px rgba(0,0,0,0.28);
}

/* Ska 2-tone checkerboard strip */
.topbar::after {
  content: '';
  display: block;
  height: 8px;
  background: repeating-conic-gradient(
    var(--gold) 0% 25%, var(--ink) 25% 50%
  ) 0 0 / 14px 14px;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201,14,8,0.72), 0 6px 18px rgba(0,0,0,0.44);
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-text small {
  margin-top: 5px;
  color: var(--gold);
  font-size: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  align-items: center;
  justify-content: flex-end;
}

.links a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: rgba(236,226,206,0.80);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 2px solid transparent;
  transition: color 0.12s, border-color 0.12s;
}

.links a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Active nav link (set by JS via aria-current="page") */
.links a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 2px;
  background: rgba(255,255,255,0.07);
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 0;
  background: currentColor;
}

.nav-toggle-lines { position: relative; }
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: '';
  position: absolute;
  left: 0;
}
.nav-toggle-lines::before { top: -6px; }
.nav-toggle-lines::after  { top:  6px; }

.language-switcher {
  height: 32px;
  min-width: 58px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 2px;
  background: rgba(255,255,255,0.07);
  color: rgba(236,226,206,0.80);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-left: 8px;
  cursor: pointer;
}
.language-switcher option { color: var(--ink); }

/* ─── HERO ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: min(88vh, 860px);
  overflow: hidden;
  background:
    linear-gradient(105deg,
      rgba(12,10,8,0.97) 0%,
      rgba(12,10,8,0.84) 44%,
      rgba(12,10,8,0.28) 100%),
    url("/web-assets/hero-oi-ska-real.png") center 40% / cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
}

/* Atmospheric red glow */
.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60%;
  height: 55%;
  background: radial-gradient(
    ellipse at bottom left,
    rgba(201,14,8,0.24) 0%,
    transparent 66%
  );
  pointer-events: none;
  z-index: 0;
}

/* Cinematic vignette (darkens edges) */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 36%, rgba(0,0,0,0.34) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px 86px;
}

.eyebrow {
  width: fit-content;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.18em;
  padding: 6px 12px;
  margin-bottom: 16px;
  animation: slideUp 0.55s var(--ease-out) 0.05s both;
}

h1 {
  margin: 0;
  max-width: 860px;
  font-family: var(--font-hero);
  font-weight: 400;
  font-size: clamp(48px, 8.5vw, 114px);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 32px rgba(0,0,0,0.58);
  animation: slideUp 0.65s var(--ease-out) 0.18s both;
}

.hero p {
  max-width: 640px;
  color: rgba(236,228,212,0.86);
  font-size: 17px;
  line-height: 1.68;
  margin: 20px 0 30px;
  text-wrap: pretty;
  animation: slideUp 0.55s var(--ease-out) 0.32s both;
}

.hero-logo {
  position: absolute;
  right: 20px;
  top: 50%;
  bottom: auto;
  width: min(260px, 24vw);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 4px solid rgba(255,255,255,0.10);
  box-shadow: 0 0 0 4px rgba(201,14,8,0.70), 0 24px 52px rgba(0,0,0,0.52);
  transform: translateY(-50%) rotate(3deg);
  opacity: 0.86;
  z-index: 1;
}

.hero-actions,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-actions {
  animation: slideUp 0.50s var(--ease-out) 0.44s both;
}

/* ─── BUTTONS ────────────────────────────────────────────────────────── */
.btn {
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--panel);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.08s, box-shadow 0.08s;
}

.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn.primary {
  background: var(--red);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.btn.primary:hover {
  box-shadow: 4px 4px 0 var(--ink);
}

.btn.dark {
  background: rgba(14,12,10,0.68);
  color: #fff;
  border-color: rgba(255,255,255,0.42);
  box-shadow: 3px 3px 0 rgba(255,255,255,0.18);
}

.btn.dark:hover {
  box-shadow: 4px 4px 0 rgba(255,255,255,0.26);
}

.filter-reset {
  height: 38px;
  border-color: var(--line);
  background: #fdfaf2;
  box-shadow: 2px 2px 0 var(--line);
  font-size: 12px;
}

/* ─── SECTIONS ───────────────────────────────────────────────────────── */
.section {
  max-width: none;
  margin: 0 auto;
  padding: 64px 20px;
}

.section > .section-head,
.section > .grid,
.section > .list,
.section > .load-more-wrap,
.section > .split,
.section > .signup-band,
.section > .form-grid,
.section > .pricing-grid,
.section > .partner-band,
.section > .search-band,
.section > .detail-shell,
.overview-grid {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Section head reveals on scroll via IntersectionObserver */
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.section-head.revealed {
  opacity: 1;
  transform: none;
}

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

/* ─── FORM INPUTS ────────────────────────────────────────────────────── */
input,
select,
textarea {
  height: 38px;
  border: 2px solid var(--line);
  border-radius: 0;
  background: #fdfaf2;
  color: var(--ink);
  padding: 0 10px;
}

textarea {
  min-height: 96px;
  padding: 10px;
  resize: vertical;
}

/* ─── GRID / CARDS ───────────────────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  background: var(--panel);
  border: 1px solid rgba(14,12,10,0.16);
  border-radius: 0;
  box-shadow: var(--shadow);
  min-height: 196px;
  padding: 18px;
  display: grid;
  gap: 12px;
  align-content: start;
  overflow: hidden;
}

.card-link {
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}

.card-link:hover {
  transform: translate(-3px, -3px);
  box-shadow: 4px 4px 0 var(--red);
  border-color: var(--red);
}

.card-link:hover .card-thumb {
  transform: scale(1.04);
}

.card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  object-fit: cover;
  background: var(--charcoal);
  border: 1px solid rgba(14,12,10,0.16);
  transition: transform 0.36s var(--ease-out);
}

/* List cards: left accent border */
.list-card {
  min-height: 0;
  gap: 14px;
  border-left: 4px solid var(--red);
}

.list-card.pub-list-card {
  border-left-color: var(--teal);
}

.card-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.date-badge,
.rating-badge {
  width: 56px;
  min-height: 56px;
  border: 2px solid rgba(14,12,10,0.16);
  border-radius: 0;
  background: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 1;
  color: var(--red);
  box-shadow: 2px 2px 0 rgba(201,14,8,0.14);
}

.rating-badge {
  color: var(--teal);
  box-shadow: 2px 2px 0 rgba(7,104,105,0.14);
}

.date-badge strong,
.rating-badge strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.date-badge span,
.rating-badge span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card-description { margin: 0; }

.card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.tags { display: flex; flex-wrap: wrap; gap: 5px; }

.tag {
  min-height: 22px;
  border-radius: 0;
  border: 1px solid var(--line);
  padding: 2px 7px;
  color: #403a34;
  background: var(--cream);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tag.red {
  border-color: rgba(201,14,8,0.28);
  background: rgba(201,14,8,0.07);
  color: var(--red);
}

.tag.teal {
  border-color: rgba(7,104,105,0.28);
  background: rgba(7,104,105,0.07);
  color: var(--teal);
}

.tag.gold {
  border-color: rgba(240,174,12,0.38);
  background: rgba(240,174,12,0.10);
  color: #8a6010;
}

/* ─── PRICING GRID ───────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.price-card {
  min-height: 160px;
  background: var(--panel);
  border: 1px solid rgba(14,12,10,0.14);
  border-top: 3px solid var(--gold);
  border-radius: 0;
  padding: 16px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
  align-content: start;
}

.price-card strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.price {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  color: var(--red);
}

/* ─── PARTNER BAND ───────────────────────────────────────────────────── */
.partner-band {
  margin-top: 16px;
  background: var(--charcoal);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 5px solid var(--red);
  border-radius: 0;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  box-shadow: var(--shadow);
}

.partner-band h2 { color: #fff; }

.partner-band p {
  margin: 8px 0 0;
  color: rgba(236,228,212,0.76);
  line-height: 1.55;
}

/* ─── SPLIT / PANEL ──────────────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 14px;
}

.panel {
  background: var(--charcoal);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 4px solid var(--gold);
  border-radius: 0;
  padding: 26px;
  min-height: 260px;
  display: grid;
  align-content: center;
  box-shadow: var(--shadow);
}

.panel h2 { color: #fff; }
.panel p { color: rgba(236,228,212,0.76); line-height: 1.55; }

/* ─── LIST / ROW ─────────────────────────────────────────────────────── */
.list { display: grid; gap: 10px; }

.row {
  background: var(--panel);
  border: 1px solid rgba(14,12,10,0.14);
  border-radius: 0;
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.row-with-thumb {
  grid-template-columns: 78px minmax(0, 1fr) auto;
}

.row-thumb {
  width: 78px;
  aspect-ratio: 1;
  border-radius: 0;
  object-fit: cover;
  background: var(--charcoal);
  border: 1px solid rgba(14,12,10,0.14);
}

/* ─── EMPTY STATE ────────────────────────────────────────────────────── */
.empty {
  padding: 36px;
  text-align: center;
  color: var(--muted);
  background: var(--panel);
  border: 2px dashed var(--line);
  border-radius: 0;
}

.empty strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}

.empty p {
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ─── DETAIL VIEW ────────────────────────────────────────────────────── */
.detail { display: none; }
.detail.active { display: block; }

.detail-shell {
  background: var(--panel);
  border: 2px solid var(--ink);
  border-radius: 0;
  box-shadow: 5px 5px 0 rgba(14,12,10,0.18);
  padding: 26px;
}

.detail-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.detail h2 { font-size: clamp(28px, 4.5vw, 40px); }

.detail-meta {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.detail-body {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr) minmax(240px, 0.42fr);
  gap: 18px;
  align-items: start;
}

.detail-hero-image { margin: 0; }

.detail-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0;
  object-fit: cover;
  background: var(--charcoal);
  border: 2px solid rgba(14,12,10,0.18);
  box-shadow: 3px 3px 0 rgba(14,12,10,0.10);
}

/* ─── LOAD MORE ──────────────────────────────────────────────────────── */
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* ─── FACT LIST ──────────────────────────────────────────────────────── */
.fact-list { display: grid; gap: 8px; }

.fact {
  border-top: 1px solid var(--line);
  padding-top: 8px;
  color: var(--muted);
  line-height: 1.4;
}

.fact strong { color: var(--ink); }

/* ─── PORTAL ─────────────────────────────────────────────────────────── */
.portal-campaign { align-items: flex-start; }
.portal-campaign .tags { justify-content: flex-end; }

/* ─── DETAIL FORMS / LISTS ───────────────────────────────────────────── */
.detail-forms {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.detail-lists {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mini-list { display: grid; gap: 9px; }

.mini-item {
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  padding: 10px 11px;
}

.mini-item-with-thumb {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.mini-item-with-thumb .row-thumb { width: 52px; }
.mini-item strong { display: block; margin-bottom: 4px; }

/* ─── FORM PANELS ────────────────────────────────────────────────────── */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.signup-band {
  background: var(--charcoal);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 5px solid var(--teal);
  border-radius: 0;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 18px;
  align-items: start;
}

.signup-band h2 { color: #fff; }
.signup-band p,
.signup-band label { color: rgba(236,228,212,0.76); }

.signup-band input {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-radius: 0;
}

.signup-band .check {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.20);
  color: #f0e8d8;
}

#advertise .signup-band {
  border-left-color: var(--gold);
  margin-top: 18px;
}

.search-band {
  background: var(--panel);
  border: 1px solid rgba(14,12,10,0.14);
  border-radius: 0;
  box-shadow: var(--shadow);
  padding: 24px;
  display: grid;
  gap: 16px;
}

/* ─── ROUTE VISIBILITY ───────────────────────────────────────────────── */
.home-only { display: block; }
.home-only-inline { display: inline-flex; }

body:not(.home-route) .home-only,
body:not(.home-route) .home-only-inline { display: none; }

body.home-route .home-secondary { display: none; }

body.section-route #featured-section,
body.section-route .route-section { display: none; }

body.route-search    #search,
body.route-events    #events,
body.route-pubs      #pubs,
body.route-bands     #bands,
body.route-festivals #festivals,
body.route-news      #news,
body.route-newsletter   #newsletter,
body.route-guidelines   #guidelines,
body.route-advertise    #advertise,
body.route-partner-portal #partner-portal,
body.route-partner   #advertise,
body.route-partner   #partner-portal,
body.route-submit    #submit { display: block; }

body.home-route .filters { display: none; }

/* ─── HOME-ROUTE SECTION BACKGROUNDS ────────────────────────────────── */
body.home-route #search {
  background: var(--ash);
  color: #fff;
}

body.home-route #search .section-head p,
body.home-route #search .meta { color: rgba(216,208,192,0.72); }

body.home-route #search h2 { color: #fff; }

body.home-route #search .search-band {
  background: transparent;
  border-color: rgba(255,255,255,0.14);
  box-shadow: none;
  padding: 0;
}

body.home-route #search input {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.24);
  color: #fff;
}

body.home-route #search input::placeholder { color: rgba(255,255,255,0.38); }

body.home-route #featured-section {
  background: #181410;
  border-top: 1px solid rgba(255,255,255,0.06);
}

body.home-route #featured-section .section-head h2 { color: #fff; }
body.home-route #featured-section .section-head p  { color: rgba(216,208,192,0.62); }

body.home-route #events {
  background: #f2ebe0;
  border-top: 4px solid var(--red);
}

body.home-route #pubs {
  background: #e4eeec;
  border-top: 4px solid var(--teal);
}

/* ─── SECTION-ROUTE (compact hero on sub-pages) ──────────────────────── */
body.section-route .hero {
  min-height: 240px;
  background:
    linear-gradient(100deg, rgba(14,12,10,0.97), rgba(14,12,10,0.82)),
    url("/web-assets/hero-oi-ska-real.png") center / cover no-repeat;
}

body.section-route .hero-inner { padding: 44px 20px; }

body.section-route h1 {
  max-width: 860px;
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 1.0;
}

body.section-route .hero p {
  max-width: 740px;
  margin: 12px 0 0;
  font-size: 16px;
}

body.section-route .hero-actions,
body.section-route .hero-logo { display: none; }

/* ─── OVERVIEW CARDS (home 3-up teasers) ────────────────────────────── */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.overview-card {
  min-height: 260px;
  border-radius: 0;
  padding: 28px;
  color: #fff;
  display: grid;
  align-content: end;
  gap: 10px;
  box-shadow: 4px 4px 0 rgba(14,12,10,0.22);
  /* Initial hidden state — revealed by IntersectionObserver */
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.55s var(--ease-out),
    box-shadow 0.14s ease;
}

.overview-card:hover {
  box-shadow: 6px 6px 0 rgba(14,12,10,0.32);
}

/* Staggered reveal when parent gets .revealed class */
.overview-grid.revealed .overview-card:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

.overview-grid.revealed .overview-card:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 0.10s;
}

.overview-grid.revealed .overview-card:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: 0.20s;
}

.overview-card strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.overview-card p {
  margin: 0;
  max-width: 340px;
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
  font-size: 14px;
}

.overview-kicker {
  width: fit-content;
  color: var(--ink);
  background: var(--gold);
  border-radius: 0;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.event-card {
  background:
    linear-gradient(155deg, rgba(201,14,8,0.90) 0%, rgba(14,12,10,0.78) 100%),
    url("/web-assets/overview-gig-real.png") center / cover no-repeat;
}

.pub-card {
  background:
    linear-gradient(155deg, rgba(7,104,105,0.92) 0%, rgba(14,12,10,0.76) 100%),
    url("/web-assets/overview-pub-real.png") center / cover no-repeat;
}

.submit-card {
  background:
    linear-gradient(155deg, rgba(30,66,130,0.90) 0%, rgba(14,12,10,0.76) 100%),
    url("/web-assets/overview-source-real.png") center / cover no-repeat;
}

.section-link { flex: 0 0 auto; }

/* ─── SEARCH ─────────────────────────────────────────────────────────── */
.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.search-results { display: grid; gap: 9px; }

/* ─── FORM PANEL ─────────────────────────────────────────────────────── */
.form-panel {
  background: var(--panel);
  border: 2px solid var(--ink);
  border-radius: 0;
  box-shadow: 5px 5px 0 rgba(14,12,10,0.80);
  padding: 20px;
}

.form-panel h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form { display: grid; gap: 10px; }
.field { display: grid; gap: 5px; }

.field.has-error label { color: var(--red); }

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(201,14,8,0.12);
}

label {
  color: #403a34;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.message { min-height: 22px; color: var(--muted); font-size: 13px; }
.message.ok    { color: var(--green); }
.message.error { color: var(--red); }

/* ─── GUIDELINE / CHECK ──────────────────────────────────────────────── */
.guideline-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.guideline-note a {
  color: var(--red);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.check {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  color: #312d28;
  font-size: 13px;
}

.check input { width: 16px; height: 16px; padding: 0; }

/* ─── FOOTER ─────────────────────────────────────────────────────────── */
.footer {
  margin-top: 60px;
  background: var(--charcoal);
  color: #f0e8d8;
  padding: 40px 20px;
  border-top: 22px solid transparent;
  border-image:
    repeating-linear-gradient(
      90deg,
      #fff        0  22px,
      var(--ink) 22px 44px
    ) 22;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-inner strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.footer-inner span {
  color: rgba(240,232,216,0.68);
  font-size: 13px;
}

.footer-link {
  color: rgba(240,232,216,0.72);
  font-weight: 700;
  font-size: 12px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(240,232,216,0.24);
  transition: color 0.12s, border-color 0.12s;
}

.footer-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ─── KEYFRAME ANIMATIONS ────────────────────────────────────────────── */

/* Hero text sequential reveal (CSS-only, fires on load) */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* Card entrance — fires when a card is rendered in a visible container */
@keyframes cardIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* Apply to dynamically-inserted list/grid cards */
.grid .card,
.list .card {
  animation: cardIn 0.40s var(--ease-out) both;
}

.list .row {
  animation: cardIn 0.40s var(--ease-out) both;
}

/* Staggered delay for up to 9 cards */
.grid .card:nth-child(1), .list .card:nth-child(1), .list .row:nth-child(1) { animation-delay: 0.04s; }
.grid .card:nth-child(2), .list .card:nth-child(2), .list .row:nth-child(2) { animation-delay: 0.09s; }
.grid .card:nth-child(3), .list .card:nth-child(3), .list .row:nth-child(3) { animation-delay: 0.13s; }
.grid .card:nth-child(4), .list .card:nth-child(4), .list .row:nth-child(4) { animation-delay: 0.17s; }
.grid .card:nth-child(5), .list .card:nth-child(5), .list .row:nth-child(5) { animation-delay: 0.20s; }
.grid .card:nth-child(6), .list .card:nth-child(6), .list .row:nth-child(6) { animation-delay: 0.23s; }
.grid .card:nth-child(7), .list .card:nth-child(7), .list .row:nth-child(7) { animation-delay: 0.26s; }
.grid .card:nth-child(8), .list .card:nth-child(8), .list .row:nth-child(8) { animation-delay: 0.29s; }
.grid .card:nth-child(9), .list .card:nth-child(9), .list .row:nth-child(9) { animation-delay: 0.32s; }

/* Reduced motion — disable everything */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }

  .section-head { opacity: 1; transform: none; }
  .overview-card { opacity: 1; transform: none; }
}

/* ─── SCROLL-DRIVEN ANIMATIONS (2026 CSS) ────────────────────────────── */
@supports (animation-timeline: scroll()) {

  /* Hero background parallax */
  @keyframes heroParallax {
    from { background-position: center 35%; }
    to   { background-position: center 65%; }
  }

  .hero {
    animation: heroParallax linear both;
    animation-timeline: scroll(root);
    animation-range: 0 100vh;
  }

  /* Topbar depth increases with scroll */
  @keyframes topbarDepth {
    from { box-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 4px 12px rgba(0,0,0,0.18); }
    to   { box-shadow: 0 0 0 1px rgba(255,255,255,0.09), 0 18px 40px rgba(0,0,0,0.44); }
  }

  .topbar {
    animation: topbarDepth linear both;
    animation-timeline: scroll(root);
    animation-range: 0 200px;
  }
}

/* ─── RESPONSIVE 900px ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-logo {
    opacity: 0.18;
    right: 12px;
    width: 220px;
  }

  .grid,
  .overview-grid,
  .pricing-grid,
  .split,
  .signup-band,
  .form-grid,
  .detail-forms,
  .detail-lists,
  .detail-body,
  .search-form { grid-template-columns: 1fr; }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .partner-band { grid-template-columns: 1fr; }
}

/* ─── RESPONSIVE 640px ───────────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav {
    align-items: center;
    flex-direction: row;
    min-height: 0;
    padding: 10px 14px;
    flex-wrap: wrap;
  }

  .brand { min-width: 0; flex: 1 1 auto; font-size: 18px; }
  .brand-text { font-size: 17px; }

  .nav-toggle { display: inline-flex; }

  .links {
    order: 3;
    width: 100%;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    padding: 10px 0 8px;
  }

  .nav.open .links { display: grid; }

  .links a {
    width: 100%;
    min-height: 36px;
    padding: 0 8px;
    font-size: 11px;
    line-height: 1.1;
    border-bottom: none;
    border: 1px solid rgba(255,255,255,0.14);
    justify-content: center;
    text-align: center;
  }

  .links a:hover,
  .links a[aria-current="page"] {
    background: rgba(240,174,12,0.12);
    border-color: var(--gold);
    color: var(--gold);
  }

  .language-switcher {
    width: 100%;
    grid-column: 1 / -1;
    margin-left: 0;
  }

  .hero-inner { padding: 72px 14px 50px; }
  body.section-route .hero-inner { padding: 32px 14px; }

  .hero-logo { width: 180px; bottom: 30px; }
  .brand-logo { width: 44px; height: 44px; }

  .section { padding-left: 14px; padding-right: 14px; }

  .row { grid-template-columns: 1fr; }
  .row-with-thumb { grid-template-columns: 64px minmax(0, 1fr); }
  .row-with-thumb .tag { grid-column: 2; width: fit-content; }
  .row-thumb { width: 64px; }

  .detail-top { grid-template-columns: 1fr; }
  .field-row   { grid-template-columns: 1fr; }
  .check-grid  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
