html:has(.site-header) {
  scroll-padding-top: 110px;
}
.site-header.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 8;
  padding: 10px 4%;
  gap: clamp(12px, 2vw, 28px);
  background: transparent;
  color: var(--cream);
  text-shadow: 0 1px 5px #000, 0 0 8px #000;
  transition: background-color .22s, backdrop-filter .22s;
}
.site-header.header.is-scrolled {
  background: color-mix(in srgb, var(--cream) 70%, transparent);
  color: var(--ink);
  text-shadow: none;
  backdrop-filter: blur(12px);
}
.site-header.header .brand {
  min-width: 0;
  gap: 10px;
}
.site-header.header .brand img {
  width: 92px;
  height: 78px;
}
.site-header.header .brand span {
  font-size: 19.5px;
}
.site-header.header .brand small {
  margin-top: 4px;
  font-size: 15.4px;
}
.site-header.header nav {
  gap: clamp(12px, 1.5vw, 23px);
}
.site-header .financing-nav {
  position: relative;
}
.site-header .financing-nav-label {
  display: flex;
  align-items: center;
}
.site-header .financing-toggle {
  min-width: 30px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}
.site-header .financing-toggle:focus-visible {
  outline-offset: 0;
}
.site-header .financing-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 245px;
  margin: 0;
  padding: 7px;
  list-style: none;
  border: 1px solid var(--gold);
  border-radius: 12px;
  background: var(--green);
  color: var(--cream);
  text-shadow: none;
  box-shadow: 0 10px 30px #0004;
}
.site-header .financing-menu a {
  display: block;
  padding: 9px 12px;
  border: 0;
  border-radius: 7px;
  white-space: normal;
}
.site-header .financing-menu a:is(:hover, :focus-visible, [aria-current="page"]) {
  background: #ffffff18;
}
.site-header .financing-menu small {
  display: block;
  margin-top: 2px;
  color: var(--cream);
  opacity: .8;
}
.site-header.header .header-cta {
  display: inline-flex;
  gap: 10px;
  min-height: 44px;
  padding: 9px 16px;
  color: var(--green);
  text-shadow: none;
  white-space: nowrap;
}
body > .skip {
  z-index: 20;
}
@media (min-width: 1361px) {
  .site-header.header nav {
    display: flex;
  }
}
@media (max-width: 1360px) {
  .site-header.header {
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .site-header.header .menu {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    appearance: none;
    border: 1px solid #173a2d30;
    border-radius: 999px;
    font-size: 13px;
    margin: 0;
    padding: 8px 13px;
    background: var(--cream);
    color: var(--green);
    text-shadow: none;
  }
  .site-header.header nav {
    display: none;
    position: absolute;
    inset: 100% 4% auto;
    padding: 12px 16px;
    max-height: calc(100dvh - 154px);
    overflow: auto;
    border-radius: 12px 12px 0 0;
    background: var(--green);
    color: var(--cream);
    text-shadow: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    font-size: 15px;
  }
  .site-header.header nav.open {
    display: flex;
    position: static;
    flex: 0 0 100%;
  }
  .site-header .financing-nav-label {
    justify-content: space-between;
  }
  .site-header .financing-toggle {
    min-width: 44px;
  }
  .site-header .financing-menu {
    position: static;
    min-width: 0;
    box-shadow: none;
  }
  .site-header.header .header-cta {
    display: none;
  }
  .site-header.header nav.open + .header-cta {
    display: inline-flex;
  }
}
@media (max-width: 420px) {
  .site-header.header .brand {
    flex: 1;
  }
  .site-header.header .brand img {
    width: 76px;
    height: 70px;
  }
  .site-header.header .brand span {
    font-size: 16.4px;
  }
  .site-header.header .brand small {
    font-size: 13.4px;
  }
}

/* Both cooperatives share equal prominence in the approved header. */
.site-header.header .brand small {
  font-size: inherit;
  font-weight: inherit;
}
@media (min-width: 1361px) {
  .site-header.header .brand { flex-shrink: 0; }
}
