/* Motion lives ONLY inside the AI edge section (CEO exception to the v2 "one motion moment" rule).
   It keeps running under prefers-reduced-motion and has no pause control, both by decision (Benja, 2026-10-27). */

.anim-live { animation: andes-live 1.5s ease-in-out infinite; }
.anim-hotspot { animation: andes-hotspot 2.5s ease-in-out infinite; }
.anim-hotspot-ring { animation: andes-hotspot-ring 2.5s ease-in-out infinite; }
.anim-drift { animation: andes-drift 10s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }

@keyframes andes-live { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
@keyframes andes-hotspot { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.3); opacity: 0.9; } }
@keyframes andes-hotspot-ring { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.5); opacity: 0; } }

/* One drift path; each dot gets its own delay and amplitude via --dx/--dy, so 23 dots never move in sync. */
@keyframes andes-drift {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(calc(var(--dx) * 1px), calc(var(--dy) * -1px)); }
  45% { transform: translate(calc(var(--dx) * -0.6px), calc(var(--dy) * 1px)); }
  70% { transform: translate(calc(var(--dx) * 0.8px), calc(var(--dy) * 0.5px)); }
}

/* Product console motion (AI edge only) */
.anim-ping { animation: andes-ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite; }
.anim-row-in { animation: andes-row-in 900ms ease-out both; }
.anim-progress { animation: andes-progress 3.2s ease-in-out infinite; }
.anim-scan { animation: andes-scan 6s linear infinite; }

@keyframes andes-ping { 75%, 100% { transform: scale(2.2); opacity: 0; } }
@keyframes andes-row-in {
  from { opacity: 0; transform: translateY(-6px); background: var(--andes-color-ai-background-subtlest); }
  40% { opacity: 1; transform: none; background: var(--andes-color-ai-background-subtlest); }
  to { background: transparent; }
}
@keyframes andes-progress { 0% { transform: scaleX(0.05); } 70%, 100% { transform: scaleX(1); } }
/* Sweeps the scan line across the plot area (SVG user units, x 50 to 430). */
@keyframes andes-scan { from { transform: translateX(0); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } to { transform: translateX(380px); opacity: 0; } }
