:root {
    --charcoal-900: #1a1a1a;
    --charcoal-800: #2d2d2d;
    --coral-500: #FF6B5A;
    --coral-600: #E85A4A;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scroll reveal animations — progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--coral-500);
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background-color: rgba(255, 107, 90, 0.2);
    color: var(--charcoal-900);
}

/* Thin scrollbar for webkit */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--charcoal-900);
}
::-webkit-scrollbar-thumb {
    background: var(--coral-500);
    border-radius: 3px;
}
