/* The sticky header keeps one geometry at every scroll position.
   Its earlier stuck state collapsed the logo to the bare mark and lowered the
   bar: on the first scroll, or after an in-page link, the centred navigation
   moved 55px and the page 4px. Only the border tone still marks that state. */
.site-header.site-header--stuck .site-header__inner { min-height: 4rem; }
.site-header.site-header--stuck .wordmark__stack { width: var(--wordmark-lockup-width); }
.site-header.site-header--stuck .wordmark__stack .wordmark__asset--lockup { opacity: 1; }
.site-header.site-header--stuck .wordmark__stack .wordmark__asset--mark { opacity: 0; }

/* The in-page "How it works" marker comes and goes while the page scrolls. It
   keeps the resting weight, so the links beside it stay where they are. */
.site-header .primary-nav a[aria-current="location"] { font-weight: 500; }

/* "How it works" lands flush under the header (4rem and its 1px rule). The
   general 4.5rem anchor offset would leave the hero's closing rule showing as
   a second line just below the header. */
.page-home #how-it-works { scroll-margin-top: calc(4rem + 1px - 4.5rem); }
