/* ==============================================
   BASE — Reset, Typography, Body, Container
   Global styles applied to every page
   ============================================== */

/* ---- Reset ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: auto; /* Lenis handles smooth scroll */
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--black);
    background-color: var(--light-grey);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

h1 { font-size: clamp(3rem, 8vw, 7.9rem); }
h2 { font-size: clamp(2.5rem, 6vw, 5rem); }
h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); }

p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-body);
}

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

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

ul, ol {
    list-style: none;
}

/* ---- Container ---- */
.container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

/* ---- Utility Classes ---- */
.text-black { color: var(--black); }
.mt-16 { margin-top: 16px; }

/* ---- Responsive Typography ---- */
@media (max-width: 1024px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
}

@media (max-width: 640px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
}
