/* =============================================
   BASE — Variables, Reset, Layout Primitives
   Loaded on every page.
   ============================================= */

:root {
    --kelly-green: #4CBB17;
    --black: #050505;
    --dark-green: #112b05;
    --white: #f0f0f0;
}

/* --- RESET & LAYOUT FIXES --- */
* { margin: 0; padding: 0; box-sizing: border-box; cursor: none; }

html {
    scroll-behavior: smooth;
    background-color: var(--black);
}

body {
    background-color: var(--black);
    color: var(--white);
    font-family: 'Arial Black', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

main {
    animation: page-in 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* --- SECTION REVEAL (IntersectionObserver) ---
   Applied universally to every .section element.   */
.section {
    padding: 140px 5% 100px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid #222;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- GRID HEADER (reused across all sections) --- */
.grid-header h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    border-bottom: 4px solid var(--kelly-green);
    display: inline-block;
}

@media (max-width: 768px) {
    .section {
        padding: 110px 5% 80px;
        min-height: auto;
    }
    .grid-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 90px 5% 60px;
    }
    .grid-header h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
}
