/* ACH branding: original artwork, with explicit dimensions to avoid layout shifts. */
.ach-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  max-width: 100%;
  color: #083344;
  text-decoration: none;
}
.ach-brand__logo {
  display: block;
  width: 80px;
  height: 80px;
  max-width: 100%;
  object-fit: contain;
  background: #fff;
  flex-shrink: 0;
}
.ach-brand__name {
  font-family: "Noto Serif", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}
.ach-brand:focus-visible,
.ach-site-nav button:focus-visible,
.ach-site-nav a:focus-visible {
  outline: 3px solid #00779b;
  outline-offset: 5px;
}
.ach-site-nav {
  box-sizing: border-box;
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 12px 32px;
  gap: 0 24px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 4px 24px rgba(8, 51, 68, .08);
  backdrop-filter: blur(20px);
}
.ach-site-nav #nav-menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: auto;
  margin: 0;
  padding: 0;
  gap: 24px;
}
.ach-site-nav #nav-menu a { white-space: nowrap; }
.ach-site-nav #mobile-menu-btn { display: none; }
.ach-brand--footer {
  width: fit-content;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
}
.ach-brand--footer .ach-brand__logo { width: 144px; height: 144px; }
.ach-brand--footer:focus-visible { outline-color: #56f5f8; }
html { scroll-padding-top: 124px; }
#home { padding-top: 124px; }
@media (max-width: 1199px) {
  .ach-site-nav { padding: 12px 24px; }
  .ach-site-nav #mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border: 0;
    background: transparent;
    color: #083344;
    cursor: pointer;
  }
  .ach-site-nav #nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 12px;
    padding: 12px 0;
    max-height: calc(100dvh - 140px);
    overflow-y: auto;
  }
  .ach-site-nav #nav-menu.flex { display: flex; }
  .ach-site-nav #nav-menu a { padding: 10px 0; }
  .ach-site-nav #nav-menu > div {
    border-left: 0;
    padding-left: 0;
    margin-top: 4px;
  }
  .ach-site-nav #nav-menu button { min-width: 44px; min-height: 44px; }
}
@media (max-width: 599px) {
  .ach-site-nav { padding: 10px 16px; gap: 0 12px; }
  .ach-brand { gap: 12px; }
  .ach-brand__logo { width: 64px; height: 64px; }
  .ach-brand__name { font-size: 16px; }
  .ach-brand--footer .ach-brand__logo { width: 128px; height: 128px; }
  html { scroll-padding-top: 104px; }
  #home { padding-top: 104px; }
}

/* Blend the header logo into the navigation background */
.ach-site-nav .ach-brand__logo {
  background: transparent;
}

.ach-brand--footer {
  background: transparent;
  padding: 0;
}

.ach-brand--footer .ach-brand__logo {
  background: transparent;
  filter: brightness(0) invert(1);
}