
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
        body {
            font-family: 'Outfit', -apple-system, sans-serif;
            color: var(--color-cream);
            line-height: 1.7;
            background: var(--color-dark);
            overflow-x: hidden;
            font-weight: 300;
            font-size: 1.05rem;
        }
        img { max-width: 100%; height: auto; display: block; }
        a { color: #2D6A4F; text-decoration: none; transition: color 0.2s; }
        a:hover { color: #BC6C25; }

        :root {
            --color-forest: #1B4332;
            --color-forest-light: #2D6A4F;
            --color-sage: #40916C;
            --color-mint: #52B788;
            --color-sand: #DDA15E;
            --color-terra: #BC6C25;
            --color-cream: #FEFAE0;
            --color-dark: #0d1b14;
            --color-light-green: #D8F3DC;
            --ease: cubic-bezier(0.16, 1, 0.3, 1);
        }

        .container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

        /* ===== STICKY HEADER + ANIMATED LOGO ===== */
        .site-header {
            position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
            display: flex; align-items: center; justify-content: space-between;
            padding: 1rem 2rem;
            background: transparent;
            transition: background 0.5s ease, box-shadow 0.5s ease, padding 0.4s ease;
        }
        .site-header.scrolled {
            background: rgba(13, 27, 20, 0.92);
            backdrop-filter: blur(16px) saturate(150%);
            -webkit-backdrop-filter: blur(16px) saturate(150%);
            box-shadow: 0 2px 24px rgba(0,0,0,0.3);
            padding: 0.5rem 2rem;
        }
        .header-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
        .header-logo img { width: 45px; height: auto; }
        .header-logo-wrap { display: flex; align-items: center; gap: 0.75rem; }
        .header-logo-sub {
            font-size: 0.65rem; font-weight: 300; color: rgba(255,255,255,0.6);
            letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.3;
            display: block; margin-top: 0.15rem;
        }
        .header-logo-svg { width: 220px; height: auto; transition: width 0.4s ease; }
        .site-header.scrolled .header-logo-svg { width: 160px; }
        .header-logo-text { display: flex; flex-direction: column; }
        .header-logo-title {
            font-size: 1.15rem; font-weight: 700; color: #fff;
            letter-spacing: 0.04em; line-height: 1.1;
            text-shadow: 0 1px 8px rgba(0,0,0,0.3);
        }
        .header-logo-subtitle {
            font-size: 0.65rem; font-weight: 300; color: rgba(255,255,255,0.6);
            letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.3;
        }
        .header-nav { display: flex; gap: 1.5rem; align-items: center; }
        .header-nav a {
            color: rgba(255,255,255,0.75); font-size: 0.85rem; font-weight: 400;
            letter-spacing: 0.04em; text-decoration: none;
            transition: color 0.2s; position: relative;
        }
        .header-nav a::after {
            content: ''; position: absolute; bottom: -4px; left: 0;
            width: 0; height: 2px; background: var(--color-mint);
            transition: width 0.3s var(--ease);
        }
        .header-nav a:hover { color: #fff; }
        .header-nav a:hover::after { width: 100%; }
        @media (max-width: 768px) {
            .header-nav { display: none; }
            .site-header { padding: 0.6rem 1.2rem; }
        }

        /* ===== LOGO — SIMPLE FADE IN ===== */
        .header-logo-svg {
            opacity: 0;
            animation: logoFadeIn 0.8s ease 0.2s forwards;
        }
        @keyframes logoFadeIn {
            to { opacity: 1; }
        }

        /* ===== HERO — GREEN GLASSMORPHISM ===== */
        .hero {
            position: relative;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            background: var(--color-dark);
        }
        .hero__landscape {
            position: absolute;
            inset: 0;
            z-index: 1;
        }
        .hero__landscape img,
        .hero__landscape video {
            position: absolute;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transform: scale(1.05);
            animation: heroZoom 25s ease-in-out infinite alternate;
        }
        @keyframes heroZoom {
            0% { transform: scale(1.05) translate(0, 0); }
            100% { transform: scale(1.12) translate(-1%, -1%); }
        }
        .hero__glass {
            position: absolute;
            inset: 0;
            z-index: 2;
            background: linear-gradient(135deg, rgba(27,67,50,0.55) 0%, rgba(45,106,79,0.35) 40%, rgba(13,27,20,0.50) 100%);
            backdrop-filter: blur(3px) saturate(140%) brightness(0.95);
            -webkit-backdrop-filter: blur(3px) saturate(140%) brightness(0.95);
        }
        .hero__glass::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(27,67,50,0.20) 0%, transparent 30%, transparent 60%, rgba(13,27,20,0.40) 100%);
            pointer-events: none;
        }
        .hero__glass::after {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(13,27,20,0.5) 0%, transparent 60%);
            pointer-events: none;
        }
        .hero::after {
            content: '';
            position: absolute;
            inset: 0;
            z-index: 3;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='4' seed='2' /%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23noise)' opacity='0.03' /%3E%3C/svg%3E");
            pointer-events: none;
        }
        .hero-content {
            position: relative;
            z-index: 10;
            text-align: center;
            padding: 2rem;
            max-width: 850px;
        }
        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1.25rem;
            border: 1px solid rgba(82,183,136,0.35);
            border-radius: 100px;
            color: rgba(255,255,255,0.9);
            font-size: 0.8rem;
            font-weight: 500;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            margin-bottom: 2rem;
            backdrop-filter: blur(12px);
            background: rgba(45,106,79,0.20);
            cursor: default;
            transition: all 0.4s var(--ease);
        }
        .hero-badge:hover { background: rgba(45,106,79,0.35); border-color: rgba(82,183,136,0.6); transform: scale(1.03); }
        .hero-badge .pulse {
            width: 8px; height: 8px;
            background: var(--color-mint);
            border-radius: 50%;
            animation: pulse 2s ease-in-out infinite;
            box-shadow: 0 0 10px rgba(82,183,136,0.6);
        }
        @keyframes pulse { 0%,100%{opacity:1;transform:scale(1);box-shadow:0 0 10px rgba(82,183,136,0.6)} 50%{opacity:0.5;transform:scale(1.8);box-shadow:0 0 20px rgba(82,183,136,0.3)} }
        .hero-subtitle-text { color: rgba(255,255,255,0.7); font-size: 0.95rem; font-weight: 400; letter-spacing: 0.05em; margin-bottom: 1.5rem; }
        .hero h1 { font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 800; color: #ffffff; line-height: 1.05; margin-bottom: 1.5rem; text-shadow: 0 2px 30px rgba(0,0,0,0.5), 0 0 60px rgba(13,27,20,0.4); }
        .hero h1 .accent { color: var(--color-sand); }
        .hero .lead { font-size: 1.15rem; color: rgba(255,255,255,0.88); font-weight: 400; line-height: 1.7; max-width: 650px; margin: 0 auto 2.5rem; text-shadow: 0 1px 12px rgba(0,0,0,0.4); }
        .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
        .btn {
            display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9rem 2rem; border-radius: 100px;
            font-weight: 600; font-size: 0.95rem; transition: all 0.3s var(--ease); cursor: pointer; border: none;
            position: relative; overflow: hidden;
        }
        .btn::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--x,50%) var(--y,50%), rgba(255,255,255,0.55) 0%, transparent 60%); opacity: 0; transition: opacity 0.3s; }
        .btn:hover::after { opacity: 1; }
        .btn--primary { background: linear-gradient(135deg, var(--color-mint), var(--color-sage)); color: #fff; box-shadow: 0 4px 20px rgba(82,183,136,0.3); }
        .btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(82,183,136,0.5); color: #fff; }
        .btn--outline { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.9); border: 1.5px solid rgba(82,183,136,0.35); backdrop-filter: blur(8px); }
        .btn--outline:hover { border-color: var(--color-mint); color: #fff; background: rgba(82,183,136,0.15); }
        .btn--forest { background: var(--color-forest); color: #fff; padding: 0.75rem 1.5rem; border-radius: 8px; }
        .btn--forest:hover { background: var(--color-forest-light); color: #fff; transform: translateY(-2px); }
        .scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 10; animation: bounce 2s infinite; cursor: pointer; opacity: 0.6; transition: opacity 0.3s; }
        .scroll-indicator:hover { opacity: 1; }
        .scroll-indicator svg { width: 24px; height: 24px; stroke: rgba(255,255,255,0.7); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
        @keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(10px)} }

        /* ===== STATS BAR ===== */
        .section--forest { background: linear-gradient(135deg, var(--color-forest) 0%, #081C15 100%); color: #fff; padding: 4rem 0; }
        .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2rem; text-align: center; }
        .stat-item { cursor: default; transition: transform 0.3s var(--ease); }
        .stat-item:hover { transform: scale(1.08); }
        .stat-number { font-size: 3rem; font-weight: 800; color: var(--color-sand); line-height: 1; font-variant-numeric: tabular-nums; }
        .stat-label { font-size: 0.85rem; font-weight: 400; color: rgba(255,255,255,0.7); margin-top: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }

        /* ===== SECTIONS ===== */
        .section { padding: 5rem 0; }
        .section--cream { background: var(--color-cream); padding: 5rem 0; }
        .section--light-green { background: var(--color-light-green); padding: 5rem 0; }
        .section-header { text-align: center; margin-bottom: 3rem; }
        .section-label { display: inline-block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-sage); margin-bottom: 0.75rem; padding: 0.3rem 1rem; border: 1px solid rgba(64,145,108,0.3); border-radius: 100px; }
        .section-header h2 { font-size: 2.2rem; font-weight: 700; color: var(--color-forest); margin-bottom: 1rem; }
        .section-header .lead, .lead { font-size: 1.1rem; color: rgba(255,255,255,0.85); max-width: 700px; margin: 0 auto; line-height: 1.8; }
        h2 { font-size: 2rem; font-weight: 700; color: var(--color-cream); line-height: 1.2; }
        h3 { font-size: 1.3rem; font-weight: 600; color: var(--color-cream); margin-bottom: 0.75rem; }

        /* ===== CARDS ===== */
        .grid--3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
        .grid--2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
        .card {
            background: rgba(27,67,50,0.12); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.3);
            transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); cursor: pointer; position: relative;
        }
        .card::before { content: ''; position: absolute; inset: 0; border-radius: 16px; border: 1px solid transparent; transition: border-color 0.3s; pointer-events: none; z-index: 2; }
        .card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 16px 50px rgba(0,0,0,0.12); }
        .card:hover::before { border-color: rgba(82,183,136,0.3); }
        .card-body { padding: 2rem; }
        .card-tag { display: inline-block; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-sage); background: var(--color-light-green); padding: 0.25rem 0.75rem; border-radius: 100px; margin-bottom: 1rem; }
        .card-icon { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin: 0 auto 1.25rem; transition: transform 0.4s var(--ease), box-shadow 0.3s; }
        .card:hover .card-icon { transform: scale(1.12) rotate(-3deg); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }

        /* ===== FEATURE BLOCKS ===== */
        .feature-block { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
        .feature-block--reverse { direction: rtl; }
        .feature-block--reverse > * { direction: ltr; }
        .feature-text .section-label { margin-bottom: 0.75rem; }
        .feature-text h2 { margin-bottom: 1.25rem; }
        .feature-text p { color: rgba(254,250,224,0.75); margin-bottom: 1rem; }
        .feature-img { border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.3); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
        .feature-img:hover { transform: scale(1.02); box-shadow: 0 16px 50px rgba(0,0,0,0.14); }
        .feature-img img { width: 100%; transition: transform 0.8s var(--ease); }
        .feature-img:hover img { transform: scale(1.06); }

        /* ===== FLORA ===== */
        .flora-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
        .flora-card { background: rgba(27,67,50,0.15); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.3); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); cursor: pointer; }
        .flora-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
        .flora-card .flora-img-wrap { position: relative; overflow: hidden; height: 200px; background: rgba(13,27,20,0.5); }
        .flora-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
        .flora-card:hover img { transform: scale(1.1); }
        .flora-card .flora-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(27,67,50,0.85) 100%); opacity: 0; transition: opacity 0.4s; display: flex; align-items: flex-end; padding: 1rem; color: #fff; font-size: 0.85rem; }
        .flora-card:hover .flora-overlay { opacity: 1; }
        .flora-info { padding: 1.25rem; }
        .flora-info .species { font-style: italic; font-weight: 500; color: var(--color-mint); font-size: 1rem; }
        .flora-info .common-name { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin: 0.25rem 0 0.75rem; }
        .status-badge { display: inline-block; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.2rem 0.75rem; border-radius: 100px; transition: transform 0.2s; }
        .status-badge:hover { transform: scale(1.05); }
        .status-badge--endemic { background: rgba(82,183,136,0.2); color: #52B788; }
        .status-badge--rare { background: rgba(221,161,94,0.2); color: #DDA15E; }
        .status-badge--endangered { background: rgba(220,100,100,0.2); color: #FF6B6B; }

        /* ===== DATA HUB ===== */
        .datahub { background: linear-gradient(180deg, #081C15 0%, var(--color-forest) 100%); color: #fff; padding: 5rem 0; position: relative; overflow: hidden; }
        .datahub::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 30%, rgba(82,183,136,0.08) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(221,161,94,0.06) 0%, transparent 50%); pointer-events: none; }
        .datahub .section-header h2 { color: #fff; }
        .datahub .section-label { color: var(--color-mint); border-color: rgba(82,183,136,0.4); }
        .datahub .lead { color: rgba(255,255,255,0.7); }
        .dh-tabs { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 2rem; flex-wrap: wrap; }
        .dh-tab { padding: 0.6rem 1.25rem; border-radius: 100px; font-size: 0.85rem; font-weight: 500; cursor: pointer; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.6); transition: all 0.3s var(--ease); font-family: inherit; }
        .dh-tab:hover { border-color: rgba(82,183,136,0.4); color: rgba(255,255,255,0.9); background: rgba(82,183,136,0.1); }
        .dh-tab.active { background: rgba(82,183,136,0.2); border-color: var(--color-mint); color: #fff; box-shadow: 0 0 20px rgba(82,183,136,0.15); }
        .dh-panel { display: none; }
        .dh-panel.active { display: block; animation: fadeUp 0.5s var(--ease); }
        @keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

        /* Weather */
        .weather-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }
        .weather-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 1.5rem; text-align: center; backdrop-filter: blur(8px); transition: all 0.3s var(--ease); cursor: default; position: relative; }
        .weather-card:hover { background: rgba(82,183,136,0.12); border-color: rgba(82,183,136,0.3); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.2); }
        .weather-icon { font-size: 2rem; margin-bottom: 0.75rem; }
        .weather-value { font-size: 2rem; font-weight: 700; color: var(--color-sand); line-height: 1; }
        .weather-label { font-size: 0.8rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.5rem; }
        .weather-loading { color: rgba(255,255,255,0.55); }

        /* 7-Day Forecast */
        .forecast-row { display: flex; gap: 0.75rem; overflow-x: auto; padding: 1rem 0; margin-top: 1rem; }
        .forecast-day { flex: 0 0 auto; min-width: 90px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 1rem 0.75rem; text-align: center; transition: all 0.3s var(--ease); }
        .forecast-day:hover { background: rgba(82,183,136,0.1); border-color: rgba(82,183,136,0.3); transform: translateY(-3px); }
        .forecast-day .fd-name { font-size: 0.75rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.5rem; }
        .forecast-day .fd-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
        .forecast-day .fd-temp { font-weight: 700; color: var(--color-sand); font-size: 1rem; }
        .forecast-day .fd-rain { font-size: 0.75rem; color: rgba(82,183,136,0.8); margin-top: 0.25rem; }

        /* NDVI */
        .ndvi-container { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
        .ndvi-gauge { position: relative; width: 220px; height: 220px; margin: 0 auto; }
        .ndvi-gauge svg { transform: rotate(-90deg); }
        .ndvi-gauge circle { fill: none; stroke-width: 12; stroke-linecap: round; }
        .ndvi-gauge .track { stroke: rgba(255,255,255,0.08); }
        .ndvi-gauge .progress { stroke: var(--color-mint); stroke-dasharray: 565; stroke-dashoffset: 565; transition: stroke-dashoffset 2s var(--ease); filter: drop-shadow(0 0 8px rgba(82,183,136,0.5)); }
        .ndvi-gauge .gauge-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; }
        .ndvi-gauge .gauge-value { font-size: 2.5rem; font-weight: 800; color: var(--color-mint); }
        .ndvi-gauge .gauge-label { font-size: 0.8rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.08em; }
        .ndvi-info h3 { color: #fff; margin-bottom: 1rem; }
        .ndvi-info p { color: rgba(255,255,255,0.6); margin-bottom: 0.75rem; }
        .ndvi-legend { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
        .ndvi-legend span { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: rgba(255,255,255,0.7); }
        .ndvi-dot { width: 10px; height: 10px; border-radius: 50%; }

        /* ===== CLIMATE CHANGE DASHBOARD ===== */
        .cc-period-selector { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 1.5rem; flex-wrap: wrap; }
        .cc-period-btn { padding: 0.4rem 1rem; border-radius: 8px; font-size: 0.8rem; font-weight: 600; cursor: pointer; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.6); transition: all 0.3s; font-family: inherit; }
        .cc-period-btn:hover { border-color: rgba(82,183,136,0.4); color: #fff; }
        .cc-period-btn.active { background: var(--color-mint); border-color: var(--color-mint); color: var(--color-forest); }
        .cc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
        .cc-chart-box { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 1.5rem; }
        .cc-chart-box h4 { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
        .cc-chart-box .cc-subtitle { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-bottom: 1rem; }
        .cc-chart-area { position: relative; height: 200px; }
        .cc-bar-chart { display: flex; align-items: flex-end; height: 100%; gap: 2px; }
        .cc-bar { flex: 1; border-radius: 3px 3px 0 0; transition: height 1.2s var(--ease), background 0.5s; min-height: 2px; position: relative; cursor: crosshair; }
        .cc-bar:hover { filter: brightness(1.3); }
        .cc-bar .cc-tip { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.9); color: #fff; padding: 0.3rem 0.6rem; border-radius: 6px; font-size: 0.7rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s; margin-bottom: 4px; z-index: 10; }
        .cc-bar:hover .cc-tip { opacity: 1; }

        /* Anomaly stripes */
        .cc-stripes { display: flex; height: 100%; gap: 0; }
        .cc-stripe { flex: 1; transition: background 0.5s, height 0.8s var(--ease); cursor: crosshair; position: relative; min-width: 2px; }
        .cc-stripe:hover { filter: brightness(1.2); }
        .cc-stripe .cc-tip { position: absolute; top: -28px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.9); color: #fff; padding: 0.3rem 0.6rem; border-radius: 6px; font-size: 0.7rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s; z-index: 10; }
        .cc-stripe:hover .cc-tip { opacity: 1; }

        /* Climate Key Metrics */
        .cc-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.75rem; margin-top: 1.5rem; }
        .cc-metric { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 1rem; text-align: center; transition: all 0.3s var(--ease); }
        .cc-metric:hover { background: rgba(82,183,136,0.08); border-color: rgba(82,183,136,0.25); transform: translateY(-2px); }
        .cc-metric-value { font-size: 1.5rem; font-weight: 700; line-height: 1; }
        .cc-metric-label { font-size: 0.72rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.4rem; }
        .cc-metric-delta { font-size: 0.75rem; font-weight: 600; margin-top: 0.3rem; }
        .delta-neg { color: #ef5350; }
        .delta-pos { color: var(--color-mint); }
        .delta-warn { color: var(--color-sand); }

        /* Projection area chart */
        .cc-projection-canvas { width: 100%; height: 200px; }

        /* Timeline Slider */
        .cc-slider-container { margin-top: 1.5rem; padding: 1rem 1.5rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; }
        .cc-slider-label { display: flex; justify-content: space-between; font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-bottom: 0.5rem; }
        .cc-slider { -webkit-appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--color-mint), var(--color-sand), #ef5350); outline: none; cursor: pointer; }
        .cc-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: rgba(27,67,50,0.15); box-shadow: 0 2px 8px rgba(0,0,0,0.3); cursor: grab; }
        .cc-slider-value { text-align: center; font-size: 2rem; font-weight: 800; color: var(--color-sand); margin-top: 0.5rem; }
        .cc-slider-insight { text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-top: 0.25rem; }

        /* Data Sources */
        .data-sources-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
        .data-source-item { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; transition: all 0.3s var(--ease); cursor: default; }
        .data-source-item:hover { background: rgba(82,183,136,0.08); border-color: rgba(82,183,136,0.25); transform: translateX(4px); }
        .data-source-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; background: rgba(82,183,136,0.15); flex-shrink: 0; }
        .data-source-name { font-weight: 500; font-size: 0.95rem; }
        .data-source-desc { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-top: 0.15rem; }
        .data-source-status { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--color-mint); box-shadow: 0 0 8px rgba(82,183,136,0.5); animation: livePulse 2s infinite; }

        /* ===== LIVE PULSE DOTS ===== */
        @keyframes livePulse { 0%{opacity:1;transform:scale(1);box-shadow:0 0 4px rgba(82,183,136,0.6)} 50%{opacity:0.45;transform:scale(1.8);box-shadow:0 0 14px rgba(82,183,136,0.3)} 100%{opacity:1;transform:scale(1);box-shadow:0 0 4px rgba(82,183,136,0.6)} }
        .live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--color-mint); box-shadow: 0 0 6px rgba(82,183,136,0.6); animation: livePulse 2s ease-in-out infinite; vertical-align: middle; margin-right: 0.35rem; }
        .live-dot--d1 { animation-delay: 0s; } .live-dot--d2 { animation-delay: 0.4s; } .live-dot--d3 { animation-delay: 0.8s; }
        .live-dot--d4 { animation-delay: 1.2s; } .live-dot--d5 { animation-delay: 0.2s; } .live-dot--d6 { animation-delay: 0.6s; }
        .weather-card .live-dot-corner { position: absolute; top: 12px; right: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--color-mint); box-shadow: 0 0 6px rgba(82,183,136,0.6); animation: livePulse 2.5s ease-in-out infinite; }

        /* ===== IMPACT COUNTER ===== */
        .impact-section { background: linear-gradient(180deg, #081C15 0%, var(--color-forest) 50%, #081C15 100%); padding: 6rem 0; position: relative; overflow: hidden; }
        .impact-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 40%, rgba(82,183,136,0.06) 0%, transparent 50%), radial-gradient(circle at 70% 60%, rgba(221,161,94,0.04) 0%, transparent 50%); pointer-events: none; }
        .impact-header { text-align: center; margin-bottom: 3rem; }
        .impact-header h2 { color: #fff; font-size: 2.2rem; font-weight: 700; margin-bottom: 0.5rem; }
        .impact-header .lead { color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto; }
        .impact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
        .impact-card {
            background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
            border-radius: 20px; padding: 2.5rem 1.5rem; text-align: center;
            transition: all 0.4s var(--ease); cursor: default; position: relative; overflow: hidden;
        }
        .impact-card:hover { background: rgba(82,183,136,0.1); border-color: rgba(82,183,136,0.3); transform: translateY(-6px); }
        .impact-card::after { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(82,183,136,0.05) 0%, transparent 60%); opacity: 0; transition: opacity 0.5s; pointer-events: none; }
        .impact-card:hover::after { opacity: 1; }
        .impact-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3)); }
        .impact-number {
            font-size: 3.5rem; font-weight: 800; line-height: 1;
            background: linear-gradient(135deg, var(--color-sand), var(--color-terra));
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
            background-clip: text; font-variant-numeric: tabular-nums;
        }
        .impact-unit { font-size: 1rem; font-weight: 300; color: rgba(255,255,255,0.6); margin-top: 0.25rem; }
        .impact-label { font-size: 0.85rem; font-weight: 500; color: rgba(255,255,255,0.7); margin-top: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
        .impact-sub { font-size: 0.75rem; color: rgba(255,255,255,0.55); margin-top: 0.4rem; }

        /* ===== BEFORE/AFTER SLIDER ===== */
        .ba-section { background: var(--color-cream); padding: 5rem 0; }
        .ba-section .section-header h2 { color: var(--color-forest); }
        .ba-wrapper {
            position: relative; max-width: 900px; margin: 0 auto;
            border-radius: 20px; overflow: hidden;
            box-shadow: 0 16px 60px rgba(0,0,0,0.12);
            aspect-ratio: 16/9; cursor: col-resize;
            user-select: none; -webkit-user-select: none;
        }
        .ba-wrapper img {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            object-fit: cover; pointer-events: none;
        }
        .ba-after { clip-path: inset(0 0 0 50%); }
        .ba-slider-line {
            position: absolute; top: 0; bottom: 0; left: 50%; width: 4px;
            background: rgba(27,67,50,0.15); z-index: 10; transform: translateX(-50%);
            box-shadow: 0 0 20px rgba(0,0,0,0.4);
        }
        .ba-slider-handle {
            position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
            width: 48px; height: 48px; border-radius: 50%; background: rgba(27,67,50,0.15);
            box-shadow: 0 4px 20px rgba(0,0,0,0.3); z-index: 11;
            display: flex; align-items: center; justify-content: center;
            font-size: 1.2rem; color: var(--color-forest); font-weight: 700;
        }
        .ba-label {
            position: absolute; bottom: 1.5rem; z-index: 12;
            padding: 0.5rem 1.25rem; border-radius: 100px;
            font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em;
            text-transform: uppercase; backdrop-filter: blur(12px);
        }
        .ba-label-before { left: 1.5rem; background: rgba(0,0,0,0.5); color: #fff; }
        .ba-label-after { right: 1.5rem; background: rgba(82,183,136,0.8); color: #fff; }

        /* ===== SCROLL STORYTELLING ===== */
        .story-section { background: var(--color-dark); padding: 0; position: relative; overflow: hidden; }
        .story-track { position: relative; }
        .story-step {
            min-height: 80vh; display: flex; align-items: center; justify-content: center;
            position: relative; padding: 4rem 2rem;
        }
        .story-step .story-bg {
            position: absolute; inset: 0; background-size: cover; background-position: center;
            opacity: 0; transition: opacity 1.2s ease;
        }
        .story-step.is-active .story-bg { opacity: 0.35; }
        .story-step .story-overlay {
            position: absolute; inset: 0;
            background: linear-gradient(180deg, rgba(13,27,20,0.7) 0%, rgba(13,27,20,0.4) 50%, rgba(13,27,20,0.8) 100%);
        }
        .story-content {
            position: relative; z-index: 5; max-width: 700px; text-align: center;
            opacity: 0; transform: translateY(40px);
            transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
        }
        .story-step.is-active .story-content { opacity: 1; transform: translateY(0); }
        .story-year {
            display: inline-block; font-size: 4rem; font-weight: 800; line-height: 1;
            background: linear-gradient(135deg, var(--color-sand), var(--color-terra));
            -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
            margin-bottom: 1rem;
        }
        .story-content h3 { color: #fff; font-size: 1.8rem; font-weight: 700; margin-bottom: 1rem; }
        .story-content p { color: rgba(255,255,255,0.7); font-size: 1.05rem; line-height: 1.8; max-width: 550px; margin: 0 auto; }
        .story-dots {
            position: fixed; right: 2rem; top: 50%; transform: translateY(-50%);
            z-index: 100; display: flex; flex-direction: column; gap: 0.75rem;
            opacity: 0; transition: opacity 0.5s;
        }
        .story-dots.visible { opacity: 1; }
        .story-dot {
            width: 10px; height: 10px; border-radius: 50%;
            background: rgba(255,255,255,0.2); border: 1.5px solid rgba(255,255,255,0.55);
            cursor: pointer; transition: all 0.3s var(--ease);
        }
        .story-dot.active { background: var(--color-mint); border-color: var(--color-mint); transform: scale(1.4); box-shadow: 0 0 12px rgba(82,183,136,0.5); }
        .story-progress-bar {
            position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
            background: rgba(255,255,255,0.06); z-index: 1; transform: translateX(-50%);
        }
        .story-progress-fill {
            width: 100%; background: linear-gradient(180deg, var(--color-mint), var(--color-sand));
            transition: height 0.5s var(--ease);
        }
        @media (max-width: 768px) {
            .story-dots { display: none; }
            .story-year { font-size: 2.8rem; }
            .story-content h3 { font-size: 1.3rem; }
        }

        /* ===== CTA ===== */
        .section--cta { background: linear-gradient(135deg, var(--color-forest), #081C15); color: #fff; text-align: center; padding: 5rem 0; position: relative; overflow: hidden; }
        .section--cta::before { content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(82,183,136,0.08) 0%, transparent 70%); top: -200px; right: -200px; pointer-events: none; }
        .section--cta h2 { color: #fff; margin-bottom: 1rem; }
        .section--cta .lead { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 2rem; }

        /* ===== FOOTER ===== */
        .site-footer { background: #081C15; color: rgba(255,255,255,0.6); padding: 4rem 0 2rem; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
        .footer-brand h3 { color: #fff; font-size: 1.3rem; margin-bottom: 1rem; }
        .footer-brand p { font-size: 0.9rem; line-height: 1.7; }
        .footer-col h4 { color: rgba(255,255,255,0.8); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
        .footer-col a { display: block; color: rgba(255,255,255,0.7); font-size: 0.9rem; padding: 0.3rem 0; transition: all 0.2s; }
        .footer-col a:hover { color: var(--color-mint); transform: translateX(4px); }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; display: flex; justify-content: space-between; font-size: 0.8rem; }
        .footer-bottom a { color: rgba(255,255,255,0.6); }

        /* ===== ANIMATIONS ===== */
        .fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
        .fade-in.is-visible { opacity: 1; transform: translateY(0); }
        .slide-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
        .slide-left.is-visible { opacity: 1; transform: translateX(0); }
        .slide-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
        .slide-right.is-visible { opacity: 1; transform: translateX(0); }

        @media (max-width: 768px) {
            .feature-block, .feature-block--reverse { grid-template-columns: 1fr; gap: 2rem; }
            .footer-grid { grid-template-columns: 1fr 1fr; }
            .hero h1 { font-size: 2.5rem; }
            .ndvi-container { grid-template-columns: 1fr; }
            .cc-grid { grid-template-columns: 1fr; }
        }
    
    /* Overflow fixes */
    .mission-card h3, .mission-card p, .stat-label, .partner-card h3, .partner-card p,
    .timeline-content h3, .timeline-content p, .flora-card h3, .flora-card p,
    [class*="card"] h3, [class*="card"] p {
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
    }

        /* ===== MOBILE LANGUAGE SWITCHER ===== */
        .mobile-lang-btn {
            display: none;
            position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 1001;
            width: 48px; height: 48px; border-radius: 50%;
            background: rgba(13, 27, 20, 0.92);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(82, 183, 136, 0.3);
            color: #fff; font-size: 1.3rem;
            cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,0.3);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            align-items: center; justify-content: center;
        }
        .mobile-lang-btn:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(0,0,0,0.4); }
        .mobile-lang-btn.open { transform: rotate(15deg) scale(1.08); }
        .mobile-lang-menu {
            display: none;
            position: fixed; bottom: 4.5rem; right: 1.25rem; z-index: 1001;
            background: rgba(13, 27, 20, 0.95);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(82, 183, 136, 0.2);
            border-radius: 12px;
            padding: 0.5rem 0;
            box-shadow: 0 8px 32px rgba(0,0,0,0.4);
            opacity: 0; transform: translateY(8px) scale(0.95);
            transition: opacity 0.2s ease, transform 0.2s ease;
            pointer-events: none;
        }
        .mobile-lang-menu.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
        .mobile-lang-menu a {
            display: flex; align-items: center; gap: 0.6rem;
            padding: 0.6rem 1.2rem;
            color: rgba(255,255,255,0.8); font-size: 0.95rem; font-weight: 400;
            text-decoration: none; transition: background 0.15s, color 0.15s;
        }
        .mobile-lang-menu a:hover, .mobile-lang-menu a.active {
            background: rgba(82, 183, 136, 0.15); color: #fff;
        }
        .mobile-lang-menu a .lang-flag { font-size: 0.85rem; }
        @media (max-width: 768px) {
            .mobile-lang-btn { display: flex; }
        }



        /* ==============================
           SUBPAGE STYLES
           page-hero, contact, forms, footer
           ============================== */

        /* Page Hero (subpages) */
        .page-hero {
            background: linear-gradient(135deg, var(--color-forest) 0%, #1a3a2a 100%);
            padding: 8rem 2rem 3rem;
            text-align: center;
            color: #fff;
            position: relative;
        }
        .page-hero .hero-content { max-width: 800px; margin: 0 auto; }
        .page-hero h1 {
            font-size: clamp(2rem, 5vw, 3.2rem);
            font-weight: 700;
            margin-bottom: 0.75rem;
            color: #fff;
        }
        .page-hero p {
            font-size: 1.1rem;
            color: rgba(255,255,255,0.75);
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.6;
        }

        /* Contact Section */
        .contact-section { padding: 4rem 2rem; background: var(--color-cream, #faf8f4); }
        .contact-grid {
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            gap: 3rem;
            max-width: 1100px;
            margin: 0 auto;
        }
        @media (max-width: 768px) {
            .contact-grid { grid-template-columns: 1fr; }
        }

        /* Contact Form */
        .contact-form-wrapper h2,
        .contact-info-wrapper h2 {
            font-size: 1.6rem;
            color: var(--color-forest);
            margin-bottom: 1.5rem;
            font-weight: 600;
        }
        .form-group { margin-bottom: 1.25rem; }
        .form-group label {
            display: block;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--color-cream);
            margin-bottom: 0.4rem;
        }
        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 0.7rem 1rem;
            border: 1.5px solid #d0ccc5;
            border-radius: 8px;
            font-size: 0.95rem;
            font-family: inherit;
            background: rgba(27,67,50,0.15);
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--color-forest);
            box-shadow: 0 0 0 3px rgba(45,106,79,0.1);
        }
        .btn-primary {
            background: var(--color-forest);
            color: #fff;
            border: none;
            padding: 0.85rem 2rem;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s, transform 0.15s;
        }
        .btn-primary:hover { background: #1a5c3a; transform: translateY(-1px); }
        .btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
        .form-success { padding: 1.5rem; background: rgba(82,183,136,0.15); border-radius: 8px; text-align: center; }

        /* Contact Info */
        .contact-info-block { margin-bottom: 1.5rem; }
        .contact-info-block h3 {
            font-size: 1rem;
            font-weight: 600;
            color: var(--color-forest);
            margin-bottom: 0.3rem;
        }
        .contact-info-block p { color: rgba(255,255,255,0.85); line-height: 1.6; }
        .contact-info-block a { color: var(--color-forest); text-decoration: none; }
        .contact-info-block a:hover { text-decoration: underline; }

        /* Map */
        .map-container { margin-top: 1.5rem; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.1); }
        #map { height: auto; width: 100%; } /* was 250px - broke geology page iframe */

        /* Footer links (social icons) */
        .footer-links { display: flex; gap: 1rem; }
        .footer-links a {
            color: rgba(255,255,255,0.6);
            transition: color 0.2s;
        }
        .footer-links a:hover { color: #fff; }
        .footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
        @media (max-width: 768px) {
            .footer-cols { grid-template-columns: repeat(2, 1fr); }
        }


/* ═══════════════════════════════════════
   NEW NAV SYSTEM (April 2026 Sprint)
   Overrides old header rules below
   ═══════════════════════════════════════ */

/* === WILD ROOTS — SHARED BASELINE CSS === */
/* Only shared styles: reset, vars, header, footer, nav, page-hero */
/* Page-specific styles are in separate files (blog.css, building.css, etc.) */

:root {
    --color-forest: #1B4332;
    --color-forest-light: #2D6A4F;
    --color-sage: #40916C;
    --color-mint: #52B788;
    --color-sand: #DDA15E;
    --color-terra: #BC6C25;
    --color-cream: #FEFAE0;
    --color-dark: #0d1b14;
    --color-light-green: #D8F3DC;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: 'Outfit', -apple-system, sans-serif;
    color: var(--color-cream); line-height: 1.7; background: var(--color-dark);
    overflow-x: hidden; font-weight: 300; font-size: 1.05rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-mint); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-terra); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* === HEADER (solid dark green for all subpages) === */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.5rem 2rem;
    background: transparent; transition: background 0.5s ease, box-shadow 0.5s ease, padding 0.4s ease;

}
.header-logo { display: flex; align-items: center; text-decoration: none; }
.header-logo-img { height: 45px; width: auto; transition: all 0.4s ease; }
.header-nav { display: flex; gap: 1.5rem; align-items: center; }
.header-nav a {
    color: rgba(255,255,255,0.75); font-size: 0.85rem; font-weight: 400;
    letter-spacing: 0.04em; text-decoration: none; position: relative; transition: color 0.3s;
}
.header-nav a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--color-mint);
    transition: width 0.3s var(--ease);
}
.header-nav a:hover { color: #fff; }
.header-nav a:hover::after, .header-nav a.active::after { width: 100%; }
.header-nav a.active { color: var(--color-mint); }

/* === LANGUAGE SWITCHER === */
.lang-switcher {
    display: flex; gap: 0.4rem; align-items: center;
    margin-left: 1rem; padding-left: 1rem;
    border-left: 1px solid rgba(255,255,255,0.15);
}
.lang-switcher a {
    color: rgba(255,255,255,0.6); font-size: 0.75rem;
    padding: 0.2rem 0.4rem; border-radius: 4px;
    transition: all 0.3s ease; text-decoration: none;
}
.lang-switcher a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.lang-switcher a.active { color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.1); }
.lang-switcher a::after { display: none; }

/* === MOBILE HEADER === */
@media (max-width: 768px) {
    .header-nav { display: none; }
    .site-header { padding: 0.6rem 1.2rem; }
    .lang-switcher {
        position: fixed; top: 0.6rem; right: 1rem;
        z-index: 1001; margin: 0; padding: 0; border: none;
    }
}

/* === FOOTER === */
.site-footer { background: var(--color-dark); color: rgba(255,255,255,0.6); padding: 4rem 0 2rem; margin-top: 4rem; }
.footer-grid {
    max-width: 1200px; margin: 0 auto; padding: 0 2rem;
    display: grid; grid-template-columns: 1.5fr 2.5fr; gap: 4rem; align-items: start;
}
.footer-brand img { width: 120px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.footer-col h4 {
    color: #fff; font-size: 0.8rem; text-transform: uppercase;
    letter-spacing: 0.08em; margin-bottom: 0.8rem;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.85rem; transition: color 0.2s; text-decoration: none; }
.footer-col a:hover { color: var(--color-mint); }
.footer-bottom {
    max-width: 1200px; margin: 2rem auto 0; padding: 1.5rem 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem;
}
.footer-social { display: flex; gap: 1rem; }
.footer-social a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-social a:hover { color: var(--color-mint); }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-cols { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* === PAGE HERO (subpages) === */
.page-hero {
    background: linear-gradient(135deg, var(--color-forest) 0%, #1a3a2a 100%);
    padding: 8rem 2rem 3.5rem; text-align: center; color: #fff;
}
.page-hero .hero-content { max-width: 800px; margin: 0 auto; }
.page-hero h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.page-hero p { font-size: 1.1rem; opacity: 0.8; }

@media (max-width: 768px) {
    .page-hero { padding: 6rem 1.5rem 2.5rem; }
    .page-hero h1 { font-size: 1.8rem; }
}

/* === UTILITIES === */
[class*="card"] h3, [class*="card"] p, h2, h3 {
    overflow-wrap: break-word; word-wrap: break-word;
    hyphens: auto; -webkit-hyphens: auto;
}

/* === PRINT === */
@media print {
    .site-header, .site-footer { display: none; }
    .page-hero { padding-top: 2rem; background: none; color: var(--color-cream); }
}

/* ============================================================
   EXTENDED STYLES — Sprint 1 Rebuild
   ============================================================ */

/* === DROPDOWN NAVIGATION === */
.nav-item { position: relative; }
.has-dropdown { cursor: pointer; }
.has-dropdown::after { content: '\25BE'; margin-left: 4px; font-size: 0.7em; opacity: 0.6; }
.dropdown-panel {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    background: rgba(13, 27, 20, 0.97); backdrop-filter: blur(20px);
    border-radius: 8px; padding: 1rem 0; min-width: 220px;
    opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(8px);
    transition: all 0.3s var(--ease); pointer-events: none;
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.dropdown-panel.open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.dropdown-panel a {
    display: block; padding: 0.5rem 1.5rem; color: rgba(255,255,255,0.7);
    font-size: 0.85rem; transition: all 0.2s; white-space: nowrap;
}
.dropdown-panel a:hover { color: #fff; background: rgba(82,183,136,0.15); padding-left: 1.8rem; }
.dropdown-panel a::after { display: none; }

/* === HAMBURGER MENU === */
.hamburger {
    display: none; flex-direction: column; gap: 5px; cursor: pointer;
    padding: 8px; z-index: 1002; background: none; border: none;
}
.hamburger span {
    display: block; width: 24px; height: 2px; background: rgba(27,67,50,0.15);
    transition: all 0.3s var(--ease); border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .header-nav {
        display: flex !important; flex-direction: column; gap: 0;
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: var(--color-dark); padding: 5rem 2rem 2rem;
        transition: right 0.4s var(--ease); z-index: 1001;
        overflow-y: auto;
    }
    .header-nav.active { right: 0; }
    .header-nav a { padding: 0.8rem 0; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .header-nav a::after { display: none; }
    .dropdown-panel {
        position: static; transform: none; background: rgba(255,255,255,0.03);
        border-radius: 0; padding: 0; box-shadow: none; min-width: 0;
        max-height: 0; overflow: hidden; transition: max-height 0.3s ease, opacity 0.3s, padding 0.3s;
    }
    .dropdown-panel.open { max-height: 500px; padding: 0.5rem 0; opacity: 1; visibility: visible; }
    .dropdown-panel a { padding-left: 1.5rem; font-size: 0.9rem; border-bottom: none; }
    .lang-switcher { position: fixed; top: 0.6rem; right: 3.5rem; z-index: 1003; }
    .menu-overlay {
        position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000;
        opacity: 0; visibility: hidden; transition: all 0.3s;
    }
    .menu-overlay.active { opacity: 1; visibility: visible; }
}

/* === SCROLL REVEAL ANIMATIONS === */
.reveal {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }

/* Scrolled state — nav.js adds .scrolled on scroll > 50px */
.site-header.scrolled {
    background: rgba(13, 27, 20, 0.92);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    padding: 0.3rem 2rem;
}
.site-header.scrolled .header-logo-img {
    height: 32px;
}

/* === TEAM SECTION === */
.team-section { padding: 6rem 0; background: #fafdf8; }
.team-section .section-header h2 { font-size: 2.2rem; color: var(--color-forest); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.team-card {
    background: rgba(27,67,50,0.15); border-radius: 12px; overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3); transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.team-card-img { height: 220px; background-size: cover; background-position: center; position: relative; }
.team-card-img::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60%;
    background: linear-gradient(transparent, rgba(0,0,0,0.4));
}
.team-card-body { padding: 1.5rem; }
.team-card-body h3 { font-size: 1.3rem; color: var(--color-forest); margin-bottom: 0.3rem; }
.team-card-body .role { color: var(--color-mint); font-size: 0.85rem; font-weight: 500; margin-bottom: 0.8rem; }
.team-card-body p { font-size: 0.95rem; color: rgba(255,255,255,0.85); line-height: 1.6; }
@media (max-width: 768px) {
    .team-grid { grid-template-columns: 1fr; max-width: 400px; }
}

/* === CO2 TEASER SECTION === */
.co2-teaser { padding: 5rem 0; background: var(--color-forest); color: #fff; overflow: hidden; }
.co2-teaser .section-header h2 { color: #fff; }
.co2-teaser .section-header p { color: rgba(255,255,255,0.7); }
.co2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.co2-bars { display: flex; flex-direction: column; gap: 1.2rem; }
.co2-bar-wrap label { display: block; font-size: 0.85rem; opacity: 0.8; margin-bottom: 0.3rem; }
.co2-bar {
    height: 32px; border-radius: 6px; width: 0;
    transition: width 1.5s var(--ease); position: relative;
}
.co2-bar span {
    position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%);
    font-size: 0.8rem; font-weight: 600; white-space: nowrap;
    opacity: 0; transition: opacity 0.5s 1s;
}
.co2-bar.animated span { opacity: 1; color: rgba(255,255,255,0.9); }
.co2-cta { text-align: center; }
.btn-outline {
    display: inline-block; padding: 0.8rem 2rem; border: 2px solid var(--color-mint);
    color: var(--color-mint); border-radius: 8px; font-weight: 500;
    transition: all 0.3s; font-size: 1rem;
}
.btn-outline:hover { background: var(--color-mint); color: var(--color-forest); }
@media (max-width: 768px) {
    .co2-grid { grid-template-columns: 1fr; }
    .co2-teaser .section-header h2 { font-size: 1.6rem; }
}

/* === STATS ROW === */
.stat-number { font-size: 3rem; font-weight: 700; color: var(--color-mint); line-height: 1; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.85); margin-top: 0.3rem; }
.stats-row { display: flex; justify-content: center; gap: 4rem; padding: 3rem 0; flex-wrap: wrap; }
.stat-item { text-align: center; }
@media (max-width: 768px) { .stats-row { gap: 2rem; } .stat-number { font-size: 2.2rem; } }

/* === CTA SECTION === */
.cta-section { padding: 5rem 0; background: linear-gradient(135deg, var(--color-forest) 0%, #0d2818 100%); color: #fff; text-align: center; }
.cta-section h2 { font-size: 2.2rem; margin-bottom: 1rem; }
.cta-section p { opacity: 0.8; max-width: 600px; margin: 0 auto 2rem; }
.btn-primary {
    display: inline-block; padding: 1rem 2.5rem; background: var(--color-mint);
    color: var(--color-forest); border-radius: 8px; font-weight: 600;
    font-size: 1.05rem; transition: all 0.3s; border: none; cursor: pointer;
}
.btn-primary:hover { background: #3DA577; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(82,183,136,0.3); color: var(--color-forest); }
.btn-secondary {
    display: inline-block; padding: 0.8rem 2rem; border: 2px solid rgba(255,255,255,0.55);
    color: #fff; border-radius: 8px; font-weight: 500; transition: all 0.3s; margin-left: 1rem;
}
.btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* === LAND SECTION === */
.land-section { padding: 6rem 0; }
.land-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.land-img { border-radius: 12px; overflow: hidden; }
.land-img img { width: 100%; height: 400px; object-fit: cover; }
.land-content h2 { font-size: 2rem; color: var(--color-cream); margin-bottom: 1rem; }
.land-facts { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.land-fact { background: rgba(82,183,136,0.15); padding: 0.6rem 1.2rem; border-radius: 8px; font-size: 0.9rem; color: var(--color-mint); font-weight: 500; }
@media (max-width: 768px) { .land-grid { grid-template-columns: 1fr; } .land-img img { height: 250px; } }

/* === PILLARS SECTION === */
.pillars-section { padding: 6rem 0; background: rgba(27,67,50,0.08); }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.pillar-card {
    background: rgba(27,67,50,0.12); border-radius: 12px; padding: 2rem; text-align: center;
    box-shadow: 0 2px 16px rgba(0,0,0,0.3); transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--color-mint);
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.pillar-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.pillar-card h3 { font-size: 1.2rem; color: var(--color-mint); margin-bottom: 0.8rem; }
.pillar-card p { font-size: 0.95rem; color: rgba(254,250,224,0.75); line-height: 1.6; }
@media (max-width: 768px) { .pillars-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; } }

/* === NEWSLETTER SECTION === */
.newsletter-section { padding: 4rem 0; background: var(--color-cream); text-align: center; }
.newsletter-section h2 { font-size: 1.8rem; color: #1B4332; margin-bottom: 0.5rem; }
.newsletter-form { display: flex; gap: 0.5rem; max-width: 480px; margin: 1.5rem auto 0; }
.newsletter-form input {
    flex: 1; padding: 0.8rem 1.2rem; border: 2px solid rgba(27,67,50,0.3); border-radius: 8px;
    font-size: 1rem; font-family: inherit; outline: none; transition: border-color 0.3s; background: rgba(13,27,20,0.3); color: #1B4332;
}
.newsletter-form input:focus { border-color: var(--color-mint); }
.newsletter-form button { padding: 0.8rem 1.5rem; }

/* === TIMELINE === */
.timeline-section { padding: 6rem 0; }
.timeline { position: relative; max-width: 700px; margin: 2rem auto; padding-left: 3rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--color-light-green); border-radius: 3px; }
.timeline-item { position: relative; margin-bottom: 2.5rem; }
.timeline-item::before {
    content: ''; position: absolute; left: -3rem; top: 0.3rem;
    width: 14px; height: 14px; border-radius: 50%; background: var(--color-mint);
    border: 3px solid #fff; box-shadow: 0 0 0 3px var(--color-light-green);
}
.timeline-item .year { font-weight: 700; color: var(--color-mint); font-size: 0.9rem; }
.timeline-item h3 { font-size: 1.1rem; color: var(--color-mint); margin: 0.2rem 0; }
.timeline-item p { font-size: 0.9rem; color: rgba(255,255,255,0.85); }

/* === DATA HUB TEASER === */
.datahub-teaser { padding: 5rem 0; background: rgba(27,67,50,0.08); }
.datahub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1100px; margin: 2rem auto 0; padding: 0 2rem; }
.datahub-card {
    background: rgba(27,67,50,0.12); border-radius: 10px; padding: 1.5rem; text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3); transition: transform 0.3s;
}
.datahub-card:hover { transform: translateY(-3px); }
.datahub-card .icon { font-size: 2rem; margin-bottom: 0.8rem; }
.datahub-card h3 { font-size: 1rem; color: var(--color-mint); margin-bottom: 0.5rem; }
.datahub-card p { font-size: 0.85rem; color: rgba(255,255,255,0.75); }
@media (max-width: 768px) { .datahub-grid { grid-template-columns: 1fr; max-width: 350px; margin: 2rem auto 0; } }

/* === SECTION HEADERS === */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; padding: 0 2rem; }
.section-header h2 { font-size: 2.2rem; color: var(--color-cream); margin-bottom: 0.5rem; font-weight: 700; }
.section-header p { color: rgba(255,255,255,0.85); font-size: 1.05rem; }
@media (max-width: 768px) { .section-header h2 { font-size: 1.7rem; } }




/* LIGHT-BG TEXT FIX — dark text on cream/light sections */
.section--alt h2, .section--alt h3, .section--alt h4 { color: #1B4332 !important; }
.section--alt p, .section--alt li, .section--alt td, .section--alt span:not(.mat-tag):not(.highlight):not(.section-label) { color: rgba(13,27,20,0.8) !important; }
.section--alt .lead { color: rgba(13,27,20,0.65) !important; }
.section--alt a { color: #2D6A4F !important; }
.section--alt .bio-src, .section--alt .gallery-caption { color: rgba(13,27,20,0.55) !important; }
.section--alt .highlight { color: #40916C !important; }
.section--alt .mat-tag { color: rgba(13,27,20,0.7) !important; }
.section--alt .legal-frame p, .section--alt .legal-frame .legal-ref { color: rgba(13,27,20,0.75) !important; }

/* Cream-bg sections (style.css generic) */
section[style*="cream"] h2, section[style*="cream"] h3, section[style*="cream"] h4 { color: #1B4332 !important; }
section[style*="cream"] p, section[style*="cream"] li { color: rgba(13,27,20,0.8) !important; }
section[style*="#faf"] h2, section[style*="#faf"] h3 { color: #1B4332 !important; }
section[style*="#faf"] p, section[style*="#faf"] li { color: rgba(13,27,20,0.8) !important; }

/* Any section with light-green bg */
.section--light-green h2, .section--light-green h3 { color: #1B4332 !important; }
.section--light-green p, .section--light-green li { color: rgba(13,27,20,0.8) !important; }


/* LANG-SWITCHER COMPACT */
.lang-switcher { display: flex !important; gap: 0.25rem !important; align-items: center !important; margin-left: 0.75rem !important; padding-left: 0.75rem !important; border-left: 1px solid rgba(255,255,255,0.15) !important; }
.lang-switcher a { display: inline-flex !important; align-items: center !important; gap: 0.3rem !important; color: rgba(255,255,255,0.55) !important; font-size: 0.7rem !important; font-weight: 500 !important; letter-spacing: 0.03em !important; text-decoration: none !important; padding: 0.2rem 0.45rem !important; border-radius: 4px !important; transition: all 0.25s ease !important; white-space: nowrap !important; }
.lang-switcher a:hover { color: #fff !important; background: rgba(255,255,255,0.1) !important; }
.lang-switcher a.active { color: rgba(255,255,255,0.95) !important; background: rgba(255,255,255,0.12) !important; }
.lang-switcher a::after { display: none !important; }
.lang-switcher .lang-flag-img { width: 16px !important; height: 11px !important; border-radius: 1.5px !important; vertical-align: middle !important; margin-right: 2px !important; flex-shrink: 0 !important; object-fit: cover !important; }
@media (max-width: 768px) { .lang-switcher { position: fixed !important; top: 0.6rem !important; right: 3.5rem !important; z-index: 1003 !important; margin: 0 !important; padding: 0 !important; border: none !important; gap: 0.15rem !important; } .lang-switcher a { font-size: 0 !important; padding: 0.25rem !important; } .lang-switcher .lang-flag-img { width: 20px !important; height: 14px !important; margin-right: 0 !important; } }
