/* Custom global utilities imported from the design-system.html inline styles */

body {
    font-family: 'Inter', sans-serif;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

.font-bricolage {
    font-family: 'Bricolage Grotesque', sans-serif !important;
}

/* Global Grid Lines */
.grid-lines {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    pointer-events: none;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    padding: 0 1.5rem;
    opacity: 0.15;
}

@media (min-width: 768px) {
    .grid-lines {
        padding: 0 3rem;
    }
}

.grid-line {
    width: 1px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Grain Texture Background */
.bg-grain {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.04;
    background-image: url('assets/filter_3E_3Crect_width__100_25_98bedc0afd23.html');
}

/* Animations */
@keyframes cinematicEntrance {
    0% {
        transform: scale(1.4);
        filter: blur(20px) grayscale(100%);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: scale(1);
        filter: blur(0px) grayscale(0%);
        opacity: 1;
    }
}

.animate-cinematic {
    animation: cinematicEntrance 3.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideUpFade 1s ease-out forwards;
}

@keyframes shimmerMove {
    0% {
        transform: translateX(-150%) skewX(-20deg);
    }

    100% {
        transform: translateX(200%) skewX(-20deg);
    }
}

.animate-shimmer-effect {
    animation: shimmerMove 3s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.animate-ticker {
    animation: ticker 40s linear infinite;
}

.wrapper-ticker:hover .animate-ticker {
    animation-play-state: paused;
}

/* Base utility delays */
.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

.delay-400 {
    animation-delay: 400ms;
}

.delay-500 {
    animation-delay: 500ms;
}

.delay-1000 {
    animation-delay: 1000ms;
}

.delay-1200 {
    animation-delay: 1200ms;
}

.delay-1400 {
    animation-delay: 1400ms;
}

.delay-1600 {
    animation-delay: 1600ms;
}

.delay-1800 {
    animation-delay: 1800ms;
}

.delay-2000 {
    animation-delay: 2000ms;
}

.delay-2200 {
    animation-delay: 2200ms;
}

@keyframes animationIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
}

/* Wait to animate on scroll logic */
.animate-on-scroll {
    opacity: 0;
    animation: animationIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-play-state: paused !important;
}

.animate-on-scroll.animate {
    animation-play-state: running !important;
}