Communicates when a sticky-positioned element becomes stuck.
Applies position: sticky; top: 0 on the host automatically.
The directive adds a sentinel element before the host and uses
IntersectionObserver to detect when the sentinel scrolls out,
meaning the header is now stuck. Toggles a CSS class for shadow,
elevation, or background changes.