/* --- Mother Wrapper & Variable Scope --- */
        * { box-sizing: border-box; margin:0; padding:0; }

        body {
            margin: 0;
            font-family: "Morion", 'Georgia';
        }

        .carbon_content-wrapper {
            --bg-color: #f5eee6;
            --text-dark: #222;
            --text-light: #555;
            --accent-red: #c54a50;
            --font-serif: 'Lora', serif;
            --font-sans: 'Open Sans', sans-serif;
            --font-handwriting: 'Caveat', cursive;
            --section-gap: 6rem; 
            --large-gap: 8rem;

            --spacing-sm: 1rem;
            --spacing-md: 1.5rem;
            --spacing-lg: 2rem;
            --spacing-xl: 4rem;

            background-color: var(--bg-color);
            font-family: var(--font-serif);
            color: var(--text-dark);
            line-height: 1.6;
            
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            position: relative;
            width: 100%;
            padding-top:400px;
        }

        .carbon_content-wrapper .article-container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 2rem 2rem;
        }

        .carbon_content-wrapper .scene-container {
            position: absolute;
            height: 100vh;
            overflow: hidden;
            top: 0px !important;
        }

        .carbon_content-wrapper .parallax-container {
            position: relative;
            overflow: visible;
            width: 100vw;
            height: 100vh;
            z-index: 1;
        }

        .carbon_content-wrapper .parallax-layer {
            width: 100vw;
            height:100vh;
            position: absolute;
            left: 0;
            top: 0;
            background-position: bottom center;
            background-repeat: repeat-x;
        }

        .carbon_content-wrapper .layer-1 {
            top:0 !important;
            z-index: 5;
            background-image: url('https://interactive.nation.africa/2026/prod/bongos/images/sky_back.png');
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;
        }

        .carbon_content-wrapper .layer-2 {
            z-index: 14;
            background-image: url('https://interactive.nation.africa/2026/prod/bongos/images/blue_hills.png');
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;
        }

        .carbon_content-wrapper .layer-3 {
            top:100px !important;
            z-index: 16;
            background-image: url('https://interactive.nation.africa/2026/prod/bongos/images/green_hills.png');
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;
            opacity: .65;
        }

        .carbon_content-wrapper .layer-4 {
            z-index: 15;
            background-image: url('https://interactive.nation.africa/2026/prod/bongos/images/blue_fore.png');
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;
        }

        .carbon_content-wrapper .layer-5 {
            top:25px !important;
            z-index: 20;
            background-image: url('https://interactive.nation.africa/2026/prod/bongos/images/bongo_middle.png');
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;
        }

        .carbon_content-wrapper .layer-6 {
            top:90px !important;
            z-index: 19;
            background-image: url('https://interactive.nation.africa/2026/prod/bongos/images/blue_middle.png');
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;
        }
            
        .carbon_content-wrapper .layer-7 {
            top:0px !important;
            z-index: 25;
            background-image: url('https://interactive.nation.africa/2026/prod/bongos/images/grass_fore.png');
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;
        }

        .carbon_content-wrapper main {
            display: block;
        } 

    /* The Heading Title */
        .carbon_content-wrapper .parallax__heading {
            position: absolute;
            top: 38%; left: 50%;
            transform: translate(-50%, -50%) translateZ(-10px) scale(1.1); /* Slight depth */
            z-index: 100;
            padding: 80px 20px;
            text-align: center;
            max-width: 80%;
            width: 48rem;
        }

        .carbon_content-wrapper .author-byline {
            display: flex;
            flex-wrap: wrap; 
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            margin-top: var(--spacing-md);
            font-family: var(--font-sans); font-size: 0.75rem; text-transform: uppercase; color: var(--text-light);
        }
        .carbon_content-wrapper .author-byline img {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            object-fit: cover;
        }
        .carbon_content-wrapper .author-byline span { line-height: 1; }

        .carbon_content-wrapper .content-layer {
            position: relative;
            z-index: 10;
            padding-top: 200px;
            padding-bottom: 100px;
            background-image: url("https://interactive.nation.africa/2026/prod/bongos/images/light_bg.png");
            background-repeat: repeat-x;
            min-height: auto;
        }

        .carbon_content-wrapper .title1 {
            font-size: clamp(2.5rem, 8vw, 2.5rem);
            font-weight: 300;
            color: #000000;
            line-height: 1.2;
            font-family: 'Morion', Helvetica, sans-serif;
            max-width: 55rem;
            line-height: 3.5rem;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            margin-top: var(--spacing-md);
            margin-bottom: var(--spacing-md);
            margin-left: auto;
            margin-right: auto;
            padding: 32px 32px;
        }

    /* --- Global Typography (Nesting prevents global h2/h3 leaks) --- */
        .carbon_content-wrapper h2 { font-size: 2.2rem; font-weight: 400; margin-bottom: 1rem; line-height: 1.2; }
        .carbon_content-wrapper h3 { font-size: 1.55rem; margin-top: 3.25rem; margin-bottom: 1.25rem; font-weight: 700; color: #444; }
        .carbon_content-wrapper .body-text { font-size: 1.1rem; margin-bottom: 1.2rem; color: var(--text-dark); }
        .carbon_content-wrapper .small-text { font-family: var(--font-sans); font-size: 0.85rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.8rem; }
        .carbon_content-wrapper .highlight-red { color: var(--accent-red); font-weight: 700; }
        .carbon_content-wrapper .kicker { font-size: 1.5rem; font-weight: 400; margin-bottom: 2.5rem; line-height: 1.65; font-style: italic;}

        .carbon_content-wrapper .quote-text { font-size: 2.8rem; line-height: 0.95; margin-bottom: 1.5rem; letter-spacing: -1px; font-weight: 400; }
        .carbon_content-wrapper .quote-end { display: block; font-size: 1.8rem; margin-top: 0.2rem; }

        .carbon_content-wrapper .highlight-gradient {
            font-size: 5rem;
            font-weight: 700;
            background: linear-gradient(90deg, #fed191 0%, #f28631 50%, #cf5325 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

    /* --- Content Row System --- */
        .carbon_content-wrapper .content-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: var(--section-gap);
            gap: 6%;
        }

        .carbon_content-wrapper .row-reverse { flex-direction: row-reverse !important; }
        .carbon_content-wrapper .text-wrapper { flex: 1; }
        .carbon_content-wrapper .graphic-wrapper { flex: 1; position: relative; display: flex; justify-content: center; }

        .carbon_content-wrapper .large-layout { align-items: flex-end; margin-bottom: var(--large-gap); }
        .carbon_content-wrapper .large-layout .graphic-wrapper { flex: 1.6; }
        .carbon_content-wrapper .large-layout .text-wrapper { padding-bottom: 2rem; }

        .carbon_content-wrapper .standalone-text { justify-content: center; text-align: left; margin: 4rem auto; }
        .carbon_content-wrapper .standalone-text .text-wrapper { max-width: 650px; }

    /* Utility */
        .carbon_content-wrapper .spacer-sm { margin-bottom: 3rem; }

    /* Images & Blobs */
        .carbon_content-wrapper .player-img { width: 100%; max-width: 450px; position: relative; z-index: 2; mix-blend-mode: multiply; }
        .carbon_content-wrapper .large-img { max-width: 700px !important; width: 115%; }

        .carbon_content-wrapper .watercolor-blob {
            position: absolute; width: 110%; height: 110%;
            z-index: 1; filter: blur(35px); opacity: 0.4; border-radius: 50%;
        }
        .carbon_content-wrapper .red-blob { background: #c54a50; width: 350px; height: 350px; top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0.8; }
        .carbon_content-wrapper .purple-blob { background: #a18cd1; top: -5%; left: -5%; }
        .carbon_content-wrapper .yellow-blob { background: #f6d365; top: -5%; right: -5%; }
        .carbon_content-wrapper .brown-blob { background: #cf5325 50%; top: -5%; right: -5%; }
        .carbon_content-wrapper .pink-blob-large { 
            background: radial-gradient(circle, #fda085 0%, #f5576c 100%); 
            top: 50%; 
            left: 50%;
            transform: translate(-50%, -50%); 
            opacity: 0.25; 
            filter: blur(120px); 
            pointer-events: none; 
        }

    /* --- Diagnostic Full Width Section --- */
        .carbon_content-wrapper .diagnostic-section {
            width: 100vw;
            margin-left: calc(50% - 50vw);
            display: flex;
            align-items: center;
            padding: 5rem 10%;
            margin-bottom: var(--large-gap);
        }

        .carbon_content-wrapper .diagnostic-text { flex: 1; padding-right: 5%; }
        .carbon_content-wrapper .diagnostic-text .label { font-size: 1rem; color: var(--text-light); margin-bottom: 1rem; display: block; }
        .carbon_content-wrapper .diagnostic-text h2 { font-size: 3rem; margin-bottom: 0.2rem; font-weight: 400; }
        .carbon_content-wrapper .diagnostic-text h3 { font-size: 1.55rem; margin-top: 3.25rem; margin-bottom: 1.25rem; font-weight: 700; color: #444; }
        .carbon_content-wrapper .diagnostic-text .explanation { font-size: 1.05rem; max-width: 500px; color: var(--text-dark); border-top: 1px solid #ddd; padding-top: 1.5rem; }
        .carbon_content-wrapper .diagnostic-graphic { flex: 1.5; position: relative; }

    /* --- Footer --- */
        .carbon_content-wrapper .article-footer {
            padding: 3rem 2rem;
            background: #fff;
            border-top: 1px solid #eee;
            color: #888;
            font-family: var(--font-sans);
            font-size: 0.85rem;
        }
        .carbon_content-wrapper .footer-content { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
        .carbon_content-wrapper .footer-links { list-style: none; display: flex; gap: 2rem; }

    /* --- Animations --- */
        .carbon_content-wrapper .section-reveal { opacity: 0; transform: translateY(30px); transition: 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
        .carbon_content-wrapper .section-reveal.is-visible { opacity: 1; transform: translateY(0); }

    /* --- Responsive Layout --- */
        @media (max-width: 900px) {
            .carbon_content-wrapper .content-row, 
            .carbon_content-wrapper .row-reverse, 
            .carbon_content-wrapper .diagnostic-section { 
                flex-direction: column !important; 
                /* text-align: center;  */
                gap: 3rem; 
                padding: 0.5rem; 
                margin: 1rem auto;
            }
            .carbon_content-wrapper .diagnostic-section {
                width: 100%;
                margin-left: 0;
            }
            .carbon_content-wrapper .diagnostic-text { padding-right: 0; }
            .carbon_content-wrapper .diagnostic-text .explanation { margin: 0 auto; }
            .carbon_content-wrapper .large-img { width: 100%; transform: none; }
            .carbon_content-wrapper .hero { padding-bottom: 4rem; }
            .carbon_content-wrapper .highlight-gradient { font-size: 2.5rem; }
            .carbon_content-wrapper .quote-text { font-size: 2.25rem; }
            .carbon_content-wrapper h3 { line-height: 2rem; }
            .carbon_content-wrapper .content-layer { top: 160px; padding-top: 80px; }
        }

    /* --- Timeline wrapper --- */
        .carbon_content-wrapper #scroll-wrapper{
            position:relative;
            width:100%;
            height:500vh;
        }

        .carbon_content-wrapper #sticky{
            position:sticky;
            top:0;
            height:100vh;
            overflow:hidden;
            display:flex;
            align-items:center;
        }

        .carbon_content-wrapper #track{
            display:flex;
            width:max-content;
            gap:14vw;
            padding:0 10vw;
            position:relative;
            will-change:transform;
        }

    /* --- Era Clusters --- */

        .carbon_content-wrapper .era{
            width: min(76vw, 700px);
            flex-shrink:0;
        }

        .carbon_content-wrapper .year{
            font-size: clamp(1.6rem, 4.5vw, 4.5rem);
            font-weight:800;
            opacity:.18;
            line-height: 1;
            margin-bottom: 2rem;
            opacity: 0.35;
            letter-spacing: -0.04em;
            font-feature-settings: "ss01" on;
            color: black;
        }

        .carbon_content-wrapper .description{
            margin-top:1.5rem;
            line-height:1.7;
            color:#333;
            max-width: 600px;
        }

        .carbon_content-wrapper .description h2 {
            font-size: clamp(1.2rem, 1.8vw, 1.9rem);
            font-weight: 600;
            opacity:.40;
            margin-bottom: 0.75rem;
            letter-spacing: -0.02em;
            color: black;
        }

        .carbon_content-wrapper .description p {
            line-height: 1.7;
            font-size: 0.95rem;
        }

    /* --- Pop badge --- */

        .carbon_content-wrapper .pop-badge{
            display:inline-block;
            margin-top:1.4rem;

            padding:0.45rem 1rem;

            border-radius:999px;

            border:1px solid rgba(0,0,0,0.12);
            background:rgba(255,255,255,0.6);

            font-size:0.72rem;
            font-weight:700;
            letter-spacing:0.08em;
            text-transform:uppercase;

            color:#6b5b4d;

            opacity:0;
            transform:translateY(8px);
            transition:opacity 0.6s ease, transform 0.6s ease;
        }

    /* --- Reveal sync --- */
        .carbon_content-wrapper .era.is-visible .pop-badge{
            opacity:1;
            transform:translateY(0);
            transition-delay:0.25s;
        }

    /* --- Bongo clusters --- */

        .carbon_content-wrapper .bongo-group{
            display:flex;
            flex-wrap:wrap;
            gap:12px;
            margin-top:1.5rem;
            min-height:80px;
        }

    /* --- OUTER wrapper --- */
        .carbon_content-wrapper .bongo{
            width:90px;
            height:70px;
            position:relative;

            opacity:0;
            transform:scale(0.6);
            transition:opacity 0.6s ease, transform 0.6s ease;
        }

    /* --- INNER sprite --- */
        .carbon_content-wrapper .bongo-inner{
            width:100%;
            height:100%;

            background-size:100% 100%;
            background-repeat:no-repeat;

            animation:float 3.8s ease-in-out infinite;
        }

    /* --- Per-era variation --- */
        .carbon_content-wrapper .era:nth-child(2) .bongo-inner{ animation-duration:3.2s; }
        .carbon_content-wrapper .era:nth-child(3) .bongo-inner{ animation-duration:4.1s; }
        .carbon_content-wrapper .era:nth-child(4) .bongo-inner{ animation-duration:4.6s; }

    /* --- Individual variation --- */
        .carbon_content-wrapper .bongo:nth-child(odd) .bongo-inner{ animation-delay:-0.8s; }
        .carbon_content-wrapper .bongo:nth-child(3n) .bongo-inner{ animation-delay:-1.6s; }
        .carbon_content-wrapper .bongo:nth-child(5n) .bongo-inner{ animation-delay:-2.2s; }

        @keyframes float{
            0%,100%{ transform:translateY(0); }
            50%{ transform:translateY(-7px); }
        }

    /* Cluster reveal */
        .carbon_content-wrapper .bongo.is-visible{
            opacity:1;
            transform:scale(1);
        }


    /* --- Scroll hint (inside the timeline section) --- */
        .carbon_content-wrapper .scroll-hint {
            position: absolute;
            bottom: 6.4rem;
            left: 50%;
            transform: translateX(-50%);
            font-size: 0.7rem;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: rgba(255,255,255,0.5);
            background: rgba(0,0,0,0.6);
            padding: 0.5rem 1.2rem;
            border-radius: 30px;
            border: 1px solid rgba(255,255,255,0.08);
            backdrop-filter: blur(6px);
            pointer-events: none;
            white-space: nowrap;
            animation: pulseHint 3s ease-in-out infinite;
            z-index: 10;
        }

        @keyframes pulseHint {
            0%, 100% { opacity: 0.3; }
            50% { opacity: 0.8; }
        }

    /* --- Responsive timeline fix --- */

        @media(max-width:768px){

            .carbon_content-wrapper #track{
                padding:0 16vw;
                gap:22vw;
            }

            .carbon_content-wrapper .era{
                width:80vw;
            }

            .carbon_content-wrapper .year{
                font-size:2.8rem;
                white-space:normal;
            }

            .carbon_content-wrapper .bongo{
                width:60px;
                height:45px;
            }

            .carbon_content-wrapper .scroll-hint { bottom: 5.2rem; font-size: 0.55rem; padding: 0.3rem 0.9rem; }
        }