/* Video-inspired navigation, scoped to the LEMAY header. */
.lemay-site .lrh-header {
  --lrh-red: #bf1e2e;
  --lrh-ink: #292c2c;
  --lrh-muted: #797d7b;
  --lrh-line: #e9e9e5;
  --lrh-height: clamp(96px, 6.5vw, 126px);
  --lrh-admin: 0px;
  --lrh-mega-height: min(490px, calc(100dvh - var(--lrh-height) - var(--lrh-admin) - 40px));
  --lrh-surface-opacity: 0;
  position: sticky;
  top: var(--lrh-admin);
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: clamp(36px, 4.2vw, 82px);
  height: var(--lrh-height);
  padding: 0 4vw;
  color: var(--lrh-ink);
  background: rgba(255, 255, 255, var(--lrh-surface-opacity));
  border: 0;
  box-shadow: 0 1px 0 rgba(41, 44, 44, calc(var(--lrh-surface-opacity) * .08));
  font-family: Instrument, Arial, "Microsoft YaHei", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}
.lemay-site .lrh-header:not(.has-gsap-surface):is(:hover, :focus-within, .is-scrolled, .is-mega-open, .is-menu-open, .is-solid),
.lemay-site .lrh-header:not(.has-gsap-surface):has(details[open]) {
  --lrh-surface-opacity: 1;
}
/* Match the homepage's "From idea to unboxing" blue when the inquiry section is in view. */
.lemay-site .lrh-header.is-contact-target { background: #253c74; color: #fff; box-shadow: 0 1px 0 #ffffff30; }
/* Align the blue section flush with the sticky header after hash navigation. */
.lemay-site .st-inquiry#start-project { scroll-margin-top: -13px; }
.lrh-header *, .lrh-header *::before, .lrh-header *::after { box-sizing: border-box; }
.lemay-site .lrh-header a { color: inherit; text-decoration: none; }
.lrh-header ul { list-style: none; padding: 0; margin: 0; }
.lrh-header li { padding: 0; margin: 0; }
.lrh-header button { font: inherit; cursor: pointer; text-transform: none; letter-spacing: 0; box-shadow: none; }
.lrh-header svg { display: block; width: 24px; height: 24px; flex: none; }
.lemay-site .lrh-header .lrh-logo {
  flex: none;
  display: block;
  width: clamp(144px, 9.8vw, 188px);
  color: var(--lrh-red);
  line-height: 1;
}
.lemay-site .lrh-header .lrh-logo img { display: block; width: 100%; height: auto; max-width: 100%; object-fit: contain; }
.lrh-navigation { align-self: stretch; display: flex; align-items: stretch; }
.lrh-header .lrh-menu { display: flex; align-items: stretch; gap: 0 44px; }
.lrh-header .lrh-item { position: static; display: flex; align-items: center; gap: 3px; }
.lrh-header .lrh-nav-link {
  display: flex; align-items: center; align-self: stretch; position: relative;
  white-space: nowrap; font-size: clamp(17px, 1.25vw, 24px); font-weight: 400;
}
.lrh-header .lrh-nav-link::after {
  content: ""; position: absolute; bottom: 0; inset-inline: 0; height: 3px;
  background: var(--lrh-red); transform: scaleX(0); transform-origin: left center;
  transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.lrh-header .lrh-current > .lrh-nav-link { color: var(--lrh-red); }
.lrh-header .lrh-item:hover > .lrh-nav-link,
.lrh-header .lrh-nav-link:focus-visible,
.lrh-header .lrh-item.is-active > .lrh-nav-link { color: var(--lrh-red); }
.lrh-header .lrh-item:hover > .lrh-nav-link::after,
.lrh-header .lrh-nav-link:focus-visible::after,
.lrh-header .lrh-item.is-active > .lrh-nav-link::after { transform: scaleX(1); }
.lrh-header .lrh-submenu-toggle {
  border: 0; padding: 0; width: 20px; height: 36px; background: transparent; color: inherit;
}
.lrh-header .lrh-submenu-toggle svg { width: 14px; height: 14px; transition: transform .28s; }
.lrh-header .lrh-submenu-toggle[aria-expanded="true"] { color: var(--lrh-red); }
.lrh-header .lrh-submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.lrh-header .lrh-tools { display: flex; align-items: center; gap: clamp(18px,2vw,38px); margin-left: auto; }

/* Keep each label + its optional chevron as one measured navigation unit. */
.lrh-header .lrh-menu { column-gap: 44px; }
.lrh-header .lrh-item { flex: 0 0 auto; gap: clamp(6px, .45vw, 8px); }
.lrh-header .lrh-nav-link, .lrh-header .lrh-submenu-toggle { flex: 0 0 auto; }
.lrh-header details { margin: 0; }
.lrh-header summary { list-style: none; cursor: pointer; }
.lrh-header summary::marker { content: ""; }
.lrh-header summary::-webkit-details-marker { display: none; }
.lrh-header .lrh-language { position: relative; }
.lrh-header .lrh-language > summary {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: clamp(48px,3.3vw,64px); padding: 0 24px; border-radius: 40px;
  color: white; background: var(--lrh-red); font-size: clamp(16px,1.15vw,22px);
  transition: background-color .25s;
}
.lrh-header .lrh-language > summary:hover,
.lrh-header .lrh-language[open] > summary { background: #a21827; }
.lrh-header .lrh-chevron { height: 14px; width: 14px; transition: transform .25s; }
.lrh-header .lrh-language[open] .lrh-chevron { transform: rotate(180deg); }
.lrh-header .lrh-search > summary {
  width: 44px; height: 48px; display: grid; place-items: center; border-radius: 50%;
}
.lrh-header .lrh-search > summary:hover { color: var(--lrh-red); }
.lrh-header .lrh-language-list, .lrh-header .lrh-search-form {
  position: absolute; right: 0; top: calc(100% + 16px); min-width: 195px;
  background: #fff; border: 1px solid var(--lrh-line); border-radius: 12px;
  padding: 10px; box-shadow: 0 18px 45px #20242316; z-index: 8;
}
.lrh-header .lrh-language-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px 16px; font-size: 15px; white-space: nowrap; border-radius: 6px;
}
.lrh-header .lrh-language-list a:hover { background: #f7f5f2; color: var(--lrh-red); }
.lrh-header .lrh-search-form {
  top: calc(100% + 8px); right: 4vw; width: min(480px, calc(100vw - 40px)); padding: 28px;
}
.lrh-header .lrh-search-form label { display: block; font-size: 15px; margin-bottom: 15px; }
.lrh-header .lrh-search-form > div { display: flex; border-bottom: 1px solid #bbb; }
.lrh-header .lrh-search-form input { min-width: 0; flex: 1; padding: 12px 0; border: 0; border-radius: 0; background: #fff; color: var(--lrh-ink); font: inherit; font-size: 15px; }
.lrh-header .lrh-search-form button { width: 44px; border: 0; padding: 0; background: transparent; color: var(--lrh-red); display: grid; place-items: center; }
.lrh-header .lrh-mega-surface {
  position: absolute; inset-inline: 0; top: 100%; height: var(--lrh-mega-height);
  background: #fff; border-top: 1px solid var(--lrh-line); box-shadow: 0 24px 32px #1d282c0e;
  transform: scaleY(0); transform-origin: center top; visibility: hidden; pointer-events: none;
}
.lrh-header .lrh-panel {
  position: absolute; inset-inline: 0; top: 100%; height: var(--lrh-mega-height);
  visibility: hidden; opacity: 0; pointer-events: none; z-index: 2; overflow-y: auto;
  overscroll-behavior: contain;
}
.lrh-header .lrh-panel-inner {
  max-width: 1512px; margin: 0 auto; height: 100%; display: grid;
  grid-template-columns: .8fr 1.2fr; gap: clamp(60px,8vw,150px);
  padding: clamp(26px,2vw,36px) clamp(32px,3vw,58px);
}
.lrh-header .lrh-panel-copy {
  min-width: 0; min-height: 0; width: min(320px, 100%); max-height: 100%;
  align-self: center; justify-self: start; overflow-y: auto; scrollbar-width: thin;
  padding: 6px 12px; text-align: left;
}
.lrh-header .lrh-eyebrow { margin: 0 0 19px; color: var(--lrh-muted); font-size: 10px; letter-spacing: .16em; font-weight: 500; }
.lrh-header .lrh-submenu a {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; min-height: 49px; padding: 8px 0; font-size: clamp(18px,1.15vw,22px);
  font-weight: 400; line-height: 1.6; transition: color .2s;
}
.lrh-header .lrh-submenu a > span { transition: transform .25s; }
.lrh-header .lrh-submenu a > svg { opacity: 0; transform: translateX(-8px); width: 22px; transition: transform .25s, opacity .25s; }
.lrh-header .lrh-submenu a:hover,
.lrh-header .lrh-submenu a:focus-visible,
.lrh-header .lrh-submenu a[aria-current="page"] { color: var(--lrh-red); }
.lrh-header .lrh-submenu a:hover > span,
.lrh-header .lrh-submenu a:focus-visible > span { transform: translateX(6px); }
.lrh-header .lrh-submenu a:hover > svg,
.lrh-header .lrh-submenu a:focus-visible > svg { opacity: 1; transform: translateX(0); }
.lrh-header .lrh-submenu-nested { padding-left: 20px; }
.lrh-header .lrh-submenu-nested a { font-size: 16px; }
.lrh-header .lrh-overview {
  display: inline-flex; align-items: center; gap: 30px; margin-top: 23px;
  padding: 12px 0 8px; border-bottom: 1px solid #d9d9d4; font-size: 13px;
}
.lrh-header .lrh-overview:hover { color: var(--lrh-red); border-color: var(--lrh-red); }
.lrh-header .lrh-overview svg { width: 20px; height: 20px; }
.lrh-header .lrh-feature { display: block; min-width: 0; align-self: center; }
.lrh-header .lrh-feature-image { position: relative; overflow: hidden; border-radius: 23px; background: #f2f1ed; aspect-ratio: 1.84; max-height: calc(var(--lrh-mega-height) - 128px); }
.lrh-header .lrh-feature-image img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.lrh-header .lrh-feature-secondary { opacity: 0; }
.lrh-header .lrh-feature-caption { display: block; padding-top: 18px; color: #4b4f4d; font-size: 15px; line-height: 1.7; }
.lrh-header .lrh-feature-caption > span { display: block; max-width: 46ch; }
.lrh-header .lrh-toggle, .lrh-header .lrh-mobile-footer { display: none; }
.lrh-header:not(.is-enhanced) .lrh-has-mega:hover > .lrh-panel,
.lrh-header:not(.is-enhanced) .lrh-has-mega:focus-within > .lrh-panel { visibility: visible; opacity: 1; pointer-events: auto; background: #fff; }
.lemay-site .lrh-header :is(a,button,summary,input):focus-visible { outline: 2px solid var(--lrh-red); outline-offset: 5px; }
body.admin-bar .lrh-header { --lrh-admin: 32px; }
@media (min-width: 1101px) and (max-height: 760px) {
  .lrh-header .lrh-panel-inner { padding-top: 25px; padding-bottom: 25px; }
  .lrh-header .lrh-submenu a { min-height: 41px; font-size: 18px; }
  .lrh-header .lrh-eyebrow { margin-bottom: 10px; }
  .lrh-header .lrh-overview { margin-top: 10px; }
  .lrh-header .lrh-feature-image { max-height: calc(var(--lrh-mega-height) - 115px); }
}
@media (min-width: 1101px) and (max-width: 1400px) {
  .lemay-site .lrh-header { padding-inline: 3vw; gap: 36px; }
  .lrh-header .lrh-menu { gap: 0 44px; }
  .lrh-header .lrh-nav-link { font-size: 16px; }
  .lrh-header .lrh-tools { gap: 14px; }
  .lrh-header .lrh-language > summary { padding-inline: 18px; font-size: 16px; }
  .lrh-header .lrh-panel-inner { gap: 70px; }
}
@media (max-width: 1100px) {
  .lemay-site .lrh-header { --lrh-height: 78px; gap: 18px; padding: 0 24px; }
  .lemay-site .lrh-header .lrh-logo { width: 132px; }
  .lrh-header .lrh-tools { gap: 10px; margin-left: auto; }
  .lrh-header .lrh-language > summary { height: 42px; padding: 0 14px; gap: 7px; font-size: 14px; }
  .lrh-header .lrh-globe { width: 20px; height: 20px; }
  .lrh-header .lrh-search > summary { width: 38px; height: 44px; }
  .lrh-header .lrh-search > summary svg { width: 22px; height: 22px; }
  .lrh-header.is-enhanced .lrh-toggle {
    display: flex; flex: none; order: 4; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px; padding: 10px; width: 44px; height: 44px; background: transparent; border: 1px solid var(--lrh-line); border-radius: 50%; color: var(--lrh-ink);
  }
  .lrh-header .lrh-toggle span { height: 1.5px; width: 20px; background: currentColor; transform-origin: center; }
  .lrh-header .lrh-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .lrh-header .lrh-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .lrh-header .lrh-navigation {
    position: absolute; inset-inline: 0; top: 100%; padding: 12px 24px 30px;
    display: block; background: white; border-top: 1px solid var(--lrh-line);
    max-height: calc(100dvh - var(--lrh-height) - var(--lrh-admin)); overflow-y: auto; overscroll-behavior: contain;
    box-shadow: 0 24px 32px #1d282c0e;
  }
  .lrh-header.is-enhanced .lrh-navigation { display: none; }
  .lrh-header.is-menu-open .lrh-navigation { display: block; }
  .lrh-header .lrh-menu { display: block; }
  .lrh-header .lrh-item { position: relative; display: block; border-bottom: 1px solid var(--lrh-line); }
  .lrh-header .lrh-nav-link { width: calc(100% - 52px); min-height: 62px; padding: 16px 0; font-size: 19px; }
  .lrh-header .lrh-nav-link::after { display: none; }
  .lrh-header .lrh-submenu-toggle { position: absolute; right: 0; top: 9px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #f7f6f3; }
  .lrh-header .lrh-submenu-toggle svg { width: 18px; height: 18px; }
  .lrh-header .lrh-panel { display: none; position: static; height: auto; max-height: none; overflow: visible; }
  .lrh-header .lrh-item.is-active .lrh-panel,
  .lrh-header:not(.is-enhanced) .lrh-has-mega:focus-within .lrh-panel { display: block; }
  .lrh-header .lrh-mega-surface { display: none; }
  .lrh-header .lrh-panel-inner { display: grid; grid-template-columns: 1fr; gap: 25px; padding: 10px 0 26px; }
  .lrh-header .lrh-panel-copy { overflow: visible; padding: 0; width: 100%; max-height: none; }
  .lrh-header .lrh-eyebrow { font-size: 9px; margin-bottom: 10px; }
  .lrh-header .lrh-submenu a { font-size: 16px; min-height: 44px; }
  .lrh-header .lrh-submenu a > svg { opacity: .45; transform: none; width: 17px; }
  .lrh-header .lrh-overview { margin-top: 12px; }
  .lrh-header .lrh-feature { max-width: 580px; width: 100%; }
  .lrh-header .lrh-feature-image { border-radius: 14px; max-height: none; }
  .lrh-header .lrh-feature-caption { padding-top: 10px; font-size: 13px; }
  .lrh-header .lrh-mobile-footer { display: block; margin-top: 30px; }
  .lrh-header .lrh-mobile-footer > span { display: block; font-size: 9px; letter-spacing: .1em; color: var(--lrh-muted); }
  .lrh-header .lrh-mobile-footer a { display: flex; align-items: center; gap: 18px; font-size: 15px; padding-top: 14px; color: var(--lrh-red); }
  .lrh-header .lrh-search-form { right: 20px; }
}
@media (max-width: 600px) {
  .lemay-site .lrh-header { --lrh-height: 72px; padding-inline: 18px; gap: 8px; }
  .lemay-site .lrh-header .lrh-logo { width: 116px; }
  .lrh-header .lrh-tools { gap: 4px; }
  .lrh-header .lrh-language > summary { padding: 0 12px; gap: 5px; }
  .lrh-header .lrh-chevron { display: none; }
  .lrh-header .lrh-navigation { padding-inline: 22px; }
  body.admin-bar .lrh-header { --lrh-admin: 0px; }
}
@media (min-width: 601px) and (max-width: 782px) { body.admin-bar .lrh-header { --lrh-admin: 46px; } }
@media (max-width: 360px) {
  .lemay-site .lrh-header { padding-inline: 12px; gap: 5px; }
  .lemay-site .lrh-header .lrh-logo { width: 104px; }
  .lrh-header .lrh-language > summary { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) { .lrh-header *, .lrh-header *::after { transition: none !important; } }

.lemay-site .lrh-header.is-contact-target .lrh-logo img { filter: brightness(0) invert(1); }
@media (min-width: 1101px) {
  .lemay-site.lm-factory-home .lrh-header.is-contact-target > .lrh-navigation { color: #fff; }
  .lemay-site .lrh-header.is-contact-target .lrh-current > .lrh-nav-link { color: #fff; }
  .lemay-site .lrh-header.is-contact-target .lrh-item:hover > .lrh-nav-link,
  .lemay-site .lrh-header.is-contact-target .lrh-nav-link:focus-visible { color: #ffd8d6; }
}
@media (max-width: 1100px) {
  .lemay-site .lrh-header.is-contact-target .lrh-toggle { color: #fff; border-color: #ffffff80; }
}
