/* animations.css — scroll reveals + small touches. Motion only answers an action or enters once. */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
[data-stagger] > .reveal:nth-child(2) { transition-delay: .07s; }
[data-stagger] > .reveal:nth-child(3) { transition-delay: .14s; }
[data-stagger] > .reveal:nth-child(4) { transition-delay: .21s; }
[data-stagger] > .reveal:nth-child(5) { transition-delay: .28s; }
[data-stagger] > .reveal:nth-child(6) { transition-delay: .35s; }
@media (hover: hover) {
  .card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---- Logo: cap drops in, tassel swings, cap does a small toss every few seconds ---- */
@keyframes cap-drop { 0% { transform: translateY(-14px) rotate(-12deg); opacity: 0; } 60% { transform: translateY(2px) rotate(3deg); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes cap-toss { 0%, 86%, 100% { transform: none; } 91% { transform: translateY(-4px) rotate(-9deg); } 95% { transform: translateY(0) rotate(4deg); } }
@keyframes tassel-swing { 0%, 100% { transform: rotate(7deg); } 50% { transform: rotate(-9deg); } }
@keyframes pulse-dot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .hero__plane { display: none; } }

@keyframes wa-ring { 0% { transform: scale(.6); opacity: .7; } 70%, 100% { transform: scale(1.8); opacity: 0; } }
@keyframes wa-wiggle { 0%, 84%, 100% { transform: none; } 88% { transform: rotate(-14deg); } 91% { transform: rotate(11deg); } 94% { transform: rotate(-7deg); } 97% { transform: rotate(3deg); } }
@keyframes wa-pulse { 0% { box-shadow: 0 6px 18px rgba(0,0,0,.22), 0 0 0 0 rgba(37,211,102,.55); } 70%, 100% { box-shadow: 0 6px 18px rgba(0,0,0,.22), 0 0 0 16px rgba(37,211,102,0); } }
