/* ============================================================
   BSE v4 "IMPACT" — full-bleed hero + dark image bands
   Loaded after style.css; only adds the photographic layer.
   Copy is untouched: every band reuses copy already on the page.
   ============================================================ */

:root{
  --head-h:128px;          /* util 40 + nav 88 */
  --scrim:6,6,7;           /* near-black used for all overlays */
  --hero-h:clamp(620px,100svh,980px);
  --hero-veil:.82;  /* 0 = raw video, 1 = full mask; 0.7-0.9 is the useful range */
}

/* ------------------------------------------------------------
   1. HEADER GOES TRANSPARENT OVER THE HERO
   ------------------------------------------------------------ */
.util{position:relative;z-index:95;transition:background .35s var(--ease),color .35s,border-color .35s}
.nav{transition:background .35s var(--ease),color .35s,border-color .35s}

.util.over{background:linear-gradient(180deg,rgba(var(--scrim),.62),rgba(var(--scrim),0));border-bottom-color:rgba(255,255,255,.14);color:rgba(255,255,255,.7)}
.util.over b{color:#fff}
.util.over a{color:rgba(255,255,255,.72)}
.util.over a:hover{color:#fff;box-shadow:0 1px 0 var(--yellow)}

.nav.over{background:transparent;backdrop-filter:none;border-bottom-color:rgba(255,255,255,.16);color:#fff}
.nav.over .brand__bse{color:#fff}
.nav.over .brand__sub{color:rgba(255,255,255,.6)}
.nav.over .menu a.top{color:rgba(255,255,255,.86)}
.nav.over .menu>li:hover a.top{color:#fff}
.nav.over .btn--ink{background:#fff;color:var(--ink)}
.nav.over .btn--ink:hover{background:var(--yellow);color:var(--ink)}
.nav.over .ghost-btn{border-color:rgba(255,255,255,.4);color:#fff}
.nav.over .ghost-btn:hover{border-color:var(--yellow);color:var(--yellow)}

/* ------------------------------------------------------------
   2. HERO — full-bleed video, type on image
   ------------------------------------------------------------ */
.hero--full{
  position:relative;margin-top:calc(var(--head-h) * -1);
  min-height:var(--hero-h);
  display:flex;flex-direction:column;justify-content:flex-end;
  padding:var(--head-h) 0 0;
  overflow:hidden;color:#fff;isolation:isolate;background:#08080A;
}
.hero__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
/* Three narrow washes instead of two wide ones. They stack as 1-(1-a)(1-b),
   so two 0.6 layers already read as 0.84 — that is why the old pair looked dim.
   1. top     → the nav floats there
   2. bottom  → headline + spec strip
   3. left    → headline column
   `--hero-veil` (0-1) is the master knob: lower it to brighten the whole
   video at once, without touching any gradient stops. */
.hero__scrim{
  position:absolute;inset:0;z-index:-1;
  background:
    linear-gradient(180deg,rgba(var(--scrim),.80) 0%,rgba(var(--scrim),.44) 7%,rgba(var(--scrim),.10) 13%,rgba(var(--scrim),0) 18%),
    linear-gradient(180deg,rgba(var(--scrim),0) 42%,rgba(var(--scrim),.42) 62%,rgba(var(--scrim),.84) 82%,rgba(var(--scrim),.94) 100%),
    linear-gradient(90deg,rgba(var(--scrim),.66) 0%,rgba(var(--scrim),.28) 32%,rgba(var(--scrim),0) 60%);
  opacity:var(--hero-veil,.82);
}
.hero__inner{
  display:flex;flex-direction:column;gap:clamp(16px,2.6vw,34px);
  padding-top:clamp(18px,4vh,44px);
}
.hero__kicker{
  display:inline-flex;align-items:center;gap:12px;
  font-family:var(--ff-mono);font-size:11px;letter-spacing:.2em;text-transform:uppercase;
  color:rgba(255,255,255,.74);
}
.hero__kicker::before{content:"";width:26px;height:2px;background:var(--yellow);flex:none}

.hero__body{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,340px);
  gap:clamp(22px,3.4vw,52px);align-items:end;
}
.hero--full h1{
  margin:0;color:#fff;max-width:26ch;
  font-size:clamp(29px,4.4vw,62px);line-height:1.03;letter-spacing:-.022em;
}
.hero__aside{display:flex;flex-direction:column;gap:20px;align-items:flex-start;padding-bottom:6px}
.hero__sub{
  margin:0;max-width:none;color:rgba(255,255,255,.84);
  font-size:clamp(13.5px,1.02vw,16px);line-height:1.62;
  border-left:3px solid var(--yellow);padding-left:14px;background:none;
}
.hero__acts{display:flex;flex-wrap:wrap;gap:10px}
.btn--ghost{border:1px solid rgba(255,255,255,.46);color:#fff;background:transparent}
.btn--ghost:hover{background:#fff;color:var(--ink);border-color:#fff;transform:translateY(-2px)}

/* hero bottom spec strip */
.hero__strip{
  margin-top:clamp(18px,3.2vh,38px);
  border-top:1px solid rgba(255,255,255,.2);
  background:linear-gradient(180deg,rgba(var(--scrim),0),rgba(var(--scrim),.42));
}
.hero__strip .wrap{
  display:flex;align-items:flex-end;justify-content:space-between;gap:22px;flex-wrap:wrap;
  padding-top:16px;padding-bottom:20px;
}
.hero--full .hero__cut{display:flex;flex-wrap:wrap;gap:clamp(16px,2.8vw,42px);margin:0;padding:0;border:0}
.hero--full .hero__cut>div{
  color:rgba(255,255,255,.58);border-left:2px solid var(--yellow);
  font-family:var(--ff-mono);font-size:9.5px;letter-spacing:.14em;
}
.hero--full .hero__cut b{color:#fff;font-size:clamp(14px,1.25vw,18px)}
.hero__model{
  display:flex;flex-direction:column;gap:5px;align-items:flex-end;text-align:right;
  font-family:var(--ff-mono);font-size:9.5px;letter-spacing:.16em;text-transform:uppercase;
  color:rgba(255,255,255,.5);
}
.hero__model b{
  font-family:var(--ff-display);font-weight:800;font-size:clamp(13px,1.2vw,16px);
  letter-spacing:.01em;color:#fff;text-transform:none;
}

/* ------------------------------------------------------------
   3. DARK IMAGE BANDS
   ------------------------------------------------------------ */
.band{
  position:relative;display:flex;align-items:flex-end;
  min-height:clamp(430px,64vh,620px);
  overflow:hidden;color:#fff;isolation:isolate;background:#08080A;
}
.band__img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  z-index:-2;filter:saturate(.92) contrast(1.04);
}
.band__scrim{
  position:absolute;inset:0;z-index:-1;
  background:
    linear-gradient(180deg,rgba(var(--scrim),.42) 0%,rgba(var(--scrim),.22) 34%,rgba(var(--scrim),.82) 82%,rgba(var(--scrim),.95) 100%),
    linear-gradient(90deg,rgba(var(--scrim),.66) 0%,rgba(var(--scrim),.10) 62%,rgba(var(--scrim),0) 100%);
}
.band__inner{position:relative;width:100%;padding-bottom:clamp(34px,4.6vw,62px)}
.band__row{display:flex;align-items:flex-end;justify-content:space-between;gap:clamp(22px,4vw,56px);flex-wrap:wrap}
.band__eyebrow{
  display:inline-flex;align-items:center;gap:12px;
  font-family:var(--ff-mono);font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;
  color:var(--yellow);margin-bottom:16px;
}
.band__eyebrow::after{content:"";width:clamp(30px,5vw,70px);height:1px;background:rgba(255,255,255,.42)}
.band h2{
  margin:0;color:#fff;max-width:20ch;
  font-size:clamp(27px,4.1vw,58px);line-height:1.02;letter-spacing:-.022em;
}
.band__lead{
  margin-top:16px;max-width:44ch;color:rgba(255,255,255,.78);
  font-size:clamp(13.5px,1.05vw,16.5px);line-height:1.62;
}
.band .btn{flex:none}
.band--racing .band__img{object-position:center 32%}

/* ------------------------------------------------------------
   4. TYPE + SURFACE ADJUSTMENTS FOR THE NEW RHYTHM
   ------------------------------------------------------------ */
h2.display{font-size:clamp(28px,3.5vw,50px)}

/* certs: yellow -> sand, so saturated yellow appears exactly twice */
.certs{background:var(--sand);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}

/* sections that now sit directly under a dark band start tighter */
.band + .prod{padding-top:clamp(44px,5vw,72px)}
.band + .racing{padding-top:clamp(40px,4.6vw,64px)}

/* ------------------------------------------------------------
   5. RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width:1000px){
  :root{--head-h:96px}
  .hero__body{grid-template-columns:1fr;align-items:start}
  .hero__aside{max-width:none}
  .hero--full h1{max-width:none;font-size:clamp(27px,5.4vw,46px)}
  .br-d{display:none}
  .hero__strip .wrap{align-items:flex-start}
  .hero__model{align-items:flex-start;text-align:left}
  .band__row{flex-direction:column;align-items:flex-start}
  .band h2{max-width:none}
}
@media (max-width:720px){
  .hero--full{min-height:clamp(560px,92svh,760px)}
  .hero__cut{gap:14px 24px}
  .hero--full .hero__cut>div{font-size:9px}
  .band{min-height:clamp(380px,58vh,520px)}
  .hero__kicker{font-size:9.5px;letter-spacing:.16em}
}

/* ------------------------------------------------------------
   6. HERO TYPE — full-width poster lines (3 clean lines at 1440)
   ------------------------------------------------------------ */
.hero__body{grid-template-columns:1fr;gap:clamp(16px,2.2vw,30px)}
.hero--full h1{max-width:none;font-size:clamp(30px,3.95vw,56px)}
.hero__under{
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:clamp(20px,3vw,48px);flex-wrap:wrap;
}
.hero__aside{padding-bottom:0}

/* ------------------------------------------------------------
   7. DARK FOOTER — bookends the dark hero
   ------------------------------------------------------------ */
.foot{background:var(--ink);border-top:1px solid rgba(255,255,255,.14);color:#fff}
.foot__top,.foot__nav{border-bottom-color:rgba(255,255,255,.14)}
.foot .brand__bse{color:#fff}
.foot .brand__sub{color:rgba(255,255,255,.5)}
.foot .foot__legal{color:#fff}
.foot .foot__addr{color:rgba(255,255,255,.58)}
.foot .socials a{border-color:rgba(255,255,255,.22);color:rgba(255,255,255,.72)}
.foot .socials a:hover{background:var(--yellow);border-color:var(--yellow);color:var(--ink)}
.foot .wa:hover{box-shadow:4px 4px 0 rgba(255,255,255,.85)}
/* NOTE: scope to .foot — an unscoped .mail rule makes the contact-section
   email block invisible (white text on white paper). */
.foot .mail{background:transparent;border-color:rgba(255,255,255,.32);border-left-color:var(--yellow)}
.foot .mail__ico{color:#fff}
.foot .mail__txt b{color:#fff}
.foot .mail__txt .mono,.foot .mail__go{color:rgba(255,255,255,.5)}
.foot .mail:hover{background:var(--yellow);border-color:var(--yellow)}
.foot .mail:hover .mail__ico,.foot .mail:hover .mail__txt b,.foot .mail:hover .mail__go,.foot .mail:hover .mail__txt .mono{color:var(--ink)}
.foot__talk-lbl{color:rgba(255,255,255,.5)}
.foot__talk-addr{color:rgba(255,255,255,.62)}

.foot__col h3{color:#fff;border-bottom-color:var(--yellow)}
.foot__col li a{color:rgba(255,255,255,.72);border-bottom-color:rgba(255,255,255,.1)}
.foot__col li a span{color:rgba(255,255,255,.42)}
.foot__col li a:hover{color:#fff}
.foot__col li a:hover span{color:rgba(255,255,255,.7)}
.foot__all{color:#fff;border-bottom-color:rgba(255,255,255,.5)}
.foot__all:hover{color:var(--yellow);border-color:var(--yellow)}

.foot__sizes-lbl{color:#fff;border-bottom-color:var(--yellow)}
.foot__chips a{border-color:rgba(255,255,255,.2);color:rgba(255,255,255,.72)}
.foot__chips a::after{color:rgba(255,255,255,.4)}
.foot__chips a:hover{background:var(--yellow);border-color:var(--yellow);color:var(--ink)}
.foot__chips a:hover::after{color:rgba(11,11,12,.7)}

.foot__bar{color:rgba(255,255,255,.45)}
.langs a:hover,.foot__pp:hover{color:#fff;box-shadow:0 1px 0 var(--yellow)}

/* ------------------------------------------------------------
   8. BAND SCRIM — stronger left/bottom so white type holds
   ------------------------------------------------------------ */
.band__scrim{
  background:
    linear-gradient(180deg,rgba(var(--scrim),.30) 0%,rgba(var(--scrim),.14) 30%,rgba(var(--scrim),.72) 74%,rgba(var(--scrim),.94) 100%),
    linear-gradient(90deg,rgba(var(--scrim),.86) 0%,rgba(var(--scrim),.52) 28%,rgba(var(--scrim),.16) 62%,rgba(var(--scrim),0) 100%);
}
.band__img{filter:saturate(.82) contrast(1.06) brightness(.94)}
@media (max-width:1000px){
  .hero--full h1{font-size:clamp(26px,5.6vw,44px)}
  .hero__under{flex-direction:column;align-items:flex-start;gap:18px}
}

/* ------------------------------------------------------------
   9. MOBILE HERO — fit one screen, keep the poster feel
   ------------------------------------------------------------ */
@media (max-width:760px){
  .hero--full{min-height:0;padding-bottom:0}
  .hero__inner{padding-top:calc(var(--head-h) + 26px)}
  .hero--full h1{font-size:clamp(25px,7.4vw,38px);line-height:1.02}
  .hero__kicker{font-size:9px;letter-spacing:.15em;line-height:1.5}
  .hero__cut>div:nth-child(3),
  .hero__cut>div:nth-child(4){display:none}
  .hero__model{display:none}
  .hero__strip{margin-top:22px}
  .hero__strip .wrap{padding-top:14px;padding-bottom:14px;gap:0}
  .hero__sub{font-size:13px}
  .hero__acts{gap:8px}
  .hero__acts .btn{padding:13px 18px;font-size:10.5px}
  .band{min-height:clamp(400px,72vh,560px)}
  .band h2{font-size:clamp(26px,7vw,40px)}
  .band__lead{font-size:13px}
}

/* ------------------------------------------------------------
   10. HEADER — no utility bar, auto-hide on scroll down
   ------------------------------------------------------------ */
:root{--head-h:88px}          /* was 128px while the util bar existed */
.util{display:none}

.nav{
  transition:background .3s var(--ease),border-color .3s var(--ease),
             color .3s var(--ease),transform .38s var(--ease),height .3s var(--ease);
  will-change:transform;
}
.nav.is-hidden{transform:translateY(-101%)}

/* compact language switcher (was an 8-link row in the util bar) */
.lang{position:relative;flex:none}
.lang__btn{
  display:flex;align-items:center;gap:7px;padding:8px 10px;
  font-family:var(--ff-mono);font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;
  color:currentColor;opacity:.72;border:1px solid transparent;
  transition:opacity .2s,border-color .2s;
}
.lang__btn:hover,.lang.open .lang__btn{opacity:1;border-color:currentColor}
.lang.open .lang__btn .caret{transform:rotate(-135deg) translateY(-2px)}

/* 2 x 4 panel: 148px wide, 78px tall — was an 8-row column that hung off screen */
.lang__menu{
  position:absolute;top:calc(100% + 10px);right:0;width:152px;
  display:grid;grid-template-columns:1fr 1fr;gap:1px;
  padding:1px;background:rgba(11,11,12,.16);
  border:1px solid var(--ink);
  box-shadow:0 14px 30px rgba(11,11,12,.22);
  opacity:0;visibility:hidden;transform:translateY(6px);
  transition:opacity .18s var(--ease),transform .18s var(--ease),visibility .18s;
  z-index:5;
}
/* NOTE: no :focus-within here. Clicking the trigger leaves it focused, and
   :focus-within would keep the panel visible after the toggle removed .open —
   the menu could be opened but never closed. */
.lang.open .lang__menu{opacity:1;visibility:visible;transform:none}
.lang__menu a{
  background:var(--white);padding:9px 0;text-align:center;
  font-family:var(--ff-mono);font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--ink-2);transition:background .15s,color .15s;
}
.lang__menu a:hover{background:var(--sand);color:var(--ink)}
.lang__menu a.is-on{background:var(--yellow);color:var(--ink);font-weight:500}
/* keep the ink frame in every state — the white cells already separate from the video */
.nav.over .lang__menu{background:rgba(11,11,12,.16)}
@media (max-width:1100px){.lang{display:none}}

/* nav out of flow: the compact state must not shift the page by 22px */
.nav{position:fixed;top:0;left:0;right:0}
.hero--full{margin-top:0;padding-top:var(--head-h)}
section[id],footer[id]{scroll-margin-top:96px}
/* keyboard focus must stay visible now that :focus-within is gone */
.lang__btn:focus-visible{outline:2px solid var(--yellow);outline-offset:2px}

/* Small type can't rely on the veil alone once the video is allowed to stay
   bright: a soft shadow keeps it readable without darkening the picture. */
.hero__kicker,.hero--full h1,.hero__sub{text-shadow:0 2px 16px rgba(6,6,7,.62),0 1px 3px rgba(6,6,7,.45)}
.hero__kicker{color:rgba(255,255,255,.94);text-shadow:0 2px 16px rgba(6,6,7,.92),0 1px 4px rgba(6,6,7,.8)}

/* "OFF-ROAD" must never break at the hyphen — the browser was splitting it
   into OFF- / ROAD and pushing the headline to four lines. */
.hero--full h1 .nw{white-space:nowrap}

/* strip is now a flat 4-cell data bar — spread it instead of leaving a hole
   where the lone "MODEL" callout used to sit */
.hero--full .hero__cut{width:100%;justify-content:space-between;gap:clamp(14px,2.4vw,38px)}
@media (max-width:760px){
  .hero--full .hero__cut{justify-content:flex-start;gap:16px 26px}
}

/* flex item + auto margins = fit-content, so the hero block was centring on
   its own text width (1159px instead of 1340) and drifted with the headline
   width. Force it to fill the wrap so the strip and the type share one edge. */
.hero__inner{width:100%}

/* the race photo is a true 3:2 frame — cropping it to the 4:3.4 slot sliced the
   event badge in half. Give the lead shot its native ratio. */
.racing__grid .shot--lead{aspect-ratio:3/2}
