/* Header / Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(233, 242, 229, 0.94);
  color: var(--ink);
  box-shadow: 0 3px 12px rgba(45, 67, 39, 0.06);
  border-bottom: 1px solid rgba(72, 102, 64, 0.08);
  backdrop-filter: blur(10px);
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(226, 237, 221, 0.98);
  box-shadow: 0 6px 16px rgba(45, 67, 39, 0.1);
  border-bottom-color: rgba(72, 102, 64, 0.14);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -16px;
  height: 16px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(226, 237, 221, 0.42) 0%,
    rgba(226, 237, 221, 0) 100%
  );
}

.nav-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: auto;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  text-decoration: none;
}

.brand-logo {
  width: min(220px, 60vw);
  height: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.site-nav a {
  color: #2c4430;
  text-decoration: none;
  font-weight: 600;
  padding: 0.35rem 0.45rem;
  border-radius: 0;
  white-space: normal;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
  text-decoration-color: transparent;
}

.site-nav a:hover {
  color: #2e4820;
  text-decoration-color: currentColor;
}

.site-nav a[aria-current="page"] {
  color: #1f3322;
  text-decoration-color: currentColor;
}

.site-nav a:focus-visible {
  outline: 3px solid #ffffffcc;
  outline-offset: 2px;
}

/* Burger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  position: relative;
}

.nav-toggle .bar {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--primary-green);
  border-radius: 2px;
}

.nav-toggle .bar:nth-child(1) {
  top: 14px;
}

.nav-toggle .bar:nth-child(2) {
  top: 21px;
}

.nav-toggle .bar:nth-child(3) {
  top: 28px;
}

.nav-toggle:focus-visible {
  outline: 3px solid #ffffffcc;
  outline-offset: 3px;
  border-radius: 10px;
}
