/* ==========================================================================
   Luxembourgcars — design tokens
   Brand gold sampled from the @luxembourgcars logo (#AC843D), lifted for
   contrast on black.
   ========================================================================== */
:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --surface: #161616;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f1ea;
  --text-muted: #a9a49a;
  --gold: #c9a15a;
  --gold-light: #e6c98e;
  --gold-deep: #ac843d;

  --font-display: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --radius: 4px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur: 420ms;
  --dur-slow: 900ms;

  --z-header: 40;
  --z-menu: 100;
  --z-dialog: 1000;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; touch-action: manipulation; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 400; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

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

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: calc(var(--z-dialog) + 1);
  padding: 10px 16px; background: var(--gold); color: #000;
  transform: translateY(-150%); transition: transform var(--dur-fast);
}
.skip-link:focus { transform: none; }

/* ---------- Type ---------- */
.display, .display-md, .display-sm {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.display { font-size: clamp(3rem, 9vw, 8.5rem); }
.display-md { font-size: clamp(2.5rem, 6vw, 5.5rem); }
.display-sm { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.display em, .display-md em { color: var(--gold-light); }

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.lead {
  max-width: 34rem;
  margin: 24px auto 0;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: #d9d4ca;
}
.muted { color: var(--text-muted); max-width: 36rem; }
.small { font-size: 0.8rem; color: var(--text-muted); }
.num {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.tag {
  display: inline-block;
  padding: 6px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  background: rgba(10, 10, 10, 0.72);
  border: 1px solid var(--line);
  color: var(--gold-light);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  border: 1px solid var(--gold);
  transition: transform var(--dur-fast) var(--ease-out), filter var(--dur-fast);
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(0.97); }
.btn-ghost {
  color: var(--text);
  background: rgba(10, 10, 10, 0.35);
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); filter: none; }

.round-btn {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--text);
  color: #0a0a0a;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast);
}
.round-btn:hover { background: var(--gold-light); }
.round-btn:active { transform: scale(0.94); }
.round-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-light);
}
.link-arrow::after { content: ""; width: 28px; height: 1px; background: currentColor; transition: width var(--dur) var(--ease-out); }
a:hover .link-arrow::after { width: 48px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px var(--gutter);
  transition: background var(--dur), padding var(--dur), border-color var(--dur);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding-block: 12px;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(14px);
  border-color: var(--line);
}
.header-left { display: flex; align-items: center; gap: 6px; }
.header-right { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }

.icon-link {
  display: grid; place-items: center; width: 40px; height: 40px;
  color: var(--text); transition: color var(--dur-fast);
}
.icon-link:hover { color: var(--gold); }
.icon-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-link svg .fill { fill: currentColor; stroke: none; }

.brand { display: flex; flex-direction: column; align-items: center; line-height: 1; text-align: center; }
.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 50%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-sub {
  margin-top: 5px;
  font-size: 0.58rem; font-weight: 500; letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--gold);
}

.lang-switch { display: flex; border: 1px solid var(--line); }
.lang-switch button {
  min-width: 36px; min-height: 32px; padding: 0 6px;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em;
  color: var(--text-muted);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button[aria-pressed="true"] { color: #0a0a0a; background: var(--gold); }

.menu-toggle {
  display: flex; align-items: center; gap: 14px; min-height: 44px;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase;
}
.burger { display: grid; gap: 6px; width: 22px; }
.burger i { display: block; height: 1.5px; background: currentColor; transition: transform var(--dur) var(--ease-out); }
.menu-toggle[aria-expanded="true"] .burger i:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger i:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Menu overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--gutter) 40px;
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(20px);
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
}
.menu.open { opacity: 1; }
.menu[hidden] { display: none; }
.menu-list { max-width: var(--max); width: 100%; margin: 0 auto; }
.menu-list a {
  display: flex; align-items: baseline; gap: 24px;
  padding: 10px 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1.05;
  border-bottom: 1px solid var(--line);
  transform: translateY(20px); opacity: 0;
  transition: color var(--dur-fast), transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out);
}
.menu.open .menu-list a { transform: none; opacity: 1; }
.menu.open .menu-list li:nth-child(2) a { transition-delay: 40ms; }
.menu.open .menu-list li:nth-child(3) a { transition-delay: 80ms; }
.menu.open .menu-list li:nth-child(4) a { transition-delay: 120ms; }
.menu.open .menu-list li:nth-child(5) a { transition-delay: 160ms; }
.menu-list a:hover { color: var(--gold-light); }
.menu-foot { max-width: var(--max); width: 100%; margin: 40px auto 0; color: var(--text-muted); font-size: 0.85rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100dvh;
  display: grid; place-items: center;
  padding: 140px var(--gutter) 160px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(10,10,10,0.25) 0%, rgba(10,10,10,0.75) 75%),
    linear-gradient(to bottom, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.15) 35%, rgba(10,10,10,0.35) 70%, var(--bg) 100%);
}
.hero-inner { max-width: 1100px; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }

.hero-stats {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 36px;
  display: flex; justify-content: space-between; gap: 24px;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.hero-stats dt { font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-muted); }
.hero-stats dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 1.6rem; }

/* ---------- Featured slider ---------- */
.featured {
  position: relative;
  height: 100vh; height: 100dvh; min-height: 620px;
  overflow: hidden;
  background: var(--bg);
}
.slide {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 120px var(--gutter) 140px;
  text-align: center;
  isolation: isolate;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-slow) var(--ease-out), visibility 0s linear var(--dur-slow);
}
.slide.active { opacity: 1; visibility: visible; transition-delay: 0s; }
.slide img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transform: scale(1.08);
  transition: transform 6s var(--ease-out);
}
.slide.active img { transform: scale(1); }
.slide::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.55) 45%, rgba(10,10,10,0.6) 80%, var(--bg) 100%);
}
.slide-content { max-width: 780px; align-self: start; padding-top: 4vh; }
.slide h3 { font-family: var(--font-display); font-style: italic; font-size: clamp(3.25rem, 9vw, 8rem); line-height: 1; margin: 20px 0 0; }
.slide p { margin: 20px auto 32px; max-width: 30rem; color: #ddd8ce; }
.slide .place { display: block; margin-top: 10px; font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-muted); }

.slider-ui {
  position: absolute; left: 0; right: 0; bottom: 40px;
  display: flex; justify-content: center; align-items: center; gap: 28px;
}
.slider-count { min-width: 72px; text-align: center; font-size: 0.8rem; letter-spacing: 0.2em; font-variant-numeric: tabular-nums; color: var(--text-muted); }
.slider-count #slide-now { color: var(--text); }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  padding: 28px 0;
  border-block: 1px solid var(--line);
  background: var(--bg-2);
}
.marquee-track { display: flex; width: max-content; gap: 64px; animation: marquee 40s linear infinite; }
.marquee span {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: rgba(244, 241, 234, 0.5);
  white-space: nowrap;
}
.marquee span:nth-child(odd) { color: rgba(201, 161, 90, 0.75); font-style: italic; }
@keyframes marquee { to { transform: translateX(calc(-50% - 32px)); } }

/* ---------- Sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 12vw, 160px) var(--gutter); }
.section-head { margin-bottom: 48px; }
.section-head .muted { margin-top: 20px; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip {
  min-height: 44px; padding: 0 20px;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--line);
  transition: color var(--dur-fast), border-color var(--dur-fast), background var(--dur-fast);
}
.chip:hover { color: var(--text); border-color: rgba(255,255,255,0.35); }
.chip[aria-pressed="true"] { color: #0a0a0a; background: var(--gold); border-color: var(--gold); }

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 130px;
  grid-auto-flow: dense;
  gap: 12px;
}
.grid li { grid-column: span 4; grid-row: span 3; }
.grid li.wide { grid-column: span 8; }
.grid li.tall { grid-row: span 4; }
.grid li[hidden] { display: none; }
.card {
  position: relative; display: block; width: 100%; height: 100%;
  overflow: hidden; text-align: left;
  background: var(--surface);
}
.card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out), filter var(--dur);
  filter: saturate(0.9);
}
.card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0) 55%);
}
.card:hover img, .card:focus-visible img { transform: scale(1.05); filter: saturate(1.05); }
.card-meta { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; }
.card-meta strong { display: block; font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 400; line-height: 1.1; }
.card-meta span { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-muted); }
.card .tag { position: absolute; top: 16px; left: 16px; z-index: 1; }

/* ---------- Statement ---------- */
.statement, .submit {
  position: relative;
  display: grid; place-items: center;
  min-height: 90vh;
  padding: 140px var(--gutter);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.statement-bg, .submit-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.statement::before, .submit::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(10,10,10,0.55), rgba(10,10,10,0.92) 75%),
              linear-gradient(to bottom, var(--bg), transparent 20%, transparent 80%, var(--bg));
}
.statement .btn { margin-top: 40px; }
.statement-inner, .submit-inner { max-width: 980px; }

/* ---------- Events ---------- */
.event-list { border-top: 1px solid var(--line); }
.event {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: background var(--dur-fast);
}
.event:hover { background: linear-gradient(90deg, rgba(201,161,90,0.06), transparent 70%); }
.event-date { font-variant-numeric: tabular-nums; }
.event-date .day { display: block; font-family: var(--font-display); font-size: 3.25rem; line-height: 1; }
.event-date .month { font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.event h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.1; }
.event p { margin: 6px 0 0; color: var(--text-muted); font-size: 0.95rem; }
.event .type { white-space: nowrap; }

/* ---------- Community ---------- */
.hub { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; }
.hub-card { position: relative; display: block; min-height: 560px; overflow: hidden; isolation: isolate; }
.hub-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform var(--dur-slow) var(--ease-out); }
.hub-card:hover img { transform: scale(1.04); }
.hub-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10,10,10,0.95), rgba(10,10,10,0.1) 70%); }
.hub-body { position: absolute; left: 32px; right: 32px; bottom: 32px; }
.hub-body h3 { margin: 16px 0 10px; }
.hub-body p { margin: 0 0 24px; max-width: 26rem; color: #d9d4ca; }
.series { background: var(--surface); padding: 12px 32px; }
.series li { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.series li:last-child { border-bottom: 0; }
.series h3 { font-family: var(--font-display); font-size: 1.75rem; line-height: 1.1; }
.series p { margin: 4px 0 0; color: var(--text-muted); font-size: 0.95rem; }
.series .num { padding-top: 10px; }
.partner { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.partner .eyebrow { margin: 0; }
.partner a { font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 3rem); transition: color var(--dur-fast); }
.partner a:hover { color: var(--gold-light); }

/* ---------- Footer ---------- */
.site-footer {
  display: grid; justify-items: center; gap: 18px;
  padding: 80px var(--gutter) 48px;
  text-align: center;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
}
.site-footer .brand-name { font-size: 2.5rem; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin: 12px 0; }
.site-footer nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text); transition: color var(--dur-fast); }
.site-footer nav a:hover { color: var(--gold); }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 72px var(--gutter) 32px;
  border: 0;
  background: rgba(6, 6, 6, 0.96);
  color: var(--text);
}
.lightbox::backdrop { background: rgba(0,0,0,0.6); }
.lightbox[open] { display: grid; place-items: center; animation: fade var(--dur) var(--ease-out); }
.lightbox figure { margin: 0; display: grid; gap: 18px; justify-items: center; max-height: 100%; }
.lightbox img { max-height: calc(100vh - 190px); width: auto; object-fit: contain; }
.lightbox figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.lightbox figcaption strong { font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; }
.lightbox figcaption span:last-child { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-muted); }
.lb-close { position: absolute; top: 16px; right: var(--gutter); }
@keyframes fade { from { opacity: 0; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: 80ms; }
.hero .reveal:nth-child(3) { transition-delay: 160ms; }
.hero .reveal:nth-child(4) { transition-delay: 240ms; }

/* ---------- Luxembourg flag ---------- */
.lux-flag {
  display: inline-grid; grid-template-rows: repeat(3, 1fr);
  width: 30px; height: 18px; vertical-align: middle;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.lux-flag i:nth-child(1) { background: #ed2939; }
.lux-flag i:nth-child(2) { background: #ffffff; }
.lux-flag i:nth-child(3) { background: #00a1de; }
.lux-flag.sm { width: 20px; height: 12px; margin-right: 8px; }
.lux-flag.lg { width: 42px; height: 26px; }

/* ---------- Header partner button + menu-open state ---------- */
.partner-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; margin-left: 12px; padding: 0 14px;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(201, 161, 90, 0.55);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.partner-btn:hover { background: var(--gold); color: #0a0a0a; }
.partner-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }

body.menu-open .site-header { z-index: calc(var(--z-menu) + 1); background: transparent; border-color: transparent; backdrop-filter: none; }
body.menu-open .header-left, body.menu-open .lang-switch { visibility: hidden; }
body.menu-open .menu-toggle { color: var(--gold-light); }

/* ---------- Hero stats with flag ---------- */
.hero-stats > div { flex: 1; }
.stat-flag { display: flex; justify-content: center; align-items: flex-end; }
.stat-flag dd { margin: 0; }
.stat-end { text-align: right; }

/* ---------- Clickable series + partner ---------- */
.series li { padding: 0; }
.series a { display: flex; gap: 24px; width: 100%; padding: 24px 0; transition: color var(--dur-fast); }
.series a > div { flex: 1; }
.series a:hover h3 { color: var(--gold-light); }
.series-go { align-self: center; font-size: 1.25rem; color: var(--gold); transition: transform var(--dur) var(--ease-out); }
.series a:hover .series-go { transform: translateX(4px); }
.partner-name { display: inline-flex; align-items: baseline; gap: 20px; font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 3rem); transition: color var(--dur-fast); }
.partner:hover .partner-name { color: var(--gold-light); }

/* ---------- Newsletter ---------- */
.newsletter {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end;
  margin-top: 64px; padding: clamp(28px, 4vw, 48px);
  background: var(--surface);
  border: 1px solid rgba(201, 161, 90, 0.3);
}
.newsletter .muted { margin: 14px 0 0; }
.field-label { display: block; margin-bottom: 10px; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); }
.field-row { display: flex; gap: 10px; }
.field-row input {
  flex: 1; min-width: 0; min-height: 52px; padding: 0 18px;
  font: inherit; font-size: 16px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 0;
  transition: border-color var(--dur-fast);
}
.field-row input:focus { outline: none; border-color: var(--gold); }
.field-row input[aria-invalid="true"] { border-color: #ff6b6b; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; font-size: 0.88rem; color: var(--text-muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold); flex-shrink: 0; }
.form-msg { min-height: 1.6em; margin: 12px 0 0; font-size: 0.9rem; }
.form-msg[data-state="ok"] { color: #8fd19e; }
.form-msg[data-state="error"] { color: #ff8a8a; }
.btn:disabled { opacity: 0.5; cursor: progress; }

/* ---------- Sub-page hero ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center;
  min-height: 92vh; min-height: 92dvh;
  padding: 160px var(--gutter) 140px;
  text-align: center;
}
.page-hero-short { min-height: 78vh; min-height: 78dvh; }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(10,10,10,0.5), rgba(10,10,10,0.9) 75%),
              linear-gradient(to bottom, rgba(10,10,10,0.7), transparent 30%, transparent 70%, var(--bg));
}
.page-hero-inner { max-width: 1000px; }
.page-hero-flag { position: absolute; left: 50%; bottom: 40px; translate: -50% 0; }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.prose p { margin: 0 0 1.4em; font-size: 1.08rem; color: #d9d4ca; max-width: 38rem; }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-block: 1px solid var(--line); }
.numbers > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: 36px 24px; border-left: 1px solid var(--line); }
.numbers > div:first-child { border-left: 0; padding-left: 0; }
.numbers dd { margin: 0; font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5rem); line-height: 1; color: var(--gold-light); }
.numbers dt { font-size: 0.85rem; color: var(--text-muted); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pillars li { padding: 32px 28px; background: var(--surface); border-top: 1px solid var(--gold-deep); }
.pillars h3 { margin: 18px 0 10px; font-family: var(--font-display); font-size: 1.75rem; line-height: 1.1; }
.pillars p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Before / after ---------- */
.ba-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ba { margin: 0; }
.ba-stage { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); user-select: none; }
.ba-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-demo-dirt { filter: sepia(0.55) saturate(0.6) brightness(0.62) contrast(0.9) blur(0.4px); }
.ba-before-wrap::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 20% 70%, rgba(92, 70, 40, 0.55), transparent 40%),
    radial-gradient(circle at 75% 85%, rgba(80, 60, 35, 0.6), transparent 45%),
    radial-gradient(circle at 60% 30%, rgba(110, 90, 60, 0.3), transparent 35%);
  mix-blend-mode: multiply;
}
.ba-before-wrap:has(img:not(.ba-demo-dirt))::after { display: none; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; translate: -1px 0;
  background: var(--text); pointer-events: none;
}
.ba-handle span {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--text); box-shadow: 0 4px 20px rgba(0,0,0,0.45);
}
.ba-handle span::before, .ba-handle span::after {
  content: ""; position: absolute; top: 50%; width: 8px; height: 8px; border: solid #0a0a0a; border-width: 0 0 2px 2px;
}
.ba-handle span::before { left: 12px; transform: translateY(-50%) rotate(45deg); }
.ba-handle span::after { right: 12px; transform: translateY(-50%) rotate(-135deg); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ba-range:focus-visible ~ .ba-handle span, .ba-stage:has(.ba-range:focus-visible) .ba-handle span { outline: 3px solid var(--gold); outline-offset: 3px; }
.ba-label { position: absolute; top: 16px; padding: 6px 10px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; background: rgba(10,10,10,0.7); pointer-events: none; }
.ba-label-l { left: 16px; }
.ba-label-r { right: 16px; color: var(--gold-light); }
.ba figcaption { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; }
.ba figcaption strong { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
.ba figcaption span { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); }

/* ---------- Numberplates ---------- */
.plate-search { display: flex; gap: 10px; max-width: 560px; margin: 40px auto 0; }
.plate-field {
  flex: 1; display: flex; align-items: stretch; min-height: 64px;
  background: #f6c700; border: 3px solid #111; border-radius: 6px; overflow: hidden;
}
.plate-eu {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 38px; flex-shrink: 0;
  background: #003399; color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 0.9rem;
}
.plate-eu i { font-style: normal; font-size: 0.6rem; color: #ffcc00; }
.plate-field input {
  flex: 1; min-width: 0; padding: 0 16px;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif; font-weight: 700; font-size: 1.9rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: #111;
  background: transparent; border: 0;
}
.plate-field input::placeholder { color: rgba(17, 17, 17, 0.35); }
.plate-field input:focus { outline: none; }
.plate-field:focus-within { box-shadow: 0 0 0 3px var(--gold); }
.plate-search .btn { min-height: 64px; }

.plate-status { margin: 0 0 28px; color: var(--text-muted); }
.plate-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.plate-card { background: var(--surface); overflow: hidden; }
.plate-media { aspect-ratio: 4 / 3; background: #000; overflow: hidden; }
.plate-media img, .plate-media video { width: 100%; height: 100%; object-fit: cover; }
.plate-body { padding: 22px 22px 26px; }
.plate-body h3 { margin: 16px 0 4px; font-family: var(--font-display); font-size: 1.75rem; line-height: 1.1; }
.plate-body p { margin: 0 0 18px; color: var(--text-muted); font-size: 0.92rem; }
.plate { display: inline-flex; height: 34px; background: #f6c700; border: 2px solid #111; border-radius: 4px; overflow: hidden; }
.plate .plate-eu { width: 22px; font-size: 0.62rem; }
.plate .plate-eu i { font-size: 0.45rem; }
.plate-num { display: flex; align-items: center; padding: 0 12px; font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif; font-weight: 700; font-size: 1.1rem; letter-spacing: 0.08em; color: #111; }
.plate-empty { max-width: 640px; padding: 48px 0; }
.plate-empty .muted { margin: 14px 0 0; }
.plate-empty .hero-cta { justify-content: flex-start; margin-top: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid li { grid-column: span 6; }
  .grid li.wide { grid-column: span 12; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .numbers > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .newsletter { grid-template-columns: 1fr; gap: 28px; }
  .hub { grid-template-columns: 1fr; }
  .hub-card { min-height: 460px; }
}

@media (max-width: 900px) {
  .partner-btn span { display: none; }
  .partner-btn { padding: 0 12px; }
}

@media (max-width: 768px) {
  .site-header { grid-template-columns: auto 1fr auto; padding-block: 14px; }
  .header-left .icon-link { display: none; }
  .partner-btn { margin-left: 0; min-width: 44px; min-height: 44px; justify-content: center; padding: 0; }
  .site-header > .brand { align-items: center; }
  .brand-name { font-size: 1.4rem; }
  .brand-sub { font-size: 0.5rem; letter-spacing: 0.3em; }
  .header-right { gap: 10px; }
  .menu-toggle { min-width: 44px; justify-content: center; }
  .lang-switch button { min-width: 32px; }

  .hero { padding-bottom: 200px; }
  .hero-stats { bottom: 24px; }
  .hero-stats dd { font-size: 1.2rem; }

  .grid { grid-auto-rows: 110px; gap: 8px; }
  .grid li, .grid li.wide { grid-column: span 12; grid-row: span 3; }

  .event { grid-template-columns: 72px 1fr; gap: 16px 20px; }
  .event .type { grid-column: 2; justify-self: start; }
  .event-date .day { font-size: 2.5rem; }

  .series { padding: 4px 20px; }
  .hub-body { left: 20px; right: 20px; bottom: 24px; }
  .btn { width: 100%; }
  .split, .ba-list, .pillars { grid-template-columns: 1fr; }
  .field-row, .plate-search { flex-direction: column; }
  .plate-field input { font-size: 1.5rem; }
  .menu-label { display: none; }
  .hero-cta { flex-direction: column; align-items: stretch; max-width: 360px; margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee span[aria-hidden="true"] { display: none; }
}
