/* Mondial Auto — cinematic home (index.html). Tokens follow SPEC (ui.css :root). */
:root, .sw-root {
  --red: #E3141B; --red-600: #c40f15; --red-50: rgba(227,20,27,.08);
  --ink: #141011; --bg: #0d0a0b; --surface: #151112; --surface-2: #1d1718;
  --line: rgba(255,255,255,.09); --text: #f6f2f1; --muted: #a89e9e; --radius: 14px;
  --display: "Barlow Condensed", "Rubik", "Arial Narrow", sans-serif;
  --body: "MA Shekel", "Barlow", "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* the shared .site-header (ui.css) height, and the left edge of its 1320px container */
  --hdr: var(--header-h, 72px); --gut: var(--gutter, 16px);
  --edge: max(var(--gut), calc((100vw - 1320px) / 2 + var(--gut)));
  /* the film frame (desktop): 720x640 clips, right of centre */
  --fh: min(76vh, calc(60vw / 1.125)); --fw: calc(var(--fh) * 1.125);
  --sw-bg: var(--bg); --sw-ink: var(--text); --sw-ink-soft: var(--muted); --sw-accent: var(--red);
  --sw-font-display: var(--display); --sw-font-body: var(--body);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); color: var(--text); overflow-x: clip; }
body { font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }
/* same container as ui.css .container, so every left edge lines up with the shared header */
.wrap { width: min(1320px, 100%); margin-inline: auto; padding-inline: var(--gut); }
.kicker { margin: 0; font: 700 .8rem/1.2 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--red); }

/* ---------- buttons (home sections only; the shared header/footer keep ui.css .btn) ---------- */
main .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px;
  border-radius: 999px; font: 600 .98rem/1 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .2s ease, background-color .2s, border-color .2s, box-shadow .2s; }
main .btn:hover { transform: translateY(-2px); }
main .btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 30px rgba(227,20,27,.35); }
main .btn--red:hover { background: #f0222a; box-shadow: 0 14px 38px rgba(227,20,27,.5); }
main .btn--ghost { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
main .btn--ghost:hover { border-color: #fff; }
main .btn--dark { background: var(--ink); color: #fff; }
main .btn--white { background: #fff; color: var(--ink); }
main .btn--xl { min-height: 60px; padding: 0 34px; font-size: 1.08rem; }

/* ---------- shared header (ui.js MA.renderHeader): fixed over the film instead of sticky ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 200; }
.hdr__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.hdr__progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--red), #ff5a5f); transform-origin: 0 50%; transform: scaleX(var(--read, 0)); }

/* ---------- 2. film (scrub-engine overrides) ---------- */
.sw-topbar, .sw-hint, .sw-scrollbar { display: none !important; }
.sw-sky { background: var(--bg); }
/* the film starts while the prologue's last screen is still pinned: no dead scroll between them */
.sw-track { margin-top: -100vh; }
.sw-copy__num { font: 600 .78rem/1 var(--display); letter-spacing: .24em; color: rgba(255,255,255,.5); }
.sw-copy__eyebrow { color: var(--red); letter-spacing: .22em; }
.sw-copy__title { font-style: italic; font-weight: 800; text-transform: uppercase; font-size: clamp(2.5rem, 4.6vw, 4.4rem); line-height: .93; letter-spacing: 0;
  text-shadow: 0 4px 40px rgba(0,0,0,.6); }
.sw-copy__body { color: #ddd4d3; text-shadow: 0 2px 18px rgba(0,0,0,.8); }
.sw-copy__tags li { background: rgba(227,20,27,.14); color: #fff; border-color: rgba(227,20,27,.5); backdrop-filter: blur(4px); }
.sw-btn { min-height: 48px; display: inline-flex; align-items: center; }
.sw-btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 30px rgba(227,20,27,.35); }
.sw-btn--ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.sw-route { right: clamp(10px, 1.6vw, 26px); }
.sw-route__label { background: rgba(20,14,15,.85); color: var(--text); border-color: rgba(255,255,255,.1); }
.sw-route__dot.is-active .sw-route__label { opacity: 0; }
.sw-route__dot:hover .sw-route__label, .sw-route__dot:focus-visible .sw-route__label { opacity: 1; }
.sw-route__dot:focus-visible { outline-offset: 4px; border-radius: 50%; }

/* the giant outlined model name drifting between the backdrop and the film */
.bigword { position: fixed; top: 52%; left: 0; z-index: 5; pointer-events: none; white-space: nowrap;
  font: italic 800 clamp(9rem, 23vw, 24rem)/1 var(--display); text-transform: uppercase; letter-spacing: -.01em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(227,20,27,.3);
  transform: translate3d(calc(var(--drift, 0) * -46vw + 6vw), -50%, 0); will-change: transform, opacity; opacity: var(--word-o, 0); }

/* Chapters 4-5: the b4 clip grows a dark band on its right 14 % after its white-flash cut (t > .1) and b5 keeps
   it until its own cut (t < .06). --z pushes that band off-canvas (frame 16 % wider, same left edge) only while it
   exists, so the 3>4 seam and the final hero shot keep the normal framing. --t = clip time (scrub-engine.js),
   unset while the poster shows (b4.jpg: no band, b5.jpg: band). */
.sw-stage .sw-scene:nth-child(4) { --z: clamp(0, (var(--t, 0) - .08) / .06, 1); }
.sw-stage .sw-scene:nth-child(5) { --z: clamp(0, 1 - (var(--t, 0) - .06) / .05, 1); }
.sw-scene__still, .sw-scene__video { max-width: none; }
@media (min-width: 861px) {
  .sw-scene__still, .sw-scene__video {
    inset: auto; top: calc(50vh + var(--hdr) / 2 - var(--fh) / 2); right: calc(var(--fw) * -.16 * var(--z, 0)); left: auto;
    width: calc(var(--fw) * (1 + .16 * var(--z, 0))); height: var(--fh); object-fit: cover; object-position: 50% 50%; transform: none !important;
    mask-image: linear-gradient(90deg, transparent, #000 24%), linear-gradient(transparent, #000 14%, #000 80%, transparent);
    mask-composite: intersect; }
  .sw-bg { filter: blur(34px) brightness(.5) saturate(1.3); will-change: opacity; }
  /* rim light, floor glow and the darkness the copy sits on */
  .sw-backstage::after { content: ""; position: absolute; inset: 0;
    background:
      radial-gradient(38% 46% at 92% 30%, rgba(227,20,27,.28), transparent 70%),
      radial-gradient(60% 18% at 64% 92%, rgba(227,20,27,.22), transparent 70%),
      linear-gradient(90deg, rgba(13,10,11,.92) 0%, rgba(13,10,11,.55) 34%, rgba(13,10,11,0) 62%),
      radial-gradient(120% 90% at 60% 50%, transparent 55%, rgba(0,0,0,.6) 100%); }
  .sw-copylayer::before { width: min(46vw, 640px); background: linear-gradient(90deg, rgba(13,10,11,.75), rgba(13,10,11,.35) 55%, transparent); }
  /* the engine drives transform; centre with the independent translate property */
  .sw-copy { left: var(--edge); top: calc(50% + var(--hdr) / 2); translate: 0 -50%; width: min(40vw, 470px); }
  /* Cyrillic falls back to Rubik, much wider than Barlow Condensed: a smaller size keeps long words inside the column */
  :lang(ru) .sw-copy__title { font-size: clamp(2.3rem, 4vw, 3.8rem); }
  .sw-route { right: auto; left: 14px; }
  .sw-route__label { right: auto; left: 24px; transform: translateY(-50%) translateX(-6px); }
}
@media (max-width: 860px) {
  .sw-backstage, .bigword { display: none; }
  .sw-copylayer::before { height: 46%; background: linear-gradient(0deg, rgba(13,10,11,.96) 18%, rgba(13,10,11,.7) 55%, transparent); }
  .sw-copy { bottom: calc(26px + env(safe-area-inset-bottom)); left: 16px; right: 16px; }
  .sw-copy__cta .sw-btn { flex: 1 1 auto; justify-content: center; padding: 0 16px; }
  .sw-copy__num { display: none; }
  .sw-copy__eyebrow { margin-top: 0; }
  .sw-copy__title { font-size: clamp(2rem, 8.6vw, 2.6rem); }
  .sw-copy__body { margin-top: 10px; font-size: .98rem; line-height: 1.5; }
  .sw-copy__tags { margin-top: 14px; }
  .sw-copy__cta { margin-top: 18px; }
  .sw-route { display: none; }
}
/* portrait phones + tablets: the clean 720x640 crop spans the width right under the header (--ph = its height,
   capped so the copy below always keeps ~330px; cover then trims sky and floor a little),
   the copy sits on an opaque panel below it with a soft red floor glow */
@media (max-width: 860px) and (orientation: portrait) {
  :root { --ph: min(100vw * 640 / 720, 100svh - var(--hdr) - 330px); }
  .sw-scene__video, .sw-scene__still { inset: auto; top: var(--hdr); left: 0; width: calc(100vw * (1 + .16 * var(--z, 0))); height: var(--ph);
    object-fit: cover; object-position: 50% 50%; transform: none !important; }
  .sw-copylayer::before { top: calc(var(--hdr) + var(--ph) - 72px); height: auto; bottom: 0; width: 100%;
    background: radial-gradient(90% 34% at 50% 100%, rgba(227,20,27,.16), transparent 70%),
      linear-gradient(rgba(13,10,11,0), rgba(13,10,11,.85) 44px, var(--bg) 72px); }
  .sw-copy { top: calc(var(--hdr) + var(--ph) + 8px); bottom: calc(18px + env(safe-area-inset-bottom));
    display: flex; flex-direction: column; justify-content: safe center; }
  .sw-copy__title { margin-top: 8px; }
}

/* ---------- 1. prologue ---------- */
.pro { position: relative; z-index: 25; height: 260vh; pointer-events: none; --p: 0; --q: 0; }
.pro__stage { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; opacity: calc(1 - var(--q)); }
.pro__cloth { position: absolute; inset: 0; width: 100%; height: 100%; }
/* showroom darkness that lifts as the cloth leaves */
.pro__shade { position: absolute; inset: 0; opacity: calc(1 - var(--p) * 1.3);
  background: radial-gradient(52% 58% at 66% 54%, transparent 40%, rgba(5,3,4,.82) 100%), linear-gradient(rgba(5,3,4,.35), transparent 30%); }
.pro__copy { position: absolute; inset-inline-start: var(--edge); top: calc(50% + var(--hdr) / 2); transform: translateY(-50%); width: min(44vw, 560px); }
.pro__tease, .pro__reveal { will-change: opacity, transform; }
.pro__tease { opacity: clamp(0, calc(1 - var(--p) * 3.6), 1); transform: translateY(calc(var(--p) * -60px)); }
.pro__teaseline { margin: 16px 0 0; font: italic 800 clamp(2.4rem, 4.4vw, 4.2rem)/.95 var(--display); text-transform: uppercase; color: #fff;
  text-shadow: 0 4px 40px rgba(0,0,0,.7); }
.pro__reveal { position: absolute; left: 0; right: 0; top: 50%; opacity: clamp(0, calc((var(--p) - .3) * 3), 1);
  transform: translateY(calc(-50% + (1 - clamp(0, (var(--p) - .3) * 2, 1)) * 40px)); visibility: hidden; }
.pro--revealed .pro__reveal { visibility: visible; }
.pro__title { margin: 14px 0 0; font: italic 800 clamp(3.6rem, 7.4vw, 8rem)/.84 var(--display); text-transform: uppercase; color: #fff;
  letter-spacing: -.01em; text-shadow: 0 6px 50px rgba(0,0,0,.6);
  clip-path: inset(-10% calc(100% - clamp(0%, (var(--p) - .3) * 260%, 100%)) -10% -4%); }
.pro__make { display: block; font-size: .36em; letter-spacing: .32em; color: var(--red); margin-bottom: .18em; }
.pro__model { display: block; }
.pro__sub { margin: 20px 0 0; display: flex; align-items: center; gap: 14px; font: 600 clamp(1rem, 1.3vw, 1.2rem)/1.2 var(--body); color: #e9e1e0; letter-spacing: .02em; }
.pro__sub i { width: 34px; height: 2px; background: var(--red); }
.pro__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; pointer-events: auto; }
.pro__hint { position: absolute; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; flex-direction: column;
  align-items: center; gap: 10px; font: 600 .74rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.75);
  opacity: clamp(0, calc(1 - var(--p) * 6), 1); white-space: nowrap; }
.pro__hint i { width: 24px; height: 38px; border-radius: 14px; border: 2px solid rgba(255,255,255,.45); position: relative; }
.pro__hint i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--red);
  animation: wheel 1.7s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
.pro--nogl .pro__shade { opacity: .5; }
@media (max-width: 860px) {
  .pro__copy { top: auto; bottom: calc(30px + env(safe-area-inset-bottom)); transform: none; left: 16px; right: 16px; width: auto; }
  .pro__teaseline { font-size: clamp(2rem, 9vw, 2.6rem); margin-top: 10px; }
  .pro__reveal { top: auto; bottom: 0; transform: translateY(calc((1 - clamp(0, (var(--p) - .3) * 2, 1)) * 30px)); }
  .pro__title { font-size: clamp(3.2rem, 15.5vw, 4.6rem); margin-top: 8px; }
  .pro__sub { margin-top: 12px; font-size: .98rem; }
  .pro__cta { margin-top: 18px; }
  .pro__cta .btn { flex: 1 1 0; padding: 0 14px; }
  .pro__hint { display: none; }
  .pro__shade { background: linear-gradient(rgba(5,3,4,.55), transparent 28%, transparent 55%, rgba(5,3,4,.9)); opacity: 1; }
}
/* portrait: the prologue copy is centred in the panel under the framed photo, the scroll hint returns */
@media (max-width: 860px) and (orientation: portrait) {
  .pro__copy { top: calc((var(--hdr) + var(--ph) + 100%) / 2 - 18px); bottom: auto; transform: translateY(-50%); }
  .pro__reveal { top: 50%; bottom: auto; transform: translateY(calc(-50% + (1 - clamp(0, (var(--p) - .3) * 2, 1)) * 30px)); }
  .pro__hint { display: flex; bottom: calc(20px + env(safe-area-inset-bottom)); }
  .pro__shade { background: linear-gradient(rgba(5,3,4,.4), transparent 24%); opacity: calc(1 - var(--p) * 1.3); }
}

/* ---------- 3. exploded view ---------- */
.xv { position: relative; z-index: 70; height: 420vh; background: var(--bg); }
.xv::before { content: ""; position: absolute; left: 0; right: 0; top: -34vh; height: 34vh; pointer-events: none;
  background: linear-gradient(rgba(13,10,11,0), var(--bg)); }
.xv__stage { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden;
  background:
    radial-gradient(60% 50% at 55% 55%, rgba(227,20,27,.12), transparent 70%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--bg); }
.xv__stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(110% 80% at 50% 50%, transparent 55%, rgba(0,0,0,.7)); }
.xv__head { position: absolute; z-index: 3; inset-inline-start: var(--edge); top: calc(var(--hdr) + clamp(20px, 4vh, 44px)); max-width: 520px; }
.xv__head h2 { margin: 10px 0 0; font: italic 800 clamp(2.2rem, 4vw, 3.8rem)/.95 var(--display); text-transform: uppercase; }
.xv__lead { margin: 12px 0 0; color: var(--muted); max-width: 44ch; }
.xv__scene { position: absolute; inset: 0; perspective: 2600px; perspective-origin: 50% 40%; }
.xv__car { position: absolute; left: 49%; top: 56%; width: 0; height: 0; transform-style: preserve-3d; }
.xv-part { position: absolute; transform-style: preserve-3d; backface-visibility: visible; }
.xv-part svg { width: 100%; height: 100%; overflow: visible; }
.xv-part * { vector-effect: non-scaling-stroke; }
.xv-l { fill: none; stroke: rgba(246,242,241,.9); stroke-width: calc(1.4px * var(--inv, 1)); stroke-linejoin: round; stroke-linecap: round; }
.xv-d { fill: none; stroke: rgba(246,242,241,.38); stroke-width: calc(1px * var(--inv, 1)); stroke-dasharray: 5 6; }
.xv-t { fill: none; stroke: rgba(246,242,241,.55); stroke-width: calc(1px * var(--inv, 1)); }
.xv-r { fill: none; stroke: var(--red); stroke-width: calc(1.8px * var(--inv, 1)); }
.xv-rf { fill: var(--red); stroke: none; }
.xv-g { fill: rgba(140,170,200,.07); stroke: rgba(246,242,241,.85); stroke-width: calc(1.2px * var(--inv, 1)); }
.xv-glow { filter: drop-shadow(0 0 4px rgba(255,60,60,.9)) drop-shadow(0 0 10px rgba(227,20,27,.6)); }
.xv-far .xv-l { stroke: rgba(246,242,241,.3); stroke-width: calc(1px * var(--inv, 1)); }
.xv-far .xv-t, .xv-far .xv-r { stroke: rgba(246,242,241,.18); }
.xv-far .xv-rf { fill: rgba(227,20,27,.35); }
.xv__leaders { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.xv__leaders path { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1; }
.xv__leaders circle { fill: var(--red); stroke: #fff; stroke-width: 1.5; }
.xv__marks { position: absolute; inset: 0; pointer-events: none; }
.xv__legend { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; counter-reset: xv; z-index: 2; }
.xv__legend li { position: absolute; left: 0; top: 0; width: 240px; opacity: 0; counter-increment: xv; will-change: transform, opacity; }
.xv__legend li::before { content: counter(xv, decimal-leading-zero); display: block; font: 700 .72rem/1 var(--display); letter-spacing: .2em; color: var(--red); }
.xv__legend b { display: block; margin-top: 6px; font: italic 800 1.5rem/1 var(--display); text-transform: uppercase; color: #fff; }
.xv__legend span { display: block; margin-top: 6px; font-size: .88rem; line-height: 1.45; color: var(--muted); }
.xv__legend li.is-r { text-align: right; }
.xv__outro { position: absolute; z-index: 3; left: 50%; bottom: calc(5vh + env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(720px, 100% - 32px);
  text-align: center; opacity: 0; visibility: hidden; }
.xv__outro.is-on { visibility: visible; }
.xv__outro-title { margin: 0; font: italic 800 clamp(2rem, 4vw, 3.4rem)/1 var(--display); text-transform: uppercase; }
.xv__outro p:not(.xv__outro-title) { margin: 10px 0 0; color: #d6cfcf; }
.xv__outro-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }
.xv-mark { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; font: 700 .72rem/1 var(--display); box-shadow: 0 0 0 3px rgba(227,20,27,.3); opacity: 0; }
@media (max-width: 860px) {
  .xv__head { top: calc(var(--hdr) + 18px); left: 16px; right: 16px; }
  .xv__head h2 { font-size: clamp(1.9rem, 8.4vw, 2.4rem); }
  .xv__lead { font-size: .94rem; }
  .xv__car { top: 55%; }
  .xv-far .xv-l { stroke: rgba(246,242,241,.5); }
  .xv-far .xv-t, .xv-far .xv-r { stroke: rgba(246,242,241,.3); }
  .xv__legend { inset: auto 16px calc(18px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
  .xv__legend li { position: relative; width: auto; transform: none !important; display: grid; grid-template-columns: 22px 1fr; gap: 0 8px; align-items: start; }
  .xv__legend li::before { width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; letter-spacing: 0; font-size: .68rem; grid-row: span 2; }
  .xv__legend b { margin: 3px 0 0; font-size: 1.02rem; }
  .xv__legend span { display: none; }
  .xv__outro { bottom: calc(22px + env(safe-area-inset-bottom)); }
}

/* ---------- 4. info ---------- */
.info { position: relative; z-index: 70; background: var(--bg); padding: clamp(80px, 11vw, 150px) 0 clamp(60px, 8vw, 110px); border-top: 1px solid var(--line); }
.info::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 520px; pointer-events: none;
  background: radial-gradient(50% 100% at 15% 0%, rgba(227,20,27,.12), transparent 70%); }
.info__intro h2 { margin: 14px 0 0; font: italic 800 clamp(2.8rem, 7.6vw, 6.4rem)/.9 var(--display); text-transform: uppercase; }
.lead { max-width: 60ch; margin: 22px 0 0; font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.65; color: #d6cfcf; }
.svc { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: clamp(40px, 6vw, 64px) 0 0; padding: 0; list-style: none; }
.svc li { position: relative; padding: 26px 22px 24px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(227,20,27,.1), rgba(255,255,255,.02) 55%); transition: border-color .25s, transform .25s; }
.svc li:hover { border-color: rgba(227,20,27,.5); transform: translateY(-3px); }
.svc svg { width: 34px; height: 34px; fill: none; stroke: var(--red); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc b { display: block; margin-top: 18px; font: italic 800 1.4rem/1 var(--display); text-transform: uppercase; }
.svc span { display: block; margin-top: 10px; font-size: .95rem; line-height: 1.55; color: var(--muted); }
.deal { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 28px 48px; align-items: center; margin-top: clamp(56px, 7vw, 88px);
  padding: clamp(28px, 4.4vw, 56px); border-radius: 26px; border: 1px solid rgba(227,20,27,.45);
  background: radial-gradient(70% 140% at 100% 50%, rgba(227,20,27,.32), transparent 60%), linear-gradient(120deg, #1a1012, #120d0e); }
.deal h3 { margin: 10px 0 0; font: italic 800 clamp(2.2rem, 4.6vw, 3.6rem)/.95 var(--display); text-transform: uppercase; }
.deal__txt p:last-child { margin: 14px 0 0; color: #d6cfcf; max-width: 58ch; }
.deal__price { text-align: end; }
.deal__price small { display: block; font: 700 .78rem/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.deal__price strong { display: block; margin: 8px 0 18px; font: italic 800 clamp(3rem, 6vw, 5rem)/.9 var(--display); white-space: nowrap; }
.olim { display: grid; grid-template-columns: auto 1fr; gap: clamp(22px, 4vw, 48px); align-items: center; margin-top: 22px;
  padding: clamp(26px, 4vw, 52px); border-radius: 26px; background: #fff; color: var(--ink); }
.olim__logo { width: clamp(96px, 13vw, 150px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 18px 40px rgba(227,20,27,.18); }
.olim__logo img { width: 82%; height: auto; }
.olim h3 { margin: 8px 0 0; font: italic 800 clamp(1.9rem, 3.6vw, 3rem)/.95 var(--display); text-transform: uppercase; }
.olim p:not(.kicker) { margin: 12px 0 20px; line-height: 1.65; color: #4a3f40; max-width: 62ch; }
.contact { margin-top: clamp(70px, 9vw, 120px); text-align: center; scroll-margin-top: calc(var(--hdr) + 20px); }
.contact__big { display: inline-block; margin-top: 10px; font: italic 800 clamp(3rem, 9vw, 6.6rem)/1 var(--display); text-decoration: none; color: #fff;
  letter-spacing: .01em; transition: color .2s; }
.contact__big:hover { color: var(--red); }
.contact__team { margin: 10px 0 0; color: var(--muted); }
.contact__team a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.25); }
.contact__addr { margin: 4px 0 0; color: var(--muted); }
.contact__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* ---------- 5. CTA band ---------- */
.band { position: relative; z-index: 70; overflow: hidden; background: linear-gradient(110deg, #b90e14, var(--red) 45%, #ff3a40); color: #fff; }
.band__word { position: absolute; right: -2vw; top: 50%; transform: translateY(-50%); white-space: nowrap; pointer-events: none;
  font: italic 800 clamp(8rem, 20vw, 20rem)/1 var(--display); text-transform: uppercase; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.18); }
.band__in { position: relative; display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center; justify-content: space-between; padding-block: clamp(56px, 8vw, 104px); }
.band .kicker { color: rgba(255,255,255,.85); }
.band h2 { margin: 12px 0 0; max-width: 15ch; font: italic 800 clamp(2.6rem, 6vw, 5.2rem)/.9 var(--display); text-transform: uppercase; }
.band__pts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-weight: 600; }
.band__pts li::before { content: "✓"; margin-inline-end: 8px; }
.band .btn--white:hover { box-shadow: 0 16px 40px rgba(0,0,0,.25); }


/* scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.svc li.reveal:nth-child(2) { transition-delay: .06s; } .svc li.reveal:nth-child(3) { transition-delay: .12s; }
.svc li.reveal:nth-child(4) { transition-delay: .18s; } .svc li.reveal:nth-child(5) { transition-delay: .24s; }

@media (max-width: 1100px) { .svc { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .svc { grid-template-columns: 1fr 1fr; gap: 10px; }
  .svc li { padding: 20px 16px; }
  .svc li:last-child { grid-column: span 2; }
  .deal { grid-template-columns: 1fr; }
  .deal__price { text-align: start; }
  .olim { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 420px) {
  .svc { grid-template-columns: 1fr; }
  .svc li:last-child { grid-column: auto; }
  .contact__btns .btn, .xv__outro-cta .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pro__hint i::after { animation: none; }
  .pro__cloth { opacity: clamp(0, calc(1 - var(--p) * 2.5), 1); }
  .pro__title { clip-path: none; }
  .bigword { transform: translate3d(6vw, -50%, 0); }
  .btn, .svc li { transition: none; }
}

/* ---------- Neuf, toutes marques (band before the 2ème main CTA) ---------- */
.brands { position: relative; z-index: 70; overflow: hidden; background: radial-gradient(60% 90% at 90% 10%, rgba(227,20,27,.25), transparent 70%), #0a0708; color: var(--text); border-top: 1px solid rgba(255,255,255,.06); }
.brands__in { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: flex-end; justify-content: space-between; padding-block: clamp(56px, 8vw, 100px) clamp(32px, 4vw, 48px); }
.brands h2 { margin: 12px 0 0; max-width: 17ch; font: italic 800 clamp(2.3rem, 5.4vw, 4.6rem)/.92 var(--display); text-transform: uppercase; }
.brands h2 span { color: var(--red); }
.brands__lead { margin: 18px 0 0; max-width: 58ch; line-height: 1.65; color: var(--muted); }
.brands__marquee { padding: 18px 0 clamp(48px, 6vw, 80px); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
/* spacing after every name (not gap) so the track is exactly two periods long and the -50% loop is seamless */
.brands__track { display: flex; width: max-content; row-gap: clamp(28px, 4vw, 56px); animation: brands-scroll 48s linear infinite; }
.brands__track span { margin-inline-end: clamp(28px, 4vw, 56px); font: italic 800 clamp(1.8rem, 3.6vw, 3rem)/1 var(--display); text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.2px rgba(246,242,241,.45); }
.brands__track span:nth-child(3n+1) { color: rgba(246,242,241,.92); -webkit-text-stroke: 0; }
.brands:hover .brands__track { animation-play-state: paused; }
@keyframes brands-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .brands__track { animation: none; flex-wrap: wrap; width: auto; padding-inline: var(--gut); } }

/* ---------- 6. live 2ème main stock (MA.carCard from ui.js) ---------- */
.latest { position: relative; z-index: 70; padding-block: clamp(64px, 8vw, 110px); border-top: 1px solid rgba(255,255,255,.06);
  background: radial-gradient(50% 60% at 8% 0%, rgba(227,20,27,.14), transparent 70%), var(--bg); }
.latest__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(26px, 3.4vw, 40px); }
.latest h2 { margin: 12px 0 0; font: italic 800 clamp(2.3rem, 5.4vw, 4.6rem)/.92 var(--display); text-transform: uppercase; }
.latest__lead { margin: 14px 0 0; max-width: 54ch; line-height: 1.6; color: var(--muted); }
.latest__all { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; flex: none;
  border: 1.5px solid rgba(255,255,255,.28); color: #fff; font: 600 .98rem/1 var(--body); text-decoration: none; transition: border-color .2s, background-color .2s; }
.latest__all:hover { border-color: var(--red); background: var(--red); }
.latest__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .latest__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* phones: a swipeable row (scroll-snap) instead of six stacked cards */
@media (max-width: 640px) {
  .latest__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto;
    scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gut)); padding: 4px var(--gut) 16px; scroll-padding-inline: var(--gut); }
  .latest__grid::-webkit-scrollbar { display: none; }
  .latest__grid > * { scroll-snap-align: start; }
  .latest__all { order: 3; width: 100%; justify-content: center; }
}

/* shared footer sits above the fixed film layers like the other home sections */
.site-footer { z-index: 70; }

/* ---------- right-to-left (Hebrew): the composition mirrors; the film, photos, drawing, logo, numbers never do ---------- */
[dir="rtl"] .hdr__progress span { transform-origin: 100% 50%; background: linear-gradient(270deg, var(--red), #ff5a5f); }
[dir="rtl"] .bigword { left: auto; right: 0; transform: translate3d(calc(var(--drift, 0) * 46vw - 6vw), -50%, 0); }
[dir="rtl"] .pro__title { clip-path: inset(-10% -4% -10% calc(100% - clamp(0%, (var(--p) - .3) * 260%, 100%))); }
@media (min-width: 861px) {
  /* film frame on the left, copy on the right. The chapter 4-5 band (--z) now faces the copy: masked out, not pushed off-canvas */
  [dir="rtl"] .sw-scene__still, [dir="rtl"] .sw-scene__video { right: auto; left: 0;
    mask-image: linear-gradient(270deg, transparent calc(var(--z, 0) * 13.8%), #000 calc(var(--z, 0) * 13.8% + 24%)), linear-gradient(transparent, #000 14%, #000 80%, transparent); }
  [dir="rtl"] .sw-backstage::after {
    background:
      radial-gradient(38% 46% at 8% 30%, rgba(227,20,27,.28), transparent 70%),
      radial-gradient(60% 18% at 36% 92%, rgba(227,20,27,.22), transparent 70%),
      linear-gradient(270deg, rgba(13,10,11,.92) 0%, rgba(13,10,11,.55) 34%, rgba(13,10,11,0) 62%),
      radial-gradient(120% 90% at 40% 50%, transparent 55%, rgba(0,0,0,.6) 100%); }
  [dir="rtl"] .sw-copylayer::before { left: auto; background: linear-gradient(270deg, rgba(13,10,11,.75), rgba(13,10,11,.35) 55%, transparent); }
  [dir="rtl"] .sw-copy { left: auto; right: var(--edge); }
  [dir="rtl"] .sw-route { left: auto; right: 14px; }
  [dir="rtl"] .sw-route__label { left: auto; right: 24px; transform: translateY(-50%) translateX(6px); }
  [dir="rtl"] .pro__shade { background: radial-gradient(52% 58% at 34% 54%, transparent 40%, rgba(5,3,4,.82) 100%), linear-gradient(rgba(5,3,4,.35), transparent 30%); }
  /* exploded view: the drawing and its label columns stay; each label keeps hugging its leader line */
  [dir="rtl"] .xv__legend li { text-align: left; }
  [dir="rtl"] .xv__legend li.is-r { text-align: right; }
}
[dir="rtl"] .info::before { background: radial-gradient(50% 100% at 85% 0%, rgba(227,20,27,.12), transparent 70%); }
[dir="rtl"] .svc li { background: linear-gradient(195deg, rgba(227,20,27,.1), rgba(255,255,255,.02) 55%); }
[dir="rtl"] .deal { background: radial-gradient(70% 140% at 0% 50%, rgba(227,20,27,.32), transparent 60%), linear-gradient(240deg, #1a1012, #120d0e); }
[dir="rtl"] .brands { background: radial-gradient(60% 90% at 10% 10%, rgba(227,20,27,.25), transparent 70%), #0a0708; }
/* the track hangs off the right edge in RTL, so it runs rightwards to bring its second (left) half in */
[dir="rtl"] .brands__track { animation-name: brands-scroll-rtl; }
@keyframes brands-scroll-rtl { to { transform: translateX(50%); } }
[dir="rtl"] .latest { background: radial-gradient(50% 60% at 92% 0%, rgba(227,20,27,.14), transparent 70%), var(--bg); }
[dir="rtl"] .band { background: linear-gradient(250deg, #b90e14, var(--red) 45%, #ff3a40); }
[dir="rtl"] .band__word { right: auto; left: -2vw; }
[dir="rtl"] main .btn > [aria-hidden="true"], [dir="rtl"] .latest__all > [aria-hidden="true"] { transform: scaleX(-1); }
@media (prefers-reduced-motion: reduce) {
  [dir="rtl"] .bigword { transform: translate3d(-6vw, -50%, 0); }
  [dir="rtl"] .pro__title { clip-path: none; }
  [dir="rtl"] .brands__track { animation: none; }
}
