/* ==========================================================================
   Meraki Karting — website styles
   Brand: deep indigo night + flame gradient (red -> orange -> gold).
   Fonts are bundled (Anton for display, Barlow for text). No external CDNs.
   ========================================================================== */

/* ---------- fonts (local, OFL) ---------- */
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../assets/fonts/anton-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../assets/fonts/anton-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../assets/fonts/barlow-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../assets/fonts/barlow-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../assets/fonts/barlow-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../assets/fonts/barlow-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../assets/fonts/barlow-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../assets/fonts/barlow-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../assets/fonts/barlow-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../assets/fonts/barlow-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- tokens ---------- */
:root {
  --ink: #09071c;
  --night: #0f0b2a;
  --indigo: #1c1549;
  --indigo-2: #241b5c;
  --line: rgba(170, 160, 255, 0.16);
  --line-strong: rgba(170, 160, 255, 0.28);
  --text: #f5f3ff;
  --text-2: #d3cff0;
  --muted: #a6a2d2;
  --red: #ff124b;
  --orange: #f85f29;
  --gold: #fcb11a;
  --ok: #25c26a;
  --flame: linear-gradient(90deg, #ff124b 0%, #f85f29 50%, #fcb11a 100%);
  --flame-v: linear-gradient(180deg, #fcb11a 0%, #f85f29 50%, #ff124b 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap: cubic-bezier(0.7, 0, 0.2, 1);
  --gutter: clamp(18px, 4vw, 40px);
  --wrap: 1200px;
  --header-h: 72px;
  --font-display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Consolas, monospace;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--orange); color: var(--ink); }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only {
  position: absolute !important; 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: 10px; left: 10px; z-index: 1000;
  padding: 12px 18px; border-radius: 10px;
  background: var(--gold); color: var(--ink); font-weight: 700; text-decoration: none;
  transform: translateY(-160%); transition: transform .2s var(--ease-out);
}
.skip-link:focus { transform: none; }

/* ---------- type ---------- */
.display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.9;
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.kicker::before {
  content: ""; width: 34px; height: 3px; border-radius: 3px; background: var(--flame);
}
.h2 { font-size: clamp(2.6rem, 7.2vw, 5.6rem); }
.h3 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1; letter-spacing: 0.01em; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--text-2); max-width: 62ch; }
.flame-text {
  background: var(--flame);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.outline-text {
  color: transparent;
  -webkit-text-stroke: 2px rgba(245, 243, 255, 0.85);
}
.num { font-variant-numeric: tabular-nums; }

/* ---------- buttons (raked like a racing livery) ---------- */
.btn {
  --skew: -10deg;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 10px;
  font-weight: 700; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transform: skewX(var(--skew));
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background-color .2s, filter .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn > * { transform: skewX(calc(var(--skew) * -1)); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--flame { background: var(--flame); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(248, 95, 41, 0.65); }
.btn--flame:hover { filter: brightness(1.08); box-shadow: 0 14px 44px -8px rgba(248, 95, 41, 0.85); transform: skewX(var(--skew)) translateY(-2px); }
.btn--ghost { background: rgba(245, 243, 255, 0.06); color: var(--text); box-shadow: inset 0 0 0 2px rgba(245, 243, 255, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(245, 243, 255, 0.14); transform: skewX(var(--skew)) translateY(-2px); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.88rem; }
.btn:active { transform: skewX(var(--skew)) translateY(1px) scale(0.98); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-scrolled {
  background: rgba(9, 7, 28, 0.84);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 38px; width: auto; }
.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: clamp(14px, 2vw, 28px); }
.nav a {
  position: relative; text-decoration: none; font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2);
  padding: 10px 2px;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--flame); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.nav a:hover, .nav a[aria-current="true"] { color: var(--text); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.header-cta { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px; border: 0;
  background: rgba(245, 243, 255, 0.08); cursor: pointer;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--text); position: relative;
  transition: transform .3s var(--ease-out), background-color .2s;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -7px; }
.menu-btn span::after { top: 7px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: rgba(9, 7, 28, 0.97);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: 24px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 6px;
  overflow-y: auto;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a.mobile-link {
  font-family: var(--font-display); text-transform: uppercase; font-size: 2.4rem; line-height: 1.15;
  text-decoration: none; color: var(--text); padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn-row { margin-top: 22px; }

@media (min-width: 980px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-btn { display: none; }
  .mobile-nav { display: none !important; }
}

/* rev bar: scroll progress across the top */
.rev-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60;
  background: var(--flame); transform-origin: left; transform: scaleX(0);
  pointer-events: none;
}

/* ---------- media helpers ---------- */
.media { position: absolute; inset: 0; overflow: hidden; background: var(--night); }
.media img, .media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.media video { opacity: 0; transition: opacity .9s ease; }
.media video.is-playing { opacity: 1; }
.grain {
  position: absolute; inset: -50%; pointer-events: none; z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.09; mix-blend-mode: overlay;
  animation: grain 0.9s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 clamp(70px, 11vh, 120px);
  overflow: hidden;
}
.hero .media { z-index: -2; }
.hero .media img, .hero .media video { transform: scale(1.08); transform-origin: 50% 60%; will-change: transform; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 70% at 15% 100%, rgba(255, 18, 75, 0.28) 0%, rgba(255, 18, 75, 0) 60%),
    linear-gradient(180deg, rgba(9, 7, 28, 0.78) 0%, rgba(9, 7, 28, 0.18) 28%, rgba(9, 7, 28, 0.35) 55%, rgba(9, 7, 28, 0.92) 88%, var(--ink) 100%),
    linear-gradient(90deg, rgba(9, 7, 28, 0.72) 0%, rgba(9, 7, 28, 0) 62%);
}
.speed-lines { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.speed-lines i {
  position: absolute; left: -40%; height: 2px; width: 38%;
  background: linear-gradient(90deg, rgba(252, 177, 26, 0) 0%, rgba(252, 177, 26, 0.85) 60%, rgba(255, 255, 255, 0.95) 100%);
  border-radius: 2px; opacity: 0;
  animation: streak 2.6s linear infinite;
}
.speed-lines i:nth-child(1) { top: 22%; animation-delay: 0s; }
.speed-lines i:nth-child(2) { top: 41%; animation-delay: .7s; width: 26%; }
.speed-lines i:nth-child(3) { top: 58%; animation-delay: 1.3s; }
.speed-lines i:nth-child(4) { top: 73%; animation-delay: .35s; width: 22%; }
.speed-lines i:nth-child(5) { top: 33%; animation-delay: 1.9s; width: 30%; }
.speed-lines i:nth-child(6) { top: 86%; animation-delay: 1.05s; width: 18%; }
@keyframes streak {
  0% { transform: translateX(0); opacity: 0; }
  10% { opacity: 0.9; }
  60% { opacity: 0.55; }
  100% { transform: translateX(380%); opacity: 0; }
}

.hero__content { position: relative; width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.hero__kicker { margin-bottom: 22px; }

.lights {
  display: inline-flex; gap: clamp(8px, 1.2vw, 14px);
  padding: 12px 16px; border-radius: 14px;
  background: rgba(9, 7, 28, 0.6); box-shadow: inset 0 0 0 1px var(--line-strong);
  margin-bottom: 26px;
}
.lights span {
  width: clamp(16px, 2.2vw, 24px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3a1a2b, #1a0b16 70%);
  box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.6);
  transition: background .12s, box-shadow .12s;
}
.lights span.on {
  background: radial-gradient(circle at 35% 35%, #ffd1db 0%, #ff4d74 25%, #ff124b 55%, #8a0021 100%);
  box-shadow: 0 0 16px 2px rgba(255, 18, 75, 0.85), 0 0 46px 6px rgba(255, 18, 75, 0.45);
}

.hero h1 {
  font-size: clamp(3.6rem, 13.5vw, 11.5rem);
  line-height: 0.84;
  margin-bottom: 26px;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero h1 .line > span { display: inline-block; }
.hero__lead { font-size: clamp(1.08rem, 1.9vw, 1.35rem); color: var(--text-2); max-width: 46ch; margin-bottom: 30px; }
.hero__note { margin-top: 18px; font-size: 0.95rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hero__note span { display: inline-flex; align-items: center; gap: 8px; }
.hero__note svg { width: 18px; height: 18px; color: var(--gold); }

/* intro choreography (only when JS + motion are on) */
.js-motion .hero h1 .line > span { transform: translateY(105%) skewY(6deg); }
.js-motion .hero .hero__lead,
.js-motion .hero .btn-row,
.js-motion .hero .hero__note { opacity: 0; transform: translateY(18px); }
.js-motion .hero.is-go h1 .line > span { transform: none; transition: transform 0.9s var(--ease-out); }
.js-motion .hero.is-go h1 .line:nth-child(2) > span { transition-delay: 0.08s; }
.js-motion .hero.is-go .hero__lead { opacity: 1; transform: none; transition: opacity .8s .25s, transform .8s .25s var(--ease-out); }
.js-motion .hero.is-go .btn-row { opacity: 1; transform: none; transition: opacity .8s .38s, transform .8s .38s var(--ease-out); }
.js-motion .hero.is-go .hero__note { opacity: 1; transform: none; transition: opacity .8s .5s, transform .8s .5s var(--ease-out); }
.hero.is-flash::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 60%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 70%);
  animation: flash .5s ease-out forwards;
}
@keyframes flash { from { opacity: 1; } to { opacity: 0; } }

.hud {
  position: absolute; right: var(--gutter); bottom: clamp(70px, 11vh, 120px); z-index: 2;
  display: none;
  padding: 14px 18px; border-radius: 14px;
  background: rgba(9, 7, 28, 0.62); box-shadow: inset 0 0 0 1px var(--line-strong);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  text-decoration: none; min-width: 210px;
}
.hud.is-ready { display: block; }
.hud__label { display: flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.hud__time { font-family: var(--font-display); font-size: 2.3rem; line-height: 1.05; letter-spacing: 0.02em; }
.hud__sub { font-size: 0.85rem; color: var(--text-2); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(255, 18, 75, 0.7); animation: pulse 1.6s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 18, 75, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255, 18, 75, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 18, 75, 0); }
}
@media (max-width: 899px) { .hud { display: none !important; } }

.video-toggle {
  position: absolute; left: var(--gutter); bottom: 22px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(9, 7, 28, 0.55); color: var(--text-2); font-size: 0.85rem; font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.video-toggle svg { width: 16px; height: 16px; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; z-index: 2; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 20px; box-shadow: inset 0 0 0 2px rgba(245, 243, 255, 0.45);
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px;
  background: var(--gold); animation: cue 1.6s var(--ease-out) infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 640px) { .scroll-cue { display: none; } }

/* ---------- ticker ---------- */
.ticker {
  position: relative; overflow: hidden; border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 18, 75, 0.12), rgba(248, 95, 41, 0.08), rgba(252, 177, 26, 0.12));
  padding: 16px 0;
}
.ticker__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.ticker__group { display: flex; align-items: center; gap: 38px; padding-right: 38px; }
.ticker__item { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1; white-space: nowrap; }
.ticker__item:nth-child(odd) { color: transparent; -webkit-text-stroke: 1.5px rgba(245, 243, 255, 0.8); }
.ticker__item:nth-child(even) { background: var(--flame); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ticker__flag { width: 26px; height: 26px; flex: none; border-radius: 4px; background: conic-gradient(#fff 0 25%, #111 0 50%, #fff 0 75%, #111 0) 0 0 / 13px 13px; transform: skewX(-10deg); opacity: .85; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; isolation: isolate; overflow: hidden; padding: clamp(84px, 12vw, 160px) 0; }
.section--tight { padding-block: clamp(60px, 8vw, 110px); }
.section-head { margin-bottom: clamp(40px, 6vw, 70px); max-width: 860px; }
.section-head .h2 { margin-bottom: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }
.section-head--center .lead { margin-inline: auto; }
.bg-glow::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(60% 50% at 85% 0%, rgba(36, 27, 92, 0.85), rgba(9, 7, 28, 0) 70%),
              radial-gradient(50% 40% at 0% 100%, rgba(255, 18, 75, 0.12), rgba(9, 7, 28, 0) 70%);
}
.big-word {
  position: absolute; z-index: -1; pointer-events: none; user-select: none;
  font-family: var(--font-display); text-transform: uppercase; line-height: 0.8;
  font-size: clamp(7rem, 24vw, 22rem); color: transparent;
  -webkit-text-stroke: 1px rgba(170, 160, 255, 0.12);
  white-space: nowrap;
}

/* reveal on scroll */
.js-motion [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js-motion [data-reveal="left"] { transform: translateX(-46px); }
.js-motion [data-reveal="right"] { transform: translateX(46px); }
.js-motion [data-reveal="zoom"] { transform: scale(0.94); }
.js-motion [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- karts ---------- */
.kart-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .kart-grid { grid-template-columns: repeat(3, 1fr); } }
.kart-card {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--radius); min-height: 480px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px; background: var(--indigo);
  box-shadow: 0 0 0 1px var(--line);
  transform-style: preserve-3d;
  transition: box-shadow .4s var(--ease-out);
}
.kart-card .media { z-index: -2; }
.kart-card .media img { transition: transform 1.2s var(--ease-out); }
.kart-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(9, 7, 28, 0) 25%, rgba(9, 7, 28, 0.7) 60%, rgba(9, 7, 28, 0.96) 100%);
}
.kart-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--flame);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out);
}
.kart-card:hover::after, .kart-card:focus-within::after { transform: scaleX(1); }
.kart-card:hover .media img { transform: scale(1.07); }
.kart-card:hover { box-shadow: 0 0 0 1px var(--line-strong), 0 30px 60px -30px rgba(248, 95, 41, 0.55); }
.kart-card__tag {
  align-self: flex-start; margin-bottom: auto;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 999px; background: rgba(9, 7, 28, 0.66); box-shadow: inset 0 0 0 1px var(--line-strong);
}
.kart-card h3 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2.2rem, 3.6vw, 2.9rem); line-height: 0.95; margin-bottom: 10px; }
.kart-card p { color: var(--text-2); margin-bottom: 16px; }
.price-chip {
  display: inline-flex; align-items: baseline; gap: 8px; align-self: flex-start;
  padding: 8px 14px; border-radius: 10px; background: rgba(252, 177, 26, 0.12); box-shadow: inset 0 0 0 1px rgba(252, 177, 26, 0.35);
  font-weight: 600; font-size: 0.95rem; color: var(--text);
}
.price-chip b { font-weight: 700; color: var(--gold); }

.facts { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 30px; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 18px; border-radius: var(--radius-sm);
  background: rgba(28, 21, 73, 0.55); box-shadow: inset 0 0 0 1px var(--line);
}
.fact svg { width: 28px; height: 28px; flex: none; color: var(--orange); margin-top: 2px; }
.fact b { display: block; font-size: 1.02rem; }
.fact span { color: var(--muted); font-size: 0.95rem; }

/* ---------- grand prix band ---------- */
.gp { position: relative; isolation: isolate; overflow: hidden; padding: clamp(90px, 13vw, 170px) 0; }
.gp .media { z-index: -2; }
.gp__shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(9, 7, 28, 0.94) 0%, rgba(9, 7, 28, 0.78) 45%, rgba(9, 7, 28, 0.25) 100%),
              linear-gradient(180deg, var(--ink) 0%, rgba(9, 7, 28, 0) 18%, rgba(9, 7, 28, 0) 82%, var(--ink) 100%);
}
.gp__inner { max-width: 620px; }
.gp .h2 { margin-bottom: 18px; }
.race-strip { list-style: none; display: grid; gap: 12px; margin: 28px 0 30px; counter-reset: lap; }
.race-strip li {
  display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: 12px; background: rgba(9, 7, 28, 0.55); box-shadow: inset 0 0 0 1px var(--line);
}
.race-strip li::before {
  counter-increment: lap; content: "0" counter(lap);
  font-family: var(--font-display); font-size: 1.6rem; line-height: 1; text-align: center;
  background: var(--flame); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.race-strip b { display: block; font-size: 1.05rem; }
.race-strip span { color: var(--muted); font-size: 0.93rem; }
.gp__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 26px; }
.gp__price .amount { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; }
.gp__price .per { color: var(--text-2); font-weight: 600; }

/* ---------- live laps ---------- */
.laps-grid { display: grid; gap: clamp(30px, 5vw, 60px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .laps-grid { grid-template-columns: 0.9fr 1.1fr; } }
.stopwatch {
  position: relative; overflow: hidden; isolation: isolate;
  margin: 26px 0 20px; padding: 22px 24px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(36, 27, 92, 0.9), rgba(15, 11, 42, 0.9));
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 30px 70px -40px rgba(255, 18, 75, 0.6);
}
.stopwatch .media { left: 42%; z-index: -1; background: none; }
.stopwatch .media img { opacity: 0.5; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 65%); mask-image: linear-gradient(90deg, transparent 0%, #000 65%); }
.stopwatch__label { display: flex; align-items: center; gap: 10px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.stopwatch__time { font-family: var(--font-display); font-size: clamp(3.4rem, 9vw, 6.2rem); line-height: 1; letter-spacing: 0.02em; margin-top: 8px; }
.stopwatch__time .ms { font-size: 0.55em; color: var(--gold); }
.stopwatch__sub { color: var(--text-2); margin-top: 6px; font-size: 0.98rem; }

.board {
  border-radius: var(--radius); overflow: hidden;
  background: rgba(15, 11, 42, 0.85); box-shadow: inset 0 0 0 1px var(--line-strong);
}
.board__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.board__head .live { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.board__list { list-style: none; }
.board__row {
  display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid rgba(170, 160, 255, 0.08);
}
.board__row:last-child { border-bottom: 0; }
.board__pos { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--muted); }
.board__row:nth-child(1) .board__pos { color: var(--gold); }
.board__row:nth-child(2) .board__pos { color: #e6e3f7; }
.board__row:nth-child(3) .board__pos { color: var(--orange); }
.board__who b { display: block; font-weight: 700; letter-spacing: 0.04em; }
.board__who span { font-size: 0.85rem; color: var(--muted); }
.board__time { text-align: right; font-family: var(--font-mono); font-weight: 700; font-size: 1.12rem; font-variant-numeric: tabular-nums; }
.board__gap { display: block; font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.board__row:nth-child(1) { background: linear-gradient(90deg, rgba(252, 177, 26, 0.14), rgba(252, 177, 26, 0)); }
.board__empty { padding: 34px 22px; text-align: center; color: var(--text-2); }
.board__empty .display { font-size: 1.9rem; margin-bottom: 8px; color: var(--text); }
.board__foot { padding: 12px 20px; font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--line); }
.skel { height: 14px; border-radius: 6px; background: linear-gradient(90deg, rgba(170, 160, 255, 0.08), rgba(170, 160, 255, 0.18), rgba(170, 160, 255, 0.08)); background-size: 200% 100%; animation: skel 1.3s infinite; }
@keyframes skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.js-motion .board__row.is-new { animation: rowIn .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes rowIn { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }

/* ---------- prices ---------- */
.prices-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .prices-grid { grid-template-columns: 1.25fr 1fr; align-items: start; } }
.card {
  border-radius: var(--radius); padding: clamp(22px, 3vw, 32px);
  background: linear-gradient(165deg, rgba(36, 27, 92, 0.75), rgba(15, 11, 42, 0.9));
  box-shadow: inset 0 0 0 1px var(--line);
}
.card h3 { margin-bottom: 6px; }
.card .sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.tabs { display: inline-flex; gap: 6px; padding: 5px; border-radius: 12px; background: rgba(9, 7, 28, 0.7); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 18px; flex-wrap: wrap; }
.tab {
  min-height: 44px; padding: 0 16px; border: 0; border-radius: 9px; cursor: pointer;
  background: transparent; color: var(--text-2); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.04em;
}
.tab[aria-selected="true"] { background: var(--flame); color: var(--ink); }
.rate-table { width: 100%; border-collapse: collapse; }
.rate-table th, .rate-table td { text-align: left; padding: 14px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.rate-table thead th { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.rate-table td.amt, .rate-table th.amt { text-align: right; white-space: nowrap; }
.rate-table td.amt { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 1.05rem; }
.rate-table th small, .rate-table td small { display: block; color: var(--muted); font-size: 0.86rem; font-weight: 500; }
.rate-table tbody tr:last-child td { border-bottom: 0; }
.fine { font-size: 0.9rem; color: var(--muted); margin-top: 14px; margin-bottom: 0; }
.price-list { display: grid; gap: 14px; }
.price-item {
  display: grid; grid-template-columns: 1fr; gap: 6px;
  padding: 18px 20px; border-radius: var(--radius-sm); background: rgba(9, 7, 28, 0.5); box-shadow: inset 0 0 0 1px var(--line);
}
.price-item__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price-item h4 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.45rem; line-height: 1.05; letter-spacing: 0.01em; }
.price-item .from { font-weight: 700; color: var(--gold); white-space: nowrap; }
.price-item p { margin: 0; color: var(--text-2); font-size: 0.97rem; }
.price-item .rows { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pill { display: inline-flex; gap: 6px; align-items: baseline; padding: 6px 11px; border-radius: 999px; background: rgba(170, 160, 255, 0.1); font-size: 0.9rem; font-weight: 600; white-space: nowrap; }
.pill b { color: var(--text); }
.pill span { color: var(--muted); font-weight: 500; }

/* ---------- interlude (smoke / sparks) ---------- */
.interlude { position: relative; isolation: isolate; overflow: hidden; min-height: 78vh; display: flex; align-items: center; padding: 90px 0; }
.interlude .media { z-index: -2; }
.interlude__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ink) 0%, rgba(9, 7, 28, 0.35) 25%, rgba(9, 7, 28, 0.35) 75%, var(--ink) 100%), linear-gradient(90deg, rgba(9, 7, 28, 0.75), rgba(9, 7, 28, 0) 70%); }
.interlude__words { margin: 0; font-size: clamp(3.4rem, 12vw, 10.5rem); line-height: 0.88; }
.interlude__words span { display: block; }

/* ---------- booking backdrop ---------- */
.book { isolation: isolate; overflow: hidden; }
.book .book__bg { z-index: -2; }
.book .book__bg img { opacity: 0.32; }
.book__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ink) 0%, rgba(9, 7, 28, 0.7) 30%, rgba(9, 7, 28, 0.88) 70%, var(--ink) 100%); }
.book .card { background: linear-gradient(165deg, rgba(36, 27, 92, 0.92), rgba(15, 11, 42, 0.96)); }

/* ---------- packages ---------- */
.feature-pair { display: grid; gap: 22px; grid-template-columns: 1fr; margin-bottom: 26px; }
@media (min-width: 900px) { .feature-pair { grid-template-columns: 1fr 1fr; } }
.feature {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius);
  min-height: 440px; padding: clamp(24px, 3vw, 34px);
  display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: 0 0 0 1px var(--line);
}
.feature .media { z-index: -2; }
.feature .media img { transition: transform 1.4s var(--ease-out); }
.feature:hover .media img { transform: scale(1.05); }
.feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9, 7, 28, 0.05) 20%, rgba(9, 7, 28, 0.8) 62%, rgba(9, 7, 28, 0.97) 100%); }
.feature h3 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2.3rem, 4.2vw, 3.4rem); line-height: 0.95; margin-bottom: 10px; }
.feature p { color: var(--text-2); max-width: 46ch; margin-bottom: 18px; }

.pkg-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .pkg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .pkg-grid { grid-template-columns: repeat(3, 1fr); } }
.pkg {
  position: relative; display: flex; flex-direction: column;
  padding: 24px; border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(36, 27, 92, 0.7), rgba(15, 11, 42, 0.92));
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.pkg:hover, .js-motion .pkg.is-in:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-strong), 0 26px 50px -30px rgba(248, 95, 41, 0.55); }
.pkg--hot { box-shadow: inset 0 0 0 2px rgba(252, 177, 26, 0.6); }
.pkg__badge {
  position: absolute; top: 18px; right: 18px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; background: var(--flame); color: var(--ink);
}
.pkg h4 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.85rem; line-height: 1; margin-bottom: 12px; padding-right: 92px; }
.pkg__price { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; }
.pkg__price small { font-family: var(--font-body); font-size: 0.95rem; color: var(--text-2); font-weight: 600; margin-left: 4px; }
.pkg__min { color: var(--muted); font-size: 0.92rem; margin: 6px 0 16px; }
.ticks { list-style: none; display: grid; gap: 8px; margin-bottom: 22px; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--text-2); font-size: 0.98rem; }
.ticks svg { width: 18px; height: 18px; margin-top: 4px; color: var(--gold); }
.pkg .btn { margin-top: auto; align-self: flex-start; }
.callout {
  display: flex; gap: 16px; align-items: flex-start;
  margin-top: 26px; padding: 20px 22px; border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(255, 18, 75, 0.16), rgba(252, 177, 26, 0.1));
  box-shadow: inset 0 0 0 1px rgba(252, 177, 26, 0.35);
}
.callout svg { width: 30px; height: 30px; flex: none; color: var(--gold); }
.callout p { margin: 0; }

/* ---------- more than karts ---------- */
.more-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .more-grid { grid-template-columns: repeat(3, 1fr); } }
.more-card { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius); min-height: 520px; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: 0 0 0 1px var(--line); }
.more-card .media { z-index: -2; }
.more-card .media img { transition: transform 1.2s var(--ease-out); }
.more-card:hover .media img { transform: scale(1.06); }
.more-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9, 7, 28, 0) 30%, rgba(9, 7, 28, 0.82) 66%, rgba(9, 7, 28, 0.97) 100%); }
.more-card h3 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2.1rem, 3.4vw, 2.7rem); line-height: 0.95; margin-bottom: 10px; }
.more-card p { color: var(--text-2); margin-bottom: 14px; }
.more-card .rows { display: flex; flex-wrap: wrap; gap: 8px; }
.food-note { margin-top: 26px; text-align: center; color: var(--text-2); }

/* ---------- booking ---------- */
.book-grid { display: grid; gap: clamp(30px, 5vw, 60px); grid-template-columns: 1fr; }
@media (min-width: 1000px) { .book-grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }
.steps { list-style: none; display: grid; gap: 14px; margin: 26px 0 30px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  font-family: var(--font-display); font-size: 1.5rem; background: var(--flame); color: var(--ink);
  transform: skewX(-10deg);
}
.steps b { display: block; font-size: 1.05rem; }
.steps span { color: var(--muted); }
.contact-lines { display: grid; gap: 10px; margin-top: 20px; }
.contact-lines a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; color: var(--text); min-height: 44px; }
.contact-lines a:hover { color: var(--gold); }
.contact-lines svg { width: 22px; height: 22px; color: var(--orange); flex: none; }

.form-card { position: relative; }
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-weight: 700; font-size: 0.92rem; letter-spacing: 0.04em; }
.field label .opt { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 12px;
  background: rgba(9, 7, 28, 0.75); color: var(--text);
  border: 1px solid var(--line-strong);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23fcb11a' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(166, 162, 210, 0.75); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(252, 177, 26, 0.25); outline: none; }
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.8) sepia(1) saturate(4) hue-rotate(-10deg); cursor: pointer; }
.field .hint { font-size: 0.86rem; color: var(--muted); min-height: 1.2em; }
.field .err { font-size: 0.88rem; color: #ff8aa5; font-weight: 600; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #ff5c80; box-shadow: 0 0 0 3px rgba(255, 18, 75, 0.2); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }
.form-note { font-size: 0.88rem; color: var(--muted); margin: 14px 0 0; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-weight: 600; display: none; }
.form-status.is-ok { display: block; background: rgba(37, 194, 106, 0.14); box-shadow: inset 0 0 0 1px rgba(37, 194, 106, 0.45); }
.form-status.is-warn { display: block; background: rgba(252, 177, 26, 0.12); box-shadow: inset 0 0 0 1px rgba(252, 177, 26, 0.45); }
.form-status.is-err { display: block; background: rgba(255, 18, 75, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 18, 75, 0.45); }
.form-status a { color: var(--gold); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- visit ---------- */
.visit-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 980px) { .visit-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.map-card {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius);
  min-height: 380px; padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; justify-content: flex-end;
  background: radial-gradient(80% 70% at 75% 25%, rgba(255, 18, 75, 0.2), rgba(9, 7, 28, 0) 70%), linear-gradient(160deg, #1c1549, #0f0b2a);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.map-card svg.track { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.9; }
.map-card .addr { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1; margin-bottom: 12px; }
.map-card p { color: var(--text-2); }
.track-path { fill: none; stroke: url(#trackGrad); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.track-path--ghost { stroke: rgba(170, 160, 255, 0.14); stroke-width: 22; }
.js-motion .track-path { stroke-dasharray: 1600; stroke-dashoffset: 1600; transition: stroke-dashoffset 2.6s var(--ease-out); }
.js-motion .is-in .track-path { stroke-dashoffset: 0; }
.track-dot { fill: var(--gold); filter: drop-shadow(0 0 8px rgba(252, 177, 26, 0.9)); }

.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius-sm); background: rgba(28, 21, 73, 0.55); box-shadow: inset 0 0 0 1px var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 20px; min-height: 56px; font-weight: 700; font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--gold); transition: transform .3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--text-2); }

/* ---------- final call ---------- */
.final { position: relative; isolation: isolate; overflow: hidden; padding: clamp(110px, 16vw, 210px) 0; text-align: center; }
.final .media { z-index: -2; }
.final__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 50% 50%, rgba(9, 7, 28, 0.45), rgba(9, 7, 28, 0.9) 75%), linear-gradient(180deg, var(--ink) 0%, rgba(9, 7, 28, 0) 22%, rgba(9, 7, 28, 0) 78%, var(--ink) 100%); }
.final .h2 { font-size: clamp(3rem, 10vw, 8rem); margin-bottom: 20px; }
.final .btn-row { justify-content: center; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 120px; background: #07051a; }
.footer-grid { display: grid; gap: 34px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer img.logo { width: 200px; height: auto; margin-bottom: 16px; }
.site-footer h4 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 0.88rem; color: var(--muted); }
@media (min-width: 760px) { .site-footer { padding-bottom: 56px; } }

/* ---------- sticky mobile actions ---------- */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px; border-radius: 16px;
  background: rgba(9, 7, 28, 0.88); box-shadow: inset 0 0 0 1px var(--line-strong), 0 20px 40px -10px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transform: translateY(140%); transition: transform .45s var(--ease-out);
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}
.dock.is-on { transform: none; }
.dock .btn { min-height: 48px; padding: 0 12px; font-size: 0.85rem; }
@media (min-width: 760px) { .dock { display: none; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .speed-lines, .grain { display: none; }
  .ticker__track { animation: none; }
  .media video { display: none; }
  .hero .media img, .hero .media video { transform: none; }
}

/* ============ Meraki League banner (12 Dec 2026) ============ */
.league-banner { padding: 56px 0 8px; }
.league-banner__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  border-radius: 22px; padding: 34px 36px;
  background: radial-gradient(520px 220px at 0% 0%, rgba(255, 18, 75, 0.28), transparent 70%),
              radial-gradient(420px 200px at 100% 100%, rgba(252, 177, 26, 0.18), transparent 70%),
              rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.league-banner .h2 { margin: 6px 0 8px; }
.league-banner__lead { max-width: 560px; opacity: 0.85; }
@media (max-width: 640px) {
  .league-banner__inner { padding: 26px 22px; }
  .league-banner .btn { width: 100%; justify-content: center; }
}

/* ============ Guide pages (things to do in Kampala) ============ */
.guide-wrap { width: min(880px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.guide-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + 64px) 0 48px; }
.guide-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.32; }
.guide-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9, 7, 28, 0.5) 0%, var(--ink) 94%); }
.guide-hero h1 { font-size: clamp(2.8rem, 8vw, 5.6rem); margin: 0 0 18px; }
.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--text-2); }
.guide-meta { color: var(--muted); font-size: 0.95rem; margin: 14px 0 0; }
.guide { padding: 8px 0 88px; }
.guide h2 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.02; font-size: clamp(1.9rem, 4.4vw, 2.8rem); margin: 64px 0 18px; }
.guide p, .guide li { color: var(--text-2); }
.guide strong { color: var(--text); font-weight: 600; }
.guide a:not(.btn) { color: var(--gold); text-underline-offset: 3px; }
.answer-box { margin: 8px 0 18px; padding: 22px 24px; border-radius: 0 14px 14px 0; background: rgba(245, 243, 255, 0.05); box-shadow: inset 4px 0 0 var(--orange); }
.answer-box p { margin: 0; font-size: 1.12rem; }
.disclosure { font-size: 0.95rem; color: var(--muted) !important; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.guide-table { width: 100%; border-collapse: collapse; font-size: 0.98rem; min-width: 560px; }
.guide-table th, .guide-table td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.guide-table th { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 700; background: rgba(245, 243, 255, 0.04); }
.guide-table td { color: var(--text-2); }
.guide-table tr:last-child td { border-bottom: 0; }
.spot { margin: 18px 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(245, 243, 255, 0.03); }
.spot--ours { border-color: var(--line-strong); background: radial-gradient(520px 220px at 0% 0%, rgba(255, 18, 75, 0.18), transparent 70%), radial-gradient(420px 200px at 100% 100%, rgba(252, 177, 26, 0.12), transparent 70%), rgba(245, 243, 255, 0.05); }
.spot h3 { display: flex; align-items: baseline; gap: 12px; font-size: 1.35rem; font-weight: 700; color: var(--text); margin: 0 0 4px; }
.spot h3 .n { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1; background: var(--flame); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 1.6ch; }
.spot .where { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted) !important; margin-bottom: 12px; }
.spot .btn-row { margin-top: 6px; }
.spot > :last-child { margin-bottom: 0; }
.g-list { list-style: none; display: grid; gap: 8px; margin: 0 0 1em; }
.g-list li { position: relative; padding-left: 22px; }
.g-list li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 9px; height: 9px; border-radius: 2px; background: var(--flame); transform: rotate(45deg); }
.note { margin: 26px 0; padding: 16px 20px; border-radius: var(--radius-sm); border: 1px dashed var(--line-strong); }
.note p { margin: 0; }
.g-faq h3 { font-size: 1.15rem; font-weight: 700; color: var(--text); margin: 26px 0 6px; }
.guide-cta { margin-top: 64px; padding: 32px 30px; border-radius: 22px; text-align: left; background: radial-gradient(520px 220px at 0% 0%, rgba(255, 18, 75, 0.26), transparent 70%), radial-gradient(420px 200px at 100% 100%, rgba(252, 177, 26, 0.16), transparent 70%), rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); }
.guide-cta .h3 { margin-bottom: 10px; color: var(--text); }
@media (max-width: 640px) { .spot { padding: 18px; } .guide-cta { padding: 26px 20px; } .guide-cta .btn { width: 100%; } }
