/* Shared header geometry for static pages, courses and the pilot. */
html { scrollbar-gutter: stable; scroll-padding-top: 110px; }
.site-header.site-header {
  box-sizing: border-box; position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 86px; min-height: 86px; padding: 0 max(28px, calc((100% - 1180px) / 2));
  background: #f9f7f1; border-bottom: 1px solid rgba(23,32,29,.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
.site-header > .brand { display: block; flex: 0 0 225px; width: 225px; line-height: 0; }
.site-header .brand-logo { display: block; width: 100%; height: auto; aspect-ratio: 300 / 64; }
.site-header > nav { position: static; display: flex; flex-wrap: nowrap; align-items: center; gap: 22px; margin: 0; padding: 0; border: 0; font-size: .88rem; font-weight: 650; }
.site-header > nav a { padding: 10px 0; white-space: nowrap; }
.site-header > nav a:hover { color: #2f6655; }
.site-header > nav a[aria-current="page"] { color: #2f6655; box-shadow: inset 0 -2px 0 #b8ca80; }
.site-header > nav .nav-cta { padding: 11px 18px; margin: 0; background: #103f35; color: white; }
.site-header > nav .nav-cta:hover { background: #2f6655; color: white; }
.site-header > .menu-button { display: none; flex: 0 0 45px; width: 45px; height: 45px; padding: 10px; background: transparent; border: 0; color: #17211e; cursor: pointer; }
.site-header > .menu-button > span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px 0; background: currentColor; }
.site-header .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-header a:focus-visible, .site-header button:focus-visible { outline: 2px solid #2f6655; outline-offset: 4px; }
@media (max-width: 960px) {
  html { scroll-padding-top: 96px; }
  .site-header.site-header { height: 72px; min-height: 72px; gap: 12px; }
  .site-header > .menu-button { display: block; }
  .site-header > nav { display: none; position: absolute; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 4px; padding: 22px 28px 28px; background: #f9f7f1; border-bottom: 1px solid #d3d9d2; max-height: calc(100dvh - 72px); overflow-y: auto; }
  .site-header > nav.open { display: flex; }
  .site-header > nav .nav-cta { margin-top: 8px; text-align: center; }
}
@media (max-width: 640px) {
  .site-header.site-header { padding-inline: 20px; }
  .site-header > .brand { flex-basis: min(218px, calc(100vw - 108px)); width: min(218px, calc(100vw - 108px)); }
}
