/* Share the approved homepage navigation across every final-site page. */
.final-site {
  --sd-header-wrap: min(1320px, calc(100% - 96px));
  --sd-header-height: 112px;
}
.final-site > .header {
  --gh-white: #fff;
  --gh-navy-950: #06162c;
  --gh-navy-900: #0a2342;
  --gh-aqua-500: #55d3dc;
  --gh-line: #dbe6e9;
}
.final-site .topbar {
  display: none !important;
}

.final-site .header {
  position: absolute !important;
  inset: 0 0 auto !important;
  z-index: 80;
  height: 112px;
  border: 0 !important;
  background: linear-gradient(180deg, rgba(4, 18, 36, .72), rgba(4, 18, 36, 0)) !important;
  box-shadow: none !important;
  color: var(--gh-white);
  transform: translateY(0);
  transition: height .35s ease, background .35s ease, box-shadow .35s ease, border-radius .35s ease;
}

.final-site .header.scrolled {
  position: fixed !important;
  inset: 24px 0 auto !important;
  width: var(--sd-header-wrap);
  height: 64px;
  margin-inline: auto;
  border-radius: 8px;
  background: rgba(255, 255, 255, .96) !important;
  color: var(--gh-navy-900);
  box-shadow: 0 12px 42px rgba(5, 29, 53, .12) !important;
  backdrop-filter: blur(18px);
}

.final-site .header {
  transition: height .35s ease, background .35s ease, box-shadow .35s ease, border-radius .35s ease, transform .45s cubic-bezier(.22, 1, .36, 1);
}

.final-site .header.gh-header-hidden:not(:focus-within) {
  transform: translateY(calc(-100% - 30px));
  pointer-events: none;
}

.final-site .navwrap {
  width: var(--sd-header-wrap);
  height: 112px;
  gap: clamp(22px, 3vw, 46px);
  transition: height .35s ease;
}

.final-site .header.scrolled .navwrap {
  width: calc(100% - 40px);
  height: 64px;
  gap: 24px;
}

.final-site .header.scrolled .brand {
  min-width: 260px;
  gap: 9px;
}

.final-site .header.scrolled .brand img {
  width: 42px !important;
  height: 42px !important;
  border-radius: 9px;
}

.final-site .header.scrolled .brand-type b {
  font-size: 11px;
}

.final-site .header.scrolled .brand-type small {
  font-size: 7px;
}

.final-site .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 330px;
  color: inherit;
}

.final-site .brand img {
  width: 66px !important;
  height: 66px !important;
  margin: 0 !important;
  border-radius: 15px;
  object-fit: contain !important;
  object-position: center !important;
  clip-path: none !important;
  transform: none !important;
  filter: drop-shadow(0 8px 20px rgba(2, 18, 36, .18));
}

.final-site .brand-type {
  display: grid;
  gap: 1px;
}

.final-site .brand-type b {
  color: var(--gh-white);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
}

.final-site .brand-type small {
  color: rgba(255, 255, 255, .68);
  font-size: 8px;
  line-height: 1.4;
}

.final-site .header.scrolled .brand-type b {
  color: var(--gh-navy-900);
}

.final-site .header.scrolled .brand-type small {
  color: #73869a;
}

.final-site .header nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
  margin-inline: auto;
  font-size: 13px;
  font-weight: 700;
}

.final-site .header nav > a {
  position: relative;
  padding-block: 44px 38px;
  color: rgba(255, 255, 255, .88);
  white-space: nowrap;
  transition: color .25s ease;
}

.final-site .header nav > a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 29px;
  width: 0;
  height: 2px;
  background: var(--gh-aqua-500);
  transition: width .3s ease;
}

.final-site .header nav > a:hover,
.final-site .header nav > a[aria-current="page"] {
  color: var(--gh-white);
}

.final-site .header nav > a:hover::after,
.final-site .header nav > a[aria-current="page"]::after {
  width: 100%;
}

.final-site .header.scrolled nav > a {
  padding-block: 22px 18px;
  color: #284761;
}

.final-site .header.scrolled nav > a:hover,
.final-site .header.scrolled nav > a[aria-current="page"] {
  color: var(--gh-navy-950);
}

.final-site .header.scrolled nav > a::after {
  bottom: 11px;
}

.final-site .navcta {
  display: inline-flex;
  align-items: center;
  gap: 12px !important;
  min-height: 46px;
  padding: 10px 18px !important;
  border: 1px solid rgba(255, 255, 255, .55) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .08) !important;
  color: var(--gh-white) !important;
  font-size: 12px !important;
  box-shadow: none !important;
  backdrop-filter: blur(10px);
}

.final-site .navcta:hover {
  border-color: var(--gh-aqua-500) !important;
  background: var(--gh-aqua-500) !important;
  color: var(--gh-navy-950) !important;
}

.final-site .header.scrolled .navcta {
  min-height: 36px;
  padding-block: 6px !important;
  border-color: var(--gh-aqua-500) !important;
  background: var(--gh-aqua-500) !important;
  color: var(--gh-navy-900) !important;
}

.final-site .navcta .request-icon {
  width: 18px;
  height: 18px;
}

.final-site .menu-toggle {
  color: var(--gh-white) !important;
}

.final-site .header.scrolled .menu-toggle {
  color: var(--gh-navy-900) !important;
}


.final-site:not(.page-home) > .header:not(.scrolled) {
  background: #0a2342 !important;
}
.final-site:not(.page-home) > main {
  padding-top: var(--sd-header-height);
}
@media (max-width: 1220px) {
  .final-site { --sd-header-wrap: min(1120px, calc(100% - 64px)); }
  .final-site .brand {
    min-width: 278px;
  }

  .final-site .brand-type b {
    font-size: 12px;
  }

  .final-site .brand-type small {
    font-size: 7px;
  }

  .final-site .header nav {
    gap: 17px;
    font-size: 12px;
  }

  .final-site .navcta {
    display: none;
  }


}
@media (max-width: 980px) {
  .final-site {
    --sd-header-wrap: min(880px, calc(100% - 48px));
    --sd-header-height: 92px;
  }
  .final-site .header,
  .final-site .navwrap {
    height: 92px;
  }

  .final-site .header.scrolled,
  .final-site .header.scrolled .navwrap {
    height: 64px;
  }

  .final-site .header.scrolled {
    inset: 16px 0 auto !important;
  }

  .final-site .header.scrolled .brand {
    min-width: 0;
  }

  .final-site .brand {
    min-width: 0;
  }

  .final-site .menu-toggle {
    display: block !important;
    margin-inline-start: auto;
    padding: 8px 13px !important;
    border: 1px solid rgba(255,255,255,.46) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.08) !important;
    color: var(--gh-white) !important;
    font-size: 12px;
  }

  .final-site .header.scrolled .menu-toggle {
    border-color: #c7d6dd !important;
    background: var(--gh-white) !important;
    color: var(--gh-navy-900) !important;
  }

  .final-site .header nav {
    position: absolute;
    top: 92px;
    right: 24px;
    left: auto;
    display: none;
    width: min(360px, calc(100vw - 48px));
    height: auto;
    max-height: calc(100svh - 116px);
    align-items: stretch;
    padding: 20px 24px 24px;
    overflow: auto;
    border-top: 3px solid var(--gh-aqua-500);
    background: var(--gh-white);
    box-shadow: 0 24px 60px rgba(4, 24, 45, .2);
  }

  .final-site .header.scrolled nav {
    top: 72px;
    right: 0;
    max-height: calc(100svh - 104px);
    border-radius: 8px;
  }

  .final-site .header nav.open {
    display: flex;
    flex-direction: column;
  }

  .final-site .header nav > a,
  .final-site .header.scrolled nav > a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--gh-line);
    color: var(--gh-navy-900);
  }

  .final-site .header nav > a::after {
    display: none;
  }

  .final-site .header nav > a:not(.mobile-request):is(:hover,[aria-current="page"]) {
    color: var(--gh-navy-900);
  }

  .final-site .header .mobile-request {
    display: block !important;
    margin-top: 12px;
    border: 0;
    border-radius: 999px;
    background: var(--gh-navy-900);
    color: var(--gh-white) !important;
    text-align: center;
  }


}
@media (max-width: 680px) {
  .final-site {
    --sd-header-wrap: calc(100% - 36px);
    --sd-header-height: 82px;
  }
  .final-site .header,
  .final-site .navwrap {
    height: 82px;
  }

  .final-site .header.scrolled,
  .final-site .header.scrolled .navwrap {
    height: 60px;
  }

  .final-site .header.scrolled {
    inset: 12px 0 auto !important;
  }

  .final-site .header.scrolled .navwrap {
    width: calc(100% - 24px);
  }

  .final-site .brand img {
    width: 53px !important;
    height: 53px !important;
    border-radius: 12px;
  }

  .final-site .brand-type {
    display: none;
  }

  .final-site .header nav {
    top: 82px;
    right: 18px;
    width: calc(100vw - 36px);
  }

  .final-site .header.scrolled nav {
    top: 68px;
  }

  /* On the About page, close the gap that exposed scrolling text behind the floating bar. */
  .final-site.sd-about-page .header.scrolled {
    inset: 0 0 auto !important;
    width: 100%;
    border-radius: 0 !important;
    background: #fff !important;
    backdrop-filter: none;
  }
  .final-site.sd-about-page .header.scrolled .navwrap {
    width: calc(100% - 36px);
  }
  .final-site.sd-about-page .header.scrolled nav {
    top: 60px;
    right: 18px;
  }


}
@media (max-height: 480px) and (min-width: 681px) {
  .final-site { --sd-header-height: 64px; }
  .final-site .header, .final-site .navwrap { height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .final-site .header, .final-site .header * { transition: none !important; }
}
.final-site .header.gh-header-hidden:not(:focus-within) {
  transform: translateY(calc(-100% - 30px)) !important;
}
