/* Explain: Base reset, typography, and premium cinematic animations. */
* {
    box-sizing: border-box;
}

html {
    background-color: var(--background-color);
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
    letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.03em;
}

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

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

::selection {
    background: var(--text-color);
    color: var(--pure-white);
}

:focus-visible {
    outline: 2px solid var(--text-color);
    outline-offset: 4px;
}

/* Premium Animations & Utilities */
.cinematic-hover {
    transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cinematic-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.3);
}

.image-scale-hover img {
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.image-scale-hover:hover img {
    transform: scale(1.05);
}

/* Scroll Reveals */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-100 { transition-delay: 100ms; }
.reveal-delay-200 { transition-delay: 200ms; }
.reveal-delay-300 { transition-delay: 300ms; }

/* Horizontal Scroll Defaults */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}