/* ============================================================
   Generation Supply — stylesheet
   Palette from the logo: navy + warm orange on kraft paper.
   Fraunces (headings) · Nunito Sans (body) · Caveat (handwritten).
   ============================================================ */

:root {
  --paper:      #fbf6ec;  /* warm cream background */
  --paper-2:    #f4ebd9;  /* kraft-paper section background */
  --white:      #fffdf8;  /* warm card white */
  --ink:        #23303f;  /* primary text */
  --muted:      #5b6675;  /* secondary text */
  --navy:       #1d3f63;  /* brand blue */
  --navy-deep:  #16304c;  /* chalkboard sections */
  --navy-ink:   #122a42;
  --orange:     #e07a1f;  /* brand accent */
  --orange-dk:  #bc630d;
  --orange-soft:#fae5cd;
  --green:      #3e7c4f;  /* crayon green — "active" states */
  --green-soft: #e0efe2;
  --line:       #e3d7c0;  /* hairline borders on paper */

  --maxw: 1120px;
  /* Slightly uneven radii so cards feel hand-cut, not stamped out */
  --radius-hand: 16px 14px 17px 13px / 13px 17px 14px 16px;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(34, 48, 63, .06), 0 10px 28px rgba(34, 48, 63, .08);
  --shadow-lift: 0 2px 4px rgba(34, 48, 63, .08), 0 16px 36px rgba(34, 48, 63, .12);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  /* Faint dot-grid, like graph paper */
  background-image: radial-gradient(rgba(29, 63, 99, .05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--orange-dk); }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); line-height: 1.12; margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 700; font-size: 16px;
  padding: 13px 26px; border-radius: var(--radius-hand); border: 2px solid transparent;
  cursor: pointer; text-align: center; line-height: 1;
  transition: transform .12s ease, box-shadow .12s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary {
  background: var(--orange); color: #fff; border-color: var(--orange-dk);
  box-shadow: 0 3px 0 var(--orange-dk);
}
.btn-primary:hover { background: var(--orange-dk); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 0 #9c500a; }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--orange-dk); }
.btn-outline {
  background: var(--white); color: var(--navy); border-color: var(--navy);
  box-shadow: 0 3px 0 var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 0 var(--navy-ink); }
.btn-outline:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--navy); }
.btn-block { width: 100%; }

/* ---------- Status chips (sticker-style) ---------- */
.chip {
  display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted); background: var(--paper-2);
  border: 1.5px solid var(--line);
  padding: 4px 12px; border-radius: 999px;
}
.chip-live { color: var(--green); background: var(--green-soft); border-color: #bcd9c2; }
.chip-soon { color: var(--orange-dk); background: var(--orange-soft); border-color: #edc79a; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 246, 236, .92);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 2px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.brand-mark { width: 42px; height: 42px; object-fit: contain; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 21px; letter-spacing: -.01em; color: var(--orange); }
.brand-name span { color: var(--navy); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav > a { font-weight: 700; font-size: 15.5px; color: var(--ink); }
.nav > a:hover { color: var(--orange-dk); }
.nav .nav-cta { color: #fff; font-size: 15px; padding: 10px 18px; }
.nav .nav-cta:hover { color: #fff; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  padding: 8px; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 76px 0 92px; border-bottom: 2px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }

.eyebrow {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.sticker {
  display: inline-block; font-family: var(--hand); font-size: 1.35rem; font-weight: 700;
  text-transform: none; letter-spacing: 0;
  color: #fff; background: var(--navy); padding: 2px 16px 4px;
  border-radius: var(--radius-hand); transform: rotate(-2deg);
}
.hero h1 { font-size: clamp(2.5rem, 4.8vw, 3.7rem); letter-spacing: -.02em; margin-bottom: 24px; }

/* Hand-drawn underline on the key phrase */
.squiggle { position: relative; white-space: nowrap; color: var(--navy); }
.squiggle svg {
  position: absolute; left: 0; bottom: -.18em; width: 100%; height: .32em;
  color: var(--orange); overflow: visible;
}
.squiggle svg path { stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 1s ease-out .4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.lead { font-size: 1.22rem; color: var(--muted); max-width: 38ch; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-note { font-size: 14.5px; color: var(--muted); }

/* ---------- Polaroid photos with tape ---------- */
.polaroid {
  margin: 0; position: relative;
  background: var(--white); border: 1px solid var(--line);
  padding: 14px 14px 16px; border-radius: 4px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.polaroid::before {
  content: ""; position: absolute; top: -14px; left: 50%; z-index: 2;
  width: 110px; height: 30px; transform: translateX(-50%) rotate(-2deg);
  background: rgba(224, 190, 122, .38);
  border-left: 1px dashed rgba(150, 118, 60, .25);
  border-right: 1px dashed rgba(150, 118, 60, .25);
}
.polaroid img { border-radius: 2px; }
.polaroid figcaption {
  font-family: var(--hand); font-size: 1.25rem; line-height: 1.3; color: var(--ink);
  padding: 12px 4px 0; text-align: center;
}
.tilt-r  { transform: rotate(1.6deg); }
.tilt-l  { transform: rotate(-1.8deg); }
.tilt-l2 { transform: rotate(-.8deg); }
.polaroid:hover { transform: rotate(0deg) translateY(-4px); box-shadow: var(--shadow-lift); }

.hero-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- Ticker (paper banner strip) ---------- */
.ticker {
  overflow: hidden; background: var(--paper-2);
  border-top: 2px dashed var(--line); border-bottom: 2px dashed var(--line);
  padding: 12px 0;
}
.ticker-track {
  display: flex; align-items: center; gap: 40px; width: max-content;
  animation: ticker 36s linear infinite;
}
.ticker-track span {
  font-family: var(--hand); font-size: 1.45rem; font-weight: 600;
  color: var(--navy); white-space: nowrap;
}
.ticker-track .tick-dot { color: var(--orange); font-size: 1rem; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transition: opacity .7s ease, transform .7s ease; }
.reveal-up { transform: translateY(20px); }
.reveal.in { opacity: 1; }
.reveal-up.in { transform: none; }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.section { padding: 92px 0; scroll-margin-top: 74px; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--navy-deep); color: #e8eef5; }
.section-dark h2 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  font-family: var(--hand); font-size: 1.55rem; font-weight: 700; line-height: 1;
  color: var(--orange-dk); margin-bottom: 12px; transform: rotate(-1deg); transform-origin: left bottom;
}
.section-head.center .kicker { transform: rotate(-1deg) translateX(0); transform-origin: center; }
.kicker-light { color: #f0a85e; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); letter-spacing: -.015em; }
.section-intro { margin-top: 18px; font-size: 1.1rem; color: var(--muted); }
.section-intro-light { color: #bcccdb; }

/* ---------- Mission features ---------- */
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.feature { padding-top: 8px; }
.feature-icon {
  width: 54px; height: 54px; border-radius: var(--radius-hand); display: grid; place-items: center;
  background: var(--orange-soft); color: var(--orange-dk); margin-bottom: 18px;
  border: 1.5px solid #edc79a; transform: rotate(-2deg);
}
.feature-icon svg { width: 27px; height: 27px; }
.feature h3 { font-size: 1.3rem; margin-bottom: 10px; }
.feature p { color: var(--muted); }

/* ---------- How it works / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step {
  position: relative; background: var(--white); border: 1.5px solid var(--line);
  border-radius: var(--radius-hand); padding: 32px 28px 30px; box-shadow: var(--shadow);
  /* Ruled-paper top edge */
  background-image: linear-gradient(var(--orange-soft) 2px, transparent 2px);
  background-size: 100% 100%; background-position: 0 64px; background-repeat: no-repeat;
}
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50% 46% 52% 48% / 48% 52% 46% 50%;
  background: var(--navy); color: #fff; font-family: var(--hand); font-weight: 700; font-size: 1.5rem;
  margin-bottom: 20px; transform: rotate(-3deg);
}
.step h3 { font-size: 1.35rem; margin-bottom: 10px; }
.step p { color: var(--muted); }
.step-detail { margin-top: 16px; font-size: 14.5px; color: var(--ink); padding-top: 14px; border-top: 1.5px dashed var(--line); }
.step-detail strong { color: var(--navy); }

/* ---------- Impact / stats (chalkboard) ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 56px; }
.stat {
  text-align: center; padding: 32px 18px; border-radius: var(--radius-hand);
  background: rgba(255,255,255,.05); border: 1.5px dashed rgba(255,255,255,.22);
}
.stat-num {
  display: block; font-family: var(--serif); font-weight: 700; font-variant-numeric: tabular-nums;
  font-size: clamp(2.2rem, 4vw, 3rem); color: #fff; line-height: 1; letter-spacing: -.02em;
}
.stat-label { display: block; margin-top: 12px; font-size: 14.5px; color: #bcccdb; }

.impact-schools {
  max-width: 820px; margin: 0 auto; padding: 28px 30px; border-radius: var(--radius-hand);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
}
.impact-schools > p { color: #cdd9e6; margin-bottom: 16px; }
.impact-schools li { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.1); color: #e8eef5; }
.impact-schools li:first-of-type { border-top: 0; }
.impact-schools strong { color: #fff; }
.impact-schools span { color: #9fb4c8; }

/* ---------- Supply ledger ---------- */
.ledger-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }

.ledger {
  position: relative; background: var(--white); border: 1.5px solid var(--line);
  border-radius: 4px; padding: 32px 34px 28px 58px; box-shadow: var(--shadow);
  /* Notebook paper: red margin line + blue rules */
  background-image:
    linear-gradient(90deg, transparent 42px, rgba(194, 78, 58, .4) 42px, rgba(194, 78, 58, .4) 44px, transparent 44px),
    repeating-linear-gradient(transparent, transparent 35px, rgba(29, 63, 99, .12) 35px, rgba(29, 63, 99, .12) 36px);
}
.ledger::before {
  content: ""; position: absolute; top: -12px; right: 38px; z-index: 2;
  width: 96px; height: 26px; transform: rotate(2.5deg);
  background: rgba(224, 190, 122, .38);
  border-left: 1px dashed rgba(150, 118, 60, .25);
  border-right: 1px dashed rgba(150, 118, 60, .25);
}
.ledger-title { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; margin-bottom: 18px; }
.ledger-date {
  display: block; font-family: var(--hand); font-weight: 600; font-size: 1.2rem;
  color: var(--orange-dk); margin-top: 2px;
}
.ledger-rows li {
  display: flex; align-items: baseline; gap: 10px; padding: 7px 0;
  font-size: 1.02rem;
}
.ledger-item { flex-shrink: 0; font-weight: 700; }
/* Dotted leader line, like a handwritten ledger */
.ledger-rows li::after { content: ""; order: 2; flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.ledger-rows .ledger-item { order: 1; }
.ledger-rows .ledger-count { order: 3; }
.ledger-count {
  font-family: var(--serif); font-weight: 700; font-variant-numeric: tabular-nums;
  font-size: 1.15rem; color: var(--navy);
}
.ledger-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 16px; padding-top: 14px; border-top: 2px solid var(--ink);
  font-weight: 800;
}
.ledger-total .ledger-count { font-size: 1.45rem; color: var(--orange-dk); }

.hub-cards { display: flex; flex-direction: column; gap: 20px; }
.hub-card {
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-hand);
  padding: 24px 26px; box-shadow: var(--shadow);
}
.hub-status { margin-bottom: 12px; }
.hub-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.hub-meta { font-size: 14.5px; color: var(--muted); margin-bottom: 10px; }
.hub-raised { font-size: 1.02rem; }
.hub-raised strong {
  font-family: var(--serif); font-size: 1.3rem; color: var(--green); font-variant-numeric: tabular-nums;
}
.hub-note { font-size: 15px; color: var(--muted); padding: 4px 6px 0; }
.hub-note strong { color: var(--ink); }

/* ---------- Stories ---------- */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; padding-top: 14px; }
.story-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story-card figcaption strong { display: block; margin-bottom: 2px; }

/* ---------- Milestone (first delivery) ---------- */
.milestone {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center;
  margin-top: 72px; padding-top: 56px; border-top: 2px dashed var(--line);
}
.milestone-photo { max-width: 420px; }
.milestone-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.milestone-copy h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 16px; }
.milestone-copy p { color: var(--muted); margin-bottom: 14px; }
.milestone-copy p:last-child { margin-bottom: 0; }
.milestone-copy .kicker { margin-bottom: 8px; }

.testimonial { max-width: 760px; margin: 56px auto 0; text-align: center; padding: 0 12px; }
.testimonial p {
  font-family: var(--serif); font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.45;
  color: var(--ink); font-weight: 500; font-style: italic;
}
.testimonial footer { margin-top: 18px; font-family: var(--hand); font-size: 1.35rem; font-weight: 600; color: var(--orange-dk); }

/* ---------- Programs ---------- */
.program-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.program {
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-hand);
  padding: 28px 28px 30px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.program:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.program-tag { margin-bottom: 16px; }
.program h3 { font-size: 1.4rem; margin-bottom: 10px; }
.program p { color: var(--muted); }

/* ---------- Network / route map ---------- */
.network-route { position: relative; max-width: 960px; margin: 0 auto; padding: 12px 0 4px; }
/* The dashed "route" drawn down the middle */
.network-route::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0;
  border-left: 3px dashed var(--orange); opacity: .45; transform: translateX(-1.5px);
}
.stop { position: relative; width: 50%; padding: 0 44px 40px 0; }
.stop:nth-child(even) { margin-left: 50%; padding: 0 0 40px 44px; }
.stop:last-child { padding-bottom: 0; }

.stop-pin {
  position: absolute; top: 26px; right: -22px; z-index: 2;
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50% 46% 52% 48% / 48% 52% 46% 50%;
  background: var(--navy); color: #fff;
  font-family: var(--hand); font-weight: 700; font-size: 1.5rem;
  border: 3px solid var(--paper-2); box-shadow: var(--shadow);
  transform: rotate(-4deg);
}
.stop:nth-child(even) .stop-pin { right: auto; left: -22px; transform: rotate(4deg); }

.stop-card {
  position: relative; background: var(--white); border: 1.5px solid var(--line);
  border-radius: var(--radius-hand); padding: 26px 28px 24px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.stop-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
/* Tape strip on top, like it's pinned to the map */
.stop-card::before {
  content: ""; position: absolute; top: -12px; left: 32px;
  width: 84px; height: 24px; transform: rotate(-2.5deg);
  background: rgba(224, 190, 122, .38);
  border-left: 1px dashed rgba(150, 118, 60, .25);
  border-right: 1px dashed rgba(150, 118, 60, .25);
}
.stop:nth-child(even) .stop-card::before { left: auto; right: 32px; transform: rotate(2.5deg); }

.stop-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.network-role { font-family: var(--hand); font-weight: 600; font-size: 1.25rem; color: var(--orange-dk); line-height: 1.1; }
.stop-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.stop-card p { color: var(--muted); font-size: 15.5px; }

.stop-stats {
  display: flex; flex-wrap: wrap; margin-top: 16px; padding-top: 14px;
  border-top: 1.5px dashed var(--line);
}
.stop-stats li { display: flex; flex-direction: column; }
.stop-stats li + li { border-left: 2px dotted var(--line); padding-left: 18px; margin-left: 18px; }
.stop-stats strong {
  font-family: var(--serif); font-weight: 700; font-size: 1.25rem;
  color: var(--navy); line-height: 1.15; font-variant-numeric: tabular-nums;
}
.stop-stats span { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin-top: 2px; }

.route-next {
  text-align: center; margin-top: 40px;
  font-family: var(--hand); font-weight: 600; font-size: 1.5rem; color: var(--ink);
}
.route-next a { color: var(--orange-dk); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.route-next a:hover { color: var(--navy); }
.route-next-doodle { display: inline-block; color: var(--orange); transform: rotate(-8deg); margin-right: 4px; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; }
.member { margin: 0; text-align: center; }
.member img {
  width: 142px; height: 142px; border-radius: 50% 46% 52% 48% / 48% 52% 46% 50%;
  object-fit: cover; margin: 0 auto 16px;
  border: 4px solid var(--white); box-shadow: var(--shadow);
}
.member:nth-child(odd) img { transform: rotate(-2deg); }
.member:nth-child(even) img { transform: rotate(2deg); }
.member-name { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.18rem; color: var(--ink); }
.member-role { display: block; font-size: 14.5px; color: var(--muted); margin-top: 3px; }

/* ---------- Partners ---------- */
.partners { margin-top: 68px; padding-top: 48px; border-top: 2px dashed var(--line); text-align: center; }
.partners-title {
  font-family: var(--hand); font-size: 1.5rem; font-weight: 700; color: var(--orange-dk);
  margin-bottom: 30px; transform: rotate(-1deg);
}
.partners-logos { display: flex; justify-content: center; flex-wrap: wrap; gap: 48px; }
.partner { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 300px; }
.partner img { height: 56px; width: auto; object-fit: contain; }
.partner span { font-size: 14.5px; color: var(--muted); }
.partner strong { color: var(--ink); }
.partners-cta { margin-top: 36px; font-size: 15.5px; color: var(--muted); }
.partners-cta a { font-weight: 700; }

/* ---------- Instagram ---------- */
.insta-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.insta-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.insta-copy .section-intro { margin-bottom: 28px; }
.insta-stats { display: flex; gap: 36px; margin-bottom: 30px; }
.insta-stats strong {
  display: block; font-family: var(--serif); font-weight: 700; font-size: 1.6rem;
  color: var(--navy); line-height: 1.1;
}
.insta-stats span { font-size: 13.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.insta-feed { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.insta-card {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-hand);
  padding: 22px 22px 24px; box-shadow: var(--shadow); color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}
.insta-card:hover { transform: rotate(0deg) translateY(-4px); box-shadow: var(--shadow-lift); color: var(--ink); }
.insta-num { font-family: var(--serif); font-weight: 700; font-size: 1.9rem; color: var(--orange-soft); -webkit-text-stroke: 1.2px var(--orange-dk); line-height: 1; }
.insta-tag { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--orange-dk); margin-top: 10px; }
.insta-title { font-family: var(--hand); font-weight: 600; font-size: 1.35rem; line-height: 1.2; }

/* ---------- Get involved ---------- */
.involve-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.involve-card {
  background: rgba(255,255,255,.06); border: 1.5px dashed rgba(255,255,255,.22);
  border-radius: var(--radius-hand); padding: 28px 24px; display: flex; flex-direction: column;
}
.involve-card h3 { color: #fff; font-size: 1.28rem; margin-bottom: 10px; }
.involve-card p { color: #bcccdb; font-size: 15.5px; margin-bottom: 18px; flex: 1; }
.link-arrow { color: #f0a85e; font-weight: 700; font-size: 15px; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: #fff; }

/* ---------- Contact ---------- */
.section-contact { background: var(--paper-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 16px; }
.contact-copy > p { color: var(--muted); font-size: 1.08rem; margin-bottom: 28px; }
.contact-list li { display: flex; gap: 14px; padding: 12px 0; border-top: 1.5px dashed var(--line); align-items: baseline; }
.contact-list li:first-child { border-top: 0; }
.contact-label { min-width: 86px; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 800; }

.contact-form {
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-hand);
  padding: 32px; box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14.5px; font-weight: 800; margin-bottom: 7px; color: var(--ink); }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 16px; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(29,63,99,.14); background: #fff;
}
.field textarea { resize: vertical; }
.form-status { margin-top: 14px; font-size: 14.5px; min-height: 1em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #b3261e; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-ink); color: #c9d6e3; padding: 56px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-mark { width: 46px; height: 46px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; }
.footer-name { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: #fff; }
.footer-tag { font-size: 14px; color: #9fb4c8; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.footer-nav a { color: #c9d6e3; font-size: 15px; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 14px; color: #8fa4b8; }
.footer-bottom a { color: #8fa4b8; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-figure { order: -1; max-width: 460px; }
  .hero-figure img { aspect-ratio: 16 / 11; }
  .feature-row, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .ledger-grid { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .milestone { grid-template-columns: 1fr; gap: 44px; }
  .milestone-photo { margin: 0 auto; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .insta-grid { grid-template-columns: 1fr; gap: 44px; }
  .involve-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  /* Route map: rail moves to the left edge, cards go full width */
  .network-route::before { left: 21px; transform: none; }
  .stop, .stop:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 36px 60px; }
  .stop-pin, .stop:nth-child(even) .stop-pin { left: 0; right: auto; }
  .stop-card::before, .stop:nth-child(even) .stop-card::before { left: 28px; right: auto; }
}

@media (max-width: 720px) {
  /* Mobile nav */
  .nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--paper); border-bottom: 2px solid var(--line);
    padding: 8px 0 16px; box-shadow: 0 12px 24px rgba(34,48,63,.1);
    transform: translateY(-130%); transition: transform .25s ease; visibility: hidden;
  }
  .nav.open { transform: translateY(0); visibility: visible; }
  .nav > a { padding: 14px 24px; font-size: 17px; border-top: 1px solid var(--line); }
  .nav > a:first-child { border-top: 0; }
  .nav .nav-cta { margin: 12px 24px 0; padding: 13px; }
  .nav-toggle { display: flex; }
}

@media (max-width: 540px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .insta-feed { grid-template-columns: 1fr; }
  .insta-stats { gap: 24px; }
  .involve-grid { grid-template-columns: 1fr; }
  .partners-logos { gap: 32px; }
  .contact-form { padding: 24px; }
  .hero-actions .btn { flex: 1; }
  .ledger { padding: 28px 22px 24px 50px; }
  .squiggle { white-space: normal; }
  .squiggle svg { display: none; }
  .squiggle { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .squiggle svg path { stroke-dashoffset: 0; }
}
