/* ============================================
   AtypikHouse — Animations
   ============================================ */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* Hero entrance */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow { animation: heroFadeUp 0.7s ease 0.2s both; }
.hero-title   { animation: heroFadeUp 0.7s ease 0.4s both; }
.hero-subtitle{ animation: heroFadeUp 0.7s ease 0.55s both; }
.hero-search  { animation: heroFadeUp 0.7s ease 0.7s both; }

/* Shimmer placeholder */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.skeleton {
  background: linear-gradient(90deg, var(--color-lin-dark) 25%, var(--color-lin-l) 50%, var(--color-lin-dark) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.5s infinite linear;
  border-radius: var(--radius-ui);
}
