html.hv-on { scroll-padding-top: 96px; }
html.hv-on .ef-header { position: sticky; top: var(--space-8); isolation: isolate; background: transparent; box-shadow: none; }
html.hv-on .ef-header::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
  box-shadow: inset 0 0 0 var(--hw) rgba(255, 255, 255, 0), inset 0 var(--hw) 0 rgba(255, 255, 255, 0), 0 0 0 var(--hw) var(--border), 0 1px 2px rgba(20, 20, 20, 0), 0 16px 36px -18px rgba(20, 20, 20, 0); }
html.hv-on.hv-s .ef-header::before { background-color: rgba(252, 252, 250, 0.62);
  box-shadow: inset 0 0 0 var(--hw) rgba(255, 255, 255, 0.7), inset 0 var(--hw) 0 rgba(255, 255, 255, 0.9), 0 0 0 var(--hw) var(--border), 0 1px 2px rgba(20, 20, 20, 0.04), 0 16px 36px -18px rgba(20, 20, 20, 0.26); }

html.hv-on .ef-logo { gap: 0; }
html.hv-on .ef-logo__word { display: inline-block; overflow: hidden; white-space: nowrap; max-width: 76px; margin-left: var(--space-8); opacity: 1; }
html.hv-on.hv-s .ef-logo__word { max-width: 0; margin-left: 0; opacity: 0; }

@media (min-width: 641px) {
  html.hv-on.hv-s .ef-header { margin-left: max(32px, calc((100% - 1088px) / 2)); margin-right: max(32px, calc((100% - 1088px) / 2)); }
}

html.hv-on.hv-ready .ef-header { transition: margin-left .6s cubic-bezier(.65, 0, .35, 1), margin-right .6s cubic-bezier(.65, 0, .35, 1); }
html.hv-on.hv-ready .ef-header::before { transition: background-color .3s ease, box-shadow .6s cubic-bezier(.65, 0, .35, 1); }
html.hv-on.hv-ready .ef-logo__word { transition: max-width .6s cubic-bezier(.65, 0, .35, 1), margin-left .6s cubic-bezier(.65, 0, .35, 1), opacity .35s ease .25s; }
html.hv-on.hv-ready.hv-s .ef-logo__word { transition: max-width .6s cubic-bezier(.65, 0, .35, 1) .05s, margin-left .6s cubic-bezier(.65, 0, .35, 1) .05s, opacity .25s ease; }

@media (prefers-reduced-motion: reduce) {
  html.hv-on .ef-header, html.hv-on .ef-header::before, html.hv-on .ef-logo__word,
  html.hv-on.hv-ready .ef-header, html.hv-on.hv-ready .ef-header::before, html.hv-on.hv-ready .ef-logo__word, html.hv-on.hv-ready.hv-s .ef-logo__word { transition: none; }
}

html.hv-on.ef-locked body { overflow: visible; }
