:root {
    /* Brand Colors */
    --color-brand-green-primary: #228B22;   /* Forest Green */
    --color-brand-green-secondary: #1A4314; /* Darker Forest Green */
    
    /* Base Backgrounds */
    --color-bg-primary: #FDFBF7;           /* Standard cream/off-white */
    --color-bg-secondary: #F3F4F6;         /* Light gray surfaces */
    --color-bg-green-tint: #F7FDF9;        /* Green-tinted cream for accents */
    
    /* Text */
    --color-text-primary: #111827;         /* Deep charcoal */
    --color-text-secondary: #6B7280;       /* Muted gray */
    
    /* Borders */
    --color-border-primary: rgba(0, 0, 0, 0.1);
    --color-border-secondary: rgba(0, 0, 0, 0.15);
    
    --border-radius-md: 9999px;

    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;

    /* Animation Durations */
    --duration-fast:   0.35s;
    --duration-medium: 0.55s;
    --duration-slow:   0.85s;
    --duration-slower: 1.05s;

    /* Easing */
    --ease-premium:     cubic-bezier(0.4, 0.0, 0.2, 1);
    --ease-out-premium: cubic-bezier(0.16, 1, 0.3, 1);

    /* Composite transition shorthands */
    --transition-fast:   var(--duration-fast)   var(--ease-premium);
    --transition-smooth: var(--duration-slow)   var(--ease-out-premium);

    --max-width: 1280px;
    --section-spacing: clamp(4rem, 8vw, 8rem);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-green-tint);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

/* Controlled type scale — each level has explicit size, spacing, and line-height */
h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.0;
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h4 {
    font-size: 1.125rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

h5, h6 {
    font-size: 1rem;
    line-height: 1.4;
    letter-spacing: 0;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

.section {
    padding: var(--section-spacing) 0;
}

.text-center { text-align: center; }

/* Reusable section heading with bottom spacing */
.section-heading {
    margin-bottom: 2rem;
}

/* Intersection Observer Animations */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity var(--duration-slower) var(--ease-out-premium),
                transform var(--duration-slower) var(--ease-out-premium);
    will-change: opacity, transform;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger transitions for children — 0.15s apart */
.stagger-1 { transition-delay: 0.15s; }
.stagger-2 { transition-delay: 0.30s; }
.stagger-3 { transition-delay: 0.45s; }
.stagger-4 { transition-delay: 0.60s; }

/* Global Swiper Overrides */
.swiper-pagination-bullet-active {
    background: var(--color-brand-green-primary) !important;
}
