Site header and phone menu
The header is measured chrome, not a fixed height (owner decision 2026-10-14).
- Height: whatever the content needs (
AppPrimaryNav,min-height: 4.5rem, wraps at tablet widths).useMeasuredChrome()(ResizeObserver on#site_header/#site_footer) writes--header-height,--main-top-padding,--main-bottom-paddingand--page-chromeon<html>(the footer only feeds--main-bottom-padding; no--footer-height, nothing read it). SSR fallback:--header-height: 4.5rem(layouts/site.scss). - Anchors:
html { scroll-padding-top: calc(var(--header-height) + var(--space-4)) }(assets/css/_globals.scss), so in-page links land below the header at every width. - Direct
#hashloads: the browser jumps before hydration against the 4.5rem fallback, so where the nav wraps (48em to ~53em, header ≈ 121px) the target would end under the header. After measuring,useMeasuredChrome()scrolls it below the header once (scrollIntoView,instant), again when a smooth jump still running at hydration ends (scrollend), and only while the target sits under the header and the reader has not scrolled. Case-study pages skip their focus-the-h1-on-mount when the URL has a hash, so the focus does not scroll back to the top. - No scrolled-header shadow: the sticky header is blur only (
box-shadow: none). - Nav order: About, Work, Gallery, Code, Writing (
shared/primary-nav.ts). - Get in touch (
.primary-nav__contact, tablet and up; also.story-pager__contacton case studies): a solid primary button,--theme-primary-fill-colorwith--theme-on-primary-color(5.78:1 dark, 4.70:1 light on the default brand), no gradient in any state, 44px tall, 2px--theme-focus-ring-coloroutline; hover only underlines the label. The phone Menu sheet copy is a plain ink link. Owner decision 2026-10-19, pinned bycore/web/tests/contact-cta.spec.ts. - Phone menu (< 48em): a dropdown disclosure under the header —
aria-expanded/aria-controlson the Menu button, no scrim, no modal, no focus trap.Esc, the current page’s link and the mailto link close it and return focus to Menu (app/utils/disclosure-focus.ts); every link is ≥ 44px. - Pause animation (
.primary-nav__motion, every width, before Personalize): a 44px icon button, one label witharia-pressed(pause/playicon), the one-tap way to stop the moving background (WCAG 2.2.2). It writes the Motion setting throughuseMotionPause(): Pause setsreduced; Play setssystem, orplayfulwhen the OS itself asks for less motion. Pressed whenever motion is reduced, by the site setting or the OS. Under reduced motion the depth field holds still (animation-play-state: paused,AppDepthField.scss) and stops following the pointer. - Brand: the
primary-nav__brandhome link renders the placeholderAppBrandMark(TM monogram + LIKWIDMACK wordmark; monogram only on phones).
Tests: core/web/tests/site-header.spec.ts, core/web/tests/primary-nav.spec.ts,
core/web-e2e/src/e2e/site-header.cy.ts.