.site-header {
  background: var(--navy);
  color: #fff;
  border-bottom: 3px solid var(--cyan);
}

.site-header .nav {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding-block: 10px;
}

.site-header .brand {
  font-weight: 900;
  text-decoration: none;
}

.site-header .brand span { color: var(--cyan); }

.site-header .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 16px;
}

.site-header .nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #fff;
  font-size: .76rem;
  font-weight: 800;
  text-decoration: none;
}

.site-header .nav-links a:hover,
.site-header .nav-links a[aria-current="page"] {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-header .nav-links .nav-cta {
  border: 1px solid var(--lime);
  padding: 5px 12px;
}

.site-header:has(.nav-more[open]) {
  position: relative;
  z-index: 21;
}

.nav-more {
  position: relative;
}

.nav-more summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  list-style: none;
  cursor: pointer;
  color: #fff;
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.nav-more summary::-webkit-details-marker { display: none; }

.nav-more summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-more summary:hover,
.nav-more[open] summary { color: var(--cyan); }

.nav-more-links {
  position: absolute;
  inset: 100% 0 auto auto;
  width: min(15rem, calc(100vw - 40px));
  max-height: 55vh;
  overflow: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--navy);
  border-top: 3px solid var(--cyan);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}

.site-header .nav-links .nav-more .nav-more-links a {
  display: flex;
  padding: 6px 12px;
}

.site-header a:focus-visible,
.site-header summary:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .site-header .nav { align-items: flex-start; }
  .site-header .nav-links { position: relative; width: 100%; }
  .site-header .nav-links a { min-height: 44px; }
  .nav-more { position: static; }
  .nav-more summary { min-height: 44px; }
}
