/* ============================================================
   AGENCY BACKBONE — animations.css
   ============================================================ */

/* ------------------------------------------------------------
   FADE UP — default entrance animation
   ------------------------------------------------------------ */

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

/* ------------------------------------------------------------
   FADE IN — for elements that don't need vertical movement
   ------------------------------------------------------------ */

.fade-in {
  opacity: 0;
  transition: opacity 700ms ease;
}

.fade-in.is-visible {
  opacity: 1;
}

/* ------------------------------------------------------------
   STAGGER DELAYS — applied to children inside staggered groups
   ------------------------------------------------------------ */

.stagger > *:nth-child(1) { transition-delay: 0ms; }
.stagger > *:nth-child(2) { transition-delay: 100ms; }
.stagger > *:nth-child(3) { transition-delay: 200ms; }
.stagger > *:nth-child(4) { transition-delay: 300ms; }
.stagger > *:nth-child(5) { transition-delay: 400ms; }
.stagger > *:nth-child(6) { transition-delay: 500ms; }

/* ------------------------------------------------------------
   GOLD LINE — animated underline for section labels
   ------------------------------------------------------------ */

.gold-line {
  display: block;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
  transition: width 800ms ease;
  margin-block: var(--space-6);
}

.gold-line.is-visible {
  width: 48px;
}

/* ------------------------------------------------------------
   SCALE UP — for screenshot frames and visual cards
   ------------------------------------------------------------ */

.scale-up {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 700ms ease, transform 700ms ease;
}

.scale-up.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* ------------------------------------------------------------
   HERO — copy and visual entrance (CSS only, no JS needed)
   ------------------------------------------------------------ */

.hero__copy {
  animation: heroSlideIn 800ms ease forwards;
}

.hero__visual {
  animation: heroSlideIn 800ms 200ms ease both;
}

@keyframes heroSlideIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------------------------------------
   CARD HOVER LIFT
   ------------------------------------------------------------ */

.lift {
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}