/* Include all existing styles */
body {
    background-color: #F5F1E8;
    color: #000000;
    font-family: "Roboto", sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: auto;
    /* Let GSAP ScrollToPlugin handle smooth scroll mostly */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F5F1E8;
}

::-webkit-scrollbar-thumb {
    background: #000000;
}

/* 3D Perspective Utilities */
.perspective-container {
    perspective: 1000px;
}

.translate-z-10 {
    transform: translateZ(10px);
}

.translate-z-12 {
    transform: translateZ(12px);
}

/* Base resets & utilities */
.grayscale-hover {
    filter: grayscale(100%);
    transition: filter 0.7s ease, transform 0.7s ease;
}

.group:hover .grayscale-hover {
    filter: grayscale(0%);
}

.loading-screen {
    position: fixed;
    inset: 0;
    background-color: #F5F1E8;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.loading-text {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .5;
    }
}

/* Typography Split Utilities */
.char,
.word {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.char-inner,
.word-inner {
    display: inline-block;
}