/* Custom Scrollbar for a premium feel */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #fafaf9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #14532d; }

/* ===== TOKENS & BASE SETTINGS ===== */
:root {
    --g: #0d6b3a; --gd: #0a5430; --gp: #d4f5e2; --y: #fbbf24; --yp: #fef3c7;
    --bg: #f7f7f5; --card: #ffffff; --tx: #1a2e1a; --tm: #4a5e4a; --tl: #8a9a8a;
    --r: 1rem; --rl: 1.5rem; --rxl: 2rem; --pill: 999px;
    --fd: 'Playfair Display', Georgia, serif; 
    --fb: 'Lato', system-ui, sans-serif;
    --e: cubic-bezier(.16,1,.3,1); --sp: cubic-bezier(.34,1.56,.64,1);
    --shadow-sm: 0 2px 8px rgba(0,0,0,.04); 
    --shadow: 0 8px 30px rgba(0,0,0,.06); 
    --shadow-lg: 0 20px 60px rgba(0,0,0,.1); 
    --shadow-float: 0 12px 40px rgba(13,107,58,.12);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--fb); color: var(--tx); background: var(--bg); overflow-x: hidden; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }
::selection { background: var(--y); color: var(--g); }
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ===== SCROLL REVEAL UTILS ===== */
.sr { opacity: 0; transform: translateY(36px); transition: opacity .7s var(--e), transform .7s var(--e); }
.sr-l { transform: translateX(-40px); }
.sr-r { transform: translateX(40px); }
.sr-s { transform: scale(.95); }
.sr.v { opacity: 1; transform: none; }
.sd1 { transition-delay: .08s; } .sd2 { transition-delay: .16s; } .sd3 { transition-delay: .24s; } .sd4 { transition-delay: .32s; }
.no-js .sr, .no-js .si { opacity: 1!important; transform: none!important; }
.sp { overflow: hidden; display: block; }
.si { display: block; transform: translateY(110%); transition: transform .85s var(--e); }
.si.v { transform: translateY(0); }
.spd1 .si { transition-delay: .1s; } .spd2 .si { transition-delay: .22s; } .spd3 .si { transition-delay: .35s; }

/* ===== LAYOUT & TEXT UTILS ===== */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem,4vw,2.5rem); }
.pill { display: inline-block; background: var(--gp); color: var(--g); font-size: .58rem; font-weight: 900; text-transform: uppercase; letter-spacing: .2em; padding: .4rem 1rem; border-radius: var(--pill); box-shadow: var(--shadow-sm); }
.st { font-family: var(--fd); font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 700; font-style: italic; color: var(--g); line-height: 1.15; }
.ss { font-size: 1rem; color: var(--tm); line-height: 1.75; } .ss b { color: var(--g); font-weight: 700; }
.sec-head { text-shadow: 0 2px 20px rgba(0,0,0,.03); }

/* --- Glassmorphism / Bento --- */
.glass { background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.4); }
.glass-dark { background: rgba(20, 83, 45, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.1); }
.bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem; }
.bento-item { position: relative; border-radius: 2.5rem; overflow: hidden; min-height: 450px; cursor: pointer; }
@media (max-width: 768px) { .bento-item { grid-column: span 12 !important; min-height: 350px; } }

/* ===== TOPBAR ===== */
.tb { background: var(--g); color: #fff; font-size: .62rem; font-weight: 700; letter-spacing: .06em; padding: .4rem 1.25rem; display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 60; }
.tb a { color: #fff; transition: color .3s; } .tb a:hover { color: var(--y); }
.tbl { display: flex; gap: 1.2rem; align-items: center; } .tbl svg { width: 10px; height: 10px; margin-right: 3px; vertical-align: middle; }
.tbr { display: flex; gap: .5rem; } .tbr a { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; transition: all .3s; } .tbr a:hover { background: var(--y); color: var(--g); } .tbr svg { width: 10px; height: 10px; }
@media(max-width:768px){ .tb { justify-content: center; font-size: .55rem; padding: .35rem 1rem; } .tbl { display: none; } }

/* ===== NAV ===== */
.nv { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: .3rem 1.25rem; transition: all .5s var(--e); background: transparent; }
.nv.sk { background: rgba(255,255,255,.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: var(--shadow); }
.ni { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: .45rem 0; }
.nb { display: flex; align-items: center; gap: .6rem; }
.nb img { width: 42px; height: 42px; object-fit: contain; border-radius: 10px; filter: drop-shadow(0 0 12px rgba(255,255,255,.6)) drop-shadow(0 0 24px rgba(255,255,255,.35)); transition: filter .5s; }
.nv.sk .nb img { filter: drop-shadow(0 0 8px rgba(13,107,58,.1)); }
.nb h1 { font-weight: 900; color: var(--y); font-size: .95rem; text-transform: uppercase; letter-spacing: -.02em; line-height: 1.1; transition: color .5s; text-shadow: 0 1px 8px rgba(0,0,0,.3); }
.nb small { font-size: .48rem; color: rgba(255,255,255,.55); font-weight: 700; text-transform: uppercase; letter-spacing: .28em; display: block; transition: color .5s; }
.nv.sk .nb h1 { color: var(--g); text-shadow: none; } .nv.sk .nb small { color: var(--tl); }
.nl { display: flex; align-items: center; gap: 2rem; }
.nl a { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--y); transition: color .3s; position: relative; text-shadow: 0 1px 6px rgba(0,0,0,.2); }
.nl a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 2px; background: var(--g); border-radius: 2px; transition: width .4s var(--e); }
.nl a:hover::after { width: 100%; }
.nv.sk .nl a { color: var(--tm); text-shadow: none; } .nv.sk .nl a:hover { color: var(--g); }
.bd { background: var(--y); color: var(--g); padding: .5rem 1.5rem; border-radius: var(--pill); font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; transition: all .4s var(--e); box-shadow: 0 4px 16px rgba(251,191,36,.3); }
.bd:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(251,191,36,.2); }
.nv.sk .bd { background: var(--g); color: #fff; box-shadow: var(--shadow-float); } .nv.sk .bd:hover { background: var(--y); color: var(--g); }
.hm { display: none; flex-direction: column; gap: 4px; padding: 8px; z-index: 60; } .hm span { display: block; width: 20px; height: 2px; background: var(--y); border-radius: 2px; transition: all .4s var(--e); }
.nv.sk .hm span { background: var(--g); }
.hm.on span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); } .hm.on span:nth-child(2) { opacity: 0; } .hm.on span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }
.mm { position: fixed; inset: 0; background: var(--card); z-index: 55; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.6rem; opacity: 0; pointer-events: none; transition: opacity .4s; } .mm.on { opacity: 1; pointer-events: all; }
.mm a, .mm button { font-size: 1.3rem; font-weight: 700; color: var(--g); text-transform: uppercase; letter-spacing: .06em; }
@media(max-width:900px){ .nl { display: none; } .hm { display: flex; } }

/* ===== HERO ===== */
.hero { position: relative; height: 100vh; min-height: 600px; max-height: 1000px; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; } .hero-bg img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.hero-grad { position: absolute; inset: 0; background: linear-gradient(to top,rgba(0,0,0,.8) 0%,rgba(0,0,0,.28) 45%,rgba(0,0,0,.06) 100%); z-index: 1; }
.hero-c { position: relative; z-index: 2; width: 100%; padding: 0 clamp(1rem,4vw,3rem) clamp(2rem,5vw,4.5rem); }
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr .7fr; gap: 2.5rem; align-items: end; }
.hl { max-width: 620px; }
.ht { font-family: var(--fd); font-size: clamp(2.2rem,5.5vw,4rem); font-weight: 700; color: #fff; line-height: 1.06; margin-bottom: 1rem; }
.ht em { font-style: italic; color: var(--y); }
.hs { font-size: clamp(.9rem,1.6vw,1.05rem); color: rgba(255,255,255,.8); max-width: 440px; line-height: 1.7; margin-bottom: 2rem; opacity: 0; animation: fadeUp .7s var(--e) .7s forwards; }
.hb { display: flex; flex-wrap: wrap; gap: .7rem; opacity: 0; animation: fadeUp .7s var(--e) .9s forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.bh { padding: .8rem 1.8rem; border-radius: var(--pill); font-weight: 800; font-size: .78rem; display: inline-flex; align-items: center; gap: .35rem; transition: all .4s var(--e); } .bh svg { width: 14px; height: 14px; transition: transform .3s; }
.bhp { background: var(--g); color: #fff; box-shadow: var(--shadow-float); } .bhp:hover { background: #fff; color: var(--g); } .bhp:hover svg { transform: translateX(3px); }
.bhs { background: rgba(255,255,255,.1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); color: #fff; } .bhs:hover { background: rgba(255,255,255,.2); }
.hr { display: flex; flex-direction: column; gap: .8rem; align-items: flex-end; padding-bottom: .5rem; }
.sc { background: rgba(255,255,255,.08); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.1); border-radius: var(--rl); padding: 1rem 1.2rem; display: flex; align-items: center; gap: .8rem; min-width: 240px; color: #fff; opacity: 0; animation: fadeUp .6s var(--e) forwards; box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.sc:nth-child(1) { animation-delay: .5s; } .sc:nth-child(2) { animation-delay: .7s; } .sc:nth-child(3) { animation-delay: .9s; }
.sc:hover { transform: translateY(-3px); }
.sci { width: 40px; height: 40px; background: var(--y); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .sci svg { color: var(--g); width: 18px; height: 18px; }
.scn { font-size: 1.4rem; font-weight: 900; letter-spacing: -.02em; line-height: 1; } .scl { font-size: .65rem; color: rgba(255,255,255,.55); font-weight: 400; }
@media(max-width:900px){ .hero-inner { grid-template-columns: 1fr; gap: 1.5rem; } .hr { flex-direction: row; flex-wrap: wrap; align-items: flex-start; padding-top: 1rem; } .sc { min-width: auto; flex: 1 1 140px; padding: .8rem 1rem; } .scn { font-size: 1.1rem; } .sci { width: 34px; height: 34px; border-radius: 10px; } .sci svg { width: 15px; height: 15px; } }
@media(max-width:480px){ .ht { font-size: 2rem; } .hs { font-size: .88rem; } }
.scroll-cue { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); z-index: 3; color: rgba(255,255,255,.3); font-size: .5rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; display: flex; flex-direction: column; align-items: center; gap: .25rem; animation: bob 3s ease-in-out infinite; }
.scroll-cue svg { width: 14px; height: 14px; } @keyframes bob { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-5px); } }

/* ===== MARQUEE ===== */
.mq { overflow: hidden; background: var(--g); padding: .6rem 0; white-space: nowrap; }
.mqt { display: inline-flex; animation: mql 28s linear infinite; }
.mqt span { font-family: var(--fd); font-size: .8rem; font-weight: 700; font-style: italic; color: rgba(255,255,255,.4); padding: 0 1.8rem; display: inline-flex; align-items: center; gap: 1rem; }
.mqt span::before { content: '★'; color: var(--y); font-size: .6rem; }
@keyframes mql { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== STICKY TEXT REVEAL ===== */
.sticky-reveal { position: relative; min-height: 200vh; background: var(--card); }
.sticky-inner { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sticky-text { max-width: 840px; padding: 0 clamp(1rem,4vw,2.5rem); text-align: center; }
.sticky-text h2 { font-family: var(--fd); font-size: clamp(1.9rem,4.5vw,3.2rem); font-weight: 700; font-style: italic; color: var(--g); line-height: 1.2; margin-bottom: 1.5rem; }
.sticky-text h2 .word { display: inline-block; opacity: .08; transition: opacity .12s; margin-right: .22em; }
.sticky-text h2 .word.lit { opacity: 1; }
.sticky-text p { font-size: 1rem; color: var(--tm); line-height: 1.8; max-width: 620px; margin: 0 auto; opacity: 0; transform: translateY(16px); transition: opacity .5s var(--e), transform .5s var(--e); }
.sticky-text p.vis { opacity: 1; transform: none; }
.sticky-logo { position: absolute; bottom: 3rem; right: 3rem; width: 60px; height: 60px; opacity: .06; pointer-events: none; }

/* ===== HORIZONTAL SCROLL PROGRAMS ===== */
.hscroll { position: relative; background: var(--bg); }
.hscroll-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hscroll-header { position: absolute; top: clamp(1.2rem,3vw,2.5rem); left: clamp(1rem,4vw,2.5rem); z-index: 2; }
.hscroll-track { display: flex; gap: 1.2rem; will-change: transform; padding: 0 clamp(1rem,3vw,2rem); }
.hsc { flex: 0 0 330px; border-radius: var(--rxl); overflow: hidden; background: var(--card); border: 1px solid rgba(0,0,0,.04); transition: box-shadow .5s var(--e), transform .5s var(--e); cursor: pointer; box-shadow: var(--shadow); }
.hsc:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.hsci { position: relative; height: 210px; overflow: hidden; } .hsci img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--e); } .hsc:hover .hsci img { transform: scale(1.05); }
.hsct { position: absolute; top: .8rem; left: .8rem; background: var(--g); color: #fff; font-size: .55rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; padding: .3rem .8rem; border-radius: var(--pill); }
.hscb { padding: 1.2rem; } .hscb h4 { font-family: var(--fd); font-size: 1.05rem; font-weight: 700; font-style: italic; color: var(--g); margin-bottom: .35rem; }
.hscb p { font-size: .8rem; color: var(--tm); line-height: 1.6; margin-bottom: .8rem; }
.hscl { display: inline-flex; align-items: center; gap: .25rem; font-size: .7rem; font-weight: 800; color: var(--g); text-transform: uppercase; letter-spacing: .06em; transition: gap .3s; } .hscl:hover { gap: .5rem; } .hscl svg { width: 13px; height: 13px; }
@media(max-width:640px){ .hsc { flex: 0 0 82vw; } }

/* ===== IMPACT STATS ===== */
.imp { padding: 5rem 0 3rem; }
.imp-h { text-align: center; margin-bottom: 3rem; }
.sg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.si2 { background: var(--card); border: 1px solid rgba(0,0,0,.04); border-radius: var(--rl); padding: 1.8rem 1.2rem; text-align: center; box-shadow: var(--shadow); transition: transform .4s var(--e), box-shadow .4s; }
.si2:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.si2i { width: 50px; height: 50px; background: var(--gp); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto .8rem; transition: transform .5s var(--sp); } .si2i svg { color: var(--g); width: 20px; height: 20px; } .si2:hover .si2i { transform: scale(1.1) rotate(-5deg); }
.sn { font-size: clamp(2rem,3.5vw,2.8rem); font-weight: 900; color: var(--g); letter-spacing: -.02em; line-height: 1; margin-bottom: .2rem; }
.sl { font-size: .55rem; text-transform: uppercase; letter-spacing: .28em; font-weight: 700; color: var(--tl); }
@media(max-width:768px){ .sg { grid-template-columns: repeat(2, 1fr); gap: .8rem; } .si2 { padding: 1.4rem 1rem; } }
@media(max-width:400px){ .sg { grid-template-columns: 1fr; } }

/* ===== LOGO DIVIDER ===== */
.logo-divider { text-align: center; padding: 2.5rem 0; opacity: .07; } .logo-divider img { width: 48px; height: 48px; margin: 0 auto; }

/* ===== FOUNDER ===== */
.fdr { padding: 5rem 0; background: var(--card); }
.fdg { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,4vw,4rem); align-items: start; }
.fdi { position: relative; border-radius: var(--rxl); overflow: hidden; box-shadow: var(--shadow-lg); } .fdi img { width: 100%; height: 520px; object-fit: cover; will-change: transform; }
.fdt { display: flex; flex-direction: column; gap: 1.2rem; }
.qt { font-family: var(--fd); font-size: 1rem; font-style: italic; color: var(--tm); line-height: 1.7; border-left: 3px solid var(--y); padding-left: 1.2rem; }
.bt { font-size: .88rem; color: var(--tm); line-height: 1.85; } .bt b { color: var(--g); font-weight: 700; }
@media(max-width:900px){ .fdg { grid-template-columns: 1fr; } .fdi img { height: 360px; } }

/* ===== STICKY STACKING CARDS ===== */
.stack-sec { padding: 3rem 0 0; position: relative; }
.stack-card { position: sticky; top: 100px; background: var(--card); border-radius: var(--rxl); box-shadow: var(--shadow-lg); overflow: hidden; margin-bottom: 2rem; transform-origin: top center; transition: transform .3s var(--e); }
.stack-card-inner { display: grid; grid-template-columns: 1fr 1fr; min-height: 420px; }
.stack-card-inner.flip { direction: rtl; } .stack-card-inner.flip > * { direction: ltr; }
.stack-card-img { position: relative; overflow: hidden; } .stack-card-img img { width: 100%; height: 100%; object-fit: cover; will-change: transform; min-height: 420px; }
.stack-card-text { padding: clamp(2rem,4vw,3.5rem); display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.stack-card-text h3 { font-family: var(--fd); font-size: clamp(1.5rem,2.5vw,2rem); font-weight: 700; font-style: italic; color: var(--g); line-height: 1.2; }
.stack-card-text p { font-size: .9rem; color: var(--tm); line-height: 1.8; }
.stack-card-text .bp { margin-top: .5rem; align-self: flex-start; }
@media(max-width:768px){ .stack-card-inner, .stack-card-inner.flip { grid-template-columns: 1fr; direction: ltr; } .stack-card-img img { min-height: 240px; height: 240px; } }

/* ===== GALLERY MARQUEE ===== */
.gallery-marquee-sec {
    padding: 4rem 0 2rem;
    background: var(--bg);
}
.gallery-marquee-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 5;
    padding: 0 clamp(1rem, 4vw, 2.5rem);
}
.gallery-marquee-container {
    overflow: hidden;
    position: relative;
    display: flex;
    width: 100%;
}
.gallery-marquee-container::before, .gallery-marquee-container::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.gallery-marquee-container::before { left: 0; background: linear-gradient(to right, var(--bg) 0%, transparent 100%); }
.gallery-marquee-container::after { right: 0; background: linear-gradient(to left, var(--bg) 0%, transparent 100%); }

/* ===== SCALE-TO-FILL CTA ===== */
.scale-fill { padding: 4rem 0; overflow: hidden; }
.scale-fill-inner { border-radius: var(--rxl); overflow: hidden; position: relative; min-height: 70vh; display: flex; align-items: center; justify-content: center; will-change: transform; box-shadow: var(--shadow-lg); }
.scale-fill-bg { position: absolute; inset: -10%; z-index: 0; } .scale-fill-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.25); }
.scale-fill-content { position: relative; z-index: 1; max-width: 680px; text-align: center; padding: 3rem 2rem; color: #fff; }
.scale-fill-content .pill { background: rgba(255,255,255,.1); color: var(--y); border: 1px solid rgba(255,255,255,.15); margin: 0 auto .8rem; }
.scale-fill-content h3 { font-family: var(--fd); font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 700; font-style: italic; line-height: 1.15; margin-bottom: .8rem; }
.scale-fill-content p { color: rgba(255,255,255,.65); font-size: 1rem; margin-bottom: 2rem; line-height: 1.7; }
.scale-fill-content .bc { background: var(--y); color: var(--g); padding: .9rem 2.2rem; border-radius: var(--pill); font-weight: 900; font-size: .85rem; transition: all .4s var(--e); box-shadow: 0 8px 24px rgba(251,191,36,.3); display: inline-flex; align-items: center; gap: .35rem; }
.scale-fill-content .bc:hover { background: #fff; transform: translateY(-3px); }
.scale-fill-logo { position: absolute; bottom: 2rem; right: 2rem; width: 50px; opacity: .08; z-index: 1; pointer-events: none; }

/* ===== BIGTEXT / CRISIS ===== */
.bigtext { padding: clamp(4rem,7vw,6rem) 0; position: relative; overflow: hidden; background: var(--g); }
.bigtext-bg { position: absolute; inset: 0; z-index: 0; } .bigtext-bg img { width: 100%; height: 130%; object-fit: cover; will-change: transform; filter: brightness(.15) saturate(.5); mix-blend-mode: luminosity; }
.bigtext-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; padding: 0 clamp(1rem,4vw,2.5rem); color: #fff; }
.bigtext-content .pill { background: rgba(255,255,255,.08); color: var(--y); border: 1px solid rgba(255,255,255,.1); margin-bottom: 1.3rem; }
.bigtext-lead { font-family: var(--fd); font-size: clamp(1.6rem,3.5vw,2.6rem); font-weight: 700; font-style: italic; line-height: 1.22; margin-bottom: 1.8rem; }
.bigtext-lead em { color: var(--y); }
.bigtext-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,3vw,3rem); margin-bottom: 2.5rem; }
.bigtext-cols p { font-size: .9rem; line-height: 1.85; color: rgba(255,255,255,.65); } .bigtext-cols p strong { color: var(--y); font-weight: 700; }
.bigtext-stat-row { display: flex; gap: 2rem; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.08); }
.bigtext-stat { flex: 1; min-width: 130px; }
.bigtext-stat-num { font-size: 2.2rem; font-weight: 900; color: var(--y); line-height: 1; margin-bottom: .25rem; }
.bigtext-stat-label { font-size: .6rem; text-transform: uppercase; letter-spacing: .18em; color: rgba(255,255,255,.4); font-weight: 700; }
.bigtext-logo { position: absolute; top: 2rem; right: 2rem; width: 50px; opacity: .05; z-index: 2; pointer-events: none; }
@media(max-width:768px){ .bigtext-cols { grid-template-columns: 1fr; } .bigtext-stat-row { gap: 1.2rem; } }

/* ===== VOLUNTEER ===== */
.vol { padding: 4rem 0; background: var(--card); }
.volg { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.voll { display: flex; flex-direction: column; gap: .7rem; }
.vi { background: var(--bg); border: 1px solid rgba(0,0,0,.04); border-radius: var(--r); overflow: hidden; transition: box-shadow .3s; box-shadow: var(--shadow-sm); } .vi.on { box-shadow: var(--shadow); }
.vih { padding: 1rem 1.2rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 700; font-size: .9rem; color: var(--g); transition: background .3s; }
.vih:hover { background: rgba(13,107,58,.03); } .vih svg { width: 16px; height: 16px; transition: transform .3s; color: var(--tl); } .vi.on .vih svg { transform: rotate(180deg); }
.vib { max-height: 0; overflow: hidden; transition: max-height .4s var(--e); } .vi.on .vib { max-height: 180px; }
.vib p { padding: 0 1.2rem 1.1rem; font-size: .82rem; color: var(--tm); line-height: 1.7; }
.voli { overflow: hidden; border-radius: var(--rxl); box-shadow: var(--shadow-lg); } .voli img { width: 100%; height: 400px; object-fit: cover; will-change: transform; }
@media(max-width:900px){ .volg { grid-template-columns: 1fr; } .voli img { height: 280px; } }

/* ===== STORIES + MEDIA + CONTACT ===== */
.str { padding: 3.5rem 0; text-align: center; }
.bp { background: var(--g); color: #fff; padding: .8rem 2rem; border-radius: var(--pill); font-weight: 800; font-size: .78rem; transition: all .4s var(--e); box-shadow: var(--shadow-float); display: inline-flex; align-items: center; gap: .35rem; } .bp:hover { background: var(--y); color: var(--g); transform: translateY(-3px); }
.med { padding: 1.5rem clamp(.8rem,2vw,2rem) 3.5rem; }
.mc { background: var(--g); border-radius: var(--rxl); padding: clamp(2rem,4vw,3.5rem); text-align: center; color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.mc::before { content: ''; position: absolute; inset: 0; opacity: .04; background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff'%3E%3Cpath d='M20 20h20v20H20z' fill-opacity='.04'/%3E%3C/g%3E%3C/svg%3E"); }
.mc > * { position: relative; z-index: 1; } .mc h3 { font-family: var(--fd); font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 700; font-style: italic; margin-bottom: .5rem; }
.mc > p { color: rgba(255,255,255,.6); max-width: 500px; margin: 0 auto 2rem; line-height: 1.7; font-size: .95rem; }
.ur { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 540px; margin: 0 auto 1.8rem; }
.u { background: rgba(255,255,255,.07); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.1); border-radius: var(--rl); padding: 1.3rem; display: flex; flex-direction: column; align-items: center; gap: .4rem; transition: background .3s; } .u:hover { background: rgba(255,255,255,.12); }
.ui { width: 44px; height: 44px; background: var(--y); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform .4s var(--sp); } .u:hover .ui { transform: scale(1.08); } .ui svg { color: var(--g); width: 18px; height: 18px; }
.u h4 { font-weight: 700; font-size: .95rem; } .u p { font-size: .65rem; color: rgba(255,255,255,.4); }
.ul { display: inline-block; background: #fff; color: var(--g); padding: .35rem 1rem; border-radius: var(--pill); font-weight: 700; font-size: .72rem; cursor: pointer; transition: all .3s; } .ul:hover { background: var(--y); } .ul input { display: none; }
.bs { background: var(--y); color: var(--g); padding: .8rem 2.2rem; border-radius: var(--pill); font-weight: 800; font-size: .85rem; display: inline-flex; align-items: center; gap: .35rem; transition: all .4s var(--e); box-shadow: 0 8px 24px rgba(251,191,36,.2); } .bs:hover { background: #fff; transform: translateY(-3px); }
@media(max-width:640px){ .ur { grid-template-columns: 1fr; } }

/* Contact */
.cnt { padding: 4rem 0; text-align: center; background: var(--bg); }
.cf { max-width: 600px; margin: 1.8rem auto 0; text-align: left; }
.fr { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: .8rem; }
.cf input, .cf textarea { width: 100%; padding: 1rem 1.1rem; background: var(--card); border: 2px solid rgba(0,0,0,.04); border-radius: var(--r); font-size: .88rem; color: var(--tx); outline: none; transition: border-color .3s, box-shadow .3s; box-shadow: var(--shadow-sm); }
.cf input:focus, .cf textarea:focus { border-color: var(--g); box-shadow: 0 0 0 3px rgba(13,107,58,.08); }
.cf textarea { resize: vertical; min-height: 120px; margin-bottom: .8rem; }
.bsub { width: 100%; background: var(--g); color: #fff; padding: 1rem; border-radius: var(--r); font-weight: 800; font-size: .9rem; transition: all .4s var(--e); box-shadow: var(--shadow-float); border: none; cursor: pointer; } .bsub:hover { background: var(--y); color: var(--g); }
.fok { display: none; text-align: center; padding: 2rem 0; } .fok.sh { display: block; }
.foki { width: 50px; height: 50px; background: var(--gp); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; } .foki svg { color: var(--g); width: 22px; height: 22px; }
.fok h4 { font-family: var(--fd); font-size: 1.2rem; font-weight: 700; color: var(--g); font-style: italic; margin-bottom: .3rem; } .fok p { color: var(--tm); font-size: .9rem; }
@media(max-width:640px){ .fr { grid-template-columns: 1fr; } }

/* ===== FOOTER ===== */
.ft { background: var(--gd); color: #fff; padding: 3.5rem 0 0; border-radius: var(--rxl) var(--rxl) 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.08); margin-top: -2rem; position: relative; z-index: 1; }
.ftn { text-align: center; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.ftn h3 { font-family: var(--fd); font-size: clamp(1.3rem,2.5vw,1.8rem); font-weight: 700; font-style: italic; margin-bottom: .4rem; }
.ftn p { color: rgba(255,255,255,.45); font-size: .85rem; margin-bottom: 1.2rem; }
.nf { display: flex; max-width: 380px; margin: 0 auto; gap: .4rem; }
.nf input { flex: 1; padding: .7rem 1rem; border-radius: var(--pill); border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); color: #fff; font-size: .82rem; outline: none; } .nf input::placeholder { color: rgba(255,255,255,.3); } .nf input:focus { border-color: var(--y); }
.nf button { background: var(--y); color: var(--g); padding: .7rem 1.4rem; border-radius: var(--pill); font-weight: 800; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; transition: all .3s; white-space: nowrap; border: none; cursor: pointer; } .nf button:hover { background: #fff; }
.ftg { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; padding: 2.5rem 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.ftb h4 { font-size: 1.1rem; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: .5rem; }
.ftb p { font-size: .75rem; color: rgba(255,255,255,.4); line-height: 1.7; max-width: 240px; }
.ft h5 { font-size: .5rem; font-weight: 800; text-transform: uppercase; letter-spacing: .2em; color: var(--y); margin-bottom: 1rem; }
.fl2l { list-style: none; display: flex; flex-direction: column; gap: .4rem; } .fl2l a, .fl2l span { font-size: .78rem; color: rgba(255,255,255,.5); transition: color .3s; cursor: pointer; } .fl2l a:hover, .fl2l span:hover { color: var(--y); }
.fs { display: flex; gap: .5rem; } .fs a { width: 30px; height: 30px; background: rgba(255,255,255,.06); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all .3s; } .fs a:hover { background: var(--y); color: var(--g); } .fs svg { width: 12px; height: 12px; }
.ftm { padding: 1.5rem 0; text-align: center; } .ftm p { font-size: .5rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; color: rgba(255,255,255,.2); }
.ftm a { display: block; margin-top: .5rem; font-size: .5rem; color: rgba(255,255,255,.1); transition: color .3s; } .ftm a:hover { color: var(--y); }
.ft-logo { width: 36px; height: 36px; opacity: .15; margin: 0 auto 1rem; }
@media(max-width:768px){ .ftg { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
@media(max-width:480px){ .ftg { grid-template-columns: 1fr; } .nf { flex-direction: column; } }

/* ===== MODALS ===== */
.ov { position: fixed; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(6px); z-index: 100; opacity: 0; pointer-events: none; transition: opacity .4s; } .ov.on { opacity: 1; pointer-events: all; }
.mo { position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(.94); z-index: 101; width: 92%; max-width: 440px; max-height: 88vh; overflow-y: auto; background: var(--card); border-radius: var(--rxl); box-shadow: 0 30px 80px rgba(0,0,0,.18); opacity: 0; pointer-events: none; transition: all .4s var(--e); } .mo.on { opacity: 1; pointer-events: all; transform: translate(-50%,-50%) scale(1); }
.mh { padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(0,0,0,.04); }
.mh h3 { font-family: var(--fd); font-size: 1.3rem; font-weight: 700; color: var(--g); } .mh p { font-size: .7rem; color: var(--tl); }
.mx { width: 32px; height: 32px; background: rgba(0,0,0,.04); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .3s; border: none; cursor: pointer; } .mx:hover { background: rgba(0,0,0,.08); } .mx svg { width: 15px; height: 15px; color: var(--tm); }
.mb2 { padding: 1.5rem; }
.bm { width: 100%; padding: .9rem; background: var(--g); color: #fff; border-radius: var(--r); font-weight: 800; font-size: .9rem; transition: all .3s; box-shadow: var(--shadow-float); border: none; cursor: pointer; } .bm:hover { background: var(--y); color: var(--g); }
.dok { display: none; text-align: center; padding: 2rem 1.5rem; } .dok.sh { display: block; }
.doki { width: 60px; height: 60px; background: var(--yp); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; } .doki svg { color: var(--y); width: 28px; height: 28px; }
.dok h3 { font-family: var(--fd); font-size: 1.4rem; font-weight: 700; font-style: italic; color: var(--g); margin-bottom: .5rem; } .dok p { color: var(--tm); line-height: 1.7; margin-bottom: 1.5rem; }
.pm { max-width: 520px; } .pmi { width: 100%; height: 220px; object-fit: cover; } .pmb { padding: 1.8rem; text-align: center; } .pmb h3 { font-family: var(--fd); font-size: 1.4rem; font-weight: 700; font-style: italic; color: var(--g); margin-bottom: .7rem; } .pmb p { color: var(--tm); font-size: .9rem; line-height: 1.7; margin-bottom: 1.5rem; }
.smb2 { padding: 1.5rem; } .smb2 h3 { font-family: var(--fd); font-size: 1.4rem; font-weight: 700; font-style: italic; color: var(--g); text-align: center; margin-bottom: 1.1rem; }
.smb2 input, .smb2 textarea { width: 100%; padding: .8rem 1rem; background: rgba(0,0,0,.02); border: 2px solid rgba(0,0,0,.04); border-radius: var(--r); font-size: .85rem; outline: none; margin-bottom: .7rem; transition: border-color .3s; } .smb2 input:focus, .smb2 textarea:focus { border-color: var(--g); } .smb2 textarea { min-height: 100px; resize: vertical; }

/* Cookie + FAB */
.ck { position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%) translateY(150%); z-index: 200; width: 92%; max-width: 640px; background: rgba(255,255,255,.96); backdrop-filter: blur(16px); border: 1px solid rgba(0,0,0,.04); border-radius: var(--rl); padding: 1.1rem 1.5rem; display: flex; align-items: center; gap: 1rem; box-shadow: var(--shadow-lg); transition: all .6s var(--e); opacity: 0; pointer-events: none; } 
.ck.sh { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }
.cki { width: 36px; height: 36px; min-width: 36px; background: var(--yp); border-radius: 50%; display: flex; align-items: center; justify-content: center; } .cki svg { color: var(--g); width: 16px; height: 16px; }
.ckt { font-size: .74rem; color: var(--tm); line-height: 1.6; flex: 1; } .ckt strong { color: var(--g); }
.bck { white-space: nowrap; background: var(--g); color: #fff; padding: .5rem 1.1rem; border-radius: var(--r); font-size: .55rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; transition: all .3s; border: none; cursor: pointer; } .bck:hover { background: var(--y); color: var(--g); }
@media(max-width:640px){ .ck { flex-direction: column; text-align: center; padding: 1rem; } }
.fab { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50; width: 52px; height: 52px; background: var(--g); border: 3px solid #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-float); transition: transform .3s var(--sp); cursor: pointer; } .fab:hover { transform: scale(1.08); } .fab:active { transform: scale(.95); } .fab svg { color: #fff; width: 22px; height: 22px; }
.fab-b { position: absolute; top: -2px; right: -2px; width: 18px; height: 18px; background: var(--y); color: var(--g); border: 2px solid #fff; border-radius: 50%; font-size: .45rem; font-weight: 900; display: flex; align-items: center; justify-content: center; animation: bob 2s ease-in-out infinite; }

/* ===== GALLERY MARQUEE (BENTO) TRACK SETTINGS ===== */
.gallery-marquee-track {
    display: flex;
    width: max-content;
    animation: galScroll 200s linear infinite; /* Considerably slowed down */
}
.gallery-marquee-track:hover { animation-play-state: paused; }

.bento-track {
    display: grid;
    grid-template-rows: repeat(3, 180px);
    grid-auto-columns: 240px;
    grid-auto-flow: column dense;
    gap: 1rem;
    padding-right: 1rem; /* Match the gap for a seamless join */
    width: max-content;
}

.bento-track img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: var(--rl);
    box-shadow: var(--shadow-sm);
    transition: transform .3s;
    background: rgba(0,0,0,0.04);
    display: block;
}

/* Bento varying sizes */
.bento-track img:nth-child(9n + 1) { grid-row: span 2; grid-column: span 2; }
.bento-track img:nth-child(9n + 4) { grid-row: span 2; }
.bento-track img:nth-child(9n + 7) { grid-column: span 2; }

.bento-track img:hover { transform: scale(1.02); box-shadow: var(--shadow); z-index: 10; position: relative; }

@keyframes galScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Exactly half the flex container width */
}

/* ===== MOBILE REFINEMENT ===== */
html, body { max-width: 100%; }

@media(max-width:768px){
    /* Gallery adjustments for mobile */
    .gallery-marquee-sec { padding: 3rem 0 1rem; }
    .gallery-marquee-header { margin-bottom: 1.5rem; }
    .bento-track { grid-template-rows: repeat(3, 110px); grid-auto-columns: 160px; gap: 0.6rem; padding-right: 0.6rem; }
    .gallery-marquee-container::before, .gallery-marquee-container::after { width: 50px; }
    
    /* Top bar social icons */
    .tbr a { width: 24px; height: 24px; }
    .tbr svg { width: 11px; height: 11px; }
    /* Nav brand */
    .nb img { width: 34px; height: 34px; }
    .nb h1 { font-size: .8rem; }
    .nb small { font-size: .42rem; }
    /* Hero */
    .ht { font-size: clamp(1.6rem,7vw,2.4rem); }
    .hs { font-size: .85rem; max-width: 100%; }
    .bh { padding: .7rem 1.4rem; font-size: .72rem; }
    .sc { gap: .5rem; padding: .7rem .8rem; }
    .sci { width: 30px; height: 30px; border-radius: 8px; }
    .sci svg { width: 14px; height: 14px; }
    .scn { font-size: 1rem; }
    .scl { font-size: .55rem; }
    /* Sticky text */
    .sticky-text h2 { font-size: clamp(1.4rem,5vw,2rem); }
    .sticky-text p { font-size: .88rem; }
    /* Founder */
    .fdr { padding: 3rem 0; }
    .fdt { gap: .8rem; }
    .qt { font-size: .88rem; }
    .bt { font-size: .82rem; }
    /* Stacking cards */
    .stack-card { border-radius: var(--rl); }
    .stack-card-text { padding: 1.5rem; gap: .8rem; }
    .stack-card-text h3 { font-size: 1.3rem; }
    .stack-card-text p { font-size: .82rem; }
    /* Scale fill */
    .scale-fill { padding: 2rem 0; }
    .scale-fill-content { padding: 2rem 1.2rem; }
    .scale-fill-content h3 { font-size: clamp(1.4rem,5vw,2rem); }
    /* Bigtext */
    .bigtext { padding: 3rem 0; }
    .bigtext-lead { font-size: clamp(1.3rem,4.5vw,1.8rem); }
    .bigtext-cols p { font-size: .82rem; }
    .bigtext-stat-num { font-size: 1.6rem; }
    .bigtext-stat-label { font-size: .5rem; }
    /* Volunteer */
    .vih { font-size: .82rem; padding: .8rem 1rem; }
    .vib p { font-size: .78rem; }
    /* Media upload */
    .mc { padding: 2rem 1.2rem; border-radius: var(--rl); }
    .mc h3 { font-size: 1.3rem; }
    /* Contact */
    .cnt { padding: 3rem 0; }
    /* Footer socials wrap */
    .fs { flex-wrap: wrap; }
    /* Modals */
    .mo { width: 95%; border-radius: var(--rl); }
    .pm .pmi { height: 180px; }
    .pmb { padding: 1.2rem; }
    .pmb h3 { font-size: 1.2rem; }
    /* Pill */
    .pill { font-size: .5rem; padding: .3rem .8rem; }
    /* Programs header */
    .hscroll-header { top: 1rem; left: 1rem; }
}

@media(max-width:480px){
    .ht { font-size: 1.6rem; }
    .hs { font-size: .8rem; }
    .hb { flex-direction: column; width: 100%; }
    .bh { width: 100%; justify-content: center; }
    .sc { flex: 1 1 100%; }
    .fdi img { height: 240px; }
    .stack-card-img img { min-height: 180px; height: 180px; }
    .stack-card-text { padding: 1.2rem; }
    .stack-card-text h3 { font-size: 1.1rem; }
    .stack-card-text p { font-size: .78rem; }
    .bigtext-lead { font-size: 1.2rem; }
    .bigtext-stat-row { flex-direction: column; gap: 1rem; }
    .scale-fill-content h3 { font-size: 1.3rem; }
    .st { font-size: clamp(1.4rem,5vw,2rem); }
}

/* Footer brand logo + stacked name */
.ftb-logo { width: 40px; height: 40px; object-fit: contain; margin-bottom: .6rem; opacity: .9; }
.ftb-sub { display: block; font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .25em; color: rgba(255,255,255,.4); margin-bottom: .6rem; }
/* ===== MOBILE FOOTER CENTERING FIX ===== */
@media (max-width: 768px) {
    /* Center the grid items text */
    .ftg { 
        text-align: center; 
    }
    /* Center the foundation logo */
    .ftb-logo { 
        margin: 0 auto .6rem; 
    }
    /* Center the small foundation paragraph */
    .ftb p { 
        margin: 0 auto; 
    }
    /* Center the links within the flex column */
    .fl2l { 
        align-items: center; 
    }
    /* Center the social media icons row */
    .fs { 
        justify-content: center; 
    }
}