
/*------- BOX ARRANGEMENT -------------------*/

.about-panel{
    background:radial-gradient(circle at top right, rgba(241,207,98,.22), transparent 30%),linear-gradient(180deg, rgba(255,255,255,1), rgba(249,242,178,.45))}
.impact{
    background:linear-gradient(180deg, #fffdf8, #f6f3e6)} 
.science{
    background:linear-gradient(180deg, #fffcf6 0%, #f7f7ee 100%)}

.about-grid{
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;}
.about-media{
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    /*box-shadow: 0 20px 50px rgba(33,56,39,0.12)*/;
    transition: transform .4s ease;}
.about-media img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;}
.about-media:hover{
    transform: translateY(-4px);}
.about-media::after{
    content: "";
    position: absolute;
    inset;0;
    background: linear-gradient(to top, rgba(255,252,246,0.1),transparent);
    pointer-events: none;}

.image-grid{
    display: grid;
    grid-template-columns: 1.5fr;
    align-items: center;
    margin: 50px;}

.video-card{
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(33,56,39,0.12);
    background: rgba(255,255,255,0.45);}

.about-video{
    width: 100%;
    display: block;
    aspet-ratio:16/9;
    object-fit: cover;}

.masked-media{
    position: relative;
    overflow: hidden;
    border-radius: 32px 32px 80px 32px;
    min-height: 360px;
    background: rgba(255,252,246,.62);
    /*border: 1px solid rgba(33,56,39,0.08);
    box-shadow: var(--shadow);*/
    isolation: isolate;}

.masked-media img{
    width: 100%;
    height: 100%;
    min-height: 360px;
    display: block;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform .7s ease, filter .35s ease;}

.masked-media::after{
    content: "";
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(to top, rgba(33,56,39,.22), transparent 48%),
        radial-gradient(circle at 80% 20%, rgba(241,207,98,.18), transparent 34%);
    pointer-events: none;
    z-index: 1;}

.masked-media:hover img{
    transform:  scale(1.08);}

/*optional inner banner */
.masked-media-label{
    position:absolute;
    left: 18px;
    bottom: 18px;
    z-index: 2;
    padding: .55rem .75rem;
    border-radius: 999px;
    background: rgba(255,252,246,.72);
    backdrop-filter:blur(12px);
    color: var(--forest);
    font-weight: 800;
    font-size: .82rem;}

.masked-media2{
    position: relative;
    width: min(100%, 420px);
    aspect-ratio: 3.5 / 4;
    margin: 0 auto;
    isolation: isolate;
    animation: kernelBreath 6s ease-in-out infinite;}
    /*align-self: center;
    justify-self: center;} /*important inside grid*/
@keyframes kernelBreath{
    0%, 100%{transform: translateY(0);}
    50%{transform: translateY(-2px)}}

.kernel-back-img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: translate(16px, 16px);
    z-index: 0;
    pointer-events: none;}

.kernel-front-img{
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: contrast(1.05) saturate(1.05) drop-shadow(0 20px 40px rgba(33,56,39,0.7));}

.kernel-front-img,
.kernel-back-img{
    transition: transform .45s ease;}
.masked-media2:hover .kernel-front-img{
    transform: translateY(-4px);}
.masked-media2:hover .kernel-back-img{
    transform: translate(20px,20px);}

/*kernel to the right*/
.story-grid .masked-media2{
    justify-self: end;
    grid-column: 2;
    margin-right: -2vw;}

/*kernel to the left*/
.story-grid.reverse .masked-media2{
    justify-self: start;
    grid-column: 1;
    margin-left: -2vw;}

/*kernel to the center*/
.story-grid.center .masked-media2{
    justify-self: center;
    grid-column: 1/-1;
    margin-left: -2vw;}

.masked-media2::after{
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;}
    /*background: radial-gradient(circle at 30% 20%, rgba(255,255, 255,0.35), transparent 45%),
        linear-gradient(to bottom, rgba(255, 252, 246, 0.01), transparent 5%); */

.masked-media2{
    animation: kernelFloat 6s ease-in-out infinite;}
@keyframes kernelFloat{
    0%, 100%{
        transform: translateY(0) rotate(-0.3deg);}
    50%{transform: translateY(-5px) rotate(0.3deg);}}

.story-grid{display:grid;gap:24px}
.impact-grid{display:grid;gap:24px}
.science-grid{display:grid;gap:24px}
.involved-grid{display:grid;gap:24px}
.story-grid{
    display: grid;
    margin-top:32px;
    grid-template-columns:1fr 1fr;
    align-items:center;}
    /*direction: ltr;}*/

.story-grid .reverse .story-primary{
    grid-column: 2;}
.story-grid .reverse .story-secondary{
    grid-column: 1;}

.story-grid2{
    display: grid;
    margin-top:32px;
    grid-template-columns:1fr;
    align-items:center;}
    /*direction: ltr;}*/

.story-content,
.story-content p,
.story-content h2,
.story-content h3{
    text-align: left;
    direction:ltr;}

.impact-grid{
    margin-top:46px;
    grid-template-columns:repeat(3,minmax(0,1fr))}
.science-grid{
    margin-top:48px;
    grid-template-columns:repeat(2,minmax(0,1fr))}
.soft-card,
.card,
.impact-card,
.science-card{
    padding:28px}
.impact-card{
    min-height:320px;
    position:relative;
    overflow:hidden}
.impact-card::before{
    content:"";position:absolute;
    inset:auto -15% -22% auto;
    width:170px;height:170px;
    background:radial-gradient(circle, rgba(241,207,98,.18), transparent 68%);
    border-radius:50%}
.impact-card p{
    margin-top:16px;color:var(--muted)} 
.impact-badge{
    display:inline-flex;
    padding:8px 12px;
    border-radius:999px;
    background:rgba(66,111,77,.08);
    color:var(--green);
    font-weight:700;
    font-size:.84rem;
    margin-bottom:16px}
.quote-strip{
    margin-top:36px;
    padding:28px;
    border-radius:var(--radius-lg);
    background:linear-gradient(140deg, var(--forest), var(--blue));
    color:var(--white);
    box-shadow:var(--shadow)}
.quote-strip p{
    font-size:clamp(1.15rem, 2vw, 1.45rem);
    line-height:1.4;
    max-width:58ch;
    margin-left: auto;
    margin-right: auto;}
.quote-strip small{
    display:block;
    margin-top:12px;
    color:rgba(255,255,255,.78);
    font-size:.92rem}

.quote-strip2{
    margin-top:36px;
    padding:28px;
    border-radius:var(--radius-lg);
    background:radial-gradient(circle, var(--white), var(--cream)90%);
    /*background:linear-gradient(140deg, var(--forest), var(--blue));*/
    color:var(--olive);
    /*box-shadow:var(--shadow)*/}
.quote-strip2 p{
    font-size:clamp(1.15rem, 2vw, 1.45rem);
    line-height:1.4;
    max-width:58ch;
    margin-left: auto;
    margin-right: auto;}

.stats-band{
    margin-top:26px;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px}

.stat{
    padding:18px;
    border-radius:22px;
    background:linear-gradient(180deg, rgba(44,82,115,.06), rgba(66,111,77,.04));
    border:1px solid rgba(44,82,115,.08)}
.stat-num{
    font-size:clamp(1.8rem,3vw,2.6rem);
    font-weight:800;
    letter-spacing:-.05em;color:var(--forest)}
.cta-band{
    margin-top:52px;
    padding:34px;
    background:linear-gradient(145deg, rgba(33,56,39,1), rgba(44,82,115,.96));
    border-radius:34px;
    color:var(--white);
    box-shadow:var(--shadow);
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:30px;
    align-items:center}
.cta-band p{
    color:rgba(255,255,255,.84);
    margin-top:12px;
    max-width:56ch}
.cta-box{
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);
    border-radius:24px;padding:22px}
.cta-form{
    display:grid;
    gap:10px;margin-top:12px}
.cta-form input{
    width:100%;
    border:1px solid rgba(255,255,255,.14);
    background:rgba(255,255,255,.08);
    color:var(--white);
    border-radius:16px;
    padding:14px 16px;outline:none}
.cta-form select{
    width:100%;
    border:1px solid rgba(255,255,255,.14);
    background:rgba(255,255,255,.08);
    color:var(--white);
    border-radius:16px;
    padding:14px 16px;
    outline:none}
.cta-form select option{
    background: #213827;
    color: var(--white);}
.cta-form textarea{
    width:100%;
    border:1px solid rgba(255,255,255,.14);
    background:rgba(255,255,255,.08);
    color:var(--white);
    border-radius:16px;
    padding:14px 16px;outline:none}
.cta-form input::placeholder{color:rgba(255,255,255,.68)}
.cta-form textarea::placeholder{color:rgba(255,255,255,.68)} 
.cta-form button{
    margin-top:4px;
    border:0;
    background:var(--gold);
    color:#2a311f;
    padding:15px 18px;
    border-radius:16px;
    font-weight:800;
    cursor:pointer}
.promise-list,
.impact-list,
.join-list{
    display:grid;
    gap:14px;
    margin-top:24px}
.list-item{
    display:grid;
    grid-template-columns:34px 1fr;
    gap:12px;
    align-items:start}
.list-icon{
    width:34px;
    height:34px;
    border-radius:12px;
    display:grid;
    place-items:center;
    color:var(--forest);
    background:rgba(241,207,98,.35);
    font-weight:800;}
.sponsors-section{
    background: linear-gradient(180deg, #fffdf8 0%, #f7f4e9 100%);}


/*------ FLOW ICONS -------- */



.science-flow-home{
    position:relative;
    overflow:hidden}
.science-flow{
    margin-top:2.5rem;
    display:grid;
    grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;
    align-items:stretch;gap:1rem}
.flow-step{
    position:relative;
    padding:1.5rem 1.25rem 1.3rem;
    border-radius:24px;
    background:rgba(255,252,246,.72);
    border:1px solid rgba(33,56,39,.08);
    box-shadow:0 14px 36px rgba(33,56,39,.07);
    display:flex;
    flex-direction:column;
    gap:1rem;
    min-height:320px;
    opacity:0;
    transform:translateY(30px) scale(.98);
    transition:opacity .7s cubic-bezier(.2,.7,.2,1),transform .7s cubic-bezier(.2,.7,.2,1),box-shadow .3s ease}
.flow-step::before{
    content:"";position:absolute;
    inset:auto -15% -22% auto;
    width:170px;height:170px;
    background:radial-gradient(circle, rgba(241,207,98,.18), transparent 68%);
    border-radius:50%}
.flow-step:hover{
    box-shadow:0 18px 42px rgba(33,56,39,.11)} 
.flow-step.active{
    opacity:1;
    transform:translateY(0) scale(1)} 
.flow-step 
.flow-copy h3{
    margin-bottom:.6rem} 
.flow-step 
.flow-copy p{
    color:var(--muted)}
.flow-copy img{
    object-position: bottom;
}
.flow-kicker{
    display:inline-block;
    margin-bottom:.4rem;
    font-size:.78rem;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--blue)}
.flow-arrow{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:48px;
    opacity:0;
    transform:translateX(-10px);
    transition:opacity .55s ease,transform .55s ease}
.flow-arrow.active{
    opacity:1;
    transform:translateX(0)}
.arrow-line{
    position:relative;
    width:54px;
    height:2px;
    border-radius:999px;
    background:linear-gradient(90deg, rgba(66,111,77,.18), rgba(66,111,77,.72));
    overflow:hidden}
.arrow-line::after{
    content:"";
    position:absolute;
    left:-40%;
    top:0;
    width:40%;
    height:100%;
    background:linear-gradient(90deg, transparent, rgba(249,242,178,.95), transparent);
    animation:flowArrowShimmer 2.2s linear infinite}
.arrow-head{
    width:11px;
    height:11px;
    border-top:2px solid var(--green);
    border-right:2px solid var(--green);
    transform:translateX(-3px) rotate(45deg)}
@keyframes flowArrowShimmer{0%{left:-40%}100%{left:120%}}
.flow-icon{
    position:relative;
    width:120px;
    height:120px;
    border-radius:28px;
    background:linear-gradient(180deg, rgba(249,242,178,.45), rgba(255,252,246,.9));
    border:1px solid rgba(33,56,39,.08);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
    overflow:hidden}
.icon-genetics{
    background:radial-gradient(circle at 20% 20%, rgba(241,207,98,.35), transparent 28%),linear-gradient(180deg, rgba(249,242,178,.35), rgba(255,252,246,.92))}
.icon-trait{
    background: radial-gradient(circle at 68% 30%, rgba(66,111,77,0.14), transparent 30%), linear-gradient(180deg, rgba(249,242,178,0.35), rgba(255,252,246,0.92))}
.icon-field{
    background:linear-gradient(180deg, rgba(44,82,115,.10), rgba(249,242,178,.14)),linear-gradient(180deg, rgba(255,255,255,.95), rgba(249,242,178,.85))}
.icon-return{
    background:radial-gradient(circle at 25% 22%, rgba(241,207,98,.25), transparent 30%),linear-gradient(180deg, rgba(249,242,178,.35), rgba(255,252,246,.92))}
.flow-step.step-delay-1,.flow-arrow.arrow-delay-1{transition-delay:.08s}
.flow-step.step-delay-2,.flow-arrow.arrow-delay-2{transition-delay:.34s}
.flow-step.step-delay-3,.flow-arrow.arrow-delay-3{transition-delay:.60s}
.flow-step.step-delay-4{transition-delay:.86s}

.stat.delay-1{transition-delay: 0.08s;}
.stat.delay-2{transition-delay: 0.34s;}
.stat.delay-3{transition-delay: 0.65s;}

.science-visual{
    margin-top:24px;
    min-height:230px;
    border-radius:24px;
    padding:20px;
    background:linear-gradient(180deg, rgba(44,82,115,.06), rgba(105,109,46,.08));
    border:1px solid rgba(44,82,115,.08);
    overflow:hidden;
    position:relative}
.nue-diagram{
    height:100%;
    display:grid;
    gap:14px;
    align-content:center;
    grid-template-columns:repeat(2,minmax(0,1fr))}
.metric-box{
    padding:18px;
    border-radius:20px;
    background:rgba(255,255,255,.8);
    border:1px solid rgba(33,56,39,.08)}
.metric-box strong{
    display:block;
    font-size:1.05rem;
    color:var(--forest);
    margin-bottom:8px}

/*INTERACTIVE NITROGEN SECTION*/
.interactive-nitrogen-section{
    position: relative;
    min-height: 80vh;
    justify-content: center;}

.interactive-figure{
    position: relative;
    width: 50%;
    max-width: 720px;
    margin: 48px auto 0;  /*center horizontally*/
    transform: translateX(-10px); /*subtle visual correction*/
    grid-column: 1/-1;}  /* span full grid width*/

.interactive-figure-img{
    width: 100%;
    height: auto;
    display: block;}

/* clickable circles */
.figure-hotspot{
    position: absolute;
    width:20%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px solid rgba(241,207,98,.85);
    background: rgba(241,207,98,.12);
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
    box-shadow: 0 0 0 8px rgba(241,207,98,.10);}

.figure-hotspot:hover{
    transform: translate(-50%, -50%) scale(1.4);
    background: rgba(241,207,98,.20);
    box-shadow:
        0 0 0 10px rgba(241,207,98,.14),
        0 14px 34px rgba(33,56,39,.16);}

.figure-hotspot::after{
    content: "";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--forest);
    font-size: clamp(1rem, 2.5vw, 1.8rem);
    font-weight: 800;}

.figure-hotspot,
.map-hotspot{
    animation: softPulse 3.2s ease-in-out infinite;}

.figure-hotspot:hover,
.map-hotspot:hover{
    animation:none;}
    
@keyframes softPulse{
    0%, 100%{box-shadow: 0 0 0 7px rgba(241,207,98,0.1);}
    50% {box-shadow: 0 0 0 13px rgba(241,207,98,0.05);}}

/* hotspot positions based on your uploaded image */
.hotspot-cob{
    left: 20.5%;
    top: 45.9%;}

.hotspot-grain{
    left: 77.7%;
    top: 36.4%;}

.hotspot-roots{
    left: 81.8%;
    top: 70.55%;}

/* modal */
.figure-modal{
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    place-items: center;
    padding: 24px;}

.figure-modal.open{
    display: grid;}

.figure-modal-backdrop{
    position: absolute;
    inset: 0;
    background: rgba(16,32,25,.48);
    backdrop-filter: blur(8px);}

.figure-modal-card{
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    padding: 30px;
    border-radius: 28px;
    background: rgba(255,252,246,.94);
    border: 1px solid rgba(33,56,39,.10);
    box-shadow: 0 26px 70px rgba(0,0,0,.24);}

.figure-modal-close{
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(33,56,39,.10);
    background: rgba(255,255,255,.65);
    color: var(--forest);
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;}

.figure-modal-kicker{
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--olive);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .78rem;}

.figure-modal-card h3{
    margin-bottom: 12px;
    color: var(--forest);}

.figure-modal-card p{
    color: var(--muted);}


/*------------- INTERACTIVE MAP OF PARTNERS------------- */

.team-map{
    position: relative;
    width: min(100%, 980px);
    margin: 48px auto 0;
    padding: 14px;}

.tem-map-picture,
.team-map-img{
    width: 100%;
    height: auto;
    display: block;}

.map-hotspot{
    position: absolute;
    width: 22px;
    height: 22px;
    /*border-radius: 50%;*/
    /*border: 2px solid var(--gold);*/
    border: 0;
    /* background: var(--gold);*/
    background: transparent;
    cursor: pointer;
    transform: translate(-50%, -50%);
    /*box-shadow: 0 0 0 8px rgba(241,207,98,.18);*/
    /*transition: transform .2s ease, box-shadow .2s ease;*/
    padding: 0;}

.map-hotspot::before{
    content: "";
    position:absolute;
    inset: 0;
    background: var(--gold);
    box-shadow: 0 0 0 8px rgba(241, 207,98,0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;}

.map-hotspot.is-circle::before{
    border-radius: 50%;}

.map-hotspot.is-star::before{
    border-radius: 50%;
    /*clip-path:polygon(
        50% 0%,
        62% 36%,
        99% 36%,
        69% 58%,
        80% 92%,
        51% 71%,
        22% 92%,
        32% 58%,
        3% 36%,
        40% 36%); */}

.map-hotspot:hover::before{
    transform: scale(1.2);
    box-shadow: 0 0 0 10px rgba(241,207,98,.14);}

.map-hotspot.is-circle::before{
    background: var(--gold);}

.map-hotspot.is-star::before{
    background:var(--green);}

/* Change these positions for your actual map */
.map-location-1{ left: 52.5%; top: 52%; } /*missouri1*/
.map-location-2{ left: 74%; top: 31%; } /*newyork1*/
.map-location-3{ left: 76.4%; top: 57.8%; } /*northcarolina1*/
.map-location-4{ left: 50.6%; top: 28%; } /*minnesota*/
.map-location-5{ left: 8.5%; top: 19.2%; } /*orgeon*/
.map-location-6{ left: 51.2%; top: 38.5%; } /*iowa1*/
.map-location-7{ left: 12.5%; top: 63.5%; } /*california1*/
.map-location-8{ left: 11.5%; top: 61.5%; } /*california2*/
.map-location-9{ left: 45.5%; top: 80%; } /*texas1*/
.map-location-10{ left: 45.5%; top: 83%; } /*texas2*/
.map-location-11{ left: 37.8%; top: 65.9%; } /*texas3*/
.map-location-12{ left: 71.6%; top: 81%; } /*florida*/
.map-location-13{ left: 51.4%; top: 49.4%; } /*missouri2*/
.map-location-14{ left: 56.6%; top: 33%; } /*wisconsin1*/
.map-location-15{ left: 58.5%; top: 33%; } /*wisconsin2*/
.map-location-16{ left: 64%; top: 33%; } /*michigan*/
.map-location-17{ left: 45.3%; top: 38.25%; } /*nebraska1*/
.map-location-18{ left: 63%; top: 30%; } /*michigan2*/
.map-location-19{ left: 45.8%; top: 42%; } /*nebraska3*/
.map-location-20{ left: 76.9%; top: 56.3%; } /*northcarolina2*/
.map-location-21{ left: 51.3%; top: 35.3%; } /*iowa2*/
.map-location-22{ left: 49.4%; top: 37%; } /*iowa3*/
.map-location-23{ left: 49.6%; top: 40.5%; } /*iowa4*/
.map-location-24{ left: 58.3%; top: 45.5%; } /*illinois1*/
.map-location-26{ left: 58%; top: 49%; } /*illinois3*/
.map-location-27{ left: 76.5%; top: 26.3%; } /*newyork2*/
.map-location-28{ left: 76%; top: 30.5%; } /*newyork3*/
.map-location-29{ left: 77%; top: 29%; } /*newyork4*/
.map-location-30{ left: 74.5%; top: 37%; } /*pennsylvania*/
.map-location-31{ left: 65%; top: 30%; } /*michigan3*/
.map-location-USDA{ left: 80.4%; top: 73.7%; } 
.map-location-university{ left: 80.4%; top: 79%; }

.team-modal{
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    place-items: center;
    padding: 24px;}

.team-modal.open{
    display: grid;}

.team-modal-backdrop{
    position: absolute;
    inset: 0;
    background: rgba(16,32,25,.48);
    backdrop-filter: blur(8px);}

.team-modal-card{
    position: relative;
    z-index: 1;
    width: min(100%, 540px);
    padding: 26px;
    border-radius: 28px;
    background: rgba(255,252,246,.96);
    border: 1px solid rgba(33,56,39,.10);
    box-shadow: 0 26px 70px rgba(0,0,0,.24);}

.team-modal-img{
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 18px;}

.team-modal-close{
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(33,56,39,.10);
    background: rgba(255,255,255,.72);
    color: var(--forest);
    cursor: pointer;
    font-size: 1.4rem;}

.team-modal-kicker{
    color: var(--olive);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .78rem;}

.team-modal-link{
    display: inline-flex;
    margin-top: 18px;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    background: var(--gold);
    color: #1f271c;
    transition: transform .2s ease, box-shadow .2s ease;}

.team-modal-link:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(241, 207, 98, 0.35);}

.team-modal-actions{
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;}

/* ----------IMPACT CARDS STACK ---------------  */

.impact-stack-layout{
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) minmax(420px, 1fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: start;}

.impact-stack-intro{
    position: sticky;
    top: calc(var(--primary-nav-height, 84px) + 96px);
    align-self: start;}

.impact-stack-section{
    position: relative;}

.impact-card-stack{
    margin-top: 48px;
    display: grid;
    gap: 22px;
    justify-items: center;}

.impact-stack-card{
    position: sticky;
    top: calc(var(--primary-nav-height, 84px) + 90px);
    display: grid;
    align-content: center;
    gap: 12px;
    padding: clamp(28px, 5vw, 56px);
    border-radius: 34px;
    background:
        radial-gradient(circle at 85% 20%, rgba(241,207,98,.24), transparent 34%),
        linear-gradient(145deg, rgba(255,252,246,.96), rgba(249,242,178,.55));
    border: 1px solid rgba(33,56,39,.08);
    box-shadow: var(--shadow);
    transform-origin:center center;
    width: min(100%, 620px);
    min-height: 420px;}

/* different angles */
.impact-stack-card:nth-child(1){
    z-index:1;
    transform:rotate(-1.2deg);}

.impact-stack-card:nth-child(2){
    z-index:2;
    top:calc(var(--primary-nav-height, 84px) + 110px);
    transform:rotate(0.8deg);}

.impact-stack-card:nth-child(3){
    z-index:3;
    top:calc(var(--primary-nav-height, 84px) + 130px);
    transform:rotate(-.6deg);}

.impact-stack-card:nth-child(4){
    z-index:4;
    top:calc(var(--primary-nav-height, 84px) + 150px);
    transform:rotate(1.4deg);}

/* optional hover straighten */
.impact-stack-card:hover{
    transform:rotate(0deg) translateY(-4px);}

.impact-stack-card span{
    font-size: clamp(4rem, 12vw, 8rem);
    line-height: .85;
    font-weight: 900;
    letter-spacing: -.08em;
    color: var(--forest);}

.impact-stack-card h3{
    max-width: 16ch;}

.impact-stack-card p{
    max-width: 46ch;
    color: var(--muted);}

/*-------------IMPACT FLOW ---------------- */


.impact-value-rail{
    position: relative;
    margin-top: 54px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-radius: 34px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255,252,246,.92), rgba(249,242,178,.42));
    border: 1px solid rgba(33,56,39,.08);
    box-shadow: var(--shadow);}

.impact-value-rail::before{
    content:"";
    position:absolute;
    left:4%;
    right:8%;
    top:20%;
    height:2px;
    background:linear-gradient(90deg, var(--gold), var(--green), var(--blue));
    opacity:.35;}

.impact-value-rail::before,
.scale-path::before{
    transform:scaleX(0);
    transform-origin: left center;
    transition: transform 1.2s ease;}
.impact-value-rail.show::before,
.scale-path.show::before{
    transform: scaleX(1);}
.value-step{
    position: relative;
    min-height: 300px;
    padding: 38px 28px;
    display: grid;
    align-content: center;
    gap: 10px;
    isolation: isolate;}
.value-step:not(:last-child){
    border-right: 1px solid rgba(33,56,39,.08);}
.value-step::before{
    content:"";
    position:absolute;
    top:calc(20% - 8px);
    left:32px;
    width:18px;
    height:18px;
    border-radius:50%;
    background:var(--gold);
    box-shadow:0 0 0 10px rgba(241,207,98,.12);
    z-index:1;}
.value-number{
    font-size:.82rem;
    font-weight:900;
    letter-spacing:.12em;
    color:var(--olive);}
.value-step h3{
    font-size:clamp(1.4rem, 2.5vw, 2.2rem);}
.value-step p{
    color:var(--muted);
    max-width:22ch;}

/* hover focus */
.value-step:hover{
    background:rgba(255,255,255,.34);}


/*--------IMPACT MULTIPLE SCALES----------- */

.impact-scale-section{
    position:relative;}

.scale-path{
    position:relative;
    margin-top:54px;
    display:grid;
    grid-template-columns:repeat(5, 1fr);
    gap:18px;}

.scale-path::before{
    content:"";
    position:absolute;
    left:8%;
    right:8%;
    top:38px;
    height:2px;
    background:linear-gradient(90deg, var(--gold), var(--green), var(--blue));
    opacity:.38;}

.scale-node{
    position:relative;
    padding-top:78px;
    text-align:center;}

.scale-node::before{
    content:"";
    position:absolute;
    top:25px;
    left:50%;
    width:26px;
    height:26px;
    border-radius:50%;
    transform:translateX(-50%);
    background:var(--gold);
    box-shadow:0 0 0 10px rgba(241,207,98,.14);
    transition:transform .24s ease, box-shadow .24s ease;}

.scale-node:hover::before{
    transform:translateX(-50%) scale(1.15);
    box-shadow:0 0 0 16px rgba(241,207,98,.10);}

.scale-node span{
    display:inline-flex;
    margin-bottom:10px;
    color:var(--olive);
    font-weight:900;
    letter-spacing:.12em;
    font-size:.78rem;}

.scale-node h3{
    margin-bottom:8px;}

.scale-node p{
    max-width:22ch;
    margin:0 auto;
    color:var(--muted);
    font-size:.95rem;}

/*----------BEFORE AND AFTER SECTION-----------*/

.before-after-section{
    position:relative;}

.before-after-panel{
    margin-top:54px;
    display:grid;
    grid-template-columns:1fr auto 1fr;
    gap:18px;
    align-items:stretch;}

.ba-heading{
    font-weight:900;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:var(--olive);
    font-size:1rem;
    padding:0 6px 4px;}
.ba-before{
    grid-column:1;}

.ba-after{
    grid-column:3;
    color:var(--green);}

.ba-row{
    grid-column:1 / -1;
    display:grid;
    grid-template-columns:1fr auto 1fr;
    gap:18px;
    align-items:center;}

.ba-card{
    min-height:180px;
    display:grid;
    align-content:center;
    gap:8px;
    padding:28px;
    border-radius:26px;
    background:rgba(255,252,246,.82);
    border:1px solid rgba(33,56,39,.08);
    box-shadow:var(--shadow);}

.ba-card-after{
    background:radial-gradient(circle at 85% 20%, rgba(241,207,98,.22), transparent 36%),rgba(255,252,246,.92);}

.ba-card span{
    color:var(--olive);
    font-size:.78rem;
    font-weight:900;
    letter-spacing:.10em;
    text-transform:uppercase;}

.ba-card h3{
    margin:0;}

.ba-card p{
    margin:0;
    color:var(--muted);}

.ba-arrow{
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:linear-gradient(135deg, var(--gold), var(--green));
    color:#1f271c;
    font-weight:900;
    box-shadow:0 12px 28px rgba(33,56,39,.16);}

/*------------COLD TOLERANCE ------------------*/

.cold-season-section{
    position: relative;
    overflow: hidden;}

.cold-season-heading{
    max-width: 860px;}

.lost-season-panel{
    margin-top: 54px;
    padding: clamp(24px, 5vw, 46px);
    border-radius: 36px;
    background:
        radial-gradient(circle at 12% 18%, rgba(44,82,115,.14), transparent 32%),
        radial-gradient(circle at 88% 12%, rgba(241,207,98,.22), transparent 30%),
        linear-gradient(145deg, rgba(255,252,246,.94), rgba(249,242,178,.42));
    border: 1px solid rgba(33,56,39,.08);
    box-shadow: var(--shadow);}

.season-track{
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 36px;}

.season-track::before{
    content:"";
    position:absolute;
    left:8%;
    right:8%;
    top:50%;
    height:2px;
    background:linear-gradient(90deg, var(--blue), var(--gold), var(--green));
    opacity:.32;}

.season-month{
    position: relative;
    z-index: 1;
    display: grid;
    gap: 6px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255,252,246,.76);
    border: 1px solid rgba(33,56,39,.08);
    backdrop-filter: blur(10px);}

.season-month::before{
    content:"";
    width:14px;
    height:14px;
    border-radius:50%;
    background: var(--gold);
    box-shadow: 0 0 0 8px rgba(241,207,98,.12);
    margin-bottom: 8px;}

.season-month.active::before{
    background: var(--blue);
    box-shadow: 0 0 0 8px rgba(44,82,115,.12);}

.season-month span{
    font-size:.76rem;
    font-weight:900;
    letter-spacing:.1em;
    text-transform:uppercase;
    color:var(--olive);}

.season-month strong{
    font-size:1rem;
    color:var(--forest);}

.plant-compare{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
    align-items:stretch;}

.plant-card{
    min-height: 520px;
    display:grid;
    grid-template-rows: 1.1fr auto;
    overflow:hidden;
    border-radius:32px;
    background:rgba(255,252,246,.78);
    border:1px solid rgba(33,56,39,.08);}

.plant-visual{
    position:relative;
    min-height:320px;
    display:grid;
    place-items:center;
    overflow:hidden;
    background:
        linear-gradient(180deg, rgba(44,82,115,.12), transparent 45%),
        radial-gradient(circle at 50% 90%, rgba(105,109,46,.18), transparent 35%);}

.cerca-plant .plant-visual{
    background:
        linear-gradient(180deg, rgba(241,207,98,.18), transparent 48%),
        radial-gradient(circle at 50% 90%, rgba(66,111,77,.22), transparent 38%);}

.cold-badge{
    position:absolute;
    top:18px;
    left:18px;
    z-index:3;
    padding:.5rem .72rem;
    border-radius:999px;
    background:rgba(44,82,115,.12);
    color:var(--blue);
    font-size:.78rem;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;}

.warm-badge{
    background:rgba(241,207,98,.22);
    color:var(--forest);}

.plant-copy{
    padding:28px;}

.plant-copy span{
    display:inline-flex;
    margin-bottom:10px;
    font-size:.78rem;
    font-weight:900;
    letter-spacing:.1em;
    text-transform:uppercase;
    color:var(--olive);}

.plant-copy h3{
    margin-bottom:10px;}

.plant-copy p{
    color:var(--muted);}

.lost-season-message{
    margin-top:24px;
    display:grid;
    grid-template-columns:auto 1fr;
    gap:18px;
    align-items:start;
    padding:24px;
    border-radius:26px;
    background:rgba(255,255,255,.42);
    border:1px solid rgba(33,56,39,.08);}

.lost-season-message span{
    color:var(--olive);
    font-weight:900;
    letter-spacing:.1em;
    text-transform:uppercase;
    font-size:.78rem;}

.lost-season-message p{
    margin:0;
    color:var(--forest);
    font-size:clamp(1.05rem, 2vw, 1.35rem);
    line-height:1.45;}

@keyframes plantSway{
    0%,100%{ transform:scale(1.05) rotate(-.8deg); }
    50%{ transform:scale(1.05) rotate(.8deg); }}



/*-----------------NITROGEN LEAK SECTION --------------*/

.nitrogen-leak-section{
    position: relative;}
.leak-layout{
    display: grid;
    gap: 42px;}
.leak-copy{
    max-width: 780px;}
.leak-panel{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: stretch;
    padding: clamp(22px, 4vw, 36px);
    border-radius: 36px;
    background:
        radial-gradient(circle at 12% 18%, rgba(44,82,115,.14), transparent 30%),
        radial-gradient(circle at 88% 22%, rgba(241,207,98,.22), transparent 32%),
        linear-gradient(145deg, rgba(255,252,246,.94), rgba(249,242,178,.42));
    border: 1px solid rgba(33,56,39,.08);
    box-shadow: var(--shadow);}
.leak-side{
    min-height: 330px;
    display: grid;
    align-content: center;
    gap: 16px;
    padding: clamp(22px, 3vw, 34px);
    border-radius: 28px;
    background: rgba(255,252,246,.62);
    border: 1px solid rgba(33,56,39,.08);}
.leak-retain{
    background:
        radial-gradient(circle at 85% 20%, rgba(241,207,98,.18), transparent 34%),
        rgba(255,252,246,.76);}
.leak-label{
    width: fit-content;
    padding: .45rem .68rem;
    border-radius: 999px;
    background: rgba(44,82,115,.10);
    color: var(--blue);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;}
.leak-retain .leak-label{
    background: rgba(66,111,77,.12);
    color: var(--green);}
.leak-list{
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;}
.leak-list li{
    position: relative;
    padding-left: 24px;
    color: var(--muted);}
.leak-list li::before{
    content:"";
    position:absolute;
    left:0;
    top:.62em;
    width:8px;
    height:8px;
    border-radius:50%;
    background: currentColor;
    opacity:.55;}
.leak-divider{
    display: grid;
    place-items: center;
    min-width: 46px;}
.leak-divider span{
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--green));
    box-shadow: 0 12px 28px rgba(33,56,39,.16);
    position: relative;}
.leak-divider span::after{
    content: "\2192";
    position:absolute;
    inset:0;
    display:grid;
    place-items:center;
    font-weight:900;
    color:#1f271c;}
.nue-lens-card{
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: 28px;
    border-radius: 28px;
    background: rgba(255,252,246,.74);
    border: 1px solid rgba(33,56,39,.08);
    box-shadow: var(--shadow);}
.nue-lens-card span{
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--olive);
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .78rem;}
.nue-lens-card p{
    margin: 0;
    color: var(--forest);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.45;}



/*------------------THERMOMETER ------------------- */

.cold-thermo-section{
    position: relative;}
.cold-thermo-heading{
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(28px, 6vw, 80px);
    align-items: start;}
.thermo-panel{
    margin-top: 54px;
    padding: clamp(26px, 5vw, 48px);
    border-radius: 36px;
    background:
        radial-gradient(circle at 12% 18%, rgba(44,82,115,.10), transparent 30%),
        radial-gradient(circle at 88% 18%, rgba(241,207,98,.22), transparent 32%),
        linear-gradient(145deg, rgba(255,252,246,.96), rgba(249,242,178,.36));
    border: 1px solid rgba(33,56,39,.08);
    box-shadow: var(--shadow);
    overflow: hidden;}
.thermo-scale{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    margin-bottom: 10px;
    margin-top: 18px;
    color: var(--muted);
    font-weight: 800;}
.thermo-scale span{
    text-align: center;}
.thermo-scale .temp-28{
    color: var(--blue);
    font-size: 1.5rem;}
.thermo-scale .temp-43{
    color: var(--green);
    font-size: 1.5rem;}
.thermo-scale .temp-50{
    color: #9b6d06;
    font-size: 1.5rem;}
.thermometer{
    position: relative;
    height: 74px;
    display: flex;
    align-items: center;
    margin: 0 auto 44px;}
.thermo-bulb{
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.35), transparent 24%),
    linear-gradient(145deg, #0f4c86, #123d68);
    /*border: 6px solid rgba(255,255,255,.85);*/
    box-shadow: 0 12px 30px rgba(33,56,39,.18);
    z-index: 2;}
.thermo-track{
    position: relative;
    flex: 1;
    height: 28px;
    margin-left: -10px;
    border-radius: 999px;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(33,56,39,.10);
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);}
.thermo-fill{
    position: absolute;
    inset: 0 auto 0 0;
    width: 18%;
    border-radius: 999px;
    background: linear-gradient(90deg, #0f4c86, #426F4D, #F1CF62);
    animation: thermoFillCycle 12s ease-in-out infinite;}
.thermo-point{
    position: absolute;
    top: 50%;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid rgba(255,252,246,.92);
    background: var(--blue);
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 0 0 4px rgba(44,82,115,.18);
    transition: transform .2s ease, box-shadow .2s ease;}
.thermo-point:hover{
    transform: translate(-50%, -50%) scale(1.12);}
.point-28{ left: 23%; background: var(--blue); }
.point-43{ left: 53%; background: var(--green); }
.point-50{ left: 80%; background: var(--gold); }
.thermo-cards{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;}
.thermo-card{
    position: relative;
    min-height: 280px;
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 28px;
    border-radius: 26px;
    background: rgba(44,82,115,0.06);
    border-left: 4px solid var(--blue);
    border: 1px solid rgba(33,56,39,.08);
    box-shadow: 0 16px 36px rgba(33,56,39,.08);
    opacity: .42;
    transform: translateY(10px);
    transition: opacity .3s ease, transform .3s ease, box-shadow .3s ease;}
.thermo-card h3{
    font-size: 2rem;
    margin: 0;}
.thermo-card strong{
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--olive);}
.thermo-card p{
    color: var(--muted);
    margin: 0;}
.thermo-card2{
    position: relative;
    min-height: 280px;
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 28px;
    border-radius: 26px;
    background: radial-gradient(circle at top right, rgba(241,207,98,0.18), transparent 40%);
    border: 1px solid rgba(33,56,39,.08);
    box-shadow: 0 16px 36px rgba(33,56,39,.08);
    opacity: .42;
    transform: translateY(10px);
    transition: opacity .3s ease, transform .3s ease, box-shadow .3s ease;}
.thermo-card2 h3{
    font-size: 2rem;
    margin: 0;}
.thermo-card2 strong{
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--olive);}
.thermo-card2 p{
    color: var(--muted);
    margin: 0;}
.thermo-icon{
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.58);
    font-size: 1.4rem;}

/* automatic sequential emphasis */
.card-28{ animation: thermoCard28 12s infinite; border-color: rgba(44,82,115,.22); }
.card-43{ animation: thermoCard43 12s infinite; border-color: rgba(66,111,77,.22); }
.card-50{ animation: thermoCard50 12s infinite; border-color: rgba(241,207,98,.42); }

/* hover overrides */
.thermo-panel:has(.point-28:hover) .thermo-card{ opacity:.35; transform:translateY(10px); }
.thermo-panel:has(.point-43:hover) .thermo-card{ opacity:.35; transform:translateY(10px); }
.thermo-panel:has(.point-50:hover) .thermo-card{ opacity:.35; transform:translateY(10px); }

.thermo-panel:has(.point-28:hover) .card-28,
.thermo-panel:has(.point-43:hover) .card-43,
.thermo-panel:has(.point-50:hover) .card-50{
    opacity: 1;
    transform: translateY(0);
    box-shadow: var(--shadow);}
.thermo-opportunity{
    margin-top: 34px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: center;
    padding: 22px 24px;
    border-radius: 24px;
    background: rgba(255,255,255,.46);
    border: 1px solid rgba(33,56,39,.08);}
.thermo-opportunity span{
    font-weight: 900;
    color: var(--forest);}
.thermo-opportunity p{
    margin: 0;
    color: var(--muted);}
@keyframes thermoFillCycle{
    0%, 26%{ width: 23%; }
    34%, 60%{ width: 53%; }
    68%, 100%{ width: 80%; }}
@keyframes thermoCard28{
    0%, 26%{ opacity:1; transform:translateY(0); box-shadow:var(--shadow); }
    34%, 100%{ opacity:.42; transform:translateY(10px); box-shadow:0 16px 36px rgba(33,56,39,.08); }}
@keyframes thermoCard43{
    0%, 26%{ opacity:.42; transform:translateY(10px); }
    34%, 60%{ opacity:1; transform:translateY(0); box-shadow:var(--shadow); }
    68%, 100%{ opacity:.42; transform:translateY(10px); }}
@keyframes thermoCard50{
    0%, 60%{ opacity:.42; transform:translateY(10px); }
    68%, 100%{ opacity:1; transform:translateY(0); box-shadow:var(--shadow); }}
.strategy-divider{
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 40px auto;}
.strategy-divider span{
    flex: 1;
    height: 1px;
    background: rgba(33,56,39,.15)}
.strategy-divider p{
    font-size: 0.85rem;
    letter-spicing: 0.12em;
    text-transform: uppercase;
    color: var(--olive);}
.cerca-icon{
    width: 58px;
    height: 58px;
    display: grid;
    place-items:center;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255, 255, 0.55), transparent 35%),
        linear-gradient(10deg, var(--cream), var(--cream));
    box-shadow: 
        0 8px 24px rgba(33,56,39, .12),
        inset 0 1px 0 rgba(255,255, 255, .45);}
.cerca-icon img{
    width:  70%;
    height: auto;}
.plant-icon img{
    width:  70%;
    height: auto;}

.cerca-watermarker{
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 70px;
    opacity: 0.4;}

.cerca-watermarker2{
    position: absolute;
    left: -25px;
    top: -25px;
    width: 60px;
    opacity: 0.4;}

.flow-image{
    position: absolute;
    right: -20%;
    bottom: -42%;
    width: 80%;}

.cold-image{
    position: absolute;
    width: 30%;}

.profile-pic{
    width:50%;}


/*-------SCIENCE VIDEO------*/

.science-video-section{
    padding: clamp(3rem, 8vw, 8rem) 0;}

.science-video-wrap{
    width: min(80vw, 1400px);
    margin-inline: auto;}

.science-video{
    display:block;
    width:70%;
    height:auto;
    border-radius:28px;
    box-shadow:
    0 30px 80px rgba(33,56,39,.14);
    transition:
    transform .35s ease
    box-shadow .35s ease;}

.science-video:hover{
    transform:translateY(-2px);}


/*------ THEME DARK ---------*/


body.theme-dark .impact-card p,
body.theme-dark .flow-step .flow-copy p,
body.theme-dark .science-caption{
    color:var(--text-soft)} 
body.theme-dark .flow-step{
    background:linear-gradient(145deg,#172c22,#1d3646);}
body.theme-dark .stat,
body.theme-dark .metric-box,
body.theme-dark .flow-node{
    background:rgba(255,255,255,.04);
    border-color:rgba(249,242,178,.08)} 
body.theme-dark .quote-strip,
body.theme-dark .cta-band{
    background:linear-gradient(145deg,#172c22,#1d3646)} 
body.theme-dark .supporters-label,
body.theme-dark .impact-badge,
body.theme-dark .flow-kicker{color:var(--cream)}
body.theme-dark .cta-form select{
    background: rgba(255, 255, 255, 0.06);
    color: #F6F3E8;
    border: 1px solid rgba(249, 242, 178, 0.1);}
body.theme-dark .cta-form select option{
    background: #2C5273;
    color: #F6F3E8;}
body.theme-dark .cta-form select option:checked{
    background: #426F4D;
    color: #fff;}
body.theme-dark .cta-form select:focus{
    outline: none;
    border-color: rgba(241,207,98,0.35);
    box-shadow: 0 0 0 2px rgba(241, 207, 98, 0.15);}
body.theme-dark .sponsors-section{
    background: linear-gradient(180deg, #12221b 0%, #172820 100%);}
body.theme-dark .flow-step{
    background: rgba(255, 255, 255, 0.06);
    color: #F6F3E8;
    border: 1px solid rgba(249, 242, 178, 0.1);
    transform:translateY(30px) scale(.98);
    transition:opacity .7s cubic-bezier(.2,.7,.2,1),transform .7s cubic-bezier(.2,.7,.2,1),box-shadow .3s ease}
body.theme-dark .about-media{
    background: rgba(255,255,255,0.3);
    border: 1px solid rgba(249,242,178,0.08);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);}
body.theme-dark .about-media::after{
    background: linear-gradient(to top, rgba(16,32,25,0.6),transparent);}
body.theme-dark .stat-num{
    color:var(--cream);}
body.theme-dark .video-card{
    background: rgba(255,255,255, 0.04);
    border: 1px solid rgba(249,242,178,0.08);
    box-shadow: 0 20px 50px rgba(0,0,0,.35);}
body.theme-dark .kernel-back-img{
    filter: brightness(0.95) contrast(1.05);}
body.theme-dark .kernel-front-img{
    filter:brightness(0.95) contrast(1.08) saturate(1.05) drop-shadow(0 24px 60px rgba(0,0,0,1)); }
body.theme-dark .figure-hotspot{
  border-color: rgba(249,242,178,.82);
  background: rgba(249,242,178,.10);
  box-shadow: 0 0 0 8px rgba(249,242,178,.08);}
body.theme-dark .figure-hotspot::after{
  color: var(--cream);}
body.theme-dark .figure-hotspot:hover{
  background: rgba(249,242,178,.18);
  box-shadow:
    0 0 0 10px rgba(249,242,178,.12),
    0 14px 34px rgba(0,0,0,.28);}
body.theme-dark .figure-modal-backdrop{
  background: rgba(5,12,9,.62);}
body.theme-dark .figure-modal-card{
  background: rgba(18,32,25,.96);
  border-color: rgba(249,242,178,.12);
  box-shadow: 0 26px 70px rgba(0,0,0,.45);}
body.theme-dark .figure-modal-close{
  background: rgba(255,255,255,.06);
  color: var(--cream);
  border-color: rgba(249,242,178,.12);}
body.theme-dark .figure-modal-card h3{
  color: var(--cream);}
body.theme-dark .figure-modal-card p{
  color: rgba(246,243,232,.76);}
body.theme-dark .figure-modal-kicker{
  color: var(--gold);}
body.theme-dark .map-hotspot.is-circle::before{
    background: var(--gold);
    box-shadow: 0 0 0 8px rgba(249, 242, 178, 0.1);}
body.theme-dark .map-hotspot.is-star::before{
    background:var(--cream);
    box-shadow: 0 0 0 8px rgba(241, 207, 98, 0.12);}
body.theme-dark .team-modal-card{
  background: rgba(18,32,25,.96);
  border-color: rgba(249,242,178,.12);}
body.theme-dark .team-modal-card h3{
  color: var(--cream);}
body.theme-dark .team-modal-card p{
  color: rgba(246,243,232,.76);}
body.theme-dark .team-modal-kicker{
  color: var(--gold);}
body.theme-dark .team-modal-close{
  background: rgba(255,255,255,.06);
  color: var(--cream);
  border-color: rgba(249,242,178,.12);}
body.theme-dark .team-modal-link{
    background: var(--gold);
    color: #1f271c;}
body.theme-dark .team-map{
    background: rgda(255, 252, 246, 0.06);
    border: 1px solid rgba(249, 242, 178, 0.1);
    border-radius: 28px;
    padding: 14px;}
body.theme-dark .team-map::before{
    content: "";
    position: absolute;
    inset: 10px;
    border-radious: 28px;
    background: rgba(255, 252, 246, .2);
    z-index: 0;}
body.theme-dark .team-map-img{
    filter: brightness(1.12) contrast(1.12) saturate(.95);}
/* dark mode */
body.theme-dark .impact-stack-card{
    background:
    radial-gradient(circle at 85% 20%, rgba(241,207,98,.12), transparent 34%),
    linear-gradient(145deg, rgba(18,32,25,.96), rgba(31,48,38,.92));
    border-color: rgba(249,242,178,.10);
    box-shadow: 0 22px 54px rgba(0,0,0,.32);}
body.theme-dark .impact-stack-card span,
body.theme-dark .impact-stack-card h3{
    color: var(--cream);}
body.theme-dark .impact-stack-card p{
    color: rgba(246,243,232,.76);}
body.theme-dark .impact-value-rail{
    background:linear-gradient(135deg, rgba(18,32,25,.94), rgba(31,48,38,.86));
    border-color:rgba(249,242,178,.10);}
body.theme-dark .value-step:not(:last-child){
    border-right-color:rgba(249,242,178,.08);}
body.theme-dark .impact-value-rail::before{
    opacity:.55;}
body.theme-dark .value-number{
    color:var(--gold);}
body.theme-dark .value-step p{
    color:rgba(246,243,232,.76);}
body.theme-dark .value-step:hover{
    background:rgba(255,255,255,.04);}
body.theme-dark .scale-path::before{
    opacity:.55;}
body.theme-dark .scale-node::before{
    background:var(--gold);
    box-shadow:0 0 0 10px rgba(241,207,98,.10);}
body.theme-dark .scale-node span{
    color:var(--gold);}
body.theme-dark .scale-node p{
    color:rgba(246,243,232,.76);}
body.theme-dark .ba-heading{
    color:var(--gold);}
body.theme-dark .ba-after{
    color:var(--cream);}
body.theme-dark .ba-card{
    background:rgba(18,32,25,.82);
    border-color:rgba(249,242,178,.10);
    box-shadow:0 16px 40px rgba(0,0,0,.24);}
body.theme-dark .ba-card-after{
    background:radial-gradient(circle at 85% 20%, rgba(241,207,98,.12), transparent 36%),rgba(24,41,32,.88);}
body.theme-dark .ba-card span{
    color:var(--gold);}
body.theme-dark .ba-card p{
    color:rgba(246,243,232,.76);}
body.theme-dark .cerca-watermarker{
    opacity: .9;
    filter: brightness(1.2) contrast(1.05);}
body.theme-dark .lost-season-panel{
    background:
        radial-gradient(circle at 12% 18%, rgba(44,82,115,.20), transparent 32%),
        radial-gradient(circle at 88% 12%, rgba(241,207,98,.12), transparent 30%),
        linear-gradient(145deg, rgba(18,32,25,.94), rgba(31,48,38,.86));
    border-color:rgba(249,242,178,.10);
    box-shadow:0 22px 54px rgba(0,0,0,.32);}
body.theme-dark .season-month,
body.theme-dark .plant-card,
body.theme-dark .lost-season-message{
    background:rgba(18,32,25,.72);
    border-color:rgba(249,242,178,.10);}
body.theme-dark .season-track::before{
    opacity:.52;}
body.theme-dark .season-month span,
body.theme-dark .plant-copy span,
body.theme-dark .lost-season-message span{
    color:var(--gold);}
body.theme-dark .season-month strong,
body.theme-dark .lost-season-message p{
    color:var(--cream);}
body.theme-dark .plant-copy p{
    color:rgba(246,243,232,.76);}
body.theme-dark .cold-badge{
    background:rgba(44,82,115,.24);
    color:var(--cream);}
body.theme-dark .warm-badge{
    background:rgba(241,207,98,.14);
    color:var(--gold);}
body.theme-dark .leak-panel{
    background:
        radial-gradient(circle at 12% 18%, rgba(44,82,115,.18), transparent 30%),
        radial-gradient(circle at 88% 22%, rgba(241,207,98,.12), transparent 32%),
        linear-gradient(145deg, rgba(18,32,25,.94), rgba(31,48,38,.86));
    border-color: rgba(249,242,178,.10);
    box-shadow: 0 22px 54px rgba(0,0,0,.32);}
body.theme-dark .leak-side,
body.theme-dark .nue-lens-card{
    background: rgba(18,32,25,.72);
    border-color: rgba(249,242,178,.10);}
body.theme-dark .leak-retain{
    background:
        radial-gradient(circle at 85% 20%, rgba(241,207,98,.10), transparent 34%),rgba(24,41,32,.82);}
body.theme-dark .leak-label{
    background: rgba(44,82,115,.24);
    color: var(--cream);}
body.theme-dark .leak-retain .leak-label,
body.theme-dark .nue-lens-card span{
    color: var(--gold);}
body.theme-dark .leak-list li{
    color: rgba(246,243,232,.76);}
body.theme-dark .nue-lens-card p{
    color: var(--cream);}
body.theme-dark .thermo-panel{
    background:
        radial-gradient(circle at 12% 18%, rgba(44,82,115,.20), transparent 30%),
        radial-gradient(circle at 88% 18%, rgba(241,207,98,.12), transparent 32%),
        linear-gradient(145deg, rgba(18,32,25,.94), rgba(31,48,38,.86));
    border-color: rgba(249,242,178,.10);
    box-shadow: 0 22px 54px rgba(0,0,0,.32);}
body.theme-dark .thermo-track,
body.theme-dark .thermo-card,
body.theme-dark .thermo-opportunity{
    background: rgba(18,32,25,.72);
    border-color: rgba(249,242,178,.10);}
body.theme-dark .thermo-card p,
body.theme-dark .thermo-opportunity p{
    color: rgba(246,243,232,.76);}
body.theme-dark .thermo-card strong{
    color: var(--gold);}
body.theme-dark .thermo-opportunity span{
    color: var(--cream);}
body.theme-dark .thermo-icon{
    background: rgba(255,255,255,.06);}
body.theme-dark .strategy-divider span{
    background: var(--cream)}
body.theme-dark .cerca-icon{
    background: 
        radial-gradient(circle at 30% 30%, rgba(255,255, 255, 0.08), transparent 35%),
        linear-gradient(10deg, var(--cream), #314b3d);}
body.theme-dark .masked-media-label{
    background: rgba(255,255,255,.06);
    color: var(--gold);}
body.theme-dark .science-video{
    box-shadow: 0 30px 80px rgba(0,0,0,.40);}

/*-------- MEDIA SPECIFICATIONS ------ */


@media (max-width:1100px){
    .science-flow{grid-template-columns:1fr;gap:.85rem}
    .flow-arrow{
        min-width:unset;
        min-height:44px;
        transform:translateY(-8px)}
    .flow-arrow.active{
        transform:translateY(0)}
    .arrow-line{
        width:2px;
        height:40px;
        background:linear-gradient(180deg, rgba(66,111,77,.18), rgba(66,111,77,.72))}
    .arrow-line::after{
        top:-40%;
        left:0;
        width:100%;
        height:40%;
        background:linear-gradient(180deg, transparent, rgba(249,242,178,.95), transparent);
        animation:flowArrowShimmerVertical 2s linear infinite;}
     .arrow-head{transform:translateY(12px) translateX(-6.5px) rotate(135deg);}
    /*.arrow-head{transform:translateY(-3px) rotate(135deg)}*/
    @keyframes flowArrowShimmerVertical{0%{top:-40%}100%{top:120%}}
    .flow-step{
        min-height:unset}
    .flow-image{
        position: absolute;
        right: -20px;
        bottom: -42px;
        width: 120px;}
    .cold-image{
        position: absolute;
        width: 45%;}
}

@media (max-width:1040px){
    .story-grid,
    .cta-band,
    .science-grid,
    .impact-grid{
        grid-template-columns:1fr}
}

@media (max-width:860px){
    .stats-band,
    .science-grid,
    .root-diagram,
    .flow-diagram,
    .nue-diagram{
        grid-template-columns:1fr}
    .lead{
        max-width:34ch}
    .about-grid{
        grid-template-columns: 1fr;}
    .about-media{
        margin-top: 20px;}
    .image-grid{
        grid-template-columns: 1fr;
        margin: 5px;}
    .story-grid{
        grid-template-columns: 1fr;}
    .story-grid.reverse .story-primary,
    .story-grid.reverse .story-secondary{
        order: initial;}
    .story-grid2 .masked-media2{
        margin: 0;
        justify-self: center;
        transform: scale(0.7);
        aspect-ratio: auto;}
    .story-grid .masked-media2,
    .story-grid.reverse .masked-media2{
        margin: 0;
        justify-self: center;
        transform: scale(0.7);
        aspect-ratio: auto;}
    .interactive-figure{
        width: 90%;
        grid-column: auto;}
    .interactive-figure{
        margin-top: 32px;}
    .figure-hotspot{
        width: 19.4%;}
    .figure-modal-card{
        padding: 26px 22px;}
    .map-hotspot{
        width: 12px;
        height: 12px;}
    .kernel-back-img{
        width: 60%;
        height: 60%;
        justify-self:center;}
    .kernel-front-img{
        width: 60%;
        height: 60%;
        justify-self:center;}
    .impact-stack-layout{
        grid-template-columns: 1fr;}
    .impact-stack-intro{
        position: relative;
        top: auto;}
    .impact-stack-card{
        width: 100%;
        min-height: auto;}
    .impact-value-rail{
        grid-template-columns:1fr;}
    .impact-value-rail::before{
        top:8%;
        bottom:8%;
        left:36px;
        right:auto;
        width:2px;
        height:auto;}
    .value-step{
        min-height:220px;
        padding-left:72px;}
    .value-step:not(:last-child){
        border-right:0;
        border-bottom:1px solid rgba(33,56,39,.08);}
    .value-step::before{
        left:28px;
        top:50%;}
    .scale-path{
        grid-template-columns:1fr;
        gap:0;}
    .scale-path::before{
        top:0;
        bottom:0;
        left:18px;
        right:auto;
        width:2px;
        height:auto;}
    .scale-node{
        text-align:left;
        padding:28px 0 28px 58px;}
    .scale-node::before{
        top:30px;
        left:18px;
        transform:translateX(-50%);}
    .scale-node p{
        margin:0;
        max-width:42ch;}
    .before-after-panel,
    .ba-row{
        grid-template-columns:1fr;}
    .ba-heading,
    .ba-before,
    .ba-after,
    .ba-row{
        grid-column:auto;}
    .ba-after{
        display:none;}
    .ba-arrow{
        margin:0 auto;
        transform:rotate(90deg);}
    .flow-image{
        position: absolute;
        right: -20px;
        bottom: -42px;
        width: 80px;}
    .season-track{
        grid-template-columns:1fr;}
    .season-track::before{
        left:25px;
        right:auto;
        top:8%;
        bottom:8%;
        width:2px;
        height:auto;}
    .season-month{
        padding-left:56px;}
    .season-month::before{
        position:absolute;
        left:20px;
        top:22px;}
    .plant-compare{
        grid-template-columns:1fr;}
    .plant-card{
        min-height:auto;}
    .lost-season-message{
        grid-template-columns:1fr;}
    .leak-panel{
        grid-template-columns: 1fr;}
    .leak-divider{
        min-height: 46px;}
    .leak-divider span::after{
        content:"\2193";}
    .leak-side{
        min-height: auto;}
    .cold-thermo-heading{
        grid-template-columns: 1fr;}
    .thermo-cards{
        grid-template-columns: 1fr;}
    .thermo-scale{
        font-size: .8rem;}
    .thermo-scale .temp-28,
    .thermo-scale .temp-43,
    .thermo-scale .temp-50{
        font-size: 1rem;}
    .thermo-opportunity{
        grid-template-columns: 1fr;}
    .cold-image{
        position: absolute;
        width: 40%;}
    .science-video{
        display:block;
        width:100%;}
    /* Change these positions for your actual map */
    .map-location-1{ left: 52.5%; top: 52%; } /*missouri1*/
    .map-location-2{ left: 74%; top: 31%; } /*newyork1*/
    .map-location-3{ left: 76.4%; top: 57.8%; } /*northcarolina1*/
    .map-location-4{ left: 50.6%; top: 28%; } /*minnesota*/
    .map-location-5{ left: 8%; top: 19.2%; } /*orgeon*/
    .map-location-6{ left: 51.2%; top: 38.5%; } /*iowa1*/
    .map-location-7{ left: 12.5%; top: 63.5%; } /*california1*/
    .map-location-8{ left: 11.5%; top: 61.5%; } /*california2*/
    .map-location-9{ left: 45.5%; top: 80%; } /*texas1*/
    .map-location-10{ left: 45.5%; top: 83%; } /*texas2*/
    .map-location-11{ left: 37.65%; top: 65.9%; } /*texas3*/
    .map-location-12{ left: 71.6%; top: 81%; } /*florida*/
    .map-location-13{ left: 51.4%; top: 49.4%; } /*missouri2*/
    .map-location-14{ left: 56.6%; top: 33%; } /*wisconsin1*/
    .map-location-15{ left: 58.5%; top: 33%; } /*wisconsin2*/
    .map-location-16{ left: 64%; top: 33%; } /*michigan*/
    .map-location-17{ left: 45.3%; top: 38.25%; } /*nebraska1*/
    .map-location-18{ left: 45.8%; top: 41.5%; } /*nebraska2*/
    .map-location-19{ left: 45.8%; top: 44%; } /*nebraska3*/
    .map-location-20{ left: 76.9%; top: 56.3%; } /*northcarolina2*/
    .map-location-21{ left: 51.3%; top: 35.3%; } /*iowa2*/
    .map-location-22{ left: 49.4%; top: 37%; } /*iowa3*/
    .map-location-23{ left: 49.6%; top: 40.5%; } /*iowa4*/
    .map-location-24{ left: 58.3%; top: 46%; } /*illinois1*/
    .map-location-25{ left: 59.3%; top: 44.5%; } /*illinois2*/
    .map-location-26{ left: 58%; top: 49%; } /*illinois3*/
    .map-location-27{ left: 76.5%; top: 26.3%; } /*newyork2*/
    .map-location-28{ left: 76%; top: 30.5%; } /*newyork3*/
    .map-location-29{ left: 77%; top: 29%; } /*newyork4*/
    .map-location-USDA{ left: 94%; top: 71%; } 
    .map-location-university{ left: 94%; top: 77.5%; }


}


@media (max-width:640px){
    .flow-step{
        padding:1.2rem 1rem 1.1rem}
    .flow-icon{
        width:104px;
        height:104px;
        border-radius:24px}
    .impact-stack-card,
    .impact-stack-card:nth-child(n){
        position: relative;
        top: auto;
        min-height: auto;}
}


