/* ==========================================================================
   Rare Break · design system
   Palette: deep teal (trust, science) on warm cream (human, calm), with a
   small coral accent. Type: DM Sans for display, Inter for body.
   ========================================================================== */

:root {
  --teal-950: #072C30;
  --teal-900: #0B3F44;
  --teal-800: #0E4B51;
  --teal-700: #11585F;
  --teal-600: #1A6C73;
  --teal-500: #2A8088;
  --teal-200: #BFD9D6;
  --teal-100: #E2EEEC;
  --teal-50: #F0F6F5;
  --coral-500: #E26D55;
  --coral-100: #FBE9E4;
  --cream: #FAF6EF;
  --sand: #F4EDE2;
  --sand-2: #EAE1D2;
  --white: #FFFFFF;
  --ink: #152024;
  --ink-2: #3D494D;
  --muted: #667276;
  --line: #E8E0D3;
  --line-2: #DAD1C2;

  --font-display: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(21, 32, 36, .06), 0 1px 1px rgba(21, 32, 36, .04);
  --shadow: 0 2px 4px rgba(21, 32, 36, .04), 0 12px 32px -14px rgba(21, 32, 36, .22);
  --shadow-lg: 0 4px 10px rgba(21, 32, 36, .05), 0 36px 70px -28px rgba(11, 63, 68, .42);

  --container: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--teal-700); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--teal-900); }
:focus-visible { outline: 3px solid var(--coral-500); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 .5em;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); line-height: 1.04; letter-spacing: -.038em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.85rem); letter-spacing: -.032em; }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.018em; }
h4 { font-size: 1rem; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 600; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--teal-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { left: 12px; color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 720px; }
.section { padding-block: var(--section-y); position: relative; }
.section--white { background: var(--white); }
.section--sand { background: var(--sand); }
.section--tint { background: var(--teal-50); }
.section--teal { background: var(--teal-900); color: #CFE2DF; }
.section--teal h2, .section--teal h3, .section--teal strong { color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--coral-500); }
.section--teal .eyebrow { color: var(--teal-200); }
.lead { font-size: clamp(1.1rem, 1.55vw, 1.25rem); line-height: 1.6; color: var(--ink-2); }
.section--teal .lead { color: #CFE2DF; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- Buttons & links ---------- */
.btn {
  --bg: var(--teal-700); --fg: #fff; --bd: var(--teal-700);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 10px 22px -12px rgba(11, 63, 68, .65);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { --bg: var(--teal-800); --bd: var(--teal-800); color: #fff; transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 16px 28px -14px rgba(11, 63, 68, .7); }
.btn:active { transform: translateY(0); }
.btn--ghost { --bg: rgba(255, 255, 255, .55); --fg: var(--teal-800); --bd: var(--line-2); box-shadow: none; }
.btn--ghost:hover { --bg: #fff; --bd: var(--teal-700); color: var(--teal-900); box-shadow: var(--shadow-sm); }
.btn--light { --bg: #fff; --fg: var(--teal-900); --bd: #fff; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .5); }
.btn--light:hover { --bg: var(--teal-50); --bd: var(--teal-50); color: var(--teal-950); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .95rem; }
.btn--block { width: 100%; }
.arrow { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(4px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; text-decoration: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 239, .84);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 28px -22px rgba(21, 32, 36, .45); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; letter-spacing: -.035em; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand svg { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) {
  display: inline-block; padding: 9px 15px; border-radius: var(--radius-pill);
  color: var(--ink-2); font-family: var(--font-display); font-weight: 500; font-size: .98rem; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.nav-links a:not(.btn):hover { background: rgba(17, 88, 95, .07); color: var(--teal-900); }
.nav-links a[aria-current="page"] { color: var(--teal-800); background: rgba(17, 88, 95, .09); }
.nav-links .btn { margin-left: 12px; }
.nav-toggle {
  display: none; position: relative; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px;
  background: rgba(255, 255, 255, .6); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span:not(.sr-only) { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; top: 78px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 28px;
    background: var(--cream); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -28px rgba(21, 32, 36, .4);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a:not(.btn) { display: block; padding: 14px 12px; font-size: 1.1rem; }
  .nav-links .btn { margin: 12px 0 0; width: 100%; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(36px, 5.5vw, 80px) clamp(72px, 8vw, 116px); }
.hero::before {
  content: ""; position: absolute; top: -260px; right: -220px; width: 760px; height: 760px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(42, 128, 136, .14), rgba(42, 128, 136, 0) 72%);
}
.hero::after {
  content: ""; position: absolute; bottom: -300px; left: -260px; width: 620px; height: 620px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(226, 109, 85, .08), rgba(226, 109, 85, 0) 70%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 { margin-bottom: 0; }
.hero .lead { max-width: 33rem; margin: 26px 0 36px; }
.hero-media { position: relative; }
.photo {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); background: var(--sand-2);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--portrait { aspect-ratio: 4 / 5; }
.photo--portrait img { object-position: 50% 30%; }
.photo--square { aspect-ratio: 1 / 1; }
.photo--wide { aspect-ratio: 4 / 3; }
.figure { margin: 2.4em 0; }
.figure .photo { box-shadow: var(--shadow); }
.figure--meet { margin: clamp(28px, 3.5vw, 44px) 0 0; }
.meet-grid {
  display: grid; grid-template-columns: .95fr 1.05fr; column-gap: clamp(36px, 6vw, 96px);
  grid-template-areas: "quote prose" "figure prose"; grid-template-rows: auto 1fr; align-items: start;
}
.meet-grid .meet-quote { grid-area: quote; }
.meet-grid .prose { grid-area: prose; }
.meet-grid .figure--meet { grid-area: figure; }
@media (max-width: 860px) {
  .meet-grid { grid-template-columns: 1fr; grid-template-areas: "quote" "prose" "figure"; grid-template-rows: auto; row-gap: 28px; }
  .meet-grid .figure--meet { margin-top: 12px; }
}
.figure figcaption { margin-top: 14px; font-size: .92rem; line-height: 1.5; color: var(--muted); }
.photo-tag {
  position: absolute; left: -26px; bottom: 34px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  max-width: 270px; padding: 14px 18px 14px 14px;
  background: rgba(255, 255, 255, .96); border-radius: 16px; box-shadow: var(--shadow);
  font-size: .9rem; line-height: 1.35; color: var(--ink-2);
}
.photo-tag strong { display: block; font-family: var(--font-display); font-size: .98rem; color: var(--ink); letter-spacing: -.01em; }
.photo-tag .dot { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--coral-100); }
.photo-tag .dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--coral-500); box-shadow: 0 0 0 5px rgba(226, 109, 85, .18); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; }
  .photo-tag { left: 14px; bottom: 14px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 96px); }
.page-hero::before {
  content: ""; position: absolute; top: -240px; right: -200px; width: 680px; height: 680px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(42, 128, 136, .12), rgba(42, 128, 136, 0) 72%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .lead { max-width: 40rem; margin: 22px 0 32px; }
.page-hero--split .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .page-hero--split .container { grid-template-columns: 1fr; } .page-hero--split .hero-media { max-width: 480px; } }

/* ---------- Editorial split (Meet Jojo) ---------- */
.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.split--center { align-items: center; }
.display-quote {
  font-family: var(--font-display); font-weight: 600; color: var(--ink);
  font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.12; letter-spacing: -.03em; margin: 0;
}
.display-quote em { font-style: normal; color: var(--teal-700); }
.prose p { font-size: 1.08rem; line-height: 1.75; }
.prose p + p { margin-top: 1.1em; }
.prose .first { font-size: 1.25rem; line-height: 1.6; color: var(--ink); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 32px); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card h3 { margin-bottom: .45em; }
.card p { font-size: .98rem; line-height: 1.6; }
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid--3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid--4, .grid--2 { grid-template-columns: 1fr; } }

.icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--teal-50); color: var(--teal-700); border: 1px solid var(--teal-100);
}
.icon svg { width: 22px; height: 22px; }

/* Problem points */
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(40px, 5vw, 64px); }
.point { padding-top: 22px; border-top: 1px solid var(--line-2); }
.point h3 { font-size: 1.12rem; }
.point p { font-size: .98rem; color: var(--muted); }
@media (max-width: 760px) { .points { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px 24px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num {
  display: block; font-family: var(--font-display); font-weight: 700; font-size: 2.5rem; line-height: 1; letter-spacing: -.04em;
  color: var(--teal-700); margin-bottom: 18px;
}
.step h3 { font-size: 1.05rem; margin-bottom: .35em; }
.step p { font-size: .92rem; line-height: 1.5; color: var(--muted); margin: 0; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 44px; right: -13px; width: 10px; height: 10px; z-index: 1;
  border-top: 2px solid var(--line-2); border-right: 2px solid var(--line-2); transform: rotate(45deg);
}
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } .step::after { display: none; } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

.approach-foot { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); margin-top: clamp(28px, 4vw, 44px); }
.panel { border-radius: var(--radius-lg); padding: clamp(28px, 3.4vw, 44px); }
.panel--plain { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.panel--teal {
  background: radial-gradient(120% 140% at 100% 0%, var(--teal-700) 0%, var(--teal-900) 58%, var(--teal-950) 100%);
  color: #CFE2DF; box-shadow: var(--shadow-lg);
}
.panel--teal h3 { color: #fff; }
.ai-list { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 12px; }
.ai-list li { display: grid; grid-template-columns: 118px 1fr; gap: 14px; font-size: .96rem; line-height: 1.5; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ai-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.ai-list b { font-family: var(--font-display); font-weight: 600; color: #fff; letter-spacing: -.01em; }
@media (max-width: 860px) { .approach-foot { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ai-list li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Progress (dark) ---------- */
.progress-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.stats { display: grid; gap: 18px; }
.stat {
  padding: 28px 30px; border-radius: var(--radius); background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
}
.stat-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.8rem, 5vw, 3.8rem); line-height: 1; letter-spacing: -.045em; color: #fff; margin-bottom: 10px; }
.stat p { margin: 0; color: #CFE2DF; }
.stat .small { display: block; margin-top: 8px; color: var(--teal-200); opacity: .8; }
.bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; margin: 16px 0 4px; }
.bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7FC4BF, #fff); width: 0; transition: width 1.4s var(--ease) .2s; }
.is-visible .bar span, .no-motion .bar span { width: var(--w); }
.milestones { list-style: none; margin: 0; padding: 0; }
.milestones li { display: grid; grid-template-columns: 34px 1fr; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.milestones li:first-child { padding-top: 4px; }
.milestones .mark, .tracker-row .mark { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(127, 196, 191, .18); color: #9FD6D1; font-family: var(--font-display); font-weight: 700; font-size: .9rem; }
.milestones .mark svg, .tracker-row .mark svg { width: 16px; height: 16px; }
.milestones .mark--next, .tracker-row .mark--next { background: rgba(226, 109, 85, .18); color: #F2A594; }
.tracker-row .mark--goal { background: rgba(255, 255, 255, .08); color: #CFE2DF; }
.milestones strong { display: block; font-family: var(--font-display); font-size: 1.08rem; letter-spacing: -.01em; }
.milestones span.desc { font-size: .95rem; color: #B9D2CF; }
.partners { margin-top: clamp(48px, 6vw, 72px); padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; }
.partners .label { font-family: var(--font-display); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-200); margin-right: 8px; }
.partner { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -.02em; color: rgba(255, 255, 255, .78); }
.partners--light { border-top-color: var(--line); }
.partners--light .label { color: var(--teal-600); }
.partners--light .partner { color: var(--ink-2); }
@media (max-width: 860px) { .progress-grid { grid-template-columns: 1fr; } }

/* ---------- Involvement cards ---------- */
.involve .card { display: flex; flex-direction: column; }
.involve .card p { flex: 1; margin-bottom: 22px; color: var(--muted); }

/* ---------- Donation widget ---------- */
.give-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.give-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow); }
.give-card h3 { font-size: 1.4rem; }
.fieldset { border: 0; margin: 0 0 20px; padding: 0; }
.fieldset legend { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 10px; padding: 0; }
.chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.chip, .seg label { position: relative; }
.chip input, .seg input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.chip span {
  display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 8px;
  border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--cream);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink); cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s, transform .2s var(--ease);
}
.chip span:hover { border-color: var(--teal-500); transform: translateY(-1px); }
.chip input:checked + span { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.chip input:focus-visible + span, .seg input:focus-visible + span { outline: 3px solid var(--coral-500); outline-offset: 2px; }
.give-custom { display: flex; align-items: center; gap: 8px; margin-top: 10px; border: 1.5px solid var(--line-2); border-radius: 14px; padding: 0 16px; background: #fff; }
.give-custom:focus-within { border-color: var(--teal-600); }
.give-custom span { font-family: var(--font-display); font-weight: 600; color: var(--muted); }
.give-custom input { flex: 1; min-width: 0; border: 0; outline: 0; min-height: 50px; font: inherit; font-size: 1.05rem; color: var(--ink); background: transparent; }
.seg { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: var(--radius-pill); background: var(--sand); border: 1px solid var(--line); width: 100%; }
.seg label span { display: block; text-align: center; padding: 10px 14px; border-radius: var(--radius-pill); font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--ink-2); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.seg input:checked + span { background: #fff; color: var(--teal-800); box-shadow: var(--shadow-sm); }
.impact { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 22px; padding: 14px 16px; border-radius: 14px; background: var(--teal-50); color: var(--teal-900); font-size: .95rem; line-height: 1.5; min-height: 72px; }
.impact svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--teal-600); }
.give-note { margin-top: 14px; font-size: .85rem; color: var(--muted); text-align: center; }
@media (max-width: 520px) { .chips { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .give-grid { grid-template-columns: 1fr; } }

.ways { display: grid; gap: 14px; }
.way { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.way .icon { margin: 0; }
.way h3 { font-size: 1.05rem; margin-bottom: .3em; }
.way p { font-size: .95rem; line-height: 1.55; color: var(--muted); }
.way a { font-weight: 600; }

/* ---------- Roadmap ---------- */
.breakthroughs .card { padding-top: 28px; }
.breakthroughs .kicker { font-family: var(--font-display); font-weight: 700; font-size: .85rem; letter-spacing: .02em; color: var(--coral-500); margin-bottom: 10px; display: block; }
.callout {
  margin-top: clamp(28px, 4vw, 44px); padding: clamp(26px, 3.4vw, 40px); border-radius: var(--radius-lg);
  background: var(--teal-50); border: 1px solid var(--teal-100);
  display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center;
}
.callout .icon { margin: 0; width: 56px; height: 56px; background: #fff; }
.callout p { font-size: 1.1rem; color: var(--teal-950); }
@media (max-width: 640px) { .callout { grid-template-columns: 1fr; } }

.phase-label { display: flex; align-items: baseline; gap: 14px; margin: clamp(40px, 5vw, 56px) 0 20px; }
.phase-label:first-of-type { margin-top: 0; }
.phase-label h3 { font-size: 1.35rem; margin: 0; }
.phase-label span { font-family: var(--font-display); font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-600); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.t-item { display: grid; grid-template-columns: 64px 1fr; gap: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); box-shadow: var(--shadow-sm); }
.t-num { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--teal-700); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -.03em; box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.t-item h3 { font-size: 1.25rem; margin-bottom: .45em; }
.t-item p { font-size: 1rem; line-height: 1.65; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--sand); border: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: var(--ink-2); }
.pill svg { width: 14px; height: 14px; color: var(--teal-600); }
@media (max-width: 560px) { .t-item { grid-template-columns: 1fr; } .t-num { width: 52px; height: 52px; font-size: 1.3rem; border-radius: 16px; } }

.tracker-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: 8px; }
.tracker-total { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.6rem); letter-spacing: -.045em; line-height: 1; color: #fff; }
.tracker-of { color: var(--teal-200); font-size: 1rem; margin-top: 8px; }
.bar--lg { height: 12px; margin: 22px 0 10px; }
.tracker-list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 10px; }
.tracker-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.tracker-row strong { display: block; font-family: var(--font-display); font-size: 1.02rem; letter-spacing: -.01em; }
.tracker-row .desc { display: block; margin-top: 2px; font-size: .92rem; line-height: 1.5; color: #B9D2CF; }
.tracker-head .badge { justify-self: start; }
@media (min-width: 601px) { .tracker-head .badge { justify-self: end; } }
.tracker-row .mini { height: 6px; margin: 10px 0 4px; max-width: 320px; }
.badge { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: var(--radius-pill); font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .01em; white-space: nowrap; }
.badge--funded { background: rgba(127, 196, 191, .2); color: #A9DDD8; }
.badge--now { background: rgba(226, 109, 85, .22); color: #F6B3A4; }
.badge--goal { background: rgba(255, 255, 255, .08); color: #CFE2DF; }
.tracker-row--now { background: rgba(255, 255, 255, .09); border-color: rgba(246, 179, 164, .35); }
@media (max-width: 600px) { .tracker-row { grid-template-columns: 34px 1fr; } .tracker-row .badge { grid-column: 2; justify-self: start; } .tracker-head { grid-template-columns: 1fr; } }

.impact-grid .card { display: flex; flex-direction: column; }
.impact-grid .amount { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; letter-spacing: -.04em; line-height: 1; color: var(--teal-700); margin-bottom: 14px; }
.impact-grid p { flex: 1; color: var(--muted); margin-bottom: 22px; }

.disclaimer { font-size: .92rem; color: var(--muted); max-width: 760px; }

/* ---------- About ---------- */
.signature { margin-top: 28px; display: flex; align-items: center; gap: 14px; }
.signature .line { width: 36px; height: 2px; background: var(--coral-500); border-radius: 2px; }
.signature strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.signature span { font-size: .92rem; color: var(--muted); }
.name-note { margin-top: clamp(40px, 5vw, 56px); text-align: center; max-width: 760px; margin-inline: auto; }
.name-note p { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.35; letter-spacing: -.02em; color: var(--ink); }
.name-note em { font-style: normal; color: var(--teal-700); }
.sponsor { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.sponsor .icon { margin: 0; width: 56px; height: 56px; }
@media (max-width: 600px) { .sponsor { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 64px);
  background: radial-gradient(120% 160% at 0% 0%, var(--teal-600) 0%, var(--teal-900) 55%, var(--teal-950) 100%);
  color: #CFE2DF; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: .3em; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.cta-band p { margin: 0; max-width: 34rem; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-950); color: #A9C4C1; padding: clamp(56px, 7vw, 88px) 0 32px; font-size: .95rem; }
.site-footer a { color: #DCEBE9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: clamp(32px, 6vw, 80px); padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { max-width: 22rem; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-cols h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; font-size: .85rem; color: #86A6A3; }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .footer-cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }
.js .reveal-d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .bar span { transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
