/*
Theme Name: WMB 2026
Theme URI: https://www.metal-battle.com
Author: WOA Festival GmbH
Author URI: https://www.wacken.com
Description: Custom theme for Wacken Metal Battle 2026. Built to the official WMB CI — Latin CT (ALL CAPS) for display type, Bebas Neue for everything else. Disciplined black-and-red editorial language. No page builders.
Version: 0.3.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary — WOA Festival GmbH
Text Domain: wmb-2026
*/

/* ============================================================================
   FONTS — Latin CT (Not Wide) is the official WMB display face.
   Licensed file lives at /fonts/LatinCT-NotWide.otf.
   IndubitablyNF.ttf is bundled as a stand-in fallback in case Latin CT fails.
   Bebas Neue + JetBrains Mono load via Google Fonts (functions.php).
   ========================================================================= */
@font-face {
  font-family: "Latin CT";
  src: url("fonts/LatinCT-NotWide.otf") format("opentype"),
       url("fonts/IndubitablyNF.ttf")  format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Indubitably";
  src: url("fonts/IndubitablyNF.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ============================================================================
   TOKENS — closed system. No purple, no teal, no gradients except hero overlay.
   ========================================================================= */
:root {
  --black:      #0a0a0a;
  --black-2:    #141414;
  --surface:    #1c1c1c;
  --border:     #262626;
  --border-2:   #3a3a3a;
  --white:      #f4f4f4;
  --muted:      #9a9a9a;
  --muted-2:    #6a6a6a;
  --red:        #c8102e;
  --red-bright: #e63946;
  --red-deep:   #8a0a1e;
  --gold:       #c9a14a;       /* 2023 champion accent — single-use */

  --font-display: "Latin CT", "Indubitably", "Oswald", "Impact", "Haettenschweiler", sans-serif;
  --font-text:    "Bebas Neue", "Oswald", "Arial Narrow", sans-serif;
  --font-mono:    "JetBrains Mono", "IBM Plex Mono", "Courier New", ui-monospace, monospace;

  --max-w: 1440px;
  --gutter: 40px; /* matches the homepage gutter so content edges align site-wide */
  --section-y: 96px;

  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-text);
  font-size: 17px;
  letter-spacing: 0.04em;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; }
::selection { background: var(--red); color: var(--white); }
a { color: inherit; text-decoration: none; }

/* WP block editor sometimes injects margins on .wp-block-* — strip them on the front-page. */
.wmb-prose .wp-block-image { margin: 0; }

/* ============================================================================
   ATOMIC PATTERNS — // 0X eyebrow, headlines, 64px red rule, buttons
   ========================================================================= */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-family: var(--font-text);
  font-size: 13px; letter-spacing: 0.22em;
  color: var(--muted); text-transform: uppercase;
  display: inline-block;
}
.eyebrow::before { content: "// "; color: var(--red); }

.section-head { margin-bottom: 56px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.4vw, 72px);
  line-height: 0.95; letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 14px 0 0; font-weight: 400;
}
.section-head h2 .red { color: var(--red); }
.section-head .rule {
  display: block; width: 64px; height: 4px;
  background: var(--red); margin-top: 22px;
}
.section-head .deck {
  margin-top: 24px; max-width: 720px;
  font-size: 18px; letter-spacing: 0.04em;
  color: var(--muted);
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 24px;
  font-size: 14px; letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--red); color: var(--white);
  border: 1px solid var(--red);
  cursor: pointer; user-select: none;
  transition: background 120ms var(--ease), border-color 120ms var(--ease), transform 200ms var(--ease);
  text-decoration: none;
}
.btn:hover  { background: var(--red-bright); border-color: var(--red-bright); color: var(--white); }
.btn:active { background: var(--red-deep); border-color: var(--red-deep); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn--ghost:hover { background: transparent; color: var(--red-bright); border-color: var(--red-bright); }
.btn--lg { padding: 20px 28px; font-size: 15px; }

/* ============================================================================
   TOP UTILITY BAR + MAIN NAV
   The utility strip, nav and mobile drawer now live in
   assets/css/site-header.css — a single source of truth shared with the
   homepage header (header.php renders template-parts/homepage/header.php).
   Only the pieces still used elsewhere on inner pages stay here:
   @keyframes pulse (reused by the reach live-dot) and the admin-bar offset.
   ========================================================================= */
@keyframes pulse {
  0%, 100% { opacity: 1;    transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.8); }
}
body.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .nav { top: 46px; } }

/* ============================================================================
   HERO
   ========================================================================= */
.hero { position: relative; height: 92vh; min-height: 720px; overflow: hidden; background: var(--black); }
.hero__bg {
  position: absolute; inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  animation: kenburns 28s ease-in-out infinite alternate;
  filter: brightness(0.7) contrast(1.05);
}
@keyframes kenburns {
  0%   { transform: scale(1)    translate(0, 0); }
  100% { transform: scale(1.07) translate(-1%, 1%); }
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.30) 35%, rgba(10,10,10,0.85) 100%);
}
.hero__content {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0 var(--gutter) 80px;
  max-width: var(--max-w); margin: 0 auto;
}
.hero__meta {
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--white); opacity: 0.85;
  margin-bottom: 32px;
}
.hero__meta::before { content: "// "; color: var(--red); }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.4vw, 92px);
  line-height: 0.95; letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0; font-weight: 400;
}
.hero__title .l1 { color: var(--white); display: block; }
.hero__title .l2 {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px var(--white);
}
.hero__title .l3 { color: var(--red); display: block; }

.hero__rule {
  display: block; width: 96px; height: 4px;
  background: var(--red); margin-top: 28px;
}
.hero__sub {
  margin-top: 28px; max-width: 720px;
  font-size: 18px; letter-spacing: 0.04em;
  color: var(--white); opacity: 0.85;
}
.hero__ctas { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border); border-bottom: 0;
  margin-top: 56px;
  background: rgba(10,10,10,0.55);
}
.hero__stat { padding: 24px 20px; border-right: 1px solid var(--border); }
.hero__stat:last-child { border-right: 0; }
.hero__stat-n {
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 56px); line-height: 1;
  letter-spacing: 0.02em; color: var(--white);
}
.hero__stat-l {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-top: 10px;
}

/* =========================================================================
   FLAG IMAGES — added v0.2.6, updated v0.2.8 (SVG, natural aspect ratio)
   ========================================================================= */
.flag-img {
  display: inline-block;
  vertical-align: middle;
  height: 18px;
  width: auto !important;
  max-width: none !important;
  border-radius: 2px;
  margin-right: 6px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.territory .flag-img        { height: 20px; }
.band-hero__meta .flag-img  { height: 22px; margin-right: 8px; }
.heat-unit__flag .flag-img  { height: 24px; }

/* ============================================================================
   SECTIONS — global
   ========================================================================= */
section.s { padding: var(--section-y) 0; }
section.s--alt { background: var(--black-2); }

/* ============================================================================
   // 01 — THE FUNNEL
   ========================================================================= */
.funnel { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: stretch; }
.funnel__callout {
  background: var(--red); color: var(--white); padding: 48px 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 380px;
}
.funnel__callout-eye {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.funnel__callout-eye::before { content: "// "; color: var(--white); }
.funnel__callout-n {
  font-family: var(--font-display);
  font-size: clamp(72px, 8vw, 120px);
  line-height: 0.95; letter-spacing: 0.02em;
  margin-top: 24px;
}
.funnel__callout-l {
  font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase;
  margin-top: 18px; line-height: 1.1;
}
.funnel__callout-sub {
  font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.85); margin-top: 24px;
}

.funnel__bars { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.funnel__bar { min-width: 0; }
.funnel__bar-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 8px;
}
.funnel__bar-l {
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.funnel__bar-n {
  font-family: var(--font-display);
  font-size: 32px; letter-spacing: 0.02em;
  color: var(--white);
}
.funnel__bar-fill {
  height: 22px; background: var(--red);
  border: 1px solid var(--red);
}

/* ============================================================================
   // 02 — THE 2026 LINEUP
   ========================================================================= */
.lineup__progress {
  display: flex; align-items: center; gap: 24px;
  margin-bottom: 48px;
}
.lineup__progress-count {
  font-family: var(--font-display);
  font-size: 36px; letter-spacing: 0.02em; color: var(--white);
  line-height: 1;
}
.lineup__progress-count .of { color: var(--muted); }
.lineup__progress-l {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.lineup__progress-bar {
  flex: 1; height: 6px; background: var(--surface); position: relative;
  min-width: 120px;
  border: 1px solid var(--border);
}
.lineup__progress-bar-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--red);
}

.lineup__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

/* ============================================================================
   // 03 — GLOBAL REACH
   ========================================================================= */
.reach { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: flex-start; }
.reach__left { min-width: 0; }
.reach__stats { margin-top: 48px; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border); }
.reach__stat {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.reach__stat-n {
  font-family: var(--font-display);
  font-size: 44px; letter-spacing: 0.02em;
  color: var(--white); line-height: 1;
}
.reach__stat-l {
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); text-align: right; max-width: 200px;
}

.reach__right { min-width: 0; }
.reach__grid {
  margin-top: 14px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.territory {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 14px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white);
  min-height: 56px;
  min-width: 0;
}
.territory .flag { font-size: 18px; line-height: 1; }
.territory .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.territory.active .name { color: var(--white); }
.territory .live-dot {
  width: 6px; height: 6px; background: var(--red);
  animation: pulse 1.6s var(--ease) infinite;
  flex-shrink: 0;
}

/* ============================================================================
   HEAT UNIT GRID (v0.2.3) — replaces .territory for section 03.
   30 cells, each is either a single country or a regional grouping.
   Live indicator: red dot top-right when the heat's calendar month
   matches the current month (in site timezone).
   ========================================================================= */
.heat-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.heat-unit {
  position: relative;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 56px 1fr 18px;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  min-width: 0;
  transition: background-color 200ms var(--ease);
}
.heat-unit:hover { background: rgba(255,255,255,0.02); }

.heat-unit__code {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--muted);
  text-transform: uppercase;
  text-align: left;
  line-height: 1.2;
}
.heat-unit--region .heat-unit__code {
  color: var(--red);
  font-weight: 700;
}

.heat-unit__name {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.heat-unit__members {
  grid-column: 2 / 3;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted-2, var(--muted));
  text-transform: uppercase;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0.7;
}

.heat-unit__flag {
  font-size: 16px;
  line-height: 1;
  position: absolute;
  bottom: 8px;
  left: 16px;
  opacity: 0.5;
}

.heat-unit__arrow {
  font-size: 14px;
  color: var(--muted-2, var(--border-2));
  text-align: right;
  line-height: 1;
}

/* Live state — pulsing red dot top-right of the cell ============== */
.heat-unit.is-live { background: rgba(200, 16, 46, 0.04); }
.heat-unit.is-live .heat-unit__name { color: var(--white); }
.heat-unit.is-live::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.6);
  animation: heat-pulse 1.4s var(--ease) infinite;
  z-index: 2;
}

@keyframes heat-pulse {
  0%   { box-shadow: 0 0 0 0    rgba(200, 16, 46, 0.6); }
  70%  { box-shadow: 0 0 0 12px rgba(200, 16, 46, 0);   }
  100% { box-shadow: 0 0 0 0    rgba(200, 16, 46, 0);   }
}

@media (prefers-reduced-motion: reduce) {
  .heat-unit.is-live::after { animation: none; }
}

.reach__note {
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.6;
  opacity: 0.7;
}

/* Responsive: stack to 2 cols then 1 col on narrow viewports */
@media (max-width: 1100px) {
  .heat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .heat-grid { grid-template-columns: 1fr; }
  .heat-unit { grid-template-columns: 48px 1fr 18px; padding: 12px 14px; }
}

/* ============================================================================
   // 04 — LATEST FROM THE BATTLE
   ========================================================================= */
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news {
  background: var(--black);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  cursor: pointer; min-width: 0;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease);
  color: inherit;
  text-decoration: none;
}
.news:hover { transform: translateY(-2px); border-color: var(--border-2); color: inherit; }
.news__visual {
  position: relative; aspect-ratio: 16/9;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.news__visual--has-image::before { display: none; }
.news__visual::before {
  /* low-opacity WMB logo watermark when there's no featured image */
  content: ""; position: absolute; inset: 0;
  background-image: url("assets/images/logo.png");
  background-position: center; background-repeat: no-repeat;
  background-size: 70% auto;
  opacity: 0.06;
  filter: grayscale(1) brightness(2);
}
.news__visual-grad {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.4), rgba(10,10,10,0.9));
}
.news__tag {
  position: absolute; top: 14px; left: 14px;
  padding: 6px 10px; border: 1px solid var(--white);
  background: rgba(10,10,10,0.7);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--white); z-index: 2;
}
.news__body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.news__slug {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red); font-family: var(--font-mono);
}
.news__meta {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin: 10px 0 14px;
}
.news__meta .sep { color: var(--border-2); margin: 0 8px; }
.news__title {
  font-family: var(--font-display);
  font-size: 26px; line-height: 1.05; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--white);
  margin: 0;
}
.news__excerpt {
  margin-top: 14px; font-size: 14px; letter-spacing: 0.06em;
  color: var(--muted); line-height: 1.55; flex: 1;
}
.news__read {
  margin-top: 22px;
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red);
}
.news:hover .news__read { color: var(--red-bright); }

.news__filter {
  margin-top: 48px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding-bottom: 32px;
}
.news__filter-label {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted-2); margin-right: 8px;
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border: 1px solid var(--border);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); background: transparent; cursor: pointer;
  transition: border-color 120ms, color 120ms;
}
.chip:hover { border-color: var(--white); color: var(--white); }
.chip--more { color: var(--muted-2); border-color: var(--border); }
.news__all { display: flex; justify-content: flex-end; }

/* ============================================================================
   // 05 — HALL OF FAME
   ========================================================================= */
.hall {
  display: flex; gap: 0; overflow-x: auto; padding-bottom: 24px;
  border-left: 1px solid var(--border); border-top: 1px solid var(--border);
  scrollbar-width: thin; scrollbar-color: var(--border-2) var(--black);
}
.hall::-webkit-scrollbar { height: 8px; }
.hall::-webkit-scrollbar-track { background: var(--black); }
.hall::-webkit-scrollbar-thumb { background: var(--border-2); }
.champ {
  flex: 0 0 280px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 28px;
  display: flex; flex-direction: column; gap: 18px;
  background: var(--black);
  min-height: 360px;
  transition: background 200ms var(--ease);
  color: inherit; text-decoration: none;
}
.champ:hover { background: var(--surface); color: inherit; }
.champ__year {
  font-family: var(--font-display);
  font-size: 64px; line-height: 0.95; letter-spacing: 0.02em;
  color: var(--red);
}
.champ--gold .champ__year { color: var(--gold); }
.champ__label {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--muted);
}
.champ__name {
  font-family: var(--font-display);
  font-size: 22px; line-height: 1.05; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--white);
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.champ__country {
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-top: auto;
}
.champ__country .flag { margin-right: 8px; }

/* ============================================================================
   // 06 — FIVE REASONS
   ========================================================================= */
.reasons {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-left: 1px solid var(--border); border-top: 1px solid var(--border);
}
.reason {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 24px 32px;
  display: flex; flex-direction: column; gap: 18px;
  min-height: 280px; min-width: 0;
}
.reason__n {
  font-family: var(--font-display);
  font-size: 72px; line-height: 0.9; letter-spacing: 0.02em;
  color: var(--red);
}
.reason__title {
  font-family: var(--font-display);
  font-size: 22px; line-height: 1.05; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--white);
  overflow-wrap: anywhere;
}
.reason__desc {
  font-size: 14px; letter-spacing: 0.08em;
  color: var(--muted); margin-top: auto; line-height: 1.4;
}

/* ============================================================================
   PARTNERS STRIP
   ========================================================================= */
.partners { padding: 64px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--black-2); }
.partners__inner { text-align: center; }
.partners__eye {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 28px;
}
.partners__eye::before { content: "// "; color: var(--red); }
.partners__row {
  display: flex; flex-wrap: wrap; justify-content: center;
  align-items: center; gap: 0;
}
.partners__name {
  font-family: var(--font-display);
  font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); padding: 0 28px;
  position: relative;
  transition: color 120ms;
  cursor: pointer;
}
.partners__name:hover { color: var(--white); }
.partners__name + .partners__name::before {
  content: "·"; position: absolute; left: -4px; color: var(--border-2);
}

/* ============================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--black); border-top: 1px solid var(--border); padding: 80px 0 28px; }
.footer__cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.footer__lockup {
  font-family: var(--font-display);
  font-size: 30px; line-height: 0.95; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--white);
}
.footer__rule { display: block; width: 64px; height: 4px; background: var(--red); margin: 22px 0 22px; }
.footer__tag {
  font-size: 14px; letter-spacing: 0.08em; color: var(--muted);
  text-transform: uppercase; max-width: 360px; line-height: 1.5;
}
.footer__nl { margin-top: 28px; display: flex; gap: 0; max-width: 420px; }
.footer__nl input {
  flex: 1; min-width: 0;
  background: var(--black-2); border: 1px solid var(--border);
  padding: 14px 16px;
  font-family: var(--font-text); font-size: 14px; letter-spacing: 0.1em;
  color: var(--white); outline: none;
}
.footer__nl input::placeholder { color: var(--muted-2); text-transform: uppercase; }
.footer__nl input:focus { border-color: var(--red); outline: 2px solid var(--red); outline-offset: 0; }
.footer__nl button {
  background: var(--red); color: var(--white); border: 1px solid var(--red);
  padding: 14px 22px;
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer;
}
.footer__nl button:hover { background: var(--red-bright); border-color: var(--red-bright); }
.footer__col-title {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.footer__col-title::before { content: "// "; color: var(--red); }
.footer__col a {
  display: block; padding: 7px 0;
  font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); cursor: pointer; transition: color 120ms;
}
.footer__col a:hover { color: var(--red-bright); }
.footer__bottom {
  margin-top: 64px; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted-2);
}
.footer__bottom-links { display: flex; gap: 0; }
.footer__bottom-links a { padding: 4px 16px; border-right: 1px solid var(--border); cursor: pointer; }
.footer__bottom-links a:last-child { border-right: 0; }
.footer__bottom-links a:hover { color: var(--white); }

/* ============================================================================
   GENERIC PAGE / POST CONTENT (about, press, news article body, etc.)
   ========================================================================= */
.wmb-page { padding: var(--section-y) 0; }
.wmb-prose { max-width: 760px; font-size: 17px; line-height: 1.6; letter-spacing: 0.02em; color: var(--white); }
.wmb-prose p { margin: 0 0 1.2em; }
.wmb-prose h2, .wmb-prose h3 { font-family: var(--font-display); text-transform: uppercase; margin: 1.6em 0 0.6em; letter-spacing: 0.02em; }
.wmb-prose h2 { font-size: 36px; line-height: 1.05; }
.wmb-prose h3 { font-size: 26px; line-height: 1.1; }
.wmb-prose a  { color: var(--red); border-bottom: 1px solid currentColor; transition: color 120ms; }
.wmb-prose a:hover { color: var(--red-bright); }
.wmb-prose ul, .wmb-prose ol { padding-left: 1.5em; margin: 0 0 1.2em; }
.wmb-prose li { margin-bottom: 0.4em; }
.wmb-prose img { margin: 24px 0; border: 1px solid var(--border); }
.wmb-prose blockquote {
  border-left: 4px solid var(--red);
  padding: 8px 0 8px 20px;
  margin: 24px 0;
  color: var(--muted);
  font-style: normal;
}

/* ============================================================================
   LINEUP PAGE — /band/ archive + page template "Lineup"
   ========================================================================= */

/* Page header */
.lineup-page .lp-hdr {
  padding: 88px 0 56px;
  border-bottom: 1px solid var(--border);
}
.lp-hdr__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.20em;
  text-transform: uppercase; color: var(--muted);
  margin: 0 0 28px;
}
.lp-hdr__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 9vw, 144px);
  line-height: 0.9; letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 28px; color: var(--white);
}
.lp-hdr__title .dot { color: var(--red); }
.lp-hdr__rule {
  display: block; width: 64px; height: 4px;
  background: var(--red);
  margin: 0 0 36px;
}
.lp-hdr__deck {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.25; letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 48px; max-width: 900px;
}
.lp-hdr__count {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.3vw, 17px); letter-spacing: 0.20em;
  text-transform: uppercase; color: var(--white);
  margin: 0 0 22px;
}
.lp-hdr__count .num { color: var(--red); font-weight: 600; }
.lp-hdr__count .dim { color: var(--muted); }
.lp-hdr__count .sep { color: var(--muted-2); }
.lp-hdr__progress {
  position: relative; height: 4px;
  background: rgba(255,255,255,0.06);
  width: 100%; max-width: 560px; overflow: hidden;
}
.lp-hdr__progress-fill {
  position: absolute; inset: 0 auto 0 0; height: 100%;
  background: var(--red);
  transform-origin: left center;
  animation: lp-progress-in 900ms var(--ease) 200ms both;
}
@keyframes lp-progress-in {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Sticky sort bar */
.lp-sortbar-wrap {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.lp-sortbar {
  display: flex; align-items: center; gap: 24px;
  padding: 16px 0;
}
.lp-sortbar__label {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.20em;
  text-transform: uppercase; color: var(--muted-2);
  flex-shrink: 0;
}
.lp-sortbar__label::before { content: "// "; color: var(--red); }
.lp-sortbar__pills {
  display: flex; gap: 8px;
  flex: 1 1 auto; min-width: 0;
  overflow-x: auto; overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 0;
}
.lp-sortbar__pills::-webkit-scrollbar { display: none; }
.lp-pill {
  flex-shrink: 0;
  appearance: none; -webkit-appearance: none;
  background: transparent; color: var(--white);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500; letter-spacing: 0.20em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 220ms var(--ease),
              background-color 220ms var(--ease),
              color 220ms var(--ease);
}
.lp-pill:hover { border-color: rgba(255,255,255,0.22); }
.lp-pill:focus-visible {
  outline: 2px solid var(--red); outline-offset: 2px;
}
.lp-pill[aria-pressed="true"] {
  background: var(--red); color: #fff; border-color: var(--red);
}
.lp-sortbar__count {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.20em;
  text-transform: uppercase; color: var(--muted);
  flex-shrink: 0; white-space: nowrap;
}
.lp-sortbar__count .num { color: var(--white); font-weight: 600; }
@media (max-width: 700px) {
  .lp-sortbar { gap: 14px; }
}

/* Grid wrap */
.lp-grid-wrap { padding: 56px 0 88px; }
.lp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
@media (min-width: 600px)  { .lp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .lp-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .lp-grid { grid-template-columns: repeat(4, 1fr); } }

/* Section header rows (Day / Stage modes) */
.lp-section {
  grid-column: 1 / -1;
  display: flex; align-items: baseline; gap: 16px;
  padding: 28px 0 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.lp-section:first-child { padding-top: 6px; }
.lp-section__rule {
  width: 32px; height: 3px; background: var(--red);
  flex-shrink: 0; transform: translateY(-2px);
}
.lp-section__label {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.20em;
  text-transform: uppercase; color: var(--white);
  font-weight: 500;
}
.lp-section__count {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.20em;
  text-transform: uppercase; color: var(--muted-2);
  margin-left: auto;
}

/* FLIP transitions during sort */
.lp-grid.is-sorting .band-card  { transition: transform 260ms var(--ease); }
.lp-grid.is-sorting .lp-section { transition: opacity 260ms var(--ease); }

/* Footer CTA */
.lp-cta {
  border-top: 1px solid var(--border);
  padding: 80px 0 120px;
  text-align: center;
}
.lp-cta__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.20em;
  text-transform: uppercase; color: var(--white);
  margin: 0 0 24px;
}
.lp-cta__eyebrow::before { content: "// "; color: var(--red); }
.lp-cta__rule {
  display: inline-block; width: 64px; height: 4px;
  background: var(--red);
  margin: 0 0 32px;
}
.lp-cta__buttons {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}
.lp-btn {
  appearance: none; -webkit-appearance: none;
  border-radius: 0;
  padding: 16px 26px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600; letter-spacing: 0.20em;
  text-transform: uppercase;
  cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background-color 220ms var(--ease),
              color 220ms var(--ease),
              border-color 220ms var(--ease);
}
.lp-btn--filled {
  background: var(--red); color: #fff; border: 1px solid var(--red);
}
.lp-btn--filled:hover { background: #e63946; border-color: #e63946; }
.lp-btn--outline {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
}
.lp-btn--outline:hover { border-color: #fff; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .lp-grid.is-sorting .band-card,
  .lp-grid.is-sorting .lp-section { transition: none; }
  .lp-hdr__progress-fill { animation: none; }
}

/* When the [wmb_lineup] shortcode is embedded inside page.php, hide
 * the standard page hero and remove wrap padding so the lineup's own
 * page header takes over the top of the page cleanly. */
.wmb-page:has(.lineup-page) .section-head { display: none; }
.wmb-page:has(.lineup-page) > .wrap        { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.wmb-page:has(.lineup-page) .wmb-prose     { max-width: none; padding: 0; }
/* The lineup shortcode wraps its sections in their own .wrap (gutter + 1440 cap).
 * The page-level .wrap above already supplies both, so neutralise the inner ones
 * to avoid a double gutter (hero/grid were landing 40px past the rest of the site). */
.wmb-page:has(.lineup-page) .lineup-page .wrap { max-width: none; padding-left: 0; padding-right: 0; }

/* ============================================================================
   SINGLE BAND PAGE
   ========================================================================= */
.band-hero { position: relative; padding: 64px 0 48px; border-bottom: 1px solid var(--border); }
.band-hero__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.band-hero__photo {
  aspect-ratio: 16 / 9; background: var(--surface); border: 1px solid var(--border);
  background-position: center; background-size: cover; background-repeat: no-repeat;
}
.band-hero__photo--empty { display: flex; align-items: center; justify-content: center; color: var(--muted-2); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.band-hero__slot {
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.band-hero__name {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px); line-height: 0.92;
  letter-spacing: 0.01em; text-transform: uppercase;
  margin: 0; color: var(--white);
}
.band-hero__rule { display: block; width: 64px; height: 4px; background: var(--red); margin: 22px 0; }
.band-hero__perf {
  font-family: var(--font-mono);
  font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red);
  margin: 0 0 22px;
}
.band-hero__meta {
  display: flex; flex-wrap: wrap; gap: 22px; margin: 22px 0;
  font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.band-hero__meta .flag { font-size: 18px; margin-right: 6px; }
.band-hero__socials { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.band-hero__social {
  display: inline-flex; align-items: center; padding: 10px 16px;
  border: 1px solid var(--border); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); transition: all 120ms;
}
.band-hero__social:hover { border-color: var(--red); color: var(--red-bright); }
.band-body { padding: 64px 0; }
.band-body__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.band-body__lang { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; }
.band-body__lang::before { content: "// "; color: var(--red); }

/* ============================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1279px) {
  :root { --gutter: 32px; }
}
@media (max-width: 1024px) {
  :root { --section-y: 72px; --gutter: 24px; }

  .hero { height: 80vh; min-height: 600px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stat:nth-child(2) { border-right: 0; }
  .hero__stat:nth-child(1), .hero__stat:nth-child(2) { border-bottom: 1px solid var(--border); }

  .funnel       { grid-template-columns: 1fr; gap: 32px; }
  .funnel__callout { min-height: 0; }
  .lineup__grid { grid-template-columns: repeat(2, 1fr); }
  .reach        { grid-template-columns: 1fr; gap: 48px; }
  .reach__grid  { grid-template-columns: repeat(3, 1fr); }
  .news__grid   { grid-template-columns: 1fr; }
  .reasons      { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 36px; }
  .band-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .band-body__cols  { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  :root { --section-y: 56px; --gutter: 18px; }

  /* Header (.utility / .nav / .nav__logo) is owned by site-header.css now;
     the old-header overrides that used to sit here have been removed. */

  .hero__title { font-size: clamp(56px, 14vw, 96px); }
  .hero__content { padding-bottom: 48px; }
  .hero__stats { grid-template-columns: 1fr; }
  .hero__stat { border-right: 0 !important; border-bottom: 1px solid var(--border); }

  .lineup__grid { grid-template-columns: 1fr; }
  .reach__grid  { grid-template-columns: repeat(2, 1fr); }
  .reasons      { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; gap: 36px; }
  .partners__name { font-size: 20px; padding: 0 18px; }

  .section-head h2 { font-size: clamp(40px, 12vw, 64px); }
  .section-head { margin-bottom: 36px; }

  .lineup__progress { flex-wrap: wrap; }
  .lineup__progress-bar { flex-basis: 100%; order: 99; }
}
