Media query subscription plus usePrefersReducedMotion. Import breakpoints from @velobitsio/tokens rather than re-typing the pixel value, so the JS and CSS breakpoints cannot drift apart.
pnpm dlx shadcn@latest add "https://ui.velobits.dev/r/use-media-query.json"