/* 
======================================================================
ANIMATION SYSTEM
======================================================================
*/

/* Initial States */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-down {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

/* Visible States */
.fade-in-up.visible,
.reveal-down.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delays */
.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Image Load Behavior */
img {
    opacity: 0;
    animation: imageFadeIn 1s ease forwards;
}

@keyframes imageFadeIn {
    to {
        opacity: 1;
    }
}

/* Subtext micro-interaction */
.subtext::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1px;
    background-color: var(--color-ink-light);
    margin-right: 10px;
    vertical-align: middle;
}