Shrink a sticky header only when it sticks. In CSS.

Use CSS scroll-state queries to shrink a sticky header only after it becomes stuck. A cleaner way to build adaptive headers without scroll listeners.