/* =============================================
   RESET.CSS
   Clears browser defaults.
   Sets base styles for the whole site.
============================================= */


/* ── UNIVERSAL RESET ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ── BASE HTML ── */
html {
    scroll-behavior: smooth;
    font-size: 1rem;
}


/* ── BASE BODY ── */
body {
    background-color: var(--bg);
    color: var(--w);
    font-family: var(--body);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* ── LINKS ── */
a {
    text-decoration: none;
    color: inherit;
}


/* ── LISTS ── */
ul, ol {
    list-style: none;
}


/* ── IMAGES ── */
img {
    display: block;
    max-width: 100%;
}


/* ── BUTTONS ── */
button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--body);
    color:var(--w)
}


/* ── HEADINGS ── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--display);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
}


/* ── PARAGRAPHS ── */
p {
    line-height: 1.75;
}


/* ── REUSABLE LAYOUT ── */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0;
}

.section {
    padding: 60px var(--pad-mobile);
    /*desktop is pad section*/
}

.section--alt {
    background-color: var(--bg-1);
}


/* ── SCROLL REVEAL BASE STATE ── */
/* Starts invisible and shifted down */
/* JS adds class "on" to trigger animation */
.reveal {
    opacity: 0;
    transform: translateY(38px);
    transition: opacity var(--transition-reveal),
                transform var(--transition-reveal);
}

.reveal.on {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays — add alongside .reveal */
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }
.d6 { transition-delay: 0.6s; }