.site-header {
  --nav-compact-progress: 0;
  --nav-bg-opacity: calc(1 - (0.25 * var(--nav-compact-progress)));
  --nav-shadow-opacity: calc(0.08 * var(--nav-compact-progress));
  border-bottom: 1px solid rgba(15, 42, 68, 0.1);
  background: rgb(232 220 196 / var(--nav-bg-opacity));
  box-shadow: 0 0.5rem 1.5rem rgb(15 42 68 / var(--nav-shadow-opacity));
  backdrop-filter: blur(0.75rem);
  -webkit-backdrop-filter: blur(0.75rem);
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  transition: transform 0.22s ease;
  will-change: transform;
}

.site-header-spacer {
  height: 0;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-nav {
  --nav-rest-min-height: 11rem;
  --nav-compact-min-height: 7.5rem;
  --nav-rest-logo-height: 10rem;
  --nav-compact-logo-height: 6.25rem;
  --nav-rest-logo-width: 12rem;
  --nav-compact-logo-width: 7.8125rem;
  --site-brand-logo-height: calc(var(--nav-rest-logo-height) + ((var(--nav-compact-logo-height) - var(--nav-rest-logo-height)) * var(--nav-compact-progress)));
  --site-brand-logo-width: calc(var(--nav-rest-logo-width) + ((var(--nav-compact-logo-width) - var(--nav-rest-logo-width)) * var(--nav-compact-progress)));
  width: min(100%, 72rem);
  min-height: calc(var(--nav-rest-min-height) + ((var(--nav-compact-min-height) - var(--nav-rest-min-height)) * var(--nav-compact-progress)));
  margin: 0 auto;
  padding: 0.625rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-sizing: border-box;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 600;
  color: #0f2a44;
  text-decoration: none;
  white-space: nowrap;
}

.site-brand::before {
  content: "";
  width: var(--site-brand-logo-width);
  height: var(--site-brand-logo-height);
  min-width: 3.75rem;
  min-height: 3.75rem;
  flex: 0 0 auto;
  background-image: var(--site-brand-logo-image, url("/images/logos/light-rope/rwd-seal-south-park-light-rope.png?v=20260726-theme-query"));
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.site-brand[aria-current="page"] {
  color: #0f2a44;
}

.site-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
}

.site-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  color: #0f2a44;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.site-link:hover {
  color: #c26a4a;
}

.site-link[aria-current="page"] {
  background: rgba(15, 42, 68, 0.05);
  color: #0f2a44;
  font-weight: 700;
}

.site-link--cta {
  background: #0f2a44;
  color: #e8dcc4;
  padding-left: 1rem;
  padding-right: 1rem;
}

.site-link--cta:hover,
.site-link--cta[aria-current="page"] {
  background: #c26a4a;
  color: #e8dcc4;
}

.footer-admin-link,
.footer-admin-link:link,
.footer-admin-link:visited,
.footer-admin-link:hover,
.footer-admin-link:active,
.footer-admin-link:focus {
  color: inherit;
  cursor: default;
  outline: none;
  text-decoration: none;
}

@media (max-width: 783px) {
  .site-nav {
    --nav-rest-logo-height: 7rem;
    --nav-rest-logo-width: 8.75rem;
    align-items: flex-start;
    flex-direction: column;
    padding: 0.5rem 1rem 0.75rem;
  }

  .site-brand {
    font-size: 1.35rem;
    line-height: 1.75rem;
  }

  .site-links {
    width: 100%;
    justify-content: flex-start;
    gap: 0.35rem;
  }

  .site-link {
    min-height: 2.25rem;
    padding: 0.45rem 0.6rem;
  }

  .site-link--cta {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }
}
