        /* ----- GLOBAL RESET & STICKY FIX ----- */
        body {
            margin: 0;
            padding: 0;
            overflow-x: clip; /* Fixes sticky positioning across browsers */
            
        }

        .carbon_content-wrapper {
            --color-bg: #f8fafc;
            --color-card-bg: #ffffff;
            --color-text-primary: #1e293b;
            --color-text-secondary: #64748b;
            --color-text-heading: #0f172a;
            --color-border: #e2e8f0;
            --color-highlight: #be123c;
            --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
            font-family: 'Morion','Georgia', serif;
            color: var(--color-text-primary);
            font-size: 1.15rem;
            line-height: 1.8;
            margin-left: calc(-20px);
            width: 100vw;
            /* background-color: #f8fafc; */
            padding-bottom: 3rem;
        }

        .carbon_content-wrapper * { box-sizing: border-box; }


        /* ----- 1. TEXT ----- */
        .carbon_content-wrapper .text-container {
            max-width: 38rem;
            margin: 4.5rem auto;
            padding: 0 1.5rem;
            position: relative;
            z-index: 10;
            /* background: var(--color-bg); */
        }

        .carbon_content-wrapper .text-container p {
            font-size: 1.1875rem;
            line-height: 1.75rem;
            font-weight: 300;
            margin-top: 1.8625rem !important;
        }
        .carbon_content-wrapper .text-container h2 {
            font-size: 1.6rem;
            margin: 1.5rem 0 1rem;
            font-weight: 600;
            color: #0f172a;
        }

        .carbon_content-wrapper .full-bleed-image {
            width: 100vw;
            margin-left: 50%;
            transform: translateX(-50%);
        }

        .carbon_content-wrapper .full-bleed img {
            width: 100%;
            height: auto;
            display: block;
            height: 60vh;
            object-fit: cover;
            margin-bottom: -0.58rem !important;
        }

        .carbon_content-wrapper .full-bleed-video {
            width: 60vw;
            position: relative;
            /* left: 50%;
            right: 50%;
            margin-left: -50vw;
            margin-right: -50vw; */
            margin: 0 auto;
            background: #000;
            margin-top: 2rem;
            margin-bottom: 2rem;
        }
        .carbon_content-wrapper .video-wrapper {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 aspect ratio */
            height: 0;
            overflow: hidden;
        }
        .carbon_content-wrapper .video-wrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }

        /* ----- 2. FIRST MAP: FULL SCREEN SCROLLYTELLING ----- */
        .carbon_content-wrapper .scrolly-container {
            position: relative;
            width: 100%;
            background: #000;
        }

        .carbon_content-wrapper #map-scrolly {
            position: sticky;
            top: 0;
            width: 100%;
            height: 100vh;
            z-index: 1;
        }

        .carbon_content-wrapper .story-steps {
            position: relative;
            z-index: 2;
            /* margin-top: -100vh;  */
            padding-bottom: 10vh;
            pointer-events: none;
        }

        .carbon_content-wrapper .step-card {
            max-width: 440px;
            margin: 0 auto 80vh auto; /* Creates space between narrative steps */
            background: white;
            padding: 2rem;
            border-radius: 12px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            border-left: 6px solid var(--color-highlight);
            pointer-events: auto;
            opacity: 0.2;
            transition: opacity 0.5s ease, transform 0.5s ease;
        }

        .carbon_content-wrapper .step-card.active { opacity: 1; transform: scale(1.02); }
        .carbon_content-wrapper .step-card h3 { margin-top: 0; }


        /* ----- 3. SECOND MAP: FULL SCREEN INTERACTIVE ----- */
        .carbon_content-wrapper .map-section-wrapper {
            height: 100vh; /* Full viewport height */
            position: relative;
            margin: 0;
        }

        .carbon_content-wrapper .sticky-map-container {
            position: sticky;
            top: 0;
            width: 100%;
            height: 100vh;
            display: flex;
            flex-direction: column;
            z-index: 5;
            background: #1a2a3a;
            border-top: 1px solid var(--color-border);
            border-bottom: 1px solid var(--color-border);
        }

        .carbon_content-wrapper #map {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }
        /* Toggle button for mobile */
        .carbon_content-wrapper .toggle-panel-btn {
            position: absolute;
            bottom: 20px;
            right: 20px;
            background: #d97706;
            color: white;
            border: none;
            border-radius: 4px;
            padding: 12px 16px;
            font-size: 1.2rem;
            font-weight: bold;
            cursor: pointer;
            z-index: 30;
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
            display: none;
            font-family: var(--font-sans);
            transition: all 0.2s;
        }
        .carbon_content-wrapper .toggle-panel-btn:hover {
            background: #b45f06;
        }
        /* Control panel – light editorial theme */
        .carbon_content-wrapper .control-panel {
            position: absolute;
            top: 24px;
            left: 24px;
            width: 320px;
            background: rgba(255, 255, 255, 0.96);
            backdrop-filter: blur(8px);
            border-radius: 8px;
            padding: 1.5rem;
            box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.02);
            font-family: var(--font-sans);
            color: #1e2a3a;
            pointer-events: auto;
            z-index: 20;
            border-left: 4px solid #d97706;
            transition: transform 0.3s ease, opacity 0.3s ease;
            max-height: 90vh;
            overflow-y: auto;
        }
        .carbon_content-wrapper .control-panel h3 {
            font-size: 1.35rem;
            font-weight: 600;
            margin: 0 0 0.25rem 0;
            letter-spacing: -0.3px;
            color: #0f172a;
        }
        .carbon_content-wrapper .subhead {
            font-size: 0.8rem;
            font-weight: 400;
            color: #4b5563;
            border-bottom: 1px solid #e2e8f0;
            padding-bottom: 0.75rem;
            margin-bottom: 1rem;
        }
        .carbon_content-wrapper .water-selector {
            width: 100%;
            padding: 0.7rem 1rem;
            border-radius: 4px;
            background: #ffffff;
            border: 1px solid #cbd5e1;
            font-weight: 500;
            font-family: var(--font-sans);
            font-size: 0.9rem;
            margin: 0.5rem 0 1rem 0;
            cursor: pointer;
            transition: all 0.2s;
            color: #0f172a;
        }
        .carbon_content-wrapper .water-selector:focus {
            outline: none;
            border-color: #d97706;
            box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.2);
        }
        .carbon_content-wrapper .stats-card {
            background: #f8fafc;
            border-radius: 4px;
            padding: 0.9rem;
            margin: 1rem 0;
            border: 1px solid #e2e8f0;
        }
        .carbon_content-wrapper .stats-row {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            margin-bottom: 0.5rem;
            font-size: 0.85rem;
        }
        .carbon_content-wrapper .stats-label {
            font-weight: 500;
            color: #334155;
        }
        .carbon_content-wrapper .stats-value {
            font-weight: 700;
            color: #0f172a;
            font-size: 1.1rem;
        }
        .carbon_content-wrapper .risk-badge {
            background: #fef9e8;
            border-radius: 4px;
            padding: 0.8rem;
            text-align: center;
            margin: 0.75rem 0;
            border: 1px solid #fee2b5;
        }
        .carbon_content-wrapper .risk-badge span {
            font-size: 1rem;
            font-weight: 600;
            display: block;
        }
        .carbon_content-wrapper .legend {
            margin-top: 1rem;
            border-top: 1px solid #e2e8f0;
            padding-top: 0.8rem;
        }
        .carbon_content-wrapper .legend-title {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 600;
            color: #64748b;
            margin-bottom: 0.6rem;
        }
        .carbon_content-wrapper .legend-item {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 0.5rem 0;
            font-size: 0.75rem;
            font-weight: 500;
        }
        .carbon_content-wrapper .legend-color {
            width: 20px;
            height: 20px;
            border-radius: 6px;
        }
        .carbon_content-wrapper .status-text {
            font-size: 0.9rem;
            margin-top: 1rem;
            background: #f1f5f9;
            padding: 0.6rem;
            border-radius: 4px;
            text-align: center;
            color: #1e293b;
            font-weight: 450;
        }
        .carbon_content-wrapper .dam-note {
            position: absolute;
            bottom: 20px;
            left: 20px;
            background: rgba(0, 0, 0, 0.65);
            backdrop-filter: blur(4px);
            padding: 6px 14px;
            border-radius: 4px;
            font-size: 0.7rem;
            font-family: monospace;
            z-index: 20;
            pointer-events: none;
            color: #f8fafc;
            font-weight: 400;
            letter-spacing: 0.2px;
        }
        /* Caption below map (outside the map div) */
        .carbon_content-wrapper .map-caption {
            background: #f1f5f9;
            border-top: 1px solid #e2e8f0;
            padding: 10px 16px;
            text-align: center;
            font-size: 0.75rem;
            color: #334155;
            font-weight: 450;
            font-family: var(--font-sans);
            flex-shrink: 0;
            width: 100%;
        }
        /* Mobile responsiveness */
        @media (max-width: 768px) {
            .carbon_content-wrapper .control-panel {
                top: auto;
                bottom: 80px;
                right: 16px;
                left: 16px;
                width: auto;
                max-width: calc(100% - 32px);
                max-height: 60vh;
                overflow-y: auto;
                transform: translateY(100%);
                opacity: 0;
                visibility: hidden;
                transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
                border-radius: 8px;
                padding: 1.2rem;
            }
            .carbon_content-wrapper .control-panel.open {
                transform: translateY(0);
                opacity: 1;
                visibility: visible;
            }
            .carbon_content-wrapper .toggle-panel-btn {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 8px;
                bottom: 20px;
                right: 20px;
                z-index: 30;
            }
            .carbon_content-wrapper .dam-note {
                bottom: 20px;
                left: 20px;
                font-size: 0.65rem;
            }
            .carbon_content-wrapper .map-caption {
                font-size: 0.7rem;
                padding: 8px 12px;
            }
            .carbon_content-wrapper .stats-row {
                font-size: 0.8rem;
            }
            .carbon_content-wrapper .stats-value {
                font-size: 1rem;
            }

            .carbon_content-wrapper .full-bleed-video {
                width: 100vw;
                left: 50%;
                transform: translateX(-50%);
            }
        }
        /* Desktop: panel always visible, no toggle button */
        @media (min-width: 769px) {
            .carbon_content-wrapper .toggle-panel-btn {
                display: none;
            }
            .carbon_content-wrapper .control-panel {
                transform: none !important;
                opacity: 1 !important;
                visibility: visible !important;
            }
        }

        /* Marker UI */
        .carbon_content-wrapper .chapter-marker {
            background: var(--color-highlight);
            color: white;
            width: 32px; height: 32px;
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-weight: bold; border: 2px solid white;
        }

        @media (max-width: 768px) {
            .carbon_content-wrapper .step { justify-content: center; }
            .carbon_content-wrapper .step-content { max-width: 90%; }
        }