/* Canonical site header: mirrors the main-page header across subpages. */
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #0d3316;
  color: #fff;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.announcement {
  margin: 0;
  padding: 8px 16px;
  background: #4a6d5e;
  color: #fff;
  font-size: 12px;
  letter-spacing: .15px;
  text-align: center;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border: 0;
  background: #fffdfc;
  box-shadow: none;
  backdrop-filter: none;
}

.site-header .nav.shell {
  display: flex;
  align-items: center;
  width: min(1380px, calc(100% - 64px));
  height: 108px;
  margin-inline: auto;
  padding: 0;
  gap: 38px;
  color: #0d3316;
}

.site-header .logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.site-header .logo img {
  display: block;
  width: 165px;
  height: auto;
}

.site-header .nav nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 43px;
  flex: 1;
}

.site-header .nav nav a {
  color: #171513;
  font-size: 14px;
  text-decoration: none;
}

.site-header .nav-cta,
.site-header .nav > .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 15px 24px;
  border: 0;
  border-radius: 40px;
  background: #0d3316;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.site-header .menu-button span {
  background: #0d3316;
}

/* Match the compact floating header used by the main page after scrolling. */
.site-header.is-scrolled {
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  pointer-events: none;
}

.site-header.is-scrolled .nav.shell {
  width: min(430px, calc(100% - 32px));
  height: 72px;
  margin: 12px auto 0;
  padding: 0 22px;
  border: 1px solid #eaded9;
  border-radius: 14px;
  background: #fffdfc;
  box-shadow: 0 10px 30px rgba(33, 27, 23, .12);
  pointer-events: auto;
}

.site-header.is-scrolled .logo img {
  width: 118px;
}

.site-header.is-scrolled .nav nav,
.site-header.is-scrolled .menu-button {
  display: none;
}

.site-header.is-scrolled .nav-cta,
.site-header.is-scrolled .nav > .button {
  display: inline-flex;
  margin-left: auto;
  padding: 12px 17px;
  font-size: 11px;
}

@media (min-width: 901px) {
  .site-header .nav nav { display: flex; }
  .site-header .nav-cta,
  .site-header .nav > .button { display: inline-flex; }
  .site-header .menu-button { display: none; }
}

@media (max-width: 900px) {
  .site-header .nav nav,
  .site-header .nav-cta { display: none; }

  .site-header .menu-button { display: flex; }
}

@media (max-width: 600px) {
  .announcement { font-size: 10px; }

  .site-header .nav.shell {
    width: min(100% - 32px, 1380px);
    height: 76px;
    gap: 12px;
  }

  .site-header .logo img { width: 128px; }

  .site-header.is-scrolled .nav.shell {
    width: min(330px, calc(100% - 32px));
    height: 62px;
    margin-top: 8px;
    padding: 0 14px;
  }

  .site-header.is-scrolled .logo img { width: 118px; }

  .site-header.is-scrolled .nav-cta {
    padding: 10px 14px;
    font-size: 10px;
  }

  .site-header .nav > .button {
    min-height: 42px;
    margin-left: auto;
    padding: 10px 14px;
    font-size: 11px;
  }
}
