/* ============================================================
   Nature Impact Foundation — site styles
   Palette + type from Brand Kit 2026.
   Layout language inspired by editorial nonprofit sites
   (full-bleed forest hero, big type, generous white space).
   ============================================================ */

:root {
  --navy: #243550;
  --sky: #4BB8D6;
  --lime: #7DC01E;
  --forest: #2E8B45;
  --teal: #3AADBE;
  --cloud: #F0F7FC;
  --stone: #F4F6F8;
  --ink: #1A2535;

  --white: #ffffff;
  --muted: #5b6b80;
  --line: #e3e9f0;

  --display: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(36, 53, 80, .06);
  --shadow-md: 0 16px 40px rgba(36, 53, 80, .10);
  --shadow-lg: 0 24px 60px rgba(36, 53, 80, .14);
  --header-h: 92px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: calc(var(--header-h) + 10px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--display); color: var(--navy); line-height: 1.12; letter-spacing: -.01em; margin: 0; }
p { margin: 0; }

.container { width: min(100% - 2.6rem, var(--maxw)); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--display); font-weight: 600; font-size: 1rem;
  padding: .9rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  will-change: transform;
}
.btn-sm { padding: .58rem 1.15rem; font-size: .95rem; }
.btn-primary { background: var(--lime); color: #fff; box-shadow: 0 10px 24px rgba(46, 139, 69, .28); }
.btn-primary:hover { background: var(--forest); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(46, 139, 69, .36); }
.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(36, 53, 80, .2); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.btn-on-dark { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn-on-dark:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, .0);
  transition: box-shadow .3s, border-color .3s, background .3s, backdrop-filter .3s;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm); background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; width: min(100% - 2.6rem, var(--maxw)); margin-inline: auto; }

.brand { display: flex; align-items: center; }
/* On the dark hero the transparent logo is inverted to white; on scroll it snaps back to brand colors */
.brand-logo { height: 116px; width: auto; filter: brightness(0) invert(1); transition: filter .35s, height .35s var(--ease); }
.site-header.scrolled .brand-logo { filter: none; height: 96px; }

/* Nav */
.nav-menu { display: flex; align-items: center; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }
.nav-menu a { font-family: var(--display); font-weight: 600; color: #fff; position: relative; font-size: .96rem; transition: color .3s; }
.site-header.scrolled .nav-menu a { color: var(--navy); }
.nav-menu a.btn { color: #fff; }
.nav-menu a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--lime); transition: right .3s var(--ease); }
.nav-menu a:not(.btn):hover::after, .nav-menu a.active::after { right: 0; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.nav-toggle span { height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s, background .3s; }
.site-header.scrolled .nav-toggle span { background: var(--navy); }
.nav-toggle[aria-expanded="true"] span { background: var(--navy); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Eyebrow ---------- */
.eyebrow { font-family: var(--display); font-weight: 600; color: var(--teal); letter-spacing: .22em; text-transform: uppercase; font-size: .8rem; margin-bottom: 1rem; }
.eyebrow-light { color: rgba(255,255,255,.85); }

/* ---------- Hero (full-bleed forest) ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; color: #fff; }
.hero-media { position: absolute; inset: 0; background: url("../assets/hero-forest.jpg") center/cover no-repeat; transform: scale(1.08); will-change: transform; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(20,28,40,.86) 0%, rgba(20,28,40,.55) 45%, rgba(36,53,80,.35) 100%); }
.hero-inner { position: relative; max-width: 760px; padding: calc(var(--header-h) + 3rem) 0 4rem; }
.hero-title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: 1.02; text-shadow: 0 2px 30px rgba(0,0,0,.35); color: #fff; }
.hero-lead { font-size: clamp(1.1rem, 2vw, 1.35rem); color: rgba(255,255,255,.92); margin-top: 1.5rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }

.hero-card { position: absolute; right: clamp(1.3rem, 4vw, 3rem); bottom: clamp(1.3rem, 4vw, 3rem); z-index: 3; width: 270px; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-lg); }
.hero-card-kicker { font-family: var(--display); font-weight: 700; color: var(--forest); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.hero-card-text { color: var(--navy); margin-top: .5rem; font-size: 1.02rem; line-height: 1.4; }
.hero-card-link { display: inline-block; margin-top: .9rem; font-family: var(--display); font-weight: 600; color: var(--teal); }
.hero-card-link:hover { color: var(--forest); }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; z-index: 3; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 4px; animation: cue 1.6s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 60% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-head { max-width: 660px; margin-bottom: 2.8rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-top: .6rem; }
.lead { font-size: 1.15rem; color: var(--muted); margin-top: 1rem; max-width: 60ch; }

/* ---------- Mission statement ---------- */
.statement { text-align: center; padding-top: 6rem; }
.statement .eyebrow { margin-inline: auto; }
.statement-head { font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 800; max-width: 18ch; margin-inline: auto; }
.statement-head em { font-style: normal; color: var(--forest); }
.statement-lead { font-size: 1.2rem; color: var(--muted); max-width: 64ch; margin: 1.6rem auto 0; }

.stats-label { max-width: 980px; margin-top: 3.8rem; margin-bottom: 1.4rem; padding-top: 2.6rem; border-top: 1px solid var(--line); }
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin: 0 auto; max-width: 980px; }
.stat dt { font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.7rem); color: var(--forest); }
.stat dd { margin: .35rem 0 0; color: var(--muted); font-size: .9rem; }
.stat dd.stat-note { margin-top: .4rem; font-size: .72rem; font-style: italic; opacity: .7; }

/* ---------- Focus sticky showcase ---------- */
.focus { padding: 0; }
.focus-sticky-outer { height: 300vh; }
.focus-sticky {
  position: sticky; top: 0; height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  overflow: hidden; background: var(--stone);
}

/* Visual panels (left half) */
.focus-visuals { position: relative; overflow: hidden; }
.fv-panel {
  position: absolute; inset: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(1.06);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.fv-panel.active   { opacity: 1; transform: scale(1); }
.fv-panel.exiting  { opacity: 0; transform: scale(.94); }
.fv-panel[data-area="nature"]    { background: linear-gradient(145deg, #1a5c2e, var(--forest), var(--lime)); }
.fv-panel[data-area="community"] { background: linear-gradient(145deg, #1a4a5c, var(--teal), var(--sky)); }
.fv-panel[data-area="planet"]    { background: linear-gradient(145deg, var(--ink), var(--navy), var(--teal)); }
.fv-num { position: absolute; z-index: 1; top: 2.2rem; left: 2.5rem; font-family: var(--display); font-weight: 800; font-size: .95rem; color: rgba(255,255,255,.55); letter-spacing: .18em; }
.fv-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  border-radius: inherit;
}

/* Text panels (right half) */
.focus-texts { position: relative; overflow: hidden; }
.ft-panel {
  position: absolute; inset: 0; padding: 0 4rem 0 3.5rem;
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0; transform: translateY(36px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.ft-panel.active  { opacity: 1; transform: translateY(0); }
.ft-panel.exiting { opacity: 0; transform: translateY(-36px); }
.ft-panel h3 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin: .5rem 0 1.2rem; }
.ft-panel h3 em { font-style: normal; color: var(--forest); }
.ft-panel p { color: var(--muted); font-size: 1.1rem; max-width: 44ch; line-height: 1.65; }

/* Side navigation dots */
.focus-sidenav { position: absolute; right: 1.6rem; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: .7rem; }
.fsn-item { width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--teal); background: transparent; cursor: pointer; padding: 0; transition: background .35s, transform .35s; }
.fsn-item.active { background: var(--teal); transform: scale(1.4); }
.fsn-item:hover { background: rgba(58,173,190,.45); }
.fsn-hint { font-family: var(--display); font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; margin: .4rem 0 0; }

.card-link { display: inline-block; margin-top: 1.3rem; font-family: var(--display); font-weight: 600; color: var(--teal); font-size: .95rem; transition: color .2s, letter-spacing .2s; }
.card-link:hover { color: var(--forest); letter-spacing: .02em; }

/* ---------- Impact ---------- */
/* ===== Our Approach ===== */
.approach { background: #fff; }
.approach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.approach-step {
  background: var(--stone); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.7rem; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.approach-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.approach-num { display: block; font-family: var(--display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--navy); margin-bottom: .8rem; }
.approach-title { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--navy); margin: 0 0 .55rem; }
.approach-desc { color: var(--muted); font-size: .94rem; line-height: 1.6; margin: 0; }
@media (max-width: 900px) {
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
}

.impact { background: #fff; }
.bigstat { display: grid; grid-template-columns: minmax(0, 0.9fr) 1.1fr; gap: 2.5rem; align-items: center; padding-bottom: 4rem; margin-bottom: 4rem; border-bottom: 1px solid var(--line); }
.bigstat-num { font-family: var(--display); font-weight: 900; font-size: clamp(4rem, 13vw, 9rem); line-height: .9; color: var(--forest); letter-spacing: -.03em; }
.bigstat-body h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.bigstat-body p { color: var(--muted); margin-top: 1rem; font-size: 1.1rem; }
.impact-subhead { margin-bottom: 2.4rem; }

.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2rem; }
.data-card { background: var(--stone); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.data-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.data-card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.data-card-head h3 { font-size: 1.05rem; color: var(--navy); }
.data-icon { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.data-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--teal); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.data-figure { font-family: var(--display); font-weight: 800; font-size: 2.6rem; color: var(--forest); margin-top: 1rem; line-height: 1; }
.data-label { color: var(--muted); font-size: .92rem; margin-top: .4rem; min-height: 2.6em; }

.barchart { margin-top: 1.4rem; display: grid; gap: .7rem; }
.bar-row { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: .7rem; font-size: .82rem; }
.bar-year { color: var(--muted); font-weight: 600; }
.bar-track { background: rgba(36,53,80,.08); border-radius: 999px; height: 12px; overflow: hidden; }
.bar-fill { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--forest); transition: width 1.2s var(--ease); }
.bar-accent { background: linear-gradient(90deg, var(--lime), var(--forest)); }
.bar-blue { background: var(--sky); }
.bar-blue-strong { background: linear-gradient(90deg, var(--sky), var(--teal)); }
.bar-val { font-weight: 600; color: var(--navy); }
.data-foot { margin-top: 1.2rem; font-weight: 600; font-size: .9rem; font-family: var(--display); }
.up { color: var(--forest); }

.donut-wrap { display: flex; align-items: center; gap: 1.3rem; margin-top: 1.3rem; }
.donut { width: 120px; height: 120px; transform: rotate(-90deg); }
.donut-hole { fill: none; stroke: rgba(36,53,80,.07); stroke-width: 4.5; }
.donut-seg { fill: none; stroke-width: 4.5; stroke-linecap: butt; stroke-dasharray: 0 100; transition: stroke-dasharray 1.1s var(--ease); }
.seg-forest { stroke: var(--forest); } .seg-wetland { stroke: var(--teal); } .seg-ocean { stroke: var(--sky); } .seg-grassland { stroke: var(--lime); }
.donut-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .86rem; }
.donut-legend li { display: flex; align-items: center; gap: .5rem; color: var(--muted); }
.donut-legend b { color: var(--navy); margin-left: auto; }
.dot { width: 11px; height: 11px; border-radius: 3px; }
.dot-forest { background: var(--forest); } .dot-wetland { background: var(--teal); } .dot-ocean { background: var(--sky); } .dot-grassland { background: var(--lime); }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.impact-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.impact-table th, .impact-table td { text-align: left; padding: 1rem 1.3rem; }
.impact-table thead th { background: var(--navy); color: #fff; font-family: var(--display); font-weight: 600; font-size: .9rem; }
.impact-table tbody tr { border-top: 1px solid var(--line); transition: background .2s; }
.impact-table tbody tr:hover { background: var(--cloud); }
.impact-table td { font-size: .96rem; }
.impact-table td.up { font-weight: 700; font-family: var(--display); }

/* ---------- Board / About us ---------- */
.board { background: var(--white); }

/* Executive row — two prominent cards, centered */
.board-leadership { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; max-width: 720px; margin: 0 auto 3.5rem; }

/* Director row — four portrait cards */
.board-directors-head { margin-bottom: 1.5rem; }
.board-directors-head .eyebrow { margin-bottom: 0; }
.board-directors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* Shared card base — vertical: photo on top, info, LinkedIn at bottom */
.board-card {
  background: var(--stone); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.board-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

/* Photo / placeholder area — large square at the top of the card */
.board-photo {
  width: 100%; aspect-ratio: 1 / 1; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.board-img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.board-photo[data-tone="navy"]   { background: linear-gradient(135deg, var(--navy), #3a5a80); }
.board-photo[data-tone="teal"]   { background: linear-gradient(135deg, var(--teal), var(--sky)); }
.board-photo[data-tone="forest"] { background: linear-gradient(135deg, var(--forest), #4db86a); }
.board-photo[data-tone="sky"]    { background: linear-gradient(135deg, var(--sky), var(--teal)); }
.board-photo[data-tone="lime"]   { background: linear-gradient(135deg, var(--lime), var(--forest)); }
.board-silhouette {
  width: 38%; height: 38%; fill: none;
  stroke: rgba(255,255,255,.9); stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
}

.board-info { padding: 1.5rem; flex: 1; }
.board-role { font-family: var(--display); font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin: 0 0 .35rem; }
.board-name { font-size: 1.2rem; color: var(--navy); margin: 0 0 .6rem; }
.board-bio { color: var(--muted); font-size: .92rem; line-height: 1.55; margin: 0; }

/* LinkedIn link, pinned to the bottom-left of the card */
.board-linkedin {
  align-self: flex-start; display: inline-flex; line-height: 0;
  margin: 0 1.5rem 1.4rem; border-radius: 5px;
  transition: transform .2s var(--ease), opacity .2s;
}
.board-linkedin svg { width: 30px; height: 30px; fill: #0A66C2; display: block; }
.board-linkedin:hover { transform: translateY(-2px); opacity: .82; }

/* Exec cards: slightly larger name */
.board-exec .board-name { font-size: 1.35rem; }

/* Responsive */
@media (max-width: 980px) {
  .board-leadership { max-width: 500px; }
  .board-directors  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .board-leadership { grid-template-columns: 1fr; max-width: 340px; }
  .board-directors  { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }
}

/* ---------- What we protect (editorial list) ---------- */
.protect { background: var(--cloud); }
.protect-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.protect-card {
  background: var(--stone); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.7rem; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.protect-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.protect-card h3 { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--navy); margin: 0 0 .55rem; }
.protect-card p { color: var(--muted); font-size: .94rem; line-height: 1.6; margin: 0; }
@media (max-width: 900px) {
  .protect-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Solution band (forest) ---------- */
.solution { position: relative; overflow: hidden; color: #fff; padding: 7rem 0; }
.solution-media { position: absolute; inset: 0; background: url("../assets/forest-band.jpg") center/cover no-repeat; }
.solution-scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,28,40,.82), rgba(36,53,80,.45)); }
.solution-inner { position: relative; max-width: 560px; }
.solution-inner h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
.solution-inner p { color: rgba(255,255,255,.9); margin: 1.1rem 0 2rem; font-size: 1.15rem; }

/* ---------- Get involved cards ---------- */
.involved { background: #fff; }
.involved-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.involved-card { display: flex; flex-direction: column; background: var(--stone); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.involved-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.involved-media { height: 130px; display: flex; align-items: center; justify-content: center; }
.involved-card[data-tone="green"] .involved-media { background: linear-gradient(135deg, var(--forest), var(--lime)); }
.involved-card[data-tone="teal"] .involved-media { background: linear-gradient(135deg, var(--teal), var(--sky)); }
.involved-card[data-tone="navy"] .involved-media { background: linear-gradient(135deg, var(--navy), var(--teal)); }
.involved-media svg { width: 46px; height: 46px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.involved-text { padding: 1.7rem; }
.involved-text h3 { font-size: 1.3rem; }
.involved-text p { color: var(--muted); margin-top: .5rem; font-size: .96rem; }

/* ---------- CTA / newsletter ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--forest), var(--teal)); color: #fff; padding: 5.5rem 0; }
.cta-bg { position: absolute; inset: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(8px); }
.blob-4 { width: 360px; height: 360px; background: radial-gradient(circle at 30% 30%, rgba(125,192,30,.6), transparent 70%); top: -120px; left: -60px; }
.blob-5 { width: 320px; height: 320px; background: radial-gradient(circle at 30% 30%, rgba(75,184,214,.55), transparent 70%); bottom: -120px; right: -40px; }
.cta-inner { position: relative; max-width: 620px; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.7rem); }
.cta-inner > p { color: rgba(255,255,255,.92); margin-top: 1rem; font-size: 1.1rem; }
.cta-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-family: var(--display); font-weight: 600; font-size: .85rem; color: rgba(255,255,255,.9); }
.field input, .field textarea { font-family: var(--body); font-size: 1rem; padding: .85rem 1rem; border-radius: var(--radius-sm); border: 1.5px solid rgba(255,255,255,.4); background: rgba(255,255,255,.94); color: var(--ink); transition: border-color .2s, box-shadow .2s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
.cta-form .btn { grid-column: 1 / -1; justify-self: start; background: var(--navy); box-shadow: 0 10px 24px rgba(26,37,53,.3); }
.cta-form .btn:hover { background: var(--ink); }
.form-status { grid-column: 1 / -1; font-weight: 600; font-family: var(--display); min-height: 1.2em; }

/* ---------- Big footer links ---------- */
.biglinks { background: var(--navy); padding: 3.5rem 0; }
.biglinks .container { display: grid; gap: .2rem; }
.biglink { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 7vw, 4.5rem); color: rgba(255,255,255,.32); line-height: 1.18; letter-spacing: -.02em; transition: color .3s, padding-left .35s var(--ease); width: max-content; max-width: 100%; }
.biglink:hover { color: #fff; padding-left: .8rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 3rem 0; }
.footer-logo { height: 46px; width: auto; filter: brightness(0) invert(1); }
.footer-tag { font-size: .82rem; letter-spacing: .12em; color: var(--sky); }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-col-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 1.25rem;
}
.footer-address {
  font-size: 14px;
  line-height: 1.9;
  opacity: 0.75;
  margin-top: 1.25rem;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-nav a {
  font-size: 14px;
  opacity: 0.75;
  text-decoration: none;
}
.footer-nav a:hover {
  opacity: 1;
}
.footer-cta-text {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.75;
  margin-bottom: 1.25rem;
}
.footer-cta-link {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.9;
}
.footer-cta-link:hover {
  opacity: 1;
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-bottom p {
  font-size: 12px;
  opacity: 0.5;
  margin: 0;
}
@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ---------- Intro splash ---------- */
.splash {
  position: fixed; inset: 0; z-index: 500;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 1s cubic-bezier(.4, 0, .2, 1);
  pointer-events: all;
}
.splash.fade-out { opacity: 0; pointer-events: none; }
.splash.gone { display: none; }
.splash-inner {
  display: flex; flex-direction: column; align-items: center; gap: 1.2rem;
  animation: splashIn .9s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes splashIn {
  from { opacity: 0; transform: scale(.9) translateY(24px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.splash-logo { width: min(280px, 60vw); height: auto; }
.splash-name { font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 4vw, 2.2rem); color: var(--ink); letter-spacing: .03em; text-align: center; margin: 0; }
.splash-tag  { font-family: var(--display); font-weight: 600; font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: var(--teal); margin: 0; }

/* ---------- Page scroll-progress bar ---------- */
.page-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200;
  background: linear-gradient(90deg, var(--lime), var(--teal));
  transition: width .08s linear;
  pointer-events: none;
}

/* ---------- Word reveal ---------- */
.statement-head .w {
  display: inline;
  opacity: .12;
  transition: opacity .5s ease;
}

/* ---------- Hero parallax (JS drives transform) ---------- */
.hero-media { will-change: transform; }
.hero-inner { will-change: transform, opacity; }
.hero-card  { will-change: opacity; }

/* ---------- Solution parallax ---------- */
.solution-media { transform: scale(1.15); will-change: transform; }

/* ---------- Focus responsive ---------- */
@media (max-width: 860px) {
  .focus-sticky { grid-template-columns: 1fr; }
  .focus-visuals { height: 46vh; position: relative; }
  .focus-texts { min-height: 54vh; }
  .ft-panel { padding: 2.5rem 2rem; justify-content: flex-start; padding-top: 3rem; }
  .focus-sidenav { right: .8rem; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media, .scroll-cue span { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .focus-row { grid-template-columns: 1fr; }
  .focus-visual { min-height: 150px; }
  .impact-grid, .involved-grid { grid-template-columns: 1fr; }
  .bigstat { grid-template-columns: 1fr; gap: 1.2rem; text-align: left; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; padding: .5rem 1.3rem 1.3rem; box-shadow: var(--shadow-md); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .nav-menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-menu li { width: 100%; }
  .nav-menu a:not(.btn) { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); width: 100%; color: var(--navy); }
  .nav-menu a:not(.btn)::after { display: none; }
  .nav-cta-item { margin-top: .8rem; }
  .nav-cta-item .btn { width: 100%; }
  .hero { min-height: 88vh; }
  .section { padding: 4rem 0; }
  .cta-form { grid-template-columns: 1fr; }
}
