/* =========================================
   PREMIUM UX: PAGE LOAD ANIMATION
   ========================================= */

/* 1. Define the hardware-accelerated keyframes */
@keyframes smoothReveal {
    0% {
        opacity: 0;
        transform: translateY(12px); /* Subtle upward glide */
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 2. Apply to the main content wrapper (e.g., body or main) */
body {
    /* Using a custom cubic-bezier for a cinematic, premium easing feel */
    animation: smoothReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 3. Accessibility (WCAG Compliance) */
/* Always respect users who suffer from vestibular motion disorders */
@media (prefers-reduced-motion: reduce) {
    body {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
html {
    scroll-behavior: smooth;
}
body {
    min-height: 100vh;
    line-height: 1.6;
    font-family: var(--font-primary);
    color: var(--gray-text-dark);
    background-color: var(--cream-bg);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    line-height: 1.2;
    font-weight: 600;
    text-transform: capitalize;
}
p {
    font-family: var(--font-primary);
    line-height: 2;
}
