/* ========================================= */
/* CSS RESET & ROOT VARIABLES                */
/* ========================================= */
:root {
    /* Color System */
    --color-bg: #F9F7F2;          /* Warm off-white */
    --color-forest: #2C4A2F;      /* Deep forest green */
    --color-leaf: #6B8F71;        /* Fresh leaf green */
    --color-sunlight: #E8B84B;    /* Warm sunlight yellow */
    --color-clay: #A87852;        /* Clay brown */
    --color-sand: #D8C3A5;        /* Sand beige */
    --color-soil: #4A3B2A;        /* Soft soil dark */
    --color-charcoal: #1F1F1B;    /* Soft black/charcoal */
    --color-sand-muted: #B8A892;  /* Muted sand for text */
    --color-white: #FFFFFF;

    /* Typography System */
    --font-primary: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing System */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    --space-2xl: 12rem;

    /* Transitions & Easings */
    --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
    --transition-fast: 0.3s var(--ease-premium);
    --transition-mid: 0.6s var(--ease-premium);
    --transition-slow: 1s var(--ease-premium);
}

/* CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevents horizontal scroll */
    
    /* === HIDE VERTICAL SCROLLBAR (Firefox) === */
    scrollbar-width: none; 
    
    /* === HIDE VERTICAL SCROLLBAR (IE/Edge) === */
    -ms-overflow-style: none; 
}

/* === HIDE VERTICAL SCROLLBAR (Chrome/Safari/Opera) === */
html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-soil);
    line-height: 1.6;
    overflow-x: hidden; /* Prevents horizontal scroll */
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ========================================= */
/* TYPOGRAPHY SYSTEM                         */
/* ========================================= */
.overline {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    align-self: center;
    text-transform: uppercase;
    color: var(--color-clay);
    margin-bottom: var(--space-sm);
    display: block;
}

.heading-1 {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--color-soil);
    max-width: 750px;
}

.heading-2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-soil);
}

.heading-3 {
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.heading-4 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

.body-text {
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-soil);

}

.large-body {
    font-size: clamp(1.2rem, 1.5vw, 1.5rem);
    font-weight: 300;
    line-height: 1.6;
}

/* ========================================= */
/* UTILITY CLASSES & LAYOUT                  */
/* ========================================= */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section-padding {
    padding: var(--space-2xl) 0;
}

.text-center { text-align: center; }
.text-white { color: var(--color-white); }
.text-sand { color: var(--color-sand); }
.text-sand-muted { color: var(--color-sand-muted); }
.text-sunlight { color: var(--color-sunlight); }
.bg-sand { background-color: var(--color-sand); }
.bg-charcoal { background-color: var(--color-charcoal); }
.bg-forest { background-color: var(--color-forest); }

.center-margin { margin-left: auto; margin-right: auto; }
.max-width-600 { max-width: 600px; }
.max-width-800 { max-width: 800px; }
.cinematic-width { max-width: 1000px; }
.mt-4 { margin-top: var(--space-lg); }

.grid {
    display: grid;
    gap: var(--space-lg);
}

.grid-2-col {
    grid-template-columns: 1fr 1fr;
}

.grid-align-center {
    align-items: center;
}

/* Noise Texture Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
    mix-blend-mode: overlay;
}

.cinematic-width { 
    max-width: 900px; /* Changed from 1000px to keep large headings tighter and more elegant */
}