@keyframes snowfall { from { background-position: 0 -340px, 0 -260px, 0 -340px, 0 -260px, 0 -340px, 0 -260px, 0 -340px, 0 -260px; } to { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; } }
@keyframes drift-a { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(8%, 6%) scale(1.12); } }
@keyframes drift-b { 0%, 100% { transform: translate(0, 0) scale(1.05); } 50% { transform: translate(-9%, 8%) scale(0.92); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes livepulse { 50% { opacity: 0.25; } }
@keyframes ownPulse {
  0%, 100% { border-left-color: var(--color-accent); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--c-white) 26%, transparent), 0 0 0 0 transparent; }
  50% { border-left-color: var(--c-white); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--c-white) 26%, transparent), 0 0 26px 0 var(--color-accent-glow); }
}
@keyframes flash { 0% { background-color: color-mix(in srgb, var(--c-ice-hi) 38%, transparent); box-shadow: 0 0 24px color-mix(in srgb, var(--c-ice-hi) 45%, transparent); } 100% { background-color: transparent; box-shadow: none; } }
@keyframes shimmer { to { background-position: -220% 0; } }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* scroll-reveal start state: only when JS is present (spring solver in js/motion.js drives the end state) */
.js .rv { opacity: 0; transform: translateY(28px); will-change: transform, opacity; }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
  .mrow.own { animation: none; }
  .mq-track { transform: none; }
}
