/* the static broccoli tiles make way for the falling layers */
html body { background-image: none; }
/* two tiled layers of different sizes and faintness; one extra tile above and
   below the viewport keeps the sinking layers from exposing an edge mid-cycle */
body::before, body::after {
	content: "";
	position: fixed;
	top: -260px;
	bottom: -260px;
	left: 0;
	right: 0;
	z-index: -1;
	pointer-events: none;
}
/* the far layer: small, faint broccolis */
body::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Ctext x='24' y='88' font-size='40' opacity='0.15'%3E%F0%9F%A5%A6%3C/text%3E%3C/svg%3E");
	background-size: 160px 160px;
	animation: broccoli-snow-far 60s linear infinite;
}
/* the near layer: bigger broccolis, offset sideways so the two grids
   never line up */
body::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Ctext x='30' y='130' font-size='64' opacity='0.12'%3E%F0%9F%A5%A6%3C/text%3E%3C/svg%3E");
	background-size: 260px 260px;
	background-position: 130px 0;
	animation: broccoli-snow-near 60s linear infinite;
}
/* the broccolis fall like snowflakes: each layer sinks by exactly its own
   tile height per cycle, so the loop restarts seamlessly (the bigger layer
   sinks faster — a gentle parallax, like near/far flakes). The layers are
   moved with compositor-driven transforms: no per-frame repaints and
   sub-pixel advancement, so the fall stays smooth at snow-like speeds.
   There is deliberately no will-change hint — it would keep both
   viewport-covering layers promoted into GPU memory even when animations
   are disabled or reduced-motion removes them. */
@keyframes broccoli-snow-far  { to { transform: translateY(160px); } }
@keyframes broccoli-snow-near { to { transform: translateY(260px); } }
/* reduced-motion users get a still background instead of an endless fall */
@media (prefers-reduced-motion: reduce) {
	body, body::before, body::after { animation: none !important; }
}
