/* ==========================================================================
   ELDERTECH — STYLESHEET
   --------------------------------------------------------------------------
   1. Design tokens (colors, fonts, spacing) — edit these to re-theme
   2. Base (reset, typography, accessibility)
   3. Layout helpers (container, sections, grids)
   4. Header, navigation & footer
   5. Components (eyebrow, buttons, cards, photos, CTA band)
   6. Home
   7. About & Team
   8. Impact
   9. Chapters (map, chapter cards, start-a-chapter)
   10. Partners (marquees)
   11. Contact
   12. Motion (reveals) & reduced motion
   13. Responsive
   ========================================================================== */


/* 1. DESIGN TOKENS ------------------------------------------------------- */
/* Greens are sampled from the ElderTech logo.                              */

:root {
  --green:        #2a9d38;   /* brand green (decoration, highlights) */
  --green-bright: #3cb54a;   /* green on dark backgrounds (7:1 on black) */
  --green-deep:   #1b7a2e;   /* buttons & green sections (white text 5.4:1) */
  --green-hover:  #166626;
  --green-ink:    #17692a;   /* green text on light backgrounds */
  --green-tint:   #e3f0e1;

  /* Black sampled from the logo background so the emblem blends in */
  --black:        #0c100d;
  --black-2:      #141a16;   /* cards on black */
  --black-3:      #252e28;   /* borders on black */

  --ink:          #0c100d;   /* headings */
  --text:         #1c231f;   /* body */
  --muted:        #56615a;   /* secondary text (5.9:1 on --paper) */
  --paper:        #f5f7f3;   /* page background — soft, not stark white */
  --paper-2:      #eaf0e7;   /* tinted sections */
  --card:         #ffffff;
  --line:         #dde5da;
  --on-dark:      #eef3ef;
  --on-dark-muted:#a3aea6;

  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body:    "DM Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --container:    1200px;
  --gutter:       24px;
  --radius:       18px;
  --radius-lg:    26px;
  --radius-xl:    34px;
  --shadow:       0 22px 44px -22px rgba(12, 16, 13, 0.32);
  --shadow-lg:    0 30px 60px -24px rgba(0, 0, 0, 0.55);
  --ease:         cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h:     76px;

  /* Glow used behind dark hero sections */
  --hero-glow:
    radial-gradient(900px 520px at 88% -10%, rgba(42, 157, 56, 0.38), transparent 62%),
    radial-gradient(700px 420px at -8% 115%, rgba(42, 157, 56, 0.16), transparent 60%);
}


/* 2. BASE ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
/* "Larger text" toggle in the nav */
html.text-lg { font-size: 115%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;            /* 18px — comfortable for older readers */
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--green-bright); color: var(--black); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.75rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 700; letter-spacing: -0.03em; }
h3 { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--green-ink); text-underline-offset: 0.18em; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--green-bright);
  color: var(--black);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}


/* 3. LAYOUT HELPERS ------------------------------------------------------ */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section        { position: relative; padding: clamp(72px, 9vw, 120px) 0; }
.section--tint  { background: var(--paper-2); }
.section--white { background: #fff; }
.section--black { background: var(--black); color: var(--on-dark); }
.section--black h2, .section--black h3 { color: #fff; }
.section--green {
  overflow: hidden;
  background: linear-gradient(135deg, #145c23 0%, var(--green-deep) 45%, #229036 100%);
  color: #fff;
}
.section--green h2, .section--green h3 { color: #fff; }
/* Faint rings, echoing the circular logo badge */
.section--green::before {
  content: "";
  position: absolute;
  top: -260px; right: -220px;
  width: 640px; height: 640px;
  border-radius: 50%;
  border: 70px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025);
  pointer-events: none;
}
.section--flush-top { padding-top: 0; }
.section--map { padding-top: clamp(40px, 5vw, 64px); }

/* Soft green glow in a corner of a light section */
.section--glow { overflow: hidden; }
.section--glow::before {
  content: "";
  position: absolute;
  top: -260px; right: -220px;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 157, 56, 0.14), transparent 68%);
  pointer-events: none;
}
.section > .container { position: relative; }

.section-intro { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-intro--center { margin-left: auto; margin-right: auto; text-align: center; }

/* Heading on the left, a link on the right */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px 40px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head .section-intro { margin-bottom: 0; }
.section-head .section-intro h2 { margin-bottom: 0; }

.lede {
  font-size: clamp(1.15rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  color: var(--muted);
}
.section--black .lede { color: var(--on-dark-muted); }
.section--green .lede { color: rgba(255, 255, 255, 0.86); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* Dark contexts: buttons switch to the brighter green with black text */
.site-header, .hero, .page-hero, .section--black, .cta-band {
  --btn-bg: var(--green-bright);
  --btn-fg: var(--black);
  --btn-hover: #52c25f;
}


/* 4. HEADER, NAVIGATION & FOOTER ----------------------------------------- */
/* Header sizes are in px so the "Larger text" toggle never breaks the nav. */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  color: var(--on-dark);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.55); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  border-radius: 999px;
}
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -0.02em;
  color: #fff;
}
.brand-name span { color: var(--green-bright); }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > a,
.nav-parent {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: #c8d1cb;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.main-nav > a:hover, .nav-parent:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.main-nav > a.is-active, .nav-parent.is-active { color: var(--green-bright); }
.main-nav > a.is-active::after,
.nav-parent.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green-bright);
  transform: translateX(-50%);
}
.nav-parent svg { width: 15px; height: 15px; transition: transform 0.2s ease; }

/* About dropdown */
.nav-item { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 10;
  min-width: 210px;
  padding: 8px;
  border: 1px solid var(--black-3);
  border-radius: 16px;
  background: var(--black-2);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
.dropdown a {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  color: #dfe6e1;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.dropdown a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.dropdown a.is-active { color: var(--green-bright); }
.nav-item.is-open .dropdown,
.nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-item.is-open .nav-parent svg { transform: rotate(180deg); }
@media (hover: hover) {
  .nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .nav-item:hover .nav-parent svg { transform: rotate(180deg); }
}

.nav-tools { display: flex; align-items: center; gap: 10px; margin-left: 14px; }

.text-size-toggle {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.24);
  background: transparent;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.text-size-toggle:hover { border-color: var(--green-bright); }
.text-size-toggle .ts-small { font-size: 13px; }
.text-size-toggle .ts-large { font-size: 19px; }
.text-size-toggle .ts-label {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.text-size-toggle[aria-pressed="true"] { background: var(--green-bright); border-color: var(--green-bright); color: var(--black); }

.nav-cta.btn { font-size: 15px; padding: 11px 20px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 0 11px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: none;
  cursor: pointer;
}
.nav-toggle span {
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 3px;
  z-index: 110;
  background: var(--green-bright);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* Footer */
.site-footer {
  background: var(--black);
  color: var(--on-dark-muted);
  padding: clamp(64px, 8vw, 96px) 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.site-footer .brand img { width: 52px; height: 52px; }
.site-footer .brand-name { font-size: 26px; }
.footer-tagline { max-width: 340px; margin-top: 18px; }
.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin: 6px 0 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a { color: var(--on-dark); text-decoration: none; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--green-bright); }
.footer-connect a { display: inline-flex; align-items: center; gap: 10px; }
.footer-connect svg { width: 18px; height: 18px; flex: none; }

.footer-statement {
  margin: clamp(48px, 7vw, 80px) 0 0;
  padding: 36px 0;
  border-top: 1px solid var(--black-3);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
}
.br-mobile { display: none; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--black-3);
  font-size: 0.9rem;
}


/* 5. COMPONENTS ---------------------------------------------------------- */

/* Small mono label above headings */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-ink);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--green);
  flex: none;
}
.hero .eyebrow, .page-hero .eyebrow, .section--black .eyebrow, .cta-band .eyebrow { color: var(--green-bright); }
.hero .eyebrow::before, .page-hero .eyebrow::before, .section--black .eyebrow::before, .cta-band .eyebrow::before { background: var(--green-bright); }
.section--green .eyebrow { color: #fff; }
.section--green .eyebrow::before { background: #fff; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn:disabled { cursor: progress; opacity: 0.85; }

.btn--green { background: var(--btn-bg, var(--green-deep)); color: var(--btn-fg, #fff); }
.btn--green:hover { background: var(--btn-hover, var(--green-hover)); }
.btn--dark { background: var(--black); color: #fff; }
.btn--dark:hover { background: #26302a; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.3); color: #fff; background: transparent; }
.btn--ghost:hover { border-color: var(--green-bright); color: var(--green-bright); }
.btn--light { background: #fff; color: var(--black); }
.btn--light:hover { background: var(--green-tint); }

/* Sending spinner */
.btn.is-loading svg { display: none; }
.btn.is-loading::before {
  content: "";
  width: 16px; height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--green);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.text-link svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 36px);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #b9dcb9; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 1.02rem; }

.icon-box {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 24px;
  border-radius: 15px;
  background: var(--green-tint);
  color: var(--green-ink);
  transition: background 0.3s ease, color 0.3s ease;
}
.icon-box svg { width: 26px; height: 26px; }
.card:hover .icon-box { background: var(--green-deep); color: #fff; }

/* Photos */
.photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--black);
}
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.photo:hover img { transform: scale(1.03); }
.photo-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(12, 16, 13, 0.72);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
}
.photo-caption::before {
  content: "";
  width: 8px; height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--green-bright);
}

/* Pulsing "live" dot */
.live-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green-bright);
  flex: none;
  animation: live-pulse 2.2s ease-out infinite;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(60, 181, 74, 0.6); }
  100% { box-shadow: 0 0 0 12px rgba(60, 181, 74, 0); }
}

/* Black pill tag, e.g. "10+ partners and growing" */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--black);
  color: var(--green-bright);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Interior page hero — dark with a green glow and dot grid */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 128px) 0 clamp(64px, 8vw, 104px);
  background: var(--hero-glow), var(--black);
  color: var(--on-dark);
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -30%; right: -12%;
  width: 62%; height: 160%;
  background-image: radial-gradient(rgba(60, 181, 74, 0.32) 1.2px, transparent 1.5px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(closest-side, #000 15%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 15%, transparent 100%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 17ch; color: #fff; }
.page-hero .lede { max-width: 660px; margin-bottom: 0; color: var(--on-dark-muted); }

/* Closing call-to-action band */
.cta-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  align-items: end;
  gap: 32px 48px;
  padding: clamp(44px, 7vw, 88px);
  border-radius: var(--radius-xl);
  background: var(--hero-glow), var(--black);
  color: var(--on-dark-muted);
}
/* Green quarter-circle — a nod to the club-fair sign */
.cta-band::before {
  content: "";
  position: absolute;
  top: -190px; right: -150px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: linear-gradient(200deg, var(--green-bright), var(--green-deep));
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; max-width: 15ch; margin-bottom: 16px; }
.cta-band p { max-width: 520px; font-size: 1.15rem; }


/* 6. HOME ---------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 6vw, 80px);
  background: var(--hero-glow), var(--black);
  color: var(--on-dark);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero h1 { margin-bottom: 28px; color: #fff; }
.hl {
  background: linear-gradient(transparent 62%, var(--green) 62%, var(--green) 92%, transparent 92%);
  padding: 0 0.04em;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
.hero .lede { max-width: 620px; margin-bottom: 36px; color: var(--on-dark-muted); }
.hero .btn--outline { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.hero .btn--outline:hover { border-color: var(--green-bright); background: transparent; color: var(--green-bright); }

/* Photo with a floating "questions we help answer" card */
.hero-media { position: relative; padding-bottom: 48px; }
.hero-photo { aspect-ratio: 4 / 3.4; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.hero-photo img { object-position: 45% 40%; }
.hero-card {
  position: absolute;
  left: -36px;
  bottom: 0;
  width: min(370px, 86%);
  padding: 22px 24px;
  border-radius: 22px;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-lg);
}
.hero-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-ink);
}
.hero-card-head .live-dot { background: var(--green); }

/* Stacked in one grid cell, so the box is as tall as the longest question */
.rotator {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.45rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.rotator li {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.rotator li.is-current { opacity: 1; transform: none; transition-delay: 0.3s; }
.rotator li.is-leaving { opacity: 0; transform: translateY(-14px); transition-duration: 0.3s; }
html:not(.js) .rotator li:first-child { opacity: 1; transform: none; }

/* Stats row (inside the dark hero) */
.stats-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  margin-top: clamp(56px, 7vw, 88px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 34px 24px 0 0;
}
.stat + .stat { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, 0.12); }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.6vw, 4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat-suffix { color: var(--green-deep); }
.stat-label {
  max-width: 22ch;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero .stat-num { color: #fff; }
.hero .stat-suffix { color: var(--green-bright); }
.hero .stat-label { color: var(--on-dark-muted); }

/* "Topics we help with" row */
.topics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.topics-label {
  margin-right: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.topic {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

/* How it works — steps beside a photo */
.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.how-grid .section-intro { margin-bottom: 40px; }
.how-photo { aspect-ratio: 4 / 4.4; border-radius: var(--radius-xl); }
.how-photo img { object-position: 42% 50%; }

.how-steps { --progress: 0; position: relative; }
.how-list {
  display: grid;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.how-line {
  position: absolute;
  top: 28px; bottom: 28px;
  left: 27px;
  width: 2px;
  background: var(--line);
}
.how-line-fill {
  position: absolute;
  inset: 0;
  background: var(--green);
  transform: scaleY(var(--progress));
  transform-origin: center top;
}
.how-step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 22px; }
.how-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}
.how-step.is-reached .how-num { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.how-step h3 { margin: 12px 0 6px; font-size: 1.4rem; }
.how-step p { color: var(--muted); max-width: 40ch; }

/* Growth band */
.growth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.growth-grid .lede { margin-bottom: 28px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}
.chip small {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-bright);
}
.chip--hq { background: #fff; color: var(--black); }
.chip--hq small { color: var(--green-ink); }
.chip--add {
  border: 1.5px dashed rgba(255, 255, 255, 0.7);
  background: transparent;
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease;
}
.chip--add:hover { background: #fff; color: var(--green-deep); }


/* Press & research cards (Home + Press page) */
.press-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.press-grid--full { grid-template-columns: 1fr; max-width: 920px; }
.press-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(28px, 3.6vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}
.press-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #b9dcb9; }
.press-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.press-type {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green-tint);
  color: var(--green-ink);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.press-date { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); }
.press-source {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.press-card h3 { margin: 0; font-size: clamp(1.35rem, 2.1vw, 1.75rem); line-height: 1.2; letter-spacing: -0.02em; }
.press-link { color: inherit; text-decoration: none; }
/* The title link covers the whole card */
.press-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.press-link:focus-visible { outline: none; }
.press-link:focus-visible::after { outline: 3px solid var(--green-bright); outline-offset: 4px; }
.press-byline { margin: 0; font-size: 0.98rem; font-weight: 600; color: var(--ink); }
.press-summary { margin: 0; color: var(--muted); }
.press-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: auto;
  padding: 18px 0 3px;
  border-bottom: 2px solid var(--green);
  color: var(--ink);
  font-weight: 600;
}
.press-cta svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.press-card:hover .press-cta svg { transform: translate(2px, -2px); }

.press-citation {
  position: relative;
  z-index: 1;               /* above the card-wide link, so the button works */
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px 18px;
  margin-top: 8px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--black-3);
}
.press-citation p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
  color: var(--on-dark);
}
.press-copy {
  padding: 8px 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.press-copy:hover { border-color: var(--green-bright); color: var(--green-bright); }

.press-card:not(.press-card--dark) .press-citation { background: var(--paper-2); border-color: var(--line); }
.press-card:not(.press-card--dark) .press-citation p { color: var(--text); }
.press-card:not(.press-card--dark) .press-copy { border-color: var(--ink); color: var(--ink); }

/* First card: dark */
.press-card--dark { background: var(--hero-glow), var(--black); border-color: var(--black); }
.press-card--dark:hover { border-color: var(--green-bright); }
.press-card--dark h3, .press-card--dark .press-byline, .press-card--dark .press-cta { color: #fff; }
.press-card--dark .press-summary, .press-card--dark .press-date, .press-card--dark .press-source { color: var(--on-dark-muted); }
.press-card--dark .press-type { background: rgba(60, 181, 74, 0.16); color: var(--green-bright); }
.press-card--dark .press-cta { border-bottom-color: var(--green-bright); }


/* 7. ABOUT & TEAM -------------------------------------------------------- */

.mission-statement {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}
.mission-statement em { font-style: normal; color: var(--green-ink); }

.facts { margin: 32px 0 0; border-top: 1px solid var(--line); }
.fact {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.fact dt {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.fact dd { margin: 0; font-weight: 600; color: var(--ink); }

.photo-band { margin-top: clamp(48px, 6vw, 72px); aspect-ratio: 21 / 9; border-radius: var(--radius-xl); }
.photo-band img { object-position: 50% 45%; }

/* "Led by students" teaser on the About page */
.team-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px 48px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
}
.team-teaser h2 { margin-bottom: 24px; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.faces { display: flex; flex-wrap: wrap; gap: 20px 32px; margin: 0; padding: 0; list-style: none; }
.face { display: flex; align-items: center; gap: 14px; }
.face img, .face-ph {
  width: 62px; height: 62px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  border: 3px solid var(--green-tint);
}
.face-ph { display: grid; place-items: center; background: var(--black); color: var(--green-bright); font-family: var(--font-display); font-weight: 700; }
.face-text { display: flex; flex-direction: column; line-height: 1.3; }
.face-text strong { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.face-text small {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Team cards — modeled on the dark card reference */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1040px;
  margin: 0 auto;
}
.team-card {
  position: relative;
  padding: 14px 14px 22px;
  border: 1px solid var(--black-3);
  border-radius: 24px;
  background: var(--black-2);
  box-shadow: var(--shadow);
  transition: border-color 0.3s ease, transform 0.35s var(--ease), box-shadow 0.35s ease;
}
.team-card.has-link:hover,
.team-card.has-link:focus-within { border-color: var(--green-bright); transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.team-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 15px;
  background: var(--black);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform 0.6s var(--ease); }
.team-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(12, 16, 13, 0.7));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.team-hover {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--green-bright);
  color: var(--black);
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.3s ease, transform 0.35s var(--ease);
  pointer-events: none;
}
.team-hover svg { width: 16px; height: 16px; }
.team-card.has-link:hover .team-photo img,
.team-card.has-link:focus-within .team-photo img { transform: scale(1.04); }
.team-card.has-link:hover .team-photo::after,
.team-card.has-link:focus-within .team-photo::after { opacity: 1; }
.team-card.has-link:hover .team-hover,
.team-card.has-link:focus-within .team-hover { opacity: 1; transform: translate(-50%, 0); }

.portrait-ph {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%; height: 100%;
}
.portrait-ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(60, 181, 74, 0.2) 1px, transparent 1.3px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 72%);
          mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 72%);
}
.portrait-ph span {
  position: relative;
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--green-bright);
}

.team-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  padding: 20px 6px 0;
}
.team-name { margin: 0 0 8px; font-size: 1.35rem; font-weight: 700; color: #fff; }
.team-link {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(var(--green-bright), var(--green-bright));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 2px;
  transition: background-size 0.3s var(--ease);
}
/* Stretch the name link across the whole card */
.team-link::after { content: ""; position: absolute; inset: 0; border-radius: 24px; }
.team-link:focus-visible { outline: none; }
.team-link:focus-visible::after { outline: 3px solid var(--green-bright); outline-offset: 4px; }
.team-card:hover .team-link { background-size: 100% 2px; }
.team-role {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.team-li {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  flex: none;
  border: 1.5px solid var(--black-3);
  border-radius: 9px;
  color: var(--on-dark-muted);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.team-li svg { width: 15px; height: 15px; }
.team-card:hover .team-li,
.team-card:focus-within .team-li { background: var(--green-bright); border-color: var(--green-bright); color: var(--black); }

.team-hint { margin-top: 40px; text-align: center; font-size: 0.95rem; color: var(--muted); }

/* Strategic goals */
.goals { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.goal {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 24px 40px;
  padding: clamp(32px, 4vw, 48px) 0;
  border-top: 1px solid var(--line);
}
.goal--feature { grid-template-columns: 140px minmax(0, 1fr) minmax(0, 0.8fr); align-items: start; }
.goal-num {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: #cdd8ca;
  transition: color 0.35s ease;
}
.goal:hover .goal-num { color: var(--green); }
.goal-body h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.02em; }
.goal-body p { color: var(--muted); max-width: 56ch; }
.goal-body .icon-box { margin-bottom: 18px; }
.goal:hover .icon-box { background: var(--green-deep); color: #fff; }
.goal-photo { aspect-ratio: 16 / 10; }


/* 8. IMPACT -------------------------------------------------------------- */

.stat-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.stat-tile {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 290px;
  padding: 30px 28px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s var(--ease);
}
.stat-tile .stat-index { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); transition: color 0.35s ease; }
.stat-tile .stat-num { margin-top: auto; font-size: clamp(3.2rem, 5.6vw, 4.8rem); transition: color 0.35s ease; }
.stat-tile .stat-label, .stat-tile .stat-suffix { transition: color 0.35s ease; }
.stat-tile .stat-label { min-height: 4.5em; }   /* 3 lines, so numbers line up */
.stat-tile:hover { background: var(--black); border-color: var(--black); transform: translateY(-6px); }
.stat-tile:hover .stat-num { color: #fff; }
.stat-tile:hover .stat-suffix { color: var(--green-bright); }
.stat-tile:hover .stat-label, .stat-tile:hover .stat-index { color: var(--on-dark-muted); }
.stat-note { margin-top: 20px; font-size: 0.95rem; color: var(--muted); }

.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.impact-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 360px;
  padding: clamp(28px, 3.6vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
}
.impact-card-top { display: flex; justify-content: space-between; align-items: center; }
.impact-card .icon-box { margin: 0; }
.impact-index { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); }
.impact-figure {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.6vw, 3.8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.impact-figure small {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.impact-card h3 { margin: 8px 0 0; font-size: 1.6rem; }
.impact-card p { margin: 0; color: var(--muted); }
.impact-card,
.impact-card h3, .impact-card p, .impact-figure, .impact-figure small, .impact-index, .impact-card .stat-suffix {
  transition: color 0.35s ease, background 0.35s ease, border-color 0.35s ease, transform 0.35s var(--ease);
}
.impact-card:hover { background: var(--black); border-color: var(--black); transform: translateY(-5px); }
.impact-card:hover h3, .impact-card:hover .impact-figure { color: #fff; }
.impact-card:hover p, .impact-card:hover .impact-figure small, .impact-card:hover .impact-index { color: var(--on-dark-muted); }
.impact-card:hover .stat-suffix { color: var(--green-bright); }
.impact-card:hover .icon-box { background: var(--green-bright); color: var(--black); }


/* 9. CHAPTERS ------------------------------------------------------------ */

.count-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding: 10px 24px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.count-badge-num {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green-bright);
  color: var(--black);
  font-weight: 800;
}
.count-badge .live-dot { margin-left: 4px; }

.map-panel {
  padding: clamp(22px, 3.4vw, 44px);
  border-radius: var(--radius-xl);
  background: var(--hero-glow), var(--black);
  color: var(--on-dark);
  box-shadow: var(--shadow);
}
.map-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-bottom: 8px;
}
.map-panel-head h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); color: #fff; }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.95rem; color: var(--on-dark-muted); }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--green-bright); }
.legend-star { width: 16px; height: 16px; fill: #fff; }

.map-wrap { position: relative; max-width: 1000px; margin: 0 auto; }
.us-map { display: block; width: 100%; height: auto; overflow: visible; }
.map-nation { fill: #1a231d; }
.map-states { fill: none; stroke: var(--black); stroke-width: 1.3; stroke-linejoin: round; }
.map-outline { fill: none; stroke: #2c3a31; stroke-width: 1; }

.map-marker { cursor: pointer; outline: none; }
.mk-hit { fill: transparent; }
.mk-dot {
  fill: var(--green-bright);
  stroke: var(--black);
  stroke-width: 3;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.2s var(--ease), stroke 0.2s ease;
}
.mk-pulse {
  fill: var(--green-bright);
  transform-box: fill-box;
  transform-origin: center;
  animation: mk-pulse 2.6s ease-out infinite;
}
@keyframes mk-pulse {
  0%   { transform: scale(1);   opacity: 0.5; }
  100% { transform: scale(2.8); opacity: 0; }
}
.mk-halo { fill: rgba(60, 181, 74, 0.24); }
.mk-star {
  fill: #fff;
  stroke: var(--black);
  stroke-width: 2;
  stroke-linejoin: round;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.2s var(--ease), fill 0.2s ease;
}
.map-marker:hover .mk-dot, .map-marker.is-active .mk-dot { transform: scale(1.35); }
.map-marker:hover .mk-star, .map-marker.is-active .mk-star { transform: scale(1.2); fill: var(--green-bright); }
.map-marker:focus-visible .mk-dot, .map-marker:focus-visible .mk-star { stroke: #fff; }
.map-leader { stroke: rgba(255, 255, 255, 0.45); stroke-width: 1.2px; stroke-dasharray: 2 3; vector-effect: non-scaling-stroke; }
.map-anchor { fill: rgba(255, 255, 255, 0.75); }

.map-tooltip {
  position: absolute;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 180px;
  padding: 13px 17px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.45;
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, -100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.map-tooltip.is-below { transform: translate(-50%, 0); }
.map-tooltip.is-visible { opacity: 1; }
.map-tooltip strong { font-family: var(--font-display); font-size: 1.12rem; }
.tip-label {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-ink);
}
.tip-note { color: var(--muted); }

.map-hint { margin: 8px 0 0; text-align: center; font-size: 0.95rem; color: var(--on-dark-muted); }

.hq-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--black-3);
  color: var(--on-dark-muted);
}
.hq-strip svg { width: 30px; height: 30px; fill: #fff; flex: none; }
.hq-strip strong { color: #fff; font-weight: 600; }

.chapter-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.chapter-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--ease);
}
.chapter-card:hover, .chapter-card.is-active {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(42, 157, 56, 0.25);
  transform: translateY(-3px);
}
.chapter-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.chapter-city {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}
.chapter-state {
  flex: none;
  padding: 4px 9px;
  border-radius: 7px;
  background: var(--green-tint);
  color: var(--green-ink);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
}
.chapter-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.chapter-leaders { display: flex; flex-direction: column; gap: 8px; }
.leader { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--text); }
.leader-avatar {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--black);
  color: var(--green-bright);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
}

/* Start a chapter */
.start-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.start-intro .lede { margin-bottom: 28px; }
.start-photo { margin-top: 40px; aspect-ratio: 4 / 3; }
.steps-list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.steps-list li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.step-num { padding-top: 5px; font-family: var(--font-mono); font-size: 0.9rem; font-weight: 600; color: var(--green-ink); }
.steps-list h3 { margin-bottom: 6px; }
.steps-list p { color: var(--muted); }


/* 10. PARTNERS ----------------------------------------------------------- */

.partners-head { margin-bottom: clamp(36px, 5vw, 56px); }
.partners-head .tag { margin-bottom: 22px; }
.partners-head .lede { max-width: 640px; margin-bottom: 0; }

.marquee {
  position: relative;
  overflow: hidden;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(var(--marquee-distance, -50%)); }
}
.marquee.is-static { -webkit-mask-image: none; mask-image: none; }
.marquee.is-static .marquee-track { flex-wrap: wrap; justify-content: center; width: auto; padding: 0 var(--gutter); }
.marquee.is-static .pill-text strong { white-space: normal; }

.partner-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 232px;
  padding: 12px 24px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
}
.section--green .partner-pill { border-color: transparent; }
.pill-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  flex: none;
  border-radius: 50%;
  background: var(--black);
  color: var(--green-bright);
}
.pill-icon svg { width: 22px; height: 22px; }
.pill-text { display: flex; flex-direction: column; line-height: 1.3; }
.pill-text strong { font-size: 1rem; font-weight: 600; white-space: nowrap; }
.pill-text small { font-size: 0.82rem; color: var(--muted); white-space: nowrap; }

/* Why partner — photo beside a benefit list */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.why-photo { aspect-ratio: 5 / 4.4; border-radius: var(--radius-xl); }
.benefits { margin: 0; padding: 0; list-style: none; }
.benefit {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.benefit:last-child { border-bottom: 1px solid var(--line); }
.benefit .icon-box { margin: 0; }
.benefit h3 { margin-bottom: 6px; }
.benefit p { color: var(--muted); }


/* 11. CONTACT ------------------------------------------------------------ */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact-grid h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }

.path-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.path-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s var(--ease);
}
.path-card:hover { border-color: var(--green); transform: translateX(4px); }
.path-card .icon-box { width: 46px; height: 46px; margin: 0; flex: none; border-radius: 13px; }
.path-card .icon-box svg { width: 22px; height: 22px; }
.path-card:hover .icon-box { background: var(--green-deep); color: #fff; }
.path-text { display: flex; flex-direction: column; line-height: 1.35; }
.path-text strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.path-text span { font-size: 0.95rem; color: var(--muted); }
.path-card > svg { width: 20px; height: 20px; margin-left: auto; flex: none; color: var(--muted); }

.form-card {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow);
}
.contact-form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: end; }
.form-field label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--ink); }
.form-field .optional { font-weight: 400; font-size: 0.9rem; color: var(--muted); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1.5px solid #cdd7ca;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.form-field textarea { resize: vertical; min-height: 150px; }
.form-field select {
  -webkit-appearance: none;
          appearance: none;
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c100d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green-ink);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(42, 157, 56, 0.22);
}
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-status { margin: 0; font-weight: 500; }
.form-status.is-error { color: #9a3412; }

/* "Message sent" confirmation */
.form-card.is-sent .form-title { display: none; }
.form-success { padding: clamp(8px, 2vw, 24px) 0; }
.form-success:focus { outline: none; }
.success-icon {
  display: grid;
  place-items: center;
  width: 68px; height: 68px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--green-deep);
  color: #fff;
  box-shadow: 0 0 0 10px var(--green-tint);
  animation: success-pop 0.55s var(--ease) both;
}
.success-icon svg { width: 32px; height: 32px; }
@keyframes success-pop {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.form-success h2 { margin-bottom: 12px; }
.form-success p { max-width: 46ch; color: var(--muted); margin-bottom: 28px; }


/* 12. MOTION ------------------------------------------------------------- */
/* layout.js adds .js to <html>; content is never hidden without JavaScript. */

html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
.stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
.stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
.stagger > .reveal:nth-child(4) { transition-delay: 0.24s; }

/* Hover lift shouldn't wait for the reveal delay */
html.js .reveal.is-visible.card,
html.js .stat-tile.is-visible,
html.js .team-card.is-visible { transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  .mk-pulse { display: none; }
}


/* 13. RESPONSIVE --------------------------------------------------------- */

@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 4px var(--gutter) 24px;
    border-top: 1px solid var(--black-3);
    background: var(--black);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.6);
  }
  .main-nav.is-open { display: flex; }
  .main-nav > a,
  .nav-parent {
    width: 100%;
    padding: 15px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--black-3);
    font-size: 19px;
  }
  .main-nav > a:hover, .nav-parent:hover { background: none; }
  .main-nav > a.is-active::after,
  .nav-parent.is-active::after { left: auto; right: 6px; top: 50%; bottom: auto; transform: translateY(-50%); width: 7px; height: 7px; }

  /* In the mobile menu, About's links are always listed underneath it */
  .nav-parent { cursor: default; pointer-events: none; border-bottom: 0; padding-bottom: 6px; }
  .nav-parent svg { display: none; }
  .dropdown {
    position: static;
    min-width: 0;
    padding: 0 0 10px 16px;
    border: 0;
    border-bottom: 1px solid var(--black-3);
    border-radius: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .dropdown::before { display: none; }
  .dropdown a { padding: 10px 4px; font-size: 17px; color: var(--on-dark-muted); }
  .dropdown a:hover { background: none; }

  .nav-tools { margin: 20px 0 0; gap: 12px; }
  .nav-tools > * { flex: 1; }
  .text-size-toggle { justify-content: center; gap: 2px; height: 48px; }
  .text-size-toggle .ts-label { position: static; width: auto; height: auto; clip: auto; margin-left: 10px; font-family: var(--font-body); font-size: 15px; font-weight: 600; }
  .nav-cta.btn { padding: 13px 20px; font-size: 16px; }
}

@media (max-width: 960px) {
  .hero-grid, .how-grid, .why-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 620px; }
  .how-photo, .why-photo { aspect-ratio: 4 / 3; max-width: 620px; }
  .stats-row { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 34px; }
  .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .stat-tile { flex-basis: 260px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .growth-grid, .start-grid, .contact-grid { grid-template-columns: 1fr; }
  .start-photo { max-width: 620px; }
  .goal--feature { grid-template-columns: 140px minmax(0, 1fr); }
  .goal--feature .goal-photo { grid-column: 2; }
  .chapter-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band, .team-teaser { grid-template-columns: 1fr; align-items: start; }
  .photo-band { aspect-ratio: 16 / 9; }
}

@media (max-width: 820px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; --header-h: 68px; }
  body { font-size: 1.0625rem; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 21px; }
  .grid-2, .grid-3, .impact-grid, .chapter-list, .form-row, .press-grid { grid-template-columns: 1fr; }
  .press-citation { grid-template-columns: 1fr; }
  .press-copy { justify-self: start; }
  .hero-media { padding-bottom: 0; }
  .hero-card { position: relative; left: auto; width: auto; margin: -56px 14px 0; }
  .team-grid { grid-template-columns: 1fr; max-width: 400px; }
  .stat + .stat { padding-left: 18px; }
  .stat:nth-child(odd) { padding-left: 0; }
  .stat-tiles { gap: 12px; }
  .stat-tile { flex-basis: 140px; min-height: 210px; padding: 22px 20px; }
  .impact-card { min-height: 0; }
  .goal, .goal--feature { grid-template-columns: 1fr; gap: 16px; }
  .goal--feature .goal-photo { grid-column: auto; }
  .fact { grid-template-columns: 1fr; gap: 4px; }
  .footer-top { grid-template-columns: 1fr; }
  .br-mobile { display: inline; }
  .footer-statement .sep { display: none; }
  .cta-band::before { width: 260px; height: 260px; top: -150px; right: -120px; }
  .btn-row .btn { flex: 1 1 auto; }
  .partner-pill { min-width: 200px; max-width: 290px; }
  .pill-text strong { white-space: normal; line-height: 1.25; }
  .chapter-card { padding: 20px; gap: 10px; }
  .photo-band { aspect-ratio: 4 / 3; }
  .photo-caption { left: 12px; bottom: 12px; font-size: 0.88rem; }
}
