/* Motion never controls visibility or interaction. No staggered access delays. */
.link-card, .copy-button, .theme-button { transition: background-color var(--duration-fast) ease, border-color var(--duration-fast) ease, transform var(--duration-fast) ease; }
.link-card::after { transition: opacity var(--duration-fast) ease; }
.link-arrow { transition: transform var(--duration-fast) ease; }
.link-card:active { transform: scale(.99); }
.theme-ready body, .theme-ready .support { transition: background-color var(--duration-theme) ease, color var(--duration-theme) ease, border-color var(--duration-theme) ease; }
.theme-ready .link-card { transition-duration: var(--duration-theme); }
.page-enter { animation: archive-appear var(--duration-enter) ease-out both; }
.ufo { animation: ufo-float var(--duration-float) ease-in-out infinite; }
.signal-dot { animation: signal-breathe var(--duration-pulse) ease-in-out infinite; }
@media (hover: hover) {
  .link-card:hover::before { animation: catalog-scan var(--duration-scan) ease-out; }
  .link-card:hover .link-arrow { transform: translate(var(--arrow-travel), calc(-1 * var(--arrow-travel))); }
}
@keyframes archive-appear { from { opacity: .7; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes catalog-scan { 0% { opacity: 0; background-position: 100% 0; } 35% { opacity: var(--scan-opacity); } 100% { opacity: 0; background-position: 0 0; } }
@keyframes ufo-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(var(--ufo-travel)); } }
@keyframes signal-breathe { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }

.fundraising-fill { animation: fundraising-fill-in var(--duration-enter) ease-out both; }
@keyframes fundraising-fill-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Set data-motion="off" on <html> to disable motion for this design. */
:root[data-motion="off"] *, :root[data-motion="off"] *::before, :root[data-motion="off"] *::after { animation: none !important; transition: none !important; }
:root[data-motion="off"] .link-card:active, :root[data-motion="off"] .link-card:hover .link-arrow { transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .link-card:active, .link-card:hover .link-arrow { transform: none; }
}
