:root {
 --bg: #ffffff;
 --text: #0b1220;
 --muted: #6b7280;
 --muted2: #9aa4b2;
 --line: #e8edf3;


 --navy: #0b1626;
 --navy2: #0a1423;


 --teal: #ff5757;
 --teal2: #ff5757;


 /* Swap these to match your exact screenshot images */
 --hero-img: url("https://images.unsplash.com/photo-1541976844346-f18aeac57b06?auto=format&fit=crop&w=2400&q=80");
 --purpose-img: url("https://images.unsplash.com/photo-1541692641319-981cc79ee10a?auto=format&fit=crop&w=1400&q=80");
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
 background: var(--bg);
 color: var(--text);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 56px)); margin: 0 auto; }


/* ---------- Subtle global motion ---------- */
@media (prefers-reduced-motion: reduce) {
 * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}


/* ---------- NAV ---------- */
.nav {
 position: fixed;
 inset: 0 0 auto 0;
 z-index: 50;
 padding: 18px 0;
 transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
 background: transparent;
}
.nav.scrolled {
 background: rgba(255,255,255,.92);
 backdrop-filter: saturate(180%) blur(10px);
 box-shadow: 0 8px 30px rgba(11,18,32,.06);
 padding: 14px 0;
}
.nav-inner {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .2px; }
.brand .word { font-size: 18px; line-height: 1; }
.brand .smart { color: var(--teal); font-weight: 900; }


.nav-links {
 display: flex;
 align-items: center;
 gap: 28px;
 font-size: 14px;
 color: rgba(255,255,255,.88);
 font-weight: 600;
}
.nav.scrolled .nav-links { color: rgba(11,18,32,.70); }
.nav-links a { padding: 8px 2px; transition: opacity .2s ease; }
.nav-links a:hover { opacity: .85; }


.donate {
 padding: 10px 18px;
 border-radius: 999px;
 font-size: 14px;
 font-weight: 700;
 border: 1px solid rgba(255,255,255,.28);
 background: rgba(255,255,255,.12);
 color: #fff;
 transition: transform .15s ease, background .15s ease, border-color .15s ease;
 white-space: nowrap;
}
.nav.scrolled .donate {
 background: #0b1220;
 border-color: #0b1220;
 color: #fff;
}
.donate:hover { transform: translateY(-1px); }
.donate:active { transform: translateY(0); }


/* ---------- HERO ---------- */
.hero {
 min-height: 92vh;
 background-image: var(--hero-img);
 background-size: cover;
 background-position: center;
 position: relative;
 display: flex;
 align-items: center;
 overflow: hidden;
}
.hero::before {
 content: "";
 position: absolute;
 inset: 0;
 background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.58) 45%, rgba(0,0,0,.62) 100%);
}
/* tiny grain to make it feel richer */
.hero::after {
 content: "";
 position: absolute;
 inset: 0;
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
 opacity: .18;
 mix-blend-mode: overlay;
 pointer-events: none;
}


.hero-content {
 position: relative;
 width: 100%;
 padding: 140px 0 92px; /* more breathing room */
 text-align: center;
 color: #fff;
}
.hero-kicker {
 display: inline-block;
 font-size: 12px;
 letter-spacing: .36em;
 text-transform: uppercase;
 color: var(--teal);
 font-weight: 800;
 margin-bottom: 18px;
 transform: translateY(10px);
 opacity: 0;
 animation: fadeUp .8s ease forwards .05s;
}


.hero-title {
 margin: 0 auto 18px;
 line-height: 1.02;
 font-weight: 900;
 font-size: clamp(42px, 5.2vw, 72px);
 max-width: 920px;
 transform: translateY(14px);
 opacity: 0;
 animation: fadeUp .9s ease forwards .12s;
}
.hero-title .white { color: #fff; }
.hero-title .teal { color: var(--teal); }


.hero-sub {
 margin: 0 auto 34px; /* more space */
 max-width: 800px;
 font-size: 16px;
 line-height: 1.8;
 color: rgba(255,255,255,.72);
 transform: translateY(14px);
 opacity: 0;
 animation: fadeUp .9s ease forwards .2s;
}
.hero-cta {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 10px;
 border-radius: 999px;
 padding: 14px 26px;
 background: var(--teal);
 color: #fff;
 font-weight: 900;
 border: 1px solid rgba(255,255,255,.12);
 box-shadow: 0 18px 50px rgba(0,0,0,.35);
 transition: transform .18s ease, filter .18s ease;
 transform: translateY(14px);
 opacity: 0;
 animation: fadeUp .9s ease forwards .28s;
}
.hero-cta:hover { transform: translateY(-1px); filter: brightness(1.03); }
.hero-cta:active { transform: translateY(0); }


/* ---------- STATS ---------- */
.stats { position: relative; margin-top: -44px; }
.stats-bar {
 background: rgba(0,0,0,.55);
 backdrop-filter: blur(10px);
 border-top: 1px solid rgba(255,255,255,.08);
 border-bottom: 1px solid rgba(255,255,255,.08);
 padding: 28px 0;
}
.stats-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 22px;
 text-align: center;
 color: #fff;
}
.stat-num {
 font-size: 44px;
 font-weight: 900;
 letter-spacing: .02em;
 margin: 0;
 line-height: 1;
}
.stat-label {
 margin: 10px 0 0;
 font-size: 12px;
 letter-spacing: .18em;
 text-transform: uppercase;
 color: rgba(255,255,255,.62);
 font-weight: 700;
}


/* ---------- SECTIONS ---------- */
.section {
 padding: 110px 0; /* more spacing */
}
.section .eyebrow {
 font-size: 12px;
 letter-spacing: .34em;
 text-transform: uppercase;
 color: var(--teal);
 font-weight: 900;
 margin: 0 0 10px;
}
.section h2 {
 margin: 0 0 14px;
 font-size: 44px;
 line-height: 1.1;
 letter-spacing: -.02em;
}
.underline {
 width: 44px;
 height: 3px;
 background: var(--teal2);
 border-radius: 999px;
 margin: 12px 0 28px;
}


/* Reveal utility */
.reveal {
 opacity: 0;
 transform: translateY(18px);
 transition: opacity .7s ease, transform .7s ease;
}
.reveal.in {
 opacity: 1;
 transform: none;
}


/* ---------- PURPOSE ---------- */
.purpose-wrap {
 display: grid;
 grid-template-columns: 1.05fr .95fr;
 gap: 64px;
 align-items: center;
}
.purpose-img {
 border-radius: 22px;
 overflow: hidden;
 box-shadow: 0 18px 60px rgba(11,18,32,.12);
 width: 100%;
 aspect-ratio: 4 / 3;
 background-image: var(--purpose-img);
 background-size: cover;
 background-position: center;
 position: relative;
}
.purpose-img::after {
 content: "";
 position: absolute; inset: 0;
 box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
 pointer-events: none;
}
.prose {
 color: var(--muted);
 font-size: 16px;
 line-height: 1.95;
}
.prose p { margin: 0 0 18px; }
.prose strong { color: var(--text); }


/* ---------- TEAM ---------- */
.center-head { text-align: center; margin-bottom: 52px; }
.center-head .underline { margin: 12px auto 0; }


.subcap {
 font-size: 12px;
 letter-spacing: .34em;
 text-transform: uppercase;
 color: rgba(11,18,32,.35);
 font-weight: 900;
 margin: 26px 0 14px;
 text-align: center;
}


.team-grid {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 40px;
 justify-items: center;
 margin-top: 30px;
}
.team-grid.ops {
 grid-template-columns: repeat(3, 1fr);
 margin-top: 28px;
}


.person { text-align: center; width: 100%; max-width: 220px; }
.avatar {
 width: 96px; height: 96px;
 border-radius: 999px;
 margin: 0 auto 14px;
 background: #e9eef5;
 overflow: hidden;
 box-shadow: 0 12px 30px rgba(11,18,32,.10);
 transition: transform .25s ease;
}
.person:hover .avatar { transform: translateY(-3px); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }


.person .name { font-weight: 900; margin: 0; font-size: 14px; letter-spacing: .01em; }
.person .role { margin: 6px 0 0; font-size: 13px; color: rgba(11,18,32,.45); font-weight: 600; }


/* Custom team grid counts */
.team-grid.board-3 { grid-template-columns: repeat(3, 1fr); }


.team-grid.ops-5 {
 grid-template-columns: repeat(6, 1fr);
 gap: 34px;
}


.team-grid.fund-6 {
 grid-template-columns: repeat(5, 1fr);
 gap: 28px;
}


/* Responsive adjustments */
@media (max-width: 1100px) {
 .team-grid.ops-5 { grid-template-columns: repeat(3, 1fr); }
 .team-grid.fund-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
 .team-grid.board-3 { grid-template-columns: repeat(2, 1fr); }
 .team-grid.ops-5 { grid-template-columns: repeat(2, 1fr); }
 .team-grid.fund-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
 .team-grid.board-3,
 .team-grid.ops-5,
 .team-grid.fund-6 { grid-template-columns: 1fr; }
}


/* ---------- GET INVOLVED ---------- */
.involved-cards {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 28px;
 margin-top: 34px;
}
.card {
 border: 1px solid #edf2f7;
 border-radius: 18px;
 padding: 28px 24px;
 box-shadow: 0 10px 40px rgba(11,18,32,.06);
 background: #fff;
 text-align: center;
 transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover {
 transform: translateY(-4px);
 box-shadow: 0 18px 60px rgba(11,18,32,.10);
}
.icon-pill {
 width: 48px; height: 48px;
 border-radius: 14px;
 margin: 0 auto 14px;
 display: grid;
 place-items: center;
 background: rgba(255,87,87,.10);
 border: 1px solid rgba(255,87,87,.25);
}
.card h3 { margin: 10px 0 8px; font-size: 16px; font-weight: 900; }
.card p { margin: 0; color: rgba(11,18,32,.50); line-height: 1.75; font-size: 13px; }


.connect {
 text-align: center;
 padding-top: 72px;
}
.connect h3 {
 font-size: 34px;
 margin: 0 0 10px;
 letter-spacing: -.02em;
 font-weight: 900;
}
.connect p {
 margin: 0 auto 30px;
 max-width: 720px;
 color: rgba(11,18,32,.55);
 line-height: 1.95;
}
.contact-box {
 width: min(520px, 100%);
 margin: 0 auto;
 border: 1px solid #edf2f7;
 border-radius: 18px;
 padding: 22px 22px;
 background: #fff;
 box-shadow: 0 10px 40px rgba(11,18,32,.06);
 text-align: center;
}
.contact-box .small {
 font-size: 12px;
 letter-spacing: .22em;
 text-transform: uppercase;
 color: rgba(11,18,32,.35);
 font-weight: 900;
 margin-bottom: 10px;
}
.contact-box .email {
 font-weight: 900;
 font-size: 22px;
 letter-spacing: -.01em;
}


/* ---------- FOOTER ---------- */
footer {
 background: linear-gradient(180deg, #ff5757 0%, #e64545 100%);
 color: rgba(255,255,255,.85);
 padding: 58px 0 28px;
 margin-top: 30px;
}
.foot-grid {
 display: grid;
 grid-template-columns: 1.4fr 1fr 1fr;
 gap: 40px;
 align-items: start;
}
.foot-brand {
 font-weight: 900;
 font-size: 20px;
 margin: 0 0 12px;
 color: #fff;
}
.foot-brand .smart { color: var(--teal); }
.foot p {
 margin: 0;
 color: rgba(255,255,255,.55);
 line-height: 1.85;
 max-width: 420px;
}
.foot h4 {
 margin: 0 0 14px;
 color: rgba(255,255,255,.85);
 font-size: 13px;
 letter-spacing: .18em;
 text-transform: uppercase;
 font-weight: 900;
}
.foot a {
 display: block;
 padding: 8px 0;
 color: rgba(255,255,255,.62);
 font-weight: 600;
 font-size: 14px;
}
.foot a:hover { color: rgba(255,255,255,.85); }
.socials { display: flex; gap: 12px; margin-top: 14px; }
.soc {
 width: 36px; height: 36px;
 border-radius: 999px;
 display: grid;
 place-items: center;
 background: rgba(255,255,255,.08);
 border: 1px solid rgba(255,255,255,.08);
 color: rgba(255,255,255,.75);
 font-weight: 900;
 font-size: 12px;
 transition: transform .2s ease;
}
.soc:hover { transform: translateY(-2px); }


.foot-divider { margin: 36px 0 18px; height: 1px; background: rgba(255,255,255,.10); }
.foot-bottom {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 18px;
 color: rgba(255,255,255,.45);
 font-size: 13px;
}
.heart { color: var(--teal); font-weight: 900; }


/* ---------- Responsive ---------- */
@media (max-width: 980px) {
 .nav-links { display: none; }
 .purpose-wrap { grid-template-columns: 1fr; gap: 30px; }
 .team-grid { grid-template-columns: repeat(2, 1fr); }
 .team-grid.ops { grid-template-columns: repeat(2, 1fr); }
 .involved-cards { grid-template-columns: 1fr; }
 .foot-grid { grid-template-columns: 1fr; gap: 26px; }
 .stats-grid { grid-template-columns: 1fr; gap: 16px; }
 .stats { margin-top: -22px; }
 .section { padding: 92px 0; }
}
@media (max-width: 520px) {
 .container { width: calc(100% - 28px); }
 .team-grid { grid-template-columns: 1fr; }
 .team-grid.ops { grid-template-columns: 1fr; }
 .stat-num { font-size: 38px; }
}


@keyframes fadeUp {
 from { opacity: 0; transform: translateY(16px); }
 to { opacity: 1; transform: none; }
}