body {
  --header-height: 105px;
  --header-ease: cubic-bezier(.16, .84, .24, 1);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 64px;
  z-index: 9999;
  background: transparent;
  mix-blend-mode: difference;
  transition: transform .4s var(--header-ease), background .35s var(--header-ease), box-shadow .35s var(--header-ease);
}

.site-header:has(.nav-list.mobile-open) {
  mix-blend-mode: normal;
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 220px;
  height: auto;
  line-height: 0;
  position: relative;
  z-index: 100;
  flex-shrink: 0;
}

.lsa-lead-logo {
  display: block;
  width: 220px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  transition: filter .35s ease, opacity .35s ease;
}

.header-dark .lsa-lead-logo,
.header-pink .lsa-lead-logo {
  filter: brightness(0) invert(1);
}

.header-light .lsa-lead-logo {
  filter: brightness(0);
}

.site-nav {
  margin-left: auto;
  margin-right: 24px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-right: 54px;
}

.nav-list a {
  position: relative;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-white);
  letter-spacing: .02em;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--color-white);
  transition: width .3s ease;
}

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after {
  width: 100%;
}
.locale-btn {
  position: relative;
  overflow: hidden;
  width: auto;
  height: 44px;
  padding: 0 22px;
  border-radius: 50px;
  background: #000;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: transform .3s ease, color .3s ease;
  flex-shrink: 0;
  isolation: isolate;
  mix-blend-mode: normal;
}

.locale-btn:hover {
  color: #fff;
  transform: translateY(-2px);
}

.locale-text {
  position: relative;
  z-index: 2;
  font-size: 19px;
  font-weight: 700;
}

.background-hover {
  position: absolute;
  inset: 0;
  background: var(--color-near-black);
  border-radius: 50px;
  transform: translateY(100%);
  transition: transform .45s var(--header-ease);
  z-index: 1;
}



.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  background: transparent;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--color-white);
  transition: transform .3s ease, opacity .3s ease;
}

.hamburger[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

@media (max-width: 1200px) {
  .site-header { padding: 0 35px; }
  .nav-list { gap: 35px; margin-right: 25px; }
}

@media (max-width: 992px) {
  body { --header-height: 80px; }
  .site-header { padding: 0 24px; }
  .logo, .lsa-lead-logo { width: 160px; }
  .locale-btn { display: none; }
  .hamburger { display: flex; position: relative; z-index: 10001; }
  .site-nav { margin: 0; }
  .nav-list {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50vh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding-top: var(--header-height);
    background: var(--color-near-black);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .35s ease, visibility .35s ease, transform .35s ease;
    z-index: 9998;
  }
  .nav-list.mobile-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .nav-list li { flex: 1; display: flex; border-bottom: 1px solid var(--color-white-15); }
  .nav-list a { width: 100%; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 20px; }
}

@media (max-width: 768px) {
  .site-header { height: 72px; padding-left: 20px; padding-right: 20px; }
  .logo, .lsa-lead-logo { width: 145px; }
  .hamburger { width: 30px; height: 24px; align-items: flex-end; justify-content: center; }
  .hamburger span { width: 26px; }
}

@media (max-width: 480px) {
  .site-header { padding-left: 16px; padding-right: 16px; }
  .logo, .lsa-lead-logo { width: 130px; }
}

@media (max-width: 360px) {
  .logo, .lsa-lead-logo { width: 115px; }
  .hamburger span { width: 24px; }
}

/* ===== Header CTA: sits outside the blended header so it stays black/white ===== */
.locale-btn.locale-ghost { visibility: hidden; pointer-events: none; }
.locale-btn.locale-fixed {
  position: fixed;
  top: calc((var(--header-height) - 44px) / 2);
  right: 64px;
  z-index: 10000;
  background: var(--color-black);
  color: var(--color-white);
  mix-blend-mode: normal;
}
.locale-btn.locale-fixed .locale-text { color: var(--color-white); }
.site-header.header-hidden ~ .locale-btn.locale-fixed { transform: translateY(-200%); }
@media (max-width: 992px) { .locale-btn.locale-fixed { display: none; } }
.locale-btn.locale-fixed { height: 44px; padding: 0 22px; border-radius: 50px; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; }
.locale-btn.locale-fixed .locale-text { font-size: 19px; font-weight: 700; }
