/* Scene edges are painted on media only: no text, hit targets or scroll geometry. */
:root {
  --scene-edge: clamp(80px, 8vw, 152px);
  --scene-space: clamp(40px, 5vw, 80px);
  --scene-ink: #090916;
  --media-edge: min(var(--scene-edge), 8%);
  --scene-media-mask: linear-gradient(to bottom,
    transparent, rgb(0 0 0 / .18) calc(var(--media-edge) * .2),
    rgb(0 0 0 / .62) calc(var(--media-edge) * .5), #000 var(--media-edge),
    #000 calc(100% - var(--media-edge)),
    rgb(0 0 0 / .62) calc(100% - var(--media-edge) * .5),
    rgb(0 0 0 / .18) calc(100% - var(--media-edge) * .2), transparent);
  --scene-bottom-mask: linear-gradient(to bottom, #000 calc(100% - var(--scene-edge)),
    rgb(0 0 0 / .94) calc(100% - var(--scene-edge) * .8),
    rgb(0 0 0 / .64) calc(100% - var(--scene-edge) * .5),
    rgb(0 0 0 / .18) calc(100% - var(--scene-edge) * .2), transparent 100%);
}

/* Homepage: video -> dark editorial content -> daylight artwork -> landscape. */
body[data-page="home"] .hero { background-color: var(--scene-ink); }
body[data-page="home"] :is(.hero-poster, .hero-video) {
  -webkit-mask-image: var(--scene-bottom-mask);
  mask-image: var(--scene-bottom-mask);
}
body[data-page="home"] .hero-shade {
  background: linear-gradient(90deg, rgb(0 0 0 / 56%), rgb(0 0 0 / 10%) 58%, rgb(0 0 0 / 15%)),
    linear-gradient(0deg, transparent 65%, rgb(0 0 0 / 25%));
}
body[data-page="home"] :is(.hima-brand-portfolio, .technology-section, .service-section, .inquiry-section) {
  background-color: var(--scene-ink);
}
body[data-page="home"] .hima-brand-portfolio[data-module] { padding-top: var(--scene-space); padding-bottom: 24px; }
body[data-page="home"] .technology-section[data-module] {
  padding-top: 24px; padding-bottom: 24px;
  background: linear-gradient(var(--scene-ink) calc(100% - var(--scene-edge)), #739bc4);
}
body[data-page="home"] .technology-slide { background-color: var(--scene-ink); }
body[data-page="home"] .technology-slide picture > img {
  -webkit-mask-image: linear-gradient(#000 88%, rgb(0 0 0 / .7) 94%, transparent);
  mask-image: linear-gradient(#000 88%, rgb(0 0 0 / .7) 94%, transparent);
}
body[data-page="home"] .safety-section[data-module] {
  padding: 0;
  background: linear-gradient(#739bc4, #739bc4 20%, #989ca3 85%, #989ca3);
}
body[data-page="home"] .safety-section__frame img {
  /* Printed captions are outside these narrow edge strips. The next scene supplies the longer blend. */
  -webkit-mask-image: linear-gradient(transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(transparent, #000 4%, #000 96%, transparent);
}
body[data-page="home"] .sales-milestone {
  background: linear-gradient(#989ca3, #989ca3 35%, var(--scene-ink) 85%);
  padding-top: clamp(64px, 7vw, 112px);
}
body[data-page="home"] .sales-milestone__background {
  -webkit-mask-image: linear-gradient(transparent, rgb(0 0 0 / .18) calc(var(--scene-edge) * .2),
    rgb(0 0 0 / .64) calc(var(--scene-edge) * .5), #000 var(--scene-edge),
    #000 calc(100% - var(--scene-edge)), transparent);
  mask-image: linear-gradient(transparent, rgb(0 0 0 / .18) calc(var(--scene-edge) * .2),
    rgb(0 0 0 / .64) calc(var(--scene-edge) * .5), #000 var(--scene-edge),
    #000 calc(100% - var(--scene-edge)), transparent);
}
body[data-page="home"] .sales-milestone::before { content: none; }
body[data-page="home"] .sales-milestone::after {
  background: linear-gradient(transparent, rgb(0 0 0 / .12) var(--scene-edge), transparent 60%);
}
body[data-page="home"] .service-section[data-module] { padding-top: var(--scene-space); padding-bottom: 28px; }
body[data-page="home"] .service-card { background-color: var(--scene-ink); }
body[data-page="home"] .service-card > img {
  -webkit-mask-image: var(--scene-media-mask);
  mask-image: var(--scene-media-mask);
}
body[data-page="home"] .site-footer { background: linear-gradient(var(--scene-ink), #050505 100px); border-top-color: transparent; }

/* Brand landing pages: the photo meets the existing black catalogue, without another shadow layer. */
body:is([data-page="maextro"], [data-page="luxeed"], [data-page="stelato"], [data-page="shangjie"], [data-page="aito-m9"])
:is(.maextro-hero, .luxeed-hero, .stelato-hero, .shangjie-hero, .m9-hero) { background-color: #000; }
:is(.maextro-hero, .luxeed-hero, .stelato-hero, .shangjie-hero) > picture > img,
.m9-hero__media {
  -webkit-mask-image: var(--scene-bottom-mask);
  mask-image: var(--scene-bottom-mask);
}
body :is(.maextro-hero, .luxeed-hero, .stelato-hero, .shangjie-hero) > picture::after {
  background: linear-gradient(rgb(0 0 0 / .45), transparent 40%, transparent 70%, rgb(0 0 0 / .12));
}
body :is(.maextro-series, .luxeed-series, .stelato-series, .shangjie-series, .aito-series) {
  min-height: 0;
  padding-top: var(--scene-space);
  padding-bottom: var(--scene-space);
}
body :is(.maextro-series, .luxeed-series, .stelato-series, .shangjie-series, .aito-series) +
:is(.maextro-series, .luxeed-series, .stelato-series, .shangjie-series, .aito-series) { padding-top: 24px; }
body:is([data-page="maextro"], [data-page="luxeed"], [data-page="stelato"], [data-page="shangjie"], [data-page="aito-m9"]) .site-footer {
  background: #000;
  border-top-color: rgb(255 255 255 / .08);
}

/* Manufacturer detail pages: static full-width images only. Retain native light/dark chapter backgrounds.
   Colour selectors, multi-layer cars, pinned scenes and carousel imagery retain their own transitions. */
:is(#m5-new, #m7, #m8, #f2n, #s800, #x6sh, #zunjie-v800-container)
:is(section > picture, .section-header > picture, .images-container > picture, .pic-wrapper > picture,
    .hero-picture-container > picture, .hero-container > picture,
    .pv-content > picture, .exclusive-content > picture, .cockpit-content > picture,
    .battery-content > picture, .perception-content > picture,
    .section-common-img > picture, picture.section-common-img-tf > picture, .guard-1-img-container > picture):not(:where(.swiper *, .swiper-container *, .gallery *, .gallery-container *, .sticky *, .sticky-clip *, .section-modal *, .modal *, .logo *, button *, a *, .picture-maextro, .logo)) > img,
.m9-replica-hero > picture > img,
.m6-hero > picture > img,
.m6-module:not(.m6-module--colour-selector) .m6-module__media > picture > img {
  -webkit-mask-image: var(--scene-media-mask);
  mask-image: var(--scene-media-mask);
}

@media (max-width: 900px) {
  :root { --scene-edge: clamp(28px, 8vw, 64px); --scene-space: 32px; }
  body[data-page="home"] .hero-shade { background: linear-gradient(0deg, var(--scene-ink), transparent 38%); }
  body[data-page="home"] .hero { background-color: #090909; }
  body[data-page="home"] .hima-brand-portfolio[data-module] { background: linear-gradient(#090909, var(--scene-ink) 64px); }
  body[data-page="home"] .sales-milestone { padding-top: 48px; }
  body[data-page="home"] .safety-section__frame img {
    -webkit-mask-image: linear-gradient(transparent, #000 4%, #000 97%, transparent);
    mask-image: linear-gradient(transparent, #000 4%, #000 97%, transparent);
  }
  body :is(.maextro-series, .luxeed-series, .stelato-series, .shangjie-series, .aito-series) +
  :is(.maextro-series, .luxeed-series, .stelato-series, .shangjie-series, .aito-series) { padding-top: 16px; }
}
@media (forced-colors: active) {
  /* Do not dim content in high-contrast mode. */
  body :is(img, video, picture, .hero-poster, .m9-hero__media) { -webkit-mask-image: none !important; mask-image: none !important; }
}
/* M5 opens into a black design chapter; use that tone instead of the page's white default. */
#m5-new > .section-hero { background-color: #000; }


:root {
  color-scheme: dark;
  --ink: #050505;
  --ink-soft: #0d0d0e;
  --panel: #151516;
  --paper: #f2f0eb;
  --paper-soft: #dedbd4;
  --white: #fff;
  --muted: #a8a6a1;
  --line: rgb(255 255 255 / 16%);
  --line-dark: rgb(5 5 5 / 14%);
  --gold: #c9a66b;
  --gold-soft: #e6d3aa;
  --max: 1560px;
  --content: 1280px;
  --header: 68px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --section-space: clamp(100px, 12vw, 210px);
  font-family: Inter, "Noto Sans", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--white); background: var(--ink); overflow-x: clip; text-rendering: optimizeLegibility; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, video { display: block; width: 100%; }
button, input, select, textarea { font: inherit; }
button, select { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
::selection { color: var(--ink); background: var(--gold-soft); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 4px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-height: var(--header);
  padding: 0 clamp(20px, 3.5vw, 72px);
  border-bottom: 1px solid transparent;
  background: rgb(5 5 5 / 0%);
  transition: background .45s ease, border-color .45s ease, backdrop-filter .45s ease;
}

.site-header.is-scrolled,
.site-header:has(.mobile-menu:not([hidden])) {
  background: rgb(5 5 5 / 90%);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand-nav,
.utility-nav { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 30px); }
.brand-nav { justify-self: start; }
.utility-nav { justify-self: end; }
.brand-nav a,
.utility-nav > a,
.locale-control select {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .05em;
  white-space: nowrap;
}
.brand-nav a { display: inline-flex; gap: 5px; align-items: baseline; }
.brand-nav small { color: var(--muted); font-size: 8px; letter-spacing: .09em; }
.brand-nav a:hover small,
.brand-nav a:hover span,
.utility-nav a:hover { color: var(--gold-soft); }

.site-logo {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  place-self: center;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 22%), 0 8px 32px rgb(0 0 0 / 34%);
  transition: transform .35s var(--ease);
}
.site-logo:hover { transform: scale(1.06); }
.site-logo img { width: 100%; height: 100%; object-fit: cover; }

.locale-control select,
.mobile-menu select {
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 7px 18px 7px 0;
  color: var(--white);
  background: transparent;
}
.locale-control option,
.mobile-menu option { color: var(--ink); background: var(--paper); }

.menu-toggle { display: none; }
.mobile-menu { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #090909;
}
.hero-poster,
.hero-video,
.hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-poster img,
.hero-video { height: 100%; object-fit: cover; object-position: center; }
.hero-poster { z-index: -3; }
.hero-video {
  z-index: -2;
  opacity: 0;
  transition: opacity .7s ease;
}
.hero-video.is-ready { opacity: 1; }
.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 62%) 0%, rgb(0 0 0 / 12%) 57%, rgb(0 0 0 / 20%) 100%),
    linear-gradient(0deg, rgb(0 0 0 / 52%) 0%, transparent 35%, rgb(0 0 0 / 30%) 100%);
}
.hero-copy {
  position: absolute;
  left: clamp(24px, 7vw, 140px);
  bottom: clamp(100px, 15vh, 180px);
  max-width: min(690px, 72vw);
}
.eyebrow,
.section-heading > p,
.technology-copy > p,
.company-copy > p {
  margin-bottom: 22px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 13ch;
  margin-bottom: 24px;
  font-size: clamp(48px, 6vw, 104px);
  font-weight: 520;
  line-height: .98;
  letter-spacing: -.055em;
}
.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 38px;
  color: rgb(255 255 255 / 76%);
  font-size: clamp(16px, 1.3vw, 21px);
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s ease, color .3s ease, border-color .3s ease;
}
.button:hover { transform: translateY(-2px); }
.button--light { color: var(--ink); background: var(--paper); }
.button--ghost { border-color: rgb(255 255 255 / 38%); background: rgb(0 0 0 / 12%); backdrop-filter: blur(8px); }
.button--ghost:hover { border-color: var(--white); }
.button--dark { color: var(--white); background: var(--ink); }
.button--primary { color: var(--ink); background: var(--gold-soft); }
.hero-model {
  position: absolute;
  right: clamp(24px, 5vw, 96px);
  bottom: clamp(40px, 6vh, 74px);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.hero-model span { font-size: clamp(30px, 4vw, 72px); font-weight: 280; letter-spacing: -.05em; }
.hero-model small { color: var(--muted); font-size: 10px; letter-spacing: .18em; }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 28px;
  height: 42px;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 18px;
  transform: translateX(-50%);
}
.scroll-cue span { position: absolute; top: 9px; left: 50%; width: 3px; height: 8px; border-radius: 3px; background: var(--white); animation: scroll-cue 1.9s ease infinite; }
@keyframes scroll-cue { 0%, 100% { opacity: .25; transform: translate(-50%, 0); } 50% { opacity: 1; transform: translate(-50%, 13px); } }

.section { position: relative; padding: var(--section-space) clamp(20px, 4vw, 72px); }
.section-heading { width: min(100%, var(--content)); margin: 0 auto clamp(52px, 7vw, 108px); }
.section-heading h2,
.technology-copy h2,
.company-copy h2,
.inquiry-intro h2 {
  max-width: 15ch;
  margin-bottom: 0;
  font-size: clamp(38px, 5.1vw, 82px);
  font-weight: 420;
  line-height: 1.04;
  letter-spacing: -.048em;
}

.hima-brand-portfolio {
  min-height: 100svh;
  padding: clamp(112px, 11vw, 190px) clamp(20px, 5vw, 86px) clamp(90px, 9vw, 150px);
  color: var(--white);
  background: #0b0b1a;
}
.hima-brand-portfolio__header { width: min(100%, 820px); margin: 0 auto clamp(42px, 5vw, 76px); text-align: center; }
.hima-brand-portfolio__header img { width: min(100%, 390px); height: auto; margin: 0 auto 22px; }
.hima-brand-portfolio__header p { margin: 0; color: rgb(255 255 255 / 56%); font-size: clamp(13px, 1vw, 16px); line-height: 1.8; }
.hima-brand-tabs { display: none; }
.hima-brand-cards { display: flex; width: min(100%, 1410px); height: clamp(500px, 36vw, 650px); margin: 0 auto; gap: 18px; }
.hima-brand-card {
  position: relative;
  min-width: 0;
  flex: 1 1 0;
  overflow: hidden;
  border: 0;
  background: #25253c;
  isolation: isolate;
  outline: 0;
  transition: flex .72s var(--ease), transform .45s var(--ease);
}
.hima-brand-card:focus-visible { box-shadow: 0 0 0 2px #fff inset; }
.hima-brand-card.is-active { flex-grow: 2.65; }
.hima-brand-card__video { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .38s ease; }
.hima-brand-card__shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(0deg, rgb(3 3 11 / 76%) 0%, rgb(3 3 11 / 8%) 55%, rgb(3 3 11 / 28%) 100%); opacity: 0; transition: opacity .45s ease; }
.hima-brand-card__identity { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: clamp(32px, 3vw, 52px) 18px; transition: opacity .32s ease, transform .48s var(--ease); }
.hima-brand-card__identity > span { align-self: flex-start; color: rgb(255 255 255 / 35%); font-size: 10px; letter-spacing: .16em; }
.hima-brand-card__identity p { margin: 0; font-size: clamp(21px, 1.8vw, 30px); font-weight: 550; letter-spacing: .18em; }
.hima-brand-card__identity img { width: min(66%, 122px); height: min(48%, 230px); margin: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .78; }
.hima-brand-card__copy { position: absolute; right: clamp(22px, 3vw, 46px); bottom: clamp(28px, 4vw, 55px); left: clamp(22px, 3vw, 46px); opacity: 0; transform: translateY(22px); transition: opacity .32s ease .08s, transform .48s var(--ease) .08s; }
.hima-brand-card__copy p { margin: 0 0 5px; font-size: 16px; letter-spacing: .16em; }
.hima-brand-card__copy h3 { margin: 0 0 5px; font-size: clamp(28px, 3.5vw, 58px); font-weight: 480; letter-spacing: -.035em; }
.hima-brand-card__copy strong { display: block; margin-bottom: 25px; color: rgb(255 255 255 / 68%); font-size: 13px; font-weight: 450; }
.hima-brand-card__copy a { display: inline-block; padding-bottom: 6px; border-bottom: 1px solid rgb(255 255 255 / 65%); font-size: 12px; }
.hima-brand-card.is-active .hima-brand-card__shade { opacity: 1; }
.hima-brand-card.is-active .hima-brand-card__video { opacity: 1; }
.hima-brand-card.is-active .hima-brand-card__identity { opacity: 0; transform: translateY(-18px); }
.hima-brand-card.is-active .hima-brand-card__copy { opacity: 1; transform: none; }

.technology-section { position: relative; min-height: 100svh; overflow: hidden; padding: clamp(78px, 6vw, 96px) 0 28px; background: #090916; color: #fff; }
.technology-heading { position: relative; z-index: 3; margin: 0 auto clamp(24px, 2vw, 32px); text-align: center; }
.technology-heading h2 { margin: 0; font-size: clamp(34px, 3.4vw, 58px); font-weight: 350; letter-spacing: .08em; }
.technology-stage { position: relative; height: min(56.25vw, calc(100svh - 250px), 650px); min-height: 410px; touch-action: pan-y; cursor: grab; }
.technology-stage.is-dragging { cursor: grabbing; }
.technology-slide { position: absolute; top: 0; left: 50%; width: min(61vw, 1160px); height: 100%; overflow: hidden; background: #171727; opacity: 0; transform: translateX(-50%) scale(.86); transition: transform .72s var(--ease), opacity .48s ease; pointer-events: none; }
.technology-slide picture,
.technology-slide img { display: block; width: 100%; height: 100%; }
.technology-slide img { object-fit: cover; }
.technology-section--localized .technology-slide img { object-fit: contain; background: #090916; }
.technology-slide.is-active { z-index: 2; opacity: 1; transform: translateX(-50%) scale(1); pointer-events: auto; }
.technology-slide.is-prev { z-index: 1; opacity: .62; transform: translateX(calc(-150% - 20px)) scale(.94); }
.technology-slide.is-next { z-index: 1; opacity: .62; transform: translateX(calc(50% + 20px)) scale(.94); }
.technology-slide__copy { position: absolute; right: 0; bottom: 0; left: 0; padding: clamp(25px, 4vw, 66px); background: linear-gradient(0deg, rgb(2 3 8 / 86%) 0%, rgb(2 3 8 / 34%) 62%, transparent 100%); }
.technology-slide__copy h3 { margin: 0 0 10px; font-size: clamp(22px, 2vw, 34px); font-weight: 550; }
.technology-slide__copy p { max-width: 60ch; margin: 0; color: rgb(255 255 255 / 65%); font-size: clamp(13px, 1.05vw, 17px); line-height: 1.7; }
.technology-arrow { position: absolute; z-index: 4; top: 50%; width: 42px; height: 42px; border: 0; border-radius: 50%; color: #fff; background: rgb(6 6 14 / 56%); backdrop-filter: blur(10px); transform: translateY(-50%); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.technology-arrow:hover { background: rgb(6 6 14 / 80%); transform: translateY(-50%) scale(1.08); }
.technology-arrow span { display: block; font-size: 31px; font-weight: 200; line-height: 36px; }
.technology-arrow--prev { left: calc(19.5% + 18px); }
.technology-arrow--next { right: calc(19.5% + 18px); }
.technology-dots { display: flex; justify-content: center; gap: 10px; margin-top: clamp(12px, 2vw, 28px); }
.technology-dots button { width: 28px; height: 2px; padding: 0; border: 0; background: rgb(255 255 255 / 28%); cursor: pointer; transition: width .35s ease, background .35s ease; }
.technology-dots button[aria-current="true"] { width: 44px; background: #fff; }

.safety-section {
  display: grid;
  min-height: 100svh;
  padding: clamp(48px, 7vh, 78px) clamp(20px, 6vw, 96px);
  overflow: hidden;
  place-items: center;
  background: #090916;
}
.safety-section__frame {
  width: 100%;
  overflow: hidden;
  aspect-ratio: auto;
}
.safety-section__frame picture { display: block; }
.safety-section__frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.service-section {
  display: grid;
  min-height: 100svh;
  padding: clamp(28px, 4vw, 64px);
  overflow: hidden;
  place-items: center;
  color: #fff;
  background: #090916;
}
.service-layout {
  display: grid;
  grid-template-columns: minmax(300px, .52fr) minmax(0, 1fr);
  gap: clamp(28px, 3vw, 56px);
  width: min(100%, 1720px);
  align-items: stretch;
}
.service-copy {
  display: flex;
  min-width: 0;
  min-height: clamp(560px, 76svh, 780px);
  padding: clamp(16px, 2vw, 36px) 0;
  justify-content: center;
  flex-direction: column;
}
.service-brand {
  margin: 0;
  font-size: clamp(48px, 5vw, 96px);
  font-weight: 620;
  line-height: .94;
  letter-spacing: -.055em;
}
.service-subtitle {
  max-width: 22ch;
  margin: clamp(24px, 3vw, 48px) 0 0;
  font-size: clamp(22px, 2vw, 38px);
  font-weight: 430;
  line-height: 1.22;
  letter-spacing: -.025em;
  color: rgb(255 255 255 / 78%);
}
html[lang="zh-CN"] .service-brand { letter-spacing: .04em; }
html[lang="zh-CN"] .service-subtitle { max-width: none; white-space: nowrap; letter-spacing: .02em; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 22px);
  min-width: 0;
  min-height: clamp(560px, 76svh, 780px);
}
.service-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  background: #11111d;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(0 0 0 / 62%) 0%, rgb(0 0 0 / 10%) 38%, rgb(0 0 0 / 22%) 100%);
}
.service-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .7s cubic-bezier(.2, .65, .3, 1);
}
.service-card h3 {
  max-width: 88%;
  margin: clamp(24px, 3vw, 48px) auto 0;
  font-size: clamp(18px, 1.45vw, 27px);
  font-weight: 560;
  line-height: 1.25;
  text-align: center;
  text-shadow: 0 2px 16px rgb(0 0 0 / 70%);
}
.service-card:hover img { transform: scale(1.035); }

.sales-milestone {
  position: relative;
  display: flex;
  min-height: 100svh;
  padding: clamp(24px, 3vh, 34px) clamp(24px, 6vw, 96px) 48px;
  overflow: hidden;
  isolation: isolate;
  justify-content: center;
  align-items: flex-start;
  color: #fff;
  background: #090916;
}
.sales-milestone__background {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.sales-milestone::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(0 0 0 / 22%) 0%, rgb(0 0 0 / 6%) 48%, transparent 68%);
  pointer-events: none;
}
.sales-milestone__copy {
  width: min(94vw, 1380px);
  text-align: center;
  text-shadow: 0 3px 18px rgb(0 0 0 / 55%);
}
.sales-milestone__brand {
  margin: 0;
  font-size: clamp(54px, 4.6vw, 88px);
  font-weight: 520;
  line-height: .95;
  letter-spacing: .04em;
}
.sales-milestone__statement {
  display: flex;
  margin: clamp(26px, 3.5vh, 40px) 0 0;
  align-items: baseline;
  justify-content: center;
  gap: clamp(12px, 1.4vw, 28px);
  flex-wrap: nowrap;
  font-size: clamp(28px, 2.4vw, 46px);
  font-weight: 500;
  line-height: 1;
}
.sales-milestone__number {
  color: #c8a66a;
  font-size: clamp(88px, 7.2vw, 138px);
  font-weight: 650;
  letter-spacing: -.045em;
}

.inquiry-section {
  display: grid;
  grid-template-columns: minmax(470px, .82fr) minmax(620px, 1.18fr);
  gap: 72px;
  min-height: 100svh;
  padding: 72px clamp(50px, 4vw, 72px) 64px;
  align-items: start;
  color: #f7f7f5;
  background: #090916;
}
.inquiry-intro {
  display: flex;
  min-height: 530px;
  align-self: stretch;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px 0 12px;
}
.inquiry-intro__kicker {
  margin: 0 0 34px;
  color: #caa45b;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .24em;
}
.inquiry-intro__headline {
  display: flex;
  max-width: none;
  margin: 0;
  align-items: flex-start;
  flex-direction: column;
  gap: 30px;
  color: #fff;
  font-size: clamp(40px, 5.2vw, 76px);
  font-weight: 400;
  letter-spacing: 10px;
  line-height: 1.02;
  transform: translateX(-30px);
}
.inquiry-intro__line { display: block; width: max-content; white-space: nowrap; }
.inquiry-intro__index {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgb(255 255 255 / 42%);
  font-size: 11px;
  letter-spacing: .2em;
}
.inquiry-intro__index::before { width: 42px; height: 1px; content: ""; background: rgb(255 255 255 / 28%); }
html[lang="en"] .inquiry-intro__headline,
html[lang="fr"] .inquiry-intro__headline,
html[lang="ru"] .inquiry-intro__headline { gap: 26px; font-size: clamp(36px, 3.15vw, 48px); letter-spacing: .01em; line-height: 1.08; }
html[lang="fr"] .inquiry-intro__headline,
html[lang="ru"] .inquiry-intro__headline { font-size: clamp(34px, 2.85vw, 44px); }
.inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; align-self: center; }
.inquiry-form label:not(.consent):not(.honeypot) { display: grid; gap: 9px; }
.inquiry-form label > span { color: rgb(255 255 255 / 76%); font-size: 12px; font-weight: 500; }
.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-bottom: 1px solid rgb(255 255 255 / 28%);
  border-radius: 0;
  padding: 10px 0;
  color: rgb(255 255 255 / 92%);
  background: transparent;
  outline: 0;
}
.inquiry-form select { color-scheme: dark; }
.inquiry-form select option { color: var(--ink); background: var(--paper); }
.inquiry-form textarea { resize: vertical; }
.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus { border-bottom-color: #caa45b; box-shadow: 0 1px 0 #caa45b; }
.form-wide { grid-column: 1 / -1; }
.consent { display: flex; gap: 12px; align-items: flex-start; color: rgb(255 255 255 / 54%); line-height: 1.55; }
.consent input { width: 18px; min-height: 18px; margin: 2px 0 0; }
.honeypot { position: absolute; left: -10000px; }
.form-submit { display: flex; align-items: center; gap: 20px; }
.form-submit p { margin: 0; color: rgb(255 255 255 / 42%); font-size: 12px; }
.form-submit p.is-error { color: #8a1f1f; }
.form-submit p.is-success { color: #275b39; }
.inquiry-section .button--dark { border-color: #caa45b; color: #090916; background: #caa45b; }

.site-footer { display: grid; grid-template-columns: 1.1fr .8fr .8fr; gap: 60px; padding: clamp(72px, 9vw, 140px) clamp(24px, 6vw, 112px) 42px; border-top: 1px solid var(--line); background: var(--ink); }
.site-footer > div:first-child img { width: 54px; height: 54px; margin-bottom: 22px; border-radius: 50%; }
.site-footer strong,
.site-footer span { display: block; }
.site-footer strong { margin-bottom: 5px; font-size: 15px; letter-spacing: .05em; }
.site-footer span,
.site-footer a,
.site-footer p,
.site-footer small { color: var(--muted); font-size: 12px; line-height: 1.8; }
.site-footer nav,
.footer-contact { display: grid; align-content: start; gap: 10px; }
.site-footer a:hover { color: var(--white); }
.footer-legal { grid-column: 2 / -1; display: flex !important; flex-wrap: wrap; gap: 24px !important; padding-top: 28px; border-top: 1px solid var(--line); }
.site-footer > p { grid-column: 1 / -1; margin: 4px 0 0; max-width: 1200px; }
.site-footer > small { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); }

.reveal-item { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.reveal-item.is-visible { opacity: 1; transform: none; }

.legal-page { min-height: 100svh; color: var(--ink); background: var(--paper); }
.legal-page main { width: min(100% - 40px, 900px); margin: 0 auto; padding: 100px 0; }
.legal-page main > a { display: inline-block; margin-bottom: 70px; font-weight: 800; }
.legal-page h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 430; letter-spacing: -.05em; }
.legal-page p { color: #55534e; font-size: 17px; line-height: 1.8; }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: 1fr auto 1fr; }
  .brand-nav { gap: 12px; }
  .brand-nav small { display: none; }
  .utility-nav { gap: 15px; }
  .hima-brand-cards { gap: 12px; }
  .inquiry-section { grid-template-columns: 1fr; gap: 52px; }
  .inquiry-intro { min-height: 0; gap: 42px; }
}

@media (max-width: 900px) {
  :root { --header: 62px; --section-space: clamp(82px, 22vw, 118px); }
  .site-header { grid-template-columns: 1fr auto 1fr; padding-inline: 18px; }
  .brand-nav,
  .utility-nav { display: none; }
  .site-logo { width: 44px; height: 44px; }
  .menu-toggle {
    display: grid;
    grid-template-columns: auto 18px;
    grid-template-rows: auto auto;
    align-items: center;
    justify-self: end;
    gap: 3px 9px;
    border: 0;
    padding: 8px 0 8px 12px;
    color: var(--white);
    background: transparent;
  }
  .menu-toggle span { grid-row: 1 / 3; font-size: 11px; font-weight: 700; }
  .menu-toggle i { display: block; width: 18px; height: 1px; background: currentColor; transition: transform .3s ease; }
  .menu-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(2px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-2px) rotate(-45deg); }
  .mobile-menu {
    position: fixed;
    inset: var(--header) 0 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 42px 24px max(36px, env(safe-area-inset-bottom));
    overflow-y: auto;
    background: rgb(5 5 5 / 98%);
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu nav { display: grid; gap: 17px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
  .mobile-menu nav a { display: flex; justify-content: space-between; align-items: baseline; font-size: 24px; }
  .mobile-menu nav small { color: var(--muted); font-size: 10px; }
  .mobile-menu > a:not(.button) { font-size: 16px; }
  .mobile-menu .button { margin-top: auto; }

  .hero-shade { background: linear-gradient(0deg, rgb(0 0 0 / 72%) 0%, transparent 65%, rgb(0 0 0 / 30%) 100%); }
  .hero-poster img,
  .hero-video { object-position: center center; }
  .hero-copy { left: 22px; right: 22px; bottom: 105px; max-width: none; }
  .hero h1 { max-width: 12ch; font-size: clamp(42px, 13vw, 68px); }
  .hero-copy > p:not(.eyebrow) { font-size: 15px; line-height: 1.55; }
  .hero-model { top: 92px; right: 20px; bottom: auto; }
  .hero-model span { font-size: 30px; }
  .hero-model small { display: none; }
  .scroll-cue { display: none; }

  .section-heading h2,
  .technology-copy h2,
  .company-copy h2,
  .inquiry-intro h2 { font-size: clamp(38px, 11vw, 58px); }
  .hima-brand-portfolio { min-height: auto; padding: 96px 18px 80px; }
  .hima-brand-portfolio__header { margin-bottom: 38px; }
  .hima-brand-portfolio__header img { width: min(72vw, 330px); }
  .hima-brand-portfolio__header p { font-size: 13px; line-height: 1.75; }
  .hima-brand-tabs { display: grid; grid-template-columns: repeat(5, minmax(64px, 1fr)); width: 100%; margin: 0 auto 14px; overflow-x: auto; scrollbar-width: none; }
  .hima-brand-tabs::-webkit-scrollbar { display: none; }
  .hima-brand-tabs button { min-width: 70px; border: 0; border-bottom: 1px solid rgb(255 255 255 / 18%); padding: 10px 5px 12px; color: rgb(255 255 255 / 48%); background: transparent; }
  .hima-brand-tabs span,
  .hima-brand-tabs small { display: block; }
  .hima-brand-tabs span { margin-bottom: 4px; font-size: 14px; }
  .hima-brand-tabs small { font-size: 8px; letter-spacing: .05em; }
  .hima-brand-tabs button[aria-selected="true"] { border-bottom-color: #fff; color: #fff; }
  .hima-brand-cards { display: block; height: min(132vw, 680px); }
  .hima-brand-card { display: none; width: 100%; height: 100%; }
  .hima-brand-card.is-active { display: block; }
  .hima-brand-card__identity { opacity: 0; }
  .hima-brand-card__shade { opacity: 1; }
  .hima-brand-card__copy { opacity: 1; transform: none; }
  .hima-brand-card__copy h3 { font-size: clamp(38px, 13vw, 60px); }

  .technology-section { min-height: auto; padding: 90px 0 42px; }
  .technology-heading { margin-bottom: 28px; }
  .technology-heading h2 { font-size: clamp(30px, 9vw, 42px); }
  .technology-stage { height: min(118vw, 680px); min-height: 0; }
  .technology-slide { width: calc(100vw - 28px); aspect-ratio: 9 / 12; }
  .technology-slide.is-prev { transform: translateX(calc(-150% - 10px)) scale(.96); }
  .technology-slide.is-next { transform: translateX(calc(50% + 10px)) scale(.96); }
  .technology-slide__copy { padding: 26px 22px; }
  .technology-slide__copy p { font-size: 12px; line-height: 1.65; }
  .technology-arrow { width: 38px; height: 38px; }
  .technology-arrow--prev { left: 22px; }
  .technology-arrow--next { right: 22px; }
  .technology-dots { margin-top: 18px; }
  .safety-section {
    min-height: 100svh;
    padding: 72px 0;
  }
  .safety-section__frame {
    width: 100%;
    overflow: visible;
    aspect-ratio: auto;
  }
  .safety-section__frame img {
    height: auto;
    object-fit: contain;
  }

  .service-section { min-height: auto; padding: 72px 22px; }
  .service-layout { grid-template-columns: 1fr; gap: 42px; }
  .service-copy { min-height: auto; padding: 0; }
  .service-brand { font-size: clamp(46px, 15vw, 72px); }
  .service-subtitle { max-width: 24ch; margin-top: 22px; font-size: clamp(21px, 6vw, 30px); }
  html[lang="zh-CN"] .service-subtitle { white-space: normal; }
  .service-grid { grid-template-columns: 1fr; grid-template-rows: none; min-height: auto; gap: 14px; }
  .service-card { aspect-ratio: 16 / 10; }
  .service-card h3 { margin-top: 28px; font-size: clamp(20px, 5.8vw, 27px); }
  .sales-milestone { min-height: 100svh; padding: 100px 18px 44px; }
  .sales-milestone__background { object-position: 58% center; }
  .sales-milestone__copy { width: 100%; }
  .sales-milestone__brand { font-size: clamp(48px, 14vw, 68px); }
  .sales-milestone__statement { margin-top: 44px; gap: 8px 10px; flex-wrap: wrap; font-size: clamp(17px, 4.8vw, 22px); }
  html[lang="zh-CN"] .sales-milestone__statement { flex-wrap: nowrap; }
  .sales-milestone__number { font-size: clamp(58px, 16vw, 72px); }
  .inquiry-section { display: block; min-height: 0; padding: 46px 24px 50px; }
  .inquiry-intro { min-height: 0; margin-bottom: 70px; gap: 42px; }
  .inquiry-intro__headline { gap: 30px; font-size: 44px; transform: translateX(-20px); }
  html[lang="en"] .inquiry-intro__headline,
  html[lang="fr"] .inquiry-intro__headline,
  html[lang="ru"] .inquiry-intro__headline { gap: 22px; font-size: clamp(31px, 9vw, 38px); }
  .inquiry-intro__line { width: auto; white-space: normal; }
  .inquiry-form { grid-template-columns: 1fr; }
  .form-wide { grid-column: auto; }
  .form-submit { align-items: flex-start; flex-direction: column; }
  .form-submit .button { width: 100%; }

  .site-footer { grid-template-columns: 1fr 1fr; gap: 42px 24px; padding-inline: 22px; }
  .site-footer > div:first-child { grid-column: 1 / -1; }
  .footer-legal { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .button { padding-inline: 16px; font-size: 12px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > div:first-child,
  .footer-legal { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal-item { opacity: 1; transform: none; }
}

/* Content remains usable when scripts or animations are unavailable. */
.hero-copy.reveal-item { opacity: 1; transform: none; }
@media (scripting: none) { .reveal-item { opacity: 1; transform: none; } }

.hero h1 { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 720px) {
 html[lang^="ru"] .hero h1 { max-width: 100%; font-size: clamp(30px, 8.2vw, 48px); line-height: 1.08; letter-spacing: -.025em; }
}

/* Mobile browsing: separate vehicle imagery from copy and keep controls reachable. */
.mobile-locale-control { display: none; }
@media (max-width: 900px) {
  .site-header { grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; background: #090909; }
  .site-logo { justify-self: start; }
  .menu-toggle { min-height: 44px; padding: 10px 0 10px 4px; }
  .mobile-locale-control { display: block; justify-self: end; max-width: 100%; width: 145px; min-height: 44px; border: 0; padding: 8px; background: #090909; color: #fff; font-size: 12px; }
  .mobile-menu { padding: 20px 20px max(24px, env(safe-area-inset-bottom)); gap: 16px; }
  .mobile-menu nav { gap: 4px; padding-bottom: 12px; }
  .mobile-menu nav a { min-height: 48px; align-items: center; font-size: 21px; }
  .mobile-menu > a:not(.button), .mobile-menu select { min-height: 44px; display: flex; align-items: center; }
  .mobile-menu select { width: 100%; font-size: 16px; }
  .mobile-menu .button { flex-shrink: 0; }
  [id] { scroll-margin-top: calc(var(--header) + 18px); }
}
@media (max-width: 720px) {
  .hero[data-module="H01"] { --mobile-visual: clamp(240px, 43svh, 390px); min-height: 0; padding-top: calc(var(--header) + var(--mobile-visual)); overflow: visible; background: #090909; }
  .hero[data-module="H01"] > .hero-poster,
  .hero[data-module="H01"] > .hero-video,
  .hero[data-module="H01"] > .hero-shade { top: var(--header); height: var(--mobile-visual); bottom: auto; }
  .hero[data-module="H01"] > .hero-shade { background: linear-gradient(0deg, #090909 0%, transparent 32%); }
  .hero[data-module="H01"] .hero-copy { position: relative; inset: auto; padding: 20px 22px 36px; max-width: none; }
  html .hero[data-module="H01"] h1 { max-width: none; margin-bottom: 18px; font-size: clamp(29px, 7.6vw, 38px); line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
  .hero[data-module="H01"] .eyebrow { font-size: 10px; line-height: 1.6; letter-spacing: .12em; margin-bottom: 14px; }
  .hero[data-module="H01"] .hero-copy > p:not(.eyebrow) { margin-bottom: 24px; color: #c4c2bd; font-size: 15px; line-height: 1.6; }
  .hero[data-module="H01"] .hero-model { top: calc(var(--header) + 18px); right: 22px; }
  .hero[data-module="H01"] .hero-model span { font-size: 24px; }
  .hero-actions { display: flex; flex-direction: column; gap: 10px; }
  .hero-actions .button { width: 100%; min-height: 48px; font-size: 14px; padding: 12px 20px; }
  .hero-actions a[href="#inquiry"] { order: -1; color: #111; border-color: var(--gold-soft); background: var(--gold-soft); }
  .hero-actions a:not([href="#inquiry"]) { background: transparent; color: #fff; border-color: #4b4a46; }
  .hima-brand-portfolio { padding: 56px 18px; }
  .hima-brand-portfolio__header { margin-bottom: 26px; }
  .hima-brand-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hima-brand-tabs button { min-width: 0; min-height: 54px; padding-inline: 2px; }
  .hima-brand-tabs small { font-size: 8px; letter-spacing: 0; }
  .hima-brand-cards { height: clamp(350px, 108vw, 490px); }
  .hima-brand-card__copy { left: 22px; right: 22px; bottom: 26px; }
  .hima-brand-card__copy h3 { font-size: 38px; overflow-wrap: anywhere; }
  .hima-brand-card__copy a { min-height: 44px; padding: 12px 0; }
  .technology-section { padding-top: 56px; }
  .technology-heading { padding-inline: 20px; }
  .technology-heading h2 { font-size: 30px; overflow-wrap: anywhere; }
  .technology-arrow { width: 44px; height: 44px; }
  .inquiry-section { padding: 48px 22px; }
  .inquiry-intro { margin-bottom: 30px; gap: 22px; }
  .inquiry-intro__kicker { margin-bottom: 20px; }
  html .inquiry-intro__headline { transform: none; gap: 8px; font-size: 30px; line-height: 1.18; letter-spacing: 0; overflow-wrap: anywhere; }
  .inquiry-intro__line { max-width: 100%; }
  .inquiry-form { gap: 22px; min-width: 0; }
  .inquiry-form label { min-width: 0; }
  .inquiry-form input, .inquiry-form select, .inquiry-form textarea { font-size: 16px; min-height: 48px; }
  .inquiry-form .consent input { width: 20px; min-width: 20px; min-height: 20px; }
  .form-submit p.is-error { color: #ffaaaa; }
  .form-submit p.is-success { color: #9cdeb1; }
  .site-footer { padding-top: 42px; padding-bottom: max(28px, env(safe-area-inset-bottom)); gap: 26px; }
  .site-footer a { overflow-wrap: anywhere; }
  .site-footer nav a, .footer-contact a { min-height: 36px; display: flex; align-items: center; }
  .site-footer .social-rail { position: static; inset: auto; transform: none; display: flex; width: max-content; grid-column: 1 / -1; box-shadow: none; border-radius: 0; background: transparent; }
  .site-footer .social-rail__item { width: 48px; height: 48px; border-bottom: 0; }
  .locale-suggestion { max-height: 40svh; overflow-y: auto; }
}

@media (max-width: 900px) {
 .mobile-menu { height: calc(100dvh - var(--header)); bottom: auto; }
}

@media (max-width: 720px) {
 html[lang] .inquiry-intro__headline { display: block; font-size: 28px; line-height: 1.25; letter-spacing: 0; }
 .inquiry-intro__line { display: inline; }
 .inquiry-intro__line::after { content: " "; }
}
@media (max-width: 900px) {
 html:not([lang^="zh"]) .mobile-menu nav small { order: -1; color: #fff; font-size: 18px; }
 html:not([lang^="zh"]) .mobile-menu nav span { color: var(--muted); font-size: 13px; }
}

/* Social controls must not inherit footer text/link layout. */
.site-footer .social-rail { gap: 0; padding: 0; align-content: center; }
.site-footer .social-rail .social-rail__item { display: grid; place-items: center; width: 100%; height: 48px; min-height: 48px; padding: 0; margin: 0; line-height: 1; }
.site-footer .social-rail .social-rail__item svg { display: block; margin: 0; }
@media (max-width: 720px) {
 .site-footer .social-rail .social-rail__item { width: 48px; flex: 0 0 48px; }
}

/* Compact homepage copy, anchored below the navigation and eyebrow. */
@media (min-width: 721px) {
 .hero[data-module="H01"] .hero-copy { top: calc(var(--header) + clamp(36px, 6vh, 72px)); left: clamp(24px, 3.5vw, 72px); right: auto; bottom: auto; width: min(560px, 52vw); max-width: none; }
 html .hero[data-module="H01"] h1 { max-width: none; margin: 0 0 20px; font-size: clamp(36px, 3.2vw, 60px); line-height: 1.12; letter-spacing: -.03em; hyphens: none; overflow-wrap: break-word; word-break: normal; text-wrap: balance; }
 html[lang^="ru"] .hero[data-module="H01"] h1 { font-size: clamp(34px, 2.8vw, 54px); line-height: 1.16; letter-spacing: -.02em; }
 html[lang^="fr"] .hero[data-module="H01"] h1 { font-size: clamp(35px, 3vw, 56px); line-height: 1.16; }
 html[lang^="zh"] .hero[data-module="H01"] h1 { font-size: clamp(38px, 3.4vw, 64px); line-height: 1.22; letter-spacing: 0; }
 .hero[data-module="H01"] .eyebrow { margin-bottom: 16px; font-size: 11px; line-height: 1.6; letter-spacing: .13em; }
 .hero[data-module="H01"] .hero-copy > p:not(.eyebrow) { max-width: 500px; margin-bottom: 26px; font-size: clamp(15px, 1.1vw, 18px); line-height: 1.6; }
}
@media (max-width: 720px) {
 html .hero[data-module="H01"] h1 { font-size: clamp(27px, 7vw, 34px); hyphens: none; }
 html[lang^="ru"] .hero[data-module="H01"] h1 { font-size: clamp(26px, 6.7vw, 32px); line-height: 1.18; }
 html[lang^="zh"] .hero[data-module="H01"] h1 { line-height: 1.25; }
}

/* Compact footer and persistent mobile social links. */
.site-footer { padding: 30px clamp(24px, 5vw, 96px) 18px; gap: 14px clamp(24px, 4vw, 72px); align-items: start; }
.site-footer > div:first-child { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 2px 14px; align-content: start; }
.site-footer > div:first-child img { grid-row: 1 / 3; width: 48px; height: 48px; margin: 0; }
.site-footer > div:first-child strong { margin: 0; align-self: end; }
.site-footer nav:not(.social-rail), .footer-contact { gap: 6px; }
.site-footer .footer-legal { grid-column: 1 / -1; padding-top: 10px; gap: 18px !important; }
.site-footer > p { margin: 0; max-width: none; }
.site-footer > small { padding-top: 10px; }
@media (max-width: 720px) {
 .site-footer { grid-template-columns: minmax(0, 1fr); padding: 24px 64px max(20px, env(safe-area-inset-bottom)) 22px; gap: 12px; }
 .site-footer > div:first-child, .site-footer .footer-legal { grid-column: 1; }
 .site-footer > nav:not(.social-rail) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 14px; }
 .site-footer nav:not(.social-rail) a, .footer-contact a { min-height: 36px; }
 .site-footer .social-rail { position: fixed; top: 50%; right: max(8px, env(safe-area-inset-right)); bottom: auto; left: auto; transform: translateY(-50%); display: grid; grid-template-columns: 44px; grid-template-rows: repeat(3, 44px); width: 46px; gap: 0; border-radius: 12px; background: rgb(9 9 22 / 92%); z-index: 90; }
 .site-footer .social-rail .social-rail__item { width: 44px; height: 44px; min-height: 44px; border-bottom: 1px solid rgb(255 255 255 / 14%); }
 .site-footer .social-rail .social-rail__item:last-child { border-bottom: 0; }
 .hero[data-module="H01"] .hero-copy { padding-right: 64px; }
 .inquiry-section { padding-right: 64px; }
 .hima-brand-card__copy { right: 62px; }
}

/* Let content determine section height; avoid stacked full-screen spacers. */
.hima-brand-portfolio[data-module="H02"] { min-height: 0; padding-top: clamp(40px, 3.5vw, 60px); padding-bottom: 28px; background: #090916; }
.hima-brand-portfolio__header { margin-bottom: 24px; }
.technology-section[data-module="H03"] { min-height: 0; padding-top: 28px; padding-bottom: 20px; }
.technology-heading { margin-bottom: 24px; }
.safety-section[data-module="H04"] { min-height: 0; padding: 12px 0 0; }
.service-section[data-module="H06"] { min-height: 0; padding-top: 36px; padding-bottom: 28px; }
.inquiry-section[data-module="H07"] { min-height: 0; padding-top: 36px; padding-bottom: 28px; }
@media (max-width: 900px) {
 .hima-brand-portfolio[data-module="H02"] { padding-top: 28px; padding-bottom: 20px; }
 .hima-brand-portfolio__header { margin-bottom: 22px; }
 .technology-section[data-module="H03"] { padding-top: 20px; padding-bottom: 16px; }
 .technology-heading { margin-bottom: 20px; }
 .safety-section[data-module="H04"] { padding: 8px 0 0; }
 .service-section[data-module="H06"] { padding-top: 26px; padding-bottom: 22px; }
 .service-layout { gap: 26px; }
 .inquiry-section[data-module="H07"] { padding-top: 26px; padding-bottom: 24px; }
}

/* Four aligned contact rows; LinkedIn is intentionally non-interactive. */
.site-footer .footer-contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; align-content: start; }
.site-footer .footer-contact .footer-contact__row { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 32px; width: fit-content; max-width: 100%; padding: 0; color: #fff; text-decoration: none; }
.footer-contact__row svg { display: block; width: 22px; height: 22px; }
.footer-contact__row > span { overflow-wrap: anywhere; }
.footer-contact__row[data-footer-service="whatsapp"] svg, .footer-contact__row[data-footer-service="tiktok"] svg, .footer-contact__row[data-footer-service="linkedin"] svg { fill: currentColor; }
.site-footer .footer-contact a.footer-contact__row:hover { color: #e0b45a; }
.footer-contact__row:focus-visible { outline: 2px solid #e0b45a; outline-offset: 3px; }
.site-footer .footer-contact .footer-contact__row--inactive { color: rgb(255 255 255 / 60%); cursor: default; }

/* Tighten form rhythm without shrinking input or mobile touch targets. */
.inquiry-section[data-module="H07"] .inquiry-form { row-gap: 20px; }
@media (max-width: 900px) {
 .site-footer .footer-contact .footer-contact__row { min-height: 44px; }
 .inquiry-section[data-module="H07"] .inquiry-form { row-gap: 18px; }
 .inquiry-section[data-module="H07"] .inquiry-intro { margin-bottom: 24px; gap: 18px; }
}

/* Short inquiry: only contact and country are required business fields. */
.inquiry-section.inquiry-section--simple { align-items: start; }
.inquiry-section--simple .inquiry-intro { min-height: 0; align-self: start; justify-content: flex-start; gap: 20px; padding: 0; }
html .inquiry-section--simple .inquiry-intro__headline { font-size: clamp(28px, 2.6vw, 40px); line-height: 1.2; letter-spacing: 0; gap: 0; transform: none; }
.inquiry-section--simple .inquiry-intro__line { width: auto; white-space: normal; }
.inquiry-section--simple .inquiry-intro__kicker { margin-bottom: 14px; }
.inquiry-intro__summary { max-width: 38ch; margin: 14px 0 0; font-size: 15px; line-height: 1.65; color: rgb(255 255 255 / 64%); }
.inquiry-section[data-module="H07"].inquiry-section--simple .inquiry-form { row-gap: 16px; align-self: start; }
.inquiry-section--simple .inquiry-form textarea { min-height: 76px; }
@media (max-width: 1180px) { .inquiry-section.inquiry-section--simple { gap: 28px; } }
@media (max-width: 900px) {
 .inquiry-section[data-module="H07"].inquiry-section--simple .inquiry-intro { margin-bottom: 22px; gap: 12px; }
 .inquiry-section[data-module="H07"].inquiry-section--simple .inquiry-form { row-gap: 14px; }
 .inquiry-section--simple .inquiry-intro__index { display: none; }
}
@media (min-width: 901px) { .inquiry-section.inquiry-section--simple { padding-right: max(80px, 4vw); } }

/* Configurator opens on demand; the homepage downloads no configurator media. */
body.configurator-open { overflow: hidden; }
.configurator-dialog { position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #0c0d0f; color: #f2f0eb; }
.configurator-dialog[open] { display: flex; flex-direction: column; }
.configurator-dialog::backdrop { background: #050505; }
.configurator-dialog__bar { display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; gap: 12px; min-height: 54px; padding: 8px max(20px, env(safe-area-inset-right)) 8px max(20px, env(safe-area-inset-left)); border-bottom: 1px solid #343434; font-size: 13px; }
.configurator-dialog__bar button { min-height: 40px; padding: 8px 14px; border: 1px solid #6a6253; border-radius: 4px; background: transparent; color: inherit; cursor: pointer; white-space: nowrap; }
.configurator-dialog iframe { display: block; border: 0; width: 100%; min-height: 0; flex: 1 1 auto; padding-bottom: env(safe-area-inset-bottom); }
@media (min-width: 901px) and (max-width: 1360px) {
  .utility-nav { gap: 12px; }
  .utility-nav > a, .locale-control select { font-size: 11px; letter-spacing: 0; }
}

/* Static vehicle frames stay visible until complete video buffers can play. */
.hero-video { transition: opacity .8s ease; }
.hero[data-video-state="poster"] .hero-video { opacity: 0; transition: none; }
.hima-brand-card__poster { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.hima-brand-card.is-active .hima-brand-card__poster { opacity: 1; }
.hima-brand-card.is-active .hima-brand-card__video { opacity: 0; z-index: -2; transition: opacity .6s ease; }
.hima-brand-card.is-active .hima-brand-card__video.is-ready { opacity: 1; }
@media (max-width: 900px) {
  .hero[data-module="H01"] { --mobile-visual: clamp(230px, 70vw, 390px); }
}
@media (prefers-reduced-motion: reduce) { .hero-video, .hima-brand-card__video { transition: none; } }

/* Mobile audit: preserve fixed social links without covering carousel actions. */
@media (max-width: 900px) {
  .technology-arrow--next { right: max(72px, calc(env(safe-area-inset-right) + 64px)); }
  .technology-dots { gap: 4px; margin-top: 0; padding-right: 54px; padding-left: 14px; }
  .technology-dots button { width: 44px; height: 44px; flex: 0 0 44px; background: linear-gradient(#ffffff50, #ffffff50) center / 28px 2px no-repeat; }
  .technology-dots button[aria-current="true"] { background: linear-gradient(#fff, #fff) center / 36px 2px no-repeat; }
  .technology-dots button:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: -5px; }
  .m9-detail-localnav a { display: inline-flex; align-items: center; min-height: 44px; }
  .m9-detail-localnav { padding-block: 4px; }
  .technology-slide__copy p { font-size: 14px; line-height: 1.65; color: #d0d0d4; }
  .site-footer .footer-legal { gap: 4px 14px !important; }
  .site-footer > p { font-size: 12px; line-height: 1.6; }
  .site-footer { row-gap: 10px; }
}

.vehicle-inquiry-bar { display: flex; justify-content: center; gap: 12px; padding: 16px 64px 16px 20px; background: #090909; }
.vehicle-inquiry-bar .button { min-height: 44px; text-align: center; }
@media (max-width: 900px) {
  body.has-vehicle-inquiry { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .vehicle-inquiry-bar { position: fixed; z-index: 91; bottom: 0; left: 0; right: 0; padding: 10px 12px max(10px, env(safe-area-inset-bottom)); border-top: 1px solid #ffffff30; gap: 8px; }
  .vehicle-inquiry-bar .button { flex: 1; min-width: 0; padding: 8px; font-size: 12px; line-height: 1.35; }
  .has-vehicle-inquiry [data-chat-launcher], .has-vehicle-inquiry #dify-chatbot-bubble-button { bottom: calc(84px + env(safe-area-inset-bottom)) !important; }
  .has-vehicle-inquiry #dify-chatbot-bubble-window { bottom: calc(144px + env(safe-area-inset-bottom)) !important; max-height: calc(100dvh - 210px) !important; }
  body.menu-open .vehicle-inquiry-bar { display: none; }
}

.legal-language { display: block; margin: 0 0 24px; padding: 10px 12px; min-height: 44px; font-size: 16px; }
.legal-page h1 { overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .legal-page main { padding-block: 32px; }
  .legal-page main > a { margin-bottom: 24px; min-height: 44px; display: inline-flex; align-items: center; }
  .legal-page h1 { font-size: clamp(28px, 7vw, 40px); line-height: 1.2; }
  .technology-stage { height: auto; display: grid; min-height: 0; }
  .technology-slide { position: relative; top: auto; left: auto; grid-area: 1 / 1; align-self: start; margin-inline: auto; height: auto; aspect-ratio: auto; transform: none !important; visibility: hidden; }
  .technology-slide.is-active { visibility: visible; }
  .technology-slide picture { height: clamp(220px, 72vw, 380px); }
  .technology-slide__copy { position: relative; padding: 16px 64px 20px 20px; background: #090916; }
  .technology-slide__copy h3 { font-size: 22px; overflow-wrap: anywhere; }
  .technology-arrow { top: 120px; }
}

.vehicle-inquiry-bar > a.button { background: var(--gold-soft); color: #111; border-color: var(--gold-soft); }
