/* =============================================================
   Mattering for Wisconsin — main stylesheet
   Palette + type sampled from the approved XD design (1920px art board)
   ============================================================= */

/* ---------- Fonts (self-hosted, no external requests) ---------- */
@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto-latin-900-normal.woff2") format("woff2");
  font-weight: 900; font-style: normal; font-display: swap;
}
/* The ascent/descent/line-gap overrides below normalize the script fonts'
   vertical metrics so line boxes are identical on every platform. Without
   them, macOS SignPainter's very tall built-in metrics (~1.75em line boxes)
   inflate the height of every element that uses the script font. */
@font-face {
  font-family: "Yellowtail";
  src: url("../fonts/yellowtail-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  ascent-override: 97%; descent-override: 30%; line-gap-override: 0%;
}
/* SignPainter HouseScript is the script font in the approved design. It is an
   Apple system font: the local() sources below pick it up automatically on
   macOS/iOS. For every other platform, buy/export a webfont file, drop it in
   assets/fonts/ as signpainter-housescript.woff2, and uncomment the url()
   line — until then Yellowtail (bundled above) is the web fallback. */
@font-face {
  font-family: "SignPainter";
  src: local("SignPainter-HouseScript"),
       local("SignPainter HouseScript"),
       local("SignPainter");
       /* , url("../fonts/signpainter-housescript.woff2") format("woff2") */
  font-display: swap;
  ascent-override: 97%; descent-override: 30%; line-gap-override: 0%;
}

:root {
  --navy: #091e3a;
  --green: #a0a838;
  --teal: #037a89;
  --orange: #f68821;
  --peach: #fde1c7;
  --paper: #f7f4ec;          /* warm white used for button labels + script on navy */
  --white: #ffffff;
  --font-sans: "Roboto", Arial, sans-serif;
  --font-script: "SignPainter", "Yellowtail", cursive;
  --wrap: 1720px;
  --gutter: clamp(20px, 3.2vw, 60px);
  --radius: 10px;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--navy);
  background: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
  overflow-x: clip; /* clip (unlike hidden) can't interfere with sticky/fixed contexts */
  /* Constant offset for the fixed header — matches .header-inner height, and
     does NOT change when the header shrinks on scroll (prevents layout jump). */
  padding-top: clamp(72px, 8.55vw, 164px);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, blockquote, figure { margin: 0; }
.screen-reader-text {
  border: 0; clip-path: inset(50%); height: 1px; width: 1px;
  margin: -1px; overflow: hidden; padding: 0; position: absolute;
}

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }

/* ---------- Type helpers ---------- */
.script { font-family: var(--font-script); font-weight: 400; letter-spacing: .01em; line-height: 1.05; text-transform: uppercase; }
.h-xl {
  font-size: clamp(30px, 2.4vw, 46px);
  font-weight: 900;
  line-height: 1.16;
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: .005em;
}
.h-xl.light { color: var(--white); }
.eyebrow {
  color: var(--green);
  font-size: clamp(17px, 1.35vw, 26px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.section-sub {
  font-size: clamp(16px, 1.25vw, 24px);
  font-weight: 700;
  margin-top: 14px;
}
.green-sub { color: var(--green); font-weight: 900; text-transform: uppercase; letter-spacing: .02em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: .04em;
  color: var(--paper);
  background: var(--orange);
  font-size: clamp(13px, .95vw, 18px);
  line-height: 1;
  padding: 1.05em 1.9em;
  border-radius: 8px;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn-orange { background: var(--orange); }
.btn-green { background: var(--green); }
.btn-sm { font-size: clamp(12px, .82vw, 15px); padding: 1em 1.85em; }

/* Brush-stroke donate buttons */
.btn-brush {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: .04em;
  color: var(--white);
  background-image: url("../img/donate-brush.png");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  font-size: clamp(13px, .92vw, 17px);
  line-height: 1;
  padding: 1.35em 2.6em;
  transition: filter .15s ease, transform .15s ease;
}
.btn-brush:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn-brush .heart { width: 1.6em; height: 1.6em; }
.footer-donate { background-image: url("../img/donate-brush-footer.png"); }

/* =============================================================
   HEADER — fixed to the top; bar and logo shrink once you scroll
   (JS toggles .is-scrolled on .site-header past ~24px).
   The page offset lives on body { padding-top } and stays constant,
   so the shrink never causes a content jump.
   ============================================================= */
.site-header {
  background: var(--white);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  box-shadow: 0 2px 14px rgba(9, 30, 58, 0);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 2px 14px rgba(9, 30, 58, .14); }
.header-inner {
  max-width: none;
  padding: 0 3.1vw 0 3.4vw;
  height: clamp(72px, 8.55vw, 164px);
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 44px);
  transition: height .25s ease;
}
.site-logo {
  align-self: flex-start;
  width: clamp(96px, 12.8vw, 246px);
  margin-top: clamp(6px, .95vw, 18px);
  position: relative;
  z-index: 45;
  flex-shrink: 0;
  transition: width .25s ease, margin .25s ease;
}
.site-header.is-scrolled .header-inner { height: clamp(60px, 4.9vw, 94px); }
.site-header.is-scrolled .site-logo {
  width: clamp(72px, 5.5vw, 106px);
  margin-top: 0;
  align-self: center;
}
.site-nav { margin-left: auto; }
.site-nav .menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 46px);
}
.site-nav a {
  font-size: clamp(13px, .89vw, 17px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .01em;
  text-decoration: none;
  color: var(--navy);
  white-space: nowrap;
  transition: color .15s ease;
}
.site-nav a:hover { color: var(--teal); }

/* --- dropdown for any nav item with children (e.g. nested menu items) --- */
.site-nav .menu > li { position: relative; padding: 16px 0; margin: -16px 0; }
.site-nav li.menu-item-has-children > a::after {
  content: "\25BE";
  display: inline-block;
  margin-left: 7px;
  font-size: .72em;
  transform: translateY(-1px);
  transition: transform .15s ease;
}
.site-nav .menu > li:hover > a::after,
.site-nav .menu > li:focus-within > a::after { transform: translateY(1px); }
.site-nav .sub-menu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translate(-50%, 8px);
  min-width: 238px;
  padding: 12px 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(16, 32, 54, .18);
  opacity: 0;
  visibility: hidden;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 70;
}
.site-nav .menu > li:hover > .sub-menu,
.site-nav .menu > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.site-nav .sub-menu li { display: block; }
.site-nav .sub-menu a {
  display: block;
  padding: 10px 22px;
  font-size: clamp(12px, .82vw, 15px);
}
.nav-toggle { display: none; }

/* =============================================================
   HERO
   -------------------------------------------------------------
   Three layers, bottom to top:
   1. .hero-photo        — swappable photo (any image, object-fit: cover)
   2. .hero-canvas::after — hero-paint-5.png: the navy brush + white page art,
                            transparent where the photo shows through
   3. .hero-copy / .pillars — live text
   To change the hero image: replace assets/img/hero-photo-hq.jpg (or the
   img src in the hero template) with any large photo. No Photoshop needed —
   the paint streaks live in the overlay.
   ============================================================= */
.hero { position: relative; }
.hero-canvas {
  position: relative;
  height: 45.9375vw; /* 882 / 1920 — explicit height, no aspect-ratio reliance */
  background: var(--navy);
  overflow: hidden;
}
.hero-photo {
  /* The photo lives ONLY in the visible photo area (right side). The paint
     overlay draws every brush stroke on top automatically — swap this image
     for anything, no editing needed. */
  position: absolute;
  left: 31%;
  top: 0;
  width: 69%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  /* longhand on purpose — some browsers mis-apply the shorthand's "/ size" */
  background-image: url("../img/hero-paint-5.png");
  background-size: 100% 100%;
  background-position: 0 0;
  background-repeat: no-repeat;
  pointer-events: none;
}
.hero-photo-m { display: none; }
.hero-copy {
  position: absolute;
  z-index: 2;
  left: 7.4vw;
  top: 18.6%; /* measured: white pocket dips to 16.6% — keeps the E well clear */
  width: 36vw;
}
.hero-title {
  color: var(--white);
  font-size: 3.32vw;
  font-weight: 900;
  line-height: 1.17;
}
.hero-script {
  text-transform: none; /* the one exception: "they matter." stays lowercase */
  position: relative;
  margin-top: .4vw;
  color: var(--green);
  font-family: var(--font-script);
  font-size: 6.2vw;
  line-height: 1;
  padding-left: .1em;
}
.hero-script > span { position: relative; z-index: 2; }
.hero-swoosh {
  position: absolute;
  left: -0.4vw;
  bottom: -2.5vw;
  width: 31vw;
  max-width: none;
  z-index: 1;
}
.hero-lede {
  margin-top: 3.4vw;
  width: 30.5vw;
  color: var(--white);
  font-size: 1.24vw;
  font-weight: 500;
  line-height: 1.52;
}
.hero-actions {
  margin-top: 2.2vw;
  display: flex;
  gap: 1.2vw;
}

/* Lead / Lift / Thrive pillars.
   Each pillar box maps to its brush blob's bounding box in the design
   (PNG renders at 100%/100% with nothing clipped), positioned in vw
   against the 1920px art board — then raised ~1.8vw off the hero's
   bottom sweep and (Thrive) pulled off the right page edge per client
   feedback so the row never reads as sliding off the page. */
.pillars {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}
.pillar {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 1.1vw;
  color: var(--white);
  pointer-events: auto;
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}
.pillar-lead {
  left: 36.198vw; top: 25.5vw; width: 22.917vw; height: 16.563vw;
  padding: 2.6vw 1.6vw 2.6vw 3.9vw;
}
.pillar-lift {
  left: 58.75vw; top: 25.28vw; width: 20.156vw; height: 17.292vw;
  padding: 2.8vw 1.6vw 2.8vw 2.1vw;
}
.pillar-thrive {
  left: 78.125vw; top: 25.39vw; width: 20.833vw; height: 16.667vw;
  padding: 2.7vw 1.4vw 2.7vw 2.4vw;
}
.pillar-lead::before { background-image: url("../img/chip-green.png"); }
.pillar-lift::before { background-image: url("../img/chip-teal.png"); }
.pillar-thrive::before { background-image: url("../img/chip-orange-2.png"); }
/* explicit box + object-fit so no browser (Safari flex quirks included)
   can ever squash or crop the icons */
.pillar-icon { width: 7.4vw; height: 5vw; object-fit: contain; flex-shrink: 0; }
.pillar-lift .pillar-icon { width: 7vw; height: 5.3vw; }
.pillar-thrive .pillar-icon { width: 5.2vw; height: 4.8vw; }
.pillar-text h2 {
  font-size: 2.65vw;
  line-height: 1;
  color: var(--paper);
}
.pillar-text p {
  margin-top: .55vw;
  font-size: 1.14vw;
  font-weight: 500;
  line-height: 1.42;
}

/* =============================================================
   MISSION
   ============================================================= */
.mission { padding: clamp(52px, 6.3vw, 122px) 0 clamp(56px, 6.9vw, 132px); }
.mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 43fr) minmax(0, 57fr);
  gap: clamp(28px, 4vw, 76px);
  align-items: start;
}
.mission-heading { position: relative; padding-left: .4vw; }
.mission-heading .h-xl { margin-top: 10px; font-size: clamp(30px, 2.6vw, 50px); }
.mission-swoosh { width: min(620px, 88%); margin-top: 2px; }
.mission-body p {
  font-size: clamp(16px, 1.25vw, 24px);
  font-weight: 500;
  line-height: 1.56;
}
.mission-actions { margin-top: clamp(22px, 2.4vw, 44px); }

/* =============================================================
   THE MATTERING IDEAL
   ============================================================= */
.ideal {
  background: var(--peach);
  padding: clamp(50px, 5.9vw, 114px) 0 clamp(120px, 9vw, 172px);
}
.ideal-cards {
  margin-top: clamp(30px, 3.4vw, 66px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 1.8vw, 34px);
}
.card {
  border-radius: var(--radius);
  color: var(--white);
  padding: clamp(20px, 1.75vw, 34px) clamp(18px, 1.65vw, 32px);
  position: relative;
  text-align: right;
}
.card-teal { background: var(--teal); }
.card-green { background: var(--green); }
.card-orange { background: var(--orange); }
.card-navy { background: var(--navy); }
.card-icon {
  position: absolute;
  left: clamp(16px, 1.7vw, 33px);
  top: clamp(20px, 2.2vw, 42px);
  /* uniform box for every icon: same footprint, scaled to fit, never cropped */
  width: clamp(58px, 5.3vw, 102px);
  height: clamp(50px, 4.6vw, 88px);
  object-fit: contain;
  object-position: left top;
}
.ideal-lede {
  max-width: 940px;
  margin: clamp(30px, 2.8vw, 56px) auto 0;
  text-align: center;
}
.ideal-cta {
  margin-top: clamp(24px, 2.2vw, 44px);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(12px, 1.2vw, 22px);
}
.card-eyebrow {
  font-size: clamp(13px, .94vw, 18px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .015em;
}
.card .script {
  font-size: clamp(24px, 1.85vw, 36px);
  line-height: 1.02;
  margin-top: 6px;
  color: var(--paper);
}
.card-body {
  margin-top: clamp(16px, 1.9vw, 37px);
  text-align: left;
  font-size: clamp(14px, 1vw, 19px);
  font-weight: 500;
  line-height: 1.5;
  clear: both;
}

/* =============================================================
   Brush-edged full-width bands (shared)
   -------------------------------------------------------------
   Four color variants, each with matching edge strips in assets/img:
     .band-navy   + edge-navy-top.png   / edge-navy-bottom.png
     .band-orange + edge-orange-top.png / edge-orange-bottom.png
     .band-teal   + edge-teal-top.png   / edge-teal-bottom.png
     .band-green  + edge-green-top.png  / edge-green-bottom.png
   Usage: <section class="band-teal" style="position:relative">
            <img class="band-edge band-edge-top" src=".../edge-teal-top.png" alt="">
            ...content...
            <img class="band-edge band-edge-bottom" src=".../edge-teal-bottom.png" alt="">
          </section>
   ============================================================= */
.band-navy, .band-orange, .band-teal, .band-green { position: relative; }
.band-navy { background: var(--navy); }
.band-orange { background: var(--orange); }
.band-teal { background: var(--teal); }
.band-green { background: var(--green); }
.band-teal, .band-green { color: var(--white); }
.band-edge {
  position: absolute;
  left: 0;
  width: 100%;
  max-width: none;
  pointer-events: none;
}
.band-edge-top { bottom: calc(100% - 1px); }
.band-edge-bottom { top: calc(100% - 1px); }

/* =============================================================
   HOW IT WORKS
   ============================================================= */
.how { padding: clamp(46px, 4.2vw, 80px) 0 clamp(50px, 4.6vw, 88px); }
.how .section-sub { margin-top: 10px; }
.steps {
  margin-top: clamp(34px, 3.4vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3.4vw, 66px);
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: clamp(56px, 5vw, 96px) 1fr;
  gap: clamp(14px, 1.55vw, 30px);
  align-items: start;
}
.step-num {
  color: var(--paper);
  font-size: clamp(64px, 6.5vw, 126px);
  line-height: .84;
  text-align: center;
}
.step-text h3 {
  color: var(--paper);
  font-size: clamp(24px, 1.85vw, 36px);
  line-height: 1;
}
.step-text p {
  margin-top: clamp(8px, .85vw, 16px);
  color: var(--white);
  font-size: clamp(15px, 1.15vw, 22px);
  font-weight: 500;
  line-height: 1.5;
}

/* =============================================================
   EVENTS
   ============================================================= */
.events { padding: clamp(56px, 6vw, 116px) 0 clamp(56px, 6.3vw, 122px); }
.event-cards {
  margin-top: clamp(32px, 3.3vw, 64px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 1.75vw, 34px);
  text-align: center;
}
.event-img {
  width: 100%;
  aspect-ratio: 409 / 232;
  object-fit: cover;
  border-radius: var(--radius);
}
.event .script {
  margin-top: clamp(14px, 1.35vw, 26px);
  font-size: clamp(22px, 1.6vw, 31px);
  line-height: 1;
  color: var(--navy);
}
.event-date {
  margin-top: clamp(6px, .6vw, 12px);
  color: var(--green);
  font-size: clamp(13px, .94vw, 18px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.event-desc {
  margin-top: clamp(8px, .8vw, 15px);
  font-size: clamp(13px, .85vw, 16px);
  font-weight: 700;
  line-height: 1.55;
  padding-inline: clamp(0px, 1.2vw, 24px);
}
.event .btn { margin-top: clamp(14px, 1.35vw, 26px); }

/* =============================================================
   THE MATTERING RESUME teaser (homepage, replaces events for now)
   ============================================================= */
.resume-teaser { padding: clamp(124px, 11vw, 208px) 0 clamp(56px, 6.3vw, 122px); }
.resume-teaser .grid-3 { margin-top: clamp(32px, 3.3vw, 64px); }
.resume-teaser-cta { text-align: center; margin-top: clamp(30px, 3.2vw, 60px); }

/* homepage resume teaser extras */
.btn-navy-solid { background: var(--navy); color: var(--paper); }
.sample-entry {
  max-width: 900px;
  margin: clamp(28px, 3vw, 56px) auto 0;
  background: var(--peach);
  border-radius: var(--radius);
  padding: clamp(22px, 2.2vw, 40px) clamp(22px, 2.4vw, 44px);
}
.sample-entry-quote {
  margin-top: 10px;
  font-size: clamp(16px, 1.2vw, 22px);
  font-weight: 700;
  font-style: italic;
  line-height: 1.5;
}
.sample-entry-source { margin-top: 10px; font-size: clamp(13px, .9vw, 16px); opacity: .75; }
.resume-teaser-cta { display: flex; justify-content: center; gap: clamp(12px, 1.3vw, 24px); flex-wrap: wrap; }

/* incubator card meta lines */
.incubator-meta {
  margin-top: 8px !important;
  font-size: clamp(12px, .85vw, 15px) !important;
  font-weight: 700 !important;
  opacity: .85;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.incubator-grid .info-card p:first-of-type { margin-top: 0; }

/* =============================================================
   Mattering Resume mockup (illustrative)
   ============================================================= */
.resume-mock {
  max-width: 860px;
  margin: clamp(30px, 3.2vw, 60px) auto 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(9, 30, 58, .16);
  background: var(--white);
}
.resume-mock-head {
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 30px);
  padding: clamp(24px, 2.4vw, 44px) clamp(24px, 2.6vw, 48px);
}
.resume-mock-avatar {
  width: clamp(64px, 5.6vw, 96px);
  height: clamp(64px, 5.6vw, 96px);
  border-radius: 50%;
  background: #33415e;
  flex-shrink: 0;
  position: relative;
}
.resume-mock-avatar::after {
  content: "";
  position: absolute; inset: 18%;
  border-radius: 50% 50% 45% 45%;
  background: #556184;
  clip-path: polygon(30% 0, 70% 0, 78% 45%, 100% 100%, 0 100%, 22% 45%);
}
.resume-mock-label {
  color: var(--orange);
  font-size: clamp(11px, .8vw, 14px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.resume-mock-name { font-size: clamp(30px, 2.6vw, 48px); line-height: 1; color: var(--paper); margin-top: 4px; }
.resume-mock-sub { margin-top: 6px; font-size: clamp(12px, .9vw, 16px); opacity: .8; }
.resume-mock-body { padding: clamp(24px, 2.6vw, 48px); }
.resume-mock-kicker {
  font-size: clamp(12px, .85vw, 15px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--navy);
}
.resume-badges {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 1.6vw, 30px);
  margin-top: clamp(14px, 1.5vw, 26px);
  padding-bottom: clamp(18px, 2vw, 34px);
  border-bottom: 1px solid rgba(9, 30, 58, .14);
}
.resume-badges li { display: grid; justify-items: center; text-align: center; min-width: 86px; }
.resume-badges .badge-dot {
  display: grid; place-items: center;
  width: clamp(44px, 3.6vw, 62px);
  height: clamp(44px, 3.6vw, 62px);
  border-radius: 50%;
  color: var(--paper);
  font-size: clamp(16px, 1.3vw, 24px);
  margin-bottom: 8px;
}
.resume-badges .badge-dot-empty {
  background: none;
  border: 2px dashed rgba(9, 30, 58, .3);
  color: rgba(9, 30, 58, .4);
}
.resume-badges strong { font-size: clamp(12px, .88vw, 15px); }
.resume-badges .badge-muted { opacity: .5; }
.resume-badges em { font-size: clamp(11px, .8vw, 13px); font-style: normal; opacity: .65; }
.resume-entry {
  padding: clamp(18px, 2vw, 32px) 0;
  border-bottom: 1px solid rgba(9, 30, 58, .14);
}
.resume-entry-pillar {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: clamp(13px, .92vw, 16px);
}
.resume-entry-pillar span {
  color: var(--navy); opacity: .55;
  font-weight: 700; text-transform: none; letter-spacing: 0;
  margin-left: 8px;
  font-size: clamp(12px, .85vw, 14px);
}
.resume-entry-title { margin-top: 8px; font-weight: 700; font-size: clamp(15px, 1.05vw, 19px); }
.resume-entry > p:nth-of-type(3) { margin-top: 6px; font-size: clamp(14px, .98vw, 17px); line-height: 1.5; }
.resume-entry-attest { margin-top: 8px; font-size: clamp(12px, .85vw, 14px); font-style: italic; opacity: .65; }
.resume-mock-note {
  margin-top: clamp(18px, 2vw, 32px);
  background: var(--peach);
  border-radius: 10px;
  padding: clamp(14px, 1.5vw, 24px) clamp(16px, 1.7vw, 28px);
  font-style: italic;
  font-size: clamp(13px, .92vw, 16px);
}
.resume-mock-footer { margin-top: clamp(12px, 1.3vw, 20px); font-size: clamp(12px, .85vw, 14px); opacity: .6; }

/* =============================================================
   WHY THIS? WHY NOW?
   ============================================================= */
.why { padding: clamp(46px, 4.6vw, 88px) 0 clamp(50px, 5vw, 96px); color: var(--white); }
.stats {
  margin-top: clamp(34px, 3.6vw, 70px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3.3vw, 64px);
}
.stat {
  display: grid;
  grid-template-columns: clamp(64px, 6.2vw, 118px) 1fr;
  gap: clamp(14px, 1.55vw, 30px);
  align-items: start;
}
.stat-icon { align-self: center; }
.stat-num {
  font-size: clamp(30px, 2.5vw, 48px);
  line-height: 1;
  color: var(--paper);
}
.stat-text p:not(.stat-num) {
  margin-top: clamp(6px, .65vw, 13px);
  font-size: clamp(15px, 1.15vw, 22px);
  font-weight: 500;
  line-height: 1.5;
}

/* =============================================================
   TESTIMONIALS
   ============================================================= */
.testimonials { padding: clamp(56px, 7.2vw, 140px) 0 clamp(56px, 7.4vw, 142px); }
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6.5vw, 126px);
}
.testimonial {
  display: grid;
  grid-template-columns: clamp(40px, 3.4vw, 66px) 1fr;
  gap: clamp(16px, 1.9vw, 37px);
  align-items: start;
}
.quote-mark { width: 100%; }
.testimonial p {
  font-size: clamp(15px, 1.05vw, 20px);
  font-weight: 700;
  line-height: 1.55;
}
.testimonial-source {
  margin-top: clamp(18px, 2vw, 38px);
  font-weight: 700;
  font-size: clamp(15px, 1.05vw, 20px);
}

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: clamp(48px, 5.5vw, 106px) 0 clamp(48px, 5.8vw, 112px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.15fr 1.3fr;
  gap: clamp(28px, 2.8vw, 56px);
}
.footer-brand { padding-right: clamp(8px, 1.6vw, 30px); }
.footer-logo { width: clamp(180px, 15.5vw, 298px); }
.socials {
  margin-top: clamp(18px, 1.9vw, 37px);
  display: flex;
  gap: clamp(12px, 1.35vw, 26px);
}
.socials a {
  display: grid;
  place-items: center;
  width: clamp(30px, 1.95vw, 38px);
  height: clamp(30px, 1.95vw, 38px);
  border: 2px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  transition: color .15s ease, border-color .15s ease;
}
.socials a:hover { color: var(--orange); border-color: var(--orange); }
.socials svg { width: 62%; height: 62%; }
.footer-col {
  border-left: 1px solid rgba(255, 255, 255, .55);
  padding-left: clamp(20px, 2.1vw, 40px);
  font-size: clamp(14px, .89vw, 17px);
}
.footer-col h3 {
  font-size: clamp(16px, 1.05vw, 20px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin-bottom: clamp(14px, 1.5vw, 29px);
}
.footer-col ul li + li { margin-top: .55em; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-col p { line-height: 1.6; }
.footer-col p + p { margin-top: 1.55em; }
.footer-impact .footer-donate { margin: clamp(14px, 1.5vw, 28px) 0; }
.footer-tag { margin-top: 0; }

/* =============================================================
   Reveal-on-scroll (progressive enhancement)
   ============================================================= */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1023px) {

  /* --- header goes mobile --- */
  .header-inner { height: 72px; }
  .site-logo { width: 74px; margin-top: 0; align-self: center; }
  .site-header.is-scrolled .header-inner { height: 60px; }
  .site-header.is-scrolled .site-logo { width: 62px; }
  .header-donate { margin-left: auto; font-size: 13px; padding: 1.1em 2em; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    background: none;
    border: 0;
    padding: 10px;
    cursor: pointer;
  }
  .nav-toggle-box { display: inline-flex; flex-direction: column; gap: 5px; }
  .nav-toggle-box span {
    width: 26px; height: 3px; border-radius: 2px;
    background: var(--navy);
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-open .nav-toggle-box span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle-box span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle-box span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy);
    margin: 0;
    display: none;
    z-index: 60;
  }
  .nav-open .site-nav { display: block; }
  .site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 0; }
  .site-nav a {
    display: block;
    padding: 13px 26px;
    color: var(--white);
    font-size: 15px;
  }
  /* dropdown renders inline (always open) in the mobile panel */
  .site-nav .menu > li { padding: 0; margin: 0; }
  .site-nav li.menu-item-has-children > a::after { display: none; }
  .site-nav .sub-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    padding: 0;
    background: rgba(255, 255, 255, .06);
    border-radius: 0;
    box-shadow: none;
  }
  .site-nav .sub-menu a { padding: 11px 26px 11px 44px; font-size: 14px; }

  /* --- hero restacks: navy panel, then photo with pillars --- */
  .hero-canvas {
    height: auto;
    padding: 42px 0 0;
  }
  .hero-photo { display: none; }
  .hero-canvas::after { display: none; }
  .hero-copy { position: static; width: auto; padding: 0 var(--gutter); }
  .hero-title { font-size: clamp(30px, 7.4vw, 44px); }
  .hero-script { font-size: clamp(54px, 13vw, 78px); margin-top: 6px; }
  .hero-swoosh { width: min(86vw, 420px); bottom: -22px; left: 0; }
  .hero-lede { width: min(100%, 560px); font-size: 16px; margin-top: 40px; }
  .hero-actions { margin-top: 24px; gap: 14px; flex-wrap: wrap; }
  .hero-photo-m {
    display: block;
    width: 100%;
    margin-top: 36px;
    aspect-ratio: 1230 / 460;
    object-fit: cover;
  }
  .pillars {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: -30px;
    padding: 0 var(--gutter);
  }
  .pillar,
  .pillar-lead, .pillar-lift, .pillar-thrive {
    position: relative;
    left: auto; top: auto;
    width: min(100%, 460px);
    height: auto;
    min-height: 130px;
    padding: 30px 34px;
    gap: 20px;
    margin: 0 auto;
  }
  .pillar-icon,
  .pillar-lead .pillar-icon { width: 74px; height: 52px; }
  .pillar-lift .pillar-icon { width: 74px; height: 56px; }
  .pillar-thrive .pillar-icon { width: 56px; height: 52px; }
  .pillar-text h2 { font-size: 34px; }
  .pillar-text p { font-size: 15px; margin-top: 7px; }

  /* --- stacked grids --- */
  .mission-grid { grid-template-columns: 1fr; }
  .mission-swoosh { margin-bottom: 8px; }
  .ideal-cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .event-cards { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr; gap: 26px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col { border-left: 0; padding-left: 0; }
}

@media (max-width: 620px) {
  .ideal-cards { grid-template-columns: 1fr; }
  .event-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .pillar { width: 100%; }
}

/* =============================================================
   Interior content pages (About / Why Mattering / How It Works)
   ============================================================= */
.page-hero .page-lede {
  margin-top: clamp(14px, 1.5vw, 28px);
  max-width: 980px;
  color: var(--white);
  opacity: .92;
  font-size: clamp(16px, 1.2vw, 22px);
  font-weight: 500;
  line-height: 1.55;
}
.page-hero .eyebrow { color: var(--green); }

.content-section { padding: clamp(52px, 5.6vw, 108px) 0; }
.content-section.tight { padding: clamp(40px, 4.2vw, 80px) 0; }
/* brush-edged bands get extra internal padding so content clears the strokes */
.band-navy.content-section, .band-teal.content-section,
.band-green.content-section, .band-orange.content-section {
  padding: clamp(68px, 7vw, 136px) 0;
}
/* when two brush bands sit back-to-back, open a white gap between them
   so both edge strokes read cleanly (matches the homepage rhythm) */
.content-section[class*="band-"] + .content-section[class*="band-"] {
  margin-top: clamp(110px, 10vw, 200px);
}
.band-navy.content-section, .band-teal.content-section,
.band-green.content-section, .band-orange.content-section { color: var(--white); }

.section-head { max-width: 900px; }
.section-head.center { margin-inline: auto; }
.section-head .h-xl + p,
.section-lede {
  margin-top: clamp(12px, 1.3vw, 24px);
  font-size: clamp(16px, 1.15vw, 21px);
  font-weight: 500;
  line-height: 1.6;
}
.light-text, .light-text p { color: var(--white); }
.script-accent {
  text-transform: uppercase;
  font-family: var(--font-script);
  font-size: clamp(26px, 2.2vw, 42px);
  line-height: 1.05;
  color: var(--green);
}
.band-navy .script-accent, .band-teal .script-accent,
.band-green .script-accent, .band-orange .script-accent { color: var(--paper); }

/* generic responsive card grids */
.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: clamp(16px, 1.8vw, 34px);
  margin-top: clamp(28px, 3vw, 56px);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* info cards reuse the Mattering Ideal card look */
.info-card {
  border-radius: var(--radius);
  padding: clamp(22px, 2vw, 38px) clamp(20px, 1.8vw, 34px);
  color: var(--white);
}
.info-card .card-kicker {
  font-size: clamp(13px, .92vw, 17px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  opacity: .95;
}
.info-card .script {
  font-size: clamp(24px, 1.8vw, 35px);
  color: var(--paper);
  margin-top: 4px;
}
.info-card p { margin-top: clamp(10px, 1vw, 18px); font-size: clamp(14px, 1vw, 19px); font-weight: 500; line-height: 1.55; }
.info-card ul { margin-top: clamp(10px, 1vw, 18px); }
.info-card li {
  position: relative;
  padding-left: 1.25em;
  font-size: clamp(14px, .98vw, 18px);
  font-weight: 500;
  line-height: 1.5;
}
.info-card li + li { margin-top: .5em; }
.info-card li::before {
  content: "";
  position: absolute;
  left: 0; top: .52em;
  width: .55em; height: .55em;
  border-radius: 50%;
  background: currentColor;
  opacity: .8;
}
.info-teal { background: var(--teal); }
.info-green { background: var(--green); }
.info-orange { background: var(--orange); }
.info-navy { background: var(--navy); }
.info-paper { background: var(--peach); color: var(--navy); }
.info-paper .script { color: var(--navy); }

/* story timeline (About) */
.timeline { margin-top: clamp(30px, 3.2vw, 60px); display: grid; gap: clamp(24px, 2.6vw, 48px); }
.timeline-item {
  display: grid;
  grid-template-columns: clamp(84px, 8vw, 150px) 1fr;
  gap: clamp(16px, 2vw, 38px);
  align-items: start;
}
.timeline-year {
  font-family: var(--font-script);
  font-size: clamp(30px, 2.9vw, 56px);
  line-height: 1;
  color: var(--green);
  text-align: right;
  text-transform: uppercase; /* brush-font caps rule */
}
.timeline-item h3 {
  font-size: clamp(18px, 1.35vw, 26px);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--navy);
}
.timeline-item p { margin-top: 8px; font-size: clamp(15px, 1.08vw, 20px); font-weight: 500; line-height: 1.6; }

/* pull quote */
.pullquote {
  margin: 0 auto;
  max-width: 1060px;
  display: grid;
  grid-template-columns: clamp(40px, 3.4vw, 66px) 1fr;
  gap: clamp(16px, 1.9vw, 37px);
  align-items: start;
}
.pullquote p {
  font-size: clamp(18px, 1.45vw, 28px);
  font-weight: 700;
  line-height: 1.5;
}
.pullquote footer {
  margin-top: clamp(12px, 1.3vw, 24px);
  font-weight: 700;
  font-size: clamp(14px, 1vw, 19px);
}

/* CTA band */
.cta-band { text-align: center; }
.cta-band .h-xl { color: var(--white); }
.cta-band p {
  margin: clamp(10px, 1.1vw, 20px) auto 0;
  max-width: 760px;
  font-size: clamp(15px, 1.15vw, 21px);
  font-weight: 500;
}
.cta-actions {
  margin-top: clamp(22px, 2.3vw, 42px);
  display: flex;
  justify-content: center;
  gap: clamp(12px, 1.3vw, 24px);
  flex-wrap: wrap;
}
.cta-band .btn-navy { background: var(--navy); color: var(--paper); }

/* numbered steps variant with 4 items */
.steps.steps-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1023px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .steps.steps-4 { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 70px 1fr; }
  .timeline-year { text-align: left; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* =============================================================
   Image spots (interior pages) — swap the img src in the template
   ============================================================= */
.media-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 3.4vw, 66px);
  align-items: center;
}
.media-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 11;
}
/* responsive video embed (Vimeo/YouTube iframes) */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-top: clamp(22px, 2.2vw, 40px);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* centered variant for full-width brush bands */
.video-embed-band {
  max-width: min(920px, 82vw);
  margin-inline: auto;
  margin-top: clamp(30px, 3vw, 56px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .25);
}
.media-img img { width: 100%; height: 100%; object-fit: cover; }
.media-img.tall { aspect-ratio: 4 / 5; }
.media-img.wide { aspect-ratio: 21 / 9; }
.photo-inset { margin-top: clamp(28px, 3vw, 56px); }
.photo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 1.8vw, 34px);
  margin-top: clamp(28px, 3vw, 56px);
}
.photo-row .media-img { aspect-ratio: 16 / 10; }
@media (max-width: 1023px) {
  .media-split { grid-template-columns: 1fr; }
  .media-split .media-img { order: 2; }
}
@media (max-width: 620px) {
  .photo-row { grid-template-columns: 1fr; }
}

/* =============================================================
      WordPress: interior pages, blog, core classes
   ============================================================= */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: var(--white);
  padding: 12px 22px; font-weight: 700; text-decoration: none;
}
.skip-link:focus {
  left: 8px; top: 8px;
  clip-path: none; width: auto; height: auto; margin: 0;
}

.wrap-narrow { max-width: 1060px; }

.page-hero {
  padding: clamp(48px, 5.2vw, 100px) 0 clamp(58px, 6.2vw, 120px);
}
.page-hero .h-xl { margin-top: 6px; }
.page-hero .section-sub.light { color: var(--white); opacity: .85; }
.page-hero .hero-script { font-size: clamp(40px, 4vw, 76px); }

.page-content { padding: clamp(48px, 5.2vw, 100px) 0 clamp(56px, 6vw, 116px); }
.page-thumb img { border-radius: var(--radius); margin-bottom: clamp(24px, 2.6vw, 50px); }

/* Post/page body typography */
.entry-content { font-size: clamp(16px, 1.05vw, 20px); line-height: 1.65; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2, .entry-content h3, .entry-content h4 {
  color: var(--navy); font-weight: 900; line-height: 1.2; margin-top: 1.6em;
}
.entry-content h2 { font-size: 1.7em; text-transform: uppercase; }
.entry-content h3 { font-size: 1.35em; }
.entry-content h4 { font-size: 1.1em; }
.entry-content a { color: var(--teal); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: .4em; }
.entry-content blockquote {
  border-left: 5px solid var(--green);
  padding: .6em 0 .6em 1.2em;
  font-weight: 700; color: var(--navy);
}
.entry-content img { border-radius: var(--radius); }
.entry-content .wp-caption { max-width: 100%; }
.entry-content .wp-caption-text { font-size: .85em; opacity: .75; margin-top: .5em; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }
.entry-content .alignleft { float: left; margin: 0 1.4em .8em 0; }
.entry-content .alignright { float: right; margin: 0 0 .8em 1.4em; }

.post-back { margin-top: clamp(34px, 3.6vw, 70px); }

/* Blog cards reuse the event-card look */
.post-cards { margin-top: 0; }
.post-card-link { text-decoration: none; display: block; }
.post-cards .script { margin-top: clamp(14px, 1.35vw, 26px); font-size: clamp(22px, 1.6vw, 31px); line-height: 1.05; color: var(--navy); }
.post-cards .event-desc p { margin: 0; }

.pagination-wrap { margin-top: clamp(36px, 3.8vw, 74px); text-align: center; }
.pagination-wrap .nav-links { display: inline-flex; gap: 10px; flex-wrap: wrap; }
.pagination-wrap .page-numbers {
  display: inline-block; min-width: 44px; padding: 11px 14px;
  background: var(--peach); color: var(--navy);
  border-radius: 8px; font-weight: 900; text-decoration: none;
}
.pagination-wrap .page-numbers.current,
.pagination-wrap .page-numbers:hover { background: var(--orange); color: var(--white); }

/* Keep the header usable when the WP admin bar is present */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* On interior pages there is no white brush area below the header (that is
   part of the homepage hero art), so keep the logo inside the header bar. */
body:not(.home) .site-logo {
  width: clamp(84px, 7vw, 134px);
  margin-top: 0;
  align-self: center;
}

/* On interior pages the shared homepage sections don't have the navy band
   overlapping below, so trim the extra bottom padding they carry. */
body.page .ideal { padding-bottom: clamp(56px, 6vw, 112px); }

/* ------------------------------------------------------------------
   Brush-stroke clearance (interior pages)
   The band edge strips hang OUTSIDE their section, into the neighbor.
   Any section that follows a paint-stroke bottom gets ~50px+ extra top
   padding; any section right before a band's top strokes gets the same
   at the bottom. Scoped away from the homepage, whose rhythm is
   design-matched already.
   ------------------------------------------------------------------ */
body:not(.home) .page-hero + section,
body:not(.home) section[class*="band-"] + section:not([class*="band-"]) {
  padding-top: clamp(110px, 9.6vw, 180px);
}
body:not(.home) section:not([class*="band-"]):has(+ section[class*="band-"]) {
  padding-bottom: clamp(110px, 9.6vw, 180px);
}
