html {
    scroll-behavior: smooth;
}

body {
    background-color: #F6F2E9;
}

/* Warm grain texture */
.grain::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.load {
    opacity: 0;
    animation: fadeUp 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.will-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.will-reveal.shown {
    opacity: 1;
    transform: none;
}

.marquee-track {
    animation: scrollx 28s linear infinite;
}

@keyframes scrollx {
    to {
        transform: translateX(-50%);
    }
}