/* Equal Access navigation — scoped so the original landing page stays intact. */
.site-header--mega {
  padding: 14px 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: 0;
  box-shadow: none;
}
.site-header--mega .header-inner {
  position: relative;
  min-height: 72px;
  gap: 12px;
  align-items: stretch;
  border: 1px solid rgba(173, 197, 229, .48);
  border-radius: 16px;
  background: linear-gradient(115deg, rgba(255, 255, 255, .76), rgba(243, 248, 255, .58));
  -webkit-backdrop-filter: blur(22px) saturate(155%);
  backdrop-filter: blur(22px) saturate(155%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 7px 28px rgba(25, 66, 119, .055);
}
.site-header--mega .header-shell {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  gap: 27px;
  padding: 8px 12px 8px 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.site-header--mega .wordmark { font-size: 1.8rem; letter-spacing: -1.55px; }
.site-header--mega .desktop-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  margin: 0 0 0 auto;
}
.site-header--mega .nav-menu { position: static; }
.site-header--mega .nav-menu > summary,
.site-header--mega .nav-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  padding: 12px 11px;
  border-radius: 10px;
  color: #263d5a;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  transition: color .18s, background .18s;
}
.site-header--mega .nav-menu > summary::after { display: none; }
.site-header--mega .nav-chevron {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s;
}
.site-header--mega .nav-menu[open] > summary,
.site-header--mega .nav-menu > summary:hover,
.site-header--mega .nav-contact:hover { color: var(--blue); background: #f0f5ff; }
.site-header--mega .nav-menu[open] .nav-chevron { transform: rotate(180deg); }
.site-header--mega .header-action-shell {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  padding: 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.site-header--mega .header-cta {
  margin: 0;
  min-height: 48px;
  gap: 16px;
  padding: 11px 18px;
  border-radius: 9px;
  font-size: .875rem;
  font-weight: 600;
}
.site-header--mega .header-cta:hover { transform: none; box-shadow: none; }
.site-header--mega .header-cta .icon { display: block; width: 18px; height: 18px; }

/* Desktop mega menus */
.site-header--mega .mega-menu {
  position: absolute;
  z-index: 60;
  left: 0;
  top: calc(100% + 12px);
  width: 100%;
  isolation: isolate;
  border: 1px solid #e0e7f1;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 18px 48px #1c3c6617, 0 4px 12px #1c3c6605;
  animation: mega-reveal .18s ease-out;
}
.site-header--mega .mega-menu::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
}
.site-header--mega .mega-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.25fr) minmax(280px, 1fr);
  max-height: calc(100dvh - 132px);
  overflow: auto;
  overscroll-behavior: contain;
  border-radius: 18px;
}
.site-header--mega .mega-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px 30px 0;
}
.site-header--mega .mega-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 1;
  column-gap: 24px;
}
.site-header--mega .mega-column { min-width: 0; }
.site-header--mega .mega-columns--three { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.site-header--mega .mega-columns--three .mega-column + .mega-column { padding-left: 14px; }
.site-header--mega .mega-columns--three .mega-item { gap: 9px; padding-inline: 7px; }
.site-header--mega .mega-columns--three .mega-group-label { margin-left: 7px; }
.site-header--mega .mega-all-services { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; min-height: 44px; margin: -8px 0 17px 7px; color: var(--blue); font-size: 1rem; font-weight: 600; }
.site-header--mega .mega-all-services .icon { width: 18px; height: 18px; }
.site-header--mega .mega-all-services:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-header--mega .mega-item--priority { border: 1px solid #ffd5c5; border-left: 3px solid #ff6b4a; background: #fff1e8; }
.site-header--mega .mega-item--priority .mega-title { color: #155ac1; }
.site-header--mega .mega-menu--compliance .mega-feature { background: #eef3f8; }
.site-header--mega .mega-menu--compliance .mega-feature h2 { color: #10213a; }
.site-header--mega .mega-column + .mega-column {
  border-left: 1px solid #edf1f6;
  padding-left: 22px;
}
.site-header--mega .mega-group-label {
  margin: 0 0 15px 10px;
  color: #63768e;
  font-size: .75rem;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: .07em;
}
.site-header--mega .mega-links { display: grid; gap: 5px; }
.site-header--mega .mega-item {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: start;
  gap: 13px;
  padding: 13px 10px;
  border-radius: 10px;
  transition: background .18s, color .18s;
}
.site-header--mega a.mega-item:hover { background: #f3f7fd; }
.site-header--mega a.mega-item:hover .mega-title { color: var(--blue); }
.site-header--mega .mega-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 27px;
  color: var(--blue);
}
.site-header--mega .mega-icon .icon { width: 23px; height: 23px; stroke-width: 1.6; }
.site-header--mega .mega-item-copy { min-width: 0; }
.site-header--mega .mega-title {
  display: block;
  color: #213b59;
  font-size: .9375rem;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -.15px;
}
.site-header--mega .mega-description {
  display: block;
  margin-top: 5px;
  color: #63758b;
  font-size: .875rem;
  line-height: 1.6;
}
.site-header--mega .mega-external { margin-left: 6px; color: var(--blue); }
.site-header--mega .mega-item--soon { cursor: default; }
.site-header--mega .mega-item--soon .mega-title { color: #536982; }
.site-header--mega .mega-item--soon .mega-icon { color: #71849b; }
.site-header--mega .mega-soon {
  display: inline-block;
  vertical-align: middle;
  margin-left: 7px;
  padding: 0 5px;
  border: 1px solid #e3eaf3;
  border-radius: 4px;
  background: #f6f8fc;
  color: #5c718b;
  font-size: .75rem;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0;
}
.site-header--mega .mega-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding: 20px 4px;
  border-top: 1px solid #e9eef5;
}
.site-header--mega .mega-footer a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-size: .875rem;
  font-weight: 600;
}
.site-header--mega .mega-footer a .icon { width: 18px; height: 18px; }
.site-header--mega .mega-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-header--mega .mega-footer > span { color: #6b7e96; font-size: .75rem; line-height: 1.5; }

/* Section-specific artwork and featured links */
.site-header--mega .mega-feature {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  background: #edf4ff;
  border-left: 1px solid #e3ecfa;
  overflow: hidden;
}
.site-header--mega .mega-feature-art { position: relative; width: 100%; }
.site-header--mega .mega-feature-art img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(#000 77%, transparent 100%);
}
.site-header--mega .mega-feature-copy { position: relative; padding: 0 29px 30px; margin-top: -3px; }
.site-header--mega .mega-eyebrow {
  margin-bottom: 11px;
  color: #41628f;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .075em;
}
.site-header--mega .mega-feature h2 {
  color: #133c74;
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -.8px;
  line-height: 1.15;
}
.site-header--mega .mega-feature-description { margin-top: 15px; color: #4e678a; font-size: .875rem; line-height: 1.7; }
.site-header--mega .mega-feature-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  margin-top: 22px;
  padding: 12px 15px;
  border: 1px solid #d7e4f8;
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.5;
  transition: background .2s, border-color .2s;
}
.site-header--mega .mega-feature-link .icon { width: 18px; height: 18px; }
.site-header--mega .mega-feature-link:hover { border-color: #b5cef1; background: #f7faff; }
.site-header--mega .mega-menu--company { max-width: 1120px; }
.site-header--mega .mega-menu--company .mega-layout { grid-template-columns: minmax(0, 2fr) minmax(290px, 1fr); }
.site-header--mega .mega-menu--solutions { max-width: 1080px; }
.site-header--mega .mega-menu--solutions .mega-layout { grid-template-columns: minmax(0, 2fr) minmax(290px, 1fr); }
.site-header--mega .mega-menu--solutions .mega-columns { grid-template-columns: 1.15fr 1fr; }
.site-header--mega .mega-menu--solutions .mega-feature-art img { max-height: 200px; }
.site-header--mega .mobile-navigation { display: none; }
@keyframes mega-reveal { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1220px) {
  .site-header--mega .header-shell { padding-left: 20px; gap: 18px; }
  .site-header--mega .wordmark { font-size: 1.65rem; }
  .site-header--mega .nav-menu > summary,
  .site-header--mega .nav-contact { padding-inline: 9px; font-size: 1rem; gap: 6px; }
  .site-header--mega .header-cta { padding-inline: 16px; gap: 13px; }
  .site-header--mega .mega-content { padding: 25px 23px 0; }
  .site-header--mega .mega-columns { column-gap: 15px; }
  .site-header--mega .mega-column + .mega-column { padding-left: 15px; }
  .site-header--mega .mega-item { padding: 12px 7px; gap: 10px; }
  .site-header--mega .mega-title { font-size: .875rem; }
  .site-header--mega .mega-footer > span { display: none; }
  .site-header--mega .mega-feature-copy { padding-inline: 23px; }
  .site-header--mega .mega-feature h2 { font-size: 1.65rem; }
}

/* The same navigation becomes a touch-friendly accordion on smaller screens. */
@media (max-width: 1200px) {
  .site-header--mega { padding: 11px 0; }
  .site-header--mega .header-inner { min-height: 65px; gap: 10px; border-radius: 14px; }
  .site-header--mega .header-shell { padding: 8px 15px 8px 21px; border-radius: 14px; gap: 20px; }
  .site-header--mega .desktop-navigation { display: none; }
  .site-header--mega .header-action-shell { padding: 5px; border-radius: 14px; }
  .site-header--mega .header-cta { min-height: 46px; margin: 0; font-size: .875rem; padding: 10px 17px; gap: 16px; border-radius: 9px; }
  .site-header--mega .wordmark { font-size: 1.75rem; }
  .site-header--mega .mobile-navigation { display: block; margin-left: auto; }
  .site-header--mega .mobile-navigation > summary {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    min-height: 44px;
    border-radius: 8px;
    color: var(--ink);
    transition: background .2s;
  }
  .site-header--mega .mobile-navigation > summary:hover,
  .site-header--mega .mobile-navigation[open] > summary { background: #eef4ff; }
  .site-header--mega .mobile-navigation > summary span { width: 21px; height: 1.5px; background: currentColor; transition: transform .2s; }
  .site-header--mega .mobile-navigation[open] > summary span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .site-header--mega .mobile-navigation[open] > summary span:nth-child(2) { opacity: 0; }
  .site-header--mega .mobile-navigation[open] > summary span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .site-header--mega .mobile-panel {
    position: absolute;
    z-index: 60;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    max-height: calc(100dvh - 113px);
    padding: 8px 24px 24px;
    overflow: auto;
    overscroll-behavior: contain;
    background: #fff;
    border: 1px solid #dfe7f2;
    border-radius: 16px;
    box-shadow: 0 14px 40px #153b6517;
  }
  .site-header--mega .mobile-panel > details { border-bottom: 1px solid #e5ebf4; }
  .site-header--mega .mobile-panel > details > summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    min-height: 57px;
    padding: 16px 0;
    color: #243e60;
    font-size: 1.0625rem;
    font-weight: 600;
  }
  .site-header--mega .mobile-panel > details > summary::after { display: none; }
  .site-header--mega .mobile-plus { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
  .site-header--mega .mobile-plus::before,
  .site-header--mega .mobile-plus::after { content: ""; position: absolute; left: 3px; right: 3px; top: 9px; height: 1.5px; background: var(--blue); }
  .site-header--mega .mobile-plus::after { transform: rotate(90deg); transition: transform .2s; }
  .site-header--mega .mobile-panel > details[open] .mobile-plus::after { transform: rotate(0); }
  .site-header--mega .mobile-panel .mobile-menu-group { display: block; padding: 0 0 16px; }
  .site-header--mega .mobile-group-label { margin: 15px 0 6px 4px; padding: 0; color: #657b95; font-size: .75rem; font-weight: 600; letter-spacing: .045em; line-height: 1.5; }
  .site-header--mega .mobile-panel .mobile-menu-item {
    display: grid;
    grid-template-columns: 25px minmax(0,1fr);
    align-items: start;
    gap: 11px;
    min-height: 46px;
    padding: 11px 7px;
    border-radius: 7px;
  }
  .site-header--mega .mobile-panel a.mobile-menu-item:hover { background: #f1f6ff; }
  .site-header--mega .mobile-menu-item .mega-title { font-size: .9375rem; font-weight: 500; line-height: 1.65; }
  .site-header--mega .mobile-menu-item .mega-icon { width: 25px; height: 24px; }
  .site-header--mega .mobile-menu-item .mega-icon .icon { width: 20px; height: 20px; }
  .site-header--mega .mobile-panel .mobile-all-link { display: flex; align-items: center; justify-content: flex-start; gap: 12px; width: fit-content; min-height: 44px; margin-top: 10px; padding: 10px 7px; color: var(--blue); font-size: .875rem; font-weight: 600; }
  .site-header--mega .mobile-all-link .icon { width: 18px; height: 18px; }
  .site-header--mega .mobile-contact { display: flex; justify-content: space-between; align-items: center; min-height: 57px; padding: 16px 0; font-size: 1rem; font-weight: 600; }
  .site-header--mega .mobile-contact .icon { width: 20px; height: 20px; color: var(--blue); }
  .site-header--mega .mobile-feature { display: flex; align-items: center; gap: 15px; margin: 6px 0 18px; padding: 9px 15px 9px 0; border: 1px solid #e3edfb; border-radius: 11px; background: #edf4ff; overflow: hidden; }
  .site-header--mega .mobile-feature img { width: 93px; height: 78px; object-fit: cover; mix-blend-mode: multiply; }
  .site-header--mega .mobile-feature > span { flex: 1; }
  .site-header--mega .mobile-feature strong { display: block; color: #234b83; font-size: .9375rem; font-weight: 600; line-height: 1.6; }
  .site-header--mega .mobile-feature > span > span { color: #526e96; font-size: .8125rem; line-height: 1.6; }
  .site-header--mega .mobile-feature > .icon { width: 18px; height: 18px; color: var(--blue); }
  .site-header--mega .mobile-panel > .button { display: flex; width: 100%; margin: 0; font-size: .9375rem; min-height: 52px; }
}
@media (max-width: 620px) {
  .site-header--mega { padding-block: 10px; }
  .site-header--mega .header-inner { min-height: 64px; }
  .site-header--mega .header-shell { padding: 8px 11px 8px 19px; }
  .site-header--mega .header-action-shell { display: none; }
  .site-header--mega .wordmark { font-size: 1.65rem; }
  .site-header--mega .mobile-panel { padding-inline: 18px; max-height: calc(100dvh - 110px); }
  .site-header--mega .mobile-feature { gap: 10px; padding-right: 11px; }
  .site-header--mega .mobile-feature img { width: 76px; height: 78px; }
  .site-header--mega .mobile-feature strong { font-size: .875rem; }
  .site-header--mega .mobile-feature > span > span { font-size: .75rem; }
}
@media (max-width: 370px) {
  .site-header--mega .header-shell { padding-left: 16px; }
  .site-header--mega .mobile-panel { padding-inline: 14px; }
  .site-header--mega .mobile-feature { gap: 8px; }
  .site-header--mega .mobile-feature img { width: 61px; }
  .site-header--mega .mobile-feature > .icon { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header--mega *, .site-header--mega *::before, .site-header--mega *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .site-header--mega .header-inner,
  .site-header--mega .mega-menu, .site-header--mega .mobile-panel,
  .site-header--mega .mega-feature-link { border-color: CanvasText; }
  .site-header--mega .mobile-plus::before, .site-header--mega .mobile-plus::after { background: ButtonText; }
}

/* Preserve readable navigation when transparency effects are unavailable or reduced. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header--mega .header-inner { background: rgba(250, 252, 255, .97); }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header--mega .header-inner { background: #f9fbff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
