/* Keep the existing glass controls and layout; only their sitewide position changes. */
html{scroll-padding-top:var(--site-header-offset,112px)}
body>header.header{position:sticky;top:0;z-index:60}
body[data-home-header]:not([data-home-header="fallback"])>header.header{
  position:fixed;inset:0 0 auto;width:100%;margin-inline:auto;
}
body:is([data-home-header="pending"],[data-home-header="hidden"])>header.header{
  visibility:hidden;pointer-events:none;
}
/* A static deep link can show navigation while the island loads. The controller
   subsequently owns visibility from the actual scroll position. */
body[data-home-header="pending"]:has(.review-home :target):not(:has(.moments-hero :target))>header.header{
  visibility:visible;pointer-events:auto;
}
