:root {
  --ink: #17212a;
  --paper: #f7f6f1;
  --yellow: #ffe000;
}

.site-header {
  top: 24px;
  left: 48px;
  right: 48px;
  height: 56px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  padding: 0;
  gap: 28px;
  color: var(--ink);
  background: none;
  border: 0;
}

.site-header .brand { gap: 10px; font-size: 20px; letter-spacing: -.025em; }
.site-header .brand img { height: 44px; }
.site-header .brand small { font-size: 14px; letter-spacing: .02em; margin-top: 3px; font-weight: 600; }
.desktop-nav { display: flex; gap: 24px; margin-left: 0; font-size: 15px; font-weight: 600; }
.desktop-nav > a, .nav-menu > summary { gap: 7px; }
.desktop-nav > a::after, .nav-menu > summary::after { bottom: 7px; height: 2px; }
.header-actions { gap: 14px; font-size: 14px; justify-self: end; }
.header-cta {
  display: inline-flex;
  justify-content: space-between;
  gap: 17px;
  width: 132px;
  height: 44px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--yellow);
  border: 1px solid transparent;
  border-radius: 8px;
}
.header-cta:hover { background: #ffea4c; border-color: transparent; }
.header-cta span { font-size: 22px; }
.menu-toggle { display: none; }
.nav-dropdown { top: calc(100% + 9px); font-size: 15px; font-weight: 400; }
.nav-dropdown > p { font-size: 23px; }

.hero {
  height: 100svh;
  min-height: 740px;
  max-height: 1120px;
  color: #fff;
  background: #d5dce0;
}
.hero-poster { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
:is(.hero-media img, .hero-media video) { object-position: 50% 50%; }
.hero-video { opacity: 0; pointer-events: none; transition: opacity 240ms ease; }
.hero-media[data-video-ready="true"] .hero-video { opacity: 1; }
.hero-shade {
  background:
    linear-gradient(180deg, #f7f6f1c7 0px, #f7f6f1b8 68px, transparent 168px),
    radial-gradient(ellipse 460px 390px at 180px calc(100% - 235px), #11191de6 0%, #11191db3 42%, #11191d66 64%, transparent 100%),
    linear-gradient(0deg, #11191d70 0px, transparent 118px);
}
.hero-copy {
  position: absolute;
  left: var(--gutter);
  bottom: 82px;
  display: grid;
  gap: 16px;
  width: 376px;
}
.hero-heading { position: static; top: auto; left: auto; max-width: none; }
.hero-eyebrow { max-width: none; margin-bottom: 14px; font-size: 14px; font-weight: 600; line-height: 20px; }
.hero h1 { font-size: clamp(60px, 4.444vw, 68px); font-weight: 650; line-height: 1.02; letter-spacing: -.035em; }
.hero-action { position: static; top: auto; bottom: auto; left: auto; right: auto; max-width: none; }
.hero-description { max-width: 340px; margin-bottom: 24px; font-size: 18px; line-height: 27px; }
.hero-cta { width: 248px; min-width: 0; min-height: 52px; padding: 12px 18px; border-radius: 6px; gap: 16px; font-size: 16px; }
.hero-cta svg { width: 20px; height: 20px; }
.hero-next {
  left: auto;
  right: 32px;
  bottom: 24px;
  min-height: 44px;
  padding: 0;
  border: 0;
  gap: 12px;
  justify-content: flex-end;
  font-size: 14px;
  color: #fff;
}
.hero-next span:first-child { max-width: none; }
.scroll-arrow { font-size: 20px; }
.guides-visible .hero-heading, .guides-visible .hero-action { position: relative; }

@media (min-width: 1024px) and (max-width: 1199px) {
  .site-header { left: 32px; right: 32px; gap: 20px; }
  .desktop-nav { gap: 18px; font-size: 14px; }
  .header-actions { gap: 6px; }
  .site-header .brand { font-size: 19px; }
  .header-cta { width: 124px; padding-inline: 13px; }
  :is(.hero-media img, .hero-media video) { object-position: 45% 50%; }
  .hero-copy { width: 340px; bottom: 72px; }
  .hero h1 { font-size: 56px; }
}

@media (max-width: 1023px) {
  .site-header { top: 16px; left: 32px; right: 32px; height: 48px; gap: 16px; display: flex; }
  .site-header .brand { font-size: 19px; }
  .site-header .brand img { height: 40px; }
  .desktop-nav, .header-cta { display: none; }
  .header-actions { margin-left: auto; gap: 8px; }
  .menu-toggle { display: flex; width: 44px; height: 44px; justify-content: center; gap: 6px; padding: 10px; border: 0; border-radius: 0; background: none; }
  .menu-toggle span { width: 22px; height: 1.5px; background: var(--ink); }
  .hero { min-height: max(820px, 96vw); max-height: none; }
  :is(.hero-media img, .hero-media video) {
    object-position: 50% 48%;
    transform: scale(1.12);
    transform-origin: 50% 85%;
  }
  .hero-copy { display: contents; }
  .hero-heading { position: absolute; left: var(--gutter); top: 12.8%; max-width: 490px; color: var(--ink); }
  .hero-eyebrow { font-size: 14px; line-height: 20px; max-width: none; margin-bottom: 14px; }
  .hero h1 { font-size: 56px; line-height: 1.02; }
  .hero-action { position: absolute; left: var(--gutter); right: auto; top: auto; bottom: 106px; width: 340px; max-width: calc(100% - 2 * var(--gutter)); }
  .hero-description { font-size: 18px; line-height: 27px; margin-bottom: 24px; }
  .hero-cta { width: 280px; min-width: 0; }
  .hero-shade {
    background:
      linear-gradient(180deg, #f7f6f1bf 0%, #f7f6f1b8 28%, transparent 36%),
      linear-gradient(0deg, #121719bf 0%, #121719ad 31%, transparent 43%);
  }
  .hero-next { bottom: 22px; right: 32px; font-size: 14px; }
  .guides-visible .hero-heading, .guides-visible .hero-action { position: absolute; }
}

@media (max-width: 599px) {
  .site-header { top: 12px; left: 24px; right: 24px; height: 52px; }
  .site-header .brand { font-size: 18px; gap: 8px; }
  .site-header .brand img { height: 36px; }
  .site-header .brand small { font-size: 12px; margin-top: 2px; }
  .header-actions { gap: 0; }
  .language { width: 38px; font-size: 13px; }
  .hero { min-height: 740px; }
  :is(.hero-media img, .hero-media video) {
    object-position: 75% 50%;
    transform: none;
  }
  .hero-heading { top: 108px; left: 24px; right: 24px; max-width: none; }
  .hero-heading .hero-eyebrow { display: block; font-size: 14px; font-weight: 600; line-height: 20px; margin-bottom: 14px; }
  .hero h1 { font-size: 46px; line-height: 47px; }
  .hero-action { left: 24px; right: 24px; bottom: 120px; width: auto; max-width: none; }
  .hero-description { font-size: 17px; line-height: 25px; margin-bottom: 24px; max-width: 320px; }
  .hero-cta { width: 280px; max-width: 100%; min-height: 52px; padding: 12px 18px; font-size: 16px; }
  .hero-next { right: 24px; bottom: 24px; font-size: 12px; }
}

@media (max-width: 599px) and (max-height: 730px) {
  .hero { min-height: 680px; }
  .hero-heading { top: 96px; }
  .hero h1 { font-size: 43px; line-height: 44px; }
  .hero-action { bottom: 76px; }
}

@media (max-width: 359px) {
  .site-header { top: 10px; left: 20px; right: 20px; height: 50px; }
  .site-header .brand { font-size: 17px; }
  .site-header .brand img { height: 34px; }
  .site-header .brand small { font-size: 11px; }
  .language { width: 30px; }
  .hero { min-height: 640px; }
  .hero-heading { top: 84px; left: 20px; right: 20px; }
  .hero-heading .hero-eyebrow { font-size: 12px; line-height: 18px; margin-bottom: 14px; }
  .hero h1 { font-size: 40px; line-height: 41px; }
  .hero-action { left: 20px; right: 20px; bottom: 78px; }
  .hero-description { font-size: 16px; line-height: 23px; margin-bottom: 20px; }
  .hero-cta { width: 248px; min-height: 48px; padding: 12px 16px; font-size: 15px; }
  .hero-next { right: 20px; bottom: 0; font-size: 11px; }
  .hero-shade {
    background:
      linear-gradient(180deg, #f7f6f1bf 0px, #f7f6f1b8 202px, transparent 226px),
      linear-gradient(0deg, #121719bf 0%, #121719ad 31%, transparent 43%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; transition: none; }
}

/* Portrait source is composed for this hero: preserve the whole car. */
@media (max-width:1023px){
 :is(.hero-media img,.hero-media video){object-position:50% 50%;transform:none}
 .hero-action{bottom:62px}
 .hero-description{font-size:16px;line-height:23px;margin-bottom:16px}
 .hero-shade{background:linear-gradient(180deg,#f7f6f1d9 0%,#f7f6f1a8 28%,transparent 40%),linear-gradient(0deg,#121719d9 0%,#121719a3 18%,transparent 33%)}
}
@media (max-width:599px) and (max-height:730px){.hero-action{bottom:48px}.hero-next{bottom:14px}}

@media(min-width:1024px){.hero{max-height:none;min-height:max(740px,42vw)}}
@media(min-width:1024px) and (max-width:1199px){:is(.hero-media img,.hero-media video){object-position:100% 50%}}
@media(min-width:1024px) and (min-aspect-ratio:2/1){:is(.hero-media img,.hero-media video){object-position:50% 75%}}

@media(min-width:1024px) and (max-width:1199px){
 .hero{height:100svh;min-height:740px;max-height:800px}
 :is(.hero-media img,.hero-media video){object-position:50% 50%}
 .hero-copy{left:32px;width:230px}.hero h1{font-size:44px}
 .hero-description{font-size:16px;line-height:24px;max-width:245px}
 .hero-cta{width:240px}
}

/* Fit the complete portrait width; extend only sky/road under the overlays. */
@media(max-width:1023px){
 .hero{min-height:max(740px,156vw)}
 .hero-media{background:linear-gradient(#f7f6f1 0%,#f7f6f1 35%,#758087 63%,#283239 100%)}
 :is(.hero-media img,.hero-media video){inset:auto 0;top:50%;width:100%;height:auto;transform:translateY(-50%);object-fit:contain;mask-image:linear-gradient(transparent,#000 8%,#000 91%,transparent);-webkit-mask-image:linear-gradient(transparent,#000 8%,#000 91%,transparent)}
}
@media(max-width:599px) and (max-height:730px){.hero{min-height:max(680px,156vw)}}

.hero-media[data-video-ready="true"] .hero-poster{visibility:hidden}

/* Same approved moving scene, reframed for a full-car mobile composition. */
@media(max-width:1023px){:is(.hero-media img,.hero-media video){inset:auto;top:50%;left:50%;width:150%;max-width:none;height:auto;transform:translate(-65%,-50%);object-fit:contain}}
