@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes kenBurns {
    from {
        transform: scale(1.03) translate3d(-1.4%, -0.6%, 0);
        object-position: 46% 50%;
    }
    to {
        transform: scale(1.12) translate3d(1.2%, 0.8%, 0);
        object-position: 56% 52%;
    }
}

@keyframes titleFloatIn {
    from {
        opacity: 0;
        transform: translateY(18px);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

body {
    animation: fadeIn 0.45s ease-out;
}

[data-reveal],
[data-stagger] > * {
    opacity: 0;
    transform: translateY(24px);
}

.reveal {
    animation: fadeInUp 0.75s var(--transition-slow) forwards;
}

[data-stagger] > *.reveal {
    animation-delay: var(--stagger-delay, 0ms);
}

.hero-content .eyebrow,
.hero-title,
.hero-subtitle,
.hero-actions,
.hero-metrics {
    opacity: 0;
    animation: titleFloatIn 0.78s cubic-bezier(0.2, 0.72, 0.18, 1) forwards;
}

.hero-content .eyebrow {
    animation-delay: 0.12s;
}

.hero-title {
    animation-delay: 0.24s;
}

.hero-subtitle {
    animation-delay: 0.38s;
}

.hero-actions {
    animation-delay: 0.52s;
}

.hero-metrics {
    animation-delay: 0.66s;
}

.section-heading.reveal .eyebrow,
.section-heading.reveal h2,
.footer.reveal .eyebrow,
.footer.reveal .footer-logo,
.footer.reveal .footer-tagline,
.footer.reveal .footer-cta,
.footer.reveal .footer-info {
    animation: titleFloatIn 0.72s cubic-bezier(0.2, 0.72, 0.18, 1) both;
}

.section-heading.reveal h2,
.footer.reveal .footer-logo {
    animation-delay: 0.08s;
}

.footer.reveal .footer-tagline,
.footer.reveal .footer-info {
    animation-delay: 0.16s;
}

.footer.reveal .footer-cta {
    animation-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}
