/* Do not let the fallback-to-sticky layout expansion move the page on its own.
   Explicit scroll, history restoration, deep links and the skip link still work. */
body:is([data-home-header="pending"],[data-home-header="hidden"]){overflow-anchor:none}
/* Natural document scroll drives the opening and continues into the homepage. */
.moments-hero{--moments-stage-height:clamp(150px,calc(100svh - var(--moments-entry-gap, 80px)),800px);--moments-runway:clamp(650px,95svh,1100px);color:#fff;margin:0 auto}
.moments-hero:has(.moments-hero-stage[data-ready]){min-height:calc(var(--moments-stage-height) + var(--moments-runway))}
.moments-hero-stage[data-ready]{display:block;position:sticky;top:0;height:var(--moments-stage-height)}
.moments-hero-stage:not([data-ready]){display:none}
.moments-hero-fallback{padding:46px 14px 24px;text-align:center;color:#fff}
.moments-hero-fallback h1,.moments-hero-fallback p{color:#fff;margin:0}
.moments-hero-stage[data-ready]+.moments-hero-fallback{display:none}
