/* ============================================================
   Névé Suspension · démo d’atelier fictif (V2)
   Archetype: motorsport product showroom
   ============================================================ */

:root {
  --cols: 12;
  --gutter: 32px;
  --margin: 32px;
  --bl: 8px;
  --lh: 1.55;
  --maxw: 1360px;

  /* palette */
  --ink: #17191b;
  --char: #0e1012;         /* deeper charcoal for the hero */
  --white: #ffffff;
  --ice: #f0f2f2;
  --red: #e52325;
  --red-dk: #c81c1e;
  --line: #d9dedf;
  --sec: #60686d;

  --radius: 2px;
  --header-h: 150px;       /* fallback only; measured + kept current by JS */

  --f-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --f-body: "Barlow", Arial, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: var(--lh);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 700; line-height: 1.02; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--margin);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 8px; top: -60px;
  background: var(--ink); color: var(--white);
  padding: 8px 14px; z-index: 200; border-radius: var(--radius);
  transition: top .15s ease;
}
.skip-link:focus { top: 8px; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.ico {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- concept strip ---------- */
.demo-strip {
  background: var(--ink); color: #c9ced1;
  font-size: 12px; letter-spacing: .04em; text-align: center;
  padding: 5px 12px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.demo-strip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }

/* ---------- utility strip ---------- */
.utility { background: var(--ice); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--sec); }
.utility__inner { display: flex; gap: 28px; align-items: center; min-height: 34px; padding-block: 4px; }
.utility__item { display: inline-flex; align-items: center; gap: 7px; }
.utility .ico { width: 16px; height: 16px; stroke: var(--sec); }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: var(--ink); color: var(--white); }
.header.is-stuck { box-shadow: 0 2px 14px rgba(0,0,0,.28); }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: 68px; padding-block: 10px; }
.header__logo { display: inline-flex; flex: none; text-decoration: none; }

/* ---------- wordmark (text logo) ---------- */
.wordmark { display: inline-flex; align-items: center; gap: 10px; }
.wordmark__mark { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--red); stroke-width: 2.1; stroke-linecap: round; }
.wordmark__text { display: flex; flex-direction: column; line-height: 1; }
.wordmark__name { font-family: var(--f-display); font-weight: 800; font-size: 26px; letter-spacing: .04em; color: var(--white); }
.wordmark__sub { font-family: var(--f-body); font-weight: 600; font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase; color: #9aa0a5; margin-top: 3px; }
.wordmark--footer .wordmark__name { color: var(--ink); }
.wordmark--footer .wordmark__sub { color: var(--sec); }

.search-field { flex: 1 1 auto; max-width: 460px; display: flex; flex-direction: column; min-width: 0; }
.search { display: flex; align-items: stretch; background: #23262a; border: 1px solid #34383d; border-radius: var(--radius); overflow: hidden; }
.search__input { flex: 1 1 auto; min-width: 0; background: transparent; border: 0; color: var(--white); font: inherit; font-size: 15px; padding: 9px 12px; }
.search__input::placeholder { color: #9aa0a5; }
.search__input:focus { outline: none; }
.search__input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--red); }
.search__error { color: var(--red); background: var(--white); font-size: 13px; font-weight: 600; line-height: 1.35; margin-top: 6px; padding: 5px 10px; border-radius: var(--radius); }
.search__error[hidden] { display: none; }
.search__btn { display: inline-flex; align-items: center; gap: 7px; background: var(--red); color: var(--white); border: 0; cursor: pointer; font-family: var(--f-body); font-weight: 600; font-size: 14px; padding: 0 15px; }
.search__btn:hover { background: var(--red-dk); }
.search__btn .ico { width: 18px; height: 18px; }

.header__actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.lang { display: inline-flex; align-items: center; gap: 4px; }
.lang__btn { background: none; border: 0; cursor: pointer; color: #9aa0a5; font: inherit; font-weight: 600; font-size: 14px; padding: 4px 3px; }
.lang__btn.is-active { color: var(--white); }
.lang__sep { color: #4a4e53; }
.cart { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--white); font-weight: 600; font-size: 14px; }
.cart:hover { color: #dfe3e5; }
.hamburger { display: none; background: none; border: 0; color: var(--white); cursor: pointer; width: 44px; height: 44px; align-items: center; justify-content: center; }
.hamburger .ico { width: 26px; height: 26px; }

.nav { background: var(--ink); border-top: 1px solid #2a2e32; }
.nav__list { display: flex; gap: 4px; flex-wrap: wrap; }
.nav__list a { display: inline-block; text-decoration: none; color: #cfd3d6; font-family: var(--f-display); font-weight: 600; font-size: 17px; letter-spacing: .01em; text-transform: uppercase; padding: 12px 14px; border-bottom: 2px solid transparent; }
.nav__list a:hover { color: var(--white); border-bottom-color: var(--red); }

/* ---------- mobile menu ---------- */
.menu-backdrop { position: fixed; inset: 0; z-index: 110; background: rgba(10,11,12,.5); }
.mobile-menu { position: fixed; top: 0; right: 0; z-index: 120; width: min(88vw, 360px); height: 100%; background: var(--white); color: var(--ink); box-shadow: -4px 0 24px rgba(0,0,0,.25); padding: 16px 20px 32px; overflow-y: auto; transform: translateX(0); }
.mobile-menu[hidden], .menu-backdrop[hidden] { display: none; }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__title { font-family: var(--f-display); font-weight: 700; font-size: 22px; text-transform: uppercase; }
.mobile-menu__close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; color: var(--ink); }
.search-field--mobile { margin: 14px 0 18px; max-width: none; }
.search--mobile { background: var(--ice); border-color: var(--line); }
.search--mobile .search__input { color: var(--ink); }
.search--mobile .search__input::placeholder { color: var(--sec); }
.search--mobile .search__input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--red); }
.search-field--mobile .search__error { background: transparent; padding-inline: 2px; }
.mobile-menu__cart { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; min-height: 44px; text-decoration: none; color: var(--ink); font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 18px; }
.mobile-menu__cart:hover { color: var(--red); }
.mobile-menu__cart .ico { width: 22px; height: 22px; }
.mobile-menu__list { border-top: 1px solid var(--line); }
.mobile-menu__list a { display: block; text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: 20px; text-transform: uppercase; padding: 14px 2px; min-height: 44px; border-bottom: 1px solid var(--line); }
.mobile-menu__list a:hover { color: var(--red); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: 18px; padding: 13px 26px; min-height: 48px; border-radius: var(--radius); text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background .18s ease, transform .18s ease; }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dk); transform: translateY(-2px); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink); }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .2s ease; }
.link-arrow:hover { color: var(--red); }
.link-arrow:hover .ico { transform: translateX(3px); }

.section-title { font-size: clamp(28px, 4vw, 44px); text-transform: uppercase; letter-spacing: .005em; }
.kicker { display: inline-block; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 14px; color: var(--red); margin-bottom: calc(var(--bl) * 1.5); }

/* ============================================================
   1 · HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 78% 12%, #22262a 0%, var(--char) 62%);
  color: var(--white);
  border-bottom: 3px solid var(--red);
}
.hero__bigmark {
  position: absolute; z-index: 0;
  top: 50%; right: -2%; transform: translateY(-50%);
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(320px, 46vw, 720px); line-height: .8;
  letter-spacing: -.02em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,.06);
  pointer-events: none; user-select: none;
  white-space: nowrap;
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 5.4fr 6.6fr;
  gap: var(--gutter); align-items: center;
  min-height: 600px; padding-block: calc(var(--bl) * 7);
}

.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: calc(var(--bl) * 2.5); font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 14px; }
.hero__eyebrow-idx { color: var(--red); }
.hero__eyebrow-sep { color: rgba(255,255,255,.28); }
.hero__eyebrow-label { color: #c9ced1; }

.hero__title { font-size: clamp(48px, 6vw, 92px); font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; max-width: 15ch; }
.hero__lede { font-size: clamp(17px, 1.6vw, 21px); color: #b7bcc0; max-width: 42ch; margin: calc(var(--bl) * 3) 0 calc(var(--bl) * 4); }

.hero__cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: calc(var(--bl) * 5); }
.hero__tab {
  display: inline-flex; align-items: baseline; gap: 8px;
  background: transparent; color: #cfd3d6; cursor: pointer;
  border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius);
  padding: 10px 16px; min-height: 44px;
  font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: 16px; letter-spacing: .03em;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.hero__tab-idx { font-size: 12px; color: var(--red); font-weight: 700; }
.hero__tab:hover { color: var(--white); border-color: rgba(255,255,255,.5); }
.hero__tab.is-active { background: var(--red); border-color: var(--red); color: var(--white); }
.hero__tab.is-active .hero__tab-idx { color: var(--white); }

.hero__stage {
  position: relative; margin: 0;
  min-height: 460px;
  display: flex; align-items: center; justify-content: center;
}
.hero__panel {
  position: absolute; z-index: 1;
  width: 70%; aspect-ratio: 1 / 1; right: 4%; top: 8%;
  background: var(--red);
  transform: rotate(-8deg);
  border-radius: 6px;
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
}
.hero__disc {
  position: absolute; z-index: 1;
  width: 58%; aspect-ratio: 1 / 1; left: 2%; bottom: 2%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.10), transparent 68%);
  border: 1px solid rgba(255,255,255,.08); border-radius: 50%;
}
.hero__float { position: relative; z-index: 3; width: 100%; display: flex; justify-content: center; }
.hero__stage img {
  position: relative; z-index: 3;
  width: 92%; max-height: 440px; height: auto;
  object-fit: contain;
  background: #e9ebec;               /* light stage so white-bg product blends, no ugly box */
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.hero__badge {
  position: absolute; z-index: 4; left: -4px; bottom: 6%;
  background: var(--white); color: var(--ink);
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: 14px; letter-spacing: .05em;
  padding: 8px 14px; border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}

/* ============================================================
   2 · MARQUEE
   ============================================================ */
.marquee { background: var(--ink); color: var(--white); border-bottom: 1px solid #2a2e32; overflow: hidden; }
.marquee__viewport { overflow: hidden; }
.marquee__track { display: inline-flex; width: max-content; will-change: transform; animation: marquee 26s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: inline-flex; align-items: center; padding-block: 18px; }
.marquee__item { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(24px, 3.4vw, 40px); letter-spacing: .02em; padding-inline: 22px; }
.marquee__dot { color: var(--red); font-size: clamp(20px, 3vw, 34px); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   3 · CATEGORY RAIL
   ============================================================ */
.cats { padding-block: calc(var(--bl) * 9); }
.cats__head { margin-bottom: calc(var(--bl) * 4); }
.cats__head .section-title { display: block; }
.cats__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gutter); }
.cat__link { display: block; text-decoration: none; border-bottom: 3px solid var(--line); padding-bottom: calc(var(--bl) * 1.5); transition: border-color .2s ease; }
.cat__link:hover { border-bottom-color: var(--red); }
.cat__media { position: relative; display: block; background: var(--ice); aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); }
.cat__num { position: absolute; z-index: 2; top: 8px; left: 10px; font-family: var(--f-display); font-weight: 800; font-size: 28px; color: var(--white); opacity: .0; transform: translateY(-6px); transition: opacity .25s ease, transform .25s ease; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.cat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cat__link:hover .cat__media img { transform: scale(1.06); }
.cat__link:hover .cat__num { opacity: 1; transform: translateY(0); }
.cat__name { display: block; margin-top: calc(var(--bl) * 1.5); font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 18px; line-height: 1.1; transition: transform .2s ease; }
.cat__link:hover .cat__name { transform: translateX(4px); }

/* ============================================================
   4 · FEATURED SIGNATURE STORY
   ============================================================ */
.feature { background: var(--char); color: var(--white); overflow: hidden; }
.feature__inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.feature__media { position: relative; margin: 0; display: flex; align-items: center; justify-content: center; }
.feature__panel { position: absolute; z-index: 0; inset: 12% -6% 12% 8%; background: var(--red); transform: rotate(4deg); border-radius: 6px; }
.feature__media img { position: relative; z-index: 2; width: 82%; border-radius: 8px; background: #e9ebec; padding: 20px; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.feature__display { position: absolute; z-index: 1; left: -2%; bottom: -6%; font-family: var(--f-display); font-weight: 800; font-size: clamp(70px, 11vw, 150px); line-height: .8; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.14); pointer-events: none; }
.feature__title { font-size: clamp(30px, 4.4vw, 56px); text-transform: uppercase; }
.feature__body { color: #b7bcc0; margin: calc(var(--bl) * 3) 0; max-width: 44ch; }
.feature__facts { display: flex; gap: 40px; flex-wrap: wrap; margin-bottom: calc(var(--bl) * 3.5); }
.feature__facts li { display: flex; flex-direction: column; border-left: 2px solid var(--red); padding-left: 14px; }
.feature__fact-k { font-size: 13px; color: #9aa0a5; text-transform: uppercase; letter-spacing: .06em; }
.feature__fact-v { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 20px; }
.feature__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: calc(var(--bl) * 3); }
.feature__from { font-size: 14px; color: #9aa0a5; text-transform: lowercase; }
.feature__amt { font-family: var(--f-display); font-weight: 800; font-size: 40px; color: var(--white); }
.feature__cur { font-size: 15px; color: #9aa0a5; }
.feature__note { font-size: 13px; color: #8b9195; margin-top: calc(var(--bl) * 2); }

/* ============================================================
   5 · PRODUCTS
   ============================================================ */
.products { background: var(--ice); padding-block: calc(var(--bl) * 9); }
.products__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: calc(var(--bl) * 4); }
.products__head .section-title { margin-bottom: 0; }
.products__note { font-size: 13px; color: var(--sec); max-width: 34ch; }
.products__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,.12); border-color: #c7cdcf; }
.card__media { position: relative; display: block; background: var(--white); aspect-ratio: 1 / 1; padding: 18px; border-bottom: 1px solid var(--line); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__tag { position: absolute; z-index: 2; top: 10px; left: 10px; background: var(--red); color: var(--white); font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: .05em; padding: 3px 9px; border-radius: var(--radius); }
.card__body { padding: calc(var(--bl) * 2.5); display: flex; flex-direction: column; gap: calc(var(--bl) * 1); flex: 1; }
.card__title { font-size: 21px; text-transform: uppercase; line-height: 1.05; }
.card__meta { font-size: 13px; color: var(--sec); }
.card__price { font-family: var(--f-display); font-weight: 700; font-size: 24px; margin-top: auto; }
.card__from { font-family: var(--f-body); font-weight: 500; font-size: 13px; color: var(--sec); text-transform: lowercase; }
.card__cur { font-size: 14px; color: var(--sec); }
.card .link-arrow { margin-top: calc(var(--bl) * 1); }

/* ============================================================
   6 · TWO ROUTES
   ============================================================ */
.routes { padding-block: calc(var(--bl) * 9); }
.routes__head { margin-bottom: calc(var(--bl) * 4); }
.routes__head .section-title { display: block; }
.routes__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--gutter); }
.route { position: relative; display: block; text-decoration: none; overflow: hidden; border-radius: var(--radius); min-height: 380px; color: var(--white); background: var(--ink); }
.route__media { position: absolute; inset: 0; }
.route__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.route::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,16,18,.15) 0%, rgba(14,16,18,.82) 100%); }
.route:hover .route__media img { transform: scale(1.05); }
.route__body { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: clamp(24px, 3vw, 40px); min-height: 380px; }
.route__idx { font-family: var(--f-display); font-weight: 800; font-size: 20px; color: var(--red); margin-bottom: auto; }
.route__name { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.02; }
.route__desc { color: #d3d7d9; font-size: 15px; margin: calc(var(--bl) * 1.5) 0 calc(var(--bl) * 2); max-width: 34ch; }
.route__cta { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 16px; letter-spacing: .03em; }
.route__cta .ico { width: 18px; height: 18px; transition: transform .2s ease; }
.route:hover .route__cta .ico { transform: translateX(4px); }

/* ============================================================
   7 · WORKSHOP
   ============================================================ */
.workshop { background: var(--ink); color: var(--white); }
.workshop__grid { display: grid; grid-template-columns: 1fr 1fr; }
.workshop__media { position: relative; margin: 0; overflow: hidden; }
.workshop__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 9 / 7; transition: transform 6s ease; }
.workshop:hover .workshop__media img { transform: scale(1.06); }
.workshop__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(23,25,27,.6) 100%); }
.workshop__pane { padding: clamp(28px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; max-width: 620px; }
.workshop__title { font-size: clamp(28px, 3.6vw, 42px); text-transform: uppercase; }
.workshop__body { color: #b9bec2; margin: calc(var(--bl) * 2.5) 0; max-width: 42ch; }
.workshop__service { font-family: var(--f-display); text-transform: uppercase; font-weight: 600; font-size: 18px; margin-bottom: calc(var(--bl) * 3); padding-top: calc(var(--bl) * 2); border-top: 1px solid #34383d; }
.workshop__price { color: var(--red); font-weight: 700; }
.workshop .btn { align-self: flex-start; }

/* ============================================================
   8 · SERVICE PATH
   ============================================================ */
.path { background: var(--ice); padding-block: calc(var(--bl) * 9); }
.path__head { margin-bottom: calc(var(--bl) * 4); }
.path__head .section-title { display: block; }
.path__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); counter-reset: none; }
.path__step { position: relative; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: var(--radius); padding: calc(var(--bl) * 3.5) calc(var(--bl) * 3); display: flex; flex-direction: column; gap: calc(var(--bl) * 1.5); }
.path__num { font-family: var(--f-display); font-weight: 800; font-size: 44px; color: var(--line); line-height: 1; }
.path__name { font-size: 22px; text-transform: uppercase; line-height: 1.05; }
.path__desc { color: var(--sec); font-size: 15px; flex: 1; }
.path__step .link-arrow { margin-top: calc(var(--bl) * 1); }

/* ---------- brands ---------- */
.brands { border-bottom: 1px solid var(--line); background: var(--white); }
.brands__inner { display: flex; flex-direction: column; align-items: stretch; gap: 22px; padding-block: calc(var(--bl) * 4); }
.brands__label { font-size: 13px; color: var(--sec); text-transform: uppercase; letter-spacing: .06em; }

/* Auto-scrolling authentic brand logos (Codex enhancement) */
.brands__marquee { position: relative; overflow: hidden; background: #23262b; border-radius: 10px; padding-block: 15px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.brands__marquee:focus-visible { outline: 2px solid var(--acc, #d94f2a); outline-offset: 2px; }
.brands__track { display: flex; width: max-content; animation: brandsScroll 24s linear infinite; }
.brands__marquee:hover .brands__track,
.brands__marquee:focus-within .brands__track { animation-play-state: paused; }
.brands__group { display: flex; align-items: center; gap: 64px; padding-inline: 32px; margin: 0; list-style: none; }
.brands__group li { flex: 0 0 auto; display: flex; align-items: center; height: 54px; }
.brands__chip { font-family: var(--f-display); font-weight: 600; font-size: 20px; letter-spacing: .02em; color: #e9ecee; white-space: nowrap; opacity: .9; transition: opacity .2s ease; }
.brands__group li:hover .brands__chip { opacity: 1; }
@keyframes brandsScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 720px) {
  .brands__group { gap: 40px; padding-inline: 20px; }
}

/* ---------- footer ---------- */
.footer { background: var(--ice); color: var(--ink); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--gutter); padding-block: calc(var(--bl) * 7); }
.footer__brand .wordmark { margin-bottom: calc(var(--bl) * 2); }
.footer__address { font-style: normal; font-size: 15px; line-height: 1.8; color: var(--sec); }
.footer__address a { color: var(--ink); text-decoration: none; }
.footer__address a:hover { color: var(--red); }
.footer__head { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 16px; letter-spacing: .04em; margin-bottom: calc(var(--bl) * 1.5); }
.footer__head--hours { margin-top: calc(var(--bl) * 3); }
.footer__list { display: flex; flex-direction: column; gap: calc(var(--bl) * 1); }
.footer__list a { text-decoration: none; color: var(--sec); font-size: 15px; }
.footer__list a:hover { color: var(--red); }
.footer__hours { font-size: 15px; color: var(--sec); line-height: 1.8; }
.footer__bar { border-top: 1px solid var(--line); }
.footer__bar-inner { padding-block: calc(var(--bl) * 2); font-size: 12px; color: var(--sec); }

/* scroll margins for anchor targets under sticky header */
#main, #categories, #produits, #atelier { scroll-margin-top: var(--header-h); }

/* ============================================================
   ANIMATION (progressive enhancement)
   ============================================================ */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* hero staged entrance */
.js .hero__text > * { opacity: 0; transform: translateY(18px); }
.js .hero__stage { opacity: 0; }
.js .hero__panel, .js .hero__disc { opacity: 0; transform: scale(.9); }
.js .hero__badge { opacity: 0; }

.js .hero.is-ready .hero__text > * { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
.js .hero.is-ready .hero__eyebrow { transition-delay: .05s; }
.js .hero.is-ready .hero__title { transition-delay: .12s; }
.js .hero.is-ready .hero__lede { transition-delay: .22s; }
.js .hero.is-ready .hero__cta-row { transition-delay: .30s; }
.js .hero.is-ready .hero__tabs { transition-delay: .38s; }

.js .hero.is-ready .hero__stage { opacity: 1; transition: opacity .8s ease .2s; }
.js .hero.is-ready .hero__panel { opacity: 1; transform: rotate(-8deg); transition: opacity .8s ease .25s, transform .8s cubic-bezier(.2,.8,.2,1) .25s; }
.js .hero.is-ready .hero__disc { opacity: 1; transform: none; transition: opacity .8s ease .3s, transform .8s ease .3s; }
.js .hero.is-ready .hero__stage img { animation: heroIn .8s cubic-bezier(.2,.8,.2,1) .35s both; }
.js .hero.is-ready .hero__badge { opacity: 1; transition: opacity .5s ease .8s; }

@keyframes heroIn { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }

/* slow float after entrance */
.js .hero.is-floating .hero__float { animation: float 5.5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* pointer parallax vars (desktop, set by JS) */
.hero__bigmark { transform: translate(var(--pmx, 0), calc(-50% + var(--pmy, 0px))); transition: transform .2s ease-out; }
.hero__panel { will-change: transform; }

/* image swap fade for hero tabs */
.hero__stage img { transition: opacity .35s ease; }
.hero__stage.is-swapping img { opacity: 0; }

/* ---------- grid overlay (internal) ---------- */
.grid-overlay { position: fixed; inset: 0; z-index: 999; pointer-events: none; display: none; }
.grid-overlay.is-on { display: block; }
.grid-overlay::before {
  content: ""; position: absolute; inset: 0;
  max-width: var(--maxw); margin: 0 auto; padding-inline: var(--margin);
  background-image: repeating-linear-gradient(
    to right,
    rgba(229,35,37,.12) 0,
    rgba(229,35,37,.12) calc((100% - (var(--cols) - 1) * var(--gutter)) / var(--cols)),
    transparent calc((100% - (var(--cols) - 1) * var(--gutter)) / var(--cols)),
    transparent calc((100% - (var(--cols) - 1) * var(--gutter)) / var(--cols) + var(--gutter))
  );
  background-clip: content-box;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --margin: 24px; --gutter: 24px; }
  .hero__inner { grid-template-columns: 5fr 5fr; min-height: 540px; }
  .cats__grid { grid-template-columns: repeat(3, 1fr); }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .feature__inner { grid-template-columns: 1fr; }
  .feature__media { max-width: 520px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .hamburger { display: inline-flex; }
  .header .search-field { display: none; }  /* search lives in the mobile menu */
  .cart { display: none; }
  .header__actions { gap: 8px; }
  .lang { gap: 2px; }
  .lang__btn { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 4px 6px; }
  .routes__grid { grid-template-columns: 1fr; }
  .path__steps { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .hero__inner { grid-template-columns: 1fr; min-height: 0; gap: calc(var(--bl) * 4); padding-block: calc(var(--bl) * 5); }
  .hero__title { font-size: clamp(38px, 12vw, 60px); max-width: none; }
  .hero__lede { max-width: none; }
  .hero__stage { order: 2; min-height: 0; }
  .hero__stage img { width: 100%; max-height: 300px; }
  .hero__panel { width: 78%; }
  .hero__bigmark { font-size: clamp(260px, 80vw, 380px); opacity: .7; }
  .hero .btn--red { width: 100%; }
  .feature__facts { gap: 20px; }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .workshop__grid { grid-template-columns: 1fr; }
  .workshop__media img { aspect-ratio: 16 / 10; }
}

@media (max-width: 460px) {
  :root { --margin: 18px; --cols: 4; }
  .wordmark__mark { width: 22px; height: 22px; }
  .wordmark__name { font-size: 22px; }
  .wordmark__sub { font-size: 9.5px; letter-spacing: .28em; }
  .cats__grid { grid-template-columns: repeat(2, 1fr); }
  .cats__grid .cat:last-child { grid-column: 1 / -1; }
  .products__grid { grid-template-columns: 1fr; }
  .demo-strip { font-size: 11px; }
  .utility__inner { gap: 16px; }
  .utility { font-size: 12px; }
  .card__media { aspect-ratio: 4 / 3; }
  .marquee__item { padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal, .js .hero__text > *, .js .hero__stage, .js .hero__panel, .js .hero__disc, .js .hero__badge { opacity: 1 !important; transform: none !important; }
  .js .hero.is-ready .hero__panel { transform: rotate(-8deg) !important; }
  .js .hero.is-floating .hero__float { animation: none !important; }
  .marquee__track { animation: none !important; }
  .brands__track { animation: none !important; transform: none !important; flex-wrap: wrap; justify-content: center; }
  .brands__group[aria-hidden="true"] { display: none !important; }
  .brands__track { width:100%; }
  .brands__group { flex-wrap:wrap; justify-content:center; padding-inline:16px; gap:24px; }
  .brands__group li:nth-child(n+4) { display:none; }
  .hero__bigmark { transform: translateY(-50%) !important; }
}

/* Codex final visual integration: source snowmobile is already transparent. */
.hero__stage img[src*="category-snowmobile"] { background:transparent; box-shadow:none; padding:0; border-radius:0; width:110%; max-width:110%; max-height:480px; filter:drop-shadow(0 28px 20px rgba(0,0,0,.38)); }
@media(max-width:720px){.hero__stage img[src*="category-snowmobile"]{width:100%;max-width:100%;max-height:300px}.hero__tabs{gap:6px}.hero__tab{padding:10px 8px;font-size:13px}.hero__tab-idx{font-size:10px}}
