/* Reference-inspired header for the editable local website only. */
:root {
  --ridge-frame-gutter: 20px;
  --ridge-frame-radius: 16px;
  --ridge-canvas: #e4e9f0;
}
.site-header {
  position: relative;
  z-index: 10;
  padding-block: var(--ridge-frame-gutter) 0;
  background: var(--ridge-canvas);
}
.site-header .header-inner {
  width: calc(100% - var(--ridge-frame-gutter) - var(--ridge-frame-gutter));
  max-width: none;
  min-height: 136px;
  padding: 10px 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border: 0;
  border-radius: var(--ridge-frame-radius);
  background: #fff;
  box-shadow: 0 8px 30px -18px #193c5b25;
}
.site-header .brand { width: 170px; height: 114px; }
.site-header .brand img { width: 204px; height: 204px; left: -17px; top: -49px; }
.site-header .site-nav {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: clamp(24px, 3vw, 44px);
  margin: 0;
  padding: 0;
  width: auto;
}
.site-header .site-nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0;
  font-size: 17px;
  font-weight: 500;
  color: #142e43;
  white-space: nowrap;
  text-decoration: none;
}
.site-header .site-nav > a:hover { color: #0066e5; }
.site-header .site-nav > a[aria-current='page'] { text-decoration: underline; text-underline-offset: 7px; }
.site-header .header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, #006fe8, #0062df);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  box-shadow: 0 9px 22px #0066e51a;
}
.site-header .header-cta:hover { background: #005acb; text-decoration: none; }
.site-header .menu-toggle { display: none; }
.site-header :focus-visible { outline: 3px solid #005bc9; outline-offset: 5px; }
.site-header .header-cta:focus-visible { outline-color: #062338; }

@media (max-width: 1200px) {
  .site-header .header-inner { padding-inline: 28px; gap: 24px; }
  .site-header .site-nav { gap: 26px; }
  .site-header .site-nav > a { font-size: 16px; }
  .site-header .header-cta { min-height: 60px; padding-inline: 22px; gap: 16px; font-size: 16px; }
}
@media (max-width: 1000px) {
  :root { --ridge-frame-gutter: 16px; }
  .site-header .header-inner { display: flex; min-height: 116px; padding: 11px 20px; flex-wrap: wrap; gap: 12px 20px; }
  .site-header .brand { width: 141px; height: 92px; }
  .site-header .brand img { width: 166px; height: 166px; left: -14px; top: -40px; }
  .site-header .header-cta { margin-left: auto; }
  .js .site-header .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 48px;
    min-height: 48px;
    padding: 3px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #142e43;
  }
  .site-header .menu-label { font-size: 10px; line-height: 1; }
  .site-header .menu-icon { width: 20px; height: 12px; border-block: 2px solid currentColor; }
  .site-header .site-nav {
    order: 4;
    width: 100%;
    justify-content: center;
    margin: 0;
    padding: 10px 0 0;
    border-top: 1px solid #e3eaf0;
  }
  .js .site-header .site-nav { display: none; }
  .js .site-header .site-nav.is-open { display: flex; }
}
@media (max-width: 700px) {
  .site-header .header-inner { min-height: 96px; padding: 10px 12px; gap: 8px; }
  .site-header .brand { width: 108px; height: 74px; }
  .site-header .brand img { width: 128px; height: 128px; left: -11px; top: -31px; }
  .site-header .header-cta { min-height: 44px; padding: 10px 13px; gap: 8px; font-size: 11px; }
  .js .site-header .menu-toggle { width: 40px; flex-shrink: 0; }
  .site-header .site-nav { flex-direction: column; align-items: stretch; padding: 8px 4px 0; gap: 0; }
  .site-header .site-nav > a { justify-content: center; min-height: 48px; font-size: 16px; }
}
@media (max-width: 480px) {
  :root { --ridge-frame-gutter: 12px; --ridge-frame-radius: 12px; }
}
@media (max-width: 370px) {
  .site-header .header-inner { min-height: 84px; padding-inline: 10px; column-gap: 6px; }
  .site-header .brand { width: 88px; height: 62px; }
  .site-header .brand img { width: 106px; height: 106px; left: -9px; top: -26px; }
  .site-header .header-cta { font-size: 10px; padding-inline: 10px; }
  .js .site-header .menu-toggle { width: 38px; }
}
