:root {
  --lns-red: #e5231f;
  --lns-black: #090909;
  --lns-white: #ffffff;
  --lns-gray: #9c9ca3;
  --lns-sticky-bg: rgba(255,255,255,.97);
}

.lns-ah-shell,
.lns-ah-shell * { box-sizing: border-box; }

.lns-ah-shell {
  position: relative;
  z-index: 99990;
  width: 100%;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Video-style behavior: transparent over page, solid only after scroll. */
.lns-ah {
  position: fixed;
  z-index: 99991;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--lns-white);
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background-color .4s ease-in-out, color .4s ease-in-out,
              box-shadow .4s ease-in-out, border-color .4s ease-in-out;
}

.lns-ah-shell.is-scrolled .lns-ah {
  color: var(--lns-black);
  background: var(--lns-sticky-bg);
  border-bottom-color: rgba(0,0,0,.07);
  box-shadow: 0 10px 28px rgba(0,0,0,.09);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.lns-ah__inner {
  width: min(1380px, calc(100% - 48px));
  min-height: 94px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  transition: min-height .4s ease-in-out, padding .4s ease-in-out;
}

.lns-ah-shell.is-scrolled .lns-ah__inner { min-height: 70px; }

.lns-ah__brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  flex: 0 1 auto;
}

.lns-ah__logo-stage {
  position: relative;
  display: block;
  width: clamp(190px, 21vw, 285px);
  aspect-ratio: 400 / 150;
}

.lns-ah__logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  transition: opacity .4s ease-in-out, transform .4s ease-in-out;
  pointer-events: none;
}

/* At top use the white logo. On sticky scroll swap to black. */
.lns-ah__logo--light { opacity: 1; transform: translateY(0); }
.lns-ah__logo--dark  { opacity: 0; transform: translateY(4px); }
.lns-ah-shell.is-scrolled .lns-ah__logo--light { opacity: 0; transform: translateY(-4px); }
.lns-ah-shell.is-scrolled .lns-ah__logo--dark  { opacity: 1; transform: translateY(0); }

.lns-ah__desktop {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 30px);
  margin-left: auto;
}

.lns-ah__nav-item { position: relative; display: flex; align-items: center; }

.lns-ah__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit !important;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  transition: color .4s ease-in-out, opacity .25s ease, transform .25s ease;
}

.lns-ah__link:not(.lns-ah__link--cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 6px;
  height: 1px;
  background: var(--lns-red);
  transition: right .3s ease-in-out;
}
.lns-ah__link:not(.lns-ah__link--cta):hover::after,
.lns-ah__link.is-active::after { right: 0; }
.lns-ah__link:hover { transform: translateY(-1px); }

.lns-ah__link--cta {
  min-height: 42px;
  padding: 0 20px;
  color: #fff !important;
  background: var(--lns-red);
  border: 1px solid var(--lns-red);
  border-radius: 999px;
}
.lns-ah__link--cta:hover {
  background: #fff;
  border-color: #fff;
  color: var(--lns-black) !important;
}
.lns-ah-shell.is-scrolled .lns-ah__link--cta:hover {
  background: var(--lns-black);
  border-color: var(--lns-black);
  color: #fff !important;
}

.lns-ah__chevron {
  margin-left: 6px;
  font-size: 14px;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform .25s ease;
}
.lns-ah__nav-item.has-children:hover .lns-ah__chevron,
.lns-ah__nav-item.has-children:focus-within .lns-ah__chevron {
  transform: translateY(-1px) rotate(180deg);
}

.lns-ah__submenu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  padding: 10px;
  background: rgba(10,10,10,.97);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0,0,0,.20);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease, background .4s ease;
}
.lns-ah-shell.is-scrolled .lns-ah__submenu {
  background: rgba(255,255,255,.99);
  border-color: rgba(0,0,0,.09);
}
.lns-ah__nav-item.has-children:hover .lns-ah__submenu,
.lns-ah__nav-item.has-children:focus-within .lns-ah__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lns-ah__submenu a {
  display: block;
  padding: 11px 12px;
  border-radius: 9px;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.lns-ah__submenu a:hover { background: #191919; color: var(--lns-red) !important; transform: translateX(2px); }
.lns-ah-shell.is-scrolled .lns-ah__submenu a { color: #111 !important; }
.lns-ah-shell.is-scrolled .lns-ah__submenu a:hover { background: #f2f2f2; color: var(--lns-red) !important; }

.lns-ah__toggle {
  display: none;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: color .4s ease-in-out, background .25s ease;
}
.lns-ah__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform .35s ease, opacity .25s ease, width .35s ease;
}
.lns-ah__toggle span:nth-child(2) { width: 17px; margin-left: 7px; }
.is-menu-open .lns-ah__toggle { color: #fff; }
.is-menu-open .lns-ah__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.is-menu-open .lns-ah__toggle span:nth-child(2) { opacity: 0; width: 0; }
.is-menu-open .lns-ah__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Red progress line is subtle, not a background gradient. */
.lns-ah__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}
.lns-ah__progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--lns-red);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.lns-ah__drawer {
  position: fixed;
  z-index: 99990;
  inset: 0;
  padding-top: 70px;
  background: rgba(7,7,7,.99);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.lns-ah__drawer[hidden] { display: block !important; }
.is-menu-open .lns-ah__drawer { opacity: 1; visibility: visible; }

.lns-ah__drawer-panel {
  min-height: calc(100dvh - 70px);
  padding: 28px 24px max(30px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}
.lns-ah__drawer-kicker {
  color: var(--lns-gray);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 10px;
  margin-bottom: 18px;
}
.lns-ah__mobile { border-top: 1px solid rgba(255,255,255,.12); }
.lns-ah__mobile-link {
  display: grid;
  grid-template-columns: 42px 1fr 26px;
  align-items: center;
  gap: 10px;
  min-height: 70px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: #fff !important;
  text-decoration: none !important;
}
.lns-ah__mobile-index { color: var(--lns-red); font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.lns-ah__mobile-name { font-size: clamp(23px, 7vw, 38px); font-weight: 750; letter-spacing: -.04em; }
.lns-ah__mobile-arrow { font-size: 18px; color: var(--lns-gray); transition: transform .25s ease, color .25s ease; }
.lns-ah__mobile-link:hover .lns-ah__mobile-arrow { transform: translate(3px,-3px); color: var(--lns-red); }
.lns-ah__mobile-submenu {
  padding: 8px 0 14px 52px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  display: grid;
  gap: 4px;
}
.lns-ah__mobile-submenu a {
  display: block;
  padding: 9px 8px;
  color: #b7b7bc !important;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: 10px;
  font-weight: 700;
}
.lns-ah__mobile-submenu a:hover { color: var(--lns-red) !important; }
.lns-ah__drawer-footer {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--lns-gray);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 10px;
}

body.lns-menu-lock { overflow: hidden !important; }

@media (max-width: 1050px) {
  .lns-ah__desktop { display: none; }
  .lns-ah__toggle { display: flex; }
}

@media (max-width: 767px) {
  .lns-ah__inner,
  .lns-ah-shell.is-scrolled .lns-ah__inner {
    width: calc(100% - 28px);
    min-height: 70px;
    gap: 12px;
  }
  .lns-ah__logo-stage { width: min(215px, calc(100vw - 92px)); }
  .lns-ah__toggle { width: 46px; height: 46px; flex: 0 0 46px; }
  /* Keep the top state actually transparent on phones too. */
  .lns-ah:not(.is-scrolled) { background: transparent; }
}

@media (prefers-reduced-motion: reduce) {
  .lns-ah, .lns-ah *, .lns-ah__drawer { transition: none !important; scroll-behavior: auto !important; }
}
