/* Shared site header. Used by every page: edit here, not in the pages. */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(246, 247, 249, .92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-blue);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .85rem; }
.wordmark {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: 1.75rem; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--ink-soft); padding-block: .25rem; }
.nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a.nav-cta {
  color: #fff; background: var(--accent); font-weight: 600;
  padding: .5rem 1rem; border-radius: 6px; transition: background-color .15s;
}
.nav a.nav-cta:hover { background: #1B2BB0; color: #fff; text-decoration: none; }
.skip:focus { z-index: 20; }
@media (max-width: 560px) {
  .nav { gap: .9rem; font-size: .9rem; }
  .nav a.nav-hide { display: none; }
}
/* Balance headline line breaks so a single word is never left alone on the last line. */
h1.display, h2.display { text-wrap: balance; }
