/* Header owns its geometry; name-flight coordinates are measured by motion.js. */
.site-header { position: sticky; top: 0; z-index: 10; color: var(--header-ink); isolation: isolate; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--header-bg); pointer-events: none; }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; z-index: 2; }
.wordmark { flex-shrink: 0; font: 500 20px/1 var(--font-heading); letter-spacing: -.035em; padding-block: 20px; pointer-events: none; }
.wordmark-measure { opacity: 0; white-space: nowrap; }
.name-docked .wordmark { pointer-events: auto; }
.name-flight { display: none; position: fixed; top: 0; left: 0; z-index: 1; pointer-events: none; line-height: 1; font-family: var(--font-heading); font-weight: 500; }
.name-flight > span { position: absolute; top: 0; left: 0; white-space: nowrap; transform-origin: 0 0; }
.motion-ready:not(.motion-reduced) .name-flight, .motion-reduced.name-docked .name-flight { display: block; }
.site-header :focus-visible { outline-color: var(--header-accent); }
.site-header:not(.navigation-enhanced) .wordmark { display: none; }
.site-header:not(.navigation-enhanced) .header-inner { min-height: 0; }
.navigation-boot .site-header .header-inner { min-height: var(--header-height); }
.navigation-boot .site-header .wordmark { display: block; }
.navigation-boot body[data-header="c"] .site-header,
.navigation-active body[data-header="c"] .site-header { position: fixed; inset: 0 0 auto; --header-reveal: 0; }
.navigation-boot body[data-header="c"] .hero,
.navigation-active body[data-header="c"] .hero { height: min(100svh, 1080px); }
.navigation-boot body[data-header="c"] .site-header::before,
.navigation-active body[data-header="c"] .site-header::before { clip-path: inset(calc((1 - var(--header-reveal)) * 100%) 0 0); }
.header-cta { display: inline-flex; align-items: center; flex: 0 0 auto; margin-left: auto; min-height: 44px; padding-block: 10px; font: 500 16px/1.4 var(--font-body); color: var(--header-ink); opacity: 0; visibility: hidden; transform: translateY(8px); pointer-events: none; transition: opacity 240ms var(--motion-easing), transform 240ms var(--motion-easing), visibility 0s 240ms; }
.header-cta:hover { text-decoration: underline; text-underline-offset: 5px; }
.cta-docked .header-cta { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; transition-delay: 0s; }
@media (max-width: 720px) {
  .wordmark { font-size: 18px; }
  .header-inner { gap: 12px; }
}
@media (max-width: 720px) and (pointer: coarse) {
  .name-flight > span { will-change: transform; }
}
@media (max-width: 360px) {
  .wordmark { font-size: 16px; }
  .header-cta { font-size: 14px; }
}
