/* ============================================
   OSPREY SPORTS — Sport-Tech Premium CSS
   Mockup Faithful Rebuild
   ============================================ */

/* --- RESET --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #000000;
  --near-black: #0A0A0A;
  --anthracite: #1A1A1A;
  --mid-grey: #2A2A2A;
  --border-grey: #333333;
  --text-grey: #A0A0A0;
  --light-grey: #8A8A8A;
  --white: #FFFFFF;
  --volt: #CEFF00;
  --volt-hover: #DFFF4D;
  --volt-dim: rgba(206, 255, 0, 0.15);

  /* --font-display: 'Barlow Condensed', 'Impact', sans-serif; */
  --font-display: 'Fredoka', 'Impact', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;

  --max-width: 1320px;
  --header-height: 72px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Page zoom is disabled site-wide: `pan-x pan-y` drops the pinch-zoom AND
     double-tap-zoom bits for every touch on the page (the effective touch-action
     is the intersection of the values from the touched element up to the
     document) while panning — i.e. scrolling — is untouched. This is the
     declarative half of the lock; the viewport meta (header.php) and the JS
     guards (script.js → "PAGE ZOOM LOCK") cover the engines that ignore it,
     iOS Safari first. The 3D studio's WebGL canvas keeps `touch-action: none`
     (OrbitControls): a pinch there is the MODEL's dolly, not a page zoom. */
  touch-action: pan-x pan-y;
}

/* …and on EVERY element, because WebKit applies `touch-action` PER ELEMENT: a
   restriction carried by `html` alone is not honoured by iOS Safari (Apple:
   "the `touch-action` CSS property support in Safari on iOS 13 will let you do
   this on a per element basis", bugs.webkit.org/186970#c3). Without this rule a
   pinch or a double-tap zoomed the whole catalogue on an iPhone, even with the
   viewport meta locked and the JS guards in place (script.js).
   `pan-x pan-y` keeps scrolling in both directions; the 3D studio's WebGL canvas
   overrides it INLINE with `touch-action: none` (OrbitControls sets it on the
   canvas element, and an inline style wins over this `*` rule) so the model
   keeps its own pinch-dolly. */
* { touch-action: pan-x pan-y; }

/* iOS Safari 'auto-zooms' into a field whose font is under 16px — and it does
   NOT zoom back out. That zoom cannot be undone programmatically on iOS (see
   script.js → "PAGE ZOOM LOCK"), and with the pinch locked it left the page
   stuck until the tab was closed. 16px on a touch device is what Safari
   considers legible, so it is the only reliable way to keep the field zoom out
   of the picture. Desktop keeps the 13.5/14px of the design. */
@media (pointer: coarse) {
  input, select, textarea { font-size: 16px; }
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  /* Declared here (not under body.light-theme) so the 500ms theme crossfade
     runs in both directions — dark → light and light → dark. */
  transition: background-color 500ms var(--ease-smooth), color 500ms var(--ease-smooth);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;

  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

h1 { font-size: clamp(40px, 8vw, 80px); font-weight: 500; }
h2 { font-size: clamp(28px, 5vw, 52px); }
h3 { font-size: clamp(20px, 3vw, 28px); }
h4 { font-size: clamp(16px, 2vw, 22px); }

p {
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.65;
  color: var(--text-grey);
}

.text-volt { color: var(--volt); }
.text-white { color: var(--white); }

.mono-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-grey);
}

/* --- LAYOUT --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) { .container { padding: 0 40px; } }
@media (min-width: 1024px) { .container { padding: 0 60px; } }

section { padding: 96px 0; position: relative; }
@media (min-width: 768px) { section { padding: 128px 0; } }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-header--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-header--center p {
  max-width: 520px;
  margin-top: 12px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 16px 36px;
  border: none;
  cursor: pointer;
  transition: all 300ms var(--ease-out);
  position: relative;
  border-radius: 5px;
}

.btn-volt {
  background: var(--volt);
  color: var(--black);
}

.btn-volt:hover {
  background: var(--volt-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(206, 255, 0, 0.3);
}

.btn-outline-volt {
  background: transparent;
  /* color: var(--volt); */
  color: var(--black);
  border: 1px solid var(--volt);
  transition: all 300ms var(--ease-out);
}

.btn-outline-volt:hover {
  background: var(--volt);
  /* color: var(--black); */
  color: white;
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--anthracite);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border: 1px solid rgba(0,0,0,0.3);
}

.btn-outline-dark:hover {
  background: var(--black);
  color: var(--white);
}

.btn--full { width: 100%; }

.link-ghost {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--volt);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: opacity 300ms;
}

.link-ghost:hover { opacity: 0.7; }
.link-ghost .arrow { transition: transform 300ms var(--ease-out); }
.link-ghost:hover .arrow { transform: translateX(4px); display: inline-block; }

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 20px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: all 400ms var(--ease-smooth);
  background: rgb(0 0 0 / 35%);
  backdrop-filter: blur(7px);

}

.header.scrolled {
  background: rgb(37 41 44 / 19%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-grey);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Header children never shrink: the logo must keep its ratio and the nav links
   keep their natural width, so initHeaderPriorityNav can measure them accurately
   (and overflow stays visible instead of squashing the items). */
.header-logo,
.header-nav,
.header-cta,
.menu-toggle { flex-shrink: 0; }

.header-logo { flex: 0 0 auto; }
.header-logo img { height: 50px; width: auto; max-width: none; }

.header-nav {
  display: none;              /* baseline / fallback sans JS (voir .has-priority-nav) */
  gap: 32px;
  align-items: center;
}

/* No-JS fallback: full nav from the original desktop breakpoint. The JS below
   refines it via .has-priority-nav (measured widths, ~936px for nav + CTA). */
@media (min-width: 1024px) { .header-nav { display: flex; } }

/* ── Priority-nav progressive (piloté par initHeaderPriorityNav) ──────────
   Le JS mesure la place disponible et retire les entrées PAR LA FIN tant que
   ça ne tient pas : le CTA part en premier, puis les derniers liens (le burger
   apparaît), et quand il ne resterait que 2 liens on retire tout.
   Spécificité supérieure au fallback ci-dessus → actif seulement quand le JS a
   posé .has-priority-nav sur .header-inner. */
.header-inner.has-priority-nav .header-nav { display: flex; }
.header-inner.has-priority-nav .header-nav > .is-nav-hidden { display: none; }

.header-nav a {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  transition: color 300ms;
  position: relative;
  white-space: nowrap;        /* pas de wrap du texte pendant la mesure */
}

.header-nav a:hover,
.header-nav a.active { color: var(--white); }

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--volt);
  transition: width 300ms var(--ease-out);
}

.header-nav a:hover::after,
.header-nav a.active::after { width: 100%; }

.header-cta { display: none; }
@media (min-width: 1024px) { .header-cta { display: flex; } }
.header-inner.has-priority-nav .header-cta { display: flex; }
.header-inner.has-priority-nav .header-cta.is-nav-hidden { display: none; }
.header-cta .btn { padding: 10px 24px; font-size: 12px; border-radius: 5px; }

/* Mobile menu toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  z-index: 1001;
}

@media (min-width: 1024px) { .menu-toggle { display: none; } }
.header-inner.has-priority-nav .menu-toggle { display: none; }
.header-inner.has-priority-nav .menu-toggle.is-nav-visible { display: flex; }

.menu-toggle span {
  display: block;
  width: 28px; height: 2px;
  background: var(--white);
  transition: all 300ms var(--ease-out);
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============================================
   MOBILE MENU — white card grid
   Deliberately THEME-INDEPENDENT: white panel, white cards, dark labels and
   cyan chevrons — the light reference look, identical on the dark (home) and
   light pages. That is why the accent below is a fixed cyan and not
   var(--volt), which is lime on dark pages.
   The panel slides under the fixed header, which script.js turns white
   (body.mm-open) so the logo + burger stay readable on top of it.
   ============================================ */

.mobile-menu {
  --mm-accent: #00CBFF;   /* chevrons, expanded tile border */
  --mm-ink: #111111;      /* icons + labels */
  --mm-line: #ECECEC;     /* card border / icon separator */
  --mm-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  --mm-radius: 14px;

  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  /* The panel fills the viewport (header included): the grid is pushed below
     the fixed header and the scroll area runs down to the bottom edge. */
  padding-top: var(--header-height);
  pointer-events: none;
}

.mobile-menu.active { pointer-events: all; }

/* Panel backdrop: white fading into a light grey at the bottom, with the Osprey
   wing watermark (very light) — the old cyan clip-path shape is gone, a fade is
   all the open/close transition needs. */
.menu-cut {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdfe 45%, #eef0f3 100%);
  opacity: 0;
  transition: opacity 320ms var(--ease-out);
}

.mobile-menu.active .menu-cut { opacity: 1; }

/* Wing watermarks — decorative, anchored to the panel (they stay put while the
   grid scrolls). The asset is black, so a very low opacity reads as the light
   grey of the reference. */
.menu-watermark {
  position: absolute;
  display: block;
  background: url('/assets/img/ospreyWing.svg') no-repeat center / contain;
  opacity: 0.055;
  pointer-events: none;
}

.menu-watermark--top {
  top: -125px;
  right: -170px;
  width: 1000px;
  height: 1007px;
  filter: blur(3px);
}

.menu-watermark--bottom {
  bottom: -26px;
  left: 8px;
  width: 300px;
  height: 200px;
}

.menu-contents {
  position: relative;
  z-index: 1;
  /* `flex: 1` + stretch (default) = the scroll container takes the whole panel:
     full width, and full height from under the fixed header to the bottom of
     the viewport. Scrolling therefore never cuts the top of the grid. */
  flex: 1;
  padding: 18px 16px 28px;
  overflow: hidden;
  overscroll-behavior: contain;
}

/* Only scrollable while open — an `auto` scrollbar would otherwise be painted
   over the page even when the overlay is closed. */
.mobile-menu.active .menu-contents { overflow-y: auto; }

/* Two columns of tiles. Full-width entries — .mm-card--wide (Contact), the
   .mm-panel of an expanded tile and the "MY OSPREY" tile injected by the
   KitDesigner launcher (MY DESIGNS / START DESIGNING) — span both. */
.menu-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  align-content: start;
  min-height: 100%;
}

/* Each direct child of .menu-list — a tile, a panel — animates as a single
   block, staggered by the `--i` index set in header.php. */
.menu-list > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
}

.mobile-menu.active .menu-list > * {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(80ms + var(--i, 0) * 45ms);
}

/* --- Intro: eyebrow / title / baseline above the tiles ------------------ */
.mm-intro {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 2px 2px 14px;
}

.mm-eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9aa3ad;
}

/* h2 in the markup, but styled with the body font: the reference title is a
   tight bold grotesque, not the rounded display face. */
.mm-title {
  font-family: var(--font-body);
  font-size: clamp(17px, 4.6vw, 21px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: #111111;
}

.mm-subtitle {
  margin-top: 2px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: #6b7280;
}

/* --- Tile: [ icon ] | label                          > ------------------- */
/* Metrics are tuned so the longest label (SPONSORSHIP) stays on ONE line in a
   two-column grid down to ~375px: measured 88px of text for a 97px label box
   at 390px, 89px at 375px (Inter 700 12px, the reference's own proportions). */
.mm-card {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-height: 60px;
  padding: 0 10px;
  background: #ffffff99;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  box-shadow: var(--mm-shadow);
  color: var(--mm-ink);
  text-align: left;
  transition: border-color 200ms var(--ease-out), background-color 200ms var(--ease-out);
  backdrop-filter: blur(3px);
}

.mm-card:hover { border-color: #d9d9d9; }

.mm-card--wide { grid-column: 1 / -1; }

.mm-icon {
  display: flex;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--mm-ink);
}

.mm-icon svg { display: block; width: 100%; height: 100%; }

/* Thin rule between the icon and the label (the vertical bar of the design). */
.mm-sep {
  flex: 0 0 1px;
  align-self: stretch;
  margin: 13px 0;
  background: var(--mm-line);
}

.mm-label {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-body);
  /* Fluid so "SPONSORSHIP" keeps to one line from ~370px up (measured: 88px of
     text for a 95px label box at 390px) without going tiny on large phones. */
  font-size: clamp(11px, 3.1vw, 12.5px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
  color: inherit;
}

.mm-chevron {
  display: flex;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  color: var(--mm-accent);
}

.mm-chevron svg { display: block; width: 100%; height: 100%; }

/* --- Submenu tile (JOIN US): collapsible --------------------------------- */
/* The tile carries both chevrons; CSS reveals the one that matches the state,
   so the direction follows .is-open without any JS markup swap. */
.mm-card--toggle .mm-chevron--up { display: none; }
.mm-card--toggle.is-open .mm-chevron--right { display: none; }
.mm-card--toggle.is-open .mm-chevron--up { display: flex; }

/* Expanded state: pale blue fill + cyan border. */
.mm-card--toggle.is-open {
  background: #EAF7FE;
  border-color: var(--mm-accent);
}

/* --- Submenu panel: the children of a tile, full width ------------------ */
/* `overflow: hidden` is required: script.js animates the height of this box
   from 0 to its scrollHeight (the drawer open/close). */
.mm-panel {
  grid-column: 1 / -1;
  background: #ffffff;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  box-shadow: var(--mm-shadow);
  overflow: hidden;
}

.mm-panel[hidden] { display: none; }

/* `color` is set here too: on a dark page the panel would otherwise inherit
   the white body colour and the labels would vanish on the white card. */
.mm-subitem {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 18px;
  color: var(--mm-ink);
}

.mm-subitem + .mm-subitem { border-top: 1px solid #F1F1F1; }

/* --- "MY OSPREY" (KitDesigner) — dark tile ------------------------------
   Injected at the very bottom of the mobile menu by the KitDesigner launcher
   (the .mm-section-sep divider + this tile). The tile ALWAYS exists: it reads
   "MY DESIGNS" (→ /catalogue/mydesigns) when this browser really has saved
   designs, "START DESIGNING" (→ /catalogue) when it has none — the section is
   never empty.
   The dark base colours (.mm-card--dark) and the label/icon/chevron boxes
   (.mm-icon / .mm-sep / .mm-label / .mm-chevron) come from styles.css; the
   tile's own glass / rainbow styling lives in assets/css/kitdesigner-client.css
   (.kd-menu-my-designs), with the rest of the KitDesigner UI. */
.mm-card--dark {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.mm-card--dark:hover { border-color: #111111; }
.mm-card--dark .mm-icon { color: #ffffff; }
.mm-card--dark .mm-sep { background: rgba(255, 255, 255, 0.22); }
.mm-card--dark .mm-chevron { color: #ffffff; }

/* --- Current page: cyan border + halo + pale blue fill ------------------- */
.mm-card.active,
.mm-subitem.active {
  border-color: var(--mm-accent);
  background: linear-gradient(180deg, #f5fcfe6e 0%, #e7f6fe75 100%);
  box-shadow: 0 0 0 1px rgba(0, 203, 255, 0.30),
              0 0 22px rgba(0, 203, 255, 0.30),
              0 4px 14px rgba(0, 203, 255, 0.12);
}

.mm-card.active .mm-label,
.mm-subitem.active .mm-label { color: var(--mm-accent); }

/* --- Section divider ("MY OSPREY") -------------------------------------- */
.mm-section-sep {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 0;
}

.mm-section-sep::before,
.mm-section-sep::after {
  content: '';
  flex: 1 1 auto;
  height: 1px;
  background: #e3e6ea;
}

.mm-section-sep span {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9aa3ad;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu .menu-list > * { transition-delay: 0ms !important; }
}

/* ============================================
   MEGA MENU — Custom Gear Dropdown
   ============================================ */

/* --- Trigger active state --- */
.mega-trigger {
  cursor: pointer;
  user-select: none;
  transition: background 250ms var(--ease-out), color 250ms var(--ease-out);
  /*
  border-radius: 4px;
  padding: 6px 12px;
  margin: -6px -12px; /* absorb padding so layout doesn't shift */
  position: relative;
  z-index: 1;
}

.mega-trigger.mega-open {
  /* background: var(--volt); */
  color: black !important;
}

.mega-trigger.mega-open::after {
  width: 0 !important; /* hide the hover underline when active */
}

/* Light-theme override for trigger */
body:is(.light, .light-theme) .mega-trigger.mega-open {
  /* background: var(--volt); */
  color: #ffffff !important;
}
.mega-trigger.mega-open::before {
  content: ' ';
  position: absolute;
  left: -10px; top: -10px;
  right: -10px; bottom: -10px;
  background: var(--volt);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  z-index: -1;
}

/* --- Panel --- */
.mega-menu {
  position: fixed;
  top: calc(var(--header-height) - 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  width: 708px;
  max-width: 98vw;
  z-index: 10000;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.18);
  border-top: 5px solid var(--volt);
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out);
}

.mega-menu.active {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

/* --- Inner layout: 2 columns --- */
.mega-menu-inner {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-radius: 10px;
}

/* --- Left column: sports list --- */
.mega-col-left {
  flex-shrink: 0;
  width: max-content;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  background: #ffffff;
}

.mega-sport-item {
  display: flex;
  align-items: center;
  padding: 5px 20px;
  font-size: 14px;
  font-weight: normal;
  text-align: center;
  color: #1a1a1a;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 180ms var(--ease-out);
  position: relative;
  justify-content: center;
}

.mega-sport-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--volt);
  opacity: 0;
  transition: opacity 180ms var(--ease-out);
  pointer-events: none;
}

.mega-sport-item:hover,
.mega-sport-item.mega-active {
  color: #000000;
  font-weight: 500;
}

.mega-sport-item:hover::before,
.mega-sport-item.mega-active::before {
  opacity: 0.8;
}

body:is(.light, .light-theme) .mega-sport-item:hover,
body:is(.light, .light-theme) .mega-sport-item.mega-active {
  color: #ffffff;
}

.mega-sport-title {
  position: relative;
  z-index: 1;
}

/* --- Right column: image area --- */
.mega-col-right {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
  border-radius: 0 0 12px 0;
}

.mega-img-track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.mega-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Current image — visible by default */
.mega-img-current {
  z-index: 1;
  transform: translateY(0);
}

/* Dynamic transition layers appended by JS */
.mega-img-layer {
  pointer-events: none;
  will-change: transform;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mega-img-layer.enter-from-bottom {
  transform: translateY(100%) scale(0.8);
}

.mega-img-layer.enter-from-top {
  transform: translateY(-100%) scale(0.8);
}

.mega-img-layer.in-place {
  transform: translateY(0) scale(1);
}

.mega-img-track.is-animating .mega-img-current {
  pointer-events: none;
}

/* --- Responsive --- */
@media (max-width: 767px) {
  .mega-menu {
    top: var(--header-height);
    width: 100vw;
    max-width: 100vw;
    border-radius: 0 0 12px 12px;
    left: 0;
    transform: translateY(-12px);
  }

  .mega-menu.active {
    transform: translateY(0);
  }

  .mega-menu-inner {
    flex-direction: column;
  }

  .mega-col-left {
    width: 100%;
    min-width: 0;
    flex-shrink: 1;
    padding: 0;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
  }

  .mega-sport-item {
    flex: 1 1 auto;
    justify-content: center;
    padding: 12px 14px;
    font-size: 13px;
    border-left: none;
    border-bottom: 2px solid transparent;
  }

  .mega-sport-item:hover,
  .mega-sport-item.mega-active {
    border-left-color: transparent;
    border-bottom-color: var(--volt);
  }

  .mega-col-right {
    display: none;
  }
}

/* ============================================
   JOIN DROPDOWN — "Join Us" hover submenu
   White panel (like .mega-menu) → readable on the dark header
   AND on the light header (body.light / body.light-theme).
   Accent uses var(--volt) so it flips lime → cyan automatically.
   Show/hide is pure CSS (:hover / :focus-within on the wrapper),
   so leaving the trigger OR the menu closes it natively.
   ============================================ */

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  transition: color 300ms;
  position: relative;
  padding: 0;
  white-space: nowrap;
}

.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.active,
.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown:focus-within .nav-dropdown-trigger,
.nav-dropdown.is-open .nav-dropdown-trigger { color: var(--white); }

.nav-dropdown-trigger::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--volt);
  transition: width 300ms var(--ease-out);
}

.nav-dropdown-trigger.active::after,
.nav-dropdown:hover .nav-dropdown-trigger::after,
.nav-dropdown:focus-within .nav-dropdown-trigger::after,
.nav-dropdown.is-open .nav-dropdown-trigger::after { width: 100%; }

body:is(.light, .light-theme) .nav-dropdown-trigger { color: rgba(0, 0, 0, 0.55); }

body:is(.light, .light-theme) .nav-dropdown-trigger:hover,
body:is(.light, .light-theme) .nav-dropdown-trigger.active,
body:is(.light, .light-theme) .nav-dropdown:hover .nav-dropdown-trigger,
body:is(.light, .light-theme) .nav-dropdown:focus-within .nav-dropdown-trigger,
body:is(.light, .light-theme) .nav-dropdown.is-open .nav-dropdown-trigger { color: #0a0a0a; }

.nav-caret {
  font-size: 14px;
  line-height: 1;
  transition: transform 250ms var(--ease-out);
}

.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret,
.nav-dropdown.is-open .nav-caret { transform: rotate(180deg); }

/* --- Panel (constant white, both themes) --- */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 250px;
  padding: 8px 0;
  background: #ffffff;
  border-radius: 12px;
  border-top: 5px solid var(--volt);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.18);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out), visibility 250ms;
}

/* Invisible hover bridge — keeps the menu open while the
   cursor travels from the trigger down into the panel. */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -18px; left: 0; right: 0;
  height: 18px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

/* --- Items: dark text on the white panel (both themes) --- */
.header-nav .nav-dropdown-menu a {
  display: flex;
  align-items: center;
  padding: 10px 22px;
  font-size: 12px;
  color: #1a1a1a;
  white-space: nowrap;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out);
}

.header-nav .nav-dropdown-menu a::after { display: none; }

.header-nav .nav-dropdown-menu a:hover,
.header-nav .nav-dropdown-menu a.active {
  color: #000000;
  background: var(--volt);
}

body:is(.light, .light-theme) .header-nav .nav-dropdown-menu a { color: #1a1a1a; }

body:is(.light, .light-theme) .header-nav .nav-dropdown-menu a:hover,
body:is(.light, .light-theme) .header-nav .nav-dropdown-menu a.active {
  color: #ffffff;
  background: var(--volt);
}

.nav-dropdown-menu a:focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: -2px;
}

@media (prefers-reduced-motion: reduce) {
  .nav-dropdown-menu,
  .nav-caret { transition: none; }
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  overflow: clip;
  background: var(--black);
  padding: 0;
  height: 260vh;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.hero-split-row {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100vw;
  height: 100%;
  margin: 0 auto;
  gap: 0;
  padding: 0;
}

.hero-side {
  position: relative;
  width: 0;
  opacity: 0;
  overflow: hidden;
  flex-shrink: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  will-change: width, transform, opacity;
}

.hero-side--left {
  transform: translateX(-100%);
}

.hero-side--right {
  transform: translateX(100%);
}

.hero-side-img-wrap {
  position: relative;
  width: 100%;
  height: 50%;
  overflow: hidden;
}

.hero-side-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.1);
}

.hero-center {
  position: relative;
  width: 100vw;
  height: 100%;
  margin-top: 0;
  flex: 0 0 auto;
  align-self: flex-start;
  overflow: hidden;
  will-change: width, height, margin-top, border-radius;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img,
.hero-bg video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* filter: saturate(0.65) contrast(1.12); */
  aspect-ratio: 4 / 3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(115deg,
      rgba(0,0,0,0.92) 0%,
      rgba(0,0,0,0.75) 35%,
      rgba(0,0,0,0.3) 65%,
      rgba(0,0,0,0.15) 100%
    );
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: min(90vw, 800px);
  text-align: center;
  pointer-events: none;
}

.hero-title {
  line-height: 1.03;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.22em;
}

.hero-title br {
  flex-basis: 100%;
  height: 0;
  overflow: hidden;
}

.hero-word,
.hero-subword {
  font-family: 'Barlow', 'Impact', sans-serif;
  display: inline-block;
  transition: opacity 120ms linear, filter 120ms linear;
}

.outlineWhite {
  color: transparent;
  -webkit-text-stroke: 2px white;
}

.hero-subtitle {
  font-size: clamp(14px, 3vw, 28px);
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  line-height: 1.5;
}

.hero-subword {
  margin-right: 0.25em;
}

.hero-cta {
  pointer-events: all;
}

/* Scattered technical metadata */
.hero-meta {
  position: absolute;
  z-index: 5;
  display: none;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .hero-meta { display: flex; }
}

.hero-meta--left {
  left: 26px;
  bottom: 84px;
}

.hero-meta--right {
  right: 26px;
  top: 98px;
  align-items: flex-end;
}

.hero-meta .mono-tag {
  font-size: 9px;
  color: rgba(255,255,255,0.35);
}

.hero-stars {
  display: flex;
  gap: 4px;
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: pulse 2.5s ease infinite;
}

.hero-scroll svg { width: 18px; height: 18px; }

@media (max-width: 1023px) {
  .hero {
    height: 190vh;
  }

  .hero-content {
    width: min(92vw, 700px);
  }

  .hero-subtitle,
  .underhero-sub-words {
    font-size: clamp(14px, 4vw, 24px);
  }
}

@media (max-width: 767px) {
  .hero {
    height: 160vh;
  }

  /* ≤767px the centre video no longer shrinks into a letterbox: it keeps its
     full-screen size (taken out of the flex flow) and simply fades out, while
     the two side columns grow to half the viewport each so the four photos end
     up as a 2x2 grid. `z-index: auto` (the default) is kept on purpose: it
     avoids creating a stacking context, so the hero copy (z-index 4/5) still
     paints above the columns. */
  .hero-center {
    position: absolute;
    inset: 0;
    z-index: auto;
  }

  /* Keep the photos above the video and its overlay, but below the copy. */
  .hero-side {
    z-index: 3;
  }

  .hero-content {
    width: min(94vw, 560px);
  }

  .hero-title {
    gap: 0.17em;
  }

  .outlineWhite {
    -webkit-text-stroke: 1.5px white;
  }
}

.underhero-sub-words {
    text-align: center;
    font-size: clamp(14px, 3vw, 28px);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    margin-top: -15%;
    margin-bottom: 20%;
    /* Above the hero it rides on (its inner layers go up to z-index 5), but
       below the header (1000), the mobile menu (999) and the mega menu (10000). */
    z-index: 10;
    position: relative;
}

/* Declared after the base rule on purpose: same specificity, so it must come
   later to win the cascade. Below 768px the caption no longer rides up over the
   hero — it stays below the 2x2 grid of side photos. */
@media (max-width: 767px) {
  .underhero-sub-words {
    margin-top: 0;
  }
}

/* ============================================
   SPORTS GRID (Mosaic)
   ============================================ */
/*
.sports-section {
  overflow: hidden;
  background-image: url(../img/grid_top_right_alpha25.png);
  background-position: top right;
  background-repeat: no-repeat;
}
*/

/*
.sports-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  
  background: var(--black);
  background-image: url(../img/grid_top_right_alpha25_180.png);
  background-position: bottom left;
  background-repeat: no-repeat;
}
*/

.dotted-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.sports-mosaic {
  display: grid;
  grid-template-columns: 1fr;
  --mosaic-gap: 8px;
  gap: var(--mosaic-gap);
}

@media (min-width: 768px) {
  .sports-mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto auto;
  }
}

.mosaic-card {
  position: relative;
  overflow: hidden;
  display: block;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.mosaic-card--tall {
  aspect-ratio: 4/3;
}

@media (min-width: 768px) {
  .mosaic-card--tall {
    grid-column: 1;
    grid-row: 1 / span 2;
    aspect-ratio: auto;
    height: 100%;
  }

  .mosaic-card--top-mid {
    grid-column: 2;
    grid-row: 1;
  }

  .mosaic-card--top-right {
    grid-column: 3;
    grid-row: 1;
  }

  .mosaic-card--mid-mid {
    grid-column: 2;
    grid-row: 2;
  }

  .mosaic-card--mid-right {
    grid-column: 3;
    grid-row: 2;
  }
}

.mosaic-card--bottom-left img {
  object-position: center bottom;
}

@media (min-width: 768px) {
  .mosaic-card--bottom-left {
    grid-column: 1;
    grid-row: 3;
  }

  .mosaic-card--bottom-mid {
    grid-column: 2;
    grid-row: 3;
  }

  .mosaic-card--bottom-right {
    grid-column: 3;
    grid-row: 3;
  }
}

.mosaic-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.5) contrast(1.15);
  transition: transform 600ms var(--ease-out), filter 600ms;
}

.mosaic-card:hover img {
  transform: scale(1.06);
  filter: saturate(0.7) contrast(1.2);
}

.mosaic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.mosaic-card h3 {
  font-size: clamp(16px, 2.5vw, 24px);
}

.mosaic-card--accent {
  background: var(--anthracite);
  display: flex;
  align-items: center;
  justify-content: center;
}

.accent-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Technical labels */
.tech-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(206,255,0,0.7);
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}

.tech-label--line::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -30px;
  width: 24px;
  height: 1px;
  background: var(--volt);
  opacity: 0.5;
}

.tech-label--floating {
  position: absolute;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(206,255,0,0.2);
}

/* ============================================
   SPORTS GRID — Menu group of 4 cards (home #sports)
   1 column on mobile, 2 columns from 640px. Dark default,
   light-theme flip at the end of the block.
   ============================================ */

.sports-menu {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .sports-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .sports-menu { gap: 20px; }
}

.sports-menu-card {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  background: var(--anthracite);
  transition: transform 400ms var(--ease-out), box-shadow 300ms var(--ease-out);
}

.sports-menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
}

.sports-menu-card:focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: 3px;
}

.sports-menu-media {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 0;
}

.sports-menu-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.55) contrast(1.12);
  transform: translateZ(0) scale(1.0001);
  backface-visibility: hidden;
  transition: transform 600ms var(--ease-out), filter 600ms var(--ease-out);
}

.sports-menu-card:hover .sports-menu-media img {
  transform: translateZ(0) scale(1.06);
  filter: saturate(0.8) contrast(1.18);
}

.sports-menu-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(to top,
    rgba(0, 0, 0, 0.86) 0%,
    rgba(0, 0, 0, 0.5) 40%,
    rgba(0, 0, 0, 0.08) 72%,
    transparent 100%);
}

@media (min-width: 768px) {
  .sports-menu-overlay { padding: 28px; }
}

.sports-menu-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sports-menu-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.02;
  font-size: clamp(24px, 3.4vw, 38px);
  color: var(--white);
}

.sports-menu-desc {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  max-width: 36ch;
}

.sports-menu-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--volt);
}

.sports-menu-cta .arrow { transition: transform 300ms var(--ease-out); }

.sports-menu-card:hover .sports-menu-cta .arrow { transform: translateX(4px); }

/* --- Light-theme flip: keep the photo cards, swap the shadow for a hairline --- */
body.light-theme .sports-menu-card { box-shadow: 0 0 0 1px #e2e6ea; }

body.light-theme .sports-menu-card:hover {
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .sports-menu-card,
  .sports-menu-card:hover { transform: none; }

  .sports-menu-media img,
  .sports-menu-card:hover .sports-menu-media img {
    transform: none;
    transition: none;
  }

  .sports-menu-cta .arrow,
  .sports-menu-card:hover .sports-menu-cta .arrow { transition: none; }
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.how-section {
  background: var(--anthracite);
}

.steps-row {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .steps-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }
}

.step-card {
  flex: 1;
  text-align: center;
  max-width: 320px;
  position: relative;
}

.step-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  /* border: 1px solid var(--border-grey); */
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--volt);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 8px;
}

.step-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 14px;
  line-height: 1.6;
}

.step-connector {
  display: none;
  align-items: center;
  padding-top: 40px;
}

@media (min-width: 768px) {
  .step-connector { display: flex; }
}

/* ============================================
   SHOWCASE — Zoom Parallax
   ============================================ */

.showcase-section {
  background: var(--black);
  overflow: visible;
  /* Subtle fabric texture via gradient */
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(255,255,255,0.008) 2px,
      rgba(255,255,255,0.008) 4px
    );
}

/* The scroll driver — 300vh gives 2 full viewports of scroll beyond the sticky area */
.zoom-parallax {
  position: relative;
  height: 300vh;
}

/* Sticky wrapper — freezes at top of viewport, hides overflow so zooming images stay contained */
.zp-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  /*
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  */
}

/* Each item is a full-screen flex container, absolutely positioned.
   All items overlap; their scale animation creates depth. */
.zp-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* will-change: transform; */
  /* Default scale=1, updated by JS on scroll */
}

/* Inner image wrapper — default size: 25vh × 25vw, relative for positioning overrides */
.zp-img-wrap {
  position: relative;
  height: 25vh;
  width: 25vw;
  overflow: hidden;
}

.zp-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* filter: saturate(0.5) contrast(1.15); */
}

/* ---- Image 0 (centre, data-scale=4) — high-quality rasterization fix ----
   The wrapper is sized at its FINAL zoomed size (100vw × 100vh = 4× the original 25vw × 25vh).
   A counter-transform scale(0.25) makes it appear small initially.
   Net visual at progress=0 : scale(1) × scale(0.25) × 100vw = 25vw  ← same as before ✓
   Net visual at progress=1 : scale(4) × scale(0.25) × 100vw = 100vw ← full screen ✓
   Because the wrapper is always sized at 100vw × 100vh the GPU compositor
   rasterises the image at full viewport resolution. Scaling UP a full-res
   raster is crisp; there is no pixelisation. */
.zp-item--0 .zp-img-wrap {
  width: 100vw;
  height: 100vh;
  transform: scale(0.25);
  transform-origin: center center;
}

/* ---- Position overrides per image ---- */
/* Image 1 : top-left, larger */
.zp-item--1 .zp-img-wrap {
  top: -30vh;
  left: 5vw;
  height: 30vh;
  width: 35vw;
}

/* Image 2 : far-left, tall */
.zp-item--2 .zp-img-wrap {
  top: -10vh;
  left: -25vw;
  height: 45vh;
  width: 20vw;
}

/* Image 3 : right-centre */
.zp-item--3 .zp-img-wrap {
  /* top stays 0 (default) */
  left: 27.5vw;
  height: 25vh;
  width: 25vw;
}

/* Image 4 : bottom-left */
.zp-item--4 .zp-img-wrap {
  top: 27.5vh;
  left: 5vw;
  height: 25vh;
  width: 20vw;
}

/* Image 5 : far-left bottom, wide */
.zp-item--5 .zp-img-wrap {
  top: 27.5vh;
  left: -22.5vw;
  height: 25vh;
  width: 30vw;
}

/* Image 6 : bottom-right, small accent */
.zp-item--6 .zp-img-wrap {
  top: 22.5vh;
  left: 25vw;
  height: 15vh;
  width: 15vw;
}

/* ---- Mobile adjustments ---- */
@media (max-width: 767px) {
  /* Hide desktop zoom parallax on mobile */
  #zoomParallax {
    display: none;
  }

  /* ===== Mobile Zoom Parallax ===== */
  .zoom-parallax-mobile {
    position: relative;
    height: 200vh;
  }

  .zp-mobile-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .zp-mobile-item {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Initial scale 0.3 — JS will animate to 1 */
    transform: scale(0.3);
  }

  .zp-mobile-img-wrap {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
  }

  .zp-mobile-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

#zoomParallaxMobile {
  padding: 0;
  margin: 96px 0;
}

/* ---- Desktop: hide mobile zoom parallax ---- */
@media (min-width: 768px) {
  #zoomParallaxMobile {
    display: none;
  }
}

/* ---- Respect reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .zp-item,
  .zp-mobile-item {
    transform: none !important;
  }
}

/* ---- Shared dot indicators (also used by testimonials) ---- */
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mid-grey);
  border: none;
  cursor: pointer;
  transition: background 300ms;
}

.dot.active {
  background: var(--volt);
}

/* ============================================
   CLUB SHOPS
   ============================================ */

.clubshops-section {
  background: var(--anthracite);
}

.clubshops-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .clubshops-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.laptop-frame {
  position: relative;
  background: var(--black);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.laptop-frame img {
  width: 100%;
  border-radius: 4px;
}

.clubshops-content h2 {
  margin-bottom: 20px;
}

.clubshops-content > p {
  margin-bottom: 24px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}

.check-list li svg { flex-shrink: 0; }

/* ============================================
   PACKAGES (Pricing)
   ============================================ */

.packages-section {
  background: var(--black);
}

.packages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) { .packages-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .packages-grid { grid-template-columns: repeat(4, 1fr); } }

.package-card {
  background: var(--anthracite);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 400ms var(--ease-out), background-color 500ms var(--ease-smooth);
}

.package-card:hover {
  transform: translateY(-4px);
}

.package-top-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--volt);
}

.package-card h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.package-sub {
  margin-bottom: 20px;
}

.package-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0 20px;
}

.package-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.package-features li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-grey);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Performance bars */
.bar {
  display: flex;
  gap: 3px;
  height: 6px;
}

.bar::before,
.bar::after {
  content: '';
  width: 12px;
  height: 6px;
  background: var(--border-grey);
}

.bar::before { background: var(--volt); }

.bar--1::before { width: 12px; }
.bar--1::after { width: 48px; }

.bar--2 { --fill: 2; }
.bar--3 { --fill: 3; }
.bar--4 { --fill: 4; }
.bar--5 { --fill: 5; }

/* We'll use a simpler approach with background gradients */
.bar {
  width: 60px;
  height: 6px;
  background: var(--border-grey);
  position: relative;
}

.bar::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  background: var(--volt);
}

.bar::after { display: none; }

.bar--1::before { width: 20%; }
.bar--2::before { width: 40%; }
.bar--3::before { width: 60%; }
.bar--4::before { width: 80%; }
.bar--5::before { width: 100%; }

.package-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
}

.package-price strong {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--volt);
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials-section {
  text-align: center;
  /*
  background: var(--anthracite);
  position: relative;
  overflow: hidden;
  background-image: url(../img/bg_banner.jpg);
  background-size: cover;
  */
}
/*
.testimonials-section:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}
*/

.fabric-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 1px,
      rgba(255,255,255,0.15) 1px,
      rgba(255,255,255,0.15) 2px
    );
  background-size: 6px 6px;
}

.testimonials-section h2 {
  margin-bottom: 48px;
  position: relative;
}

/* --- Slider + the oversized decorative quote marks --- */
.testimonial-slider {
  position: relative;
  max-width: 640px;
  margin: 0;
  /* Gutters the two quote marks sit in (the marks are offset by these). */
  --tq-gutter-left: clamp(46px, 6vw, 78px);
  --tq-gutter-right: clamp(28px, 3.6vw, 52px);
  padding-left: var(--tq-gutter-left);
  padding-right: var(--tq-gutter-right);
}

/* Big quotation marks (Fredoka), tinted with the theme accent. They live
   inside the blockquote so they follow the quote text itself: the opening
   mark sits next to the first line, the closing mark at the end of the last. */
.testimonial-quote-mark {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(58px, 7vw, 104px);
  font-weight: 700;
  line-height: 0.7;
  color: var(--volt);
  opacity: 0.32;
  pointer-events: none;
  user-select: none;
}

.testimonial-quote-mark--open { top: 0; left: calc(-1 * var(--tq-gutter-left)); }

.testimonial-quote-mark--close { right: calc(-1 * var(--tq-gutter-right)); bottom: 0; }

.testimonial {
  display: none;
}

.testimonial.active {
  display: block;
  animation: fadeIn 500ms var(--ease-out);
}

/* Positioning context for the two decorative quote marks above. */
.testimonial blockquote {
  position: relative;
}

.testimonial blockquote p {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 30px;
}

/* Stars inherit currentColor so they follow --volt (lime dark / cyan light). */
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  color: var(--volt);
}

.testimonial-stars svg {
  width: 14px;
  height: 14px;
  display: block;
}

.testimonial cite {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-author {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

.testimonial-role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-grey);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* --- Hairline + prev / dots / next controls --- */
.testimonial-sep {
  display: block;
  width: 56px;
  height: 1px;
  margin: 26px 0 22px;
  background: var(--border-grey);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  gap: 18px;
}

.testimonial-arrow {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-grey);
  border-radius: 50%;
  color: var(--white);
  transition: color 300ms var(--ease-out),
              border-color 300ms var(--ease-out);
}

.testimonial-arrow svg {
  width: 16px;
  height: 16px;
  display: block;
}

.testimonial-arrow:hover {
  color: var(--volt);
  border-color: var(--volt);
}

.testimonial-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --- Two columns: testimonial slider (left) + partner clubs logos (right) --- */
.testimonials-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }
}

/* Every line of copy is flush left — only the club names under the logos
   stay centred (see .clubs-logo-name). */
.testimonials-col,
.clubs-logos-panel {
  text-align: left;
}

.testimonials-eyebrow,
.clubs-logos-eyebrow {
  letter-spacing: 0.3em;
  margin-bottom: 16px;
}

/* --- Partner club logo wall --- */
.clubs-logos-panel {
  position: relative;
}

.clubs-logos-lead {
  max-width: 34ch;
  margin-bottom: 28px;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.35;
  color: var(--white);
}

.clubs-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (min-width: 640px) {
  .clubs-logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* White cards in both themes: the club logos carry their own (often dark)
   colours and were drawn for light backgrounds. The edge is a hairline
   instead of a real border, the depth comes from the shadow.
   Vertical layout: the logo takes every pixel left above the caption and is
   centred in it, the caption is pinned to the bottom of the card. */
.clubs-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 10px 14px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 300ms var(--ease-out),
              box-shadow 300ms var(--ease-out);
}

/* flex: 1 → absorbs all the room left above the caption (rows stretch every
   card to the tallest one), and centres the logo inside that room. */
.clubs-logo-img {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
}

/* max-height keeps every logo at the same visual size, whatever room the
   card gives the area above the caption. */
.clubs-logo-img img {
  width: 100%;
  height: 100%;
  max-height: 64px;
  object-fit: contain;
}

/* Caption: flush with the bottom of the card (align-items: flex-end), with
   3 lines reserved (min-height) so a whole row keeps the same rhythm
   whatever the length of the club name. */
.clubs-logo-name {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  min-height: 3.9em;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: #5b5b5b;
}

.clubs-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

/* 2 columns on small screens: the cards are wider, so the names rarely need
   more than 2 lines — reserving 3 would leave a hole above the caption. */
@media (max-width: 639px) {
  .clubs-logo-name { min-height: 2.6em; }
}

@media (prefers-reduced-motion: reduce) {
  .clubs-logo,
  .clubs-logo:hover { transform: none; }
}

/* ============================================
   CTA BANNER
   ============================================ */

.cta-banner {
  position: relative;
  padding: 96px 0;
  text-align: center;
  overflow: hidden;
}

.cta-shape .container {
  /*
  position: absolute;
  */
  inset: 0;
  background: var(--volt);
  /*
  clip-path: polygon(5% 0%, 95% 0%, 100% 100%, 0% 100%);
  */

  padding-top: 80px;
  padding-bottom: 80px;

  clip-path: polygon(
    50px 0%,           /* Haut-Gauche : commence à 30px du bord */
    100% 0%,           /* Haut-Droite : angle droit */
    100% calc(100% - 50px), /* Bas-Droite : remonte de 40px avant le bord */
    calc(100% - 50px) 100%, /* Bas-Droite : décale vers la gauche de 40px */
    0% 100%,           /* Bas-Gauche : angle droit */
    0% 50px            /* Haut-Gauche : descend de 30px avant le bord */
  );

}

@media (min-width: 768px) {
  .cta-shape .container {
    clip-path: polygon(
      80px 0%,           /* Haut-Gauche : commence à 30px du bord */
      100% 0%,           /* Haut-Droite : angle droit */
      100% calc(100% - 80px), /* Bas-Droite : remonte de 40px avant le bord */
      calc(100% - 80px) 100%, /* Bas-Droite : décale vers la gauche de 40px */
      0% 100%,           /* Bas-Gauche : angle droit */
      0% 80px            /* Haut-Gauche : descend de 30px avant le bord */
    );
  }
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--black);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(0,0,0,0.6);
  max-width: 500px;
  margin: 0 auto 32px;
}

.btn-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--black);
  border-top: 1px solid var(--border-grey);
  padding: 80px 0 48px;
  position: relative;
}
img.footer-back-logo {
  position: absolute;
  user-select: none;
  pointer-events: none;
  z-index: 0;
  opacity: 0.05;
  top: 50%;
  transform: translateY(-50%);
  filter: blur(10px);
}
body:is(.light, .light-theme) img.footer-back-logo {
  filter: blur(6px) drop-shadow(2px 4px 30px #00000060);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 64px;
}

/* Desktop ≥1024px — 4 colonnes comme la maquette :
   marque | RANGE | HELP | NEWSLETTER */
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.15fr 0.65fr 0.85fr 1.6fr;
    gap: 48px;
    align-items: start;
  }
}

/* Tablette — 1ʳᵉ colonne seule centrée, 2ᵉ+3ᵉ côte à côte
   centrées, newsletter seule sur sa ligne */
@media (min-width: 640px) and (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-brand p { max-width: 420px; margin-left: auto; margin-right: auto; }
  .footer-social { justify-content: center; }
  .footer-col--range,
  .footer-col--help {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-newsletter { grid-column: 1 / -1; max-width: 640px; margin: 0 auto; width: 100%; }
}

/* Mobile <640px — tout empilé : marque centrée, puis
   RANGE, HELP et newsletter chacune sur sa ligne */
@media (max-width: 639px) {
  .footer-grid { gap: 36px; }
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-brand p { margin-left: auto; margin-right: auto; }
  .footer-social { justify-content: center; }
  .footer-col--range,
  .footer-col--help {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-newsletter { text-align: center; }
  .footer-newsletter .footer-form-row { grid-template-columns: 1fr; }
  .footer-newsletter-form { text-align: left; }
  .footer-join { width: 100%; }
}

.footer-brand img { margin-bottom: 20px; max-width: 130px; }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 260px; margin-bottom: 24px; }

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-grey);
  border-radius: 2px;
  transition: all 300ms;
}

.footer-social a:hover {
  background: var(--volt);
  border-color: var(--volt);
  color: var(--black);
}

.footer-social a svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--light-grey);
  padding: 4px 0;
  transition: color 300ms;
}

.footer-col a:hover { color: var(--volt); }

/* --- Newsletter (4ᵉ colonne, fidèle à la maquette) --- */
.footer-newsletter h4 { margin-bottom: 14px; }
.footer-newsletter-lead {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--white);
  margin-bottom: 14px;
  max-width: 420px;
}
.footer-newsletter-note {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--light-grey);
  margin-bottom: 20px;
  max-width: 440px;
}
.footer-newsletter-form { width: 100%; }
.footer-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  margin-bottom: 14px;
}
.footer-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.footer-field label {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-grey);
}
.footer-field input,
.footer-field select {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--border-grey);
  border-radius: 2px;
  padding: 11px 14px;
  width: 100%;
  outline: none;
  transition: border-color 250ms;
}
.footer-field input::placeholder { color: var(--light-grey); opacity: 0.9; }
.footer-field input:focus,
.footer-field select:focus { border-color: var(--volt); }
.footer-field input.is-error,
.footer-field select.is-error { border-color: #e74c3c; }
.footer-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238A8A8A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.footer-field select option { background: #1a1a1a; color: #fff; }
.footer-join {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  background: #1c2530;
  border: 1px solid #1c2530;
  padding: 13px 34px;
  margin-top: 6px;
  transition: all 250ms;
}
.footer-join:hover { background: var(--volt); border-color: var(--volt); color: var(--black); }
.footer-form-msg { font-size: 12px; color: #e74c3c; margin-top: 10px; }
.footer-form-msg.is-success { color: var(--volt); }

.footer-bottom {
  border-top: 1px solid var(--border-grey);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p { font-size: 12px; color: var(--light-grey); }
.footer-bottom a { font-size: 12px; color: var(--light-grey); transition: color 300ms; }
.footer-bottom a:hover { color: var(--volt); }

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.7; transform: translateX(-50%) translateY(8px); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-title, .hero-subtitle, .hero-content .btn {
    opacity: 1; animation: none;
  }
}


/* ============================================
   LIGHT THEME — light pages + home scroll flip
   body.light        → set in PHP ($bodyClass = 'light') on about,
                       clubshops and contact. Static light page.
   body.light-theme  → toggled on <body> by script.js on the home page
                       once the bottom of .hero reaches 20vh above the
                       viewport bottom. Shares the same palette.
   ============================================ */

body:is(.light, .light-theme) {
  /* background: #f5f5f5; */
  background: #ffffff;
  color: #1a1a1a;

  /* Accent override: cyan for light theme (volt = #CEFF00 only for dark) */
  --volt: #00CBFF;
  --volt-hover: #33D5FF;
  --volt-dim: rgba(0, 203, 255, 0.15);
}

/* --- Header (light) --- */
body:is(.light, .light-theme) .header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: -1px 0px 30px #00000026;
}

body:is(.light, .light-theme) .header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body:is(.light, .light-theme) .header-nav a {
  color: rgba(0, 0, 0, 0.55);
}

body:is(.light, .light-theme) .header-nav a:hover,
body:is(.light, .light-theme) .header-nav a.active {
  color: #0a0a0a;
}

/* Invert the white logo on light backgrounds */
body:is(.light, .light-theme) .header-logo img {
  filter: invert(1);
}

body:is(.light, .light-theme) .header-cta .btn-outline-volt {
  color: #1a1a1a;
  border-color: #1a1a1a;
}

body:is(.light, .light-theme) .header-cta .btn-outline-volt:hover {
  background: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
}

/* --- Mobile menu toggle (light) --- */
body:is(.light, .light-theme) .menu-toggle span {
  background: #1a1a1a;
}

/* When menu is open (active), keep bars visible against the light menu-cut */
body:is(.light, .light-theme) .menu-toggle.active span {
  background: #1a1a1a;
}

/* --- Mobile menu OPEN — the header is FORCED to the light theme ----------
   The overlay is theme-independent (white panel, white cards — see the
   .mobile-menu block at the top of this file), so the fixed header that sits
   ABOVE it (z-index 1000 > 999) must render exactly like the light-theme
   header even on the dark pages: white bar, no shadow, dark logo / links /
   burger, and the accent flipped to cyan.
   The tokens are re-declared on .header (custom properties inherit) so every
   accent INSIDE the header — nav underline, dropdown hover, caret, focus ring —
   follows without a rule per element.
   These rules come AFTER the light-theme header rules above so they win on
   equal specificity. `body.mm-open` is set by script.js. */
body.mm-open .header,
body.mm-open .header.scrolled {
  --volt: #00CBFF;
  --volt-hover: #33D5FF;
  --volt-dim: rgba(0, 203, 255, 0.15);

  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
}

/* Opening the drawer locks the page scroll, so the scrollbar disappears and the
   fixed header (width: 100% of the viewport) grows by its width (~15px) — enough
   to tip .header-inner over the priority-nav threshold, which would then hide the
   burger, i.e. the only way to close the drawer. script.js measures the scrollbar
   and pins it in --scrollbar-w BEFORE locking (0 with overlay scrollbars, where
   nothing moves), so the header keeps its exact width and opening the drawer
   never reflows the header.
   Expressed with width + margin-right rather than padding-right:
   - .header-inner.clientWidth must keep its closed value — that is what
     initHeaderPriorityNav measures (padding would leave clientWidth untouched);
   - .header-inner has no transition, so this applies at once. A padding on
     .header would be animated by its `transition: all 400ms`, letting the nav
     cross the threshold for a few frames (the burger would blink). */
body.mm-open .header-inner {
  width: calc(100% - var(--scrollbar-w, 0px));
  margin-left: 0;
  margin-right: var(--scrollbar-w, 0px);
}

/* The dark theme paints the nav white: invisible on the white bar. */
body.mm-open .header-nav a,
body.mm-open .nav-dropdown-trigger {
  color: rgba(0, 0, 0, 0.55);
}

body.mm-open .header-nav a:hover,
body.mm-open .header-nav a.active,
body.mm-open .nav-dropdown-trigger:hover,
body.mm-open .nav-dropdown-trigger.active,
body.mm-open .nav-dropdown:hover .nav-dropdown-trigger,
body.mm-open .nav-dropdown:focus-within .nav-dropdown-trigger,
body.mm-open .nav-dropdown.is-open .nav-dropdown-trigger {
  color: #0a0a0a;
}

/* The hover dropdown panel is always white: keep its items dark here too. */
body.mm-open .header-nav .nav-dropdown-menu a { color: #1a1a1a; }

body.mm-open .header-cta .btn-outline-volt {
  color: #1a1a1a;
  border-color: #1a1a1a;
}

body.mm-open .header-cta .btn-outline-volt:hover {
  background: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
}

/* Invert the white logo (white PNG → black). */
body.mm-open .header-logo img { filter: invert(1); }

body.mm-open .menu-toggle span,
body.mm-open .menu-toggle.active span {
  background: #1a1a1a;
}

/* --- Footer (light) --- */
body:is(.light, .light-theme) .footer {
  background: #ffffff;
  border-top: 1px solid #e0e0e0;
}

body:is(.light, .light-theme) .footer-brand p {
  color: #666666;
}

body:is(.light, .light-theme) .footer-col h4 {
  color: #1a1a1a;
}

body:is(.light, .light-theme) .footer-col a {
  color: #555555;
}

body:is(.light, .light-theme) .footer-col a:hover {
  color: #000000;
}

body:is(.light, .light-theme) .footer-newsletter-lead { color: #1a1a1a; }
body:is(.light, .light-theme) .footer-newsletter-note { color: #777777; }
body:is(.light, .light-theme) .footer-field label { color: #444444; }
body:is(.light, .light-theme) .footer-field input,
body:is(.light, .light-theme) .footer-field select {
  color: #1a1a1a;
  background: #ffffff;
  border-color: #d5d5d5;
}
body:is(.light, .light-theme) .footer-field input::placeholder { color: #999999; }
body:is(.light, .light-theme) .footer-field select option { background: #ffffff; color: #1a1a1a; }
body:is(.light, .light-theme) .footer-join { background: #111f2a; border-color: #111f2a; color: #ffffff; }
body:is(.light, .light-theme) .footer-join:hover { background: #1a1a1a; border-color: #1a1a1a; color: #ffffff; }
body:is(.light, .light-theme) .footer-form-msg.is-success { color: #0077aa; }

body:is(.light, .light-theme) .footer-social a {
  border-color: #cccccc;
  color: #555555;
}

body:is(.light, .light-theme) .footer-social a:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #ffffff;
}

body:is(.light, .light-theme) .footer-bottom {
  border-top-color: #e0e0e0;
}

body:is(.light, .light-theme) .footer-bottom p,
body:is(.light, .light-theme) .footer-bottom a {
  color: #777777;
}

body:is(.light, .light-theme) .footer-bottom a:hover {
  color: #1a1a1a;
}

/* Invert the white footer logo on light backgrounds */
body:is(.light, .light-theme) .footer-brand img {
  filter: invert(1);
}

/* --- Buttons (light) --- */
body:is(.light, .light-theme) .btn-volt:hover {
  box-shadow: 0 8px 30px rgba(0, 203, 255, 0.3);
}


/* ============================================
   HOME — dark → light scroll flip (body.light-theme)
   Everything below .hero follows the light palette above. Inside the hero
   only its background flips: the video and the side photos are untouched,
   so the hero reads as a dark card sitting on the white page — the same
   arrangement clubshops.php uses.
   ============================================ */

/* The hero's letterbox and the caption riding on it flip with the rest. */
.hero,
.underhero-sub-words {
  transition: background-color 500ms var(--ease-smooth),
              color 500ms var(--ease-smooth),
              text-shadow 500ms var(--ease-smooth);
}

/* Surfaces that repaint on the flip need the 500ms fade in BOTH states, so the
   declaration lives outside body.light-theme. These rules are inert on every
   other page — all of these sections only exist on the home page. */
.sports-section::before,
.how-section,
.showcase-section,
.clubshops-section,
.packages-section,
.partner-section,
.testimonials-section,
.testimonials-section::before,
.mosaic-card--accent,
.dotted-bg,
.footer,
.step-icon svg,
.package-visual svg,
.check-list svg {
  transition: background-color 500ms var(--ease-smooth),
              border-color 500ms var(--ease-smooth),
              filter 500ms var(--ease-smooth);
}

/* :where() keeps specificity at zero, so buttons, dots and links inside these
   sections keep their own (faster) hover transitions. */
:where(.sports-section, .how-section, .showcase-section, .packages-section,
       .partner-section, .clubshops-section, .testimonials-section, .cta-banner, .footer) :where(*) {
  transition: color 500ms var(--ease-smooth);
}

body.light-theme {
  /* --volt / --volt-hover / --volt-dim already come from the rule above. */
  --anthracite: #f5f7fa;   /* .how-section, .clubshops-section, .package-card,
                              .testimonials-section, .mosaic-card--accent */
  --text-grey: #5a6778;    /* paragraphs, .mono-tag, .package-features */
  --border-grey: #e2e6ea;  /* .bar track */
  --mid-grey: #d5dae0;     /* inactive .dot */
}

/* --- Hero: the video card stays dark, the letterbox around it goes white --- */
body.light-theme .hero {
  background-color: #ffffff;
}

/* The caption sits just under the video, astride its bottom edge on short or
   wide windows — the white halo keeps the dark text readable where it still
   overlaps the video. */
body.light-theme .underhero-sub-words {
  color: rgba(26, 26, 26, 0.78);
  text-shadow: 0 1px 14px rgba(255, 255, 255, 0.95),
               0 0 30px rgba(255, 255, 255, 0.8);
}

/* --- Sections built on var(--black) --- */
/* body.light-theme .sports-section::before, */
body.light-theme .showcase-section,
body.light-theme .packages-section {
  background-color: #ffffff;
}

body.light-theme .dotted-bg {
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
}

/* --- Testimonials: keep the photo, swap the dark scrim for a light one --- */
body.light-theme .testimonials-section::before {
  background: rgba(255, 255, 255, 0.82);
}

body.light-theme .testimonial blockquote p,
body.light-theme .testimonial-author {
  color: #1a1a1a;
}

/* --- Testimonials: slider arrows + the club logo cards --- */
body:is(.light, .light-theme) .testimonial-arrow {
  color: #1a1a1a;
  border-color: #e2e6ea;
}

/* Specificity (0,2,1) of the rule above beats a plain :hover, so the
   accent hover has to be repeated here. */
body:is(.light, .light-theme) .testimonial-arrow:hover {
  color: var(--volt);
  border-color: var(--volt);
}

body:is(.light, .light-theme) .clubs-logos-lead {
  color: #1a1a1a;
}

/* The logo cards stay white: they only swap the shadow for a lighter one. */
body:is(.light, .light-theme) .clubs-logo {
  border-color: #eef1f4;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body:is(.light, .light-theme) .clubs-logo:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}

/* --- Club shops checklist --- */
body.light-theme .check-list li { color: #1a1a1a; }

/* --- Mosaic captions sit on the dark scrim over the photo, so they stay white --- */
body.light-theme .mosaic-card h3 { color: #ffffff; }

/* --- CTA banner: text/buttons stay dark-on-volt, --anthracite is light now --- */
body.light-theme .cta-banner .btn-dark:hover { background: #2a2a2a; }

/* --- Decorative SVGs hard-coded to volt-yellow (#CEFF00 / #cbf309), some via
       inline style="" which CSS can't reach. hue-rotate(120deg) lands on the
       cyan accent; the greys in these icons are unsaturated and stay put. --- */
/*
body.light-theme .step-icon svg,
body.light-theme .package-visual svg,
body.light-theme .check-list svg {
  filter: hue-rotate(120deg);
}
*/

/* --- Volt-yellow chip labels sitting on the mosaic images --- */
body.light-theme .tech-label { color: rgba(0, 203, 255, 0.75); }


/* ============================================
   CONTACT WIZARD — Multi-Step Form
   ============================================ */

/* --- Section --- */
.contact-wizard-section {
  padding: 120px 0 80px;
  /* background: #f5f5f5; */
  /* min-height: 100vh; */
}

@media (min-width: 768px) {
  .contact-wizard-section {
    padding: 140px 0 100px;
  }
}

/* --- Grid: 2-col on desktop, stacked on mobile --- */
.cw-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 1024px) {
  .cw-grid {
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
  }
}

/* ============================================
   LEFT — STATIC INFO PANEL
   ============================================ */

.cw-info {
  position: relative;
}

.cw-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: #777;
}

.cw-info-title {
  font-size: clamp(26px, 4vw, 44px);
  color: #1a1a1a;
  margin-bottom: 16px;
  text-transform: none;
  line-height: 1.15;
}

.cw-info-text {
  color: #666;
  font-size: 15px;
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: 36px;
}

.cw-info-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cw-info-details li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #444;
}

.cw-info-details li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #1a1a1a;
}

.cw-info-details li strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cw-info-details li span {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

/* ============================================
   RIGHT — WIZARD PANEL
   ============================================ */

.cw-wizard {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 8px 40px rgba(0,0,0,0.06);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cw-wizard {
    padding: 40px 36px;
  }
}

/* --- Header Image (page-level, above wizard) --- */
.headerImage {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.headerImage img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --- Progress Bar --- */
.cw-progress {
  margin-bottom: 36px;
}

.cw-progress-bars {
  display: flex;
  gap: 5px;
  height: 4px;
}

.cw-progress-bar {
  flex: 1;
  height: 100%;
  background: #e8e8e8;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

/* ============================================
   STEPS CONTAINER & ANIMATIONS
   ============================================ */

.cw-steps-wrapper {
  position: relative;
  min-height: 380px;
  /* overflow: hidden; */
}

.cw-step {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(80px);
  pointer-events: none;
  transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
  background: white;
}

.cw-step.active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

/* Slide-out classes (applied during transition) */
.cw-step.slide-out-left {
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 300ms var(--ease-in), transform 300ms var(--ease-in);
}

.cw-step.slide-out-right {
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 300ms var(--ease-in), transform 300ms var(--ease-in);
}

/* Slide-in classes (starting state, then removed to animate in) */
.cw-step.slide-in-from-right {
  opacity: 0;
  transform: translateX(100%);
  transition: none;
}

.cw-step.slide-in-from-left {
  opacity: 0;
  transform: translateX(-100%);
  transition: none;
}

/* --- Step Title --- */
.cw-step-title {
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 24px;
  text-transform: none;
  letter-spacing: -0.01em;
}

/* ============================================
   OPTION CARDS (Steps 1 & 2)
   ============================================ */

.cw-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

@media (max-width: 480px) {
  .cw-options {
    grid-template-columns: 1fr;
  }
}

.cw-option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 10px 16px 10px;
  background: #fafafa;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  cursor: pointer;
  transition: all 250ms var(--ease-out);
  position: relative;
  text-align: center;
}

.cw-option-card:hover {
  border-color: #ccc;
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.cw-option-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
  pointer-events: none;
}

.cw-option-card:has(input:checked) {
  border-color: var(--volt);
  background: rgba(0, 203, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(0, 203, 255, 0.08);
}

.cw-option-card:has(input:checked) .cw-option-label {
  color: #1a1a1a;
  font-weight: 700;
}

.cw-option-icon {
  width: 70px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  transition: color 250ms;
}

.cw-option-card:has(input:checked) .cw-option-icon {
  color: #1a1a1a;
}

.cw-option-icon img {
  width: 150px;
  /* height: 40px; */
  object-fit: contain;
}

.cw-option-label {
  font-size: 14px;
  font-weight: 600;
  color: #444;
  transition: color 250ms;
  margin-top: 10px;
}

.cw-option-desc {
  font-size: 11px;
  color: #757575;
  /*
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  */
}

/* ============================================
   BUTTON ROW
   ============================================ */

.cw-btn-row {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}

.cw-btn-row .btn {
  min-width: 120px;
}

.cw-btn-next,
.cw-btn-submit {
  margin-left: auto;
}

.cw-btn-back {
  margin-right: auto;
}

/* Single next button (Step 1) */
.cw-step > .cw-btn-next {
  display: block;
  margin-left: auto;
}

.cw-btn-next:disabled,
.cw-btn-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================
   FORM FIELDS (Step 3)
   ============================================ */

.cw-form {
  margin-bottom: 24px;
}

.cw-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media (min-width: 640px) {
  .cw-form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.cw-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cw-field--full {
  grid-column: 1 / -1;
}

.cw-field label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #444;
}

.cw-required {
  color: #e74c3c;
}

.cw-optional {
  font-weight: 400;
  color: #999;
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
}

.cw-field input:not(.iti__search-input),
.cw-field select,
.cw-field textarea {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 14px;
  border: 2px solid #e8e8e8;
  border-radius: 6px;
  background: #fafafa;
  color: #1a1a1a;
  transition: all 250ms var(--ease-out);
  outline: none;
  width: 100%;
}

.cw-field input:focus,
.cw-field select:focus,
.cw-field textarea:focus {
  border-color: var(--volt);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 203, 255, 0.08);
}

.cw-field input.error,
.cw-field select.error,
.cw-field textarea.error {
  border-color: #e74c3c;
  background: #fff5f5;
}

.cw-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.cw-field textarea {
  resize: vertical;
  min-height: 100px;
}

.cw-field-error {
  font-size: 11px;
  color: #e74c3c;
  min-height: 16px;
  opacity: 0;
  transition: opacity 250ms;
}

.cw-field-error.visible {
  opacity: 1;
}

/* --- Submit button spinner --- */
.cw-btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0,0,0,0.2);
  border-top-color: #1a1a1a;
  border-radius: 50%;
  animation: cw-spin 600ms linear infinite;
}

@keyframes cw-spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   SUCCESS SCREEN (Step 4)
   ============================================ */

.cw-step--success {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.cw-success-check {
  margin-bottom: 24px;
  animation: cw-checkPop 500ms var(--ease-out);
}

@keyframes cw-checkPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.cw-step--success .cw-step-title {
  margin-bottom: 12px;
}

.cw-success-text {
  color: #666;
  font-size: 15px;
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 28px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1023px) {
  .cw-wizard {
    border-radius: 10px;
    padding: 28px 20px;
  }

  .cw-steps-wrapper {
    min-height: 420px;
  }

  .cw-info-details {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
  }

  .cw-info-details li {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .cw-info-details {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cw-info-details li {
    flex-direction: row;
    align-items: flex-start;
  }

  .cw-steps-wrapper {
    min-height: 460px;
  }

  .cw-btn-row {
    flex-direction: column-reverse;
    gap: 10px;
  }

  .cw-btn-row .btn {
    width: 100%;
    justify-content: center;
  }

  .cw-btn-next,
  .cw-btn-submit,
  .cw-btn-back {
    margin: 0;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  .cw-step,
  .cw-step.slide-out-left,
  .cw-step.slide-out-right {
    transition: opacity 200ms ease !important;
    transform: none !important;
  }
}

/* ============================================
   SHOP BY SPORT — Find Your Range
   (dark theme default, same tokens as the rest of the page)
   ============================================ */

.shop-range-section {
  background: var(--black);
}

.shop-range-eyebrow {
  letter-spacing: 0.3em;
  margin-bottom: 12px;
}

.shop-range-title {
  margin-bottom: 40px;
}

.shop-range-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .shop-range-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .shop-range-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Fallback line shown when the live catalogue has no active category
   (or the API is temporarily unreachable). */
.shop-range-empty {
  grid-column: 1 / -1;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-grey);
}

.shop-range-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--anthracite);
  border: 1px solid var(--border-grey);
  border-radius: 12px;
  padding: 20px;
  transition: transform 400ms var(--ease-out), border-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}

.shop-range-card:hover {
  transform: translateY(-4px);
  border-color: var(--volt);
  /* box-shadow: 0 8px 30px rgba(206, 255, 0, 0.12); */
}

.shop-range-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  /* Grey zone when a live category has no thumbnail/header image
     (same behaviour as .ct-thumb--empty in the catalogue). */
  background: var(--mid-grey);
}

@media (min-width: 768px) {
  .shop-range-thumb { width: 96px; height: 96px; }
}

.shop-range-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* filter: saturate(0.5) contrast(1.15); */
  transform: translateZ(0) scale(1.0001);
  backface-visibility: hidden;

  transition-property: transform, translate, scale, rotate;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  transition-duration: .5s;
}

.shop-range-card:hover .shop-range-thumb img {
  transform: translateZ(0) scale(110%);
  /* filter: saturate(0.7) contrast(1.2); */
}

.shop-range-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shop-range-name {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.05;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--white);
}

.shop-range-link {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7a8798;
}

.shop-range-link .arrow {
  display: inline-block;
  transition: transform 300ms var(--ease-out);
}

.shop-range-card:hover .shop-range-link .arrow { transform: translateX(4px); }

.shop-range-more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.shop-range-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 999px;
  background: transparent !important;
  border: 1px solid var(--volt);
  color: black;
  transition: color 350ms var(--ease-out), border-color 350ms var(--ease-out), transform 300ms var(--ease-out), box-shadow 350ms var(--ease-out);
}

.shop-range-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 150%;
  height: 100%;
  background: var(--volt);
  /* Front d'attaque arrondi = effet "vague" pendant la traversée */
  border-radius: 0 999px 999px 0;
  transform: translateX(-101%);
  transition: transform 550ms var(--ease-out), border-radius 550ms var(--ease-out);
  z-index: -1;
  pointer-events: none;
}

.shop-range-btn:hover {
  color: white;
  border-color: var(--volt);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(206, 255, 0, 0.25);
}

.shop-range-btn:hover::before {
  transform: translateX(0);
  /* La vague s'écrase contre le bord droit en fin de course */
  border-radius: 0;
}

.shop-range-btn:focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: 3px;
}

.shop-range-btn:active { transform: translateY(0); }

body.light-theme .shop-range-btn:hover {
  box-shadow: 0 8px 30px rgba(0, 203, 255, 0.25);
}

/* --- Light-theme flip: same behaviour as the other home sections --- */
body.light-theme .shop-range-section { background-color: #ffffff; }

body.light-theme .shop-range-card {
  background: #f5f7fa;
  border-color: #e2e6ea;
}

body.light-theme .shop-range-card:hover {
  /* box-shadow: 0 8px 30px rgba(0, 203, 255, 0.15); */
  border-color: var(--volt);
}

body.light-theme .shop-range-name { color: #1a1a1a; }

body.light-theme .shop-range-thumb { background: #e2e6ea; }

@media (prefers-reduced-motion: reduce) {
  .shop-range-card,
  .shop-range-card:hover { transform: none; }
  .shop-range-btn::before,
  .shop-range-btn:hover::before { transition: none; }
}

/* ============================================
   PARTNER CLUB — Become a partner club (CTA)
   Dark theme default (volt accents), light-theme flip included.
   Sits right after #shop-by-sport.
   ============================================ */

.partner-section {
  background: var(--black);
  overflow: hidden;
}

.partner-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

.partner-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .partner-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 72px;
  }
}

/* --- Left: image --- */
.partner-visual {
  position: relative;
}

.partner-img-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-grey);
  aspect-ratio: 4 / 4.4;
  background: var(--anthracite);
}

@media (min-width: 768px) {
  .partner-img-wrap { aspect-ratio: 4 / 3.4; }
}

@media (min-width: 1024px) {
  .partner-img-wrap { aspect-ratio: 4 / 4.6; }
}

.partner-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.0001);
  transition: transform 800ms var(--ease-out);
}

.partner-visual:hover .partner-img-wrap img {
  transform: scale(1.05);
}

.partner-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 40%, transparent 70%, rgba(0,0,0,0.15) 100%);
  pointer-events: none;
}

.partner-img-tag {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(6px);
  padding: 6px 10px;
  border-radius: 999px;
}

.partner-badge {
  position: absolute;
  right: -10px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #00cbff57;
  color: #ffffff;
  border-radius: 4px;
  padding: 14px 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}

@media (min-width: 768px) {
  .partner-badge { right: -16px; }
}

.partner-badge-num {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
}

.partner-badge-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

/* --- Right: content --- */
.partner-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.3em;
  margin-bottom: 18px;
  color: var(--text-grey);
}

.partner-eyebrow-line {
  display: inline-block;
  width: 36px;
  height: 2px;
  background: var(--volt);
}

.partner-title {
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.partner-lead {
  max-width: 52ch;
  margin-bottom: 32px;
  font-size: clamp(15px, 1.4vw, 17px);
}

.partner-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px 28px;
  margin-bottom: 28px;
}

@media (min-width: 640px) {
  .partner-benefits { grid-template-columns: 1fr 1fr; }
}

.partner-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.partner-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--black);
  transition: background 500ms var(--ease-out), transform 500ms var(--ease-out);
}

.partner-benefits li:hover .partner-icon {
  color: var(--black);
  transform: translateY(-2px);
}

.partner-benefits p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-grey);
}

.partner-benefits strong {
  color: var(--white);
  font-weight: 700;
}

.partner-note {
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 24px;
}

.partner-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.partner-ctas .btn span {
  transition: transform 300ms var(--ease-out);
  display: inline-block;
}

.partner-ctas .btn:hover span { transform: translateX(4px); }

/* --- Light-theme flip --- */
body:is(.light, .light-theme) .partner-section { background-color: #ffffff; }

/*
body:is(.light, .light-theme) .partner-section::before {
  background-image: radial-gradient(circle, rgba(0,0,0,0.06) 1px, transparent 1px);
}
*/

body:is(.light, .light-theme) .partner-img-wrap { border-color: #e2e6ea; }

body:is(.light, .light-theme) .partner-lead { color: #5a6778; }

body:is(.light, .light-theme) .partner-benefits p { color: #5a6778; }

body:is(.light, .light-theme) .partner-benefits strong,
body:is(.light, .light-theme) .partner-note { color: #1a1a1a; }

  /*
body:is(.light, .light-theme) .partner-icon {
  border-color: #e2e6ea;
  background: rgba(0,203,255,0.08);
}
  */

body:is(.light, .light-theme) .partner-title { color: #1a1a1a; }

@media (prefers-reduced-motion: reduce) {
  .partner-img-wrap img { transition: none; }
  .partner-visual:hover .partner-img-wrap img { transform: none; }
}


body:not(.light-theme, .light) .header-inner .header-cta a.btn-outline-volt {
  color: white;
}
body:not(.light-theme, .light) .header-inner .header-cta a.btn-outline-volt:hover {
  color: black;
}

.iti__country-list .iti__country-name, .iti__selected-dial-code {
    font-size: 11px;
}


.btn-outline-light:hover {
    border-color: var(--volt);
    color: var(--volt);
    transform: translateY(-2px);
}
.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .25);
    border-radius: 5px;
}
