/* =================== VARIABLES =================== */
:root {
    --blue: #0015FF;
    --deep-blue: #000DCC;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --font-display: 'Inter Tight', sans-serif;
    --font-body: 'Work Sans', sans-serif;
}

/* =================== RESET =================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--blue);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'kern' 1, 'liga' 1;
    overflow-x: hidden;
    width: 100%;
    animation: pageEnter 400ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =================== UTILITY =================== */
.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

/* =================== SHARED KEYFRAMES =================== */
@keyframes rotate {
    to { transform: rotate(360deg); }
}

@keyframes revealUp {
    from { opacity: 0; transform: translateY(10px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) translate(8px, 16px) scale(0.90);
        filter: blur(2px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) translate(8px, 16px) scale(1);
        filter: blur(0);
    }
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseVinyl {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* =================== PAGE TRANSITIONS =================== */
body.is-leave {
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 180ms ease, transform 180ms ease;
}

@keyframes pageEnter {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =================== ACCESSIBILITY =================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
