.site-header {
  --header-margin: clamp(16px, 4vw, 64px);
  --header-rule: oklch(0.88 0.006 250);
  --header-border: oklch(0.79 0.008 250);
  position: relative;
  z-index: 20;
  color: oklch(0.24 0 0);
  background: white;
  border-bottom: 1px solid var(--header-rule);
  font: 500 18px/24px var(--ui-font-heading);
  -webkit-font-smoothing: antialiased;
}
.site-header .top-in {
  display: flex;
  align-items: center;
  gap: 36px;
  width: min(1312px, 100% - 2 * var(--header-margin));
  min-height: 68px;
  margin-inline: auto;
}
.site-header .brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
  font: 600 23px/1 var(--ui-font-mark);
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-decoration: none;
}
.site-header .brand-box { display: block; width: 32px; height: 32px; }
.site-header .top-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
/* Keep the label slots from the approved homepage spacing when the face narrows. */
.site-header .top-nav > * { flex-shrink: 0; }
.site-header .top-nav > :nth-child(1) { width: 72.094px; }
.site-header .top-nav > :nth-child(2) { width: 83.953px; }
.site-header .top-nav > :nth-child(3) { width: 47.359px; }
.site-header .top-nav > :nth-child(4) { width: 71.5px; }
.site-header .top-nav > :nth-child(5) { width: 41.453px; }
.site-header .top-nav > a, .site-header .top-toggle {
  padding: 22px 0 19px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: none;
  color: inherit;
  font: inherit;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.site-header .top-nav > a:hover, .site-header .top-toggle:hover,
.site-header .top-toggle[aria-expanded="true"] { border-bottom-color: var(--header-border); }
.site-header .top-toggle::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 2px 3px 9px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.site-header .top-group { position: relative; }
.site-header .top-panel {
  position: absolute;
  top: 100%;
  left: -12px;
  z-index: 30;
  display: grid;
  align-content: start;
  min-width: 250px;
  padding: 8px;
  background: white;
  border: 1px solid var(--header-border);
  border-radius: 2px;
}
.site-header .top-panel a { padding: 10px 12px; text-decoration: none; }
.site-header .top-panel a:hover { background: oklch(0.96 0 0); }
.site-header .top-panel-2 { grid-template-columns: 1fr 1fr; gap: 8px; width: 500px; }
.site-header .top-panel-2 > div { display: grid; align-content: start; }
.site-header .top-label { padding: 8px 12px 4px; font-size: 13px; color: oklch(0.54 0.01 255); }
.site-header .top-sign {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  width: 45.922px;
  min-height: 44px;
  white-space: nowrap;
  text-underline-offset: 6px;
}
.site-header .top-sign:hover { text-decoration-color: var(--ui-media-ink-gold); text-decoration-thickness: 2px; }
.site-header .top-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 116.828px;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 2px;
  background: white;
  color: inherit;
  box-shadow: inset 0 0 0 1px var(--header-border);
  font: 500 18px/18px var(--ui-font-heading);
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.site-header .top-cta:hover { background: oklch(0.96 0 0); }
.site-header .menu-button {
  display: none;
  align-items: center;
  flex-shrink: 0;
  width: 68.484px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 2px;
  background: white;
  color: inherit;
  box-shadow: inset 0 0 0 1px var(--header-border);
  font: 500 18px/16px var(--ui-font-heading);
  cursor: pointer;
}
.site-header .menu-button[aria-expanded="true"] { box-shadow: inset 0 0 0 2px var(--ui-media-ink-gold); }
.site-header .mobile-nav {
  display: grid;
  max-height: calc(100dvh - 68px);
  overflow-y: auto;
  padding: 4px var(--header-margin) 16px;
  border-top: 1px solid var(--header-rule);
  line-height: 27.2px;
}
.site-header .mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  text-decoration: none;
  border-bottom: 1px solid var(--header-rule);
}
.site-header .mobile-nav a:last-child { border-bottom: 0; }
.site-header [hidden] { display: none; }
.site-header :is(a, button):focus-visible { outline: 3px solid var(--ui-ring); outline-offset: 3px; }
.site-skip { position: fixed; left: 12px; top: -80px; z-index: 50; padding: 12px 18px; background: white; color: oklch(0.24 0 0); box-shadow: inset 0 0 0 1px oklch(0.79 0.008 250); }
.site-skip:focus { top: 12px; }
@media (max-width: 1100px) {
  .site-header .top-in { gap: 24px; }
  .site-header .top-nav { gap: 22px; }
}
@media (max-width: 860px) {
  .site-header .top-nav, .site-header .top-cta, .site-header .top-sign { display: none; }
  .site-header .menu-button { display: inline-flex; margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { .site-header .top-cta { transition: none; } }
@media print { .site-header, .site-skip { display: none; } }
