/* ==========================================================
   Showsignalmatesmi — Bavarian Chrome design system
   ========================================================== */
:root {
  --graphite-950: #0e0f12;
  --graphite-900: #131418;
  --graphite-800: #1b1d22;
  --graphite-700: #25282e;
  --graphite-600: #34373f;
  --burgundy-900: #3a0c18;
  --burgundy-800: #4f1122;
  --burgundy-700: #6d1a2c;
  --burgundy-600: #8b1e3a;
  --burgundy-500: #a3264a;
  --white: #f5f5f7;
  --muted: #c9ccd4;
  --chrome: #b8bec9;
  --gold: #d4af37;
  --gold-light: #ecd27a;
  --gold-deep: #a8841f;
  --error: #ffb8b8;
  --success: #b9f0c9;
  --s1: 4px;
  --s2: 8px;
  --s3: 16px;
  --s4: 24px;
  --s5: 40px;
  --s6: 64px;
  --radius: 18px;
  --radius-sm: 10px;
  --header-pad: 24px;
  --font-sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Arial Black", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--white);
  background-color: var(--graphite-900);
  background-image:
    radial-gradient(ellipse 80% 50% at 85% -10%, rgba(139, 30, 58, 0.45), transparent 60%),
    radial-gradient(ellipse 60% 40% at 0% 30%, rgba(109, 26, 44, 0.3), transparent 60%),
    linear-gradient(180deg, var(--graphite-900) 0%, var(--graphite-950) 100%);
  background-attachment: fixed;
}

body.nav-locked { overflow: hidden; }

h1, h2, h3, h4, p, li, a, span, td, th, label, button, dt, dd, strong, figcaption, legend, small {
  overflow-wrap: anywhere;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 var(--s3);
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(1.9rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }
p { margin: 0 0 var(--s3); }

img, svg, canvas { max-width: 100%; }

a { color: var(--gold-light); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--white); }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 300;
  padding: 8px 16px;
  background: var(--gold-light);
  color: var(--graphite-950);
  font-weight: 700;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 8px; color: var(--graphite-950); background: var(--gold-light); }

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

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 880px; }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 50;
  background: rgba(19, 20, 24, 0.94);
  color: var(--white);
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 1px 0 rgba(184, 190, 201, 0.12), 0 8px 24px rgba(0, 0, 0, 0.35);
  padding-top: env(safe-area-inset-top, 0px);
}
body.nav-locked .site-header { z-index: 250; }
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  min-height: 60px;
  padding-top: 6px;
  padding-bottom: 6px;
  padding-left: max(var(--header-pad), env(safe-area-inset-left, 0px));
  padding-right: max(var(--header-pad), env(safe-area-inset-right, 0px));
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
  min-width: 0;
  flex-shrink: 1;
}
.brand:hover { color: var(--gold-light); }
.brand-mark-crest { flex-shrink: 0; }
.brand-name {
  font-size: 1.05rem;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: normal;
}
.site-nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
  min-width: 0;
}
.nav-list li { min-width: 0; }
.nav-list a {
  display: inline-block;
  color: var(--muted);
  background: transparent;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 4px;
  border-radius: 6px;
  white-space: nowrap;
  overflow-wrap: normal;
  transition: color 0.2s ease;
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--gold-light); background: transparent; }
.nav-list a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }
.header-cta { flex-shrink: 0; min-height: 38px; padding: 8px 16px; font-size: 0.85rem; white-space: nowrap; overflow-wrap: normal; }
.nav-toggle, .nav-close { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-gold {
  background: linear-gradient(135deg, #f3dd8f 0%, var(--gold) 55%, var(--gold-deep) 100%);
  color: var(--graphite-950);
  box-shadow: 0 0 0 1px rgba(255, 243, 196, 0.4) inset, 0 6px 18px rgba(212, 175, 55, 0.25);
}
.btn-gold:hover, .btn-gold:focus-visible {
  background: linear-gradient(135deg, #fff0bd 0%, var(--gold-light) 60%, var(--gold) 100%);
  color: var(--graphite-950);
}
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(245, 245, 247, 0.55); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: rgba(245, 245, 247, 0.12); color: var(--white); border-color: var(--gold-light); }
.btn-burgundy { background: var(--burgundy-600); color: var(--white); border-color: rgba(236, 210, 122, 0.4); }
.btn-burgundy:hover, .btn-burgundy:focus-visible { background: var(--burgundy-500); color: var(--white); }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: 0.875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row > * { min-width: 0; }

/* ---------- Common typography blocks ---------- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: var(--s3);
}
.lead { font-size: clamp(1.05rem, 1.8vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.section { margin: 64px auto; }
.section-head { max-width: 760px; margin-bottom: var(--s5); }
.section-head > p:last-child { color: var(--muted); }
.section-head--tight { margin-bottom: var(--s4); }

/* ---------- Glass & metal panels ---------- */
.panel {
  position: relative;
  min-width: 0;
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.025) 60%, rgba(109, 26, 44, 0.12) 100%);
  color: var(--white);
  border: 1px solid rgba(212, 175, 55, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 0 0 1px rgba(184, 190, 201, 0.06), 0 18px 40px rgba(0, 0, 0, 0.38);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.panel::before {
  content: "";
  position: absolute;
  left: 24px; right: 24px; top: -1px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), var(--chrome), transparent);
  box-shadow: 0 0 12px rgba(236, 210, 122, 0.6);
}
.panel > * { margin-top: 0; margin-bottom: 0; }
.panel > * + * { margin-top: 24px; }
.panel h3 { margin-bottom: 0; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 16px;
}
.stat-grid > * { min-width: 0; }
.stat-panel { text-align: center; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1;
  color: var(--gold-light);
  text-shadow: 0 0 18px rgba(236, 210, 122, 0.35);
}
.stat-panel .stat-label { margin-top: 12px; color: var(--muted); font-size: 0.92rem; }

.split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}
.split-grid > * { min-width: 0; }

/* ---------- Source tags ---------- */
.source-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--s3);
}
.source-tag--documented { background: rgba(212, 175, 55, 0.16); color: var(--gold-light); border: 1px solid rgba(236, 210, 122, 0.6); }
.source-tag--analysis { background: rgba(184, 190, 201, 0.12); color: #e3e6ec; border: 1px solid rgba(184, 190, 201, 0.55); }
.panel > .source-tag { justify-self: start; width: max-content; max-width: 100%; }
.data-block { border-left: 4px solid var(--gold); }
.analysis-block { border-left: 4px solid var(--chrome); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 40px;
}
.hero > * { min-width: 0; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 24px 40px; margin: 24px 0 40px; align-items: flex-end; }
.hero-stat { min-width: 0; }
.hero-points, .hero-goals {
  font-family: var(--font-display);
  line-height: 0.9;
  margin: 0;
  color: var(--gold-light);
  background: linear-gradient(180deg, #fff6d1 0%, var(--gold-light) 40%, var(--gold) 70%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px rgba(212, 175, 55, 0.35));
}
.hero-points { font-size: clamp(4.5rem, 15vw, 9rem); }
.hero-goals { font-size: clamp(2.8rem, 8vw, 4.6rem); }
.hero-stat-label {
  margin: 12px 0 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
}
.hero-stat--points .hero-stat-label::before { content: "Points · "; color: var(--gold-light); }

.hero-stage {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  perspective: 900px;
  transform-style: preserve-3d;
}
.stadium-light-particles {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  max-width: none;
  pointer-events: none;
}
.football-sphere {
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #e8eaee 45%, #9ea3ad 100%);
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.35), 0 0 0 2px rgba(236, 210, 122, 0.4), inset -18px -22px 40px rgba(0, 0, 0, 0.45);
  animation: football-tilt 9s ease-in-out infinite;
}
.football-panel-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%239ca2ad' stroke-width='1.3'%3E%3Cpath d='M45 23H75M39 41L52 62M21 41L8 62M15 23L0 18M75 83L52 62M81 101L68 120M99 101L112 120M105 83L120 78M90 72V52M30 12V0M90 52L75 23'/%3E%3C/g%3E%3Cg fill='%231b1d22' stroke='%23c9ccd3' stroke-width='1.2'%3E%3Cpolygon points='30,12 45,23 39,41 21,41 15,23'/%3E%3Cpolygon points='90,72 105,83 99,101 81,101 75,83'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
  background-repeat: repeat;
  animation: football-roll 7s linear infinite;
}
.football-sphere::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 30%),
    radial-gradient(circle at 72% 78%, rgba(10, 10, 14, 0.6) 0%, rgba(10, 10, 14, 0) 62%);
}
.football-floor-shadow {
  position: absolute;
  left: 30%; right: 30%; bottom: 10%;
  height: 6%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.6), transparent 70%);
}
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  transform-style: preserve-3d;
}
.orbit-ring::before {
  content: "";
  position: absolute;
  top: -6px; left: 50%;
  width: 12px; height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: #fff6d1;
  box-shadow: 0 0 16px 4px rgba(236, 210, 122, 0.8);
}
.orbit-ring--gold {
  inset: 10%;
  border: 3px solid rgba(236, 210, 122, 0.85);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.55), inset 0 0 14px rgba(212, 175, 55, 0.4);
  transform: rotateX(74deg) rotateZ(0deg);
  animation: ring-spin-gold 11s linear infinite;
}
.orbit-ring--chrome {
  inset: 4%;
  border: 2px solid rgba(220, 225, 233, 0.75);
  box-shadow: 0 0 16px rgba(184, 190, 201, 0.5);
  transform: rotateY(72deg) rotateZ(0deg);
  animation: ring-spin-chrome 14s linear infinite;
}
.orbit-ring--burgundy {
  inset: 16%;
  border: 2px solid rgba(197, 60, 95, 0.85);
  box-shadow: 0 0 18px rgba(163, 38, 74, 0.6);
  transform: rotateX(60deg) rotateY(38deg) rotateZ(0deg);
  animation: ring-spin-burgundy 17s linear infinite;
}
.orbit-ring--chrome::before { background: #ffffff; box-shadow: 0 0 14px 4px rgba(255, 255, 255, 0.7); }
.orbit-ring--burgundy::before { background: #ffd6e0; box-shadow: 0 0 14px 4px rgba(197, 60, 95, 0.8); }

@keyframes football-roll { from { background-position: 0 0; } to { background-position: 240px 120px; } }
@keyframes football-tilt { 0%, 100% { transform: rotate(-8deg) translateY(0); } 50% { transform: rotate(8deg) translateY(-6px); } }
@keyframes ring-spin-gold { from { transform: rotateX(74deg) rotateZ(0deg); } to { transform: rotateX(74deg) rotateZ(360deg); } }
@keyframes ring-spin-chrome { from { transform: rotateY(72deg) rotateZ(0deg); } to { transform: rotateY(72deg) rotateZ(-360deg); } }
@keyframes ring-spin-burgundy { from { transform: rotateX(60deg) rotateY(38deg) rotateZ(0deg); } to { transform: rotateX(60deg) rotateY(38deg) rotateZ(360deg); } }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero { padding-top: 64px; padding-bottom: 24px; }
.page-hero h1 { max-width: 20ch; }
.page-hero .stat-grid { margin-top: 40px; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: var(--s3); }
.breadcrumb a { color: var(--gold-light); }

/* ---------- Entry cards (stacked row layout) ---------- */
.entry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.entry-grid > * { min-width: 0; }
.entry-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(150px, 190px) auto;
  grid-template-areas:
    "icon kicker stat link"
    "icon title  stat link"
    "icon desc   stat link";
  column-gap: 28px;
  row-gap: 6px;
  align-items: center;
  text-decoration: none;
  color: var(--white);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.entry-card.panel > * { margin-top: 0; margin-bottom: 0; }
.entry-card:hover, .entry-card:focus-visible {
  color: var(--white);
  border-color: rgba(236, 210, 122, 0.8);
  transform: translateX(6px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 24px rgba(212, 175, 55, 0.25), 0 24px 48px rgba(0, 0, 0, 0.45);
}
.entry-card > svg {
  grid-area: icon;
  align-self: center;
  justify-self: center;
  width: 48px;
  height: 48px;
}
.entry-kicker { grid-area: kicker; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem; font-weight: 700; color: var(--gold-light); }
.entry-card p { color: var(--muted); }
.entry-card h3 { grid-area: title; color: var(--white); }
.entry-card h3 + p { grid-area: desc; max-width: 64ch; }
.entry-stat {
  grid-area: stat;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  justify-content: center;
  padding-left: 24px;
  border-left: 1px solid rgba(212, 175, 55, 0.35);
}
.entry-stat-value { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--gold-light); }
.entry-stat-label { margin-top: 10px; font-size: 0.85rem; color: var(--muted); }
.entry-link {
  grid-area: link;
  font-weight: 700;
  color: var(--gold-light);
  white-space: nowrap;
  overflow-wrap: normal;
}

/* ---------- Goal-tracking grid ---------- */
.goal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18px, 1fr));
  gap: 6px;
}
.goal-cell {
  display: block;
  aspect-ratio: 1 / 1;
  min-width: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(184, 190, 201, 0.25);
  transition: transform 0.45s ease, background 0.45s ease, box-shadow 0.45s ease, opacity 0.45s ease;
  transition-delay: calc(var(--i, 0) * 14ms);
}
.js .goal-cell { transform: scale(0.45); opacity: 0.35; }
.goal-grid.is-visible .goal-cell {
  transform: scale(1);
  opacity: 1;
  background: linear-gradient(135deg, #fff0bd, var(--gold) 60%, var(--gold-deep));
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.45);
}
.goal-grid.is-visible .goal-cell.is-highlight {
  background: linear-gradient(135deg, #ff9fb8, var(--burgundy-500) 55%, var(--burgundy-700));
  border-color: rgba(255, 214, 224, 0.7);
  box-shadow: 0 0 10px rgba(197, 60, 95, 0.6);
}
.grid-legend { display: flex; flex-wrap: wrap; gap: 16px 24px; font-size: 0.88rem; color: var(--muted); }
.grid-legend-item { display: inline-flex; align-items: center; gap: 8px; }
.grid-swatch { width: 16px; height: 16px; border-radius: 4px; flex-shrink: 0; }
.grid-swatch--team { background: var(--gold); }
.grid-swatch--kane { background: var(--burgundy-500); }

/* ---------- 34-match road ---------- */
.road-legend { display: flex; flex-wrap: wrap; gap: 16px 24px; font-size: 0.88rem; color: var(--muted); }
.road-legend-item { display: inline-flex; align-items: center; gap: 8px; }
.road-swatch { width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; border: 2px solid; }
.road-swatch--win { border-color: var(--gold-light); background: rgba(212, 175, 55, 0.3); }
.road-swatch--draw { border-color: var(--chrome); background: rgba(184, 190, 201, 0.2); }
.road-swatch--loss { border-color: #ff9fb8; background: var(--burgundy-600); }
.road-progress {
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.road-progress-fill {
  display: block;
  height: 100%;
  width: var(--road-progress, 0%);
  background: linear-gradient(90deg, var(--burgundy-500), var(--gold), var(--gold-light));
  box-shadow: 0 0 12px rgba(236, 210, 122, 0.6);
  transition: width 1.2s ease;
}
.road-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(46px, 1fr));
  gap: 10px;
}
.road-node { min-width: 0; }
.road-node-btn {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--gold-light);
  background: var(--graphite-700);
  color: var(--white);
  font: inherit;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.4s ease, opacity 0.4s ease, background 0.2s ease, box-shadow 0.2s ease;
  transition-delay: calc(var(--i, 0) * 25ms), calc(var(--i, 0) * 25ms), 0s, 0s;
}
.js .road-track .road-node-btn { opacity: 0; transform: translateY(14px) scale(0.8); }
.road-track.is-visible .road-node-btn { opacity: 1; transform: none; }
.road-node-btn.is-win { border-color: var(--gold-light); background: rgba(40, 36, 24, 0.95); color: var(--white); }
.road-node-btn.is-draw { border-color: var(--chrome); background: var(--graphite-600); color: var(--white); }
.road-node-btn.is-loss { border-color: #ff9fb8; background: var(--burgundy-600); color: var(--white); }
.road-node-btn:hover { background: var(--burgundy-700); color: var(--white); box-shadow: 0 0 14px rgba(236, 210, 122, 0.5); }
.road-node-btn.is-active { background: var(--gold-light); color: var(--graphite-950); box-shadow: 0 0 18px rgba(236, 210, 122, 0.8); }
.road-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  background: rgba(14, 15, 18, 0.7);
  color: var(--white);
  border: 1px solid rgba(184, 190, 201, 0.3);
}
.road-detail strong { color: var(--gold-light); width: 100%; }
.road-detail span { color: var(--muted); }

/* ---------- Trophy reveal ---------- */
.trophy-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.trophy-layout > * { min-width: 0; }
.trophy-copy p { color: var(--muted); }
.trophy-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
  perspective: 1000px;
}
.trophy-halo {
  position: absolute;
  width: min(100%, 320px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 210, 122, 0.35), rgba(139, 30, 58, 0.2) 50%, transparent 70%);
}
.trophy-bundesliga-reveal {
  position: relative;
  width: min(100%, 240px);
  transition: transform 1.3s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 1.3s ease;
  transform-style: preserve-3d;
}
.js .trophy-bundesliga-reveal { opacity: 0; transform: rotateY(-100deg) translateY(40px) scale(0.7); }
.trophy-bundesliga-reveal.is-visible { opacity: 1; transform: rotateY(0deg) translateY(0) scale(1); }
.trophy-bundesliga-reveal.is-visible .trophy-spin { animation: trophy-sway 6s ease-in-out 1.3s infinite; }
.trophy-bundesliga-svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 0 24px rgba(212, 175, 55, 0.5)); }
@keyframes trophy-sway { 0%, 100% { transform: rotateY(-18deg); } 50% { transform: rotateY(18deg); } }

/* ---------- Prose & articles ---------- */
.prose { min-width: 0; }
.prose h2 { margin-top: 64px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 40px; }
.prose p, .prose li { color: #dfe1e7; }
.prose ul, .prose ol { padding-left: 24px; margin: 0 0 16px; }
.prose li + li { margin-top: 8px; }
.prose .panel, .prose .table-wrap, .prose .split-grid, .prose .stat-grid, .prose .role-grid { margin: 40px 0; }
.prose strong { color: var(--white); }

.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid rgba(212, 175, 55, 0.3); }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.data-table caption { text-align: left; padding: 16px; color: var(--muted); font-size: 0.88rem; background: rgba(14, 15, 18, 0.6); }
.data-table th {
  background: var(--burgundy-700);
  color: var(--white);
  text-align: left;
  padding: 12px 16px;
  font-weight: 700;
}
.data-table td { padding: 12px 16px; border-top: 1px solid rgba(184, 190, 201, 0.2); color: #e4e6eb; background: rgba(19, 20, 24, 0.6); }
.data-table tr:nth-child(even) td { background: rgba(37, 40, 46, 0.7); color: #e4e6eb; }
.data-table td.num { font-weight: 800; color: var(--gold-light); }

.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}
.role-grid > * { min-width: 0; }
.role-panel-head { display: flex; align-items: center; gap: 16px; }
.role-panel-head > * { min-width: 0; }
.role-number {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  background: linear-gradient(145deg, var(--burgundy-600), var(--burgundy-800));
  color: var(--white);
  border: 1px solid rgba(236, 210, 122, 0.6);
  box-shadow: 0 0 14px rgba(163, 38, 74, 0.5);
}
.role-position { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold-light); margin: 0; }
.role-meter { display: grid; gap: 8px; }
.role-meter-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; align-items: center; font-size: 0.85rem; color: var(--muted); }
.role-meter-bar { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.role-meter-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--burgundy-500), var(--gold-light)); }
.role-meter-fill--90 { width: 90%; }
.role-meter-fill--80 { width: 80%; }
.role-meter-fill--70 { width: 70%; }
.role-meter-fill--60 { width: 60%; }
.role-meter-fill--50 { width: 50%; }
.role-note { font-size: 0.8rem; color: var(--muted); }

.related-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.related-links > * { min-width: 0; }
.related-link {
  display: block;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  background: rgba(109, 26, 44, 0.35);
  color: var(--white);
  border: 1px solid rgba(236, 210, 122, 0.35);
  text-decoration: none;
  font-weight: 700;
}
.related-link:hover, .related-link:focus-visible { background: var(--burgundy-600); color: var(--white); border-color: var(--gold-light); }

.callout-quote {
  margin: 40px 0;
  padding: 24px;
  border-left: 4px solid var(--gold);
  background: rgba(109, 26, 44, 0.3);
  color: var(--white);
  font-size: 1.1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ---------- Legal pages ---------- */
.legal-meta { color: var(--muted); font-size: 0.9rem; }
.legal-toc { margin: 40px 0; }
.legal-toc ol { margin: 0; padding-left: 24px; }

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}
.contact-layout > * { min-width: 0; }
.contact-form { display: grid; gap: 24px; }
.form-field { display: grid; gap: 8px; min-width: 0; }
.form-field label, .form-check label { font-weight: 700; font-size: 0.92rem; color: var(--white); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(184, 190, 201, 0.45);
  background: var(--graphite-700);
  color: var(--white);
  font: inherit;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #a4a8b2; }
.form-field input:hover, .form-field select:hover, .form-field textarea:hover { border-color: var(--gold-light); }
.form-field .is-invalid, .form-check .is-invalid { border-color: var(--error); box-shadow: 0 0 0 2px rgba(255, 184, 184, 0.35); }
.form-check { display: flex; gap: 12px; align-items: flex-start; }
.form-check input { width: 20px; height: 20px; margin-top: 4px; flex-shrink: 0; accent-color: var(--gold); }
.form-check input.is-invalid { outline: 2px solid var(--error); outline-offset: 2px; }
.field-error { margin: 0; font-size: 0.85rem; color: var(--error); }
.form-status { padding: 16px 24px; border-radius: var(--radius-sm); font-weight: 600; }
.form-status.is-success { background: rgba(28, 74, 44, 0.8); color: var(--success); border: 1px solid rgba(185, 240, 201, 0.5); }
.form-status.is-error { background: rgba(79, 17, 34, 0.9); color: var(--error); border: 1px solid rgba(255, 184, 184, 0.5); }
.contact-details dl { margin: 0; display: grid; gap: 16px; }
.contact-details dt { font-weight: 700; color: var(--gold-light); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; }
.contact-details dd { margin: 4px 0 0; color: var(--white); }
.static-map-block {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: var(--graphite-800);
  color: var(--white);
}
.static-map-svg { display: block; width: 100%; height: auto; }
.static-map-caption { padding: 16px 24px; font-size: 0.88rem; color: var(--muted); background: rgba(14, 15, 18, 0.8); margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 64px;
  padding-top: 64px;
  background: linear-gradient(180deg, rgba(14, 15, 18, 0.6), var(--graphite-950));
  color: var(--muted);
  border-top: 1px solid rgba(212, 175, 55, 0.35);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-grid > * { min-width: 0; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--white); font-size: 1.05rem; }
.footer-brand p { font-size: 0.9rem; margin-bottom: 8px; }
.footer-heading { font-family: var(--font-sans); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold-light); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a, .footer-brand a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.footer-col a:hover, .footer-brand a:hover { color: var(--gold-light); text-decoration: underline; }
.footer-bottom { margin-top: 40px; padding-top: 24px; padding-bottom: 40px; border-top: 1px solid rgba(184, 190, 201, 0.15); }
.footer-bottom p { margin: 0; font-size: 0.85rem; color: var(--muted); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 150;
  max-width: 760px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  gap: 16px;
  border-radius: var(--radius);
  background: rgba(27, 29, 34, 0.97);
  color: var(--white);
  border: 1px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 0 1px rgba(184, 190, 201, 0.08), 0 20px 50px rgba(0, 0, 0, 0.6);
}
.cookie-text { margin: 0; font-size: 0.92rem; color: var(--white); }
.cookie-prefs { display: grid; gap: 12px; padding: 16px; border-radius: var(--radius-sm); background: rgba(14, 15, 18, 0.7); color: var(--white); }
.cookie-option { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; }
.cookie-option input { width: 18px; height: 18px; accent-color: var(--gold); flex-shrink: 0; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions > * { min-width: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) and (min-width: 768px) {
  :root { --header-pad: 16px; }
  .header-inner { gap: 12px; }
  .nav-list { gap: 2px 10px; }
  .nav-list a { font-size: 0.76rem; }
  .brand-name { font-size: 0.9rem; }
  .header-cta { padding: 6px 12px; font-size: 0.78rem; min-height: 36px; }
}

@media (max-width: 1000px) {
  .entry-card {
    grid-template-columns: 52px minmax(0, 1fr) minmax(130px, 170px);
    grid-template-areas:
      "icon kicker stat"
      "icon title  stat"
      "icon desc   stat"
      "icon link   stat";
    column-gap: 20px;
  }
  .entry-link { padding-top: 6px; }
}

@media (max-width: 900px) and (min-width: 768px) {
  .brand-name { max-width: 120px; }
  .nav-list { gap: 2px 8px; }
  .nav-list a { font-size: 0.72rem; padding: 6px 2px; }
}

@media (max-width: 960px) {
  .hero, .trophy-layout, .contact-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .entry-card {
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-areas:
      "icon kicker"
      "icon title"
      "desc desc"
      "stat stat"
      "link link";
    column-gap: 14px;
    row-gap: 10px;
  }
  .entry-card > svg { width: 40px; height: 40px; }
  .entry-stat {
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
    padding-left: 0;
    padding-top: 12px;
    border-left: 0;
    border-top: 1px solid rgba(212, 175, 55, 0.35);
  }
  .entry-stat-value { font-size: 1.8rem; }
  .entry-stat-label { margin-top: 0; }
  .entry-link { padding-top: 0; white-space: normal; }
  .entry-card:hover, .entry-card:focus-visible { transform: translateY(-3px); }
}

@media (max-width: 767px) {
  :root { --header-pad: 16px; }
  .header-inner { min-height: 56px; padding-top: 6px; padding-bottom: 6px; gap: 8px; }
  .brand { margin-right: auto; }
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: calc(64px + env(safe-area-inset-top, 0px)) 24px calc(40px + env(safe-area-inset-bottom, 0px));
    background: rgba(14, 15, 18, 0.98);
    color: var(--white);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; flex-wrap: nowrap; align-items: center; gap: 16px; margin: auto 0; width: 100%; }
  .nav-list li { width: 100%; text-align: center; }
  .nav-list a { font-size: 1.25rem; color: var(--white); padding: 8px 16px; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
  .nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: calc(8px + env(safe-area-inset-top, 0px));
    right: max(16px, env(safe-area-inset-right, 0px));
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(245, 245, 247, 0.45);
    background: transparent;
    color: var(--white);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
  }
  .nav-close:hover { background: var(--burgundy-600); color: var(--white); }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0 9px;
    flex-shrink: 0;
    border-radius: 10px;
    border: 1px solid rgba(245, 245, 247, 0.4);
    background: transparent;
    color: var(--white);
    cursor: pointer;
  }
  .nav-toggle:hover { background: rgba(245, 245, 247, 0.1); color: var(--white); }
  .nav-toggle-bar { display: block; height: 2px; width: 100%; border-radius: 2px; background: var(--white); }
  .header-cta { margin-left: 0; min-height: 34px; padding: 6px 12px; font-size: 0.78rem; }
  .brand-name { font-size: 0.95rem; }
  .brand-mark-crest { width: 28px; height: 28px; }
  .container { padding: 0 16px; }
  .panel { padding: 24px 16px; }
  .panel::before { left: 16px; right: 16px; }
  .road-detail { padding: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .goal-grid { grid-template-columns: repeat(auto-fill, minmax(14px, 1fr)); gap: 4px; }
}

@media (max-width: 767px) and (max-height: 480px) {
  .nav-list { gap: 4px; }
  .nav-list a { font-size: 1.05rem; padding: 6px 12px; }
  .site-nav { padding-top: calc(56px + env(safe-area-inset-top, 0px)); padding-bottom: 24px; }
}

@media (max-width: 399px) {
  :root { --header-pad: 12px; }
  .brand-name { font-size: 0.85rem; }
  .brand-mark-crest { width: 24px; height: 24px; }
  .brand { gap: 6px; }
  .header-cta { padding: 6px 10px; font-size: 0.72rem; min-height: 32px; }
  .header-inner { gap: 6px; min-height: 52px; }
  .nav-toggle { width: 36px; height: 36px; padding: 0 8px; }
  h1 { font-size: 1.7rem; }
  .hero-points { font-size: 4.2rem; }
  .btn { width: 100%; }
  .header-cta, .cookie-actions .btn, .nav-toggle { width: auto; }
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 16px; }
  .road-track { grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 8px; }
  .role-meter-row { grid-template-columns: 1fr; gap: 4px; }
  .data-table { font-size: 0.85rem; }
}

/* Very small phones: Contact remains reachable from the menu, so the CTA steps aside */
@media (max-width: 359px) {
  .header-cta { display: none; }
  .brand-name { font-size: 0.82rem; }
  .nav-list a { font-size: 1.1rem; }
}

@media (max-width: 299px) {
  :root { --header-pad: 8px; }
  .header-inner { min-height: 48px; gap: 4px; }
  .brand-name { font-size: 0.74rem; letter-spacing: 0; }
  .brand-mark-crest { width: 22px; height: 22px; }
  .nav-toggle { width: 34px; height: 34px; padding: 0 7px; gap: 4px; }
  .nav-close { width: 40px; height: 40px; right: 8px; }
  .site-nav { padding-left: 12px; padding-right: 12px; }
  .nav-list a { font-size: 1rem; padding: 6px 8px; }
}

@media (max-width: 239px) {
  .brand-name { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}